:root {
  color-scheme: light;
  --app-viewport-height: 100dvh;
  --ink: #14212b;
  --muted: #61717d;
  --line: #d8e1e8;
  --panel: #ffffff;
  --page: #f4f7f5;
  --brand: #101820;
  --accent: #0f7c66;
  --accent-strong: #095c4b;
  --danger-bg: #fff1f0;
  --danger: #a52821;
  --shadow: 0 18px 45px rgba(20, 33, 43, 0.12);
  --login-bg:
    radial-gradient(circle at 50% 48%, rgba(13, 210, 184, 0.11), transparent 28%),
    radial-gradient(ellipse at 78% 0%, rgba(20, 210, 163, 0.22), transparent 31%),
    radial-gradient(ellipse at 18% 49%, rgba(0, 199, 220, 0.07), transparent 26%),
    linear-gradient(155deg, rgba(3, 17, 22, 0.92) 0%, rgba(2, 7, 10, 0.99) 42%, rgba(2, 12, 15, 1) 100%),
    #02070a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

html.login-document,
html.login-document body.login-page {
  background: var(--login-bg);
  background-attachment: fixed;
  background-color: #02070a;
  background-position: center top;
  background-size: cover;
  height: 100%;
  height: var(--app-viewport-height);
  min-height: 100svh;
  min-height: var(--app-viewport-height);
  overflow: hidden;
  overscroll-behavior: none;
  width: 100%;
}

body.login-page {
  inset: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: var(--app-viewport-height);
  position: fixed;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

html.dashboard-document,
html.dashboard-document body.dashboard-page,
html.app-document,
html.app-document body.app-page {
  background: var(--login-bg);
  background-attachment: fixed;
  background-color: #02070a;
  background-position: center top;
  background-size: cover;
  color: #f6fbff;
  min-height: 100%;
}

body.dashboard-page,
body.app-page {
  overflow-x: hidden;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  align-items: center;
  background: var(--brand);
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
}

.brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.topnav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.topnav a {
  color: #e6eef3;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.page {
  margin: 0 auto;
  max-width: 1120px;
  padding: 42px 24px 72px;
}

.narrow {
  max-width: 720px;
}

.auth-shell {
  align-items: center;
  background: var(--login-bg);
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  color: #f6fbff;
  display: flex;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  height: var(--app-viewport-height);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: var(--app-viewport-height);
  overflow: hidden;
  padding:
    max(6px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  position: relative;
}

.dashboard-ambient {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.dashboard-ambient::before {
  background-image:
    radial-gradient(circle, rgba(24, 244, 209, 0.58) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(53, 207, 255, 0.28) 0 1px, transparent 1.5px);
  background-position: 0 0, 42px 46px;
  background-size: 120px 120px, 170px 170px;
  content: "";
  inset: 0;
  opacity: 0.07;
  position: absolute;
}

.dashboard-ambient::after {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.15) 52%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, transparent 40%, rgba(1, 7, 10, 0.9) 100%);
  content: "";
  inset: 0;
  opacity: 0.95;
  position: absolute;
}

.dashboard-glow {
  background: linear-gradient(110deg, transparent, rgba(28, 230, 191, 0.12), transparent);
  filter: blur(42px);
  height: 30%;
  position: absolute;
  transform: rotate(-16deg);
  width: 76%;
}

.dashboard-glow-one {
  right: -20%;
  top: -3%;
}

.dashboard-glow-two {
  bottom: 4%;
  left: -30%;
}

.dashboard-wave {
  background: url("/login-wave.svg?v=20260428-menu2") center bottom / 120% 100% no-repeat;
  bottom: -8%;
  height: 31%;
  left: -8%;
  opacity: 0.36;
  position: absolute;
  right: -8%;
}

.safe-top-spacer {
  height: env(safe-area-inset-top);
  min-height: 0;
  position: relative;
  z-index: 2;
}

.app-page .topbar {
  background:
    linear-gradient(180deg, rgba(2, 13, 18, 0.82), rgba(2, 13, 18, 0.52));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(82, 244, 221, 0.14);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  min-height: 54px;
  padding:
    0
    max(24px, env(safe-area-inset-right))
    0
    max(24px, env(safe-area-inset-left));
  position: relative;
  z-index: 2;
}

.topbar-actions {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.app-page .brand {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  gap: 10px;
}

.app-page .brand::before {
  background:
    linear-gradient(145deg, rgba(15, 255, 193, 0.22), rgba(8, 217, 255, 0.08)) padding-box,
    linear-gradient(135deg, rgba(96, 255, 231, 0.58), rgba(141, 248, 95, 0.2)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(15, 255, 193, 0.18);
  color: #0fffc1;
  content: "P";
  display: grid;
  font-size: 0.82rem;
  height: 28px;
  place-items: center;
  width: 28px;
}

.app-page .topnav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(230, 238, 243, 0.76);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 7px 10px;
}

.app-page .topnav a:hover {
  background: rgba(15, 255, 193, 0.07);
  border-color: rgba(15, 255, 193, 0.16);
  color: #ffffff;
  text-decoration: none;
}

.app-page .topbar .button.ghost {
  background: rgba(2, 11, 15, 0.46);
  border-color: rgba(82, 244, 221, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  min-height: 36px;
  padding: 7px 12px;
}

.app-page .topbar .button.ghost:hover {
  border-color: rgba(15, 255, 193, 0.46);
  box-shadow: 0 0 18px rgba(15, 255, 193, 0.08);
}

.user-menu {
  position: relative;
}

.user-menu-button {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(2, 11, 15, 0.56), rgba(2, 16, 21, 0.38)) padding-box,
    linear-gradient(135deg, rgba(35, 236, 220, 0.24), rgba(141, 248, 95, 0.1)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  min-height: 36px;
  max-width: 230px;
  padding: 4px 10px 4px 5px;
}

.user-menu-button:hover,
.user-menu-button[aria-expanded="true"] {
  box-shadow: 0 0 20px rgba(15, 255, 193, 0.1);
}

.user-avatar {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(15, 255, 193, 0.24), rgba(8, 217, 255, 0.1)) padding-box,
    linear-gradient(135deg, rgba(96, 255, 231, 0.54), rgba(141, 248, 95, 0.18)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #0fffc1;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 0.78rem;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.user-menu-name {
  color: rgba(255, 255, 255, 0.9);
  display: block;
  font-size: 0.88rem;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-button svg {
  fill: none;
  height: 15px;
  stroke: rgba(230, 238, 243, 0.7);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 15px;
}

.user-menu-dropdown {
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.42), rgba(2, 9, 13, 0.48)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.32), rgba(18, 242, 200, 0.08) 46%, rgba(120, 247, 96, 0.16)) border-box;
  backdrop-filter: blur(14px) saturate(1.18) brightness(1.03);
  -webkit-backdrop-filter: blur(14px) saturate(1.18) brightness(1.03);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 38px rgba(255, 255, 255, 0.035);
  min-width: 220px;
  overflow: hidden;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
}

.user-menu-dropdown--portal {
  position: fixed;
  right: auto;
  top: auto;
  z-index: 100;
}

.user-menu-dropdown::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.user-menu-dropdown > * {
  position: relative;
  z-index: 1;
}

.user-menu-dropdown[hidden] {
  display: none;
}

.user-menu-meta {
  border-bottom: 1px solid rgba(82, 244, 221, 0.12);
  margin-bottom: 8px;
  padding: 8px 9px 11px;
}

.user-menu-meta strong,
.user-menu-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-meta strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.user-menu-meta span {
  color: rgba(158, 182, 199, 0.7);
  font-size: 0.78rem;
  margin-top: 2px;
}

.user-menu-item {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  display: block;
  font-weight: 760;
  padding: 10px 9px;
  text-align: left;
  width: 100%;
}

.user-menu-item:hover {
  background: rgba(15, 255, 193, 0.07);
  color: #ffffff;
}

.app-page .app-menu-shell {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  display: block;
  left: auto;
  min-height: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  top: calc(env(safe-area-inset-top) + 12px);
  width: min(280px, calc(100vw - 36px));
  z-index: 50;
}

.app-menu {
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.5), rgba(2, 9, 13, 0.62)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.34), rgba(18, 242, 200, 0.08) 46%, rgba(120, 247, 96, 0.18)) border-box;
  backdrop-filter: blur(10px) saturate(1.14);
  -webkit-backdrop-filter: blur(10px) saturate(1.14);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(15, 255, 193, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  height: 46px;
  margin-left: auto;
  max-height: 46px;
  overflow: hidden;
  pointer-events: auto;
  position: relative;
  transition:
    border-radius 180ms ease,
    box-shadow 180ms ease,
    height 180ms ease,
    max-height 180ms ease,
    width 180ms ease;
  width: 46px;
}

.app-menu::before {
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(15, 255, 193, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.app-menu.is-open {
  border-radius: 22px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(15, 255, 193, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  height: 250px;
  max-height: 280px;
  width: 100%;
}

.app-menu-toggle {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 46px;
  line-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
  z-index: 3;
}

.app-menu-toggle::before {
  background: radial-gradient(circle, rgba(15, 255, 193, 0.18), transparent 62%);
  border-radius: inherit;
  content: "";
  inset: -8px;
  opacity: 0;
  position: absolute;
  transition: opacity 180ms ease;
}

.app-menu-toggle:hover::before,
.app-menu.is-open .app-menu-toggle::before {
  opacity: 1;
}

.app-menu-toggle:focus {
  outline: 0;
}

.app-menu-toggle:focus-visible {
  outline: 2px solid rgba(18, 255, 209, 0.72);
  outline-offset: -6px;
}

.app-menu-toggle span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease, width 180ms ease;
  width: 17px;
}

.app-menu-toggle span:nth-child(1) {
  transform: translate(-50%, -7px);
}

.app-menu-toggle span:nth-child(2) {
  transform: translate(-50%, -1px);
  width: 14px;
}

.app-menu-toggle span:nth-child(3) {
  transform: translate(-50%, 5px);
}

.app-menu.is-open .app-menu-toggle span:nth-child(1) {
  transform: translate(-50%, -1px) rotate(45deg);
}

.app-menu.is-open .app-menu-toggle span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.app-menu.is-open .app-menu-toggle span:nth-child(3) {
  transform: translate(-50%, -1px) rotate(-45deg);
}

.app-menu-panel {
  opacity: 1;
  padding: 14px;
  position: relative;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: visible;
  z-index: 1;
}

.app-menu-panel[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
}

.app-menu-profile {
  align-items: center;
  border-bottom: 1px solid rgba(82, 244, 221, 0.12);
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  margin-bottom: 10px;
  padding: 2px 48px 13px 2px;
}

.app-menu-avatar {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(15, 255, 193, 0.24), rgba(8, 217, 255, 0.1)) padding-box,
    linear-gradient(135deg, rgba(96, 255, 231, 0.54), rgba(141, 248, 95, 0.18)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(15, 255, 193, 0.13);
  color: #0fffc1;
  display: grid;
  flex: none;
  font-size: 0.92rem;
  font-weight: 900;
  height: 42px;
  line-height: 1;
  place-items: center;
  width: 42px;
}

.app-menu-profile strong,
.app-menu-profile span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-menu-profile strong {
  color: #ffffff;
  font-size: 0.98rem;
}

.app-menu-profile span {
  color: rgba(158, 182, 199, 0.7);
  font-size: 0.8rem;
  margin-top: 2px;
}

.app-menu-nav {
  display: grid;
  gap: 6px;
  padding: 2px 0 8px;
}

.app-menu-nav a,
.app-menu-logout {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  display: flex;
  font-weight: 760;
  min-height: 40px;
  padding: 9px 10px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.app-menu-nav a:hover,
.app-menu-logout:hover {
  background: rgba(15, 255, 193, 0.07);
  border-color: rgba(15, 255, 193, 0.14);
  color: #ffffff;
  text-decoration: none;
}

.app-menu-footer {
  border-top: 1px solid rgba(82, 244, 221, 0.12);
  margin-top: 4px;
  padding-top: 8px;
}

.app-menu-logout {
  color: rgba(255, 219, 217, 0.92);
}

.app-page .page {
  color: #f6fbff;
  max-width: 1120px;
  padding:
    48px
    max(24px, env(safe-area-inset-right))
    88px
    max(24px, env(safe-area-inset-left));
  position: relative;
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 1;
}

.app-page .page-transition-out {
  opacity: 0;
  transform: translateY(6px);
}

.app-page .page-transition-in {
  opacity: 0;
  transform: translateY(6px);
}

.app-page .narrow {
  max-width: 760px;
}

.app-page .section-heading {
  margin-bottom: 22px;
  max-width: 840px;
}

.app-page .section-heading h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 0.98;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.app-page .section-heading p,
.app-page .muted {
  color: rgba(158, 182, 199, 0.72);
}

.app-page .eyebrow {
  color: rgba(18, 255, 209, 0.74);
}

.app-page .row-heading {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
}

.app-page .row-heading .button {
  align-self: end;
}

.app-page .tabs {
  gap: 10px;
  margin: 6px 0 24px;
}

.app-page .tabs a {
  background: rgba(2, 11, 15, 0.38);
  border: 1px solid rgba(82, 244, 221, 0.16);
  border-radius: 999px;
  color: rgba(230, 238, 243, 0.76);
  padding: 9px 13px;
}

.app-page .tabs a:hover,
.app-page .tabs a.active {
  background:
    linear-gradient(104deg, rgba(8, 217, 255, 0.18), rgba(140, 244, 90, 0.14));
  border-color: rgba(15, 255, 193, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.app-page .stats-grid {
  gap: 18px;
  margin-bottom: 24px;
}

.app-page .stat,
.app-page .table-section,
.app-page .form-stack,
.app-page .danger-zone,
.app-page .empty-state {
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.52), rgba(2, 9, 13, 0.6)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.3), rgba(18, 242, 200, 0.07) 46%, rgba(120, 247, 96, 0.16)) border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-page .form-stack {
  padding: 22px;
}

.app-page .table-section {
  margin-top: 6px;
}

.app-page .stat span,
.app-page th {
  color: rgba(158, 182, 199, 0.68);
}

.app-page .stat strong,
.app-page .table-header h2 {
  color: #ffffff;
}

.app-page table {
  color: rgba(230, 238, 243, 0.86);
}

.app-page th,
.app-page td {
  border-bottom-color: rgba(82, 244, 221, 0.12);
}

.app-page td a {
  color: #12ffd1;
}

.app-page .table-header {
  border-bottom-color: rgba(82, 244, 221, 0.12);
}

.app-page label,
.app-page legend {
  color: rgba(248, 251, 255, 0.9);
}

.app-page input,
.app-page textarea {
  background:
    linear-gradient(145deg, rgba(2, 11, 15, 0.68), rgba(2, 15, 19, 0.55)) padding-box,
    linear-gradient(135deg, rgba(35, 236, 220, 0.18), rgba(97, 165, 178, 0.1), rgba(18, 242, 200, 0.1)) border-box;
  border: 1px solid transparent;
  color: #f6fbff;
}

.app-page input::placeholder,
.app-page textarea::placeholder {
  color: rgba(126, 150, 165, 0.58);
}

.app-page input:focus,
.app-page textarea:focus {
  background:
    linear-gradient(145deg, rgba(2, 13, 18, 0.78), rgba(2, 17, 22, 0.64)) padding-box,
    linear-gradient(135deg, rgba(49, 255, 231, 0.52), rgba(18, 242, 200, 0.18), rgba(124, 242, 105, 0.28)) border-box;
  border-color: transparent;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(18, 244, 211, 0.055), 0 0 17px rgba(10, 227, 206, 0.11);
}

.app-page fieldset {
  border-color: rgba(82, 244, 221, 0.16);
}

.app-page .check-row input[type="checkbox"] {
  appearance: none;
  background: rgba(2, 14, 18, 0.82);
  border: 1px solid rgba(15, 255, 193, 0.82);
  border-radius: 5px;
  display: grid;
  height: 18px;
  inline-size: 18px;
  place-content: center;
  width: 18px;
}

.app-page .check-row input[type="checkbox"]::before {
  border-bottom: 2px solid #061014;
  border-right: 2px solid #061014;
  content: "";
  height: 8px;
  opacity: 0;
  transform: rotate(45deg) translate(-1px, -1px);
  width: 4px;
}

.app-page .check-row input[type="checkbox"]:checked {
  background: #0fffc1;
  box-shadow: 0 0 13px rgba(15, 255, 193, 0.34);
}

.app-page .check-row input[type="checkbox"]:checked::before {
  opacity: 1;
}

.app-page .button.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 46%),
    linear-gradient(104deg, #08d9ff 0%, #0df1cf 44%, #8cf45a 100%);
  border-color: rgba(183, 255, 194, 0.48);
  box-shadow:
    0 12px 28px rgba(13, 216, 192, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.app-page .button.primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 46%),
    linear-gradient(104deg, #10e3ff 0%, #19f8d5 44%, #9aff63 100%);
}

.app-page .button.ghost {
  background: rgba(2, 11, 15, 0.34);
  border-color: rgba(82, 244, 221, 0.2);
  color: rgba(255, 255, 255, 0.86);
}

.app-page .button.danger {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(104deg, #ef5b58, #bc332c);
  box-shadow: 0 12px 28px rgba(165, 40, 33, 0.2);
}

.app-page .notice.error {
  background:
    linear-gradient(148deg, rgba(80, 18, 20, 0.72), rgba(38, 8, 10, 0.68)) padding-box,
    linear-gradient(132deg, rgba(255, 116, 107, 0.44), rgba(255, 116, 107, 0.1)) border-box;
  border: 1px solid transparent;
  color: #ffd9d7;
}

.auth-ambient {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.auth-ambient::before {
  background-image:
    radial-gradient(circle, rgba(24, 244, 209, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(53, 207, 255, 0.38) 0 1px, transparent 1.5px);
  background-position: 0 0, 38px 44px;
  background-size: 96px 96px, 132px 132px;
  content: "";
  inset: 0;
  opacity: 0.09;
  position: absolute;
  transform: translateY(-8%);
}

.auth-ambient::after {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.14) 52%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, transparent 52%, rgba(1, 7, 10, 0.92) 100%);
  bottom: 0;
  content: "";
  inset: 0;
  opacity: 0.86;
  position: absolute;
}

.auth-glow {
  background: linear-gradient(110deg, transparent, rgba(28, 230, 191, 0.1), transparent);
  filter: blur(34px);
  height: 28%;
  position: absolute;
  transform: rotate(-18deg);
  width: 72%;
}

.auth-glow-one {
  right: -22%;
  top: 0;
}

.auth-glow-two {
  bottom: 8%;
  left: -26%;
}

.auth-particles {
  display: none;
}

.auth-wave {
  bottom: -7%;
  display: block;
  height: 35%;
  left: -6%;
  overflow: hidden;
  position: absolute;
  right: -6%;
}

.auth-wave-canvas {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.login-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 398px;
  position: relative;
  text-align: center;
  transform: translateY(-5vh);
  width: 100%;
  z-index: 1;
}

.login-mark {
  filter: drop-shadow(0 0 17px rgba(25, 234, 205, 0.3));
  height: 66px;
  margin-bottom: 24px;
  opacity: 0.9;
  width: 66px;
}

.login-stage h1 {
  color: #ffffff;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.login-stage h1 span {
  background: linear-gradient(120deg, #12ffd1 0%, #7cf269 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-subtitle {
  color: rgba(158, 182, 199, 0.68);
  font-size: 0.9rem;
  margin: 12px 0 26px;
}

.login-panel {
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.54), rgba(2, 9, 13, 0.58)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.5), rgba(18, 242, 200, 0.08) 46%, rgba(120, 247, 96, 0.28)) border-box;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 38px rgba(15, 255, 193, 0.022),
    0 0 22px rgba(12, 210, 190, 0.08);
  max-width: 378px;
  padding: 23px;
  text-align: left;
  width: 100%;
}

.dashboard-main {
  max-width: 1120px;
  padding:
    52px
    max(24px, env(safe-area-inset-right))
    92px
    max(24px, env(safe-area-inset-left));
  position: relative;
  z-index: 1;
}

.dashboard-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin-bottom: 28px;
}

.dashboard-kicker {
  color: rgba(18, 255, 209, 0.74);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.dashboard-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 0.96;
  margin: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.dashboard-subtitle {
  color: rgba(158, 182, 199, 0.72);
  font-size: 1rem;
  margin: 15px 0 0;
}

.dashboard-stat {
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.52), rgba(2, 9, 13, 0.58)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.38), rgba(18, 242, 200, 0.07) 46%, rgba(120, 247, 96, 0.22)) border-box;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-width: 122px;
  padding: 17px 18px;
  text-align: right;
}

.dashboard-stat span {
  color: rgba(158, 182, 199, 0.68);
  display: block;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-stat strong {
  color: #ffffff;
  display: block;
  font-size: 2.15rem;
  line-height: 1;
  margin-top: 6px;
}

.dashboard-app-grid {
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dashboard-page .app-card {
  align-items: center;
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.5), rgba(2, 9, 13, 0.62)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.32), rgba(18, 242, 200, 0.08) 44%, rgba(120, 247, 96, 0.16)) border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: grid;
  gap: 14px;
  grid-template-columns: 52px 1fr 32px;
  min-height: 122px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.dashboard-page .app-card::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(15, 255, 193, 0.18), transparent 27%),
    linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.045), transparent);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 180ms ease;
}

.dashboard-page .app-card:hover {
  border-color: transparent;
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(15, 255, 193, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.dashboard-page .app-card:hover::before {
  opacity: 1;
}

.dashboard-page .app-icon {
  background:
    linear-gradient(145deg, rgba(15, 255, 193, 0.23), rgba(8, 217, 255, 0.08)) padding-box,
    linear-gradient(135deg, rgba(96, 255, 231, 0.54), rgba(141, 248, 95, 0.18)) border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 0 22px rgba(15, 255, 193, 0.12);
  color: #0fffc1;
  flex: none;
  font-size: 1.1rem;
  height: 52px;
  position: relative;
  width: 52px;
  z-index: 1;
}

.dashboard-page .app-card strong,
.dashboard-page .app-card small {
  position: relative;
  z-index: 1;
}

.dashboard-page .app-card strong {
  color: #ffffff;
  font-size: 1.02rem;
}

.dashboard-page .app-card small {
  color: rgba(158, 182, 199, 0.66);
  font-size: 0.84rem;
  margin-top: 4px;
}

.app-card-arrow {
  align-items: center;
  background: rgba(2, 11, 15, 0.38);
  border: 1px solid rgba(82, 244, 221, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  position: relative;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 32px;
  z-index: 1;
}

.app-card-arrow svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.dashboard-page .app-card:hover .app-card-arrow {
  background:
    linear-gradient(104deg, rgba(8, 217, 255, 0.22), rgba(140, 244, 90, 0.18));
  color: #ffffff;
  transform: translateX(2px);
}

.dashboard-empty {
  background:
    linear-gradient(148deg, rgba(7, 30, 36, 0.5), rgba(2, 9, 13, 0.62)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.28), rgba(120, 247, 96, 0.14)) border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  color: rgba(230, 238, 243, 0.76);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  color: rgba(248, 251, 255, 0.92);
  font-size: 0.83rem;
  font-weight: 650;
  gap: 7px;
}

.login-input-shell {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(2, 11, 15, 0.68), rgba(2, 15, 19, 0.55)) padding-box,
    linear-gradient(135deg, rgba(35, 236, 220, 0.2), rgba(97, 165, 178, 0.11), rgba(18, 242, 200, 0.12)) border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr auto;
  min-height: 47px;
  padding: 0 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-input-shell:focus-within {
  background:
    linear-gradient(145deg, rgba(2, 13, 18, 0.78), rgba(2, 17, 22, 0.64)) padding-box,
    linear-gradient(135deg, rgba(49, 255, 231, 0.52), rgba(18, 242, 200, 0.18), rgba(124, 242, 105, 0.28)) border-box;
  box-shadow: 0 0 0 2px rgba(18, 244, 211, 0.055), 0 0 17px rgba(10, 227, 206, 0.11);
}

.login-input-shell svg {
  fill: none;
  height: 17px;
  stroke: rgba(15, 255, 193, 0.92);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  width: 17px;
}

.login-input-shell input {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #f6fbff;
  font-size: 1rem;
  font-weight: 450;
  min-width: 0;
  outline: 0;
  padding: 0;
}

.login-input-shell input::placeholder {
  color: rgba(126, 150, 165, 0.58);
  opacity: 1;
}

.login-input-shell input:focus {
  border-color: transparent;
  outline: 0;
}

.login-input-shell input:-webkit-autofill,
.login-input-shell input:-webkit-autofill:hover,
.login-input-shell input:-webkit-autofill:focus,
.login-input-shell input:-webkit-autofill:active {
  background-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #f6fbff;
  caret-color: #f6fbff;
  box-shadow: none;
  -webkit-box-shadow: none;
  transition: background-color 9999s ease-in-out 0s;
}

.password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(139, 166, 181, 0.78);
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 30px;
}

.password-toggle svg {
  stroke: currentColor;
}

.password-toggle:hover,
.password-toggle.is-active {
  color: #0fffc1;
}

.login-check {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 520;
  gap: 9px;
  line-height: 1.2;
  margin-top: 4px;
}

.login-check input {
  appearance: none;
  background: rgba(2, 14, 18, 0.82);
  border: 1px solid rgba(15, 255, 193, 0.88);
  border-radius: 5px;
  display: grid;
  height: 19px;
  inline-size: 19px;
  place-content: center;
  width: 19px;
}

.login-check input::before {
  border-bottom: 2px solid #061014;
  border-right: 2px solid #061014;
  content: "";
  height: 8px;
  opacity: 0;
  transform: rotate(45deg) translate(-1px, -1px);
  width: 4px;
}

.login-check input:checked {
  background: #0fffc1;
  box-shadow: 0 0 13px rgba(15, 255, 193, 0.38);
}

.login-check input:checked::before {
  opacity: 1;
}

.button.primary.login-submit {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 46%),
    linear-gradient(104deg, #08d9ff 0%, #0df1cf 44%, #8cf45a 100%);
  border-color: rgba(183, 255, 194, 0.58);
  border-radius: 12px;
  box-shadow:
    0 15px 34px rgba(13, 216, 192, 0.25),
    0 0 22px rgba(21, 245, 207, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -16px 24px rgba(0, 62, 58, 0.15);
  color: #ffffff;
  display: grid;
  font-size: 0.98rem;
  font-weight: 780;
  grid-template-columns: 1fr 18px;
  isolation: isolate;
  margin-top: 8px;
  min-height: 49px;
  overflow: hidden;
  padding: 0 17px;
  position: relative;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button.primary.login-submit::before {
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.58), transparent 22%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  content: "";
  inset: 1px;
  opacity: 0.42;
  position: absolute;
  transform: translateX(-18%);
  z-index: -1;
}

.button.primary.login-submit span,
.button.primary.login-submit svg {
  position: relative;
  z-index: 1;
}

.button.primary.login-submit svg {
  fill: none;
  height: 18px;
  justify-self: end;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.button.primary.login-submit:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 46%),
    linear-gradient(104deg, #10e3ff 0%, #19f8d5 44%, #9aff63 100%);
  box-shadow:
    0 18px 42px rgba(13, 216, 192, 0.35),
    0 0 30px rgba(21, 245, 207, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -16px 24px rgba(0, 62, 58, 0.12);
  filter: saturate(1.1);
  transform: translateY(-1px);
}

.secure-note {
  align-items: center;
  color: rgba(141, 167, 181, 0.48);
  display: flex;
  font-size: 0.74rem;
  gap: 7px;
  justify-content: center;
  margin: 30px 0 0;
}

.secure-note svg {
  fill: none;
  height: 15px;
  stroke: rgba(15, 255, 193, 0.76);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 15px;
}

.secure-note[hidden] {
  display: none;
}

.login-version {
  color: rgba(157, 188, 204, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0;
  margin: 10px 0 0;
  user-select: none;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h1,
.login-panel h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 0;
}

.section-heading p,
.muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.row-heading {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.form-stack {
  display: grid;
  gap: 16px;
}

label {
  color: var(--ink);
  display: grid;
  font-weight: 700;
  gap: 7px;
}

input,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 11px 12px;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(15, 124, 102, 0.16);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 4px 0 0;
  padding: 16px;
}

legend {
  font-weight: 800;
  padding: 0 6px;
}

.check-row {
  align-items: center;
  display: flex;
  font-weight: 650;
  gap: 10px;
}

.check-row input {
  inline-size: 18px;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 10px;
}

.button,
button.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.button.danger {
  background: var(--danger);
  color: #fff;
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: inherit;
}

.topbar .button.ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notice {
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.notice.error {
  background: var(--danger-bg);
  color: var(--danger);
}

.danger-zone {
  align-items: center;
  background: #fff;
  border: 1px solid #f0c7c3;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 16px;
}

.danger-zone p {
  margin: 2px 0 0;
}

.app-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.app-card {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  gap: 14px;
  min-height: 104px;
  padding: 18px;
  text-decoration: none;
}

.app-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(20, 33, 43, 0.08);
  text-decoration: none;
}

.app-icon {
  align-items: center;
  background: #e7f3ef;
  border-radius: 8px;
  color: var(--accent-strong);
  display: inline-flex;
  flex: 0 0 46px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  overflow: hidden;
}

.app-card strong,
.app-card small {
  display: block;
}

.app-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.empty-state,
.table-section,
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-state {
  color: var(--muted);
  padding: 24px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tabs a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  padding: 9px 12px;
}

.tabs a.active {
  background: var(--brand);
  color: #fff;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 22px;
}

.stat {
  padding: 20px;
}

.stat span {
  color: var(--muted);
  display: block;
}

.stat strong {
  display: block;
  font-size: 2.1rem;
}

.table-section {
  overflow-x: auto;
}

.table-header {
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.table-header h2 {
  font-size: 1.1rem;
  margin: 0;
}

table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 680px) {
  .topbar,
  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    gap: 12px;
    padding: 18px;
  }

  .topnav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .page {
    padding: 30px 16px 56px;
  }

  .auth-shell {
    padding:
      max(4px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .login-stage {
    max-width: 370px;
    transform: translateY(-5.5vh);
  }

  .login-panel {
    padding: 22px;
  }

  .auth-wave {
    height: 30%;
  }

  .app-page .topbar {
    align-items: center;
    flex-direction: row;
    gap: 14px;
    min-height: 52px;
    padding:
      8px
      max(16px, env(safe-area-inset-right))
      8px
      max(16px, env(safe-area-inset-left));
  }

  .topbar-actions {
    flex: 1;
    gap: 8px;
    min-width: 0;
  }

  .app-page .topnav {
    flex: 1;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    width: auto;
  }

  .app-page .topnav::-webkit-scrollbar {
    display: none;
  }

  .app-page .topnav a {
    flex: 0 0 auto;
    font-size: 0.84rem;
    padding: 6px 8px;
  }

  .user-menu-name {
    max-width: 92px;
  }

  .user-menu-button {
    max-width: 138px;
    min-height: 34px;
    padding-right: 7px;
  }

  .user-menu-dropdown {
    right: 0;
    top: calc(100% + 8px);
  }

  .app-page .row-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .app-page .page {
    padding:
      34px
      max(16px, env(safe-area-inset-right))
      64px
      max(16px, env(safe-area-inset-left));
  }

  .dashboard-main {
    padding:
      34px
      max(16px, env(safe-area-inset-right))
      64px
      max(16px, env(safe-area-inset-left));
  }

  .dashboard-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }

  .dashboard-hero h1 {
    font-size: 2.45rem;
  }

  .dashboard-stat {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-width: 0;
    padding: 14px 15px;
    text-align: left;
  }

  .dashboard-stat strong {
    font-size: 1.75rem;
    margin-top: 0;
  }

  .dashboard-app-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .app-card {
    grid-template-columns: 48px 1fr 30px;
    min-height: 106px;
    padding: 16px;
  }

  .dashboard-page .app-icon {
    height: 48px;
    width: 48px;
  }

  .dashboard-wave {
    background-size: 180% 100%;
    height: 24%;
  }
}

.app-page .topbar.app-menu-shell {
  align-items: initial;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  display: block;
  flex-direction: initial;
  gap: 0;
  left: auto;
  min-height: 0;
  padding: 0;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  top: calc(env(safe-area-inset-top) + 12px);
  z-index: 50;
}

/* Luma home screen foundation */
html.dashboard-document,
html.dashboard-document body.dashboard-page {
  height: 100%;
  height: var(--app-viewport-height);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  width: 100%;
}

body.dashboard-page {
  background:
    radial-gradient(ellipse at 78% 8%, rgba(20, 255, 211, 0.18), transparent 32%),
    radial-gradient(ellipse at 28% 86%, rgba(117, 248, 89, 0.12), transparent 34%),
    linear-gradient(155deg, #02070a 0%, #031017 48%, #010407 100%);
  --home-icon-size: clamp(60px, 14.3vw, 64px);
  --home-icon-glyph-size: 57%;
  --home-icon-radius: 22.5%;
  --home-slot-size: calc(var(--home-icon-size) + 18px);
  --home-icon-gap-x: clamp(12px, 4.2vw, 20px);
  --home-icon-gap-y: clamp(16px, 2.4vh, 22px);
  --home-dock-icon-size: var(--home-icon-size);
  --home-dock-gap-x: clamp(14px, 4.4vw, 22px);
  inset: 0;
  position: fixed;
  touch-action: none;
}

.dashboard-page .dashboard-ambient::before {
  opacity: 0.045;
}

.dashboard-page .dashboard-wave {
  display: none;
}

.dashboard-page .safe-top-spacer {
  display: none;
}

.dashboard-page .topbar.app-menu-shell {
  height: 0;
  left: 0;
  min-height: 0;
  padding: 0;
  pointer-events: none;
  right: 0;
  top: 0;
  width: 100%;
}

.dashboard-page .app-menu {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  height: 0;
  margin: 0;
  max-height: none;
  overflow: visible;
  pointer-events: none;
  width: 100%;
}

.dashboard-page .app-menu::before,
.dashboard-page .app-menu-toggle {
  display: none;
}

.dashboard-page .app-menu.is-open {
  border-radius: 0;
  box-shadow: none;
  height: 0;
  max-height: none;
  width: 100%;
}

.dashboard-page .app-menu-panel {
  background:
    linear-gradient(148deg, rgba(8, 31, 37, 0.74), rgba(3, 10, 15, 0.78)) padding-box,
    linear-gradient(132deg, rgba(96, 255, 231, 0.36), rgba(18, 242, 200, 0.1) 46%, rgba(120, 247, 96, 0.18)) border-box;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid transparent;
  border-radius: 26px;
  box-shadow:
    0 26px 84px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(15, 255, 193, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  left: max(18px, env(safe-area-inset-left));
  opacity: 0;
  padding: 16px;
  pointer-events: none;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  top: calc(env(safe-area-inset-top) + 12px);
  transform: translateY(-110%) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
  z-index: 80;
}

.dashboard-page .app-menu-panel[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.dashboard-page .app-menu-panel[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%) scale(0.98);
  visibility: hidden;
}

.dashboard-page .app-menu-profile {
  padding: 4px 2px 14px;
}

.dashboard-page .app-menu-version {
  color: rgba(157, 188, 204, 0.36);
  font-size: 0.72rem;
  letter-spacing: 0;
  margin: 14px 2px 0;
  text-align: center;
  user-select: none;
}

.dashboard-page .app-menu.is-peeking .app-menu-panel,
.dashboard-page .app-menu.is-releasing .app-menu-panel {
  pointer-events: none;
  visibility: visible;
}

.dashboard-page .dashboard-main.home-screen {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  height: var(--app-viewport-height);
  inset: 0;
  margin: 0;
  max-width: none;
  overflow: hidden;
  padding:
    calc(env(safe-area-inset-top) + 44px)
    max(24px, env(safe-area-inset-right))
    calc(env(safe-area-inset-bottom) + 112px)
    max(24px, env(safe-area-inset-left));
  position: fixed;
  touch-action: none;
  width: 100%;
  z-index: 1;
}

.home-wallpaper {
  height: var(--app-viewport-height);
  inset: 0 0 auto;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 0;
}

.home-wallpaper::before,
.home-wallpaper::after {
  content: "";
  inset: 0;
  position: absolute;
}

.home-wallpaper::before {
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(13, 243, 215, 0.12) 43%, transparent 47%),
    linear-gradient(150deg, transparent 0 56%, rgba(130, 248, 84, 0.12) 57%, transparent 61%),
    radial-gradient(ellipse at 48% 76%, rgba(18, 255, 209, 0.16), transparent 32%);
  filter: blur(2px);
  opacity: 0.82;
}

.home-wallpaper::after {
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(180deg, rgba(1, 5, 8, 0.14), rgba(1, 4, 7, 0.78));
  opacity: 0.96;
}

.home-ribbon {
  border: 1px solid rgba(20, 255, 221, 0.45);
  border-bottom: 0;
  border-left: 0;
  border-radius: 48% 52% 0 0;
  box-shadow:
    0 0 18px rgba(20, 255, 221, 0.24),
    inset 0 0 22px rgba(20, 255, 221, 0.1);
  filter: blur(0.2px);
  height: 46%;
  opacity: 0.72;
  position: absolute;
  transform: rotate(-28deg);
  width: 86%;
}

.home-ribbon-one {
  right: -28%;
  top: -17%;
}

.home-ribbon-two {
  border-color: rgba(135, 248, 90, 0.42);
  bottom: 7%;
  left: -36%;
  opacity: 0.6;
  transform: rotate(-36deg);
}

.home-ribbon-three {
  border-color: rgba(10, 209, 255, 0.5);
  bottom: -10%;
  right: -32%;
  transform: rotate(143deg);
}

.home-orbit-glow {
  background:
    linear-gradient(98deg, transparent, rgba(15, 255, 193, 0.18), rgba(8, 217, 255, 0.16), transparent);
  bottom: 11%;
  filter: blur(32px);
  height: 26%;
  left: -18%;
  opacity: 0.8;
  position: absolute;
  transform: rotate(-18deg);
  width: 120%;
}

.home-pages {
  min-height: 0;
  overflow: hidden;
  position: relative;
  touch-action: none;
  z-index: 2;
}

.home-pages-track {
  display: flex;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  width: 100%;
}

.home-page {
  flex: 0 0 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0 2px;
}

.home-page:not(.is-active) {
  pointer-events: none;
}

.home-snap-grid {
  align-content: start;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  height: 100%;
  margin: 0 auto;
  max-width: 1060px;
  min-height: 0;
  width: 100%;
}

.home-widget,
.home-dock,
.home-app-icon,
.home-dock-icon {
  background:
    linear-gradient(148deg, rgba(10, 34, 39, 0.58), rgba(3, 12, 17, 0.62)) padding-box,
    linear-gradient(132deg, rgba(92, 255, 231, 0.34), rgba(18, 242, 200, 0.07) 48%, rgba(142, 248, 90, 0.18)) border-box;
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  border: 1px solid transparent;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-widget {
  border-radius: 30px;
  color: #f7fbff;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.home-widget::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(15, 255, 193, 0.18), transparent 27%),
    linear-gradient(102deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  content: "";
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
}

.home-widget-luma {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-column: 1 / -1;
  grid-template-columns: 230px 1fr;
  min-height: 214px;
  padding: 28px 38px 30px;
}

.luma-orb {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.26), transparent 18%),
    radial-gradient(circle at 48% 58%, rgba(1, 4, 7, 0.86) 0 37%, transparent 38%),
    linear-gradient(145deg, rgba(17, 255, 211, 0.88), rgba(26, 151, 129, 0.52) 46%, rgba(4, 26, 28, 0.92));
  border: 1px solid rgba(111, 255, 232, 0.25);
  border-radius: 43% 57% 52% 48% / 47% 44% 56% 53%;
  box-shadow:
    0 0 36px rgba(15, 255, 193, 0.32),
    inset 0 0 32px rgba(255, 255, 255, 0.14);
  display: grid;
  isolation: isolate;
  max-width: 176px;
  place-items: center;
  position: relative;
  width: 100%;
}

.luma-face {
  align-items: center;
  background: rgba(1, 5, 8, 0.84);
  border-radius: 44% 56% 48% 52% / 52% 48% 52% 48%;
  display: flex;
  gap: 19px;
  height: 48%;
  justify-content: center;
  position: relative;
  width: 68%;
  z-index: 1;
}

.luma-face span {
  border: 5px solid rgba(236, 255, 250, 0.94);
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 999px 999px 0 0;
  display: block;
  height: 16px;
  width: 32px;
}

.luma-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.luma-status {
  align-items: center;
  background: rgba(3, 15, 19, 0.54);
  border: 1px solid rgba(92, 255, 231, 0.18);
  border-radius: 999px;
  color: rgba(236, 247, 249, 0.86);
  display: inline-flex;
  float: right;
  font-size: 0.82rem;
  gap: 8px;
  line-height: 1;
  padding: 9px 13px;
}

.luma-status span,
.live-dot span {
  background: #0fffc1;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(15, 255, 193, 0.42);
  display: inline-block;
  height: 8px;
  width: 8px;
}

.luma-copy h1 {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 2.65rem;
  font-weight: 820;
  gap: 10px;
  line-height: 1;
  margin: 0 0 18px;
}

.luma-copy h1 svg {
  color: #08d9ff;
  fill: currentColor;
  height: 30px;
  width: 30px;
}

.luma-copy p {
  color: rgba(235, 244, 247, 0.82);
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0;
  max-width: 420px;
}

.luma-copy p strong {
  color: #0fffc1;
  font-weight: 820;
}

.luma-actions {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.luma-actions a,
.luma-actions button,
.widget-actions a,
.widget-actions button {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: rgba(4, 18, 23, 0.5);
  border: 1px solid rgba(92, 255, 231, 0.18);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  font-weight: 720;
  gap: 12px;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  text-decoration: none;
}

.luma-actions a:hover,
.luma-actions button:not(:disabled):hover,
.widget-actions a:hover,
.widget-actions button:not(:disabled):hover {
  background: rgba(15, 255, 193, 0.08);
  border-color: rgba(15, 255, 193, 0.32);
  text-decoration: none;
}

.luma-actions a.is-muted,
.luma-actions button.is-muted,
.widget-actions button:disabled {
  color: rgba(255, 255, 255, 0.72);
}

.luma-actions button:disabled,
.widget-actions button:disabled {
  cursor: default;
}

.action-cube,
.action-bolt,
.action-spark,
.widget-cube {
  color: #0fffc1;
  display: inline-block;
  flex: none;
  height: 22px;
  position: relative;
  width: 22px;
}

.action-cube::before,
.widget-cube::before {
  background: linear-gradient(145deg, #0fffc1, #49d9ca 56%, #8cf45a);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  content: "";
  inset: 0;
  position: absolute;
}

.action-bolt::before {
  background: linear-gradient(180deg, #0fffc1, #8cf45a);
  clip-path: polygon(56% 0, 18% 54%, 47% 54%, 38% 100%, 82% 39%, 54% 39%);
  content: "";
  inset: 0;
  position: absolute;
}

.action-spark::before {
  background: #08d9ff;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  content: "";
  inset: 1px;
  position: absolute;
}

.home-widget-row {
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-widget-row .home-widget {
  min-height: 228px;
  padding: 28px;
}

.home-widget h2 {
  color: #ffffff;
  font-size: 1.26rem;
  line-height: 1.18;
  margin: 0 0 8px;
}

.home-widget p {
  color: rgba(222, 236, 241, 0.76);
  margin: 0;
}

.home-widget-studio {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 50px;
}

.home-widget-studio .widget-actions {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.widget-actions a,
.widget-actions button {
  border-radius: 14px;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 14px;
}

.widget-cube {
  height: 48px;
  width: 48px;
}

.home-widget-motion {
  display: grid;
  grid-template-columns: 1fr 90px;
}

.widget-wallpaper-preview {
  align-self: end;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(8, 217, 255, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(7, 23, 30, 0.78), rgba(7, 125, 111, 0.32), rgba(140, 244, 90, 0.28));
  border: 1px solid rgba(92, 255, 231, 0.16);
  border-radius: 22px;
  box-shadow: inset 0 0 28px rgba(15, 255, 193, 0.12);
  height: 150px;
}

.home-widget-feed {
  display: grid;
  gap: 14px;
}

.feed-mosaic {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-mosaic span {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.52), transparent 18%),
    linear-gradient(135deg, rgba(255, 157, 91, 0.62), rgba(8, 217, 255, 0.34), rgba(2, 9, 13, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: block;
  min-height: 58px;
}

.feed-mosaic span:nth-child(2) {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 129, 208, 0.54), transparent 22%),
    linear-gradient(135deg, rgba(10, 209, 255, 0.36), rgba(2, 9, 13, 0.92));
}

.feed-mosaic span:nth-child(3) {
  background:
    radial-gradient(circle at 50% 42%, rgba(15, 255, 193, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(255, 110, 82, 0.5), rgba(10, 19, 26, 0.92));
}

.feed-mosaic span:nth-child(4) {
  background:
    radial-gradient(circle at 64% 38%, rgba(140, 244, 90, 0.38), transparent 24%),
    linear-gradient(135deg, rgba(8, 217, 255, 0.32), rgba(9, 21, 17, 0.92));
}

.live-dot {
  align-items: center;
  color: #0fffc1;
  display: inline-flex;
  gap: 9px;
  margin-top: 2px;
}

.home-installed {
  grid-column: 1 / -1;
  min-height: 0;
}

.home-installed-only {
  align-self: center;
}

.home-icon-grid {
  display: grid;
  gap: 18px 34px;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  justify-items: center;
  margin: 2px auto 0;
  max-width: 910px;
  width: 100%;
}

.home-app-link {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: calc(var(--home-icon-size) + 32px);
  min-width: 0;
  padding: 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: var(--home-slot-size);
}

.home-app-link-placeholder {
  cursor: default;
  opacity: 1;
  padding: 0;
}

.home-app-link:hover {
  text-decoration: none;
}

.home-app-link:hover .home-app-icon {
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(15, 255, 193, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.home-app-icon,
.home-dock-icon {
  align-items: center;
  aspect-ratio: 1;
  border-radius: 22px;
  color: #0fffc1;
  display: grid;
  justify-items: center;
  overflow: hidden;
  place-items: center;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.home-app-icon-image {
  border: 0;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 120ms ease;
  width: 100%;
  z-index: 2;
}

.home-app-icon.has-image .home-app-icon-image,
.home-dock-icon.has-image .home-app-icon-image {
  opacity: 1;
}

.home-app-icon.has-image svg,
.home-dock-icon.has-image svg,
.home-app-icon.has-image .home-app-icon-text,
.home-dock-icon.has-image .home-app-icon-text {
  opacity: 0;
}

.home-app-icon {
  width: 86px;
}

.home-dock-icon {
  border-radius: 21px;
  width: 66px;
}

.home-app-icon::before,
.home-dock-icon::before {
  background:
    radial-gradient(circle at 30% 16%, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at 78% 82%, rgba(15, 255, 193, 0.12), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-app-icon svg,
.home-dock-icon svg {
  fill: none;
  height: 62%;
  position: relative;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  width: 62%;
  z-index: 1;
}

.home-app-icon-vintedtools svg,
.home-dock-icon.home-app-icon-vintedtools svg {
  stroke-width: 5;
}

.home-app-icon-text {
  color: #0fffc1;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.home-app-label {
  color: rgba(255, 255, 255, 0.92);
  display: block;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.14;
  max-width: 116px;
  hyphens: none;
  overflow-wrap: normal;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  word-break: normal;
}

.home-page-dots {
  align-items: center;
  bottom: calc(env(safe-area-inset-bottom) + 116px);
  display: flex;
  gap: 9px;
  justify-content: center;
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  z-index: 5;
}

.home-page-dots button {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.32);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease;
  width: 10px;
}

.home-page-dots button.is-active {
  background: rgba(255, 255, 255, 0.94);
  transform: scale(1.12);
}

.home-dock {
  align-items: center;
  border-radius: 34px;
  bottom: calc(env(safe-area-inset-bottom) + 4px);
  display: grid;
  grid-template-columns: repeat(4, var(--home-slot-size));
  gap: var(--home-dock-gap-x);
  justify-content: center;
  left: 50%;
  min-height: 92px;
  padding: 12px var(--home-dock-gap-x);
  position: fixed;
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  width: max-content;
  z-index: 5;
}

.home-dock-link {
  align-items: center;
  display: grid;
  justify-items: center;
  position: relative;
  text-decoration: none;
  width: var(--home-slot-size);
}

.home-dock-link:hover {
  text-decoration: none;
}

.home-empty {
  background:
    linear-gradient(148deg, rgba(10, 34, 39, 0.5), rgba(3, 12, 17, 0.62)) padding-box,
    linear-gradient(132deg, rgba(92, 255, 231, 0.24), rgba(142, 248, 90, 0.12)) border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-radius: 24px;
  color: rgba(222, 236, 241, 0.78);
  display: grid;
  gap: 6px;
  margin: 0 auto;
  max-width: 420px;
  padding: 28px;
  text-align: center;
}

.home-empty strong {
  color: #ffffff;
}

@media (max-width: 920px) {
  .dashboard-page .dashboard-main.home-screen {
    padding:
      calc(env(safe-area-inset-top) + 34px)
      max(18px, env(safe-area-inset-right))
      calc(env(safe-area-inset-bottom) + 108px)
      max(18px, env(safe-area-inset-left));
  }

  .home-snap-grid {
    align-content: start;
    gap: 14px;
  }

  .home-widget-luma {
    gap: 18px;
    grid-template-columns: 112px 1fr;
    min-height: 170px;
    padding: 22px;
  }

  .luma-orb {
    max-width: 112px;
  }

  .luma-face {
    gap: 11px;
  }

  .luma-face span {
    border-width: 4px;
    height: 12px;
    width: 22px;
  }

  .luma-status {
    display: none;
  }

  .luma-copy h1 {
    font-size: 2.05rem;
    margin-bottom: 10px;
  }

  .luma-copy h1 svg {
    height: 24px;
    width: 24px;
  }

  .luma-copy p {
    font-size: 1rem;
  }

  .luma-actions {
    gap: 10px;
    grid-column: 1 / -1;
    margin-top: 22px;
  }

  .luma-actions a,
  .luma-actions button {
    border-radius: 15px;
    font-size: 0.9rem;
    min-height: 48px;
    padding: 10px;
  }

  .home-widget-row {
    gap: 12px;
  }

  .home-widget-row .home-widget {
    border-radius: 22px;
    min-height: 132px;
    padding: 18px;
  }

  .home-widget h2 {
    font-size: 1rem;
  }

  .home-widget p {
    font-size: 0.84rem;
  }

  .home-widget-studio {
    grid-template-columns: 1fr;
  }

  .widget-cube,
  .widget-actions {
    display: none;
  }

  .home-widget-motion {
    grid-template-columns: 1fr 58px;
  }

  .widget-wallpaper-preview {
    height: 96px;
  }

  .feed-mosaic {
    gap: 6px;
  }

  .feed-mosaic span {
    border-radius: 10px;
    min-height: 36px;
  }

  .live-dot {
    display: none;
  }

  .home-icon-grid {
    gap: 15px 16px;
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    max-width: 620px;
  }

  .home-app-icon {
    border-radius: 20px;
    width: 76px;
  }

  .home-app-label {
    font-size: 0.9rem;
    max-width: 90px;
  }
}

@media (max-width: 560px) {
  .dashboard-page .dashboard-main.home-screen {
    padding:
      calc(env(safe-area-inset-top) + 28px)
      max(16px, env(safe-area-inset-right))
      calc(env(safe-area-inset-bottom) + 104px)
      max(16px, env(safe-area-inset-left));
  }

  .home-snap-grid {
    gap: 12px;
  }

  .home-widget-luma {
    border-radius: 26px;
    grid-template-columns: 86px 1fr;
    min-height: 154px;
    padding: 18px;
  }

  .luma-orb {
    max-width: 86px;
  }

  .luma-copy h1 {
    font-size: 1.84rem;
  }

  .luma-copy p {
    font-size: 0.94rem;
  }

  .luma-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .luma-actions a,
  .luma-actions button {
    font-size: 0;
    min-height: 42px;
  }

  .luma-actions a span,
  .luma-actions button span {
    height: 24px;
    width: 24px;
  }

  .home-widget-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-widget-row .home-widget {
    min-height: 98px;
    padding: 14px;
  }

  .home-widget h2 {
    font-size: 0.9rem;
  }

  .home-widget p {
    display: none;
  }

  .home-widget-motion {
    grid-template-columns: 1fr;
  }

  .widget-wallpaper-preview,
  .feed-mosaic {
    display: none;
  }

  .home-icon-grid {
    gap: 16px 12px;
  }

  .home-app-icon {
    border-radius: 18px;
    width: 68px;
  }

  .home-app-label {
    font-size: 0.78rem;
    max-width: 104px;
  }

  .home-page-dots {
    bottom: calc(env(safe-area-inset-bottom) + 96px);
  }

  .home-dock {
    border-radius: 30px;
    gap: 16px;
    min-height: 80px;
    padding: 10px 18px;
    width: min(420px, calc(100% - 32px));
  }

  .home-dock-icon {
    border-radius: 18px;
    width: 58px;
  }
}

@media (max-height: 760px) and (max-width: 560px) {
  .dashboard-page .dashboard-main.home-screen {
    padding-top: calc(env(safe-area-inset-top) + 22px);
  }

  .home-widget-luma {
    min-height: 138px;
  }

  .luma-actions {
    display: none;
  }

  .home-widget-row .home-widget {
    min-height: 80px;
  }

  .home-app-icon {
    width: 62px;
  }

  .home-app-label {
    font-size: 0.8rem;
  }
}

.dashboard-page .home-icon-grid {
  gap: var(--home-icon-gap-y) var(--home-icon-gap-x);
  grid-template-columns: repeat(4, var(--home-slot-size));
  justify-content: center;
  max-width: 100%;
  width: max-content;
}

.dashboard-page .home-app-icon,
.dashboard-page .home-dock-icon {
  border-radius: var(--home-icon-radius);
  width: var(--home-icon-size);
}

.dashboard-page .home-dock-icon {
  width: var(--home-dock-icon-size);
}

.dashboard-page .home-app-icon svg,
.dashboard-page .home-dock-icon svg {
  height: var(--home-icon-glyph-size);
  width: var(--home-icon-glyph-size);
}

.dashboard-page .home-app-label {
  font-size: 0.82rem;
  line-height: 1.12;
  max-width: calc(var(--home-icon-size) + 34px);
}

.dashboard-page .home-dock {
  gap: var(--home-dock-gap-x);
  grid-template-columns: repeat(4, var(--home-slot-size));
  min-height: calc(var(--home-dock-icon-size) + 28px);
  padding: 12px var(--home-dock-gap-x);
  max-width: calc(100% - 24px);
  width: max-content;
}

.home-screen.is-wiggle .home-app-link,
.home-screen.is-wiggle .home-dock-link {
  animation: homeIconWiggle 150ms ease-in-out infinite alternate;
}

.home-screen.is-wiggle .home-app-link::after,
.home-screen.is-wiggle .home-dock-link::after {
  align-items: center;
  background: rgba(4, 14, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  content: "−";
  display: flex;
  font-size: 1.15rem;
  font-weight: 760;
  height: 22px;
  justify-content: center;
  left: calc(50% - (var(--home-icon-size) / 2) - 7px);
  line-height: 1;
  position: absolute;
  top: -7px;
  width: 22px;
  z-index: 4;
}

.home-screen.is-wiggle .home-app-icon,
.home-screen.is-wiggle .home-dock-icon {
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(15, 255, 193, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@keyframes homeIconWiggle {
  from {
    transform: rotate(-1.15deg) translateY(0);
  }
  to {
    transform: rotate(1.15deg) translateY(-1px);
  }
}

@media (min-width: 430px) and (max-width: 560px) {
  body.dashboard-page {
    --home-icon-size: 63px;
    --home-icon-gap-x: 18px;
    --home-icon-gap-y: 20px;
    --home-dock-gap-x: 18px;
  }
}

@media (max-width: 380px) {
  body.dashboard-page {
    --home-icon-size: 58px;
    --home-icon-gap-x: 10px;
    --home-icon-gap-y: 16px;
    --home-dock-gap-x: 10px;
  }
}

@media (max-height: 760px) and (max-width: 560px) {
  body.dashboard-page {
    --home-icon-size: 56px;
    --home-icon-gap-y: 14px;
  }
}

/* Home editing foundation, v8 */
body.dashboard-page {
  --home-icon-size: clamp(56px, 13.4vw, 61px);
  --home-icon-gap-x: clamp(14px, 4.5vw, 22px);
  --home-icon-gap-y: clamp(16px, 2.35vh, 22px);
  --home-dock-gap-x: clamp(12px, 4.1vw, 20px);
}

.dashboard-page,
.dashboard-page * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.dashboard-page img,
.dashboard-page a {
  -webkit-user-drag: none;
}

.home-app-link,
.home-dock-link,
.home-add-page-tile {
  touch-action: none;
}

.home-app-link-placeholder[aria-disabled="true"] {
  cursor: default;
}

.home-icon-placeholder {
  border: 1px dashed rgba(92, 255, 231, 0.22);
  border-radius: calc(var(--home-icon-radius) + 6px);
  display: block;
  min-height: calc(var(--home-icon-size) + 32px);
  opacity: 0.26;
  pointer-events: none;
  width: var(--home-slot-size);
}

.home-slot-gap {
  display: block;
  min-height: calc(var(--home-icon-size) + 32px);
  pointer-events: none;
  width: var(--home-slot-size);
}

.home-screen.is-wiggle .home-slot-gap {
  border: 1px dashed rgba(92, 255, 231, 0.15);
  border-radius: var(--home-icon-radius);
  min-height: var(--home-icon-size);
}

.home-dock .home-icon-placeholder {
  min-height: var(--home-dock-icon-size);
}

.home-screen [data-home-icon][hidden] {
  display: none !important;
}

.home-screen [data-home-icon].is-dragging {
  animation: none !important;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.home-screen [data-home-icon].is-dragging .home-app-icon,
.home-screen [data-home-icon].is-dragging .home-dock-icon {
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(15, 255, 193, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-screen.is-wiggle [data-home-icon] {
  animation: homeIconWiggle 150ms ease-in-out infinite alternate;
}

.home-screen.is-wiggle [data-home-icon]:nth-child(2n) {
  animation-delay: -70ms;
}

.home-screen.is-wiggle [data-home-icon].is-dragging {
  animation: none !important;
}

.home-screen.is-wiggle [data-home-icon]::after {
  align-items: center;
  background: rgba(4, 14, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.94);
  content: "-";
  display: flex;
  font-size: 1.15rem;
  font-weight: 760;
  height: 22px;
  justify-content: center;
  left: calc(50% - (var(--home-icon-size) / 2) - 7px);
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: -7px;
  width: 22px;
  z-index: 6;
}

.home-icon-grid-empty {
  align-items: center;
  min-height: min(280px, 42vh);
}

.home-add-page-tile {
  -webkit-appearance: none;
  appearance: none;
  background:
    linear-gradient(148deg, rgba(10, 34, 39, 0.46), rgba(3, 12, 17, 0.54)) padding-box,
    linear-gradient(132deg, rgba(92, 255, 231, 0.26), rgba(142, 248, 90, 0.14)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: rgba(240, 255, 252, 0.86);
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: calc(var(--home-icon-size) + 48px);
  padding: 14px;
  width: var(--home-slot-size);
}

.home-add-page-tile span {
  align-items: center;
  background: rgba(15, 255, 193, 0.1);
  border: 1px solid rgba(92, 255, 231, 0.24);
  border-radius: var(--home-icon-radius);
  color: #0fffc1;
  display: flex;
  font-size: 2rem;
  height: var(--home-icon-size);
  justify-content: center;
  line-height: 1;
  width: var(--home-icon-size);
}

.home-add-page-tile strong {
  font-size: 0.78rem;
  font-weight: 680;
  line-height: 1.1;
  text-align: center;
}

@media (min-width: 430px) and (max-width: 560px) {
  body.dashboard-page {
    --home-icon-size: 60px;
    --home-icon-gap-x: 18px;
    --home-icon-gap-y: 20px;
    --home-dock-gap-x: 18px;
  }
}

@media (max-width: 380px) {
  body.dashboard-page {
    --home-icon-size: 56px;
    --home-icon-gap-x: 12px;
    --home-icon-gap-y: 16px;
    --home-dock-gap-x: 10px;
  }
}

/* Home grid foundation, v9 */
body.dashboard-page {
  --home-icon-size: clamp(56px, 13.1vw, 60px);
  --home-icon-gap-x: clamp(18px, 5vw, 26px);
  --home-icon-gap-y: clamp(16px, 2.7vh, 26px);
  --home-slot-size: calc(var(--home-icon-size) + 18px);
  --home-cell-height: calc(var(--home-icon-size) + 34px);
  --home-dock-gap-x: clamp(18px, 5vw, 26px);
  --home-grid-max-width: min(100%, 430px);
}

.dashboard-page .dashboard-main.home-screen {
  padding:
    calc(env(safe-area-inset-top) + 30px)
    max(18px, env(safe-area-inset-right))
    calc(env(safe-area-inset-bottom) + 104px)
    max(18px, env(safe-area-inset-left));
}

.dashboard-page .home-pages,
.dashboard-page .home-pages-track,
.dashboard-page .home-page {
  height: 100%;
  min-height: 0;
}

.dashboard-page .home-page {
  padding: 0;
}

.dashboard-page .home-snap-grid {
  align-content: stretch;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.dashboard-page .home-installed {
  align-self: stretch;
  display: grid;
  min-height: 0;
}

.dashboard-page .home-installed-only {
  align-self: stretch;
  height: 100%;
}

.dashboard-page .home-icon-grid {
  align-content: start;
  gap: var(--home-icon-gap-y) 0;
  grid-auto-rows: var(--home-cell-height);
  grid-template-columns: repeat(4, var(--home-slot-size));
  height: 100%;
  justify-content: space-between;
  justify-items: center;
  margin: 0 auto;
  max-width: 430px;
  width: 100%;
}

.dashboard-page .home-installed-only .home-icon-grid {
  align-content: space-between;
  grid-template-rows: repeat(6, var(--home-cell-height));
}

.dashboard-page .home-page:first-child .home-icon-grid {
  align-content: start;
  height: auto;
}

.dashboard-page .home-app-link,
.dashboard-page .home-dock-link,
.dashboard-page .home-icon-placeholder,
.dashboard-page .home-slot-gap {
  min-height: var(--home-cell-height);
  width: var(--home-slot-size);
}

.dashboard-page .home-slot-gap {
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
}

.dashboard-page .home-screen.is-wiggle .home-slot-gap {
  border: 0 !important;
  opacity: 0 !important;
}

.dashboard-page .home-icon-placeholder {
  background: rgba(92, 255, 231, 0.08);
  border: 1px solid rgba(92, 255, 231, 0.12);
  border-radius: var(--home-icon-radius);
  opacity: 0.55;
}

.dashboard-page .home-add-page-tile {
  display: none !important;
}

.dashboard-page .home-dock {
  gap: 0;
  grid-template-columns: repeat(4, var(--home-slot-size));
  justify-content: space-between;
  max-width: calc(100% - 28px);
  padding: 12px 18px;
  width: min(430px, calc(100% - 28px));
}

.dashboard-page .home-dock-link {
  min-height: var(--home-dock-icon-size);
}

@media (max-width: 380px) {
  body.dashboard-page {
    --home-icon-size: 54px;
    --home-icon-gap-y: 14px;
  }
}

/* Universal Luma grid, v10 */
body.dashboard-page {
  --home-icon-size: clamp(64px, 15.2vw, 70px);
  --home-icon-glyph-size: 58%;
  --home-icon-radius: 24%;
  --home-grid-gap-x: clamp(12px, 3.2vw, 18px);
  --home-grid-gap-y: clamp(10px, 1.9vh, 16px);
  --home-dock-icon-size: var(--home-icon-size);
  --home-dock-gap-x: clamp(10px, 3vw, 16px);
}

.dashboard-page .dashboard-main.home-screen[data-luma-home] {
  padding:
    calc(env(safe-area-inset-top) + 24px)
    max(16px, env(safe-area-inset-right))
    calc(env(safe-area-inset-bottom) + 106px)
    max(16px, env(safe-area-inset-left));
}

.dashboard-page [data-luma-home] .home-pages {
  overflow: hidden;
}

.dashboard-page [data-luma-home] .home-page {
  overflow: visible;
  padding: 0;
}

.home-layout-grid {
  display: grid;
  gap: var(--home-grid-gap-y) var(--home-grid-gap-x);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  height: 100%;
  margin: 0 auto;
  max-width: 448px;
  overflow: visible;
  padding: 10px 4px 18px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.home-grid-item,
.home-grid-drop-marker {
  grid-column: var(--grid-col) / span var(--grid-w);
  grid-row: var(--grid-row) / span var(--grid-h);
}

.home-grid-item {
  min-height: 0;
  min-width: 0;
  overflow: visible;
  position: relative;
  touch-action: none;
}

.home-grid-icon {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  display: grid;
  gap: 6px;
  grid-template-rows: var(--home-icon-size) minmax(16px, auto);
  justify-items: center;
  padding: 3px 0 0;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.home-grid-icon:hover {
  text-decoration: none;
}

.home-grid-icon .home-app-icon,
.home-grid-icon .home-dock-icon,
.dashboard-page .home-dock-icon {
  border-radius: var(--home-icon-radius);
  overflow: hidden;
  width: var(--home-icon-size);
}

.home-grid-icon .home-app-icon,
.dashboard-page .home-dock-icon {
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(15, 255, 193, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.home-grid-icon .home-app-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.72rem, 3.05vw, 0.84rem);
  font-weight: 680;
  line-height: 1.08;
  max-width: min(92px, 100%);
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.66);
}

.home-grid-widget {
  overflow: visible;
}

.home-grid-widget > .home-widget {
  border-radius: clamp(20px, 6vw, 30px);
  height: 100%;
  min-height: 0;
  padding: clamp(12px, 3.4vw, 22px);
  width: 100%;
}

.home-grid-widget .home-widget-luma {
  align-items: center;
  gap: clamp(10px, 3vw, 20px);
  grid-template-columns: minmax(68px, 0.34fr) minmax(0, 1fr);
}

.home-grid-widget .luma-orb {
  max-width: 104px;
}

.home-grid-widget .luma-copy h1 {
  font-size: clamp(1.72rem, 7.2vw, 2.35rem);
  margin-bottom: 7px;
}

.home-grid-widget .luma-copy p {
  font-size: clamp(0.88rem, 3.5vw, 1.04rem);
}

.home-grid-widget .luma-actions {
  gap: 8px;
  margin-top: 13px;
}

.home-grid-widget .luma-actions a,
.home-grid-widget .luma-actions button {
  border-radius: 14px;
  font-size: 0;
  min-height: 38px;
  padding: 8px;
}

.home-grid-widget .luma-actions span {
  height: 22px;
  width: 22px;
}

.home-grid-widget .home-widget-studio,
.home-grid-widget .home-widget-motion,
.home-grid-widget .home-widget-feed {
  display: grid;
  gap: 9px;
}

.home-grid-widget .home-widget h2 {
  font-size: clamp(0.92rem, 4.1vw, 1.18rem);
  line-height: 1.08;
  margin: 0 0 4px;
}

.home-grid-widget .home-widget p {
  font-size: clamp(0.72rem, 3vw, 0.86rem);
  line-height: 1.25;
}

.home-grid-widget .widget-actions {
  gap: 7px;
}

.home-grid-widget .widget-actions a,
.home-grid-widget .widget-actions button {
  border-radius: 12px;
  font-size: 0.82rem;
  min-height: 34px;
  padding: 7px 10px;
}

.home-grid-widget .widget-wallpaper-preview {
  align-self: stretch;
  height: auto;
  min-height: 44px;
}

.home-grid-widget .feed-mosaic {
  gap: 5px;
}

.home-grid-widget .feed-mosaic span {
  border-radius: 10px;
  min-height: 30px;
}

.home-grid-widget .live-dot {
  font-size: 0.78rem;
}

.home-grid-drop-marker {
  align-self: stretch;
  background:
    linear-gradient(145deg, rgba(15, 255, 193, 0.13), rgba(8, 217, 255, 0.08)) padding-box,
    linear-gradient(135deg, rgba(96, 255, 231, 0.55), rgba(140, 244, 90, 0.22)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  box-shadow:
    0 0 26px rgba(15, 255, 193, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  justify-self: stretch;
  opacity: 0.82;
  pointer-events: none;
  z-index: 1;
}

.home-grid-drop-marker.is-swap {
  background:
    linear-gradient(145deg, rgba(140, 244, 90, 0.13), rgba(15, 255, 193, 0.12)) padding-box,
    linear-gradient(135deg, rgba(140, 244, 90, 0.55), rgba(96, 255, 231, 0.34)) border-box;
}

.home-screen.is-wiggle [data-home-grid-item] {
  animation: homeIconWiggle 150ms ease-in-out infinite alternate;
}

.home-screen.is-wiggle [data-home-grid-item]:nth-child(2n) {
  animation-delay: -70ms;
}

.home-screen.is-wiggle [data-home-grid-item].is-dragging {
  animation: none !important;
}

.home-screen.is-wiggle [data-home-grid-item].is-dragging::after {
  opacity: 0;
}

.home-screen.is-wiggle [data-home-grid-item].is-dragging .home-app-label {
  opacity: 0;
}

.home-screen.is-wiggle [data-home-grid-item]::after {
  align-items: center;
  background: rgba(4, 14, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.94);
  content: "-";
  display: flex;
  font-size: 1.15rem;
  font-weight: 760;
  height: 23px;
  justify-content: center;
  left: -8px;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: -8px;
  width: 23px;
  z-index: 8;
}

.home-grid-icon.is-dragging,
.home-grid-widget.is-dragging {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.home-grid-icon.is-dragging .home-app-icon,
.home-grid-widget.is-dragging .home-widget {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(15, 255, 193, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.dashboard-page [data-luma-home] .home-dock {
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: space-between;
  max-width: calc(100% - 28px);
  overflow: visible;
  padding: 12px 18px;
  width: min(448px, calc(100% - 28px));
}

.dashboard-page [data-luma-home] .home-dock-link {
  min-height: var(--home-icon-size);
  overflow: visible;
  width: auto;
}

@media (max-width: 390px) {
  body.dashboard-page {
    --home-icon-size: 60px;
    --home-grid-gap-x: 10px;
    --home-grid-gap-y: 9px;
  }

  .home-grid-widget .luma-actions {
    display: none;
  }
}

/* Home gesture polish, v12 */
.dashboard-page [data-luma-home] .home-page-dots {
  bottom: calc(env(safe-area-inset-bottom) + 120px);
  gap: 7px;
  z-index: 7;
}

.dashboard-page [data-luma-home] .home-page-dots button {
  height: 8px;
  width: 8px;
}

.dashboard-page [data-luma-home] .home-page-dots button.is-active {
  transform: scale(1.04);
}

@media (max-width: 390px) {
  .dashboard-page [data-luma-home] .home-page-dots {
    bottom: calc(env(safe-area-inset-bottom) + 107px);
  }
}
