/* The Drawing Room — the threshold (round 4). Loaded after room.css and changes only the
   intake: the arrival and the first screen (concept C, with A's promise line), the
   sample reading under it (A), the reader's reply (C), the returning visitor's greeting,
   doors, check-in and privacy panel (D), and the follow-up thread inside a reading (D).
   Tokens, fonts and buttons are room.css's. Only transform and opacity animate.
   Layout by #room[data-mode]: first | ask | return | check (threshold.js). */

.sample { grid-area: sample; }
.kept { grid-area: kept; min-width: 0; }
.kept:empty { display: none; }
.room:not([data-phase="intake"]) :is(.sample, .kept) { display: none; }
/* a returning visitor waits unseen until the threshold has drawn what they left */
.th-wait #room { visibility: hidden; }

/* ---------- the intake: one column, the table first (concept C) ---------- */
.room[data-phase="intake"] {
  --table-h: 300px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "table" "intro" "panel" "sample" "kept" "band";
  grid-template-rows: auto;
  padding-top: 6px;
}
.room[data-phase="intake"] .intro,
.room[data-phase="intake"] .panel { justify-self: center; width: min(640px, 100%); text-align: center; }

.threshold .eyebrow { margin: 4px 0 14px; }
.threshold h1 { margin: 0; color: #f4eddf; font-family: var(--display); font-size: clamp(44px, 4.6vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.threshold h1 em { color: var(--gold); font-weight: 500; }

/* the question, as a reader asks it: no card, no steps, a line and a field */
.panel.ask { margin: 26px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
.panel.ask::before, .panel.ask::after { content: none; }
.reader-line { margin: 0; color: var(--ivory); font-family: var(--display); font-size: clamp(27px, 2.5vw, 34px); font-style: italic; font-weight: 500; line-height: 1.15; }
.ask-field { position: relative; margin: 16px 0 0; }
.ask textarea { min-height: 58px; padding: 16px 18px; resize: none; overflow: hidden; text-align: left; font-size: 17px; line-height: 1.5; border-color: rgba(205, 190, 158, .38); }
.ask .q-meta { margin: 9px 0 0; text-align: left; }
.ask .actions { justify-content: center; margin-top: 18px; }

.ask.asked .ask-field, .ask.asked .q-meta, .ask.asked .ask-q .actions { display: none; }
.reply { margin-top: 8px; }
.reply-line { padding: 12px 0 0; }
.reply-echo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 14px; }
.echo { margin: 0; color: var(--gold-lit); font-family: var(--display); font-size: 23px; font-style: italic; line-height: 1.3; overflow-wrap: anywhere; }
.echo.unspoken { color: var(--muted); }
.echo:focus { outline: none; }
.reply-echo .quiet { min-height: 36px; font-size: 10.5px; }
/* one rewording at most, as one quiet line: "Or" and the wording, the whole line the button */
.reply-shape .shape-opt { display: inline-flex; align-items: baseline; gap: 10px; max-width: 520px; min-height: 44px; margin: 0 auto; padding: 8px 14px; border: 1px solid var(--hair); background: rgba(5, 12, 20, .35); color: var(--ivory); font-family: var(--display); font-size: 18px; font-style: italic; line-height: 1.3; text-align: left; transition: border-color var(--t-fast) ease; }
.reply-shape .shape-opt:hover { border-color: rgba(211, 185, 136, .6); }
.shape-or { flex: none; color: var(--gold); font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
/* the spread as one short sentence, with its switch */
.reply-spread { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 12px; margin: 0; }
.reader-says { color: var(--body); font-size: 15px; line-height: 1.5; }
.reply-spread .quiet { min-height: 44px; }
.reply-seat { padding-top: 4px; }
.reply-seat .actions { justify-content: center; margin-top: 6px; }
.ask .reworded { justify-content: center; margin: 8px 0 0; }
.linked { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; margin: 12px 0 0; padding: 8px 12px; border-left: 2px solid var(--gold-dim); background: rgba(196, 171, 120, .055); color: var(--gold); font-family: var(--mono); font-size: 11px; line-height: 1.5; text-align: left; }
.linked .quiet { min-height: 36px; }

/* ---------- the table as a lit stage (concept C) ---------- */
.lamp { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.lamp-pool { position: absolute; inset: 0; transform-origin: 50% 55%;
  background: radial-gradient(ellipse closest-side at 50% 52%, rgba(240, 214, 157, .2), rgba(196, 171, 120, .085) 46%, rgba(196, 171, 120, .02) 80%, rgba(196, 171, 120, 0) 100%); }
.room:not([data-phase="intake"]) .lamp { opacity: .55; transition: opacity var(--t-slow) var(--ease-move); }
/* (2026-09-26) The first screen's own table and deck replace the ritual table on the first
   screen (intake.css), so the pressable, breathing deck, the arrival in the dark and its Skip
   are retired; holding the deck starts at the table (Act I). */

.foot-links { justify-self: end; display: inline-flex; flex-wrap: wrap; gap: 0 22px; align-items: center; }
.foot-again { min-height: 44px; padding: 0; border: 0; background: none; color: var(--body); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.foot-again:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }

/* while the room lays the cards ("Lay the cards for me"), its own buttons have nothing to do */
.room.laying .controls { visibility: hidden; }

/* ---------- the sample reading, folded under the first screen (concept A; refined) ---------- */
.sample { justify-self: center; width: min(640px, 100%); margin: 44px 0 0; }
.sm-open { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag cards" "head cards" "read cards"; align-items: start; gap: 6px 22px; padding: 18px 20px; border: 1px solid var(--hair); background: rgba(11, 20, 30, .5); color: inherit; text-align: left; text-decoration: none; transition: border-color var(--t-fast) ease; }
.sm-open:hover { border-color: rgba(211, 185, 136, .55); }
.sm-tag { grid-area: tag; color: var(--gold); font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; }
.sm-headline { grid-area: head; color: var(--ivory); font-family: var(--display); font-size: 22px; font-style: italic; font-weight: 500; line-height: 1.2; text-wrap: balance; }
.sm-read { grid-area: read; margin-top: 4px; color: var(--body); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-decoration: underline; text-decoration-color: rgba(188, 174, 143, .4); text-underline-offset: 5px; }
.sm-open:hover .sm-read { color: var(--ivory); }
.sm-cards { grid-area: cards; display: flex; gap: 6px; align-self: center; }
.sm-face { display: block; width: 40px; aspect-ratio: 240 / 390; overflow: hidden; border-radius: 3px; box-shadow: 0 8px 14px rgba(0, 0, 0, .4); }
.sm--deep .sm-face { width: 30px; }
.sm-face svg, .sm-face img { display: block; width: 100%; height: 100%; }
.sm-face.is-rev > * { transform: rotate(180deg); }

/* ---------- a returning visitor (concept D) ---------- */
.room[data-phase="intake"]:is([data-mode="return"], [data-mode="check"]) :is(.table, .sample) { display: none; }
.room[data-phase="intake"]:is([data-mode="return"], [data-mode="check"]) .band { display: none; }
.room[data-phase="intake"][data-mode="return"] .panel { display: none; }
.room[data-phase="intake"]:is([data-mode="return"], [data-mode="check"]) .intro { text-align: left; }
.room[data-phase="intake"][data-mode="return"] { padding-top: 24px; }
.room[data-phase="intake"][data-mode="check"] { padding-top: 20px; }
.room[data-phase="intake"][data-mode="check"] .panel { text-align: left; margin-top: 18px; }
.room[data-phase="intake"][data-mode="return"] .intro { justify-self: stretch; width: auto; }
@media (min-width: 1001px) {
  .room[data-phase="intake"][data-mode="return"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    grid-template-areas: "intro kept";
  }
}
.t-asked { margin: 0 0 12px; color: var(--gold); font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.threshold h1.t-q { max-width: 17ch; margin: 0; color: #f4eddf; font-family: var(--display); font-size: clamp(44px, 4.3vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1; text-wrap: balance; overflow-wrap: anywhere; }
.threshold h1.t-q.is-long { font-size: clamp(36px, 3.4vw, 50px); max-width: 22ch; }
.threshold h1.t-q--quiet { font-size: clamp(34px, 3vw, 46px); max-width: 18ch; }
.t-sit { max-width: 520px; margin: 22px 0 0; padding-left: 18px; border-left: 1px solid var(--gold-dim); }
.t-sit span { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.t-sit p { margin: 6px 0 0; color: var(--ivory); font-family: var(--display); font-size: 22px; font-style: italic; line-height: 1.3; }
.t-invite {
  position: relative; max-width: 560px; margin: 30px 0 0; padding: 22px 24px 18px;
  border: 1px solid var(--hair);
  background: linear-gradient(135deg, rgba(37, 54, 65, .58), rgba(16, 26, 38, .8) 52%, rgba(14, 23, 33, .96)), var(--ink-soft);
}
.t-invite::before { content: ""; position: absolute; top: -1px; left: -1px; width: 26px; height: 26px; border-top: 1px solid rgba(201, 176, 128, .6); border-left: 1px solid rgba(201, 176, 128, .6); }
.t-invite h2 { margin: 0; color: var(--ivory); font-family: var(--display); font-size: clamp(27px, 2.3vw, 34px); font-weight: 500; line-height: 1.08; }
.t-invite p { margin: 8px 0 0; color: var(--body); font-size: 13.5px; line-height: 1.6; }
.t-invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 16px; }
.t-status { display: block; max-width: 470px; margin: 18px auto 0; padding: 10px 14px; border-left: 2px solid var(--gold-dim); background: rgba(196, 171, 120, .055); line-height: 1.5; text-align: left; }
.t-status > span:first-child { display: block; }
.t-status .quiet { min-height: 36px; padding-left: 0; color: var(--gold-lit); }
.t-undo-note { display: inline; margin-left: 10px; color: var(--muted); font-size: 11px; }
[data-mode="return"] .t-status { margin-left: 0; }

.t-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.door {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; height: 100%; min-height: 118px; padding: 14px 14px 13px;
  border: 1px solid var(--hair); border-radius: 0; background: rgba(12, 20, 30, .45); color: var(--ivory); text-align: left; text-decoration: none;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.door:hover { border-color: rgba(211, 185, 136, .6); background: rgba(196, 171, 120, .06); }
.door b { margin-top: auto; padding-top: 10px; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.1; }
.door b small { color: var(--gold-dim); font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.door > span:last-child { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.door-card.mini { width: 28px; border-radius: 2px; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.door-back { display: block; aspect-ratio: 240 / 390; background: var(--back) center / 100% 100%; }
.door-stack { position: relative; display: block; width: 36px; height: 44px; }
.door-stack i { position: absolute; bottom: 0; width: 28px; height: 44px; border: 1px solid rgba(196, 171, 120, .55); border-radius: 2px; background: #122030; }
.door-stack i:nth-child(1) { left: 0; transform: rotate(-8deg); }
.door-stack i:nth-child(2) { left: 4px; transform: rotate(-2deg); }
.door-stack i:nth-child(3) { left: 8px; background: var(--back) center / 100% 100%; transform: rotate(5deg); }
.door-plus { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(196, 171, 120, .55); border-radius: 50%; color: var(--gold); font-family: var(--display); font-size: 24px; line-height: 1; }
.t-kept-line { display: flex; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.t-kept-line svg { flex: none; width: 12px; height: 12px; margin-top: 3px; fill: none; stroke: var(--gold-dim); stroke-width: 1.3; }
.t-kept-line a { color: var(--body); text-underline-offset: 3px; text-decoration-color: rgba(188, 174, 143, .4); }

.t-today { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; align-items: start; margin: 12px 0 0; padding: 16px; border: 1px solid var(--hair); border-top-color: rgba(196, 171, 120, .45); background: rgba(12, 20, 30, .35); animation: rise var(--t-mid) var(--ease) both; }
.t-today-face.mini { width: 70px; border-radius: 4px; box-shadow: 0 8px 18px rgba(0, 0, 0, .4); }
.t-today-name { margin: 0; color: var(--ivory); font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.1; }
.t-today-name:focus { outline: none; }
.t-today-gist { margin: 4px 0 8px; color: var(--ivory); font-family: var(--display); font-size: 17px; font-style: italic; line-height: 1.35; }
.t-today-carry { margin: 0; color: var(--body); font-size: 13px; line-height: 1.55; }
.t-today-carry span { display: block; color: var(--gold); font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }

/* what this room keeps (in the band on a first visit, beside the doors when returning) */
.t-keeps { margin: 0; }
.kept .t-keeps { margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hair); }
.t-keeps h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; color: var(--ivory); font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.band .t-keeps h2 { font-size: 24px; }
.t-keeps h2 svg { flex: none; width: 12px; height: 12px; fill: none; stroke: var(--gold-dim); stroke-width: 1.3; }
.t-keeps h2:focus { outline: none; }
.t-keeps > p { max-width: 54ch; margin: 0; color: var(--body); font-size: 13px; line-height: 1.65; }
.t-details { margin: 8px 0 0; color: var(--body); font-size: 13px; }
.t-details summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--gold); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; list-style: none; }
.t-details summary::-webkit-details-marker { display: none; }
.t-details summary::before { content: "+"; display: inline-block; width: 1.1em; color: var(--gold-dim); }
.t-details[open] summary::before { content: "–"; }
.t-details ul { margin: 2px 0 6px; padding-left: 18px; line-height: 1.6; }
.t-details li + li { margin-top: 4px; }
.t-greet { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 2px 0 0; color: var(--body); font-size: 13px; cursor: pointer; }
.t-greet input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
/* folded under the first screen: one quiet line that opens */
.t-keeps--fold summary { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; color: var(--body); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; list-style: none; text-decoration: underline; text-decoration-color: rgba(188, 174, 143, .4); text-underline-offset: 5px; }
.t-keeps--fold summary::-webkit-details-marker { display: none; }
.t-keeps--fold summary:hover { color: var(--ivory); }
.t-keeps--fold summary svg { flex: none; width: 12px; height: 12px; fill: none; stroke: var(--gold-dim); stroke-width: 1.3; }
.t-keeps--fold summary:focus { outline: none; }
.t-keeps--fold summary:focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 4px; }
.t-keeps--fold[open] > p { margin-top: 4px; }
.t-keeps .danger-btn { color: var(--out); text-decoration-color: rgba(214, 155, 138, .45); }

/* ask / check: a compact head with a way back */
.t-back { margin: 0 0 4px -4px; }
.threshold h1.t-compact { font-size: clamp(42px, 4.2vw, 60px); line-height: .96; }
@media (max-width: 1000px) { .room[data-phase="intake"] .intro h1.t-compact { font-size: clamp(38px, 7vw, 52px); } }
.room[data-mode="check"] .threshold h1.t-compact { font-size: clamp(40px, 4vw, 56px); }
.checkin .f-review { margin-top: 0; padding-top: 0; border-top: 0; }
.f-then { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.f-then li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.f-then .mini { flex: none; width: 32px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.f-then span { display: flex; flex-direction: column; color: var(--ivory); font-family: var(--display); font-size: 16px; line-height: 1.15; }
.f-then em { color: var(--gold-dim); font-family: var(--mono); font-size: 9px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.f-then small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.checkin #moved { min-height: 70px; resize: vertical; }
.q-label .k { color: var(--gold); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.checkin .actions { margin-top: 14px; }

/* ---------- the thread, inside a reading (concept D) ---------- */
.rd-since { margin-top: 34px; padding-top: 6px; }
.rd-since .eyebrow { margin: 18px 0 8px; }
.rd-since h2 { margin: 0; color: var(--ivory); font-family: var(--display); font-size: clamp(32px, 3vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-transform: none; }
#rd-since-h:focus { outline: none; }
.since-lead { max-width: 60ch; margin: 8px 0 0; color: var(--body); font-size: 14px; line-height: 1.6; }
.since-moved { max-width: 60ch; margin: 18px 0 0; padding: 4px 0 4px 16px; border-left: 2px solid var(--gold-dim); color: var(--ivory); font-family: var(--display); font-size: 20px; font-style: italic; line-height: 1.35; }
.since-moved span { display: block; margin-bottom: 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.since-rows { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.since-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "pair place" "pair names" "pair line"; gap: 2px 20px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.since-place { grid-area: place; margin: 0; color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.since-pair { grid-area: pair; display: flex; align-items: center; gap: 8px; }
.since-pair .since-old { width: 38px; opacity: .5; filter: saturate(.6); }
.since-pair .since-now { width: 50px; box-shadow: 0 8px 16px rgba(0, 0, 0, .4); }
.since-none { width: 38px; aspect-ratio: 240 / 390; border: 1px dashed var(--hair); }
.since-arrow { color: var(--gold-dim); font-size: 14px; }
.since-names { grid-area: names; margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.since-names .was { text-decoration: line-through; text-decoration-color: rgba(135, 150, 154, .5); }
.since-names b { color: var(--ivory); font-family: var(--display); font-size: 20px; font-weight: 600; }
.since-names small { color: var(--gold-dim); font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.since-tag { color: var(--gold); font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .06em; }
.since-line { grid-area: line; max-width: 58ch; margin: 6px 0 0; color: var(--ivory); font-family: var(--display); font-size: 19.5px; line-height: 1.4; }
.since-overall { max-width: 62ch; margin: 18px 0 0; color: var(--body); font-size: 14.5px; line-height: 1.65; }
.since-sit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 20px 0 0; }
.since-sit > div { padding-left: 16px; border-left: 1px solid var(--gold-dim); }
.since-sit span { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.since-sit p { margin: 6px 0 0; color: var(--ivory); font-family: var(--display); font-size: 19px; font-style: italic; line-height: 1.35; }
.since-caveat { max-width: 60ch; margin-top: 18px; }
.rd-after { margin: 26px 0 0; padding: 12px 16px; border-left: 2px solid var(--gold-dim); background: rgba(196, 171, 120, .055); color: var(--body); font-size: 13.5px; }
.rd-after a { color: var(--gold); text-underline-offset: 4px; }
.rd-thread { margin: 14px 0 0; }
.rd-thread a { display: inline; line-height: 2; color: var(--gold); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-underline-offset: 5px; text-decoration-color: rgba(196, 171, 120, .45); }
.row-thread { color: var(--gold); font-style: normal; }
@media (min-width: 900px) {
  .since-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; border-top: 0; }
  .since-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "place" "pair" "names" "line"; gap: 10px 0; padding: 20px 0 22px; border-top: 1px solid var(--hair); border-bottom: 0; align-content: start; }
  .since-pair .since-old { width: 46px; }
  .since-pair .since-now { width: 74px; }
  .since-pair { gap: 12px; }
}

/* ---------- narrower screens ---------- */
@media (max-width: 1000px) {
  .room[data-phase="intake"] { --table-h: 240px; }
  .room[data-phase="intake"] .intro h1 { font-size: clamp(40px, 8vw, 60px); }
  .kept { margin-top: 22px; }
  .threshold h1.t-q { max-width: none; }
  .room[data-phase="intake"] .intro h1.t-q { font-size: clamp(38px, 6.4vw, 52px); }
}
@media (max-width: 560px) {
  .room[data-phase="intake"] { --table-h: 216px; padding-top: 0; }
  .threshold .eyebrow { margin: 2px 0 8px; }
  .room[data-phase="intake"] .intro h1 { font-size: clamp(33px, 9.4vw, 40px); line-height: 1; }
  .panel.ask { margin-top: 24px; }
  .reader-line { font-size: 24px; }
  .ask-field { margin-top: 10px; }
  .ask textarea { min-height: 54px; padding: 14px 14px; font-size: 16px; }
  .ask .q-meta { font-size: 9.5px; }
  .ask .actions { margin-top: 12px; }
  .reply-seat .actions { flex-direction: column; align-items: stretch; gap: 0; }
  .reply-line { padding-top: 10px; }
  .echo { font-size: 21px; }
  .foot-links { justify-self: center; }
  /* the sample waits under the first screen, not at its foot */
  .sample { margin-top: 120px; }

  .room[data-phase="intake"][data-mode="return"] { padding-top: 14px; }
  .room[data-mode="return"] .intro .eyebrow { margin: 6px 0 12px; }
  .t-asked { margin-bottom: 8px; font-size: 10px; }
  .room[data-phase="intake"] .intro h1.t-q { font-size: clamp(31px, 8.8vw, 38px); line-height: 1.04; }
  .room[data-phase="intake"] .intro h1.t-q.is-long { font-size: 27px; }
  .room[data-phase="intake"] .intro h1.t-q--quiet { font-size: 31px; }
  .t-sit { margin-top: 14px; padding-left: 14px; }
  .t-sit p { font-size: 18px; }
  .t-invite { margin-top: 20px; padding: 16px 16px 12px; }
  .t-invite h2 { font-size: 25px; }
  .t-invite p { font-size: 13px; line-height: 1.5; }
  .t-invite-actions { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 12px; }
  .t-invite-actions .primary { width: 100%; }
  .t-invite-actions .quiet { justify-content: center; }
  .kept { margin-top: 14px; }
  .t-doors { gap: 8px; }
  .door { min-height: 98px; padding: 11px 10px 10px; }
  .door b { font-size: 16.5px; }
  .door > span:last-child { font-size: 9.5px; letter-spacing: .04em; }
  .door-card.mini { width: 22px; }
  .door-stack { width: 30px; height: 34px; }
  .door-stack i { width: 22px; height: 34px; }
  .door-plus { width: 30px; height: 30px; font-size: 21px; }
  .t-today { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .t-today-face.mini { width: 58px; }
  .room[data-phase="intake"] .intro h1.t-compact { font-size: 38px; }
  .room[data-mode="check"] .panel { margin-top: 14px; }
  .f-then { gap: 8px; }
  .f-then li { flex-direction: column; gap: 6px; }
  .f-then .mini { width: 30px; }
  .f-then span { font-size: 15px; }
  .checkin .suggest { margin-top: 10px; font-size: 12.5px; line-height: 1.5; }
  .checkin .q-label { margin-top: 14px; }
  .checkin #moved { min-height: 60px; }
  .checkin .actions { flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px; }
  .checkin .actions .quiet { justify-content: center; }

  .since-row { grid-template-columns: 84px minmax(0, 1fr); gap: 2px 14px; }
  .since-pair .since-old { width: 28px; }
  .since-pair .since-now { width: 40px; }
  .since-pair { gap: 5px; }
  .since-line { font-size: 18px; }
  .since-sit { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .room[data-phase="intake"] .intro h1 { font-size: 30px; }
  .t-doors { grid-template-columns: 1fr 1fr; }
}

/* ---------- reduced motion: nothing moves; the arrival is a still fade ---------- */
.rm .t-today, .rm .door, .rm .sm-open, .rm .room .obj.deck .cb { animation: none; transition: none; }
@media (forced-colors: active) {
  .lamp { display: none; }
  .ask textarea { border-color: CanvasText; }
}

/* care: the reply when words sound like danger (care.js) */
.care-slot:not([hidden]), #reading-view .care { display: block; }
.care { max-width: 36rem; margin: 0 auto; padding: 28px 0 8px; text-align: left; }
.care-h { font-family: var(--display, "Cormorant Garamond", Georgia, serif); font-weight: 500; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; color: var(--ivory, #eee9da); margin: 0 0 16px; outline: none; }
.care p { font-size: 16px; line-height: 1.6; color: var(--body, #c0c8c8); margin: 0 0 14px; }
.care .care-lead { font-size: 18px; color: var(--ivory, #eee9da); }
.care .care-now { color: var(--ivory, #eee9da); border-left: 2px solid var(--gold, #c4ab78); padding-left: 14px; }
.care .care-kept { font-size: 13px; color: var(--muted, #87969a); }
.care-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 22px; }
.care-actions a.primary { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.care p a { color: var(--ivory, #eee9da); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold, #c4ab78); }
.care p a[href^="tel:"], .care p a[href^="sms:"] { white-space: nowrap; padding: 2px 0; }
