:root {
  /* Blue Lantern palette (blulantern.com): navy #0C134F, royal #1D267D, sky #7BC9FF, dark navy surfaces */
  --bg: #0a0e1f;
  --bg-glow: radial-gradient(1200px 600px at 15% -10%, rgba(29, 38, 125, .55), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(12, 19, 79, .7), transparent 65%);
  --surface: rgba(15, 20, 41, 0.92);
  --surface-2: #141a36;
  --surface-3: #1c2350;
  --line: #262f5e;
  --text: #e8eaff;
  --muted: #9aa3c7;
  --accent: #7bc9ff;
  --accent-ink: #0c134f;
  --accent-soft: rgba(123, 201, 255, .16);
  --shadow: rgba(4, 6, 22, .5);
  --ok: #4cc38a;
  --warn: #f2b33d;
  --bad: #ef6461;
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg-glow), var(--bg); background-attachment: fixed; color: var(--text); font: 13px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
[hidden] { display: none !important; } /* the hidden attribute wins over component display rules (.btn, .row, ...) */
.btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 7px 12px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: var(--surface-3); color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 4px 9px; font-size: 12px; }
.link { background: none; border: 0; color: var(--accent); padding: 4px 0; text-decoration: underline; text-underline-offset: 2px; }
select, input[type="text"], input[type="number"], textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; min-width: 0;
}
.badge { display: inline-block; min-width: 34px; text-align: center; border-radius: 999px; padding: 0 6px; font: 600 11px/18px var(--mono); }
.badge-high { background: rgba(76, 195, 138, .16); color: var(--ok); }
.badge-mid { background: rgba(242, 179, 61, .16); color: var(--warn); }
.badge-low { background: rgba(239, 100, 97, .18); color: var(--bad); }
.badge-unknown { background: var(--surface-3); color: var(--muted); }
