:root {
  color-scheme: light;
  --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%;
  min-height: 100svh;
  overflow: hidden;
  overscroll-behavior: none;
  width: 100%;
}

body.login-page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  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;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  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;
}

.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;
}
