
    :root {
      --bg: #F6F9F8;
      --surface: #FFFFFF;
      --surface-alt: #EEF4F2;
      --text: #0F172A;
      --text-muted: #64748B;
      --border: #E2E8F0;
      --border-soft: #F1F5F9;
      --tint-green: #ECFDF5;
      --tint-green-border: #CBE7DC;
    }
    [data-theme="dark"] {
      --bg: #090D16;
      --surface: #111827;
      --surface-alt: #1E293B;
      --text: #F8FAFC;
      --text-muted: #94A3B8;
      --border: rgba(148, 163, 184, 0.16);
      --border-soft: rgba(148, 163, 184, 0.08);
      --tint-green: rgba(52, 211, 153, 0.12);
      --tint-green-border: rgba(52, 211, 153, 0.26);
    }
    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      margin: 0;
      overflow-x: hidden;
    }
    h1, h2, h3, h4, .font-display {
      font-family: 'Manrope', sans-serif;
      letter-spacing: -0.03em;
    }
    .basa-mark { border-radius: 14px 14px 14px 4px; }
    .basa-mark-sm { border-radius: 12px 12px 12px 4px; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
  
/* Opaque navigation surfaces: page content must never show through. */
body > header, #idMobileBottomNav {
  background-color: var(--surface);
  opacity: 1;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
#idMobileBottomNav {
  height: calc(66px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  isolation: isolate;
}
@media (max-width: 1023px) {
  body:has(#idMobileBottomNav:not(.hidden)) {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }
  #appContainer { padding-bottom: 24px; }
  #toastBanner { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}

:root{color-scheme:only light}html[data-theme="dark"]{color-scheme:dark}
