/* Field-survey sheet: cool paper, graphite ink, the teal of the bedroom nightstand as the one accent. */
:root {
  --bg: #eef1f2; --surface: #ffffff; --sunk: #e4e9eb; --ink: #1c2326; --muted: #5b676d; --line: #d2d9dc;
  --accent: #2c6a70; --accent-soft: #d7e8e9; --on-accent: #ffffff; --ok: #2f7a4b; --warn: #a3651a; --danger: #b23b31;
  --font-display: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11171a; --surface: #182024; --sunk: #0d1214; --ink: #e5ebed; --muted: #94a3a9; --line: #29343a;
    --accent: #63a9ae; --accent-soft: #1d3638; --on-accent: #0b1416; --ok: #5fb17c; --warn: #d79a4c; --danger: #e0756b;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font-body); }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; padding-block: 20px 48px; display: grid; gap: 22px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 700; line-height: 1.05; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent); }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--muted); font-weight: 600; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
header { display: grid; gap: 8px; }
header .lede { color: var(--muted); max-width: 64ch; }
.nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; min-width: 0; }
.row-between { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
button { font: inherit; color: inherit; cursor: pointer; }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px 12px; font-size: 13.5px; }
.btn:hover { border-color: var(--accent); }
.btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }
.btn:disabled { opacity: 0.5; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hint { color: var(--muted); font-size: 13px; }
input[type="text"], input[type="password"], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
textarea { min-height: 72px; resize: vertical; font-family: var(--font-mono); font-size: 13.5px; }
label.field { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
[hidden] { display: none !important; }
