:root {
  color-scheme: light;
  --ink: #142823;
  --muted: #536761;
  --line: #d8e2dc;
  --surface: #fff;
  --accent: #0c6352;
  --accent-light: #e8f5ed;
  --radius: 15px;
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f4f7f4;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1,h2,h3,p { margin: 0 0 .55rem; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.03; letter-spacing: -.065em; margin-bottom: .9rem; }
h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 1.05rem; line-height: 1.3; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border-radius: 9px; padding: .6rem .85rem; border: 1px solid var(--line); background: #fff; font-weight: 650; }
button:hover { background: #edf3ef; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #af631d; outline-offset: 3px; }
input, select, textarea { min-width: 0; max-width: 100%; border: 1px solid #cbd8d1; background: #fff; border-radius: 8px; padding: .62rem .72rem; }
textarea { resize: vertical; min-height: 5rem; }
input[type=checkbox] { accent-color: var(--accent); }
label { font-weight: 600; }
legend { font-weight: 650; }
fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
small,.muted { color: var(--muted); }
.container { width: min(1180px, calc(100% - 2.4rem)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .intro, .survey-bar, .actions, footer { display: flex; align-items: center; gap: .9rem; }
.header-inner, .intro, footer { justify-content: space-between; }
.header-inner { min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 760; text-decoration: none; color: var(--ink); }
.brand small { display: block; font-weight: 500; font-size: .75rem; }
.brand-mark { display: grid; place-items: center; width: 41px; aspect-ratio: 1; color: #fff; background: #124a40; border-radius: 12px; }
.brand-mark svg { width: 28px; height: 28px; }
.private { color: #245647; padding: .25rem .65rem; background: var(--accent-light); border: 1px solid #cce3d7; border-radius: 99px; font-size: .77rem; white-space: nowrap; }
.private span { display: inline-block; width: .48rem; height: .48rem; background: #13745d; border-radius: 50%; margin-right: .2rem; }
.intro { padding: 2.25rem 0 1.5rem; }
.eyebrow { font-size: .77rem; font-weight: 750; letter-spacing: .12em; color: #285d50; }
.lede { max-width: 58ch; color: var(--muted); }
.primary { color: #fff; background: var(--accent); border-color: var(--accent); white-space: nowrap; }
.primary:hover { background: #094e41; }
.survey-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; }
.survey-bar select { width: min(100%, 430px); }
.version { color: var(--muted); font-size: .82rem; white-space: nowrap; }
nav { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin: .55rem 0 1rem; overflow-x: auto; }
nav button { color: var(--muted); border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; white-space: nowrap; }
nav button[aria-current] { color: #074a3d; border-bottom-color: #0e765f; }
.status { padding: .7rem .9rem; margin-bottom: .8rem; color: #175444; background: #e7f4ec; border-radius: 9px; }
.status.error { background: #fbede4; color: #782f1a; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(.9rem, 2vw, 1.4rem); margin-bottom: .85rem; }
.narrow { max-width: 800px; }
.actions { flex-wrap: wrap; margin: .9rem 0 .15rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field > input, .field > select, .field > textarea { width: 100%; }
.response-field { padding: .85rem 0; border-top: 1px solid var(--line); }
.response-field legend { float: left; width: 100%; margin-bottom: .4rem; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .35rem .75rem; clear: both; }
.options label, .checks label { display: flex; align-items: flex-start; gap: .42rem; font-weight: 500; padding: .2rem 0; }
.options input, .checks input { margin-top: .38rem; flex: none; }
.question { margin: .8rem 0; padding: .85rem; border: 1px solid var(--line); border-radius: 10px; }
.question-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.question .field:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; }
.records-table { width: 100%; border-collapse: collapse; }
.records-table th,.records-table td { padding: .66rem .45rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.records-table th { font-size: .82rem; color: var(--muted); }
.record-note { border-left: 3px solid #a55e20; background: #faf2e9; padding: .75rem; margin-bottom: 1rem; border-radius: 7px; }
.record-note ul { margin: .4rem 0 .1rem; padding-left: 1.2rem; overflow-wrap: anywhere; }
.tag { font-size: .82rem; color: #6b3d16; background: #faecdd; border-radius: 6px; padding: .15rem .35rem; }
.link { border: 0; padding: .18rem 0; color: var(--accent); text-decoration: underline; background: transparent; }
footer { margin: 1.7rem 0 1.3rem; color: var(--muted); font-size: .82rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: .5rem; z-index: 2; background: white; padding: .5rem; }
@media (max-width: 660px) {
  .container { width: calc(100% - 1.3rem); }
  .intro { align-items: flex-start; flex-direction: column; padding-top: 1.5rem; }
  .survey-bar { display: grid; grid-template-columns: 1fr auto; gap: .4rem; }
  .survey-bar select { grid-row: 2; grid-column: 1 / -1; width: 100%; }
  .version { grid-column: 2; }
  nav button { padding-inline: .53rem; font-size: .89rem; }
}
