/* The question stays still; paper, brass and the light locate the next move. */
.question-room .journey-heading { max-width:none;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:6vw;align-items:center;padding:42px 0 32px; }
.question-introduction { font:400 clamp(19px,2vw,26px)/1.55 var(--serif);max-width:37ch;color:var(--secondary); }
.question-hero-art { margin:0;max-width:420px;justify-self:end; }
.question-hero-art img { display:block;width:100%;height:auto; }
.question-hero-art figcaption { font:12px/1.7 var(--mono);color:var(--muted);margin-top:12px; }
.question-boundary { border-left:1px solid var(--gold);padding:8px 0 8px 18px;margin:0 0 38px;color:var(--secondary);font-size:14px;line-height:1.8;max-width:65ch; }
.question-boundary strong { color:var(--ink);display:block;font-weight:600; }
.question-room .question-sheet { --bg:#faf7ef;--surface:#f4efe3;--surface-2:#e6decd;--ink:#202222;--secondary:#50524b;--muted:#66675d;--gold:#9b825c;--gold-bright:#70542b;--accent-ink:#fffaf0;--line:#b6aa96;--paper-edge:#fff9;color:var(--ink);color-scheme:light;background:var(--material-grain),linear-gradient(135deg,#fffaf0,#eee7d8);box-shadow:inset 1px 1px #fff9,6px 9px 0 -3px var(--surface-2),12px 17px 24px -18px #000b;border-color:#a59579;border-top:2px solid #9b825c;scroll-margin-top:24px; }
.question-position { display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px 22px;align-items:center;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--line); }
.question-folio-index { grid-row:1/span 2;font:400 64px/.9 var(--serif);letter-spacing:-.07em;color:var(--gold-bright); }
.question-room .question-progress { border:0;padding:0;margin:0;font-size:12px;line-height:1.7; }
#question-meter { grid-column:2; }
#question-meter { display:block;width:100%;height:3px;border:0;border-radius:0;appearance:none;background:var(--line);color:var(--gold-bright); }
#question-meter::-webkit-progress-bar { background:var(--line); }
#question-meter::-webkit-progress-value { background:var(--gold-bright); }
#question-meter::-moz-progress-bar { background:var(--gold-bright); }
.question-room .choice { background:var(--bg);border-color:var(--line); }
.question-room .choice:has(input:checked) { background:var(--surface-2);border-color:var(--gold-bright);box-shadow:inset 3px 0 var(--gold-bright); }
.question-room .question-sheet .button-brass:hover { background:#5c482b;color:#fffaf0; }
.question-room .question-sheet .choice { border-width:0 0 1px;margin:0;min-height:62px;padding:16px 12px; }
.question-room .question-sheet .choice:first-of-type { border-top-width:1px; }
.question-room #brief-text { field-sizing:content;min-height:360px;max-height:1000px; }
.question-room .question-sheet legend,.question-room .question-sheet h2 { font-size:clamp(30px,3.1vw,43px); }
.question-room .question-sheet legend:focus,.question-room .question-sheet h2:focus { outline-width:1px;outline-offset:8px; }
.question-room .question-housekeeping .quiet-button { border:0;padding-inline:0;text-decoration:underline;text-underline-offset:4px; }
.question-room summary { scroll-margin:32px 0 24px; }
.question-room textarea { background:var(--bg);box-shadow:inset 1px 2px 4px #0000000a; }
.question-room #brief-text { min-height:440px;font-size:16px; }
.question-room .brief-revise { gap:10px;margin-top:14px; }
.question-room .brief-revise .quiet-button { font-size:13px; }
.brief-preview { display:grid;grid-template-columns:48px minmax(0,1fr);gap:18px;margin-top:36px;padding:24px 0 4px;border-top:1px solid var(--line); }
.brief-preview .mono { color:var(--gold-bright);font-size:12px;line-height:1.8; }
.brief-preview-mark { color:var(--gold-bright); }
.brief-preview-mark svg { display:block;width:100%;height:auto; }
.brief-section-label { font-size:12px;color:var(--gold-bright);padding-block:14px;border-block:1px solid var(--line); }
.brief-keep-label { border-bottom:0;margin-top:26px;margin-bottom:0;padding-bottom:0; }
.brief-preview h3 { font:400 22px/1.3 var(--serif);margin:12px 0; }
.brief-preview .journey-actions { margin-top:18px; }
.question-housekeeping { border-top:1px solid var(--line);margin-top:28px;padding-top:4px; }
.question-housekeeping a { display:inline-flex;align-items:center;min-height:48px;font-size:13px;line-height:1.7; }
.question-room .question-feedback { color:var(--gold-bright);border-left:1px solid var(--gold);padding-left:12px;margin:20px 0 0;font-size:14px;line-height:1.8; }
.question-feedback:empty { display:none; }
.question-room #draft-status { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;min-height:0; }
@media(max-width:660px) { .question-boundary { margin-bottom:28px;padding-left:14px; }.question-position { margin-bottom:24px; }.question-room .journey-actions { gap:12px; }.question-room .brief-keep>.journey-actions>.quiet-button { width:100%; }.brief-preview { margin-top:28px;padding-top:24px; }.brief-preview #carry-question { width:100%;text-align:left; }.question-room #brief-text { min-height:380px; } }
@media print { .question-boundary,.question-position,.question-housekeeping,.question-feedback,.brief-preview { display:none!important; }.question-room .question-sheet { background:white;color:black;box-shadow:none; } }
/* The kept object gets its own paper plane in either room light. */
.question-room #brief-text { background:var(--material-grain),linear-gradient(135deg,#fffaf0,#eee7d8);color:#202222;border-color:#8d7858;box-shadow:inset 1px 1px #fff9,3px 5px 8px -6px #000a; }
@media print { .question-room #brief-text { background:white;box-shadow:none; } }
/* Navigation remains ordinary links when the site enhancement cannot start. */
html:is(:not(.has-js),.site-script-unavailable) .question-room .header-actions { display:none; }
@media(max-width:900px) {
  html:is(:not(.has-js),.site-script-unavailable) .question-room .site-header { position:relative; }
  html:is(:not(.has-js),.site-script-unavailable) .question-room .header-inner { height:auto;flex-wrap:wrap;padding-top:18px;gap:18px; }
  html:is(:not(.has-js),.site-script-unavailable) .question-room .main-nav { display:flex;position:static;flex-basis:100%;padding:0 0 12px;border:0; }
}

/* Printed answers use the same legible paper palette in either screen theme. */
@media print {
  :root { color-scheme:light; }
  .question-room { --bg:#fff;--surface:#fff;--surface-2:#eee8dc;--ink:#202222;--secondary:#4a4a46;--muted:#5d5d55;--gold:#70542b;--gold-bright:#70542b;--line:#8d7858;background:#fff;color:var(--ink);color-scheme:light; }
  .question-room * { transition:none!important;animation:none!important; }
  .question-room .question-sheet { break-inside:auto; }
  .question-room fieldset,.question-room legend,.question-room label { color:#202222; }
  .question-room textarea { color:#202222;background:#fff; }
  .question-room summary { color:#202222; }
}
/* Sending is the first action on the kept brief; Copy and Download stay beside it as quieter routes. */
.question-room .brief-send { margin-top:22px; }
.question-room #send-brief { font-size:14px;min-height:54px;gap:22px; }
.question-room #send-help,.question-room .send-limit { margin:12px 0 0;max-width:62ch; }
.question-room .send-limit { color:var(--ink);border-left:2px solid var(--gold-bright);padding-left:12px; }
.question-room .brief-keep-actions { margin-top:18px; }
/* Feedback scrolled into view clears the sticky masthead and the viewport edge. */
.question-room .question-feedback { scroll-margin:96px 0 16px; }
@media print { .question-room .brief-send,.question-room #send-help,.question-room .send-limit { display:none!important; } }
/* Secondary actions share one alignment: Copy and Download as quiet boxes, revising as text actions in a row. */
.question-room .brief-keep-actions .quiet-button { text-align:left; }
.question-room .brief-revise { gap:4px 22px;margin-top:10px; }
.question-room .brief-revise .quiet-button { border:0;background:none;padding:10px 0;min-height:44px;font-size:14px;color:var(--gold-bright);text-decoration:underline;text-underline-offset:4px;text-align:left; }
.question-room .brief-revise .quiet-button:hover { color:var(--ink); }
.question-room .brief-keep>.brief-revise>.quiet-button { width:auto; }

/* The arrival is a prompt beside the sheet, never a prefabricated answer. */
.question-room .journey-thread:is(:target,[data-thread-entry="true"]) { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:36px;border:0;border-block:1px solid var(--gold);background:transparent;padding:26px 0;margin-bottom:30px; }
.question-room .journey-thread:focus { outline:1px solid var(--gold);outline-offset:8px;border-block-color:transparent; }
.thread-arrival-heading h2 { font-size:32px;margin-bottom:12px;max-width:16ch; }
.question-room .thread-arrival-heading .thread-arrival-name { color:var(--secondary);max-width:32ch;line-height:1.7;font-size:13px;margin:0; }
.thread-arrival-prompts ol { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:prompts; }
.thread-arrival-prompts li { counter-increment:prompts;border-top:1px solid var(--line);padding-top:12px;color:var(--ink);font:400 21px/1.35 var(--serif); }
.thread-arrival-prompts li::before { content:"0" counter(prompts);display:block;color:var(--gold-bright);font:12px/1.7 var(--mono);margin-bottom:9px; }
.question-room .thread-arrival-prompts>p { font-size:13px;margin:18px 0 0;color:var(--muted); }
.thread-arrival-actions { display:flex;flex-wrap:wrap;gap:8px 24px; }
.thread-arrival-actions a:first-child { color:var(--gold-bright);font-weight:600; }
.question-route { list-style:none;margin:26px 0;padding:0 0 0 15px;border-left:1px solid var(--line); }
.question-route li { position:relative;padding-left:12px;margin-bottom:24px; }
.question-route li::before { content:"";position:absolute;left:-19px;top:7px;width:7px;height:7px;border:1px solid var(--gold);background:var(--bg); }
.question-route .mono { display:block;color:var(--gold-bright);font-size:12px;margin-bottom:5px; }
.question-route strong { color:var(--ink);font:400 22px/1.3 var(--serif); }
.question-route p { font-size:14px;margin:8px 0 0; }
.question-other-routes { border-top:1px solid var(--line);margin-top:22px;padding-top:12px; }
.question-other-routes summary { cursor:pointer;min-height:44px;font-size:14px;color:var(--gold-bright); }
@media(max-width:900px) { .question-room .journey-thread:is(:target,[data-thread-entry="true"]) { grid-template-columns:1fr;gap:20px; }.thread-arrival-heading h2 { max-width:none; }.question-room .thread-arrival-heading .thread-arrival-name { max-width:none; }.question-room .journey-aside { display:grid;grid-template-columns:1fr 1fr;gap:0 30px;max-width:none; }.question-room .journey-aside>.mono,.question-room .journey-aside>h2 { grid-column:1/-1; }.question-route { grid-row:3/span 2; } }
@media(max-width:760px) { .question-room .journey-heading { display:block;padding-top:34px; }.question-hero-art { display:none; }.question-introduction { max-width:42ch; } }
@media(max-width:660px) { .question-position { grid-template-columns:50px minmax(0,1fr);gap:8px 14px;padding-bottom:20px; }.question-folio-index { font-size:48px; }.brief-preview { grid-template-columns:1fr;gap:10px; }.brief-preview-mark { display:none; }.question-room .question-sheet legend,.question-room .question-sheet h2 { font-size:30px; }.thread-arrival-prompts ol { grid-template-columns:1fr;gap:0; }.thread-arrival-prompts li { display:grid;grid-template-columns:25px 1fr;gap:10px;padding:12px 0;font-size:20px; }.thread-arrival-prompts li::before { margin:0;padding-top:4px; }.question-room .journey-aside { display:block; }.question-room .question-sheet .choice { min-height:60px; } }
@media print { .question-room .journey-heading { display:block; }.question-hero-art,.question-room .journey-thread { display:none!important; }.question-room .question-sheet { border:0;box-shadow:none; }.question-position { display:none; } }
@media(max-width:660px) { .thread-arrival-heading h2 { font-size:26px;margin-bottom:10px; }.thread-arrival-prompts li { font-size:18px;padding-block:8px; }.thread-arrival-prompts li::before { padding-top:2px; }.thread-arrival-actions { display:grid;grid-template-columns:1fr 1fr;gap:14px; }.thread-arrival-actions a { font-size:13px;line-height:1.7; } }

/* Root scroll padding already clears the masthead; do not count it twice. */
.question-room .journey-thread { scroll-margin-top:24px; }

/* The questions and the kept note share a desk; either can be used on its own. */
.brief-room .journey-main {padding-top:24px}
.brief-room .journey-top {justify-content:flex-end;padding-bottom:14px}
.brief-room .journey-heading {display:block;padding:28px 0 24px}
.brief-room .journey-heading h1 {font-size:clamp(40px,5.2vw,74px);margin-bottom:12px}
.brief-room .journey-heading>p {font-size:clamp(17px,1.7vw,21px);margin-bottom:0}
.brief-room .brief-builder {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start;padding:clamp(18px,3.2vw,44px)}
.brief-controls,.brief-output {min-width:0}
.brief-controls [data-step] {margin-bottom:0}
.brief-room .brief-builder legend,.brief-room .brief-output h2 {font-size:clamp(25px,2.6vw,38px);line-height:1.12;margin-bottom:18px}
.brief-room .brief-builder legend {scroll-margin-top:14px}
.brief-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:16px}
.brief-steps button {min-height:44px;padding:7px 6px;border:1px solid var(--line);background:transparent;color:var(--ink);font:600 12px/1.3 var(--body);cursor:pointer}
.brief-steps button[aria-current] {border-color:var(--gold-bright);background:var(--surface-2);box-shadow:inset 0 -2px var(--gold-bright)}
.brief-chips {display:flex;flex-wrap:wrap;gap:8px}
.brief-room .brief-builder .brief-chip {display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:2px;background:var(--bg);font-size:14px;line-height:1.35;cursor:pointer}
.brief-chip input {flex:none;width:16px;height:16px;margin:0;accent-color:var(--gold-bright)}
.brief-room .brief-builder .brief-chip:has(input:checked) {border-color:var(--gold-bright);background:var(--surface-2)}
.brief-chip:focus-within {outline:2px solid var(--gold-bright);outline-offset:2px}
.brief-input,.brief-room .brief-builder #difficulty {width:100%;padding:10px 12px;border:1px solid var(--gold);border-radius:0;background:var(--bg);color:var(--ink);font:400 16px/1.5 var(--body)}
.brief-input {min-height:44px}
.brief-input:focus-visible {outline:2px solid var(--gold-bright);outline-offset:3px}
.brief-room .brief-controls label:not(.brief-chip) {margin:18px 0 8px;line-height:1.4}
.brief-controls label span {color:var(--secondary);font-weight:400}
.brief-room .brief-builder #difficulty {min-height:92px}
.brief-text-button {display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--gold-bright);text-decoration:underline;text-underline-offset:3px;font-size:13px;cursor:pointer}
.brief-navigation {margin-top:20px;gap:10px}
.brief-navigation .quiet-button {padding:9px 14px;min-height:44px}
.brief-output {border-left:1px solid var(--line);padding-left:clamp(20px,3.2vw,46px)}
.brief-description,.brief-feedback {font-size:14px;line-height:1.55;color:var(--secondary);margin:0 0 12px}
.brief-room .brief-builder #brief-text {field-sizing:fixed;min-height:260px;max-height:none;margin:0;background:#fffaf0}
.brief-delivery {margin-top:12px;gap:10px}
.brief-builder .brief-delivery #send-brief {padding-inline:14px;min-height:48px;gap:14px;white-space:normal}
.brief-delivery #copy-brief {padding-inline:14px}
.brief-privacy,.brief-room #send-limit {margin:12px 0 0}
.brief-room .brief-builder #draft-status {position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;margin:10px 0 0;color:var(--gold-bright)}
.brief-room .brief-builder #draft-status:empty {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.brief-room .brief-builder .brief-extras {margin-top:16px;padding-top:8px}
.brief-extras summary {display:list-item;padding-block:10px;color:var(--gold-bright);font-size:14px}
.brief-extras .journey-actions {gap:8px;margin-top:4px;font-size:14px}
.brief-extras .quiet-button {min-height:44px;padding:7px 10px}
@media (max-width:900px) {
  .brief-room .brief-builder {grid-template-columns:minmax(0,1fr)}
  .brief-output {border-left:0;border-top:1px solid var(--line);padding:22px 0 0}
}
@media (max-width:460px) {
  .brief-steps {grid-template-columns:repeat(2,minmax(0,1fr))}
  .brief-room .brief-delivery .button {width:auto}
  .brief-room .brief-builder #brief-text {min-height:220px}
}
@media print { .brief-steps,.brief-navigation,.brief-delivery,.brief-extras {display:none!important} }
