:root { --fg: #1d2330; --muted: #5b6475; --line: #d6dbe4; --bg: #f5f7fa; --card: #fff; --accent: #0b5cad; --err: #b42318; --ok: #067647; --warn: #8a5a00; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.45 system-ui, sans-serif; color: var(--fg); background: var(--bg); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: var(--accent); }
.top .brand { color: #fff; font-weight: 600; text-decoration: none; }
main { max-width: 64rem; margin: 0 auto; padding: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.narrow { max-width: 24rem; margin: 3rem auto; }
h1 { font-size: 1.4rem; margin: 0.25rem 0 0.5rem; }
h2 { font-size: 1.1rem; margin: 1rem 0 0.5rem; }
label { display: block; margin: 0.5rem 0; font-weight: 500; }
input, select, textarea { display: block; width: 100%; margin-top: 0.25rem; padding: 0.45rem 0.55rem; font: inherit; border: 1px solid var(--line); border-radius: 6px; }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 6px; margin: 1rem 0; padding: 0.5rem 1rem 1rem; }
legend { font-weight: 600; padding: 0 0.25rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 0 1rem; }
/* Each question beside its own notes box. */
.grid.pairs { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
@media (min-width: 48rem) { .grid.pairs { grid-template-columns: 1fr 1fr; } }
button { margin-top: 0.75rem; padding: 0.55rem 1.1rem; font: inherit; color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer; }
button.link { margin: 0; padding: 0; background: none; color: #fff; text-decoration: underline; }
.search { display: flex; gap: 0.75rem; align-items: end; }
.search label { flex: 1; }
.results { padding-left: 1.2rem; }
.muted { color: var(--muted); font-weight: 400; }
.req, .field-error, .error { color: var(--err); }
.field-error { display: block; font-weight: 400; font-size: 0.9rem; }
.error, .success, .warning, .banner, .team { padding: 0.6rem 0.8rem; border-radius: 6px; }
.error { background: #fef3f2; }
.success { background: #ecfdf3; color: var(--ok); }
.warning, .banner { background: #fffaeb; color: var(--warn); }
.team { background: var(--card); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
details summary { cursor: pointer; color: var(--accent); margin: 0.5rem 0; }
