:root {
  --bg: #070a10; --bg2: #0a0f18; --panel: rgba(12, 17, 26, .86); --panel-solid: #0c111a; --raised: #111826;
  --line: #1e2838; --line-strong: #2b3a50;
  --text: #d9dee8; --muted: #8190a5; --faint: #566378;
  --amber: #d3a85f; --amber-dim: #8d7140; --teal: #6fa7a3; --teal-dim: #3c6360;
  --ok: #7fb893; --warn: #dd9a52; --bad: #d46b6b; --info: #7ba4c9; --violet: #a395c9;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --scale: 1; --radius: 3px;
}
* { box-sizing: border-box; }
html { font-size: calc(15px * var(--scale)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; min-height: 100vh; overflow-x: hidden;
  background-image: radial-gradient(ellipse 60% 50% at 78% -10%, rgba(80, 110, 150, .16), transparent 70%), radial-gradient(ellipse 50% 40% at 6% 105%, rgba(150, 110, 60, .09), transparent 70%); background-attachment: fixed; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .75; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; margin: 0; }
h2 { font-size: 1.5rem; } h3 { font-size: 1.1rem; }
p { margin: 0 0 .7em; }
a { color: var(--teal); }
button, select, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(211, 168, 95, .35); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.ok { color: var(--ok); } .warn { color: var(--warn); } .bad { color: var(--bad); } .info { color: var(--info); } .amber { color: var(--amber); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
html { scrollbar-width: thin; scrollbar-color: #2b3a50 transparent; }
