/* Basecamp Pulse. One page, one shared database, two experiences:
   - fellows (no edit access) get a phone check-in whose cards reorder by session phase;
   - facilitators (edit access) land on a console whose first screen answers "move on, wait, or go help?".
   Green / yellow / red mean room state only. Light theme by design. */
:root{
  /* CodePath palette (the redesign canvas): navy ink, periwinkle for "you" and help coming, green ready, amber more time, coral stuck. */
  --paper:#F6F7FB; --card:#FFFFFF; --ink:#1B1C57; --soft:#5C5F7A; --faint:#8A8DA3; --line:#EEF0F5; --line2:#E2E4EC;
  --pine:#13895C; --pine-d:#0E6B47; --pine-bg:#E3F6EE;
  --sun:#F5C542; --sun-d:#6B4E00; --sun-m:#E0A100; --sun-bg:#FFF6D6;
  --ember:#E2553D; --ember-d:#A2321F; --ember-bg:#FDE6E2;
  --sky:#4F5EFF; --sky-d:#3B3DBD; --sky-bg:#EEF0FF;
  --plum:#6A3DBD; --plum-d:#4E2A99; --plum-bg:#F1E8FF;
  --teal:#13895C; --teal-d:#0E6B47; --teal-bg:#E3F6EE;
  --slate-bg:#F3F4F8;
  --display:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"Poppins",system-ui,sans-serif;
  --spring:cubic-bezier(.3,1.5,.5,1); --ease:cubic-bezier(.2,.8,.2,1);
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.wrap{max-width:1120px;margin:0 auto;padding-block:14px 72px;display:flex;flex-direction:column;gap:14px}
h1,h2,h3,h4{font-family:var(--display);margin:0;line-height:1.12;text-wrap:balance;letter-spacing:-.2px}
button{font:inherit;color:inherit}
button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px #fff}
.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hint{font-size:.85rem;color:var(--soft);margin:0}
.lbl{font-size:.78rem;font-weight:700;color:var(--soft);letter-spacing:.2px}
body.booting main{visibility:hidden}

/* top bar */
.top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;margin-right:auto;min-width:0}
.logo svg{width:42px;height:42px;flex:none}
.logo h1{font-weight:800;font-size:1.2rem;line-height:1}
.logo small{display:block;font-size:.78rem;color:var(--soft);margin-top:3px}
.logo small.fac{color:var(--teal-d);font-weight:700}
.seg2{position:relative;display:flex;background:var(--card);border-radius:99px;padding:4px;box-shadow:0 1px 0 var(--line)}
.seg2 .ind{position:absolute;top:4px;bottom:4px;left:0;border-radius:99px;background:var(--ink);transition:transform .45s var(--spring),width .45s var(--spring)}
.seg2 button{position:relative;z-index:1;border:0;background:none;border-radius:99px;padding:0 16px;min-height:40px;font-family:var(--display);font-weight:600;cursor:pointer;transition:color .25s}
.seg2 button[aria-pressed="true"]{color:#fff}
.iconbtn{width:42px;height:42px;border:0;border-radius:14px;background:var(--card);box-shadow:0 1px 0 var(--line);display:grid;place-items:center;cursor:pointer;transition:transform .2s var(--spring)}
.iconbtn:hover{transform:translateY(-2px)}.iconbtn svg{width:20px;height:20px}
.clock{background:var(--card);border-radius:14px;padding:6px 12px;text-align:right;box-shadow:0 1px 0 var(--line)}
.clock .t{font-family:var(--mono);font-weight:700;font-size:1.2rem;line-height:1.1;font-variant-numeric:tabular-nums}
.clock .n{font-size:.75rem;color:var(--soft)}

/* compact NOW hero */
.hero{background:var(--card);border-radius:22px;padding:12px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;box-shadow:0 1px 0 var(--line),0 20px 44px -38px rgba(30,38,64,.6);transition:box-shadow .4s}
.hero.p-wrap{box-shadow:0 0 0 3px var(--sun-bg),0 20px 44px -38px rgba(30,38,64,.6)}
.hero.p-over{box-shadow:0 0 0 3px var(--ember-bg),0 20px 44px -38px rgba(30,38,64,.6)}
.ringwrap{position:relative;width:76px;height:76px;flex:none}
.ring{width:76px;height:76px;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:10}
.ring .trk{stroke:#EEF0F4}
.ring .prog{stroke:var(--teal);stroke-linecap:round;transition:stroke-dashoffset 1s linear,stroke .4s}
.ring.sweep .prog{transition:stroke-dashoffset .9s var(--ease),stroke .4s}
.ringtxt{position:absolute;inset:0;display:grid;place-items:center;align-content:center;text-align:center}
.ringtxt b{font-family:var(--mono);font-weight:700;font-size:1rem;line-height:1;font-variant-numeric:tabular-nums}
.ringtxt small{font-size:.66rem;color:var(--soft);margin-top:2px}
.hero[data-tone="wait"] .prog{stroke:var(--plum)}
.hero[data-tone="warm"] .prog{stroke:var(--sun)}.hero[data-tone="warm"] .ringtxt b{color:var(--sun-d)}
.hero[data-tone="hot"] .prog{stroke:var(--ember)}.hero[data-tone="hot"] .ringtxt b{color:var(--ember-d)}
.hero[data-tone="done"] .prog{stroke:#B7BDCB}
.hero.nudge .ringwrap{animation:nudge .7s var(--spring)}
@keyframes nudge{0%,100%{transform:none}30%{transform:scale(1.08) rotate(-4deg)}60%{transform:scale(.97) rotate(2deg)}}
.hmeta{min-width:0;display:flex;flex-direction:column;gap:3px}
.hline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.phase{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;border-radius:99px;padding:3px 10px 3px 8px;background:var(--paper);color:var(--soft)}
.phase i{width:8px;height:8px;border-radius:50%;background:currentColor}
.phase.ph-live{background:var(--teal-bg);color:var(--teal-d)}.phase.ph-live i{animation:beacon 2s ease-out infinite}
.phase.ph-open{background:var(--sky-bg);color:var(--sky-d)}
.phase.ph-wrap{background:var(--sun-bg);color:var(--sun-d)}
.phase.ph-before{background:var(--plum-bg);color:var(--plum-d)}
.phase.ph-ended{background:var(--slate-bg);color:var(--soft)}
@keyframes beacon{0%{box-shadow:0 0 0 0 rgba(15,155,142,.5)}80%,100%{box-shadow:0 0 0 8px rgba(15,155,142,0)}}
.htitle{font-size:clamp(1.2rem,3vw,1.6rem);view-transition-name:htitle}
.htitle.roll{animation:roll .5s var(--spring)}
@keyframes roll{from{opacity:0;transform:translateY(12px);filter:blur(3px)}}
.hwhen{font-size:.85rem;color:var(--soft)}
.hwhen .mono{font-size:.82rem}
.next{font-size:.85rem;color:var(--soft)}
.next b{color:var(--ink);font-weight:700}
.next .in{font-family:var(--mono);font-size:.78rem;font-weight:700;color:var(--sky-d);background:var(--sky-bg);border-radius:99px;padding:1px 8px;margin-left:4px}
.hact{display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.linkbtn{border:0;background:none;color:var(--sky-d);font-weight:700;font-size:.88rem;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 6px;border-radius:10px}
.linkbtn:hover{background:var(--sky-bg)}
.linkbtn svg{width:16px;height:16px;transition:transform .4s var(--spring)}
.linkbtn[aria-expanded="true"] svg{transform:rotate(180deg)}
.livebtn{border:0;background:var(--ember-bg);color:var(--ember-d);border-radius:99px;padding:0 12px;min-height:36px;font-weight:700;font-size:.85rem;cursor:pointer;display:inline-flex;gap:6px;align-items:center;animation:pop .4s var(--spring)}
.livebtn i{width:7px;height:7px;border-radius:50%;background:var(--ember)}
@keyframes pop{from{opacity:0;transform:scale(.6)}}
.demo{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px dashed var(--line);padding-top:10px}
.demo .lbl{margin-right:2px}
.segs{display:flex;background:var(--paper);border-radius:12px;padding:3px;gap:2px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.segs::-webkit-scrollbar{display:none}
.segs button{white-space:nowrap;flex:none;border:0;background:none;border-radius:9px;padding:0 10px;min-height:36px;font-size:.85rem;font-weight:700;color:var(--soft);cursor:pointer}
.segs button[aria-pressed="true"]{background:var(--card);color:var(--plum-d);box-shadow:0 2px 6px -3px rgba(30,38,64,.35)}

/* session picker */
.drawer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease);margin-top:-4px}
.drawer.open{grid-template-rows:1fr}
.drawer>div{overflow:hidden;min-height:0}
.dpanel{background:var(--card);border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:10px;opacity:0;transform:translateY(-8px);transition:opacity .2s,transform .3s var(--ease);box-shadow:0 1px 0 var(--line)}
.drawer.open .dpanel{opacity:1;transform:none;transition:opacity .3s .1s,transform .45s var(--spring) .05s}
.days{display:flex;gap:4px;background:var(--paper);border-radius:14px;padding:4px;overflow-x:auto;scrollbar-width:none}
.days::-webkit-scrollbar{display:none}
.day{border:0;background:none;border-radius:11px;padding:6px 12px;min-height:44px;cursor:pointer;white-space:nowrap;font-weight:700;font-size:.88rem;color:var(--soft);flex:1 0 auto;transition:background .2s,color .2s}
.day[aria-pressed="true"]{background:var(--card);color:var(--ink);box-shadow:0 2px 8px -3px rgba(30,38,64,.35)}
.day small{display:block;font-size:.75rem;font-weight:500}
.slist{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:8px}
.scard{position:relative;border:0;border-radius:14px;padding:10px 12px;min-height:56px;background:var(--paper);cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:2px;overflow:hidden;animation:rise .35s var(--ease) both;transition:transform .25s var(--spring),background .25s,color .25s}
.scard:hover{transform:translateY(-2px)}
.scard .tm{font-family:var(--mono);font-size:.78rem;font-weight:700;color:var(--soft)}
.scard b{font-family:var(--display);font-size:.98rem;line-height:1.15}
.scard .st{position:absolute;top:10px;right:10px;width:9px;height:9px;border-radius:50%;background:#C9CDD8}
.scard.s-now .st{background:var(--teal);animation:beacon 2s ease-out infinite}
.scard.s-done .st{background:#9AA3B5}
.scard.sel{background:var(--ink);color:#fff}.scard.sel .tm{color:#C9CDE0}
@keyframes rise{from{opacity:0;transform:translateY(8px) scale(.98)}}
::view-transition-old(htitle){animation:vtout .25s ease both}
::view-transition-new(htitle){animation:vtin .45s var(--spring) both}
@keyframes vtout{to{opacity:0;transform:translateY(-10px)}}
@keyframes vtin{from{opacity:0;transform:translateY(12px)}}

/* panels */
.note{border-radius:18px;padding:14px 16px;font-size:.95rem;background:var(--sky-bg);display:flex;gap:12px;align-items:flex-start}
.note .ni{font-size:1.5rem;line-height:1}
.note b{font-family:var(--display);display:block;font-size:1.05rem}
.stack{display:flex;flex-direction:column;gap:14px;min-width:0}
.panel{background:var(--card);border-radius:22px;padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0;box-shadow:0 1px 0 var(--line),0 18px 40px -34px rgba(30,38,64,.5)}
.panel.enter{animation:reveal .5s var(--spring) both}
@keyframes reveal{from{opacity:0;transform:translateY(14px) scale(.985)}}
.ph{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ph > div{min-width:0;flex:1 1 150px}
.ph .ic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none}
.ph .ic svg{width:20px;height:20px}
.ph h2,.ph h3{font-size:1.15rem}
.ph small{display:block;font-size:.85rem;color:var(--soft)}
/* privacy chips: two meanings, two colors, everywhere */
.priv{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:.75rem;font-weight:700;border-radius:99px;padding:3px 9px 3px 7px;white-space:nowrap}
.priv svg{width:14px;height:14px}
.priv.anon{background:var(--plum-bg);color:var(--plum-d)}
.priv.named{background:var(--teal-bg);color:var(--teal-d)}
input[type=text],textarea{width:100%;border:0;border-radius:14px;padding:11px 12px;font-family:var(--body);font-size:1rem;background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line);resize:vertical}
textarea{min-height:58px}
.field{display:flex;flex-direction:column;gap:5px;min-width:0}
.go{border:0;border-radius:14px;padding:0 18px;min-height:46px;font-family:var(--display);font-weight:600;font-size:1rem;cursor:pointer;background:var(--ink);color:#fff;transition:transform .15s,opacity .2s;align-self:flex-start}
.go:hover{transform:translateY(-1px)}.go:active{transform:scale(.97)}
.go[disabled]{opacity:.55;cursor:not-allowed;transform:none}
.go.sky{background:var(--sky-d)}.go.teal{background:var(--teal-d)}.go.pine{background:var(--pine-d)}
.go.sm{min-height:44px;padding:0 14px;font-size:.92rem}
.ghost{border:0;background:var(--paper);border-radius:12px;padding:0 14px;min-height:44px;font-size:.9rem;font-weight:700;cursor:pointer;box-shadow:inset 0 0 0 1.5px var(--line);transition:transform .2s var(--spring),background .2s}
.ghost:hover{transform:translateY(-1px)}
.btnrow{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.reveal{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s var(--ease)}
.reveal.open{grid-template-rows:1fr}
.reveal>div{overflow:hidden;min-height:0}
.reveal>div>*{opacity:0;transform:translateY(-6px);transition:opacity .25s,transform .35s var(--ease)}
.reveal.open>div>*{opacity:1;transform:none;transition-delay:.08s}

/* choice cards */
.choices{display:grid;gap:10px}
.choices.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.choices.c5{grid-template-columns:repeat(5,minmax(0,1fr))}
.choices.cauto{grid-template-columns:repeat(auto-fit,minmax(min(100%,96px),1fr))}
.choice{--c:var(--ink);--cb:var(--paper);position:relative;border:0;border-radius:18px;padding:14px 6px 12px;min-height:96px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;background:var(--paper);box-shadow:inset 0 0 0 2px transparent;transition:transform .25s var(--spring),box-shadow .2s,background .25s,opacity .25s;min-width:0;overflow:hidden}
.choice:hover{transform:translateY(-3px)}
.choice:active{transform:scale(.95)}
.choice[disabled]{cursor:default;transform:none}
.choice .em{font-size:1.9rem;line-height:1;transition:transform .45s var(--spring)}
.choice svg{width:46px;height:46px;transition:transform .45s var(--spring)}
.choice b{font-family:var(--display);font-size:.98rem;line-height:1.1;overflow-wrap:anywhere}
.choice.on{background:var(--cb);box-shadow:inset 0 0 0 2.5px var(--c)}
.choice.on .em,.choice.on svg{transform:scale(1.16) rotate(-7deg)}
.choices.voted .choice:not(.on){opacity:.6}
.choice .ck{position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:.72rem;font-weight:700;background:var(--cd,var(--c));opacity:0;transform:scale(.3);transition:opacity .2s,transform .35s var(--spring)}
.choice.on .ck{opacity:1;transform:none}
.choice .fill{position:absolute;left:0;bottom:0;height:5px;background:var(--c);border-radius:0 4px 0 0;width:0;transition:width .7s var(--ease)}
.choice .pct{font-family:var(--mono);font-size:.8rem;font-weight:700;color:var(--soft);min-height:1em}
.choice.burst::after{content:"";position:absolute;inset:-2px;border-radius:20px;box-shadow:0 0 0 3px var(--c);opacity:.6;animation:burst .55s var(--ease) forwards;pointer-events:none}
@keyframes burst{to{inset:-12px;opacity:0}}
.choice.pulse{animation:softpulse 1.6s ease-out 1}
@keyframes softpulse{0%{box-shadow:inset 0 0 0 2.5px var(--c),0 0 0 0 rgba(229,83,61,.45)}100%{box-shadow:inset 0 0 0 2.5px var(--c),0 0 0 14px rgba(229,83,61,0)}}

/* status message under the three choices */
.stmsg{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-radius:16px;padding:12px 14px;margin-top:2px}
.stmsg .si{font-size:1.6rem;line-height:1;flex:none}
.stmsg .st-t{flex:1 1 180px;min-width:0}
.stmsg b{font-family:var(--display);font-size:1.02rem;display:block}
.stmsg span{font-size:.92rem;color:var(--soft)}
.stmsg.s-stuck{background:var(--ember-bg)}.stmsg.s-stuck b{color:var(--ember-d)}
.stmsg.s-time{background:var(--sun-bg)}.stmsg.s-time b{color:var(--sun-d)}
.stmsg.s-ready{background:var(--pine-bg)}.stmsg.s-ready b{color:var(--pine-d)}
.stmsg .coming{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--ember-d)}
.stmsg .coming span{color:inherit;font-size:inherit}
.still{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:.92rem;width:100%}
.podrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.podrow input{flex:1 1 160px;width:auto}
.podset{display:flex;align-items:center;gap:6px;font-size:.92rem;color:var(--soft)}
.podset b{color:var(--ink)}

/* polls */
.poll{display:flex;flex-direction:column;gap:10px;border-radius:20px;padding:14px;background:linear-gradient(135deg,var(--sky-bg),var(--plum-bg))}
.poll.enter{animation:reveal .55s var(--spring) both}
.poll h3{font-size:1.15rem;line-height:1.2}
.poll .pmeta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.live{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;font-weight:700;background:var(--ember-d);color:#fff;border-radius:99px;padding:2px 9px}
.live.closed{background:var(--soft)}
.live i{width:6px;height:6px;border-radius:50%;background:#fff;animation:blink 1.6s ease-in-out infinite}
@keyframes blink{50%{opacity:.35}}
.poll .choice{background:rgba(255,255,255,.88)}
.res{display:flex;flex-direction:column;gap:8px}
.rrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center}
.rrow .rl{display:flex;gap:8px;align-items:center;font-weight:700;font-size:.95rem;min-width:0}
.rrow .rl span{overflow-wrap:anywhere}
.rrow .rn{font-family:var(--mono);font-weight:700;font-size:.88rem}
.rbar{grid-column:1/-1;height:12px;border-radius:99px;background:rgba(255,255,255,.75);overflow:hidden}
.rbar i{display:block;height:100%;border-radius:99px;width:0;transition:width .7s var(--ease)}
.rwho{grid-column:1/-1}
.rwho summary{cursor:pointer;font-size:.82rem;color:var(--soft);list-style:none;min-height:28px;display:inline-flex;align-items:center}
.rwho summary::-webkit-details-marker{display:none}
.rwho p{margin:2px 0 0;font-size:.85rem;color:var(--soft)}
.tpl{display:flex;gap:8px;flex-wrap:wrap}
.tpl button{border:0;border-radius:14px;padding:6px 12px;min-height:48px;background:var(--paper);cursor:pointer;font-size:.92rem;font-weight:700;box-shadow:inset 0 0 0 1.5px var(--line);transition:transform .2s var(--spring),background .2s;display:inline-flex;align-items:center;gap:8px;text-align:left}
.tpl button:hover{transform:translateY(-2px);background:var(--sky-bg)}
.tpl button .em{font-size:1.2rem}
.tpl button small{display:block;font-weight:500;color:var(--soft);font-size:.78rem}
.opts{display:flex;flex-direction:column;gap:6px}
.opt{display:grid;grid-template-columns:52px minmax(0,1fr) 44px;gap:6px;align-items:center}
.opt input.e{text-align:center;font-size:1.2rem;padding:8px 4px}
.opt .x{width:44px;height:44px;border:0;border-radius:12px;background:var(--paper);cursor:pointer;color:var(--soft)}

/* questions */
.qs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.q{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:start;background:var(--paper);border-radius:14px;padding:10px 12px}
.q.new{animation:rise .35s var(--ease) both}
.q p{margin:0;font-size:.97rem;overflow-wrap:anywhere}
.q.now{background:var(--sky-bg);box-shadow:inset 0 0 0 2px var(--sky)}
.q.done p{color:var(--soft);text-decoration:line-through}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;font-weight:700;border-radius:99px;padding:2px 8px;background:var(--sky-d);color:#fff;margin-bottom:4px}
.metoo{border:0;border-radius:99px;padding:0 12px;min-height:44px;background:var(--card);cursor:pointer;font-size:.88rem;font-weight:700;display:flex;gap:6px;align-items:center;white-space:nowrap;box-shadow:inset 0 0 0 1.5px var(--line);transition:transform .2s var(--spring),background .2s}
.metoo.on{background:var(--sky-d);color:#fff;box-shadow:none}
.metoo:active{transform:scale(.92)}
.metoo[disabled]{cursor:default;opacity:.7}
.qa{grid-column:1/-1;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.qa button{border:0;border-radius:12px;padding:0 12px;min-height:44px;cursor:pointer;font-size:.88rem;font-weight:700;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--line)}
.qa button.done-btn{background:var(--pine-bg);color:var(--pine-d);box-shadow:none}
.empty{background:var(--paper);border-radius:14px;padding:16px;text-align:center;color:var(--soft);font-size:.95rem}
.empty .em{display:block;font-size:1.6rem;margin-bottom:4px}
details.more summary{cursor:pointer;list-style:none;font-size:.88rem;font-weight:700;color:var(--soft);min-height:40px;display:flex;align-items:center;gap:6px}
details.more summary::-webkit-details-marker{display:none}
details.more summary::before{content:"▸";transition:transform .3s var(--spring)}
details.more[open] summary::before{transform:rotate(90deg)}

/* rating */
.scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}
.pt{border:0;border-radius:12px;min-height:46px;cursor:pointer;font-family:var(--display);font-weight:800;font-size:1.05rem;background:var(--paper);transition:transform .2s var(--spring),background .2s,color .2s}
.pt:hover{transform:translateY(-2px)}
.pt.on{background:var(--plum-d);color:#fff;transform:scale(1.08)}
.pt.in{background:var(--plum-bg)}
.ends{display:flex;justify-content:space-between;font-size:.82rem;color:var(--soft)}
.saved{display:inline-flex;align-items:center;gap:6px;font-size:.88rem;font-weight:700;color:var(--pine-d);min-height:22px;transition:opacity .3s}
.saved.dim{display:none}
.lock{display:flex;gap:12px;align-items:center;background:var(--paper);border-radius:16px;padding:12px 14px}
.lock .lk{width:42px;height:42px;border-radius:12px;background:var(--plum-bg);color:var(--plum-d);display:grid;place-items:center;flex:none}
.lock .lk svg{width:20px;height:20px}
.lock b{font-family:var(--display);display:block;font-size:1.02rem}
.lock span{font-size:.9rem;color:var(--soft)}
.week{display:flex;align-items:flex-end;gap:6px;min-height:76px;padding-top:6px;overflow-x:auto}
.wk{display:flex;flex-direction:column;align-items:center;gap:4px;flex:none;width:36px}
.wk i{display:block;width:18px;border-radius:6px 6px 3px 3px;background:var(--plum)}
.wk.ghost i{background:var(--slate-bg)}
.wk.cur i{background:var(--plum-d)}
.wk small{font-size:.75rem;color:var(--soft);text-align:center;line-height:1.1}
.prevrate{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--plum-bg);border-radius:14px;padding:8px 12px;font-size:.92rem}

/* console */
.verdict{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 18px;align-items:center;border-radius:24px;padding:18px 20px;transition:background .4s,padding .4s;box-shadow:0 1px 0 var(--line)}
.verdict.v-go{background:var(--pine-bg)}.verdict.v-wait{background:var(--sun-bg)}.verdict.v-help{background:var(--ember-bg)}.verdict.v-none{background:var(--card)}.verdict.v-low{background:var(--sky-bg)}
.verdict h2{font-size:clamp(1.6rem,4vw,2.6rem);font-weight:800}
.verdict .vsub{margin:2px 0 0;color:var(--ink);font-size:1rem;opacity:.8}
.verdict .big{text-align:right}
.verdict .big b{font-family:var(--display);font-weight:800;font-size:clamp(2rem,5vw,3.2rem);line-height:1;font-variant-numeric:tabular-nums}
.verdict .big b small{font-size:.5em;color:var(--soft);font-weight:700}
.verdict .big > span{display:block;font-size:.88rem;color:var(--soft)}
.verdict .vbar{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;margin-top:6px}
.verdict.slim{padding:12px 16px}.verdict.slim h2{font-size:1.3rem}.verdict.slim .big b{font-size:1.8rem}.verdict.slim .vbar{display:none}
.bar{display:flex;height:16px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.7);gap:2px}
.bar i{display:block;height:100%;transition:flex-grow .6s var(--ease)}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.92rem}
.legend span{display:flex;align-items:center;gap:6px}
.legend b{font-family:var(--display);font-variant-numeric:tabular-nums}
.dot{width:12px;height:12px;border-radius:50%;flex:none;display:inline-block}
.dot.ready{background:var(--pine)}
.dot.time{background:var(--sun-m);border-radius:3px}
.dot.stuck{background:var(--ember);box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--ember-d)}
.dot.stale{background:#C9CDD8}
.cgrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:start}
.people{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.person{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 10px;align-items:center;background:var(--paper);border-radius:14px;padding:10px 12px}
.person.new{animation:rise .3s var(--ease) both}
.person.st-stuck{background:var(--ember-bg)}
.person .who b{font-size:1rem}
.person .who small{display:block;font-size:.85rem;color:var(--soft)}
.person .acts{display:flex;gap:6px}
.person .acts button{border:0;border-radius:12px;min-height:44px;padding:0 12px;font-weight:700;font-size:.88rem;cursor:pointer;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--line);transition:transform .2s var(--spring)}
.person .acts button:hover{transform:translateY(-1px)}
.person .acts button.helped{background:var(--pine-d);color:#fff;box-shadow:none}
.person .acts button.mine{background:var(--ember-d);color:#fff;box-shadow:none}
.person.stale{opacity:.75}
.claim{display:inline-flex;align-items:center;gap:4px;font-size:.82rem;font-weight:700;color:var(--ember-d)}
.pods{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.pod{background:var(--paper);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.pod b{font-family:var(--display);font-size:.98rem;overflow-wrap:anywhere}
.pod .dots{display:flex;gap:5px;flex-wrap:wrap}
.pod small{font-size:.82rem;color:var(--soft)}
.pod.has-stuck{background:var(--ember-bg)}
.energy{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:end;height:130px}
.energy div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;text-align:center}
.energy i{display:block;width:100%;border-radius:8px 8px 3px 3px;min-height:4px;transition:height .6s var(--spring)}
.energy small{font-size:.75rem;color:var(--soft);line-height:1.1}
.energy .n{font-family:var(--mono);font-size:.82rem;font-weight:700}
.eline{display:flex;align-items:center;gap:10px;font-size:.95rem}
.fbtop{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}
.avg b{font-family:var(--display);font-weight:800;font-size:2.6rem;line-height:1;font-variant-numeric:tabular-nums;display:block}
.avg span{color:var(--soft);font-size:.9rem}
.hist{flex:1 1 280px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;align-items:end;height:96px}
.hist div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;height:100%}
.hist i{display:block;width:100%;border-radius:6px 6px 2px 2px;background:var(--plum);min-height:3px;transition:height .5s var(--spring)}
.hist small{font-size:.75rem;color:var(--soft)}
.fbtop + .refl{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.refl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.refl h4{font-size:1rem;display:flex;align-items:center;gap:8px;margin-bottom:6px}
.refl ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.refl li{background:var(--paper);border-radius:12px;padding:8px 10px;font-size:.93rem;overflow-wrap:anywhere;display:flex;gap:8px;justify-content:space-between}
.refl li .wr{display:flex;gap:8px;align-items:flex-start;flex-shrink:0}
.refl li .who{font-size:.78rem;color:var(--soft);white-space:nowrap}
.refl li .wrote{display:block;margin-top:4px;font-size:.8rem;color:var(--plum-d);font-weight:600}
.refl li .x{font-family:var(--mono);font-weight:700;color:var(--plum-d);white-space:nowrap}
.refl .fuzzy li{background:var(--sun-bg)}
.cnt{font-family:var(--mono);font-size:.82rem;color:var(--soft);font-weight:700}
.pill{display:flex;align-items:center;gap:10px;background:var(--teal-bg);border-radius:16px;padding:8px 8px 8px 14px;font-size:.95rem}
.pill b{color:var(--teal-d)}
.pill .ghost{margin-left:auto;background:var(--card)}
.pill .x{border:0;background:none;width:44px;height:44px;border-radius:12px;cursor:pointer;color:var(--soft);font-size:1.1rem}

dialog.howto{border:0;border-radius:24px;padding:0;max-width:min(720px,calc(100vw - 32px));width:100%;box-shadow:0 30px 80px -20px rgba(30,38,64,.45)}
dialog.howto::backdrop{background:rgba(30,38,64,.35)}
dialog.howto[open]{animation:reveal .45s var(--spring)}
.howin{padding:20px;display:flex;flex-direction:column;gap:14px}
.howin header{display:flex;align-items:center;gap:10px}
.howin header h2{font-size:1.3rem;flex:1}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.steps li{display:flex;gap:12px;align-items:flex-start;background:var(--paper);border-radius:16px;padding:12px}
.steps i{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--ink);font-style:normal;font-family:var(--display);font-weight:800;font-size:.88rem}
.steps b{font-family:var(--display);display:block;font-size:1rem;line-height:1.2}
.steps span{display:block;margin-top:2px;font-size:.92rem;color:var(--soft);line-height:1.4}

.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);opacity:0;background:var(--ink);color:#fff;border-radius:99px;padding:10px 16px;font-weight:700;font-size:.95rem;pointer-events:none;transition:opacity .25s,transform .4s var(--spring);z-index:20;max-width:calc(100vw - 32px);text-align:center;display:flex;gap:10px;align-items:center}
.toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.toast button{border:0;background:rgba(255,255,255,.18);color:#fff;border-radius:99px;padding:0 12px;min-height:34px;font-weight:700;cursor:pointer}

body.locked #v-fellow .choice,body.locked #v-fellow .pt,body.locked #v-fellow textarea,body.locked #v-fellow input,body.locked #v-fellow .go,body.locked #v-fellow .metoo{opacity:.45;pointer-events:none}

@media (max-width:860px){ .cgrid{grid-template-columns:1fr} }
@media (max-width:720px){
  .hero{grid-template-columns:auto minmax(0,1fr);padding:10px 12px;gap:12px}
  .hact{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between}
  .clock{display:none}
}
@media (max-width:520px){
  .ringwrap,.ring{width:62px;height:62px}.ringtxt b{font-size:.9rem}.ringtxt small{display:none}
  .choices.c3{gap:8px}.choice{padding:12px 4px 10px;min-height:88px}.choice svg{width:40px;height:40px}
  .choices.c5{gap:6px}.choices.c5 .choice b{font-size:.8rem}.choices.c5 .choice .em{font-size:1.6rem}.choices.c5 .choice{min-height:84px}
  .scale{grid-template-columns:repeat(5,minmax(0,1fr))}
  .verdict{grid-template-columns:1fr}.verdict .big{text-align:left}
  .person{grid-template-columns:auto minmax(0,1fr)}.person .acts{grid-column:1/-1}
  .person .acts button{flex:1}
  .seg2 button{padding:0 12px;font-size:.9rem}
  .segs button{padding:0 8px;font-size:.8rem}
  .demo{gap:6px}
}

/* round 3 */
.short{display:none}
.nowrap{white-space:nowrap}
.livechip{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;color:var(--teal-d);background:var(--teal-bg);border-radius:99px;padding:0 12px;min-height:32px}
.livechip i{width:8px;height:8px;border-radius:50%;background:var(--teal);animation:beacon 2s ease-out infinite}
.livechip.bad{color:var(--sun-d);background:var(--sun-bg)}.livechip.bad i{background:var(--sun-m);animation:none}
.livechip .linkbtn{min-height:32px;padding:0 4px;color:var(--sun-d)}
.stline{display:flex;align-items:center;gap:10px;font-size:1rem}
#pStatus.compact .choices,#pStatus.compact #stBox,#pStatus.compact #podWrap,#pStatus.compact .ph small{display:none}
.stmsg.s-help{background:var(--teal-bg)}.stmsg.s-help b{color:var(--teal-d)}
.person.st-claimed{background:var(--teal-bg)}
.person.esc{box-shadow:inset 0 0 0 2px var(--ember)}
.person .acts button.also{background:var(--paper);color:var(--soft)}
.person.stale{opacity:1;background:var(--slate-bg)}
.choices.voted .choice:not(.on){opacity:1;background:rgba(255,255,255,.55)}
.choices.voted .choice:not(.on) .em,.choices.voted .choice:not(.on) svg{opacity:.55}
#hypeC.voted .choice:not(.on){background:var(--paper)}
.choice b{overflow-wrap:normal;word-break:normal;hyphens:none}
.refl .fuzzy li{background:var(--plum-bg)}
.rrow.lead .rl{color:var(--ink)}.rrow.lead .rn{color:var(--sky-d)}
.rwho{margin:2px 0 0;font-size:.85rem;color:var(--soft)}
.tpl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.tpl button{width:100%}
.metoo.static{cursor:default;box-shadow:none;background:var(--card)}
.go[disabled]{opacity:1;background:var(--slate-bg);color:var(--soft)}
.verdict.slim{background:var(--card)!important}
.verdict.slim h2::before{content:"";display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:10px;vertical-align:middle;background:var(--vdot,#9AA3B5)}
.verdict.v-help{--vdot:var(--ember)}.verdict.v-wait{--vdot:var(--sun-m)}.verdict.v-go{--vdot:var(--pine)}
.verdict.v-help.slim h2{color:var(--ember-d)}
.wk.ghost i{background:var(--slate-bg);box-shadow:inset 0 0 0 1.5px var(--line)}
.wkcap{align-self:center;margin-left:6px}
.wk{width:auto;min-width:36px;padding:0 2px}
.note.warn{background:var(--sun-bg)}
body.locked #v-fellow .field,body.locked #v-fellow .btnrow,body.locked #podWrap{display:none}
.linkbtn,.seg2 button,.iconbtn,details.more summary,.livebtn,.toast button{min-height:44px}
.iconbtn{width:44px;height:44px}
.segs button{min-height:44px}
.ringtxt small{font-size:.7rem}
@media (max-width:520px){
  .ringtxt small{display:block;font-size:.66rem}
  .segs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
  .segs .long{display:none}.segs .short{display:inline}
  .segs button{padding:0 4px;font-size:.82rem}
  .demo .lbl{width:100%}
  .tpl{grid-template-columns:1fr}
  .livechip{display:none}
}

/* round 4 */
.scalehead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
#rateBody .field{gap:6px}
#pRate .prevrate{margin-top:2px}
.week{display:block;min-height:0;overflow:visible;padding-top:2px}
.wgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:end;height:84px}
.wd{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;height:100%}
.wd i{display:block;width:70%;max-width:40px;border-radius:7px 7px 3px 3px;background:var(--plum)}
.wd.wd-empty i{background:var(--slate-bg)}
.wd.cur small{color:var(--plum-d);font-weight:700}
.wd small{font-size:.78rem;color:var(--soft)}
.wd b{font-family:var(--mono);font-size:.8rem;min-height:1.1em}
.week > .wd{display:inline-flex;height:80px;margin-right:12px;vertical-align:bottom}
.week .wkcap{display:inline;vertical-align:bottom}
.nowrap{white-space:nowrap}
#pAsk.over textarea,#pAsk.over .field,#pAsk.over .btnrow{display:none}
.badge.park{background:var(--plum-d)}
.qbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--card);border-radius:20px;padding:10px 12px 10px 16px;box-shadow:0 1px 0 var(--line)}
.qbar .qq{font-family:var(--display);font-size:1.02rem}
.qbar .tpl{display:flex;flex-wrap:wrap;gap:8px;flex:1}
.qbar .tpl button{width:auto;min-height:44px;padding:0 12px}
.qbar.islive{background:linear-gradient(135deg,var(--sky-bg),var(--plum-bg))}
.qbar .qres{display:flex;gap:14px;flex-wrap:wrap;align-items:center;flex:1;font-size:.95rem}
.qbar .qres b{margin-left:2px}
.qbar .ghost{margin-left:auto;background:var(--card)}
.vacts{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
.person.st-claimed .claim{color:var(--teal-d)}
.person.undo{background:var(--pine-bg)}
.person .acts button.also{background:var(--card);color:var(--ink)}
.tpl button span{text-wrap:balance}
.livechip{min-height:44px}.livechip .linkbtn{min-height:44px}
.hero[data-tone="done"] .ringtxt b{font-family:var(--display);font-size:1.5rem;color:var(--teal-d)}
.hero[data-tone="done"] .prog{stroke:var(--teal-bg)}
@media (max-width:520px){ .qbar .tpl button{flex:1 1 45%} .qbar .ghost{margin-left:0} }

/* round 5 */
.qbar{flex-direction:column;align-items:stretch;gap:0}
.qtop{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.qacts{display:flex;gap:8px;margin-left:auto}
.qbar .tpl small{display:block;font-weight:500;color:var(--soft);font-size:.75rem}
.qbar .tpl button{text-align:left;align-items:center}
.poll.isclosed .choice{cursor:default}
.dot.helping{background:var(--teal)}
.verdict h2 .ts{display:none}
#cQs details.more + details.more{margin-top:-6px}
#rqList .qa button[data-later]{font-weight:600;color:var(--soft)}
@media (max-width:860px){ #cGrid,#cLeft,#cRight{display:contents} #cPeople{order:1} #cQs{order:2} #cRoom{order:3} #cGrid > *{min-width:0} }
@media (max-width:480px){ .verdict h2 .tl{display:none} .verdict h2 .ts{display:inline} .qacts{margin-left:0;width:100%} .qacts .ghost{flex:1} }

/* round 6 */
.qbar .tpl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;flex:1}
.qbar .tpl button,.ownchip{width:100%;min-height:52px;border:0;border-radius:14px;padding:6px 10px;background:var(--paper);cursor:pointer;font-size:.92rem;font-weight:700;box-shadow:inset 0 0 0 1.5px var(--line);display:flex;align-items:center;gap:8px;text-align:left;transition:transform .2s var(--spring),background .2s}
.ownchip{box-shadow:inset 0 0 0 1.5px var(--sky);background:var(--card);color:var(--sky-d)}
.ownchip small{display:block;font-weight:500;color:var(--soft);font-size:.75rem}
.qbar .tpl button:hover,.ownchip:hover{transform:translateY(-2px);background:var(--sky-bg)}
.qtop > .qq{flex:0 0 auto}
@media (max-width:1100px){ .qbar .tpl{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:700px){ .qbar .tpl{grid-template-columns:repeat(2,minmax(0,1fr))} .qtop > .qq{width:100%} }
.metoo.static{background:none;box-shadow:none;padding:0 4px;min-height:0;color:var(--soft)}
.poll.isclosed .choice{min-height:72px}
.poll.isclosed .choice .fill{height:100%;opacity:.16;border-radius:0}
.poll.isclosed .choice .em{opacity:.8}
.poll.isclosed [data-hint]{font-weight:700;color:var(--ink)}
#rqList .qa button[data-later]{min-width:44px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* web app: sign-in, saving chip, who's signed in */
input[type=email],input[type=password]{width:100%;border:0;border-radius:14px;padding:11px 12px;font-family:var(--body);font-size:1rem;background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
input:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 5px #fff}
.signin{max-width:560px;width:100%;margin:0 auto}
.signin.enter{animation:reveal .5s var(--spring) both}
.siform{display:flex;flex-direction:column;gap:12px}
.sierr{background:var(--sun-bg);color:var(--sun-d);border-radius:14px;padding:10px 12px;font-size:.95rem;font-weight:700}
.sierr.shake{animation:shake .4s var(--ease)}
@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.go.busy{position:relative;color:transparent}
.go.busy::after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.savechip{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;border-radius:99px;padding:0 12px;min-height:44px;background:var(--sky-bg);color:var(--sky-d);animation:pop .3s var(--spring)}
.savechip i{width:8px;height:8px;border-radius:50%;background:currentColor;animation:blink 1.2s ease-in-out infinite}
.savechip.ok{background:var(--pine-bg);color:var(--pine-d)}.savechip.ok i{display:none}
.savechip.wait{background:var(--sun-bg);color:var(--sun-d)}
.whoami{margin:6px 0 0;text-align:center;font-size:.85rem;color:var(--soft)}
.whoami .linkbtn{display:inline-flex;font-size:.85rem}
@media (max-width:520px){ .savechip{order:-1;width:100%;justify-content:center;min-height:36px} }

/* round 7: nothing cut off or spilling, at any width */
/* Fold-out sections clip while they open and close. Give them room so focus rings and buttons at their edges aren't cut. */
.reveal>div,.drawer>div{padding-inline:6px;margin-inline:-6px}
.reveal.open>div,.drawer.open>div{padding-block:6px;margin-block:-6px}
/* Text fields get an inner focus ring: always fully visible, wherever the field sits. */
input[type=text]:focus-visible,input[type=email]:focus-visible,input[type=password]:focus-visible,textarea:focus-visible{outline:none;box-shadow:inset 0 0 0 2.5px var(--ink)}
/* The countdown ring never clips its own stroke (Safari can clip a rotated SVG at its edges). */
.ring{overflow:visible}
/* Long labels wrap at a space instead of spilling out of their card. */
.choice b{max-width:100%;text-wrap:balance}
@media (max-width:520px){
  .days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}
  .day{padding:6px 4px}
}
@media (max-width:380px){
  .panel{padding:14px 12px}
  /* Five energy cards don't fit one row on the narrowest phones: three on top, two centered below. */
  .choices.c5{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
  .choices.c5 .choice{grid-column:span 2;min-height:76px}
  .choices.c5 .choice:nth-child(4){grid-column:2 / span 2}
  .choices.c5 .choice b{font-size:.85rem}
  .choices.c3 .choice b{font-size:.9rem}
}

/* round 8: a room that feels alive, calmly */
.num{display:inline-block;font-variant-numeric:tabular-nums;will-change:transform}
.here{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;color:var(--soft);background:var(--paper);border-radius:99px;padding:3px 10px 3px 8px;white-space:nowrap}
.here b{color:var(--ink)}
@media (max-width:720px){ .hwhen{flex-basis:100%} }
.here i{width:7px;height:7px;border-radius:50%;background:var(--teal);animation:beacon 2.4s ease-out infinite}
/* A fellow who just flagged Stuck arrives on the console with one soft ring, then settles. */
.person.new.st-stuck{animation:rise .3s var(--ease) both,arrive 1.4s ease-out .3s 1}
@keyframes arrive{0%{box-shadow:0 0 0 0 rgba(229,83,61,.45)}100%{box-shadow:0 0 0 12px rgba(229,83,61,0)}}
.pct{display:inline-block}
.verdict .big b,.legend b,.qres b,.avg b{white-space:nowrap}

/* round 9: the countdown always fits inside its ring */
.ringwrap,.ring{width:84px;height:84px}
.ring circle{stroke-width:8}
.ringtxt b{display:inline-block;font-size:1.05rem;line-height:1;letter-spacing:-.3px}
.ringtxt[data-mode="min"] b{font-family:var(--display);font-weight:800;font-size:1.55rem;letter-spacing:-.5px}
.ringtxt[data-mode="word"] b{font-family:var(--display);font-weight:800;font-size:1.15rem}
.ringtxt small{display:block;font-size:.66rem;line-height:1;margin-top:2px;white-space:nowrap}
@media (max-width:520px){
  .ringwrap,.ring{width:72px;height:72px}
  .ringtxt b{font-size:.95rem}
  .ringtxt[data-mode="min"] b{font-size:1.35rem}
  .ringtxt small{display:block;font-size:.6rem}
}
/* Tight line boxes so number + label sit centered with room to spare; 3-digit minutes (long sessions) a size down. */
.ringtxt{gap:2px}
.ringtxt b{display:block;line-height:.86}
.ringtxt small{margin-top:0}
.ringtxt[data-mode="min"][data-long="true"] b{font-size:1.2rem}
@media (max-width:520px){ .ringtxt[data-mode="min"][data-long="true"] b{font-size:1.05rem} }
.ringtxt[data-mode="word"] b{font-size:1.05rem}
@media (max-width:520px){ .ringwrap,.ring{width:78px;height:78px} .ringtxt[data-mode="word"] b{font-size:.95rem} }
@media (max-width:520px){ .ringtxt b{font-size:.9rem} }

/* round 10: the stuck row's buttons follow the journey */
.person .acts{align-items:center}
.person .acts button.claim-btn{background:var(--ember-d);color:#fff;box-shadow:none}
.person .acts button.helped{background:var(--pine-d);color:#fff;box-shadow:none}
.person .acts button.quiet{background:none;box-shadow:none;color:var(--soft);font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:0 8px}
.person .acts button.quiet:hover{color:var(--ink);transform:none}
@media (max-width:520px){ .person .acts button.quiet{flex:0 0 auto} }

/* round 11: mentors cover their own fellows first */
.person .who b + .mentor{margin-left:8px}
.mentor{display:inline-block;font-size:.75rem;font-weight:700;color:var(--soft);background:var(--slate-bg);border-radius:99px;padding:1px 8px;vertical-align:2px;white-space:nowrap}
.mentor.mine{color:var(--sky-d);background:var(--sky-bg)}
.mentor.hand{color:var(--sun-d);background:var(--sun-bg)}
.people li.grouph{list-style:none;font-size:.78rem;font-weight:700;color:var(--soft);letter-spacing:.2px;padding:6px 2px 0}
.people li.grouph:first-child{padding-top:0}
.helpnow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0}
.helpnow .lbl{margin-right:2px}
.hchip{display:inline-flex;gap:4px;align-items:center;font-size:.85rem;background:var(--teal-bg);color:var(--teal-d);border-radius:99px;padding:3px 10px}
.hchip b{color:var(--ink)}
.hchip.mine{background:var(--sky-bg);color:var(--sky-d)}

/* round 12: while a session runs, the room's pace and the live poll come first */
.pacep{gap:10px;padding:14px 16px}
.pacetop{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pacetop h3{font-size:1.05rem}
.paceread{font-family:var(--display);font-size:1.05rem;border-radius:99px;padding:1px 10px;background:var(--slate-bg);color:var(--soft)}
.pacep[data-tone="ok"] .paceread{background:var(--pine-bg);color:var(--pine-d)}
.pacep[data-tone="fast"] .paceread{background:var(--ember-bg);color:var(--ember-d)}
.pacep[data-tone="slow"] .paceread{background:var(--sky-bg);color:var(--sky-d)}
.pacetop .hint{margin-left:auto}
.pacebar{background:var(--slate-bg)}
.pacep .legend span{gap:4px}
/* A live poll stays in view while you scroll, unless its results are open. */
.qbar.islive{position:sticky;top:8px;z-index:6;box-shadow:0 1px 0 var(--line),0 14px 30px -22px rgba(30,38,64,.55)}
.qbar.islive.expanded{position:static}
@media (max-width:520px){ .pacetop .hint{margin-left:0;width:100%} }

/* round 13: council round 1 */
/* Red means stuck. Nothing else is red. */
.live{background:var(--teal-d)}
.person .acts button.claim-btn{background:var(--card);color:var(--ember-d);box-shadow:inset 0 0 0 1.5px var(--ember)}
.person.esc{box-shadow:none}
.person.esc .acts button.claim-btn{background:var(--ember-d);color:#fff;box-shadow:none}
.people li.grouph.urgent{color:var(--ember-d)}
.pacep[data-tone="fast"] .paceread{background:var(--sun-bg);color:var(--sun-d)}
.pacep[data-tone="split"] .paceread{background:var(--plum-bg);color:var(--plum-d)}
/* Question cards: one primary action, one row. */
.qa{flex-wrap:nowrap}
.qa button.primary{background:var(--sky-d);color:#fff;box-shadow:none}
.qa button.done-btn{background:var(--card);color:var(--pine-d);box-shadow:inset 0 0 0 1.5px var(--line)}
.qa button.icon{min-width:44px;padding:0;margin-left:auto;font-size:1.05rem}
#qHint{display:none}
/* Who wrote this? only when you reach for it (laptops); always reachable by keyboard. */
@media (hover:hover){ .refl li .who{opacity:0;transition:opacity .2s} .refl li:hover .who,.refl li:focus-within .who{opacity:1} }
.avg b.few{color:var(--soft)}
/* Numbers that stopped updating look it. */
body.datastale #verdict,body.datastale #cPace,body.datastale #qbar{opacity:.55;transition:opacity .4s}
/* Headings focused after a list redraw don't show a stray ring. */
[tabindex="-1"]:focus{outline:none}
/* Phone: privacy as quiet text under the title, not a floating pill row. */
#v-fellow .ph{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:2px}
#v-fellow .ph .priv{grid-column:2;justify-self:start;margin:0;background:none;padding:0;font-size:.8rem}
/* Rating scale: only the chosen number is filled. */
.pt.in{background:var(--paper)}
/* Polls: emoji keep their color (and skin tone) when not chosen; one calm bar color. */
.choices.voted .choice:not(.on) .em{opacity:1}
.poll .choice .fill{background:var(--sky)}
.poll .choice.on .fill{background:var(--sky-d)}
/* Pace: the last answer, faded, after 10 minutes. */
.choice.was{box-shadow:inset 0 0 0 2px var(--line)}
.choice.was .em{opacity:.7}
.qa button{white-space:nowrap}
/* "Who wrote this?" floats over the row on hover instead of reserving space beside every line. */
@media (hover:hover){
  .refl li{position:relative}
  .refl li .wr .who{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:var(--card);box-shadow:0 2px 10px -4px rgba(30,38,64,.35);min-height:36px}
}

/* round 14: council round 2 */
/* The poll shows names, so it isn't purple (purple means anonymous). White card, teal "Live". */
.poll{background:var(--card);box-shadow:inset 0 0 0 1.5px var(--line)}
.poll .choice{background:var(--paper)}
.qbar.islive{background:var(--card);box-shadow:inset 0 0 0 2px var(--teal-bg),0 14px 30px -22px rgba(30,38,64,.55)}
#v-fellow .poll .pmeta .priv{margin:0;background:none;padding:0;font-size:.8rem}
.pollread{font-family:var(--display);font-size:.95rem;border-radius:99px;padding:1px 10px;background:var(--slate-bg);color:var(--soft);white-space:nowrap}
.pollread[data-tone="lost"]{background:var(--ember-bg);color:var(--ember-d)}
.pollread[data-tone="landed"]{background:var(--pine-bg);color:var(--pine-d)}
/* "Too slow" is neutral: blue means questions and you. */
.pacep[data-tone="slow"] .paceread{background:var(--slate-bg);color:var(--ink)}
/* The banner: a white card with a colored dot and headline, not a solid color block. */
.verdict.v-go,.verdict.v-wait,.verdict.v-help,.verdict.v-low{background:var(--card)}
.verdict h2::before{content:"";display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:12px;vertical-align:middle;background:var(--vdot,#9AA3B5)}
.verdict.v-help h2{color:var(--ember-d)}.verdict.v-wait h2{color:var(--sun-d)}.verdict.v-go h2{color:var(--pine-d)}
.verdict .bar{background:var(--slate-bg)}
/* Only the top question gets the filled "Answer now". "Done" is neutral (green means ready). */
#rqList .q:not(:first-child) .qa .primary{background:var(--card);color:var(--sky-d);box-shadow:inset 0 0 0 1.5px var(--line)}
.qa button.done-btn{color:var(--ink)}
.qa button.icon{min-width:auto;padding:0 12px;font-size:.88rem}
/* "On my way" is a neutral outline; filled red only for someone waiting 10+ min. */
.person .acts button.claim-btn{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
/* Phone: Ready and More time get a quiet line, not a second card. */
.stmsg.s-ready,.stmsg.s-time{background:none;padding:2px 2px 0}
.stmsg.s-ready .si,.stmsg.s-time .si{display:none}
.choice .em.big{font-size:2.4rem}
/* A stale pace answer: dashed, emoji at full color (fading lightened the skin tone). */
.choice.was{box-shadow:none;outline:2px dashed var(--line);outline-offset:-2px}
.choice.was .em{opacity:1}
/* "Still fuzzy" lines use the full width; the count sits at the end. */
.refl li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
/* The session title comes first in the header. */
.hmeta .htitle{order:-1}
/* The live poll bar in two tidy rows: question + read (buttons on the right), then the tallies. */
@media (min-width:701px){
  .qbar.islive .qtop{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:6px 12px}
  .qbar.islive .qtop > .live{grid-column:1;grid-row:1}
  .qbar.islive .qtop > .qq{grid-column:2;grid-row:1}
  .qbar.islive .qtop > .pollread{grid-column:3;grid-row:1;justify-self:start}
  .qbar.islive .qtop > .qres{grid-column:1 / 4;grid-row:2;flex:none}
  .qbar.islive .qtop > .qacts{grid-column:4;grid-row:1 / 3;margin-left:0}
}

/* round 15: "New task · ask everyone again" */
.bar i.recheck{background:repeating-linear-gradient(135deg,#C9CDD8 0 4px,#EEF0F5 4px 8px)}
.dot.recheck{background:none;box-shadow:inset 0 0 0 2px #9AA3B5}
.stmsg.s-recheck{background:var(--sky-bg)}.stmsg.s-recheck b{color:var(--sky-d)}
#vActs{align-items:center}
#vActs .hint{font-size:.85rem}

/* round 16: who's here, like collaborators on a shared doc */
.presence{position:relative}
.pbtn{display:inline-flex;align-items:center;gap:8px;border:0;background:var(--card);border-radius:99px;padding:4px 12px 4px 6px;min-height:44px;cursor:pointer;box-shadow:0 1px 0 var(--line);transition:transform .2s var(--spring)}
.pbtn:hover{transform:translateY(-1px)}
.avs{display:flex;align-items:center}
.av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:.72rem;letter-spacing:.2px;color:#fff;box-shadow:0 0 0 2px var(--card);flex:none}
.avs .av + .av{margin-left:-8px}
.av-sky{background:var(--sky-d)}.av-plum{background:var(--plum-d)}.av-teal{background:var(--teal-d)}.av-pine{background:var(--pine-d)}.av-sun{background:var(--sun-d)}
/* A thin ring in the fellow's status color; facilitators get a teal ring. */
.av.ring-stuck{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--ember)}
.av.ring-time{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--sun)}
.av.ring-ready{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--pine)}
.av.ring-fac{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--teal)}
.av.more{background:var(--slate-bg);color:var(--soft)}
.pcount{font-weight:700;font-size:.88rem;color:var(--ink);white-space:nowrap}
.ppanel{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(380px,calc(100vw - 32px));max-height:min(70vh,560px);overflow:auto;background:var(--card);border-radius:20px;padding:14px;box-shadow:0 1px 0 var(--line),0 24px 60px -24px rgba(30,38,64,.45);display:flex;flex-direction:column;gap:12px}
.phead{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.phead b{font-family:var(--display);font-size:1.05rem}
.psec{display:flex;flex-direction:column;gap:6px}
.pchips{display:flex;flex-wrap:wrap;gap:6px}
.pchip{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;background:var(--paper);border-radius:99px;padding:3px 10px 3px 3px}
.pchip.away{padding:3px 10px;color:var(--soft);background:none;box-shadow:inset 0 0 0 1.5px var(--line)}
.lbl.away{color:var(--ember-d)}
.av.sm{width:24px;height:24px;font-size:.62rem}
@media (max-width:720px){ .presence{order:5} .ppanel{right:auto;left:0} }
/* On narrower consoles the ring already shows the time; the clock makes room for who is here. */
@media (max-width:1000px){ body:has(#presence:not([hidden])) .clock{display:none} }

/* Round 17 · one look for counts: every count (legend, pace, poll, me too, "N here") in the display face, tabular. Mono stays for clock times. */
.legend b,.qbar .qres b,.metoo .cnt,.pcount{font-family:var(--display);font-weight:700;font-variant-numeric:tabular-nums}

/* timed polls on phones: a bar that drains to zero; results show only when it ends */
.pclock{display:flex;align-items:center;gap:10px;margin:2px 0 4px}
.pdrain{flex:1;height:10px;border-radius:99px;background:#E2E5FF;overflow:hidden}
.pdrain i{display:block;height:100%;width:100%;background:var(--sky);transition:width 1s linear}
.pclock b{min-width:36px;text-align:right;font-size:18px;font-weight:700;color:var(--sky-d);font-variant-numeric:tabular-nums}
