/* Shared styles for the survey and password reset pages. */
:root {
  --ground: #f3f1ee;
  --panel: #ffffff;
  --ink: #141312;
  --ink-soft: #4a4642;
  --line: #d9d4ce;
  --orange: #e8741a;
  --orange-text: #b8560c;
  --hero-bg: #ebe6df;
  --hero-fg: #141312;
  --hero-dim: #5f5a54;
  --hero-line: #d2cbc2;
  --go: #2fae5c;
  --hot: #e0372b;
  --font-display: "Big Shoulders Stencil Display", "Impact", "Arial Narrow", sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #171615; --panel: #201e1c; --ink: #f1ede8; --ink-soft: #b3aca4; --line: #37332f;
    --orange: #f0852e; --orange-text: #f39a4e; --hero-bg: #0d0c0b; --hero-fg: #f3f1ee; --hero-dim: #9a938b; --hero-line: #3a3633;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #171615; --panel: #201e1c; --ink: #f1ede8; --ink-soft: #b3aca4; --line: #37332f;
  --orange: #f0852e; --orange-text: #f39a4e; --hero-bg: #0d0c0b; --hero-fg: #f3f1ee; --hero-dim: #9a938b; --hero-line: #3a3633;
  color-scheme: dark;
}


:root { --ok: #1f8a48; --warn: #b3261e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ok: #4cc47a; --warn: #f2786c; } }
:root[data-theme="dark"] { --ok: #4cc47a; --warn: #f2786c; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.top { background: var(--hero-bg); color: var(--hero-fg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; letter-spacing: .02em; text-decoration: none; color: inherit; line-height: 1; }
.brand span { color: var(--orange); }
.top a.back { color: var(--hero-dim); font-size: .9rem; }
.top .tr { display: flex; align-items: center; gap: 14px; }
.top { border-bottom: 1px solid var(--hero-line); }
.theme-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--hero-line); border-radius: 2px; background: transparent; color: var(--hero-fg); cursor: pointer; padding: 0; }
.theme-btn:hover { border-color: var(--orange); color: var(--orange); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

.wrap { max-width: 760px; margin-inline: auto; padding-inline: 20px; }
main.wrap { padding-block: 40px 72px; }
.eyebrow { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-text); margin: 0; }
h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 7vw, 3.6rem); line-height: .95; margin: 10px 0 0; text-wrap: balance; }
.lede { color: var(--ink-soft); margin: 16px 0 0; font-size: 1.08rem; }
.q { border: 0; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.q legend, .q > label.ql { font-family: var(--font-cond); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; padding: 0; margin-bottom: 4px; }
.req { color: var(--orange-text); font-family: var(--font-mono); font-size: .72rem; font-weight: 400; text-transform: uppercase; margin-left: 6px; letter-spacing: .06em; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: -4px 0 2px; font-weight: 400; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); padding: 9px 13px; border-radius: 2px; cursor: pointer; font-size: .95rem; }
.opts label:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.opts input { accent-color: var(--orange); margin: 0; }
.tin { padding: 11px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--panel); width: 100%; }
.tin:focus { border-color: var(--orange); outline: none; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.f { display: grid; gap: 6px; } .f label { font-size: .88rem; font-weight: 600; }
.btn { display: inline-block; font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; padding: 14px 22px; border: 2px solid var(--orange); background: var(--orange); color: #141312; border-radius: 2px; cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
.msg { font-size: .95rem; margin: 0; min-height: 1.3em; } .msg.err { color: var(--warn); } .msg.ok { color: var(--ok); }
.submit { display: grid; gap: 14px; padding-top: 26px; }
.done { margin-top: 32px; padding: 26px; background: var(--panel); border: 2px solid var(--orange); display: grid; gap: 12px; }
.done h2 { margin: 0; font-family: var(--font-cond); text-transform: uppercase; font-size: 1.6rem; }
.done p { margin: 0; }
.captcha-box { min-height: 65px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: 3px; }
