/* Newsreader (SIL Open Font License 1.1, see fonts/OFL.txt), served from this site only. */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400 600;font-display:swap;src:url(/campfire/fonts/newsreader-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400 600;font-display:swap;src:url(/campfire/fonts/newsreader-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Dusk tokens (4-tokens/tokens.json). The fire is always night: there is no light theme. */
:root{--canvas:#15131F;--raised:#1F1C2B;--sunken:#100E18;--line:#332E3A;--line-strong:#736A7C;--ink:#F4EBDD;--ink-2:#B9AE9F;--ink-3:#8E8476;--accent:#F5AE5C;--accent-strong:#FFD08A;--tint:#4A3935;
--fill-a:#FFD08A;--fill-b:#F3A14A;--on-accent:#2A1608;--glow:rgb(245 174 92/.16);--danger:#F08A7A;
--r-card:24px;--r-field:16px;--tap:44px;--serif:ui-serif,"Newsreader",Georgia,serif;--sans:system-ui,-apple-system,"Segoe UI",sans-serif;
color-scheme:dark;font:16px/1.5 var(--sans)}
/* Light: emma's warm paper colours, only when asked for (the emma Mac app sets data-theme="light" when you pick light). The site stays dark otherwise. */
:root[data-theme="light"]{--canvas:#F6EFE3;--raised:#FCF8F0;--sunken:#EFE4D2;--line:#DCCDB9;--line-strong:#967456;--ink:#2A1810;--ink-2:#604A3C;--ink-3:#715B4D;--accent:#A4521D;--accent-strong:#904514;--tint:#F6DFC0;
--fill-a:#F7B653;--fill-b:#F2A440;--on-accent:#2A1810;--glow:rgb(247 182 83/.22);--danger:#A3321F;color-scheme:light}
:root[data-theme="light"] .online{color:#2F5A2D;border-color:#7FA27A}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--canvas)}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
.shell,body.about>header,body.about>main,body>footer{max-width:560px;margin:0 auto;padding:0 16px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.2;margin:0 0 .4rem;color:var(--ink)}
h1{font-size:1.9rem}h2{font-size:1.4rem}h3{font-size:1.15rem}h4{font-size:1rem}
p{margin:.3rem 0 .6rem}
a{color:var(--accent)}
code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
code{font-size:.88em;overflow-wrap:anywhere}
pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82rem;background:var(--sunken);border:1px solid var(--line);padding:.6rem .7rem;border-radius:12px;margin:.4rem 0}
.help{color:var(--ink-2);font-size:.9rem}
.muted{color:var(--ink-3)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
[hidden]{display:none!important}

/* Buttons: quiet amber words, one primary capsule, and plain outlines in Advanced. */
button,.button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button{min-height:var(--tap);padding:.45rem 1rem;border-radius:999px;border:1px solid var(--line-strong);background:transparent;color:var(--ink);font-weight:500}
button:disabled{opacity:.45;cursor:default}
:is(button,a,summary,input,textarea,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.quiet{border:0;background:none;color:var(--accent);font-weight:600;padding:.4rem .5rem;min-height:var(--tap);border-radius:12px;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem}
.quiet:hover{color:var(--accent-strong)}
.primary,a.button.primary{border:1px solid rgb(42 22 8/.2);box-shadow:0 6px 12px rgb(243 161 74/.25);background:linear-gradient(var(--fill-a),var(--fill-b));color:var(--on-accent);font-weight:600;border-radius:999px;padding:.55rem 1.3rem;min-height:var(--tap)}
.danger{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 60%,transparent)}
a.button{display:inline-flex;align-items:center;min-height:var(--tap);padding:.45rem 1.1rem;border-radius:999px;border:1px solid var(--line-strong);color:var(--ink);text-decoration:none;font-weight:500}
.actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-top:.5rem}

/* Fields. */
label{display:block;margin:.6rem 0 .25rem;font-weight:600;font-size:.92rem;color:var(--ink-2)}
input,textarea{width:100%;padding:.65rem .9rem;border:1px solid var(--line-strong);border-radius:var(--r-field);background:var(--sunken);color:var(--ink);font:inherit}
textarea{resize:vertical}
input::placeholder,textarea::placeholder{color:var(--ink-3)}

/* Cards and sheets. */
.card{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:1rem 1.1rem;margin:.75rem 0}
.card h4{margin:0 0 .2rem}
.pill{display:inline-block;padding:.05rem .55rem;border-radius:999px;border:1px solid var(--line-strong);font-size:.78rem;color:var(--ink-2);margin:.15rem .3rem .15rem 0}
.online{color:#7BC48F;border-color:#4F7A55}.offline{color:var(--ink-3)}
dialog{background:var(--raised);color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card);padding:0;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto}
dialog::backdrop{background:rgb(8 7 12/.66)}
.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.8rem 1rem .2rem 1.2rem;position:sticky;top:0;background:var(--raised);z-index:1}
.sheet-head h2{margin:0;min-width:0}
.sheet-head>button{flex:none;white-space:nowrap}
.sheet-body{padding:.2rem 1.2rem 1.2rem}
.code{font-family:ui-monospace,monospace;font-size:.9rem;overflow-wrap:anywhere;background:var(--sunken);border-radius:12px;padding:.55rem .7rem}

/* Rows in the sheets. */
.person{display:flex;align-items:center;gap:.8rem;padding:.6rem 0;border-bottom:1px solid var(--line)}
.person:last-child{border-bottom:0}
.person .who{flex:1;min-width:0}
.person h4{margin:0;font-size:1.1rem}
.person p{margin:0;font-size:.86rem}
.person{flex-wrap:wrap;row-gap:.2rem}
.person .tools{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0 .2rem;margin-left:auto;flex:none;max-width:100%}
.person .tools .quiet{min-height:36px;padding:.2rem .5rem;font-size:.95rem;white-space:nowrap}
@media (max-width:520px){.person .tools{flex-basis:calc(100% - 44px - .8rem);margin-left:calc(44px + .8rem);justify-content:flex-start;gap:0}.person .tools .quiet{font-size:.9rem;padding:.15rem .4rem;min-height:32px}}
.link-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.4rem 0;border-bottom:1px solid var(--line)}
.link-row p{margin:0;font-size:.9rem;color:var(--ink-2)}
.link-row:last-child{border-bottom:0}
#invite-more{margin:.4rem 0}
#invite-more>summary{cursor:pointer;color:var(--accent);font-weight:600;min-height:var(--tap);display:inline-flex;align-items:center;gap:.35rem;list-style:none;padding:0 .5rem;border-radius:12px}
#invite-more>summary::-webkit-details-marker{display:none}
#invite-more>summary::after{content:"›";display:inline-block;transition:transform .2s}
#invite-more[open]>summary::after{transform:rotate(90deg)}
.more-ways{display:flex;flex-direction:column;align-items:flex-start;padding-left:.6rem}
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}

/* Signed-out and checking. */
.account{padding:2.5rem 0 1rem;text-align:center}
.account .actions{justify-content:center}
/* Words after an action: inside the open sheet, under the composer, or this
   line, which stays in view while you scroll (Advanced included). */
#message{position:sticky;top:8px;z-index:2;color:var(--accent-strong);text-align:center;margin:.4rem auto;padding:.45rem .9rem;background:var(--raised);border:1px solid var(--line);border-radius:16px;width:fit-content;max-width:100%}
#message:empty,.sheet-status:empty,.inline-status:empty{display:none}
.sheet-status,.inline-status{color:var(--accent-strong);font-size:.92rem;margin:.4rem 0}
.inline-status{text-align:center}

/* The fire list. */
.fires{padding:1.6rem 0 2rem}
.fires>h1{margin-bottom:1rem}
.fire-card{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left;background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:1rem 1.1rem;margin:.6rem 0;min-height:76px}
.fire-card:hover{border-color:var(--line-strong)}
.fire-card .title{font-family:var(--serif);font-size:1.25rem;display:block;color:var(--ink)}
.fire-card .count{color:var(--ink-2);font-size:.88rem}
.initials{display:flex;flex-shrink:0}
.initials .mark{width:32px;height:32px;font-size:15px;margin-left:-8px;box-shadow:0 0 0 2px var(--raised)}
.initials .mark:first-child{margin-left:0}
/* Your fires (Kevin, 2026-11-07): Pinned, Recent, then Closed folded away. A card says when the fire last moved, who sits
   there, who is working and whether you were tagged. The pin shows on hover and focus, and always on a touch screen. */
.fire-search{margin:.5rem 0 .1rem}
.fire-search input{width:100%}
.fire-section-title{font-family:var(--sans);font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin:1rem 0 .1rem}
.fires-closed>summary{cursor:pointer;list-style:none;min-height:var(--tap);display:flex;align-items:center;gap:.45rem}
.fires-closed>summary::-webkit-details-marker{display:none}
.fires-closed>summary::before{content:"›";display:inline-block;font-size:1rem;transition:transform .2s}
.fires-closed[open]>summary::before{transform:rotate(90deg)}
.fires-closed .fire-card{background:transparent}
.fire-row{position:relative}
.fire-row .fire-card{padding-right:3.4rem}
.fire-words{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.fire-head{display:flex;align-items:center;gap:.5rem;min-width:0}
.fire-head .title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fire-tag{flex:none;font-size:.72rem;font-weight:700;line-height:1.5;color:var(--accent-strong);background:var(--tint);border:1px solid var(--accent);border-radius:999px;padding:0 .5rem}
.fire-card .count{margin:0;text-align:left}
.fire-card .count .when{display:inline;margin:0;font-size:inherit;color:inherit;white-space:nowrap}
.fire-working{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--ink)}
.fire-working::before{content:"";flex:none;width:.45rem;height:.45rem;border-radius:50%;background:var(--accent);animation:pulse 2.2s ease-in-out infinite}
.initials .mark--helper svg{width:50%;height:50%}
.pin{position:absolute;top:50%;right:.6rem;translate:0 -50%;width:40px;height:40px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:none;color:var(--ink-3);opacity:0}
.fire-row:hover .pin,.fire-row:focus-within .pin,.pin[aria-pressed="true"]{opacity:1}
@media (hover:none){.pin{opacity:1}}
.pin:hover{color:var(--ink)}
.pin[aria-pressed="true"]{color:var(--accent)}
.pin svg{width:18px;height:18px}
.pin path{fill:none}
.pin[aria-pressed="true"] path{fill:currentColor}
.pin:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media (prefers-reduced-motion:reduce){.fire-working::before{animation:none}}
@media (max-width:520px){.fire-row .initials .mark{width:26px;height:26px;font-size:12px;margin-left:-6px}.fire-row .initials .mark:nth-child(n+5){display:none}.fire-row .initials .mark:first-child{margin-left:0}.fire-row .fire-card{gap:.6rem}}

/* The room: one top line. */
.topline{display:flex;align-items:center;gap:.25rem;padding:.6rem 0 .2rem;min-height:56px}
/* The fire's top line stays put while the talk scrolls, so Back to your fires is always one tap away. */
#room-view .topline{position:sticky;top:0;z-index:20;background:var(--canvas);margin:0 -16px;padding-left:16px;padding-right:16px;flex-wrap:wrap}
.topline h1{flex:1;min-width:0;font-family:var(--sans);font-size:1.2rem;font-weight:600;margin:0;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topline .back{font-size:1.7rem;line-height:1;padding:0 .5rem;font-weight:400}
.lock{display:inline-flex;width:var(--tap);height:var(--tap);align-items:center;justify-content:center;color:var(--ink-2)}
.lock svg{width:18px;height:20px}

/* The scene: glow, flame and seats (CampfireScene). */
#scene{--h:min(44vh,360px);position:relative;height:var(--h);margin:0 -16px;overflow:hidden}
/* A round halo that fades to nothing before any edge: its diameter is at most
   56% of the scene's height, centred 30% down, so even breathing it never
   touches the top. */
#scene .glow{position:absolute;left:50%;top:30%;width:min(200px,calc(var(--h) * .56));aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:radial-gradient(closest-side,var(--glow) 0,rgb(245 174 92/.08) 45%,rgb(245 174 92/.03) 75%,transparent 100%);animation:breathe 2.4s ease-in-out infinite}
/* The flame (the app's flame.fill): a tip that leans, a flicker on one side, a dark heart. */
.flame{position:absolute;left:50%;top:30%;width:36px;height:42px;translate:-50% -62%;overflow:visible;filter:drop-shadow(0 2px 8px rgb(245 174 92/.45));animation:breathe 2.4s ease-in-out infinite;transform-origin:50% 100%}
.flame .stop-a{stop-color:var(--fill-a)}.flame .stop-b{stop-color:var(--fill-b)}
.flame .core{fill:var(--on-accent);opacity:.45}
@keyframes breathe{0%,100%{scale:1;opacity:.9}50%{scale:1.07;opacity:1}}
#seats{position:absolute;inset:0}
.seat{position:absolute;left:var(--x);top:calc(var(--y) * 100%);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:.3rem;width:84px}
.seat .name{font-size:.88rem;color:var(--ink-2);max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#seats-more{position:absolute;right:16px;top:10px;color:var(--ink-2);font-size:.82rem}

/* Person marks (CampfirePersonMark). */
.mark{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(var(--fill-a),var(--fill-b));color:var(--on-accent);font-family:var(--serif);font-size:21px;line-height:1;position:relative}
.mark--helper{background:var(--raised);border:1.5px solid var(--accent);color:var(--accent)}
.mark--helper svg{width:46%;height:46%;fill:currentColor}
.mark--you{box-shadow:0 0 0 3px var(--canvas),0 0 0 5px var(--ink)}
.mark--dim{opacity:.55}

/* One centred line under the fire (CampfireStatusLine). */
/* The status line, with Pause all agents beside it (outside the live text) so a phone owner can stop bots without scrolling. */
.status-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.4rem .75rem;margin:.2rem 0 1rem}
.status-row #status-line{margin:0}
.chip.amber{min-height:var(--tap);padding:.3rem .9rem;font-size:13px;font-weight:600;color:var(--accent-strong);border-color:var(--accent);background:var(--tint)}
.chip.amber[aria-pressed="true"]{background:transparent}
#status-line{display:flex;justify-content:center;align-items:center;gap:8px;margin:.2rem 0 1rem;font-size:13px;color:var(--ink-2);text-align:center;min-width:0}
#status-line .dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
#status-line.live .dot{animation:pulse 2.2s ease-in-out infinite}
#status-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}

/* Stories. */
.history{list-style:none;padding:0;margin:0 0 1rem}
.history li{padding:.55rem 0;overflow-wrap:anywhere}
.history .story{font-family:var(--serif);font-size:19px;line-height:1.55;color:var(--ink);padding:.8rem 0}
.history .story .who{display:block;font-weight:600;margin-bottom:.1rem}
/* The words: about 65 characters a line, real paragraphs and lists, links that wrap. */
.history .words{max-width:32em}
.history .words p{margin:0 0 .75em}
.history .words>:last-child{margin-bottom:0}
.history .words :is(ol,ul){margin:.1em 0 .75em;padding:0;padding-inline-start:1.5em}
.history .words ul{list-style-type:disc}
.history .words ol{list-style-type:decimal}
.history .words li{padding:0;padding-inline-start:.25em;margin:0 0 .45em}
.history .words li:last-child{margin-bottom:0}
.history .words li::marker{color:var(--ink-2);font-variant-numeric:tabular-nums}
.history .words a.link{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;overflow-wrap:anywhere}
.history .words a.link:hover{color:var(--accent-strong);text-decoration-thickness:2px}
.history .story .meta{font-family:var(--sans);font-size:.85rem;line-height:1.4;color:var(--ink-3);margin-top:.4rem}
.history .story .meta .when{display:inline;font-size:inherit;margin:0}
.history .story .meta .tagged{font-size:inherit}
.history .when{display:block;font-family:var(--sans);font-size:.78rem;color:var(--ink-3);margin-top:.1rem}
.history .notice{font-size:.85rem;color:var(--ink-3);text-align:center;margin:.15rem 0}
.history .notice.strong{color:var(--ink-2)}
.history .notice .when{display:inline;margin-left:.4rem;white-space:nowrap}
.history button{margin:.3rem .3rem 0 0;min-height:36px;padding:.25rem .8rem;font-size:.85rem}
.history .empty{color:var(--ink-3);text-align:center;font-size:.92rem}
.history .story-start .story-ask{font-size:inherit;min-height:var(--tap);padding:.2rem .4rem}

/* Pictures at the fire: a warm frame until the checked picture arrives. */
.history .picture{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem}
.history .picture .who{font-weight:600}
.picture-frame{display:block;position:relative;padding:0;margin:.1rem 0 0;border:1px solid var(--line);border-radius:18px;overflow:hidden;width:100%;max-height:320px;min-height:0;
  background:radial-gradient(circle at 50% 40%,rgb(245 174 92/.14),transparent 70%),var(--sunken);cursor:zoom-in}
.history .picture-frame{margin:.1rem 0 0;padding:0;min-height:0;font-size:inherit}
.picture-frame img{display:block;width:100%;height:100%;max-height:320px;object-fit:contain;opacity:0;transition:opacity .25s}
.picture-frame.loaded img{opacity:1}
/* Still on its way: a slow, soft sweep of light across the frame, so it reads as coming, not as empty (Kevin, 9 Nov 2026).
   With reduced motion it is a still, slightly lighter frame. */
.picture-frame[aria-busy="true"]::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 38%,var(--sweep,color-mix(in srgb,var(--ink) 9%,transparent)) 50%,transparent 62%) 0 0/250% 100% no-repeat;animation:picture-wait 1.8s ease-in-out infinite}
[data-theme="light"] .picture-frame[aria-busy="true"]::after{--sweep:rgb(255 255 255/.6)}
@keyframes picture-wait{from{background-position:120% 0}to{background-position:-20% 0}}
@media (prefers-reduced-motion:reduce){.picture-frame[aria-busy="true"]::after{animation:none;background:color-mix(in srgb,var(--ink) 4%,transparent)}}
.picture-frame .frame-note{display:none;position:absolute;inset:0;align-items:center;justify-content:center;padding:1rem;font-family:var(--sans);font-size:.85rem;color:var(--ink-2);text-align:center}
.picture-frame.broken .frame-note{display:flex}
.picture-frame.broken img{visibility:hidden}
/* When the card says it under the frame (with Try again), the frame doesn't say it a second time. */
.picture:has(> .picture-note.retry) .frame-note{display:none}
/* Tall screenshots: full width, the top showing, and a quiet hint that there's more. */
.picture-frame.tall{max-height:420px}
.picture-frame.tall img{max-height:none;object-fit:cover;object-position:top}
.picture-frame .frame-more{position:absolute;left:0;right:0;bottom:0;padding:1.6rem .8rem .55rem;font-family:var(--sans);font-size:.8rem;color:var(--ink-2);text-align:center;background:linear-gradient(to bottom,transparent,var(--sunken) 70%);pointer-events:none}
.picture-frame.broken .frame-more{display:none}
.history .caption{margin:0;font-size:17px;line-height:1.4;color:var(--ink)}
.history .picture-note{margin:0;font-family:var(--sans);font-size:.88rem;color:var(--ink-3);font-style:italic}
.picture-foot{display:flex;align-items:center;gap:.6rem;width:100%}
.picture-foot .when{margin:0}
.history .picture-foot .more{margin:0 0 0 auto;min-height:36px;min-width:44px;padding:0 .6rem;font-size:1.2rem;line-height:1;letter-spacing:.05em;color:var(--ink-2);justify-content:center}
.reported{font-family:var(--sans);font-size:.78rem;font-weight:600;color:var(--accent-strong);border:1px solid var(--accent);border-radius:999px;padding:.05rem .55rem}
.menu{position:absolute;z-index:5;display:flex;flex-direction:column;min-width:160px;padding:.3rem;background:var(--raised);border:1px solid var(--line-strong);border-radius:16px;box-shadow:0 10px 30px rgb(0 0 0/.45)}
.menu button{border:0;border-radius:12px;justify-content:flex-start;text-align:left;min-height:var(--tap);padding:.4rem .9rem;font-weight:500}
.menu button:hover,.menu button:focus-visible{background:var(--tint)}
.menu .danger{color:var(--danger)}
.picture-open{flex:none;width:var(--tap);justify-content:center;padding:0;color:var(--ink-2)}
.picture-open svg{width:24px;height:24px}
.count{margin:.25rem 0 0;font-size:.82rem;text-align:right}
.reasons{border:0;padding:0;margin:.2rem 0 .4rem}
.reasons legend{font-weight:600;color:var(--ink-2);margin-bottom:.3rem}
.reasons label{display:flex;align-items:center;gap:.6rem;font-weight:400;color:var(--ink);font-size:1rem;min-height:var(--tap);margin:0}
.reasons input{width:auto;accent-color:var(--accent)}
.danger-fill{background:var(--danger);color:var(--on-accent)}
dialog.viewer{width:min(1100px,calc(100vw - 24px))}
.viewer-frame{display:flex;justify-content:center;align-items:center;background:var(--sunken);border-radius:16px;overflow:hidden}
.viewer-frame img{display:block;max-width:100%;max-height:min(80vh,calc(100dvh - 260px));width:auto;height:auto;object-fit:contain}
.viewer-frame.tall{display:block;max-height:min(80vh,calc(100dvh - 260px));overflow-y:auto;overscroll-behavior:contain}
.viewer-frame.tall img{width:100%;max-width:none;max-height:none;height:auto;margin:0 auto}
@media (min-width:700px){.viewer-frame.tall img{width:min(100%,720px)}}
.viewer-caption{font-family:var(--serif);font-size:19px;line-height:1.45;margin:.6rem 0 .2rem}
.viewer-caption:empty{display:none}
#picture-viewer .actions a.button{min-height:var(--tap)}

/* Composer and quiet actions. */
.needs-ok{display:flex;width:100%;justify-content:center;color:var(--accent-strong)}
.needs-ok::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:.2rem}
#post-form{display:flex;gap:.5rem;align-items:flex-end;margin:.4rem 0}
#post-form textarea{flex:1;min-height:var(--tap);max-height:9.5rem;overflow-y:auto;border-radius:22px;padding:.6rem 1rem;resize:none;font-size:1rem;line-height:1.45}
.quiet-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.25rem 1rem;margin:.3rem 0 1rem}

/* More: the fire's computers, OKs and records, folded away. */
#advanced{border-top:1px solid var(--line);margin:1rem 0 2rem;padding-top:.3rem}
#advanced>summary{cursor:pointer;color:var(--ink-2);font-weight:600;min-height:var(--tap);display:flex;align-items:center;list-style:none;gap:.4rem}
#advanced>summary::-webkit-details-marker{display:none}
#advanced>summary::before{content:"›";display:inline-block;transition:transform .2s;color:var(--ink-3)}
#advanced[open]>summary::before{transform:rotate(90deg)}
#advanced section{margin:1.2rem 0}
#advanced h3{font-family:var(--sans);font-size:1rem;font-weight:600}
#advanced h4{font-family:var(--sans);font-size:.95rem;font-weight:600;margin-top:.8rem}
#advanced ul{padding-left:1.1rem}
.guide{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:.6rem 1rem}
.guide summary{cursor:pointer;font-weight:600;min-height:var(--tap);display:flex;align-items:center}
.steps{padding-left:0;list-style:none;display:grid;gap:1rem}
.steps>li{border:1px solid var(--line);border-radius:18px;padding:1rem;background:var(--raised)}
.guide .steps>li{background:transparent}
.steps h3{margin:0 0 .25rem}
.steps.numbered{counter-reset:step}.steps.numbered>li{counter-increment:step}.steps.numbered h3::before{content:counter(step) ". ";color:var(--accent)}
/* The system tabs on the signed-out page (about.html). */
.tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.5rem}
.tabs [aria-selected="true"]{background:var(--tint);border-color:var(--accent);color:var(--accent-strong)}
.copy-row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}

/* The signed-out explainer. */
body.about>header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap;padding-top:.8rem;padding-bottom:.4rem}
.brand{font-family:var(--serif);font-weight:500;font-size:1.5rem;color:var(--ink);text-decoration:none}
body.about nav{display:flex;flex-wrap:wrap;gap:0 .9rem}
body.about nav a{color:var(--accent);font-weight:600;text-decoration:none;font-size:.92rem;min-height:var(--tap);display:inline-flex;align-items:center}
.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;color:var(--ink-3)}
.lede{font-family:var(--serif);font-size:1.2rem;line-height:1.45;color:var(--ink)}
.about h1{font-size:clamp(2.1rem,7vw,3rem);line-height:1.08;margin:.2rem 0 .6rem}
.about h2{margin-top:2.4rem}
.hero{padding:1.6rem 0 1rem;position:relative}
.hero::before{content:"";position:absolute;inset:-40px -16px auto;height:280px;background:radial-gradient(circle at 50% 30%,var(--glow),transparent 60%);pointer-events:none;z-index:-1}
.panel{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:1rem 1.1rem;margin:1rem 0}
.invited{border-color:var(--accent)}
.diagram{display:grid;grid-template-columns:1fr;gap:.6rem;align-items:center;margin:1rem 0}
.diagram figcaption{grid-column:1/-1;color:var(--ink-2);font-size:.9rem}
.lane{background:var(--raised);border:1px solid var(--line);border-radius:18px;padding:.75rem 1rem}
.lane ul{list-style:none;padding:0;margin:.25rem 0 0;color:var(--ink-2)}
.lane-title{font-weight:600;margin:0}
.lane.fire{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--raised))}
.arrow{font-size:1.4rem;color:var(--accent);justify-self:center;transform:rotate(90deg)}
.facts{padding-left:1.1rem}.facts li{margin:.45rem 0}
body>footer{margin-top:2rem;padding-bottom:2rem;color:var(--ink-3);font-size:.85rem}
.footer-links a{color:var(--ink-2)}

/* Still under Reduce Motion. */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* Mentions (SPEC-4 §9): the @ picker above the composer, marked names, and a warm rule for lines that tag you. */
#post-form{position:relative}
#mention-list{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:5;list-style:none;margin:0;padding:.3rem;background:var(--raised);border:1px solid var(--line-strong);border-radius:18px;box-shadow:0 10px 30px rgb(0 0 0/.45);max-height:min(340px,50dvh);overflow:auto}
#mention-list li{display:flex;align-items:center;gap:.6rem;min-height:var(--tap);padding:.3rem .55rem;border-radius:12px;cursor:pointer;color:var(--ink)}
#mention-list li[aria-selected="true"]{background:var(--tint)}
#mention-list .mark{width:30px;height:30px;font-size:14px}
#mention-list .name{font-weight:600;flex:0 0 auto;max-width:62%}
#mention-list .kind{flex:1 1 0;min-width:0}
#mention-list .kind{color:var(--ink-3);font-size:.85rem;margin-left:auto;text-align:right}
#mention-list .mention-note{color:var(--ink-2);font-size:.9rem;cursor:default}
.mark--small{width:30px;height:30px;font-size:15px;font-family:var(--sans)}
.history mark.mention{background:none;color:var(--accent-strong);font-weight:600}
.history .story.mentions-you{border-inline-start:3px solid var(--accent);padding-inline-start:.7rem;margin-inline-start:-.85rem;background:linear-gradient(90deg,rgb(245 174 92/.10),transparent 70%);border-radius:0 12px 12px 0}
.history .tagged{font-family:var(--sans);font-size:.85rem;color:var(--ink-3)}
.mention-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--accent);margin-left:.5rem;vertical-align:middle;box-shadow:0 0 0 3px rgb(245 174 92/.18)}
.quiet.amber{color:var(--accent-strong)}
.quiet.amber[aria-pressed="true"]{background:var(--tint)}
/* Agents (Advanced) and the one-time connection card. */
.limits{margin-top:.3rem}
.limits summary{cursor:pointer;color:var(--accent);font-weight:600;min-height:var(--tap);display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .5rem;border-radius:12px;list-style:none}
.limits summary::-webkit-details-marker{display:none}
.limits summary::after{content:"›";display:inline-block;transition:transform .2s}
.limits[open] summary::after{transform:rotate(90deg)}
.limits summary:hover{color:var(--accent-strong)}
.limits input{max-width:8rem}
select{width:100%;padding:.65rem .9rem;border:1px solid var(--line-strong);border-radius:var(--r-field);background:var(--sunken);color:var(--ink);font:inherit;min-height:var(--tap)}
.field-name{margin:.8rem 0 .25rem;font-weight:600;font-size:.92rem;color:var(--ink-2)}
#agent-card .copy-row .code{flex:1;min-width:0;margin:0}
#agent-card .code.secret{user-select:all}
#agent-card h3{margin-top:.2rem}

/* Your name at the fire (SPEC-5): a soft card above the composer, never a blocking modal. */
.nudge{border-color:var(--accent)}
.nudge h2{font-size:1.15rem;margin:0 0 .3rem}
.nudge .help{margin:0 0 .5rem}
.nudge input{width:100%}
.person .you-change{display:inline;min-height:auto;padding:0 .2rem;font-size:inherit;font-weight:600}
#name-google{margin-top:.4rem;font-weight:500}
/* Wake on tag (SPEC-7): fixed-state chips, the consent notice, how a seat answers. */
.wake-chips{display:flex;flex-wrap:wrap;gap:.3rem 1rem;margin:.2rem 0 .6rem}
/* A status line, not a button: no border or pill, a small dot before the words (review UX-25). */
.wake-chip{display:inline-flex;align-items:center;gap:.4rem;padding:0;border:0;font-size:15px;line-height:1.4;color:var(--ink-2);background:none;max-width:100%;overflow-wrap:anywhere;cursor:default}
.wake-chip::before{content:"";flex:none;width:.45rem;height:.45rem;border-radius:50%;background:var(--accent)}
.wake-chip[data-state="paused"]::before,.wake-chip[data-state="needs_key"]::before,.wake-chip[data-state="expired"]::before,.wake-chip[data-state="capped"]::before,.wake-chip[data-state="missed"]::before,.wake-chip[data-state="offline"]::before{background:transparent;border:1px solid var(--ink-2)}
p.wake-chip{margin:.3rem 0}
/* The one button a chip may carry (Renew, Set it up, Open), from the server's action flag. */
.wake-chip .chip-act{min-height:var(--tap);padding:.15rem .5rem;font-size:15px}
.consent-line{border-top:1px solid var(--line,rgba(127,127,127,.25));padding-top:.5rem;margin-top:.5rem}
.consent-line:first-child{border-top:0;padding-top:0;margin-top:0}
.consent-line p{margin:0 0 .4rem}
#agent-route label{flex-wrap:wrap;column-gap:.6rem;row-gap:0;padding:.2rem 0}
#agent-route .hint{flex-basis:100%;margin-left:1.9rem;font-size:.85rem;color:var(--ink-2)}
.words-go-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:.3rem 0}
/* A narrow phone at large text: the name wraps and the button drops below it, never past the edge. */
.words-go-row>span{min-width:0;overflow-wrap:anywhere}
.consent-line{overflow-wrap:anywhere}
.help.warn{color:var(--accent-strong)}
#route-hosted-fields input:not([type=radio]),#route-webhook-fields input,#route-hosted-fields select{width:100%}
/* The app's press (PrimaryButton): scale .97 on a spring; a fade only under reduced motion. */
.primary,a.button.primary{transition:transform 450ms cubic-bezier(.2,.8,.2,1),opacity .2s ease}
.primary:active:not(:disabled),a.button.primary:active{transform:scale(.97)}
.primary:disabled{box-shadow:none}
@media (prefers-reduced-motion:reduce){.primary,a.button.primary{transition:opacity .2s ease}.primary:active:not(:disabled),a.button.primary:active{transform:none;opacity:.85}}
@media (prefers-contrast:more),(forced-colors:active){.primary,a.button.primary{box-shadow:none}}
/* Review fixes (web-brand): seats on one baseline, evenly spaced (app.js still sets
   --x; the arc's --y is no longer used); the name card in the app's plain card fill;
   the composer as one field with its picture and Send controls inside it; the
   first-visit pill the width of the column, like every other primary button. */
.seat{top:72%}
.nudge{border-color:var(--line)}
.nudge h2{font-family:var(--sans);font-weight:600}
#post-form{position:relative;align-items:flex-end;gap:.25rem;padding:4px 4px 4px 0;border:1px solid var(--line-strong);border-radius:26px;background:var(--sunken)}
#post-form textarea{border:0;background:transparent;align-self:stretch}
#post-form textarea:focus-visible{outline:none}
#post-form:has(textarea:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
#post-form .primary{flex:none}
#create-form .actions>.primary{flex:1 1 100%;justify-content:center}
@media (forced-colors:active){#post-form{border:1px solid CanvasText}#post-form textarea:focus-visible{outline:2px solid Highlight}}
/* Second review (web-brand): every campfire screen opens on the same slim bar.
   The list of fires gets the fire page's bar (ember mark, wordmark, lock), and the
   signed-out explainer gets the mark, quiet links and an outlined Sign in pill
   (the hero's Start my Campfire stays the one amber pill). */
.brand-mark{display:block;flex:none;width:30px;height:auto;overflow:visible}
.fires{padding-top:0}
.fires-bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:56px;padding:.6rem 0 .2rem;margin-bottom:.8rem}
.fires-bar .wordmark{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--serif);font-size:1.5rem;font-weight:400;line-height:1;color:var(--ink)}
.brand{display:inline-flex;align-items:center;gap:.55rem;min-height:var(--tap);font-weight:400}
body.about nav{align-items:center}
body.about nav a{color:var(--ink-2);font-weight:500}
body.about nav a:hover{color:var(--ink)}
body.about nav a.nav-signin{min-height:var(--tap);padding:.45rem 1.1rem;margin-left:.2rem;border:1.5px solid var(--line-strong);color:var(--ink);font-weight:600}
body.about nav a.nav-signin:hover{border-color:var(--accent);color:var(--ink)}
/* Quiet captions and sans body text, as on every other emma page. */
.eyebrow{text-transform:none;letter-spacing:0;font-size:.9375rem;color:var(--ink-2)}
.lede{font-family:var(--sans);font-size:1.125rem}
@media (forced-colors:active){.brand-mark{forced-color-adjust:none}}
/* The story box's ring: browsers without :has() draw it on the box itself. */
@supports not selector(:has(*)){#post-form textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}}

/* Bots in People (bot setup design, 2026-11-04): a Bots header, one row per bot with one plain line,
 * greyed when a tag won't get an answer, and the hears / pays / stop glance on its card. */
.sect{font-family:var(--sans);color:var(--ink-3);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin:1rem 0 .2rem}
.bot-row{flex:1;min-width:0;display:flex;align-items:center;gap:.8rem;min-height:var(--tap);border:0;border-radius:0;background:none;color:var(--ink);text-align:left;font:inherit;padding:0;margin:0}
.bot-row .who{display:flex;flex-direction:column;min-width:0}
.bot-row .bot-name{font-family:var(--serif);font-size:1.1rem;font-weight:500;overflow-wrap:anywhere}
.bot-row .bot-sub{color:var(--ink-2);font-size:.86rem}
.bot-row.grey .bot-name,.bot-row.grey .bot-sub{color:var(--ink-3)}
button.bot-row:hover .bot-name{color:var(--accent-strong)}
.bot-sheet .primary.wide{flex:1 1 100%;justify-content:center}
#bots .actions{margin-top:.4rem}
#bot-add-open{font-size:.95rem}
.bot-facts{list-style:none;margin:.6rem 0;padding:0}
.bot-facts li{padding:.35rem 0 .35rem 1.1rem;position:relative;color:var(--ink)}
.bot-facts li::before{content:"";position:absolute;left:0;top:.85rem;width:.4rem;height:.4rem;border-radius:50%;background:var(--accent)}
.glance{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.3rem .7rem;margin:.6rem 0;padding:.7rem .9rem;background:var(--sunken);border:1px solid var(--line);border-radius:var(--r-field)}
.glance dt{color:var(--accent);font-weight:600}
.glance dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.bot-status{font-size:1.05rem;color:var(--ink);margin:.1rem 0 .4rem}
.bot-sheet .muted{color:var(--ink-3)}
#mention-list li.grey .name,#mention-list li.grey .kind{color:var(--ink-3)}
#mention-list li.grey .mark{opacity:.55}
.everyone-hint{margin:.3rem 0 0}
/* A long one-word bot name wraps inside the sheet at 320 px, never under Close or off the edge. */
#bot-title,#bot-ready-line,#bot-ready-phones,.bot-sheet dd,.bot-sheet p{overflow-wrap:anywhere}
/* The compose row, like the app's (build 38/39 screens): one rounded field on the raised
   fill, with the picture button and a round amber Send inside it, all on one row. Each
   control keeps a 44 px target; the words shrink first, so 320 px at 200% text still fits.
   Message times read relative ("4 min ago") and use even-width figures, so the once-a-minute
   update never nudges the line. */
#post-form{flex-wrap:nowrap;align-items:flex-end;gap:4px;padding:4px;border-radius:calc(var(--tap) / 2 + 5px);background:var(--raised)}
#post-form textarea{flex:1 1 auto;width:auto;min-width:0;min-height:var(--tap);padding:.6rem .4rem .6rem 1rem;border-radius:calc(var(--tap) / 2)}
#post-form textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#post-form .picture-open{flex:none;width:var(--tap);height:var(--tap);border-radius:50%}
#post-form .send{flex:none;display:inline-grid;place-items:center;width:var(--tap);height:var(--tap);min-height:var(--tap);padding:0;border-radius:50%}
#post-form .send svg{display:block;width:22px;height:22px}
.history .when{font-variant-numeric:tabular-nums}
@media (forced-colors:active){#post-form .send{border:1px solid ButtonText}}
.wake-machine{flex-basis:100%;margin:.4rem 0 .2rem}
.wake-machine select{max-width:22rem}
.wake-who{display:flex;flex-wrap:wrap;gap:.3rem 1rem}
.wake-who label{display:inline-flex;align-items:center;gap:.35rem;font-size:.95rem}

/* Polish (2026-11-05): the fire reads as a conversation. Day lines between stories; a job is
   one quiet line that changes in place; three or more housekeeping lines fold into one; the
   status line wraps instead of cutting off; the viewer is a gallery with side buttons, a count
   and a swipe. Still under reduced motion: nothing here moves. */
.history .day{display:flex;align-items:center;gap:.8rem;padding:.9rem 0 .3rem;font-family:var(--sans);font-size:.78rem;font-weight:600;color:var(--ink-3);text-transform:uppercase;letter-spacing:.06em}
.history .day::before,.history .day::after{content:"";flex:1;height:1px;background:var(--line)}
.history .notice.job{color:var(--ink-2);padding:.35rem 0}
.history .notice.job.wake{color:var(--ink-3)}
.history .notice.job[data-state="running"]::before,.history .notice.job[data-state="queued"]::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:.45rem;vertical-align:middle;animation:pulse 2.2s ease-in-out infinite}
.history .notice.job[data-state="failed"],.history .notice.job[data-state="expired"]{color:var(--ink-2)}
.history .folded{padding:.2rem 0}
.history .folded details{margin:0}
.history .folded summary{cursor:pointer;list-style:none;text-align:center;font-size:.82rem;color:var(--ink-3);min-height:var(--tap);display:flex;align-items:center;justify-content:center;gap:.35rem;border-radius:12px}
.history .folded summary::-webkit-details-marker{display:none}
.history .folded summary::after{content:"›";display:inline-block;transition:transform .2s}
.history .folded details[open] summary::after{transform:rotate(90deg)}
.history .folded ol{list-style:none;margin:0;padding:0}
#status-text{white-space:normal;line-height:1.35}
/* The gallery. */
.viewer-stage{position:relative;display:flex;align-items:center;gap:.25rem}
.viewer-stage .viewer-frame{flex:1;min-width:0;touch-action:pan-y}
.viewer-nav{flex:none;width:var(--tap);height:var(--tap);min-height:var(--tap);padding:0;border-radius:50%;border:1px solid var(--line);background:var(--raised);color:var(--ink);display:inline-grid;place-items:center}
.viewer-nav svg{width:22px;height:22px}
.viewer-nav:disabled{opacity:.25}
.viewer-nav:not(:disabled):hover{border-color:var(--accent);color:var(--accent-strong)}
.viewer-count{font-variant-numeric:tabular-nums;color:var(--ink-2);font-size:.9rem;white-space:nowrap;margin-left:auto;padding-right:.4rem}
.viewer-when{margin:.1rem 0 .4rem;color:var(--ink-3)}
.viewer-frame.zoom{overflow:auto;cursor:zoom-out;max-height:min(80vh,calc(100dvh - 260px))}
.viewer-frame.zoom img{max-width:none;max-height:none;width:200%;height:auto}
/* The status line: dot and words one left-aligned row, the dot on the first line, like the chips under it. */
.status-row{justify-content:flex-start}
#status-line{justify-content:flex-start;align-items:flex-start;text-align:left}
#status-line .dot{margin-top:calc((13px * 1.35 - 6px) / 2)}
/* On a phone the gallery is the whole screen: the picture edge to edge on the dark canvas, the
   count and Done in a top bar, the caption, who and when and the actions in a bottom bar. A swipe
   is the way through; previous and next are quiet words under the picture, gone when there is
   none that way, never over it. Safe areas are kept. */
@media (max-width:700px){
  dialog.viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;background:var(--sunken);padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}
  dialog.viewer[open]{display:flex;flex-direction:column}
  dialog.viewer .sheet-head{background:var(--sunken);padding:.5rem .6rem .3rem 1rem}
  dialog.viewer .sheet-head h2{font-size:1.15rem}
  dialog.viewer .sheet-body{flex:1;display:flex;flex-direction:column;min-height:0;padding:0}
  .viewer-stage{flex:1;min-height:0;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"frame frame frame" "prev . next";gap:0}
  .viewer-stage .viewer-frame{grid-area:frame;height:100%;border-radius:0;background:var(--sunken)}
  .viewer-frame img{max-height:100%;height:100%;width:100%;object-fit:contain}
  .viewer-frame.tall{max-height:100%}
  .viewer-frame.tall img{height:auto;width:100%}
  .viewer-nav{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:var(--accent);width:auto;height:var(--tap);padding:0 1rem;border-radius:12px;gap:.2rem;font-weight:600;font-size:.95rem}
  .viewer-nav svg{width:18px;height:18px}
  .viewer-nav.prev{grid-area:prev}.viewer-nav.next{grid-area:next}
  .viewer-nav.prev::after{content:"Previous"}.viewer-nav.next::before{content:"Next"}
  .viewer-nav:disabled{visibility:hidden}
  #viewer-heic,.viewer-caption,.viewer-when,#picture-viewer .sheet-status,#picture-viewer .actions{margin-left:16px;margin-right:16px}
  .viewer-caption{font-size:17px;margin-top:.3rem}
  #picture-viewer .actions{margin-top:.3rem;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
}
/* Back and forth (sprint, 2026-11-05): a few stories in a row from the same person read as one
   turn, the name said once; an answered wake says nothing more, the reply is the answer. */
.history .story.continued{padding-top:0;margin-top:-.35rem}
.history .story.continued>.who{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.history .story{position:relative}
/* The fire's shared goal (sprint, 2026-11-05): one calm card under the status line. */
.goal{margin:.2rem 0 .9rem;padding:.75rem 1rem;background:var(--raised);border:1px solid var(--line);border-radius:var(--r-field)}
.goal[data-state="complete"]{border-color:#4F7A55}
.goal-head{margin:0 0 .2rem;display:flex;gap:.6rem;align-items:baseline}
.goal-state{flex:none;font-family:var(--sans);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent)}
.goal[data-state="complete"] .goal-state{color:#7BC48F}
.goal-words{font-family:var(--serif);font-size:1.1rem;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
.goal-line{margin:.1rem 0}
.goal-label{color:var(--ink-3);font-weight:600}
.goal-foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.2rem}
.goal-foot .help{margin:0}
.goal-foot .quiet{min-height:36px;padding:.2rem .5rem}
/* emma not answering: one quiet line above the fire, the pulsing dot of the status row, nothing else moves. */
.reconnect{display:flex;justify-content:center;align-items:center;gap:8px;margin:.4rem 0 .6rem;font-size:13px;color:var(--ink-2);text-align:center}
.reconnect .dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0;animation:pulse 2.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.reconnect .dot{animation:none}}
/* The People sheet (2026-11-05): a seat's wake settings in a calm panel under its row, opened from
   "Wakes on Laptop ›": the picker, then who may wake it, people first and the other assistants under
   their own small heading, each a checkbox with a mark; every tick saves on its own with a quiet Saved. */
.wake-panel{flex-basis:100%;margin:.3rem 0 .4rem calc(44px + .8rem);padding:.7rem .9rem .5rem;background:var(--sunken);border:1px solid var(--line);border-radius:var(--r-field)}
@media (max-width:520px){.wake-panel{margin-left:0}}
.wake-pick{display:flex;align-items:center;gap:.6rem}
.wake-pick select{flex:1 1 auto;max-width:20rem;min-width:0}
.wake-saved{flex:none;font-size:.85rem;color:#7BC48F;min-width:3.5em}
.wake-heading{margin:.7rem 0 .25rem;font-weight:600;font-size:.92rem;color:var(--ink-2)}
.wake-heading.small{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-3)}
.wake-who{display:flex;flex-wrap:wrap;gap:.25rem .9rem}
.wake-tick{display:inline-flex;align-items:center;gap:.4rem;min-height:36px;font-size:.95rem;font-weight:400;margin:0;color:var(--ink);cursor:pointer}
.wake-tick input{width:auto;accent-color:var(--accent);margin:0}
.wake-tick .mark{width:24px;height:24px;font-size:12px}
.wake-tick .mark--helper svg{width:50%;height:50%}
.wake-panel .help{margin:.45rem 0 0;font-size:.85rem}
.wake-open{color:var(--ink-2)}
.wake-open[aria-expanded="true"]{color:var(--accent)}

/* Conversation first: a small gathering, a folded brief, then the words. */
#scene{height:auto;min-height:92px;margin:.1rem 0 .35rem;display:flex;align-items:center;gap:1rem;overflow:visible}
#scene .flame{position:relative;left:auto;top:auto;translate:none;flex:none;width:25px;height:32px;margin:0 .25rem 1rem .5rem}
/* The halo may spill past the scene's edge (it is soft light, not a box): 80px wide round the flame's centre, it
   reaches 16px to the left, which the page's own 16px side margin holds, so it is never cut off. */
#scene .glow{left:24px;top:42%;width:80px}
#seats{position:relative;inset:auto;display:flex;align-items:flex-start;gap:.85rem;overflow-x:auto;padding:.6rem .4rem;min-width:0;scrollbar-width:thin}
#scene .seat{position:relative;left:auto;top:auto;transform:none;width:56px;flex:none;gap:.35rem}
#scene .mark{width:34px;height:34px;font-size:17px}
#scene .seat .name{font-size:.75rem;max-width:56px}
#seats-more{top:auto;right:0;bottom:0;background:var(--canvas);padding:0 .25rem}
.status-row{justify-content:space-between;gap:.4rem;margin:0 0 .8rem}
.status-row #status-line{font-size:.8rem;text-align:left}
.status-row .chip.amber{font-size:.75rem;min-height:36px;padding:.25rem .6rem}
.goal{padding:0;margin:0 0 1.2rem;background:var(--raised);border-radius:14px}
.goal details{margin:0}
.goal summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;align-items:start;list-style:none;cursor:pointer;padding:.85rem 1rem;min-height:48px;border-radius:14px}
.goal summary::-webkit-details-marker{display:none}
.goal summary:hover{background:var(--tint)}
.goal-state{font-size:.7rem;line-height:1.5rem;text-transform:none;letter-spacing:.02em}
.goal-words{font-family:var(--sans);font-size:.9rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

.goal-expand{color:var(--ink-2);transition:transform .18s}
.goal details[open] .goal-expand{transform:rotate(180deg)}
.goal-body{padding:0 1rem 1rem;border-top:1px solid var(--line)}
.goal-body section{margin-top:1rem}
.goal-body h2{font:600 .75rem/1.4 var(--sans);color:var(--accent);margin:0 0 .5rem}
.goal-line{font:400 .88rem/1.6 var(--sans);color:var(--ink-2);overflow-wrap:anywhere}
.goal-rules{margin:.1rem 0;padding-left:1.1rem;font:400 .88rem/1.6 var(--sans);color:var(--ink-2);overflow-wrap:anywhere}.goal-rules li{margin:.1rem 0}.goal-rule-who{font-size:.8rem}.goal-story-by{margin:.1rem 0 .2rem;font-size:.8rem}
.goal-line .words>p{margin:.4rem 0}
.goal-foot{margin-top:.8rem;border-top:1px solid var(--line);padding-top:.5rem}
.history .story{font-family:var(--sans);font-size:1rem;line-height:1.65;padding:1rem 0}
.history .story .who{font-size:.85rem;font-weight:600;color:var(--accent-strong);margin-bottom:.35rem}
/* Whose helper it is, beside its name (helper names §4.2): quiet, not bold. */
.history .story .who .whose{font-weight:400}
.history .words{max-width:68ch;min-width:0}
.history .story .meta{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;font-size:.8125rem;color:var(--ink-2)}
.history .memory-card{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:.85rem 1rem;margin:.15rem 0}
.history .memory-card blockquote{margin:0 0 .5rem;font-family:var(--serif);font-size:1.12rem;line-height:1.55;color:var(--ink);white-space:pre-line}
.history .memory-card p{margin:0 0 .2rem;font-size:.8125rem;line-height:1.45;color:var(--ink-2)}
.history .memory-card .memory-details{margin-top:.35rem;font-size:.8125rem;color:var(--ink-2)}
.history .memory-card .memory-details summary{cursor:pointer;padding:.3rem 0;width:max-content}
.history .memory-card .memory-details p{margin:.2rem 0 0}
.history .story .meta .copy-content{margin:0 0 0 auto;min-height:36px;font-size:.72rem;padding:.2rem .6rem;color:var(--ink-2);border-color:transparent;background:transparent}
.rich-text h3,.rich-text h4,.rich-text h5,.rich-text h6{font-family:var(--sans);font-weight:600;line-height:1.4;margin:1.1em 0 .5em;color:var(--ink)}
.rich-text h3{font-size:1.2em}.rich-text h4{font-size:1.08em}.rich-text h5,.rich-text h6{font-size:1em}
.rich-text>:first-child{margin-top:0}
.rich-text blockquote{margin:.8em 0;padding:.2em 0 .2em 1em;border-inline-start:3px solid var(--accent);color:var(--ink-2)}
.rich-text blockquote p:last-child{margin-bottom:0}
.rich-text hr{border:0;border-top:1px solid var(--line);margin:1.2em 0}
.rich-text .inline-code,.rich-text .math-source{font: .88em/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;background:var(--raised);border:1px solid var(--line);padding:.1em .3em;border-radius:5px;overflow-wrap:anywhere}
.code-block{margin:.8em 0;border:1px solid var(--line-strong);border-radius:12px;overflow:hidden;background:var(--sunken);max-width:100%}
.code-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.25rem .7rem;border-bottom:1px solid var(--line);font:500 .72rem/1.4 var(--sans);color:var(--ink-2)}
.code-heading .copy-content{margin:0;min-height:36px;padding:.2rem .6rem;font-size:.72rem;border:0;background:transparent;color:var(--accent)}
.code-block pre{margin:0;padding:1rem;overflow:auto;tab-size:2;font:.82rem/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ink);white-space:pre;overflow-wrap:normal;max-height:32rem}
.table-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:.8em 0}
.rich-text table{border-collapse:collapse;width:100%;font-size:.88em;line-height:1.5}
.rich-text th,.rich-text td{padding:.6rem .8rem;border-bottom:1px solid var(--line);text-align:left;min-width:5rem}
.rich-text th{background:var(--raised);font-weight:600}.rich-text tr:last-child td{border-bottom:0}
.rich-text .align-right{text-align:right}.rich-text .align-center{text-align:center}
.rich-text .task-item{list-style:none;position:relative}.rich-text .task-item>input{position:absolute;left:-1.25em;top:.3em;width:1em;height:1em;margin:0;accent-color:var(--accent)}
.rich-text .task-item>p{margin:0 0 .4em}
.math-block{overflow-x:auto;overflow-y:hidden;max-width:100%;padding:.5rem .15rem;margin:.7rem 0;scrollbar-width:thin}
.math-block .katex-display{margin:.4em 0;text-align:left}.math-block .katex-display>.katex{text-align:left}
.math-inline .katex{font-size:1.05em}.math-source{white-space:pre-wrap}
.hljs-keyword,.hljs-selector-tag,.hljs-literal{color:#e4a8da}.hljs-string,.hljs-regexp{color:#acd5ae}.hljs-number,.hljs-attr{color:#edbc80}.hljs-comment{color:#aaa4b8;font-style:italic}.hljs-title,.hljs-title-function_,.hljs-built_in{color:#9fcee4}
.compose-tools{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin:.2rem 0 .8rem}
.compose-tools .help{flex:1;margin:0;font-size:.7rem;line-height:1.5;min-width:180px}
.compose-tools button{font-size:.73rem;min-height:36px;padding:.2rem .55rem}
.compose-preview{padding:1rem;border:1px solid var(--line);border-radius:12px;margin:.6rem 0;font:400 .95rem/1.65 var(--sans)}
.format-help{padding:.7rem 1rem;border-left:2px solid var(--accent);margin:.6rem 0;font-size:.8rem}.format-help p{margin:.4rem 0}
.jump-latest{position:fixed;bottom:1.2rem;left:50%;transform:translateX(-50%);z-index:5;background:var(--raised);border:1px solid var(--line-strong);box-shadow:0 4px 18px #0003;min-height:44px;padding:.5rem 1rem;font-size:.8rem}
:is(.goal summary,.table-scroll,.math-block,.code-block pre):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:480px){.goal summary{gap:.5rem;padding:.75rem}.goal-words{font-size:.85rem}.goal-body{padding:0 .75rem .75rem}.history .story{font-size:1rem}.code-block pre{padding:.75rem}#scene{gap:.5rem}#seats{gap:.4rem}.compose-tools .help{flex-basis:100%;order:2}}
@media(prefers-reduced-motion:reduce){.goal-expand{transition:none}}

.code-block pre{border:0;border-radius:0}.history .story .meta .when{color:var(--ink-2)}

.goal-add{margin:0 0 .7rem;font-size:.85rem}.goal-foot{flex-wrap:wrap}.goal-foot .help{flex:1 1 100%}#goal-editor{max-width:560px;width:calc(100% - 2rem);padding:1.25rem}#goal-editor textarea{min-height:5rem;width:100%;resize:vertical}#goal-editor .actions{margin-top:1rem}.goal-line .words{max-width:65ch}

.composer-dock{position:sticky;bottom:0;z-index:4;background:var(--canvas);margin:0 -16px;padding:.6rem 16px max(.2rem,env(safe-area-inset-bottom))}
.composer-dock .compose-tools{margin-bottom:.1rem}.composer-dock .compose-preview,.composer-dock .format-help{max-height:30dvh;overflow:auto}
/* --dock is the dock's own height, set by the page: the newest story and Latest messages sit above all of it. */
.jump-latest{bottom:calc(var(--dock,16rem) + .8rem)}.history>li{scroll-margin-bottom:calc(var(--dock,16rem) + .6rem)}
.working-line{margin:0;font-size:15px;line-height:1.4;color:var(--ink)}
.working{display:inline-flex;align-items:center;gap:.4rem}
.working-sep{color:var(--ink-3)}
.working-dot{flex:none;width:.45rem;height:.45rem;border-radius:50%;background:var(--accent);animation:pulse 2.2s ease-in-out infinite}
.working-time{color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:pre}
.working[data-state="quiet"]{color:var(--ink-2)}
.working[data-state="quiet"] .working-dot{background:transparent;border:1px solid var(--ink-2);animation:none}
/* A helper at work: a slow ring round its circle. One that went quiet: a still, dashed one. */
.seat.working .mark::after,.seat.quiet .mark::after{content:"";position:absolute;inset:-4px;border-radius:50%;pointer-events:none}
.seat.working .mark::after{border:2px solid transparent;border-top-color:var(--accent);border-right-color:var(--accent);animation:working-turn 1.8s linear infinite}
.seat.quiet .mark::after{border:1.5px dashed var(--ink-3)}
@keyframes working-turn{to{rotate:360deg}}
@media (prefers-reduced-motion:reduce){.seat.working .mark::after{animation:none;border-color:var(--accent)}.working-dot{animation:none}}

/* Add a helper: one form, then More ways folded under it. Where a helper runs and who can wake it, on its row. */
#helper-more{margin-top:.8rem;border-top:1px solid var(--line);padding-top:.3rem}
#helper-more>summary{cursor:pointer;color:var(--ink-2);font-weight:600;min-height:var(--tap);display:flex;align-items:center;list-style:none;gap:.4rem}
#helper-more>summary::-webkit-details-marker{display:none}
#helper-more>summary::before{content:"›";display:inline-block;transition:transform .2s;color:var(--ink-3)}
#helper-more[open]>summary::before{transform:rotate(90deg)}
.more-list{list-style:none;margin:.2rem 0 0;padding:0}
.more-list li{display:flex;flex-direction:column;align-items:flex-start;padding:.25rem 0}
.more-list li .help{margin:0 0 0 .5rem;font-size:.86rem}
.inline-link{display:inline;min-height:auto;padding:0 .2rem;font-size:inherit;font-weight:600}
#helper-who-panel .wake-panel{margin-left:0}
.wake-label{margin:0;font-weight:600;font-size:.92rem;color:var(--ink-2);flex:none}
.wake-where{flex:1 1 auto;color:var(--ink);font-size:.95rem}
.wake-pick{flex-wrap:wrap}
.helper-facts{flex-basis:100%;margin:.1rem 0 0 calc(44px + .8rem)!important;font-size:.86rem}
@media (max-width:520px){.helper-facts{margin-left:0!important}}
#bot-card-extra{margin-top:.2rem}
.bot-how{margin-top:.6rem}
/* A helper row: the name and its line keep their width; the buttons sit beside them when they fit, else on their
   own line under the name, left-aligned. Every button keeps its words on one line. */
.helper-row .bot-row{flex:0 1 auto;min-width:min(14rem,100%);max-width:100%}
.helper-row .bot-row .who{min-width:0}
.helper-row .tools{flex:1 1 auto;justify-content:flex-start;margin-left:calc(44px + .8rem);max-width:calc(100% - 44px - .8rem);flex-basis:auto}
.helper-row .tools .quiet{white-space:nowrap}
@media (max-width:520px){.helper-row .tools{flex-basis:calc(100% - 44px - .8rem);margin-left:calc(44px + .8rem)}}
/* A seat's own sheet (2026-11-06): every circle at the fire is a button. Tapped, a sheet like People opens: the mark,
   the name and one line, their replies here (a tap goes to it in the history), then what you may do for them. */
#scene .seat{border:0;background:none;color:inherit;font:inherit;font-weight:400;min-height:0;padding:.2rem 0;border-radius:14px;cursor:pointer}
#scene .seat:hover .name{color:var(--ink)}
#scene .seat:hover .mark{box-shadow:0 0 0 2px var(--canvas),0 0 0 3px var(--line-strong)}
#scene .seat:hover .mark--you{box-shadow:0 0 0 3px var(--canvas),0 0 0 5px var(--accent)}
#scene .seat:focus-visible{outline-offset:1px}
#seats-more{min-height:32px;padding:0 .4rem;font-size:.82rem;font-weight:600;color:var(--ink-2)}
.member-sheet .sheet-head{align-items:flex-start;padding-top:1rem}
.member-sheet .sheet-head>button{margin-top:-.2rem}
.member-head{display:flex;align-items:center;gap:.8rem;min-width:0}
.member-words{min-width:0}
.member-words h2{overflow-wrap:anywhere}
.member-words h2:focus{outline:none}
#member-line{margin:.15rem 0 0;font-size:.88rem}
.member-state{margin:.1rem 0 0;font-size:.88rem;color:var(--accent-strong)}
.member-sheet .sheet-body{padding-top:.5rem}
.member-sheet .sect:first-of-type{margin-top:.6rem}
.member-replies{list-style:none;margin:0;padding:0}
.member-replies>li+li{border-top:1px solid var(--line)}
.member-replies .empty{margin:.3rem 0 .4rem}
.reply{display:block;width:100%;text-align:left;border:0;border-radius:12px;background:none;color:var(--ink);font-weight:400;padding:.5rem .55rem;margin:.1rem 0;min-height:var(--tap)}
.reply:hover{background:var(--sunken)}
.reply-words{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:.95rem;line-height:1.45}
.reply .when{display:block;margin-top:.15rem;font-size:.78rem;color:var(--ink-3)}
#member-replies-more{margin-top:.1rem}
.member-settings>.actions{margin-top:.2rem;gap:.1rem .3rem}
.member-settings .actions .quiet{min-height:40px;white-space:nowrap}
.member-settings .wake-panel{margin:.2rem 0 .4rem}
.member-settings>.help{margin:.2rem 0 .3rem}
.member-name{margin:.2rem 0}
.member-sheet .you-change{display:inline;min-height:auto;padding:0 .2rem;font-size:inherit;font-weight:600}
/* The message a reply led to: a soft warm band that fades. */
.history>li.found{background:var(--tint);border-radius:12px;box-shadow:0 0 0 .5rem var(--tint);transition:background 1.2s,box-shadow 1.2s}
.history>li:focus{outline:none}
.history>li:focus-visible{outline:2px solid var(--accent);outline-offset:.5rem}
@media (prefers-reduced-motion:reduce){.history>li.found{transition:none}}

/* The dock, folded (Kevin, 2026-11-07: "the bottom is now taking up too much of the screen. need to have it collapse
   down smaller when reading the thread. and when hover over the circles for the people / helpers it increases in size /
   raises the drawer a bit to see more options"). While you read, the dock is the composer and one 44 px row: small
   circles, the one thing that matters now, and a toggle. Hover the row (or focus it, or tap it) and a drawer rises above
   it: the circles at full size with names, the whole line under the fire, Pause, and Invite · People · Refresh · More.
   The row stays where it is under the pointer; the composer rises with the drawer and the newest story stays just above
   it. The markdown hint sits above the composer while you write, so the composer never moves when you click into it. */
.composer-dock{padding:8px 16px max(4px,env(safe-area-inset-bottom))}
.composer-dock #post-form{margin:0}
.composer-dock .everyone-hint,.composer-dock .inline-status{margin:0 0 8px}
.composer-dock .compose-preview,.composer-dock .format-help{margin:0 0 8px}
.composer-dock .compose-tools{display:none;min-height:32px;margin:0 0 4px;padding:0 4px 0 21px;gap:0 4px;flex-wrap:nowrap}
.composer-dock.composing .compose-tools{display:flex;animation:dock-fade .16s ease-out}
.composer-dock .compose-tools .help{flex:1 1 auto;order:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.composer-dock .compose-tools button{flex:none;min-height:32px;padding:0 8px}

/* It reaches into the dock's side padding, so the glow behind the flame has room even while the rise clips it. */
.fireside{--seat:24px;display:flex;flex-direction:column;justify-content:flex-end;margin:4px -16px 0;padding:0 21px 0 16px}
.fireside.open{--seat:36px}
/* While it rises or folds the section's height is animated; the grid inside keeps to the bottom, so the row stays
   put and the drawer comes up from behind the composer's edge. */
.fireside.rising{overflow:clip}
.fireside-grid{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"scene now toggle";grid-template-rows:44px;align-items:center}
.fireside.open .fireside-grid{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"drawer drawer" "now now" "scene toggle";grid-template-rows:auto auto auto}
.fireside-bar{display:contents}
.fireside-drawer{grid-area:drawer;display:none}
.fireside.open .fireside-drawer{display:block}

/* The circles: overlapping 24 px marks with a ring of canvas between them; at full size, 36 px with names. */
#scene{grid-area:scene;height:44px;min-height:0;margin:0;gap:0;display:flex;align-items:center;overflow:visible}
#scene .glow{left:12px;top:50%;width:40px}
#scene .flame{width:14px;height:18px;margin:0 10px 0 5px}
#scene #seats{display:flex;align-items:center;gap:0;padding:0 4px;overflow:visible;min-width:0}
#scene .seat{position:relative;width:auto;min-width:0;min-height:0;padding:3px 0;margin:0 0 0 -4px;gap:2px;flex:none;border-radius:50%}
#scene .seat:first-child{margin-left:0}
#scene .seat.working,#scene .seat.quiet,#scene .seat:has(.mark--you){z-index:1}
#scene .seat:hover,#scene .seat:focus-visible{z-index:2}
#scene .mark{width:var(--seat);height:var(--seat);font-size:calc(var(--seat) * .48);box-shadow:0 0 0 2px var(--canvas);transition:translate .15s ease-out}
#scene .mark--helper{border-width:1.5px}
#scene .mark--you{box-shadow:0 0 0 2px var(--canvas),0 0 0 3.5px var(--ink)}
#scene .seat .name,#scene .seat .since{display:none}
#scene .seat .since{font-size:11px;color:var(--accent-strong);font-variant-numeric:tabular-nums;white-space:nowrap}
#scene .seat.quiet .since{color:var(--ink-3)}
#scene .seat:hover .mark{box-shadow:0 0 0 2px var(--canvas),0 0 0 3px var(--line-strong)}
#scene .seat:hover .mark--you{box-shadow:0 0 0 2px var(--canvas),0 0 0 3.5px var(--accent)}
#scene .seat.working .mark::after,#scene .seat.quiet .mark::after{inset:-3.5px}
#scene .seat.working .mark::after{border-width:1.5px}
#seats-more{position:static;flex:none;min-height:24px;height:24px;min-width:24px;margin:0 0 0 2px;padding:0 6px;border-radius:12px;background:var(--sunken);font-size:.75rem;font-weight:600;color:var(--ink-2);font-variant-numeric:tabular-nums}
#seats-more:hover{color:var(--ink)}
.fireside.open #scene{height:auto;align-items:flex-start;padding:8px 0 0}
.fireside.open #scene .glow{top:33px;width:56px;left:15px}
.fireside.open #scene .flame{width:20px;height:26px;margin:12px 12px 0 5px}
.fireside.open #scene #seats{align-items:flex-start;gap:2px;overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin}
.fireside.open #scene .seat{width:56px;margin:0;padding:4px 0 2px;border-radius:12px}
.fireside.open #scene .seat .name{display:block;max-width:56px;font-size:.75rem;line-height:1rem}
.fireside.open #scene .seat .since{display:block;height:14px;line-height:14px}
.fireside.open #scene .seat:hover .mark{translate:0 -2px}
.fireside.open #scene .mark{box-shadow:none}
.fireside.open #scene .mark--you{box-shadow:0 0 0 3px var(--canvas),0 0 0 5px var(--ink)}
.fireside.open #scene .seat:hover .mark{box-shadow:0 0 0 2px var(--canvas),0 0 0 3px var(--line-strong)}
.fireside.open #scene .seat:hover .mark--you{box-shadow:0 0 0 3px var(--canvas),0 0 0 5px var(--accent)}
.fireside.open #scene .seat.working .mark::after,.fireside.open #scene .seat.quiet .mark::after{inset:-4px}
.fireside.open #scene .seat.working .mark::after{border-width:2px}
.fireside.open #seats-more{margin:10px 0 0 4px;height:32px;min-height:32px;min-width:32px;border-radius:16px}

/* The toggle: a real button, under the Send button's centre. */
.fireside-toggle{grid-area:toggle;display:inline-grid;place-items:center;width:var(--tap);height:var(--tap);min-height:var(--tap);padding:0;border:0;border-radius:50%;background:none;color:var(--ink-2)}
.fireside-toggle:hover{color:var(--ink);background:var(--sunken)}
.fireside-toggle svg{width:20px;height:20px;transition:rotate .2s ease-out}
.fireside.open .fireside-toggle{align-self:start;margin-top:8px}
.fireside.open .fireside-toggle svg{rotate:180deg}

/* What's happening now. Folded, it is one line beside the circles: a helper at work first, then a waking chip, then
   the line under the fire (only its last part, "Claude is leading", when there is one). Open, all of it, in full. */
.fireside-now{grid-area:now;min-width:0;cursor:default}
.fireside-now .status-row{margin:0;flex-wrap:nowrap;gap:8px}
.fireside-now #status-line{margin:0;flex:1;min-width:0;font-size:13px;line-height:20px;gap:8px}
.fireside-now #status-line .dot{margin-top:7px}
.fireside-now #status-text{white-space:normal;overflow:hidden;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.fireside-now .working-line,.fireside-now .wake-chip{font-size:13px;line-height:20px}
.fireside-now .wake-chips{margin:0;gap:0 16px}
.fireside-now .chip.amber{flex:none;min-height:32px;padding:0 12px;font-size:.75rem}
.fireside-now .fireside-lines{height:auto;overflow:visible;padding:0}
.fireside:not(.open) .fireside-now{display:flex;align-items:center;height:44px;padding:0 4px 0 8px;overflow:hidden;cursor:pointer}
.fireside:not(.open) .fireside-now :is(.status-row,.fireside-lines){display:contents}
.fireside:not(.open) .fireside-now #pause-agents{display:none}
.fireside:not(.open) .fireside-now :is(#status-line,#working-line,#wake-chips){flex:1 1 auto;min-width:0;margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fireside:not(.open) .fireside-now #status-line .dot{display:inline-block;vertical-align:middle;margin:0 8px 2px 0}
.fireside:not(.open) .fireside-now #status-text{display:inline;-webkit-line-clamp:none;line-clamp:none}
.fireside:not(.open) .fireside-now #status-line.has-what .status-who{display:none}
/* A waking chip, folded: the first one, its words shortened before its button (Renew, Set it up, Open) is. */
.fireside:not(.open)[data-top="chips"] .fireside-now #wake-chips{display:flex;align-items:center}
.fireside:not(.open) .fireside-now .wake-chip{display:flex;align-items:center;gap:0;min-width:0;padding:0}
.fireside:not(.open) .fireside-now .chip-words{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* A helper at work, folded: the first one, its name and words shortened before its minutes are. */
.fireside:not(.open)[data-top="working"] .fireside-now #working-line{display:flex;align-items:center}
.fireside:not(.open) .fireside-now .working{display:flex;align-items:center;gap:0;min-width:0}
.fireside:not(.open) .fireside-now .working-words{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fireside:not(.open) .fireside-now .working-time{flex:none}
.fireside:not(.open) .fireside-now .working-dot{margin:0 8px 0 0}
.fireside:not(.open) .fireside-now .wake-chip::before{width:6px;height:6px;margin:0 8px 0 0}
.fireside:not(.open) .fireside-now .wake-chip .chip-act{flex:none;min-height:32px;padding:0 6px;margin-left:4px;font-size:13px}
/* Only the first thing that matters shows; the rest stay readable to a screen reader. */
.fireside:not(.open)[data-top="working"] .fireside-now :is(#status-line,#wake-chips),
.fireside:not(.open)[data-top="chips"] .fireside-now #status-line,
.fireside:not(.open) .fireside-now :is(.working~*,.wake-chip~*){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;flex:none}
.fireside.open .fireside-now{padding:8px 0 0 5px}
.fireside.open .fireside-now .status-row{min-height:32px;align-items:center;flex-wrap:wrap;gap:4px 8px}
.fireside.open .fireside-now #status-line{flex:1 1 auto}
.fireside.open .fireside-now #pause-agents{margin-left:auto}
.fireside.open .fireside-now :is(.status-who,.status-what){display:inline-block;max-width:100%}
.fireside.open .fireside-now .fireside-lines>:not([hidden]){margin:4px 0 0}
.fireside.open .fireside-now .working-line{color:var(--ink)}

/* Invite · People · Refresh, and More, at the top of the drawer. */
.fireside-drawer .quiet-actions{justify-content:flex-start;flex-wrap:wrap;gap:0 4px;margin:0;padding:8px 0 0}
.fireside-drawer .quiet-actions .quiet{min-height:40px;padding:0 12px;font-size:.9rem}
.fireside-drawer .quiet-actions .quiet:first-child{margin-left:-7px}
.fireside-drawer .more-open{margin-left:auto}
.more-open::after{content:"›";display:inline-block;margin-left:2px;transition:rotate .2s}
.more-open[aria-expanded="true"]::after{rotate:90deg}
/* More lives under the dock and shows only when it's open. */
#advanced:not([open]){display:none}

/* The rise: the drawer comes up from behind the row, the circles grow, new words fade in. */
.fireside.open :is(#fireside-now,#fireside-drawer){animation:dock-in .2s ease-out}
.fireside.open.rising #scene .mark{animation:seat-grow .2s ease-out}
.fireside.open.rising #scene .seat :is(.name,.since){animation:dock-fade .2s ease-out}
.fireside.settled:not(.open) #fireside-now{animation:dock-fade .2s ease-out}
@keyframes dock-in{from{opacity:0;translate:0 6px}}
@keyframes dock-fade{from{opacity:0}}
@keyframes seat-grow{from{scale:.67}}
@media (prefers-reduced-motion:reduce){.fireside *,.fireside *::before,.fireside *::after,.composer-dock .compose-tools{animation:none!important;transition:none!important}.fireside .seat.working .mark::after{border-color:var(--accent)}}
/* On a phone the folded row gives the flame's room to the words, and the hint keeps to Markdown & LaTeX (the arrow says how to send). */
@media (max-width:480px){.composer-dock :is(.send-sep,#send-hint){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.fireside:not(.open) #scene :is(.flame,.glow){display:none}.fireside:not(.open) #scene #seats{padding-left:0}}
@media (forced-colors:active){.fireside-toggle{border:1px solid ButtonText}}

/* The edges (Kevin, 2026-11-08: "when you scroll up you can see it overlapping the comments in a sloppy way"). The top
   line and the dock are solid canvas the full width of the column, gutters included, so nothing (a mention's accent bar,
   a card's glow) shows beside them. While the thread runs under one of them, that edge gets one hairline and a short
   fade, so words dissolve before they reach it instead of being cut by it; with nothing under it, the edge is plain
   canvas. The page sets under-top and under-dock on #room-view (paintEdges in app.js). */
#room-view{--edge:24px}
#room-view .topline::after,#room-view .composer-dock::before{content:"";position:absolute;left:0;right:0;height:var(--edge);pointer-events:none;opacity:0;transition:opacity .15s ease-out}
#room-view .topline::after{top:100%;border-top:1px solid var(--line);background:linear-gradient(var(--canvas),transparent)}
#room-view .composer-dock::before{bottom:100%;border-bottom:1px solid var(--line);background:linear-gradient(transparent,var(--canvas))}
#room-view.under-top .topline::after,#room-view.under-dock .composer-dock::before{opacity:1}
@media (prefers-reduced-motion:reduce){#room-view .topline::after,#room-view .composer-dock::before{transition:none}}
@media (forced-colors:active){#room-view .topline::after,#room-view .composer-dock::before{background:none;border-color:CanvasText}}

/* Pictures go with the words (7 Nov 2026). Dropped, pasted or picked pictures sit in the composer as chips while they
   upload: a 64 px thumbnail on the composer's own raised fill, a thin amber bar for progress, a × at the corner, and
   Retry under one that didn't upload. The strip shares the compose row's rounded field: its top corners, the row's
   bottom corners, one outline. One short line under the chips says what is happening and who will see them. */
.attachments{margin:0;padding:8px 8px 6px;background:var(--raised);border-radius:calc(var(--tap) / 2 + 5px) calc(var(--tap) / 2 + 5px) 0 0}
#post-form.with-attachments{border-radius:0 0 calc(var(--tap) / 2 + 5px) calc(var(--tap) / 2 + 5px)}
.attachment-list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0 4px;list-style:none}
.chip-pic{position:relative;width:64px;height:64px;margin:4px 4px 0 0;flex:none}
.chip-pic.failed{width:auto;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:2px;height:auto}
.chip-frame{display:block;position:relative;width:64px;height:64px;overflow:hidden;border-radius:14px;border:1px solid var(--line);background:var(--sunken)}
.chip-frame img{display:block;width:100%;height:100%;object-fit:cover}
.chip-pic.uploading .chip-frame img,.chip-pic.waiting .chip-frame img{opacity:.55}
.chip-pic.failed .chip-frame{border-color:var(--danger)}
.chip-pic.failed .chip-frame img{opacity:.4}
.chip-wait{position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgb(245 174 92/.18),transparent 70%)}
.chip-pic.preparing .chip-wait::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid var(--line-strong);border-top-color:var(--accent);animation:chip-spin .9s linear infinite}
@keyframes chip-spin{to{transform:rotate(360deg)}}
.chip-bar{position:absolute;left:6px;right:6px;bottom:6px;height:4px;border-radius:2px;background:rgb(0 0 0/.35);overflow:hidden}
.chip-bar::after{content:"";position:absolute;left:0;top:0;bottom:0;width:calc(var(--p,0) * 1%);background:var(--accent);transition:width .15s linear}
.chip-pic.waiting .chip-bar::after{width:0}
.chip-remove{position:absolute;top:-4px;right:-4px;z-index:1;width:24px;height:24px;min-height:24px;padding:0;border-radius:50%;border:1px solid var(--line-strong);background:var(--canvas);color:var(--ink);font:500 16px/1 var(--sans);display:grid;place-items:center;box-shadow:0 1px 4px rgb(0 0 0/.35)}
.chip-remove:hover{border-color:var(--accent);color:var(--accent-strong)}
.chip-note{font-family:var(--sans);font-size:.72rem;line-height:1.2;color:var(--danger);text-align:center}
.chip-retry{min-height:28px;padding:0 .6rem;font-size:.78rem;margin:0}
.attachment-foot{display:flex;flex-wrap:wrap;gap:0 .6rem;margin:6px 0 0;padding:0 8px;font-family:var(--sans);font-size:.78rem;line-height:1.45;color:var(--ink-3)}
.attachment-status{color:var(--ink-2);font-weight:500}
.attachment-status:empty{display:none}
.attachment-note{flex:1 1 auto}
/* Send while pictures upload: quieter, and it says so (title and hidden words). */
#post-form .send.uploading{opacity:.55;cursor:progress}
/* The drop highlight: a soft amber wash over the whole fire with one card and plain words, under the pointer. It is fixed to
   the viewport, so the fire's own layout (the sticky composer, the dock) is left exactly as it is. */
.drop-zone{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:16px;background:rgb(21 19 31/.72);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);pointer-events:none}
:root[data-theme="light"] .drop-zone{background:rgb(246 239 227/.78)}
.drop-card{display:flex;flex-direction:column;align-items:center;gap:.6rem;width:min(420px,100%);padding:1.6rem 1.2rem;border:2px dashed var(--accent);border-radius:var(--r-card);background:var(--raised);color:var(--ink);text-align:center;box-shadow:0 18px 48px rgb(0 0 0/.35)}
.drop-card svg{width:40px;height:40px;color:var(--accent)}
.drop-card p{margin:0;font-family:var(--serif);font-size:1.25rem;line-height:1.3}
#room-view.dropping .composer-dock{outline:2px solid var(--accent);outline-offset:-2px;border-radius:12px}
@media (prefers-reduced-motion:reduce){.chip-pic.preparing .chip-wait::after{animation:none}.chip-bar::after{transition:none}.drop-zone{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media (forced-colors:active){.chip-frame,.chip-remove,.drop-card{border-color:CanvasText}.chip-bar::after{background:Highlight}}
@media (max-width:480px){.chip-pic,.chip-frame{width:56px;height:56px}.chip-pic.failed{height:auto}.attachment-foot{font-size:.74rem}.drop-card p{font-size:1.1rem}}

/* People from the fire (fire-people.js): the add buttons inside the Mac app, and the consent card everyone can get. */
.history .notice .add-person{display:inline-flex;min-height:32px;padding:.1rem .5rem;font-size:.85rem;margin-left:.35rem;vertical-align:middle;border-radius:10px}
.person .tools .fire-people-q{flex-basis:100%;margin:.1rem 0 0;font-size:.86rem;text-align:left}
.composer-dock .share-asks{margin:0 0 8px}
.share-ask{padding:.85rem 1rem;background:var(--raised);border:1px solid var(--accent);border-radius:var(--r-field);box-shadow:0 0 0 4px var(--glow)}
.share-ask .share-ask-title{font-size:1.1rem;margin:0 0 .3rem}
.share-ask .help{margin:0 0 .2rem}
.share-ask .sheet-status:empty{display:none}
.share-ask .actions{margin-top:.6rem}
.share-mine{justify-content:space-between}
.share-mine .help{margin:0}

/* Question cards (outputs/CAMPFIRE-QUESTION-CARDS.md). One card: who asks and for whom, the question in the fire's serif,
   2 to 4 answer pills and "Something else…". Live for the person it names; greyed, with "for Kevin", for everyone else.
   Answered, it settles to the choice. Withdrawn, it says so. Every colour is a Dusk token, so light follows. */
.history .story.question{padding:.6rem 0 .8rem}
.qcard{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:.9rem 1.05rem .95rem;max-width:34rem;min-width:0}
.question[data-for="you"] .qcard{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset,0 8px 24px var(--glow)}
.question[data-state="answered"] .qcard,.question[data-state="withdrawn"] .qcard{border-color:var(--line);box-shadow:none}
.q-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .35rem;font-size:.85rem;color:var(--ink-2);margin-bottom:.35rem;min-width:0}
.q-head .who{display:inline;font-size:.85rem;font-weight:600;color:var(--accent-strong);margin:0}
.q-asks{color:var(--ink-2)}
.q-for{margin-inline-start:auto;flex:none;font-size:.78rem;font-weight:600;line-height:1.5;color:var(--ink-2);border:1px solid var(--line-strong);border-radius:999px;padding:0 .55rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.question[data-for="you"] .q-for{color:var(--accent-strong);border-color:var(--accent);background:var(--tint)}
.q-text{margin:0 0 .75rem;font-family:var(--serif);font-size:1.2rem;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.q-choices{display:flex;flex-wrap:wrap;gap:.5rem}
.q-choice{min-height:var(--tap);padding:.45rem 1.05rem;border-radius:999px;border:1px solid var(--line-strong);background:var(--sunken);color:var(--ink);font-weight:600;font-size:.95rem;max-width:100%;overflow-wrap:anywhere;text-align:center;flex:0 1 auto}
.question[data-for="you"] .q-choice:not(:disabled):not(.q-other){border-color:var(--accent);background:linear-gradient(var(--fill-a),var(--fill-b));color:var(--on-accent);box-shadow:0 4px 10px rgb(243 161 74/.22)}
.question[data-for="you"] .q-choice:not(:disabled):not(.q-other):hover{filter:brightness(1.04)}
.q-choice.q-other{font-weight:500;color:var(--ink-2);background:transparent}
.q-choice.q-other:not(:disabled){color:var(--accent)}
.q-choice:disabled{opacity:.5;cursor:default}
.q-choice.picked{border-color:var(--accent);color:var(--accent-strong);background:var(--tint);opacity:1}
/* Narrow screens: pills take the full width, one under the other, so long labels never clip. */
@media (max-width:440px){.q-choices{flex-direction:column}.q-choice{width:100%}}
.q-note{margin:.6rem 0 0;font-size:.85rem;color:var(--ink-3)}
.q-answer{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;margin:0;font-size:.95rem;color:var(--ink-2)}
.q-answer .q-picked{display:inline-block;padding:.3rem .9rem;border-radius:999px;border:1px solid var(--accent);background:var(--tint);color:var(--accent-strong);font-weight:600;max-width:100%;overflow-wrap:anywhere}
.q-answer .q-via{font-size:.82rem;color:var(--ink-3)}
.history .qcard .quiet{margin:.45rem .2rem 0 -.55rem;min-height:36px;padding:.2rem .55rem;font-size:.9rem}
.q-link .quiet{margin-left:0}
.history .qcard .q-withdraw{color:var(--ink-3)}
.history .qcard .q-withdraw:hover{color:var(--danger)}
.q-other-form{margin-top:.7rem}
.q-other-form textarea{font-size:1rem;line-height:1.45;border-radius:var(--r-field)}
.q-other-form .actions{margin-top:.5rem}
.history .qcard .q-other-form .primary{margin:0;min-height:var(--tap);padding:.5rem 1.2rem;font-size:.95rem}
.q-link{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem;margin-top:.75rem;padding-top:.7rem;border-top:1px solid var(--line)}
.q-link .q-note{margin:0}
.history .qcard .q-ask-link{margin:0;min-height:var(--tap);padding:.5rem 1.2rem;font-size:.95rem}
.q-link-code{display:block;margin-top:.3rem;font-size:.8rem;overflow-wrap:anywhere;user-select:all}
.question .meta .q-when{color:var(--ink-3)}

/* Next steps as chips: "Rohan · Fix the hero". Yours is a button with a tick box; one tap ticks it. */
.next-chips{list-style:none;margin:.35rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
/* .next-chips .next-chip outranks .history li, which would otherwise take the side padding away. */
.next-chips .next-chip{display:inline-flex;align-items:center;gap:.4rem;max-width:100%;min-width:0;margin:0;font-family:var(--sans);font-size:.85rem;line-height:1.35;color:var(--ink);border:1px solid var(--line-strong);border-radius:999px;padding:.3rem .8rem;background:var(--sunken);text-align:left}
.next-chips .next-chip.mine.live{padding:0}
.next-chip .chip-who{font-weight:600;color:var(--ink-2);flex:none}
.next-chip .chip-who::after{content:" ·";color:var(--ink-3)}
.next-chip .chip-text{min-width:0;overflow-wrap:anywhere}
.next-chip.done{color:var(--ink-3);border-style:dashed}
.next-chip.done .chip-text{text-decoration:line-through;text-decoration-color:var(--ink-3)}
.next-chip.mine{border-color:var(--accent);background:var(--tint)}
.next-chip.mine .chip-who{color:var(--accent-strong)}
.next-chip.mine.done{background:transparent}
.history .chip-tick,.chip-tick{display:inline-flex;align-items:center;gap:.45rem;margin:0;padding:.3rem .8rem .3rem .6rem;min-height:var(--tap);border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:.85rem;line-height:1.35;text-align:left;min-width:0}
.chip-tick .chip-text{overflow-wrap:anywhere}
.chip-tick .tick-box{flex:none;width:16px;height:16px;border-radius:5px;border:1.5px solid var(--accent);background:var(--canvas);position:relative}
.chip-tick[aria-pressed="true"] .tick-box{background:var(--accent);border-color:var(--accent)}
.chip-tick[aria-pressed="true"] .tick-box::after{content:"";position:absolute;left:4.5px;top:1.5px;width:4px;height:8px;border:solid var(--on-accent);border-width:0 2px 2px 0;transform:rotate(45deg)}
.history .notice.has-chips{text-align:left;display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem}
.history .notice.has-chips .next-chips{margin:0;flex-basis:100%}
.history .notice.has-chips .when{margin-left:auto}
.fire-tag.fire-needs{color:var(--on-accent);background:linear-gradient(var(--fill-a),var(--fill-b));border-color:transparent}

/* The Ask-someone page (/campfire/answer): one card, no account. */
body.answer-page{min-height:100dvh;display:flex;flex-direction:column}
body.answer-page>main{flex:1;max-width:560px;width:100%;margin:0 auto;padding:1.6rem 16px 2.5rem}
.answer-card{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:1.3rem 1.25rem 1.35rem;margin-top:1rem}
.answer-card .eyebrow{margin:0 0 .35rem;font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.answer-card .q-text{font-size:1.45rem;margin:.2rem 0 1rem}
.answer-card .q-choices{flex-direction:column}
.answer-card .q-choice{width:100%;min-height:52px;font-size:1.05rem;border-color:var(--accent);background:linear-gradient(var(--fill-a),var(--fill-b));color:var(--on-accent);box-shadow:0 4px 10px rgb(243 161 74/.22)}
.answer-card .q-choice.q-other{background:transparent;color:var(--accent);box-shadow:none;border-color:var(--line-strong)}
.answer-card .help{margin:.9rem 0 0}
.answer-card .done{font-family:var(--serif);font-size:1.25rem;line-height:1.45;margin:0}
.answer-brand{display:flex;align-items:center;gap:.5rem;color:var(--ink-2);font-size:.95rem;margin-bottom:.6rem}
.answer-brand .flame-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(var(--fill-a),var(--fill-b));box-shadow:0 0 0 4px var(--glow)}

/* Sealed fires (beta): the small lock and "Sealed", the toggle at Start a fire, the plain notice without the Mac
   bridge, the beta note and the fire's health lines. Colours are the theme's own tokens, so light and dark both hold. */
.sealed-mark{flex:none;display:inline-flex;align-items:center;gap:.25rem;font-size:.72rem;font-weight:600;line-height:1.5;color:var(--ink-2);border:1px solid var(--line-strong);border-radius:999px;padding:0 .5rem 0 .4rem;white-space:nowrap}
.sealed-mark svg{width:10px;height:11px;flex:none}
.topline .room-sealed{min-height:28px;font-size:.78rem;margin:0 .2rem}
.topline .room-sealed svg{width:12px;height:13px}
.seal-start{margin:.8rem 0 .2rem;padding:.7rem .9rem .5rem;background:var(--sunken);border:1px solid var(--line);border-radius:var(--r-field)}
.seal-toggle{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--tap);margin:0;font-size:1rem;font-weight:600;color:var(--ink);cursor:pointer}
.seal-toggle input[role="switch"]{order:2;flex:none;appearance:none;-webkit-appearance:none;width:48px;height:28px;padding:0;margin:0;border-radius:999px;border:1px solid var(--line-strong);background:var(--raised);position:relative;cursor:pointer;transition:background .15s}
.seal-toggle input[role="switch"]::before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--ink-2);transition:translate .15s,background .15s}
.seal-toggle input[role="switch"]:checked{background:linear-gradient(var(--fill-a),var(--fill-b));border-color:transparent}
.seal-toggle input[role="switch"]:checked::before{translate:20px 0;background:var(--on-accent)}
.seal-toggle input[role="switch"]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (forced-colors:active){.seal-toggle input[role="switch"]{border:1px solid ButtonText}.seal-toggle input[role="switch"]::before{background:ButtonText}}
@media (prefers-reduced-motion:reduce){.seal-toggle input[role="switch"],.seal-toggle input[role="switch"]::before{transition:none}}
.seal-help{margin:.2rem 0 .1rem}
.seal-help p{margin:0 0 .15rem}
.seal-whats-off{padding-left:0;font-size:.9rem}
.seal-off{margin:.1rem 0 .4rem}
.seal-off h3{font-size:1rem;margin:.2rem 0 .3rem}
.seal-off ul{margin:0;padding-left:1.2rem;color:var(--ink-2);font-size:.9rem}
.seal-off li{margin:.15rem 0}
.seal-off li.seal-on-line{color:var(--ink)}
.seal-notice{text-align:center;padding:1.4rem 1.2rem 1.1rem;margin-top:1rem}
.seal-notice-lock{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:var(--tint);color:var(--accent-strong);margin-bottom:.4rem}
.seal-notice-lock svg{width:16px;height:18px}
.seal-notice .lede{font-family:var(--serif);font-size:1.15rem;line-height:1.35;color:var(--ink);margin:.2rem 0 .4rem}
.seal-notice .help{margin:0}
.seal-beta .actions{margin-top:.3rem}
.seal-lines{margin:.2rem 0 .6rem;text-align:center}
.seal-lines .seal-line{margin:.15rem 0;font-size:.88rem;color:var(--ink-2)}
.seal-lines .seal-line.help{color:var(--ink-3);font-size:.85rem}
.seal-lines .seal-broken{color:var(--danger);font-weight:600}
.seal-lines .seal-waiting{color:var(--ink);font-weight:600}
.seal-lines .seal-held{color:var(--ink);font-weight:600}
.history .story.locked .locked-words{margin:.1rem 0 0;font-style:italic;color:var(--ink-3)}
.q-answer .q-locked{font-style:italic;color:var(--ink-3);overflow-wrap:anywhere}
.history .notice.seal-line{color:var(--ink-2)}
/* A hearth on the page (part W2): where the memories are, at the top of Talk, and one quiet line per memory row. */
.hearth-where{margin:.4rem 0 .6rem;text-align:center;font-size:.92rem;color:var(--ink-2)}
.history .notice.hearth-record{color:var(--ink-2)}
/* "A hearth with Hope" is never cut short: on a narrow screen, or with large text, it takes a second line, and when
   even that leaves no room the mark moves under People rather than squeezing the name. */
#room-view .topline.hearth-top{flex-wrap:wrap;row-gap:.15rem}
.topline h1.hearth-name{flex:1 1 6rem;white-space:normal;text-overflow:clip;text-wrap:balance;line-height:1.25;overflow-wrap:break-word}
.topline.hearth-top .room-sealed{margin-left:auto}
.seal-composer-note{margin:.3rem 0 .5rem;text-align:center;font-size:.9rem;font-weight:600;color:var(--danger)}
.seal-composer-note.quiet-note{color:var(--ink-2)}
.reasons label.seal-cant-sit{color:var(--ink-3);flex-wrap:wrap;column-gap:.6rem;row-gap:0}
.bots-sealed{margin:0 0 .75rem}.bots-sealed p{margin:0 0 .2rem}
.reasons label.seal-cant-sit .seal-cant-sit-line{flex-basis:100%;margin:-.6rem 0 .35rem 1.9rem;font-size:.85rem}

/* ---------- Settings (settings.js): You, Your computers, Add a computer, Get help. Things about you, not about one fire. ---------- */
/* The landing bar's Settings button, and who is signed in. */
.settings-open{min-width:var(--tap);font-size:1rem;margin-right:-.5rem}
.settings-open svg{width:20px;height:20px;flex:none}
.fires>h1{margin-bottom:.1rem}
.signed-in-line{margin:0 0 .7rem}
.signed-in{margin-left:-.5rem;font-weight:500;font-size:1rem;text-align:left}
.signed-in bdi{overflow-wrap:anywhere}
.chevron{flex:none;color:var(--ink-3);font-size:1.3rem;line-height:1}
.signed-in .chevron{color:inherit;font-size:1.1rem}
#computer-nudge .help{font-size:1rem}
#computer-nudge .actions>.primary{min-height:52px;font-size:1.125rem}
/* One screen at a time: a way back with a word, one heading, one main button. */
.settings{padding:0 0 2.5rem}
.settings-top{display:flex;align-items:center;min-height:56px;padding:.6rem 0 .2rem}
.settings-back{min-width:var(--tap);min-height:var(--tap);margin-left:-.5rem;font-size:1rem;gap:.3rem}
.settings-back>span[aria-hidden]{font-size:1.6rem;line-height:1;font-weight:400;margin-top:-.15em}
.settings-screen>h1{font-size:1.9rem;margin:.4rem 0 .5rem;overflow-wrap:anywhere}
.settings-screen h2{font-size:1.25rem;margin:1.2rem 0 .4rem}
.settings-screen .card h2{margin-top:0}
.settings-screen p{font-size:1rem}
.settings-screen .help{font-size:.9375rem}
.settings-screen .lede{font-size:1.125rem;color:var(--ink);margin:0 0 1rem}
.step-line{margin:.2rem 0 0;color:var(--ink-2);font-weight:600;font-size:.9375rem;min-height:1.4em}
.settings-screen .actions.main{margin-top:1.2rem}
.settings-screen .actions.main>.primary{flex:1 1 100%;justify-content:center;text-align:center;min-height:52px;font-size:1.125rem;display:inline-flex;align-items:center}
.settings-screen .actions .quiet{min-height:var(--tap);font-size:1rem}
/* Settings home: big rows. */
.settings-rows{padding:.3rem 0;display:flex;flex-direction:column}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:64px;padding:.7rem 1.1rem;border:0;border-radius:0;background:none;color:var(--ink);text-align:left;text-decoration:none;font-weight:400}
.settings-row+.settings-row{border-top:1px solid var(--line)}
.settings-row:first-child{border-radius:var(--r-card) var(--r-card) 0 0}.settings-row:last-child{border-radius:0 0 var(--r-card) var(--r-card)}
.settings-row:hover{background:color-mix(in srgb,var(--tint) 45%,transparent)}
.settings-row:focus-visible{outline-offset:-3px}
.row-words{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.row-title{font-family:var(--serif);font-size:1.25rem;color:var(--ink)}
.row-line{color:var(--ink-2);font-size:.9375rem;min-height:1.4em;overflow-wrap:anywhere}
.settings-foot{text-align:center;margin-top:2rem}
.settings-links{display:flex;flex-direction:column;align-items:flex-start;margin-top:.6rem}
.settings-links .quiet{margin-left:-.5rem;font-size:1rem}
/* You. */
.you-name{font-family:var(--serif);font-size:1.7rem;line-height:1.2;margin:.6rem 0 .2rem;overflow-wrap:anywhere}
/* Awake or asleep: a word with a dot, never the colour alone. */
.status{display:inline-flex;align-items:center;gap:.4rem;font-size:.9375rem;font-weight:600;color:var(--ink-2);white-space:nowrap}
.status .dot{width:.6rem;height:.6rem;border-radius:50%;background:var(--ink-3);flex:none}
.status.awake{color:#7BC48F}.status.awake .dot{background:#7BC48F}
:root[data-theme="light"] .status.awake{color:#2F5A2D}:root[data-theme="light"] .status.awake .dot{background:#3C7A39}
.status.asleep .dot{background:none;border:2px solid var(--ink-3)}
/* Your computers: one card each; the whole card opens it. */
.computer-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:76px;text-align:left;font-weight:400;color:var(--ink)}
.computer-card:hover{border-color:var(--line-strong)}
.computer-words{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.computer-head{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .8rem}
.computer-card .title,.machine-name{font-family:var(--serif);font-size:1.25rem;color:var(--ink);overflow-wrap:anywhere}
.at-line{color:var(--ink-2);font-size:.9375rem;overflow-wrap:anywhere}
/* One computer. */
.computer-line{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;white-space:pre-wrap;font-size:1.0625rem;margin:.2rem 0 .3rem}
.seat-rows{list-style:none;margin:.3rem 0 .6rem;padding:0;border-top:1px solid var(--line)}
.seat-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:52px;border-bottom:1px solid var(--line)}
.seat-fire{min-width:0;overflow-wrap:anywhere;font-size:1.0625rem}
.seat-row .here{flex:none;color:var(--ink-2);font-weight:600;padding:0 .5rem}
.seat-row .here:focus{outline:none}
.seat-row .quiet{flex:none;white-space:nowrap}
.more-about{margin:1.2rem 0 0}
.more-about+.can-do{margin-top:0}
.fold-steps{margin:.2rem 0 .9rem;padding-left:1.5rem}.fold-steps li{margin:0 0 .55rem;padding-left:.2rem;line-height:1.5}
.more-about>summary{cursor:pointer;color:var(--ink-2);font-weight:600;min-height:var(--tap);display:flex;align-items:center;gap:.4rem;list-style:none}
.more-about>summary::-webkit-details-marker{display:none}
.more-about>summary::before{content:"›";display:inline-block;transition:transform .2s;color:var(--ink-3)}
.more-about[open]>summary::before{transform:rotate(90deg)}
.can-do ul{margin:.2rem 0 .4rem;padding-left:1.2rem;overflow-wrap:anywhere}
.machine-card .can-do{margin:.1rem 0 0}
.remove-row{margin-top:1.6rem;padding-top:.8rem;border-top:1px solid var(--line)}
.quiet.danger{color:var(--danger)}
/* Add a computer. */
.code-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.75rem;letter-spacing:.3em;text-transform:uppercase;text-align:center;min-height:64px;padding:.5rem .6rem}
.add-error{color:var(--danger);font-weight:600;margin:.5rem 0 0}
.add-error:empty,#add-status:empty{display:none}
.add-machine{margin:.6rem 0 1rem}
.add-name{font-family:var(--serif);font-size:1.6rem;line-height:1.2;margin:0 0 .2rem;overflow-wrap:anywhere}
.add-machine .help{margin:0}
/* The long line a person checks by eye: always two rows of four groups, and a group is never cut in two. */
.code.letters{display:grid;grid-template-columns:repeat(4,max-content);justify-content:start;column-gap:.15em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(.95rem,5vw,1.35rem);line-height:1.6;letter-spacing:.08em;overflow-wrap:normal;word-break:normal;user-select:all;margin:.2rem 0 .7rem;padding:.7rem .9rem}
.code.letters .group{white-space:nowrap}
.code.letters.small{display:inline-grid;font-size:.95rem;margin:.2rem 0 0;padding:.35rem .6rem}
/* A link on a line of its own, as easy to tap as a button. */
.link-line{margin:0}.link-line .quiet{margin-left:-.5rem;font-size:1rem}
.link-line.stuck{margin-top:1.2rem;padding-top:.4rem;border-top:1px solid var(--line)}
.add-get{margin:1rem 0 0}.add-no-hint{margin:0 0 .2rem}
.settings-foot .quiet{font-size:.9375rem}
:root[data-theme="light"] .danger-fill{color:#FCF8F0}
.pick{margin:1rem 0 .4rem;min-width:0}
.pick legend{font-family:var(--serif);font-size:1.25rem;font-weight:500;color:var(--ink);padding:0;margin-bottom:.3rem}
.pick .pick-row{min-height:48px;width:100%;padding:.2rem 0;border-bottom:1px solid var(--line);font-size:1.0625rem;cursor:pointer}
.pick .pick-row span{min-width:0;overflow-wrap:anywhere}
.pick .pick-row input{width:1.25rem;height:1.25rem;flex:none}
.pick .pick-row.done{color:var(--ink-2)}
.pick>.help{margin-top:.5rem}
#add-other pre{font-size:.82rem}
/* The fire's More: computers at this fire, and putting the fire out, each in a card of their own. */
.machine-card{padding:.7rem 1rem;margin:.5rem 0}
.machine-head{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .8rem;margin:0}
.machine-head .pill{margin:0}
.machine-card .quiet{margin-left:-.5rem}
#machine-bring{margin-top:.2rem}#machine-bring .quiet,#machine-add{margin-left:-.5rem}
#machine-add-line{margin:.2rem 0 0}
#advanced .close-fire{margin:2.4rem 0 1.2rem}
.close-fire h3{margin:0 0 .3rem}
#advanced>.guide{margin:1.2rem 0}
/* The dock's fold button says what it does: Menu when folded, Hide when open. */
.fireside-toggle{grid-template-rows:auto auto;align-content:center;row-gap:0;border-radius:12px}
.fireside-toggle svg{width:16px;height:16px}
/* The word fits the 44 px button at this size, so the button stays centred under Send; it may only grow, never clip. */
.fireside-toggle{width:auto;min-width:var(--tap)}
.toggle-word{font-size:.8125rem;font-weight:600;line-height:1.15;letter-spacing:.01em}
@media (forced-colors:active){.status .dot{forced-color-adjust:none}.settings-row+.settings-row{border-color:CanvasText}}
@media (prefers-reduced-motion:reduce){.more-about>summary::before{transition:none}}

/* Watchtowers share the page controls and follow the host theme, or the system preference. */
/* The emma watchtower brand kit (watchtower/, SIL OFL licences beside the fonts). Fonts load only where the brand
   uses them, so campfire pages never fetch them. Carbon on Paper; Ember fills the one primary action with Carbon
   words (Ember words on Paper are too light to read); Oxide is for danger and errors only. */
@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url(/watchtower/brand/geist.woff2) format("woff2")}
@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/watchtower/brand/instrument-serif.woff2) format("woff2")}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/watchtower/brand/instrument-serif-italic.woff2) format("woff2")}
.watch-mark{display:none}
:root[data-brand="watchtower"]{--wt-carbon:#111210;--wt-paper:#F2F0E9;--wt-ember:#F6A95F;--wt-soft-carbon:#242522;--wt-oxide:#A63B21;
--canvas:var(--wt-paper);--raised:#F8F7F2;--sunken:#E9E6DC;--line:#D3CFC3;--line-strong:#6E6D66;--ink:var(--wt-carbon);--ink-2:var(--wt-soft-carbon);--ink-3:#55564F;
--accent:var(--wt-carbon);--accent-strong:var(--wt-soft-carbon);--tint:#FBE6CF;--fill-a:var(--wt-ember);--fill-b:var(--wt-ember);--on-accent:var(--wt-carbon);
--glow:transparent;--danger:var(--wt-oxide);--wt-online:#2F5A2D;--wt-online-line:#7FA27A;--r-card:6px;--r-field:4px;
--serif:"Instrument Serif",Georgia,serif;--sans:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:light;font-family:var(--sans)}
:root[data-brand="watchtower"][data-theme="dark"]{--canvas:var(--wt-carbon);--raised:#1C1D1A;--sunken:#0B0C0A;--line:#383A34;--line-strong:#83877B;--ink:var(--wt-paper);--ink-2:#D6D5CA;--ink-3:#AFB2A4;
--accent:var(--wt-paper);--accent-strong:#FFFFFF;--tint:#3D3022;--danger:#F39B85;--wt-online:#94C69A;--wt-online-line:#5F8865;color-scheme:dark}
@media (prefers-color-scheme:dark){
:root[data-brand="watchtower"]:not([data-theme="light"]):not([data-theme="dark"]){--canvas:var(--wt-carbon);--raised:#1C1D1A;--sunken:#0B0C0A;--line:#383A34;--line-strong:#83877B;--ink:var(--wt-paper);--ink-2:#D6D5CA;--ink-3:#AFB2A4;
--accent:var(--wt-paper);--accent-strong:#FFFFFF;--tint:#3D3022;--danger:#F39B85;--wt-online:#94C69A;--wt-online-line:#5F8865;color-scheme:dark}
}
:root[data-brand="watchtower"] body{font-family:var(--sans)}
:root[data-brand="watchtower"] :is(h1,h2,h3){font-family:var(--serif);font-weight:400;letter-spacing:-.01em}
:root[data-brand="watchtower"] h4{font-family:var(--sans);font-weight:600}
:root[data-brand="watchtower"] a{color:var(--ink);text-underline-offset:.18em}
:root[data-brand="watchtower"] :is(button,a,summary,input,textarea,[tabindex]):focus-visible{outline-color:var(--ink)}
:root[data-brand="watchtower"] :is(.primary,a.button.primary){background:var(--wt-ember);color:var(--wt-carbon);border:1px solid var(--wt-carbon);box-shadow:none;border-radius:4px;font-weight:600}
:root[data-brand="watchtower"] :is(.primary,a.button.primary):hover{background:#F39A45}
:root[data-brand="watchtower"] .danger-fill{background:var(--wt-oxide);color:var(--wt-paper)}
/* Remove buttons stay Oxide, never Ember. Paper on Oxide is about 4.7:1. */
:root[data-brand="watchtower"] :is(.primary,a.button.primary).danger-fill{background:var(--wt-oxide);color:var(--wt-paper);border-color:var(--wt-oxide)}
:root[data-brand="watchtower"] :is(.primary,a.button.primary).danger-fill:hover{background:#8A2F19;border-color:#8A2F19}
:root[data-brand="watchtower"] :is(button,a.button){border-radius:4px}
:root[data-brand="watchtower"] .quiet{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
:root[data-brand="watchtower"] .danger{color:var(--danger);border-color:var(--danger)}
:root[data-brand="watchtower"] .online{color:var(--wt-online);border-color:var(--wt-online-line)}
/* The name: the rook mark beside "emma watchtower" in Geist. Never the kit's wordmark, which spells it with a capital. */
:root[data-brand="watchtower"] .fires-bar .brand-mark{display:none}
:root[data-brand="watchtower"] .fires-bar .watch-mark{display:block;flex:none;width:24px;height:24px;color:var(--ink)}
:root[data-brand="watchtower"] .fires-bar .wordmark{font-family:var(--sans);font-size:1.25rem;font-weight:600;letter-spacing:-.01em;gap:.45rem}
:root[data-brand="watchtower"] .fires-bar .wordmark>span::after{content:" watchtower"}
/* The signed-out welcome (watchtower.html). */
:root[data-brand="watchtower"] body.about .brand{font-family:var(--sans);font-size:1.2rem;font-weight:600;letter-spacing:-.01em;gap:.45rem}
:root[data-brand="watchtower"] body.about .brand .watch-mark{display:block;width:24px;height:24px;flex:none}
:root[data-brand="watchtower"] .hero::before{display:none}
:root[data-brand="watchtower"] .about h1{font-size:clamp(2.6rem,10vw,4rem);line-height:.98;letter-spacing:-.02em;margin:.4rem 0 .9rem}
:root[data-brand="watchtower"] .about h2{font-size:clamp(1.7rem,6vw,2.1rem);line-height:1.1}
:root[data-brand="watchtower"] .about .steps h3{font-size:1.5rem}
:root[data-brand="watchtower"] .eyebrow{color:var(--ink-3);font-weight:500}
:root[data-brand="watchtower"] .lede{font-family:var(--sans);font-size:1.125rem;line-height:1.5;color:var(--ink)}
:root[data-brand="watchtower"] .steps>li,:root[data-brand="watchtower"] .panel{border-radius:6px;border-color:var(--line);background:var(--raised)}
:root[data-brand="watchtower"] .steps.numbered h3::before{color:var(--ink-3)}
:root[data-brand="watchtower"] .invited{border-color:var(--ink)}
:root[data-brand="watchtower"] .about .invited h2{margin-top:0}
:root[data-brand="watchtower"] .question[data-for="you"] .q-choice:not(:disabled):not(.q-other){background:var(--raised);color:var(--ink);border:1.5px solid var(--ink);box-shadow:none;border-radius:4px}
:root[data-brand="watchtower"] .question[data-for="you"] .q-choice:not(:disabled):not(.q-other):hover{background:var(--tint);filter:none}
:root[data-brand="watchtower"] .q-choice{border-radius:4px}
/* A tick contrasts with the selected box in either palette. */
:root[data-brand="watchtower"] .chip-tick[aria-pressed="true"] .tick-box::after{border-color:var(--canvas)}
:root[data-brand="watchtower"] body.about>footer{color:var(--ink-3)}
@media (forced-colors:active){.watch-mark{forced-color-adjust:auto}}
#watch-setup label{display:block;margin:.75rem 0 .25rem;font-weight:600}
#watch-setup input,#watch-setup textarea{width:100%;box-sizing:border-box;font:inherit}
#watch-setup textarea{min-height:12rem;font-family:var(--mono,ui-monospace,monospace);font-size:.9rem}
/* Watchtower report cards (emma-watch-card-v1): the answer check and the record's status, drawn from the saved files.
   Carbon words on the raised Paper, large type, room to breathe; Oxide only for problems. Fits 390 px without sideways scroll. */
.history .story.watch-report{padding:.7rem 0 .9rem}
.wcard{background:var(--raised);border:1px solid var(--line-strong);border-radius:var(--r-card);padding:1.15rem 1.3rem 1.2rem;max-width:40rem;min-width:0;font-family:var(--sans);color:var(--ink);overflow-wrap:anywhere}
.history .story .wcard .who{font-family:var(--sans);font-size:1rem;font-weight:600;color:var(--ink-2);margin:0}
.wcard .w-title{font-family:var(--serif);font-weight:400;font-size:1.85rem;line-height:1.1;letter-spacing:-.01em;margin:.25rem 0 .3rem}
.wcard .w-date{font-size:1rem;font-weight:600;margin:0 0 .5rem;color:var(--ink)}
.wcard .w-how,.wcard .w-products{font-size:1rem;line-height:1.45;margin:0 0 .35rem;color:var(--ink-2)}
.wcard .w-rows{list-style:none;margin:.9rem 0 0;padding:0;border-top:1px solid var(--line)}
.wcard .w-row{padding:.8rem 0;border-bottom:1px solid var(--line)}
.wcard .w-label{font-size:1.1rem;font-weight:600;line-height:1.3;margin:0 0 .45rem}
.wcard .w-nums{display:flex;flex-wrap:wrap;gap:.4rem 2rem}
.wcard .w-num{margin:0;font-size:1.05rem;line-height:1.35;display:flex;flex-wrap:wrap;align-items:baseline;gap:.1rem .45rem;min-width:0}
.wcard .w-num-word{color:var(--ink-2)}
.wcard .w-num-value{font-size:1.35rem;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink)}
.wcard .w-was{font-size:.92rem;color:var(--ink-3);font-variant-numeric:tabular-nums}
.wcard .w-blocked{margin:.35rem 0 0;font-size:.95rem;color:var(--ink-3)}
.wcard .w-section{margin-top:1rem}
.wcard .w-section-title{font-family:var(--sans);font-size:1.05rem;font-weight:600;margin:0 0 .4rem}
.wcard .w-list,.wcard .w-waiting{list-style:none;margin:0;padding:0}
.wcard .w-item{font-size:1rem;line-height:1.45;padding:.3rem 0;display:flex;flex-wrap:wrap;gap:.15rem .55rem;min-width:0}
.wcard .w-question{display:block;padding-left:.9rem;border-left:3px solid var(--line)}
.wcard .w-question+.w-question{margin-top:.35rem}
.wcard .w-line{align-self:flex-start;font-variant-numeric:tabular-nums;font-weight:650;background:var(--sunken);border-radius:3px;padding:0 .35rem;color:var(--ink)}
.wcard .w-item-who{font-weight:600;color:var(--ink-2)}
.wcard .w-item-words{flex:1 1 12rem;min-width:0}
.wcard .w-big{font-size:1.35rem;font-weight:600;margin:.1rem 0 .6rem;font-variant-numeric:tabular-nums}
.wcard .w-waiting .w-item{font-size:1.05rem}
.wcard .w-spent{margin:1rem 0 0;font-size:1rem;font-weight:600;font-variant-numeric:tabular-nums}
.wcard .w-status{margin:1rem 0 0;font-size:1.1rem;font-weight:650}
.wcard .w-status[data-passes="false"]{color:var(--danger)}
.history .story.watch-report .meta{margin-top:.45rem}
@media (max-width:480px){.wcard{padding:1rem .95rem 1.05rem}.wcard .w-title{font-size:1.6rem}.wcard .w-nums{gap:.35rem 1.4rem}}
/* Guardian evidence is read by the owner of this Watchtower. */
:is(#guardian-reports-open,.watchtower-room-action){flex:none;white-space:nowrap;font-size:.86rem;padding-inline:.5rem}
#guardian-reports-list{list-style:none;margin:0;padding:0}
.guardian-report{padding:1rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.guardian-report-title{margin:0 0 .2rem}
.guardian-report-method{margin:0 0 .75rem}
.guardian-report-details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.25rem .9rem;margin:0 0 .85rem;font-size:.88rem}
.guardian-report-details dt{font-weight:600;color:var(--ink-2)}
.guardian-report-details dd{margin:0}
.guardian-report-evidence{border-inline-start:3px solid var(--line-strong);padding-inline-start:.7rem;margin-top:.8rem}
.guardian-report-evidence[data-role="red"]{border-inline-start-color:var(--wt-oxide)}
.guardian-report-evidence[data-role="blue"]{border-inline-start-color:#356381}
.guardian-report-evidence :is(h4,p,blockquote){margin:0}
.guardian-report-evidence h4{font-size:.95rem;margin-bottom:.2rem}
.guardian-report-evidence blockquote{white-space:pre-wrap}
@media (max-width:480px){
  #room-view .topline:has(:is(#guardian-reports-open,.watchtower-room-action):not([hidden])){flex-wrap:wrap}
  :is(#guardian-reports-open,.watchtower-room-action){order:1;flex-basis:100%;text-align:start}
}
.actions:has(> #watch-review-queue-open[hidden]){display:none}
.watch-review-list,.watch-review-sources{list-style:none;margin:.65rem 0;padding:0}
.watch-review-list>li+li{margin-top:.9rem}
.watch-review-card{max-width:none;overflow-wrap:anywhere}
.watch-review-label{margin:.55rem 0 .15rem;font-size:.84rem;font-weight:600;color:var(--ink-2)}
.watch-review-copy,.watch-review-card blockquote{white-space:pre-wrap;margin:0 0 .35rem}
.watch-review-wording>blockquote{font-family:var(--serif);font-size:1.2rem}
.watch-review-sources>li+li{margin-top:.45rem}
.watch-review-sources time{margin-inline-start:.5rem;color:var(--ink-2);font-size:.8rem}
.watch-review-sources blockquote{border-inline-start:2px solid var(--line-strong);padding-inline-start:.55rem}
.watch-review-choices{display:grid;gap:.55rem;margin-top:.75rem}
.watch-review-choice-preview{margin:0;font-weight:600}
#watch-reviews-sheet .q-choice:not(.watch-review-approve):not(:disabled){color:var(--ink);background:var(--raised);border-color:var(--line-strong);box-shadow:none}
#watch-review-queue-sheet input[type=file]{max-width:100%;margin-bottom:.65rem}
.watch-review-mapping,#watch-review-copy-status{margin:.35rem 0}
#watch-review-copy-status:empty{display:none}
#watch-review-copy-fallback{display:block;overflow-wrap:anywhere;user-select:all;margin:.35rem 0}
/* Sealed fires: helpers, backups and hearths (the amendment A27 to A36) */
.seal-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:-.2rem 0 .8rem}
.seal-acts button{min-height:var(--tap)}
.sealed-mark.unchecked{border-style:dashed}
.seal-off h3:not(:first-child){margin-top:.8rem}
.confirm-words p{margin:0 0 .4rem}
.confirm-pick{margin:.5rem 0 .2rem}
.seal-sheet-lines p{margin:0 0 .3rem}
.seal-code-digits{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;gap:.55rem 1.2rem;margin:.3rem 0 .8rem;padding:1rem .8rem;background:var(--sunken);border:1px solid var(--line);border-radius:var(--r-field);color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.5rem;line-height:1.3;letter-spacing:.08em;font-variant-numeric:tabular-nums}
@media (max-width:420px){.seal-code-digits{font-size:1.2rem;gap:.45rem .8rem;padding:.8rem .5rem}}
.seal-code-step .sect{margin-top:.6rem}
.seal-code-done{font-weight:600;color:var(--ink);margin:.2rem 0}
.seal-code-ask h3{font-size:1.1rem;margin:.4rem 0 .5rem;color:var(--ink)}
.space-equals{margin:0 0 .4rem}.space-equals p{margin:0 0 .15rem}
.space-honest{margin:1rem 0 0;padding-top:.8rem;border-top:1px solid var(--line)}.space-honest p{margin:0 0 .2rem}
.space-leave{margin-top:.6rem}.space-leave .actions{margin-top:.2rem}
.helper-row .seal-cant-post{color:var(--ink)}
.seal-sheet-lines{margin-top:.7rem}
/* Reactions (outputs/CAMPFIRE-REACTIONS.md): chips under words and pictures, and a small picker. A reaction wakes nobody. */
.reactions{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.2rem;font-family:var(--sans)}
.reaction{position:relative;display:inline-flex;align-items:center;gap:.35rem;min-height:32px;padding:.1rem .65rem;border:1px solid var(--line);border-radius:999px;background:var(--raised);color:var(--ink-2);font-size:.85rem;font-weight:500;line-height:1;cursor:pointer;transition:border-color .12s,background-color .12s}
.reaction:hover{border-color:var(--line-strong)}
.reaction[aria-pressed="true"],.reaction.mine{border-color:var(--accent);background:var(--tint);color:var(--ink)}
span.reaction{cursor:default}
.reaction-emoji{font-size:1rem}
.reaction-count{font-variant-numeric:tabular-nums;font-weight:600}
.reaction-add{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:1px;min-width:40px;min-height:32px;padding:0 .5rem;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink-2);font-size:1.25rem;font-weight:400;line-height:1;cursor:pointer;transition:color .12s,border-color .12s,background-color .12s}
.reaction-add:hover,.reaction-add[aria-expanded="true"]{color:var(--accent);border-color:var(--accent)}
.reaction-plus{font-size:.8rem;font-weight:700}
/* With no reactions yet, the add button sits in the small line under the words, beside the time (placeReactions in app.js). */
.reactions.empty{margin:0 0 0 auto;flex:none}
.history .story .meta .reactions.empty+.copy-content,.history .picture-foot .reactions.empty+.more{margin-left:0}
.reactions.empty .reaction-add{min-height:36px;border-color:transparent}
.reactions.empty .reaction-add:hover,.reactions.empty .reaction-add[aria-expanded="true"]{background:var(--tint);border-color:transparent}
/* With a mouse it shows when you point at the story (or tab into it); on a touch screen it is always there, quietly. */
@media(hover:hover){.history .story .reactions.empty{opacity:0;transition:opacity .12s}.history .story:hover .reactions.empty,.history .story:focus-within .reactions.empty,.history .story .reactions.empty:has([aria-expanded="true"]){opacity:1}}
/* Fingers get 44px to aim at, though the chips stay small. */
@media(pointer:coarse){.reactions{gap:.5rem}.reaction{min-height:36px}.reaction-add{min-width:var(--tap);min-height:36px}
 .history .story .meta .copy-content{position:relative}
 :is(button.reaction,.reaction-add,.history .story .meta .copy-content)::before{content:"";position:absolute;inset:-5px 0}}
/* A turn that carries on under someone's chips keeps a little air above it. */
.history .story:has(>.reactions)+.story.continued{margin-top:0;padding-top:.3rem}
.reaction-picker{position:fixed;z-index:30;width:max-content;max-width:calc(100vw - 16px);padding:.4rem .4rem .5rem;border:1px solid var(--line-strong);border-radius:20px;background:var(--raised);box-shadow:0 12px 32px rgb(0 0 0/.42);transform-origin:50% 0;animation:reaction-pop .14s ease-out}
.reaction-picker.above{transform-origin:50% 100%}
:root[data-theme="light"] .reaction-picker{box-shadow:0 10px 28px rgb(42 24 16/.18)}
.reaction-picker[hidden]{display:none}
@keyframes reaction-pop{from{opacity:0;transform:scale(.96)}}
.reaction-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:.15rem}
.reaction-choice{flex:none;width:var(--tap);min-width:var(--tap);min-height:var(--tap);padding:0;border:0;border-radius:14px;background:transparent;font-size:1.45rem;line-height:1;cursor:pointer;transition:background-color .1s,transform .1s}
.reaction-choice:hover,.reaction-choice:focus-visible{background:var(--sunken)}
.reaction-choice:focus-visible{outline-offset:-2px}
.reaction-choice:active{transform:scale(.9)}
.reaction-choice[aria-pressed="true"]{background:var(--tint);box-shadow:inset 0 0 0 1.5px var(--accent)}
.reaction-hint{margin:.35rem .5rem .05rem;max-width:19.5rem;font-family:var(--sans);font-size:.8125rem;line-height:1.4;color:var(--ink-2)}
@media(prefers-reduced-motion:reduce){.history .story .reactions.empty,.reaction,.reaction-add,.reaction-choice{transition:none}.reaction-picker{animation:none}.reaction-choice:active{transform:none}}
@media(forced-colors:active){.reaction[aria-pressed="true"],.reaction.mine,.reaction-choice[aria-pressed="true"]{outline:2px solid Highlight;outline-offset:-2px}}
/* One door (HELPERS-FLOW step 3): the + seat on the ring and the Bring a helper sheet. Tokens only, so both skins carry it. */
.mark--add{background:transparent;border:1.5px dashed var(--line-strong);color:var(--ink-2);font-family:var(--sans);font-size:22px}
#scene .seat-add:hover .mark--add{border-color:var(--accent);color:var(--accent)}
.bring-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));gap:.6rem;margin:.4rem 0 .8rem}
.bring-tile{display:flex;flex-direction:column;align-items:center;gap:.35rem;min-height:7.5rem;padding:.9rem .5rem;border:1px solid var(--line);border-radius:var(--r-field);background:var(--raised);color:var(--ink);font:inherit;text-align:center;cursor:pointer}
.bring-tile:hover,.bring-tile:focus-visible{border-color:var(--accent)}
.bring-tile.grey{opacity:.6}
.bring-tile-name{font-weight:600;font-size:1rem;overflow-wrap:anywhere}
.bring-tile-sub{font-size:.84rem;color:var(--ink-2)}
.bring-yours{margin:0 0 .8rem}
.bring-yours-row{display:flex;align-items:center;gap:.8rem;width:100%;min-height:var(--tap);padding:.35rem 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.bring-yours-row .who{display:flex;flex-direction:column;min-width:0}
.bring-yours-row .bot-sub{font-size:.86rem;color:var(--ink-2)}
.bring-glance select{max-width:100%}
.bring-ask{display:flex;flex-wrap:wrap;gap:.3rem 1rem}
.notice-remove{margin-left:.2rem}
/* Motiv (BRANDS.motiv in app.js): a contractor's room at /motiv/, in Motiv.ai's own look (Eric's: motiv-command-center's
   dark theme, its orange #FF6A00 and its M mark). Always dark; Geist for words, a heavy condensed face for titles. */
:root[data-brand="motiv"]{--canvas:#0A0A0A;--raised:#161616;--sunken:#050505;--line:#262626;--line-strong:#6B6B6B;--ink:#F5F5F5;--ink-2:#C4C4C4;--ink-3:#A3A3A3;
--accent:#FF6A00;--accent-strong:#FF8433;--tint:#FF6A0024;--fill-a:#FF6A00;--fill-b:#FF6A00;--on-accent:#0A0A0A;--glow:transparent;--danger:#FF8A7A;--r-card:12px;--r-field:10px;
--serif:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;--sans:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:dark;font-family:var(--sans)}
:root[data-brand="motiv"] .motiv-word{font-weight:800;font-stretch:condensed;letter-spacing:.06em;color:var(--ink)}
:root[data-brand="motiv"] .motiv-word b{color:var(--accent);font-weight:800}
:root[data-brand="motiv"] .motiv-mark{width:1.9em;height:1.8em;flex:none}
:root[data-brand="motiv"] .brand:has(.motiv-mark){display:inline-flex;align-items:center;gap:.5em}

/* Bring a helper: emma's own helper first, by itself; the rest is behind "Bring your own AI". */
.bring-easy{margin:0 0 1rem;padding:1rem;border:1px solid var(--line);border-radius:18px;background:var(--raised)}
.bring-easy h3{margin:0 0 .3rem;font-size:1.1rem}
.bring-easy p{margin:0 0 .7rem;color:var(--ink-2)}
#bring-more .bring-tiles{margin-top:.6rem}

/* Campfire cards (docs/CAMPFIRE-CARDS.md): what campfire-cards.js draws, in the fire's own colours, so every brand's
   card takes its brand's look from the same variables. */
.scard{background:var(--raised);border:1px solid var(--line);border-radius:var(--r-card);padding:.9rem 1.05rem .95rem;max-width:34rem;min-width:0}
.surface-card.question[data-for="you"] .scard{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset,0 8px 24px var(--glow)}
.scard>.who{display:block;font-size:.85rem;font-weight:600;color:var(--accent-strong);margin:0 0 .35rem}
.scard-plain{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.a2-surface{min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.a2-surface p{margin:0;max-width:none}.a2-text{overflow-wrap:anywhere}.a2-text.is-caption{color:var(--ink-2);font-size:.9rem}.a2-text[hidden]{display:none}
.a2-column{display:flex;flex-direction:column;gap:.5rem;min-width:0}.a2-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;min-width:0}
.a2-list{display:flex;flex-direction:column;gap:.4rem;min-width:0}.a2-list.is-horizontal{flex-direction:row;flex-wrap:wrap}
.a2-card{border:1px solid var(--line);border-radius:var(--r-field);background:var(--sunken);padding:.6rem .75rem;min-width:0}
.a2-divider{width:100%;border:0;border-top:1px solid var(--line);margin:.3rem 0 .1rem}
.a2-surface button{min-height:var(--tap);margin:0;padding:.45rem 1.05rem;border-radius:999px;border:1px solid var(--line-strong);background:var(--sunken);color:var(--ink);font-weight:600;font-size:.95rem;max-width:100%;overflow-wrap:anywhere;text-align:center}
.a2-surface button.primary{border-color:var(--accent);background:linear-gradient(var(--fill-a),var(--fill-b));color:var(--on-accent)}
.a2-surface button.a2-borderless{border-color:transparent;background:transparent;color:var(--accent);font-weight:500}
.a2-surface button:disabled{opacity:.5;cursor:default}
.a2-field{display:grid;gap:.3rem;font-size:.9rem;font-weight:600;color:var(--ink-2);min-width:0}.a2-column>button{align-self:flex-start}
.a2-field input,.a2-field textarea{margin:0;width:100%;box-sizing:border-box;font-size:1rem;line-height:1.45;border-radius:var(--r-field)}.a2-field textarea{min-height:4.2rem}
.a2-said{margin:.45rem 0 0;font-weight:600;color:var(--danger)}.a2-said:empty{display:none}
.a2-steps{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem .9rem;margin:.1rem 0;padding:0;font-size:.85rem;color:var(--ink-2)}
.a2-steps li{display:flex;align-items:center;gap:.35rem}
.a2-steps li::before{content:"";width:.6rem;height:.6rem;border-radius:50%;border:2px solid var(--line-strong);box-sizing:border-box}
.a2-steps li.is-done::before{background:var(--accent);border-color:var(--accent)}
.a2-steps li.is-current{color:var(--ink);font-weight:650}.a2-steps li.is-current::before{border-color:var(--accent)}
.a2-steps.is-working li.is-current::before{background:var(--accent);animation:a2-pulse 1.2s ease-in-out infinite}
.a2-steps.is-failed li.is-current::before{border-color:var(--danger);background:var(--danger)}
@keyframes a2-pulse{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.a2-steps.is-working li.is-current::before{animation:none}}
@media (max-width:440px){.a2-row{flex-direction:column;align-items:stretch}.a2-surface button,.a2-column>button{width:100%;align-self:stretch}}

#specialist-open{display:grid;place-items:center;flex:none;align-self:center;width:var(--tap);height:var(--tap);padding:0;border:0;background:transparent;color:var(--accent)}
#specialist-open svg{width:30px;height:30px;display:block}
#specialist-intake{position:fixed;inset:auto 8px 8px auto;margin:0;width:min(23rem,calc(100vw - 16px));max-height:65vh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line-strong);border-radius:18px;padding:16px;color:var(--ink);background:var(--raised);box-shadow:0 8px 32px #0004}
#specialist-intake header{display:flex;align-items:center;justify-content:space-between}
#specialist-intake header button{font-size:1.4rem;width:44px;border:0;padding:0}
#specialist-seat{display:flex;gap:6px;flex-wrap:wrap;border:0;padding:0;margin:.5rem 0}
#specialist-seat legend{font-weight:600;margin-bottom:.4rem}
#specialist-seat .specialist-choice{display:flex;align-items:center;gap:8px;position:relative;min-height:44px;border:1px solid var(--line-strong);border-radius:14px;padding:4px 10px 4px 4px;cursor:pointer;margin:0}
.specialist-choice input{position:absolute;opacity:0;width:1px;height:1px}
.specialist-choice:has(:checked){background:var(--tint);outline:2px solid var(--accent)}
.specialist-choice:has(:checked)::after{content:'✓';font-weight:bold}
.specialist-choice:has(:focus-visible){outline:3px double var(--ink)}
.specialist-face{display:grid;place-items:center;background:var(--sunken);border-radius:50%;width:34px;height:34px;font-size:24px}
#specialist-intake summary{cursor:pointer;padding:.6rem 0;font-weight:600}
#specialist-intake details{margin-top:.5rem;border-top:1px solid var(--line)}
#specialist-status:empty{display:none}
