/* Design tokens and global resets, ported verbatim from DESIGN.md / SatPortal.dc.html. */
:root {
  color-scheme: dark;
  --bg: #0B0F14; --grid: rgba(255,255,255,.022);
  --surface: #121821; --surface-2: #18202B; --surface-3: #1F2A37;
  --border: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.16);
  --text: #E7EDF3; --text-2: #9AA8B8; --text-3: #5F6C7D;
  --accent: #37D7C4; --accent-ink: #04231F; --accent-soft: rgba(55,215,196,.13);
  --blue: #5AA9FF; --green: #43C766; --amber: #E6A52A; --red: #FB6A60; --violet: #C39BFF;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 30px -18px rgba(0,0,0,.7);
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #EDF1F6; --grid: rgba(8,22,40,.035);
  --surface: #FFFFFF; --surface-2: #F6F9FC; --surface-3: #EBF0F6;
  --border: rgba(12,26,44,.10); --border-strong: rgba(12,26,44,.20);
  --text: #0E151D; --text-2: #52606E; --text-3: #8492A1;
  --accent: #0C9D8C; --accent-ink: #FFFFFF; --accent-soft: rgba(12,157,140,.10);
  --blue: #2563EB; --green: #1A8F3C; --amber: #B4710A; --red: #D5342B; --violet: #7C49E0;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 28px -18px rgba(16,24,40,.22);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.82); } }
@keyframes flow { to { background-position: 200% 0; } }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }
input, select, button, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* Hover helpers (the design uses inline style-hover; here as small utilities). */
.nav-item:hover { background: var(--surface-3) !important; }
.row:hover { background: var(--surface-2); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }
.mono { font-family: 'IBM Plex Mono', monospace; }
