/* Shared CSP palette from Base; typography matches Base and F1. */
:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --panel: #ffffff;
  --card: #ffffff;
  --ink: #18202a;
  --muted: #596579;
  --line: #d8dee7;
  --accent: #0066a4;
  --accent-2: #50b948;
  --deep-blue: #003e7e;
  --deep-green: #2c9444;
  --blue-soft: #e8f3fa;
  --green-soft: #edf8ea;
  --ok: #23753a;
  --bad: #b42318;
  --shadow: 0 8px 28px rgba(24, 32, 42, .06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
h1, h2, h3 { color: var(--deep-blue); line-height: 1.2; letter-spacing: -.025em; }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, .button { font-weight: 600; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:not(:disabled):hover, .button:hover { filter: brightness(.94); }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input { color: var(--ink); background: var(--panel); }
input[type="checkbox"] { accent-color: var(--accent); }
input::placeholder { color: #6b7280; opacity: 1; }
.secondary { background: #f0f4f8; color: var(--deep-blue); }
