/* Mr Wizard. Layout: sticky top bar (brand + search + space pill), one narrow column, fixed bottom tab bar
   (4 tabs) inside a space. Shell = navy/teal/gold on warm paper; each client space swaps in ONE accent
   (--accent*) for its primary buttons, chosen answers, dots and progress.
   Rules from the 2026-10-28 redesign: borders only on tappable things (1px, 12% alpha), no boxes inside
   boxes, chips become plain text with a 6px accent dot, composers sit at the bottom. */
/* Self-hosted static instances (Latin subset), so every engine renders the same weights. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/outfit-700.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/outfit-800.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/worksans-400.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/worksans-600.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/worksans-700.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibmplexmono-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibmplexmono-600.woff2) format("woff2"); }
:root {
  --bg: #f7f3ec; --surface: #ffffff; --surface-2: #f1ece2; --fg: #0a1a42; --muted: #5a6279;
  --teal: #00bed4; --teal-text: #006f82; --gold: #fdcc49; --gold-text: #8a6400; --navy: #031645;
  --danger: #b4231f; --ok: #1d7a46;
  --accent: var(--sp-accent, var(--teal)); --accent-ink: var(--sp-ink, #06202a); --accent-text: var(--sp-text-l, var(--teal-text));
  --tap: color-mix(in srgb, var(--fg) 12%, transparent);       /* the one border: tappable things only */
  --hair: color-mix(in srgb, var(--fg) 8%, transparent);       /* dividers inside a list */
  --field: color-mix(in srgb, var(--fg) 18%, transparent);
  --pick: color-mix(in srgb, var(--accent) 12%, var(--surface));
  --pick-line: var(--accent);
  --m-cone: #00bed4; --m-brim: #0890b8; --m-gold: #f2bd34;
  --display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 12px;
  --nav-h: 62px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000f38; --surface: #071a4a; --surface-2: #0b2259; --fg: #eef1f8; --muted: #a3acc6;
    --teal-text: #4fdbec; --gold-text: #fdcc49; --danger: #ff8a86; --ok: #6fd69b;
    --m-gold: #fdcc49;
    --accent-text: var(--sp-text-d, var(--teal-text));
    --tap: color-mix(in srgb, var(--fg) 13%, transparent); --hair: color-mix(in srgb, var(--fg) 9%, transparent);
    --pick: color-mix(in srgb, var(--accent) 16%, var(--surface));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000f38; --surface: #071a4a; --surface-2: #0b2259; --fg: #eef1f8; --muted: #a3acc6;
  --teal-text: #4fdbec; --gold-text: #fdcc49; --danger: #ff8a86; --ok: #6fd69b;
  --m-gold: #fdcc49;
  --accent-text: var(--sp-text-d, var(--teal-text));
  --tap: color-mix(in srgb, var(--fg) 13%, transparent); --hair: color-mix(in srgb, var(--fg) 9%, transparent);
  --pick: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.5; min-height: 100dvh; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.boot { min-height: 100dvh; display: grid; place-items: center; }
.boot-mark { width: 72px; height: 72px; opacity: .9; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--hair);
  padding: calc(8px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.top-in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 8px; min-height: 40px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg); min-width: 0; }
.brand svg { width: 32px; height: 32px; flex: none; }
.word { font-family: var(--display); font-weight: 800; letter-spacing: .01em; font-size: 18px; line-height: 1; white-space: nowrap; }
.word b { color: var(--gold-text); font-weight: 800; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .word b { color: var(--gold); } }
:root[data-theme="dark"] .word b { color: var(--gold); }
.top .spacer { flex: 1; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--fg); flex: none; text-decoration: none; }
.iconbtn svg { width: 21px; height: 21px; }
.iconbtn:hover { background: var(--surface-2); }
.switch { display: inline-flex; align-items: center; gap: 8px; max-width: 46vw; border: 1px solid var(--tap); background: var(--surface); padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.switch .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.switch .sw-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.switch .caret { font-size: 10px; color: var(--muted); }
@media (max-width: 380px) { .word { font-size: 16px; } .brand svg { width: 28px; height: 28px; } }

.menu { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--surface); border: 1px solid var(--tap); box-shadow: 0 16px 48px rgb(0 0 0 / .18); min-width: 250px; max-width: calc(100vw - 32px); padding: 6px; border-radius: 14px; }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; color: var(--fg); background: none; border: 0; text-align: left; border-radius: 9px; font-weight: 500; }
.menu a:hover, .menu button:hover, .menu .on { background: var(--surface-2); }
.menu .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.menu hr { border: 0; border-top: 1px solid var(--hair); margin: 6px 0; }
.menu small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- page ---------- */
.wrap { max-width: 720px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(var(--nav-h) + 36px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.wrap.nonav { padding-bottom: 60px; }
.wrap.has-bar { padding-bottom: calc(var(--nav-h) + 120px + env(safe-area-inset-bottom, 0px)); }
.hi { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1.08; margin: 0 0 2px; letter-spacing: -.005em; text-wrap: balance; }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 14px; }
.pt { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; margin: 0; }
.lede { margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.eyebrow { font-family: var(--mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; color: var(--muted); margin: 0 0 8px; }
.lbl { font-family: var(--mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 20px 0 8px; display: flex; align-items: center; gap: 8px; }
.lbl .n { font-weight: 500; color: var(--muted); opacity: .8; }
.sec { font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--fg); margin: 12px 2px 6px; }
.quiet { color: var(--muted); font-size: 15px; margin: 0; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.fl { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; white-space: nowrap; }
.fl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow .fl { font-family: var(--mono); letter-spacing: .1em; }
.meta-line { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { color: var(--muted); display: grid; place-items: center; flex: none; }
.chev svg { width: 18px; height: 18px; }

/* lists: one bordered container per group, hairlines between rows (rows are the tap targets) */
.list { background: var(--surface); border: 1px solid var(--tap); border-radius: var(--radius); overflow: hidden; }
.list > * + * { border-top: 1px solid var(--hair); }
.qi, .line, .sp, .act, .result { display: flex; text-decoration: none; color: var(--fg); }
.qi { flex-direction: column; gap: 3px; padding: 12px 16px; min-height: 56px; justify-content: center; }
.qi .qt { font-weight: 600; font-size: 16px; line-height: 1.35; }
.qi:hover, .line:hover, .sp:hover, .act:hover, .result:hover { background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.line { align-items: center; gap: 12px; padding: 8px 12px 8px 16px; min-height: 50px; }
.line .li { width: 22px; color: var(--accent-text); flex: none; display: grid; }
.line .li svg { width: 22px; height: 22px; }
.line .lt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.line .ll { font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.line .ls { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 30%, transparent); }
.result { flex-direction: column; gap: 2px; padding: 12px 16px; }
.result span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
mark { background: color-mix(in srgb, var(--gold) 45%, transparent); color: inherit; padding: 0 1px; }

/* desk hero */
.hero { margin: 12px 0 12px; padding: 16px 16px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--tap); display: grid; gap: 2px; }
.hero-n { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; margin: 0; }
.hero-s { margin: 0; color: var(--muted); font-size: 15px; }
.hero .btn.big { margin-top: 10px; width: 100%; min-height: 52px; }
.quiet-hero { background: none; border: 0; padding: 8px 2px; }
.small-n { font-size: 22px; }
.done-list { margin-top: 18px; }
.done-list summary, details.more summary, details.hist summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 2px; list-style-position: inside; }
.done-list[open] summary { margin-bottom: 6px; }
.addline { margin: 22px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 0; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; letter-spacing: .02em; font-size: 17px; padding: 10px 20px; border-radius: 10px; min-height: 46px; }
.btn.big { min-height: 56px; font-size: 18px; border-radius: 12px; }
.btn.shell { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.shell { background: var(--teal); color: #031645; } }
:root[data-theme="dark"] .btn.shell { background: var(--teal); color: #031645; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--tap); font-family: var(--body); letter-spacing: 0; font-weight: 600; font-size: 15px; }
.btn.small { font-size: 14px; min-height: 38px; padding: 7px 14px; border-radius: 9px; }
.btn.danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--accent-text); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.quiet-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; }
.quiet-link:hover { color: var(--fg); }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tap); background: var(--surface); display: grid; place-items: center; flex: none; padding: 0; color: var(--fg); }
.round svg { width: 20px; height: 20px; }
.round.send { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* banner: one line (install hint, push offer) */
.banner { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 10px; margin: 12px 0 4px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.banner img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.banner .bi { width: 28px; height: 28px; display: grid; place-items: center; color: var(--gold-text); flex: none; }
.banner .bi svg { width: 20px; height: 20px; }
.banner .bt { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.banner .linkbtn { flex: none; color: var(--fg); }
.banner .x { flex: none; width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); }
.banner-how { margin: 6px 4px 10px; font-size: 14px; color: var(--muted); }
svg.share { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; }

/* ---------- answer mode ---------- */
.atop { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: env(safe-area-inset-top, 0px); }
.atop-in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.prog { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.prog strong { color: var(--fg); font-weight: 600; }
.atop-sp { flex: 1; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; }
.atop-sp .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.exit { color: var(--fg); text-decoration: none; padding: 8px 2px; }
.pbar { height: 3px; background: var(--hair); }
.pbar i { display: block; height: 100%; background: var(--accent); transition: width .3s ease; }
.wrap.answer { padding-top: 22px; padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
.q { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.22; margin: 0 0 8px; letter-spacing: -.005em; text-wrap: pretty; }
.big-q { font-size: 28px; }
@media (max-width: 380px) { .big-q { font-size: 25px; } }
.why { margin: 0 0 6px; color: var(--muted); font-size: 15.5px; overflow-wrap: anywhere; }
.why a { color: var(--accent-text); }
.aform { margin-top: 18px; display: grid; gap: 12px; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; min-height: 56px; padding: 12px 16px; border: 1px solid var(--tap); background: var(--surface); border-radius: var(--radius); cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .ck { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--field); display: grid; place-items: center; }
.choice:has(input:checked) { background: var(--pick); border-color: var(--pick-line); box-shadow: inset 0 0 0 1px var(--pick-line); }
.choice:has(input:checked) .ck { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice .ct { display: grid; gap: 1px; }
.choice .cl { font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.choice small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.recd { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.note { justify-self: start; }
.abar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.abar-in, .abar-sub { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.abar-in .go { flex: 1; min-width: 0; }
.abar-in .round { width: 56px; height: 56px; border-radius: 12px; }
.go .cl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abar-sub { justify-content: space-between; padding-top: 6px; }
.abar-sub .btn.ghost { border: 0; padding-left: 4px; color: var(--muted); }
.abar-sub .linkbtn { color: var(--muted); }
.summary { text-align: center; display: grid; justify-items: center; gap: 4px; padding-top: 34px; }
.sum-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 10px; }
.sum-mark svg { width: 34px; height: 34px; }
.summary .hi { font-size: 34px; }
.sum-line { font-size: 18px; font-weight: 600; margin: 0; }
.sum-actions { width: 100%; max-width: 380px; margin-top: 20px; }
.summary .banner { width: 100%; max-width: 420px; margin-top: 18px; text-align: left; }

/* ---------- item detail ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.status-line { margin: 10px 0 14px; font-size: 14.5px; color: var(--fg); font-weight: 500; }
.note { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.ans-block { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; margin: 4px 0 16px; display: grid; justify-items: start; gap: 2px; }
.answer-t { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.confirm-row { margin: 4px 0 18px; }
.confirm-row .btn.big { flex: 1; max-width: 320px; }
.aform-inline { margin: 6px 0 18px; }
details.more { margin: 8px 0 0; border-top: 1px solid var(--hair); padding-top: 4px; }
details.hist { margin: 0 0 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--tap); background: var(--surface); padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* forms */
label.field { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
label.field span { color: var(--muted); font-weight: 500; }
input[type=text], input[type=url], input[type=date], input[type=time], input[type=password], input[type=search], select, textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--field); padding: 12px 14px; border-radius: 10px; font-size: 16px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; cursor: pointer; }
.opt input { margin-top: 3px; accent-color: var(--accent); width: 19px; height: 19px; }
.opt small { display: block; color: var(--muted); font-size: 13px; }
.sect { margin-top: 8px; }
.sect .lbl { margin-top: 20px; }
.status-msg { font-size: 14px; color: var(--muted); margin: 0; }
.status-msg:empty { display: none; }
.status-msg.err { color: var(--danger); font-weight: 600; }
.status-msg.ok { color: var(--ok); font-weight: 600; }
.text { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; }
.text a { color: var(--accent-text); overflow-wrap: anywhere; }

/* composer: field + paperclip + send, everywhere */
.composer { display: grid; gap: 6px; margin-top: 12px; }
.composer-in { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: end; }
.composer textarea, .chatbar textarea { min-height: 44px; max-height: 160px; padding: 10px 14px; border-radius: 22px; resize: none; line-height: 1.4; }

/* threads */
.thread { display: grid; gap: 14px; }
.post { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.post-b { min-width: 0; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12.5px; background: var(--surface-2); color: var(--fg); }
.av.aaron { background: var(--navy); color: #fff; }
.av.claude { background: color-mix(in srgb, var(--gold) 35%, var(--surface)); }
.av.client { background: var(--accent); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .av.aaron { background: var(--teal); color: #031645; } }
:root[data-theme="dark"] .av.aaron { background: var(--teal); color: #031645; }
.who { font-weight: 700; font-size: 14px; }
.when { color: var(--muted); font-size: 12.5px; }
.edited { color: var(--muted); font-size: 12px; font-style: italic; }
.newline { display: flex; align-items: center; gap: 10px; color: var(--gold-text); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 10px; }
.newline::before, .newline::after { content: ""; height: 1px; background: var(--gold); flex: 1; }
.update { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.update:first-of-type { padding-top: 4px; }
.update .link { font-weight: 600; overflow-wrap: anywhere; }
.update .comments { display: grid; gap: 10px; margin-left: 42px; padding-left: 12px; border-left: 2px solid var(--hair); }
.update .composer, .update .cm-open { margin-left: 42px; justify-self: start; }
.update .composer { justify-self: stretch; margin-top: 2px; }

/* messages */
.chat { display: grid; gap: 6px; padding-bottom: 8px; }
.day { text-align: center; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 12px 0 4px; }
.bubble-row { display: flex; flex-direction: column; align-items: flex-start; }
.bubble-row.me { align-items: flex-end; }
.bubble { max-width: min(82%, 540px); background: var(--surface); border: 1px solid var(--hair); padding: 8px 13px; border-radius: 18px 18px 18px 6px; }
.me .bubble { background: var(--navy); color: #fff; border-color: transparent; border-radius: 18px 18px 6px 18px; }
.me .bubble a { color: #9fe7f0; }
.me .bubble a.inline-file { color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .me .bubble { background: #1b3a6b; } }
:root[data-theme="dark"] .me .bubble { background: #1b3a6b; }
.bubble .text { margin: 0; }
.bubble-meta { font-size: 12px; color: var(--muted); margin: 3px 8px 6px; display: flex; gap: 8px; align-items: center; }
.chatbar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); z-index: 15; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair);
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); }
.chatbar-in { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: end; }
.chatbar .attach-chips { grid-column: 1 / -1; }

/* files */
.dropwrap.over { outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 12px; }
.dropzone { margin-top: 14px; padding: 14px; text-align: center; color: var(--muted); font-size: 13.5px; border: 1px dashed var(--field); border-radius: var(--radius); }
.queue { display: grid; gap: 8px; margin: 0 0 12px; }
.qrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; background: var(--surface); padding: 10px 12px; border-radius: 10px; }
.qrow .nm { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { grid-column: 1 / -1; height: 4px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.qrow.err .bar i { background: var(--danger); }
.files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .files { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.file { background: var(--surface); border: 1px solid var(--tap); border-radius: var(--radius); overflow: hidden; display: grid; text-align: left; padding: 0; color: var(--fg); }
.thumb { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; position: relative; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { display: grid; justify-items: center; gap: 4px; color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ph svg { width: 32px; height: 32px; color: var(--accent-text); }
.file .info { padding: 8px 10px 10px; display: grid; gap: 2px; min-width: 0; }
.file .nm { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .cap { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .by { font-size: 12px; color: var(--muted); }
.removed { font-size: 13px; color: var(--muted); padding: 6px 0; margin: 0; border-top: 1px solid var(--hair); }
.attach-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.achip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); padding: 4px 10px; border-radius: 999px; font-size: 13px; max-width: 100%; }
.achip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.achip button { border: 0; background: none; padding: 0 2px; font-size: 15px; line-height: 1; color: var(--muted); }
.inline-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.inline-file { display: grid; width: 112px; text-decoration: none; color: var(--fg); border: 1px solid var(--tap); border-radius: 10px; overflow: hidden; background: var(--surface); }
.inline-file .thumb { aspect-ratio: 1; }
.inline-file .nm { font-size: 12px; padding: 4px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* overlay viewer + confirm */
.overlay { position: fixed; inset: 0; z-index: 60; background: #030a1e; display: grid; grid-template-rows: auto 1fr auto; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); color: #fff; }
.ov-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.ov-top .nm { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-body { display: grid; place-items: center; overflow: auto; padding: 0 12px; min-height: 0; }
.ov-body img, .ov-body video { max-width: 100%; max-height: 100%; object-fit: contain; }
.ov-foot { background: var(--surface); color: var(--fg); padding: 14px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 10px; max-height: 50dvh; overflow: auto; border-radius: 16px 16px 0 0; }
.ov-foot-in { max-width: 720px; width: 100%; margin: 0 auto; display: grid; gap: 10px; }
.ov-close { background: rgb(255 255 255 / .14); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; }
.confirm { border: 1px solid var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); padding: 12px; border-radius: 10px; display: grid; gap: 10px; }

/* bottom nav: 4 tabs */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair); padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav-in { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--nav-h); padding: 0 max(4px, env(safe-area-inset-left, 0px)); }
.nav a { display: grid; justify-items: center; align-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600; position: relative; }
.nav a svg { width: 23px; height: 23px; }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"] svg { color: var(--accent-text); }
.nav .badge { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #031645; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; font-family: var(--mono); }

/* toast + offline */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; max-width: calc(100vw - 32px); box-shadow: 0 8px 30px rgb(0 0 0 / .25); }
body[data-mode="nav"] .toast { bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom, 0px)); }
body[data-mode="bar"] .toast { bottom: calc(var(--nav-h) + 84px + env(safe-area-inset-bottom, 0px)); }
body[data-mode="answer"] .toast { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
.offline { position: sticky; top: 0; z-index: 30; background: var(--danger); color: #fff; text-align: center; font-weight: 600; font-size: 14px; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; }

/* all spaces */
.postline { display: grid; grid-template-columns: minmax(0, 150px) 1fr auto; gap: 8px; align-items: center; margin: 0 0 6px; }
.postline select { padding: 11px 8px; font-weight: 600; font-size: 14px; }
.postline input { border-radius: 22px; }
@media (min-width: 600px) { .postline { grid-template-columns: 180px 1fr auto; } }
.sd { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cf { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; align-items: start; }
.cf > .sd { margin-top: 8px; }
.cf:not(:has(> .sd)) { grid-template-columns: 1fr; }
.cf-b { min-width: 0; display: grid; gap: 2px; }
.cf-t { font-weight: 700; font-size: 15.5px; color: var(--fg); text-decoration: none; }
.cf-a { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.cf-x { grid-column: -2 / -1; display: flex; gap: 8px; margin-top: 8px; }
.sp { align-items: center; gap: 12px; padding: 14px 14px 14px 16px; }
.sp-b { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sp-n { font-weight: 700; font-size: 16px; }
.sp-c { font-size: 14.5px; }
.act { gap: 12px; padding: 11px 16px; align-items: flex-start; }
.act > .sd { margin-top: 8px; }
.act > span:last-child { min-width: 0; display: grid; gap: 1px; }
.act-p { font-size: 14.5px; overflow-wrap: anywhere; }
@media (min-width: 600px) {
  .cf { grid-template-columns: auto 1fr auto; }
  .cf:not(:has(> .sd)) { grid-template-columns: 1fr auto; }
  .cf-x { grid-column: auto; margin-top: 0; align-self: center; }
}

/* ---------- sign in ---------- */
.signin { min-height: 100dvh; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-left, 0px)); position: relative; overflow: hidden;
  background: radial-gradient(120% 70% at 70% 0%, color-mix(in srgb, var(--teal) 14%, transparent), transparent 60%), var(--bg); }
.signin-in { width: 100%; max-width: 380px; display: grid; gap: 18px; position: relative; z-index: 1; }
.signin .lockup { display: grid; justify-items: center; gap: 10px; text-align: center; }
.signin .lockup svg { width: 108px; height: 108px; }
.signin .word { font-size: 40px; }
.owner { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.signin form { background: var(--surface); border: 1px solid var(--tap); padding: 18px; border-radius: 16px; display: grid; gap: 12px; box-shadow: 0 20px 60px rgb(3 22 69 / .08); }
.signin input { font-size: 20px; letter-spacing: .04em; text-align: center; font-family: var(--mono); }
.signin .btn { width: 100%; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars svg { position: absolute; color: var(--gold); opacity: .55; }
.stars svg:nth-child(3n) { color: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .stars svg { animation: twinkle 4.8s ease-in-out infinite; }
  .stars svg:nth-child(2n) { animation-duration: 6.2s; animation-delay: -2s; }
  .stars svg:nth-child(3n) { animation-duration: 7.4s; animation-delay: -4s; }
  .signin .lockup svg .tw { animation: twinkle 3.6s ease-in-out infinite; transform-origin: 54px 13px; }
  @keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); } 50% { opacity: .75; transform: scale(1) rotate(20deg); } }
  .choice, .btn, .qi, .line { transition: background .12s, border-color .12s, box-shadow .12s, transform .08s; }
  .btn:active, .choice:active { transform: scale(.985); }
  .wrap.answer { animation: slidein .22s ease-out; }
  @keyframes slidein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
}
@media (hover: none) { .desk-only { display: none; } }

/* ================= FORM VIEW (2026-10-28, Aaron: "use the look of the forms") =================
   Each client space wears the brand of the form Aaron sent that client: html[data-sp="movement"] (Pastor Chad:
   Oswald / Work Sans / Anonymous Pro, coral on warm paper) and html[data-sp="smr"] (Pastor Zach: Barlow Condensed /
   Manrope, neon on #f4f4ee). Any other space is "wizard" (navy / teal / gold); sign-in and All spaces are "shell". */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/oswald-500.woff2) format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/oswald-600.woff2) format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/oswald-700.woff2) format("woff2"); }
@font-face { font-family: "Anonymous Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/anonymouspro-400.woff2) format("woff2"); }
@font-face { font-family: "Anonymous Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/anonymouspro-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlowcondensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlowcondensed-800.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/barlowcondensed-900.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-400.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-600.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-800.woff2) format("woff2"); }

:root { --flag: var(--danger); --line: color-mix(in srgb, var(--fg) 14%, transparent); --shell-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif; }
:root[data-sp="wizard"] { --pick-line: var(--accent-text); }

:root[data-sp="movement"] {
  --bg: #f7f3f0; --surface: #ffffff; --surface-2: #f0e9e5; --fg: #141212; --muted: #625b58; --line: #e3dcd8;
  --accent: #f04d49; --accent-ink: #ffffff; --accent-text: #c8302c; --pick: #fde9e8; --pick-line: #c8302c; --flag: #b4231f;
  --tap: var(--line); --hair: var(--line); --field: var(--line);
  --display: "Oswald", "Arial Narrow", Impact, sans-serif; --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Anonymous Pro", ui-monospace, Menlo, Consolas, monospace;
}
:root[data-sp="smr"] {
  --bg: #f4f4ee; --surface: #ffffff; --surface-2: #eaeae2; --fg: #101111; --muted: #5b605e; --line: #d9dbd3;
  --accent: #b6ff00; --accent-ink: #101111; --accent-text: #4a6d00; --pick: #eef9cc; --pick-line: #6f9a00; --flag: #b42318;
  --tap: var(--line); --hair: var(--line); --field: var(--line);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Manrope", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root[data-sp="movement"]:not([data-theme="light"]) {
    --bg: #121010; --surface: #1d1a1a; --surface-2: #262222; --fg: #f5efec; --muted: #b0a6a2; --line: #332e2d;
    --accent-text: #ff7a76; --pick: #3a1d1c; --pick-line: #ff7a76; --flag: #ff8a86; color-scheme: dark;
  }
  :root[data-sp="smr"]:not([data-theme="light"]) {
    --bg: #101111; --surface: #1b1d1c; --surface-2: #242726; --fg: #f4f4ee; --muted: #a7aba6; --line: #2f3231;
    --accent-text: #b6ff00; --pick: #23300a; --pick-line: #b6ff00; --flag: #ff8a7a; color-scheme: dark;
  }
}
:root[data-theme="dark"][data-sp="movement"] {
  --bg: #121010; --surface: #1d1a1a; --surface-2: #262222; --fg: #f5efec; --muted: #b0a6a2; --line: #332e2d;
  --accent-text: #ff7a76; --pick: #3a1d1c; --pick-line: #ff7a76; --flag: #ff8a86; color-scheme: dark;
}
:root[data-theme="dark"][data-sp="smr"] {
  --bg: #101111; --surface: #1b1d1c; --surface-2: #242726; --fg: #f4f4ee; --muted: #a7aba6; --line: #2f3231;
  --accent-text: #b6ff00; --pick: #23300a; --pick-line: #b6ff00; --flag: #ff8a7a; color-scheme: dark;
}
/* the Mr Wizard shell (mark + wordmark) keeps its own type inside every space */
.word { font-family: var(--shell-display); }
.top { border-bottom-color: var(--line); }

/* --- poster header --- */
.wrap.formview { max-width: 700px; padding-top: 26px; padding-bottom: calc(var(--nav-h) + 150px + env(safe-area-inset-bottom, 0px)); }
.poster { display: grid; gap: 14px; margin-bottom: 18px; }
.poster .eyebrow { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--accent-text); margin: 0; }
:root[data-sp="smr"] .poster .eyebrow { justify-self: start; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: 15px; padding: 3px 10px; }
.poster h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 10vw, 68px); line-height: .95; margin: 0; text-wrap: balance; letter-spacing: 0; }
:root[data-sp="smr"] .poster h1 { font-weight: 900; font-size: clamp(44px, 11vw, 76px); line-height: .9; letter-spacing: -.01em; }
:root[data-sp="wizard"] .poster h1 { font-weight: 800; }
.poster .intro { margin: 0; color: var(--muted); max-width: 62ch; }
.poster .intro strong { color: var(--fg); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend .soon { margin-left: 0; }
.run-link { justify-self: start; }
.otools { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; }
:root[data-sp="movement"] .banner, :root[data-sp="smr"] .banner { border-radius: 0; }

/* --- sections --- */
.fh { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 26px; line-height: 1.1; margin: 36px 0 4px; }
.fsub { margin: 0 0 12px; color: var(--muted); font-size: 14px; border-bottom: 3px solid var(--accent); padding-bottom: 10px; }
:root[data-sp="smr"] .fh { font-weight: 800; letter-spacing: .04em; margin: 34px 0 12px; display: flex; align-items: center; gap: 10px; }
:root[data-sp="smr"] .fh::after { content: ""; flex: 1; height: 3px; background: var(--accent); }
:root[data-sp="smr"] .fsub { border-bottom: 0; padding-bottom: 0; margin-top: -4px; }
:root[data-sp="smr"] .fsub:empty { display: none; }
:root[data-sp="wizard"] .fh { font-weight: 800; }

/* --- question cards, exactly like the forms --- */
.fq { background: var(--surface); border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; margin-bottom: 12px; min-width: 0; }
.fq .ask { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
:root[data-sp="smr"] .fq .ask { font-weight: 800; }
.fq .why { margin: -6px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.fq .why a { color: var(--pick-line); word-break: break-all; }
.fq .why strong { color: var(--fg); }
.soon { display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--flag); border: 1px solid currentColor; padding: 0 5px; vertical-align: 2px; white-space: nowrap; line-height: 1.6; }
.rec { display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 1px 6px; vertical-align: 2px; border-radius: 0; line-height: 1.5; }
:root[data-sp="smr"] .rec, :root[data-sp="smr"] .soon { font-weight: 800; }
.fopts { display: grid; gap: 8px; }
.fo { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border: 1.5px solid var(--line); padding: 10px 12px; cursor: pointer; min-height: 46px; }
.fo:has(input:checked) { background: var(--pick); border-color: var(--pick-line); }
.fo input { margin: 4px 0 0; accent-color: var(--pick-line); width: 18px; height: 18px; }
.fo span { min-width: 0; overflow-wrap: anywhere; }
.fo small { display: block; color: var(--muted); font-size: 13px; }
.fo:focus-within { outline: 3px solid var(--pick-line); outline-offset: 2px; }
.fo:has(input:disabled) { cursor: default; }
.is-done .fo:not(:has(input:checked)) { display: none; }   /* a confirmed card keeps only the chosen answer */
.frow { display: flex; gap: 8px; align-items: flex-start; }
.frow input, .frow textarea { flex: 1; min-width: 0; background: var(--bg); border: 1.5px solid var(--line); border-radius: 0; padding: 10px 12px; font-size: 16px; }
.frow textarea { min-height: 76px; }
.frow input:focus, .frow textarea:focus { outline: 3px solid var(--pick-line); outline-offset: 2px; border-color: var(--line); }
.mini { flex: none; background: transparent; color: var(--fg); border: 1.5px solid var(--line); padding: 8px 12px; font-weight: 600; font-size: 14px; min-height: 44px; cursor: pointer; }
.mini.go { background: var(--accent); color: var(--accent-ink); border-color: transparent; display: inline-flex; gap: 6px; align-items: center; min-height: 34px; padding: 5px 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.mini svg { width: 15px; height: 15px; }
.mini-link { background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mini-link:hover { color: var(--fg); }
.qf { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.qs { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; min-height: 22px; }
.qs svg { width: 15px; height: 15px; flex: none; }
.qs.ok { color: var(--pick-line); font-weight: 600; }
.qs.err { color: var(--flag); font-weight: 600; flex-wrap: wrap; }
.qs.saving { font-style: italic; }
.qx { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; }
.qthread { display: grid; gap: 12px; border-left: 2px solid var(--line); padding-left: 12px; }
.qthread .composer { margin-top: 0; }
.dlink { font-weight: 600; color: var(--pick-line); overflow-wrap: anywhere; justify-self: start; }
.stage { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 0 6px; border: 1px solid var(--line); color: var(--muted); vertical-align: 2px; white-space: nowrap; line-height: 1.6; }
.stage.st-ready { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.stage.st-delivered { color: var(--pick-line); border-color: currentColor; }
.status-line .stage { margin-left: 0; }
.stage-seg button { font-size: 13px; padding: 5px 10px; border-radius: 0; }
.stage-seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.done-sec { margin-top: 26px; }
.done-sec > summary { list-style: none; cursor: pointer; }
.done-sec > summary::-webkit-details-marker { display: none; }
.done-sec > summary .fh { margin: 0 0 12px; color: var(--muted); }
.done-sec > summary .fh::before { content: "+ "; }
.done-sec[open] > summary .fh::before { content: "– "; }
:root[data-sp="smr"] .done-sec > summary .fh::after { background: var(--line); }

/* --- sticky bar, like the forms: progress + Send to Aaron --- */
.fbar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); z-index: 16; background: var(--surface); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.fbar-in { max-width: 700px; margin: 0 auto; display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; }
.fprog { flex: 1 1 0; min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.chat-btn { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--fg); color: var(--bg); border: 0; display: grid; place-items: center; cursor: pointer; }
.chat-btn svg { width: 22px; height: 22px; }
.chat-btn .badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #031645; font-family: var(--body); font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
body[data-mode="form"] .chat-fab { display: none; }
@media (max-width: 420px) { .send { font-size: 18px; padding: 8px 14px; letter-spacing: .04em; } :root[data-sp="smr"] .send { font-size: 20px; } }
.fprog strong { color: var(--fg); font-size: 17px; }
.send { background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; padding: 8px 20px; border: 0; cursor: pointer; min-height: 46px; }
:root[data-sp="smr"] .send { font-weight: 800; font-size: 22px; }
.send:disabled { opacity: .6; cursor: default; }
.fstat { flex: 1 1 100%; font-size: 14px; color: var(--muted); }
.fstat.ok { color: var(--fg); font-weight: 700; }
.fstat.err { color: var(--flag); }
body[data-mode="form"] .toast { bottom: calc(var(--nav-h) + 86px + env(safe-area-inset-bottom, 0px)); }
.nav { background: color-mix(in srgb, var(--surface) 96%, transparent); border-top-color: var(--line); }

/* --- chat: floating button + full-height sheet on phones, docked panel on desktop --- */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 18;
  width: 56px; height: 56px; border-radius: 50%; background: var(--fg); color: var(--bg); border: 0; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / .28); cursor: pointer; }
body[data-mode="form"] .chat-fab { bottom: calc(var(--nav-h) + 84px + env(safe-area-inset-bottom, 0px)); }
body[data-mode="bar"] .chat-fab { bottom: calc(var(--nav-h) + 78px + env(safe-area-inset-bottom, 0px)); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab .badge { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--gold); color: #031645; font-family: var(--body); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.chat-dock { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; flex-direction: column; transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; padding-top: env(safe-area-inset-top, 0px); }
.chat-dock.open { transform: none; visibility: visible; transition: transform .25s ease; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.chat-t { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 21px; display: inline-flex; align-items: center; gap: 8px; }
.chat-t .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chat-x { font-size: 28px; line-height: 1; width: 44px; height: 44px; border: 0; background: var(--surface-2); color: var(--fg); }
.chat-x:focus:not(:focus-visible) { outline: none; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 8px 14px 14px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.chat-scroll .empty { margin-top: 24px; }
.chat-compose { border-top: 1px solid var(--line); background: var(--surface); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 6px; }
.chat-compose textarea { min-height: 44px; max-height: 140px; padding: 10px 14px; border-radius: 22px; resize: none; line-height: 1.4; background: var(--bg); border: 1px solid var(--line); }
body.chat-open { overflow: hidden; }
:root[data-sp="movement"] .me .bubble, :root[data-sp="smr"] .me .bubble { background: var(--fg); color: var(--bg); }
:root[data-sp="movement"] .me .bubble .when, :root[data-sp="smr"] .me .bubble .when { color: color-mix(in srgb, var(--bg) 70%, transparent); }
:root[data-sp="smr"] .me .bubble a { color: #4a6d00; }
.bubble { border-color: var(--line); }
@media (min-width: 1100px) {
  .chat-fab, .chat-x, .chat-btn { display: none; }
  .chat-dock { transform: none; visibility: visible; transition: none; top: calc(57px + env(safe-area-inset-top, 0px)); left: auto; right: 0; bottom: 0; width: 380px; border-left: 1px solid var(--line); z-index: 22; padding-top: 0; }
  body.has-dock .top-in { max-width: none; margin: 0 8px; }
  body.has-dock .wrap, body.has-dock .fbar-in, body.has-dock .nav-in {
    margin-left: max(24px, calc((100vw - 380px - 720px) / 2)); margin-right: calc(380px + max(24px, calc((100vw - 380px - 720px) / 2)));
  }
  body.has-dock .chatbar-in { margin-left: max(24px, calc((100vw - 380px - 720px) / 2)); margin-right: calc(380px + max(24px, calc((100vw - 380px - 720px) / 2))); }
  body.chat-open { overflow: auto; }
}

/* --- Needs your reply (Aaron only): the client's words, Mr Wizard's read, then Aaron's choice and the exact text --- */
.tq { border-left: 4px solid var(--accent); }
.tq .ask { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tq .ask .sd { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tq-sp, .tq-when { font-weight: 400; font-size: 13px; color: var(--muted); }
.tq-when { margin-left: auto; }
.tquote { margin: 0; padding: 10px 14px; background: var(--surface-2); border-left: 3px solid var(--line); font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tquote a { color: var(--pick-line); }
.tq-ai { margin: 0 !important; }
.tq-ai em { color: var(--muted); }
.tq-ask { margin: 2px 0 0; font-weight: 700; font-size: 15.5px; }
.tq-lbl { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.tq .frow textarea { min-height: 96px; }
.tq-x { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tq-send { font-size: 18px; padding: 8px 18px; }
.assist { font-size: 11px; font-style: italic; color: var(--muted); }

/* 2026-10-28: hidden items (Aaron only), client "See your answers", note topic/priority, From clients */
.hid-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.hid-row span { color: var(--muted); }
.ans-sec > summary .fh { font-size: 15px; font-weight: 600; }
.ans-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--hair); color: inherit; text-decoration: none; }
.ans-row .ans-q { font-weight: 600; }
.ans-row .ans-a { color: var(--muted); font-size: 14px; }
.note-pick { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.note-pick .np { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex: 1 1 160px; }
.note-pick select { flex: 1; min-width: 0; min-height: 36px; }
.utags { margin: 0 0 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.topic { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--hair); color: var(--muted); }
.prio { font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.prio.pr-urgent { background: #d92d20; color: #fff; }
.prio.pr-important { background: #f79009; color: #1b1b1b; }
.prio.pr-general { background: var(--hair); color: var(--muted); }
.due.pr-urgent { color: #d92d20; font-weight: 700; }
.due.pr-important { color: #b54708; font-weight: 600; }
/* the client's note composer is one row taller (Topic + Priority): lift the chat button and toast, pad the feed */
body:has(.note-pick) .chat-fab { bottom: calc(var(--nav-h) + 130px + env(safe-area-inset-bottom, 0px)); }
body:has(.note-pick) .toast { bottom: calc(var(--nav-h) + 136px + env(safe-area-inset-bottom, 0px)); }
body:has(.note-pick) .wrap.has-bar { padding-bottom: calc(var(--nav-h) + 172px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 480px) { .note-pick .np > span { display: none; } }

/* ================= v13 (2026-10-28): client chats on All spaces, big Ask / Send tiles, choice boxes, Urgent,
   deadline blocks, Claude's queue ================= */
:root { --due: #d92d20; --due-ink: #ffffff; --due-soft: color-mix(in srgb, #d92d20 8%, var(--surface)); }

/* --- All spaces: wider page on desktop; the chats use the width, the lists stay readable --- */
@media (min-width: 900px) {
  .wrap.home { max-width: 1120px; }
  .wrap.home > :not(.ovchats, .ovtop, .pt-row, .postline) { max-width: 760px; margin-left: auto; margin-right: auto; }
  body.home .top-in { max-width: 1120px; }
  .ovtop { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .ovtop .claudebar, .ovtop .duestrip { margin: 0 0 4px; }
  .ovtop .claudebar { min-height: 74px; }
}
.ovtop > div:empty { display: none; }
.wrap.home .pt-row { margin-bottom: 4px; }
.wrap.home > .postline { margin-top: 14px; }
.postline { grid-template-columns: minmax(0, 150px) 1fr auto auto; }
@media (min-width: 600px) { .postline { grid-template-columns: 180px 1fr auto auto; } }
@media (max-width: 599px) {
  .postline { grid-template-columns: 1fr auto auto; }
  .postline select { grid-column: 1 / -1; }
}
.urg { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--tap); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 36px; background: var(--surface); }
.urg input { width: 16px; height: 16px; margin: 0; accent-color: var(--due); }
.urg:has(input:checked) { background: var(--due); border-color: var(--due); color: #fff; }
.urg:has(input:checked) input { accent-color: #fff; }
.cmp-opts { display: flex; justify-content: flex-end; }
.cmp-opts .urg { min-height: 30px; padding: 3px 10px; font-size: 12.5px; }
.note-pick .urg { flex: none; }

/* Claude bar: what Claude is handling + the Send to Claude button */
.claudebar { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 14px 0 6px; padding: 12px 12px 12px 16px; background: var(--surface); border: 1px solid var(--tap); border-radius: 14px; }
.cb-t { font-size: 15.5px; display: inline-flex; align-items: center; gap: 8px; }
.cb-t strong { font-family: var(--display); font-size: 20px; }
.cb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent); }
.cb-go { background: var(--navy); color: #fff; min-height: 48px; padding: 10px 22px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cb-go { background: var(--gold); color: #031645; } }
:root[data-theme="dark"] .cb-go { background: var(--gold); color: #031645; }
@media (max-width: 480px) { .claudebar { padding: 8px 8px 8px 12px; gap: 8px; } .cb-t { font-size: 14px; } .cb-t strong { font-size: 18px; } .cb-go { min-height: 44px; padding: 8px 14px; font-size: 15.5px; } }
.cb-msg { margin: 4px 4px 8px; font-size: 14px; font-weight: 600; }
.cb-next { margin: 4px 0 8px; }
.cb-next > summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 2px; }
.cb-next .list { margin-top: 6px; }

/* Due strip (overview) and due blocks (a space): a red band that cannot be missed */
.duestrip, .dueblk { margin: 14px 0 10px; border: 2px solid var(--due); background: var(--surface); }
.duestrip { border-radius: 14px; overflow: hidden; }
.due-h { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; background: var(--due); color: var(--due-ink); padding: 10px 14px; }
button.due-h { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; min-height: 70px; align-items: center; }
.due-tg { margin-left: 8px; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.duestrip .due-k { font-size: 20px; }
.due-k { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 22px; line-height: 1.1; }
.due-c { font-size: 15px; font-weight: 600; }
.due-c strong { font-weight: 800; }
.due-rows { display: grid; }
.due-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--fg); border-top: 1px solid var(--hair); }
.due-row:first-child { border-top: 0; }
.due-row:hover { background: var(--due-soft); }
.due-t { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.due-s { font-size: 13px; color: var(--muted); white-space: nowrap; }
.due-more { margin: 0; padding: 8px 14px 10px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--hair); }
.dueblk { margin: 6px 0 22px; }
.dueblk .due-h { padding: 14px 16px; }
.dueblk .due-k { font-size: clamp(24px, 6.4vw, 34px); }
.dueblk .due-c { font-size: 16px; }
.dueblk .due-b { padding: 12px 12px 0; background: var(--due-soft); }
.dueblk.past .due-h { background: #8f1d14; }
:root[data-sp="wizard"] .dueblk, :root[data-sp="shell"] .dueblk { border-radius: 14px; overflow: hidden; }
.fq.flagged { border-left: 6px solid var(--due); }
.fq-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fpill { display: inline-flex; align-items: center; background: var(--due); color: #fff; font-family: var(--body); font-weight: 800; font-size: 14px; letter-spacing: .01em; padding: 4px 12px; border-radius: 999px; line-height: 1.3; }
.fq-tags .prio { font-size: 12px; padding: 4px 10px; }
.sp-due { font-size: 13.5px; font-weight: 700; color: var(--due); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-due { color: #ff8a86; } }

/* Two client chats: tabs on a phone, side by side from 900px */
.ovchats { margin: 16px 0 8px; }
.ovtabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0; border: 1px solid var(--tap); border-radius: 14px 14px 0 0; overflow: hidden; background: var(--surface-2); }
.ovtabs button { border: 0; background: none; padding: 12px 8px; font-weight: 700; font-size: 15.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; color: var(--muted); border-bottom: 3px solid transparent; }
.ovtabs button .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pa); flex: none; }
.ovtabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); border-bottom-color: var(--pa); }
.ovchat { display: none; flex-direction: column; height: min(62dvh, 520px); min-height: 380px; background: var(--surface); border: 1px solid var(--tap); border-top: 0; border-radius: 0 0 14px 14px; overflow: hidden; }
.ovchat.on { display: flex; }
.ovchats.n1 .ovchat { border-top: 1px solid var(--tap); border-radius: 14px; }
.ovchat-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--hair); box-shadow: inset 0 4px 0 var(--pa); padding-top: 14px; }
.ovchat-h .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pa); flex: none; }
.ovchat-n { font-family: var(--display); font-weight: 800; font-size: 19px; text-decoration: none; color: var(--pa-t); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ovchat-n { color: var(--pa-td); } }
:root[data-theme="dark"] .ovchat-n { color: var(--pa-td); }
.ovchat-go { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.ovchat-go:hover { color: var(--fg); }
.ovchat .chat-scroll { background: var(--bg); }
.ovchat .chat-compose { padding-bottom: 8px; }
.ovchat .round.send { background: var(--pa); color: var(--pa-ink); }
.nbadge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--gold); color: #031645; font-size: 11.5px; font-weight: 800; }
@media (max-width: 899px) { .ovchat-h .ovchat-n, .ovchat-h > .dot { display: none; } .ovchat-h { box-shadow: none; padding-top: 10px; } }
@media (min-width: 900px) {
  .ovtabs { display: none; }
  .ovchat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ovchat, .ovchat.on { display: flex; border-top: 1px solid var(--tap); border-radius: 14px; height: 540px; }
  .ovchats.n1 .ovchat-grid { grid-template-columns: 1fr; }
}

/* Questions a client sent Aaron: answer with one tap */
.asks { display: grid; gap: 10px; }
.askc { background: var(--surface); border: 1px solid var(--tap); border-left: 5px solid var(--pa); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.askc-h { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.askc-h .sd { background: var(--pa); }
.askc-t { font-weight: 700; font-size: 17px; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.askc-w { margin: 0; color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.askc-x { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.askc-x .btn.small { min-height: 44px; font-size: 15px; }

/* Big tiles: Ask Aaron / Send for review (clients), Add a question / deliverable (Aaron) */
.tiles { display: grid; gap: 10px; margin: 6px 0 18px; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tiles.owner { grid-template-columns: 1fr 1fr; }
@media (max-width: 559px) { .tiles.owner .tile { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; } .tiles.owner .tile-l { font-size: 18px; } .tiles.owner .tile-s { display: none; } }
.tile { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px; background: var(--accent); color: var(--accent-ink); text-decoration: none; border-radius: 14px; box-shadow: 0 2px 0 color-mix(in srgb, var(--fg) 14%, transparent); }
.tile:active { transform: scale(.985); }
.tile-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-ink) 16%, transparent); flex: none; }
.tile-i svg { width: 22px; height: 22px; }
.tile-b { display: grid; gap: 1px; min-width: 0; }
.tile-l { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.tile-s { font-size: 13.5px; opacity: .85; }
:root[data-sp="movement"] .tile, :root[data-sp="smr"] .tile { border-radius: 0; }
:root[data-sp="movement"] .tile-l { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
:root[data-sp="smr"] .tile-l { font-weight: 900; text-transform: uppercase; font-size: 23px; letter-spacing: .01em; }
.myasks { margin: 0 0 18px; }
.myasks .fh { margin-top: 4px; font-size: 22px; }
.ask-row .ans-q { font-weight: 700; }
.myasks .list { background: var(--surface); border: 1px solid var(--line); }
.myasks .ans-row { padding: 12px 14px; }
.myasks .ans-row:last-child { border-bottom: 0; }

/* add forms: big fields, choice boxes, files, Urgent */
.addform { margin-top: 16px; gap: 16px; }
label.field.big input { font-size: 18px; padding: 14px 16px; min-height: 54px; }
.btn.wide { flex: 1 1 100%; width: 100%; }
.chs { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.chs legend { font-weight: 700; font-size: 15px; padding: 0; }
.chs-hint { margin: -4px 0 2px; font-size: 13.5px; color: var(--muted); }
.chs-list { display: grid; gap: 8px; }
.ch { display: grid; grid-template-columns: 28px 1fr 48px; gap: 8px; align-items: center; }
.ch-n { font-family: var(--mono); font-weight: 700; color: var(--muted); text-align: center; }
.ch input { min-height: 54px; font-size: 17px; }
.ch-x { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--tap); background: var(--surface); font-size: 24px; line-height: 1; color: var(--muted); }
.ch-x:hover { color: var(--danger); border-color: var(--danger); }
.ch-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border: 1.5px dashed var(--field); background: none; border-radius: 12px; font-weight: 700; font-size: 16px; color: var(--accent-text); }
.ch-add svg { width: 20px; height: 20px; }
:root[data-sp="movement"] .ch-add, :root[data-sp="smr"] .ch-add { border-radius: 0; }
.att-row { display: grid; gap: 8px; justify-items: start; }
.urg-opt { padding: 12px 14px; border: 1.5px solid var(--tap); border-radius: 12px; background: var(--surface); align-items: center; }
.urg-opt input { margin-top: 0; accent-color: var(--due); width: 22px; height: 22px; }
.urg-opt:has(input:checked) { border-color: var(--due); background: var(--due-soft); }
.urg-opt:has(input:checked) strong { color: var(--due); }
.bubble-meta .prio { font-size: 10px; padding: 1px 6px; }
