:root{
  --canvas:#F5F7FB; --surface:#FFFFFF; --panel:#E9EFFB;
  --ink:#131B2E; --ink-soft:#33405C; --muted:#5B6782;
  --line:rgba(19,27,46,.10); --line-strong:rgba(19,27,46,.18);
  --cobalt:#2C5BD0; --cobalt-hover:#2349AD; --on-cobalt:#FFFFFF;
  --teal:#14B3A1; --teal-strong:#0F8A7E; --teal-soft:#D3F2EC; --on-teal-soft:#0B4F48;
  --track:#E8EDF6; --periwinkle:#B9C9EE;
  --neg:#B23A26; --neg-soft:#FDE8E4; --on-neg-soft:#8A2B1C;
  --amber:#C98A12; --amber-soft:#FBF1D9; --on-amber-soft:#6B4A06;
  --purple:#7A3E9D; --purple-soft:#F1E8F7; --on-purple-soft:#6A2F8A;
  --radius-control:12px; --radius-panel:16px; --radius-pill:999px;
  --shadow:0 1px 2px rgba(19,27,46,.05),0 8px 24px rgba(19,27,46,.06);
  --font-display:"Instrument Serif",Georgia,serif;
  --font-ui:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-figures:"Geist Mono",ui-monospace,Menlo,monospace;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--canvas);color:var(--ink);font:15px/1.55 var(--font-ui);-webkit-font-smoothing:antialiased}
a{color:var(--cobalt)}a:hover{color:var(--cobalt-hover)}
button,input,textarea,select{font:inherit;color:inherit}
h1{margin:0;font:400 40px/1.1 var(--font-display);letter-spacing:-.01em}
h2{margin:0;font-size:18px;font-weight:600}
h3{margin:0;font-size:15px;font-weight:600}
.eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)}.small{font-size:13px}.soft{color:var(--ink-soft)}
.mono{font-family:var(--font-figures);font-variant-numeric:tabular-nums}

/* top bar */
.top{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:10px 24px;background:rgba(245,247,251,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink);text-decoration:none}
.brand img{width:30px;height:26px;object-fit:contain}
.brand .by{font-weight:500;font-size:12px;color:var(--muted);margin-left:2px;white-space:nowrap}
.views{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--panel);border-radius:var(--radius-pill)}
.views a,.navlink{color:var(--ink-soft);font-weight:600;text-decoration:none;padding:7px 13px;border-radius:var(--radius-pill)}
.views a:hover,.navlink:hover{background:var(--panel);color:var(--ink)}
.views a.on{background:var(--surface);color:var(--cobalt);box-shadow:0 1px 2px rgba(19,27,46,.08)}
.navlink.on{color:var(--cobalt)}
.spacer{flex:1}

/* layout */
.page{max-width:1240px;margin:0 auto;padding:26px 24px 56px;display:flex;flex-direction:column;gap:20px}
.hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px}
.hero .sub{margin:6px 0 0;color:var(--ink-soft)}
.back{font-size:14px;font-weight:600;text-decoration:none}
/* Where you are: Accounts › Northwind Supply › Automate Atlanta */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px;line-height:1.4;min-width:0}
.crumbs a{font-weight:600;text-decoration:none}.crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.crumbs .sep{color:var(--muted)}
.crumbs [aria-current]{color:var(--ink-soft);overflow-wrap:anywhere}
/* Tacity's own words, explained on tap or hover */
.term{all:unset;cursor:help;border-bottom:1px dotted currentColor;text-underline-offset:3px}
.term:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px;border-radius:2px}
button.term-chip{cursor:help;border:0;font-family:inherit}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:20px;box-shadow:var(--shadow)}
.card.flat{box-shadow:none;background:var(--canvas)}
.card > h2{margin-bottom:10px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:20px;align-items:start}
.row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.row > .main{flex:999 1 560px;min-width:0}
.row > .side{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:20px}
.stack{display:flex;flex-direction:column;gap:14px}
.line{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.line:first-child{border-top:0}
.line > .grow{flex:1;min-width:0}
.empty{padding:36px;text-align:center;color:var(--muted)}
.tablewrap{overflow-x:auto}
table.data{width:100%;border-collapse:collapse;font-size:14px;min-width:640px}
table.data th{text-align:left;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line-strong)}
table.data td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}

/* controls */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--radius-control);border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{border-color:var(--cobalt);color:var(--ink)}
.btn.primary{background:var(--cobalt);border-color:var(--cobalt);color:var(--on-cobalt)}
.btn.primary:hover{background:var(--cobalt-hover);color:var(--on-cobalt)}
.btn.ghost{background:var(--surface)}
.btn.sm{min-height:34px;padding:0 12px;font-size:13px;border-radius:10px}
.btn:disabled{opacity:.55;cursor:progress}
.linkish{border:0;background:none;color:var(--cobalt);cursor:pointer;padding:0;font-weight:600;font-size:14px;min-height:28px}
label.f,p.f{display:block;font-size:13px;font-weight:600;color:var(--ink-soft);margin:0 0 6px}
input[type=text],input[type=url],input[type=email],input[type=date],textarea,select{width:100%;min-height:44px;padding:10px 12px;border-radius:var(--radius-control);border:1px solid var(--line-strong);background:var(--surface)}
textarea{min-height:110px;resize:vertical}
input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--cobalt);outline-offset:1px}
.seg{display:inline-flex;gap:4px;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-pill)}
.seg button{border:0;background:none;font-weight:600;color:var(--ink-soft);padding:7px 14px;border-radius:var(--radius-pill);cursor:pointer;min-height:36px}
.seg button.on{background:var(--ink);color:#fff}
.tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line)}
.tabs button{border:0;background:none;border-bottom:2px solid transparent;padding:10px 14px;font-weight:600;color:var(--ink-soft);cursor:pointer;min-height:44px;white-space:nowrap}
.tabs button.on{color:var(--cobalt);border-bottom-color:var(--cobalt)}

/* chips, avatars, meters */
.chip{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;white-space:nowrap;background:var(--panel);color:var(--ink-soft)}
.chip.likely,.chip.sure,.chip.good,.chip.supports,.chip.won{background:var(--teal-soft);color:var(--on-teal-soft)}
.chip.toss_up,.chip.mid,.chip.forming,.chip.guess{background:var(--amber-soft);color:var(--on-amber-soft)}
.chip.unlikely,.chip.bad,.chip.opposes,.chip.lost{background:var(--neg-soft);color:var(--on-neg-soft)}
.chip.info,.chip.likelyc{background:var(--panel);color:var(--cobalt)}
.chip.neutral,.chip.unknown,.chip.quiet{background:var(--track);color:var(--muted)}
.chip.sim{background:var(--amber-soft);color:var(--on-amber-soft)}
.chip.big{font-size:15px;padding:5px 14px}
.tag{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:1px 7px;border-radius:6px;white-space:nowrap;background:var(--track);color:var(--ink-soft)}
.tag.role{background:var(--track);color:var(--ink-soft)}
.tag.company,.tag.sweep{background:var(--purple-soft);color:var(--on-purple-soft)}
.tag.personal,.tag.people{background:var(--teal-soft);color:var(--on-teal-soft)}
.tag.team{background:var(--amber-soft);color:var(--on-amber-soft)}
.tag.crm{background:var(--panel);color:var(--cobalt)}
.av{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex:none}
.av.lg{width:52px;height:52px;font-size:18px}
.av.veto{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--neg)}
.av.unmet{background:var(--track);color:var(--muted);border:1.5px dashed var(--on-amber-soft)}
.who{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:var(--radius-pill);background:var(--canvas);font-size:13px;font-weight:600;color:var(--ink);text-decoration:none}
.who.unmet{border:1px dashed var(--on-amber-soft);background:var(--amber-soft);color:var(--on-amber-soft);padding:4px 10px}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}
.dot.supports{background:var(--teal-strong)}.dot.opposes{background:var(--neg)}.dot.neutral,.dot.unknown{background:#8A94AB}
.meter{display:inline-flex;gap:3px;vertical-align:middle}
.meter span{width:18px;height:7px;border-radius:4px;background:var(--track)}
.meter span.on{background:var(--teal-strong)}
.bar{display:flex;height:10px;border-radius:5px;overflow:hidden;gap:2px;background:var(--track)}
.trend{font-weight:700}.trend.up{color:var(--teal-strong)}.trend.down{color:var(--neg)}.trend.flat,.trend.neutral{color:var(--muted)}

/* decisions */
.dec{display:flex;flex-direction:column;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:18px;box-shadow:var(--shadow)}
.dec.forming{border-style:dashed;border-color:var(--on-amber-soft);background:#FFFCF4;box-shadow:none}
.dec .title{font-size:21px;font-weight:700;color:var(--ink);text-decoration:none}
.moved{padding:10px 14px;border-radius:var(--radius-control);background:var(--canvas);font-size:14px}
.moved.down{background:var(--neg-soft);color:var(--on-neg-soft)}.moved.up{background:var(--teal-soft);color:var(--on-teal-soft)}
.ev{display:grid;grid-template-columns:96px 22px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.ev:first-child{border-top:0}
.rule{font-size:13px;color:var(--on-amber-soft);padding:6px 10px;background:var(--amber-soft);margin:6px 0;border-radius:8px}
.callout{padding:12px 14px;border-radius:var(--radius-control);background:var(--panel);font-size:14px}
.callout.amber{background:var(--amber-soft);color:var(--on-amber-soft)}
.callout.ink{background:var(--ink);color:#fff}
.callout.teal{background:var(--teal-soft);color:var(--on-teal-soft)}

/* chat */
.chat{display:flex;flex-direction:column;gap:12px;max-height:62vh;overflow-y:auto;padding:4px}
.msg{max-width:80%;padding:10px 14px;border-radius:14px;white-space:pre-wrap}
.msg.me{align-self:flex-end;background:var(--cobalt);color:#fff;border-bottom-right-radius:4px}
.msg.them{align-self:flex-start;background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:4px}
.msg.them b{display:block;font-size:13px}
.coach{align-self:stretch;font-size:14px;padding:10px 14px;border-radius:12px;background:var(--panel)}
.composer{display:flex;gap:10px;margin-top:12px}
.composer textarea{min-height:52px;height:52px}

/* dialogs, drawer, toast */
dialog{border:0;border-radius:var(--radius-panel);box-shadow:0 20px 60px rgba(19,27,46,.25);padding:0;width:min(680px,calc(100vw - 24px));max-height:calc(100vh - 40px)}
dialog::backdrop{background:rgba(19,27,46,.35)}
.dlg{padding:22px;overflow-y:auto;max-height:calc(100vh - 40px);display:flex;flex-direction:column;gap:14px}
.dlg header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.drop{display:block;border:2px dashed var(--line-strong);border-radius:var(--radius-panel);padding:22px;text-align:center;color:var(--muted);cursor:pointer}
.drop input{display:block;margin:10px auto 0}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100vw);background:var(--surface);box-shadow:-10px 0 40px rgba(19,27,46,.15);transform:translateX(105%);transition:transform .2s;z-index:20;display:flex;flex-direction:column}
.drawer.open{transform:none}
.drawer header{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}
.drawer .body{padding:12px 20px;overflow-y:auto}
blockquote{margin:6px 0 0;padding:6px 12px;border-left:3px solid var(--periwinkle);background:var(--canvas);border-radius:0 8px 8px 0;font-style:italic;color:var(--ink-soft)}
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:var(--radius-control);z-index:30;max-width:calc(100vw - 32px)}
.spinner{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width:760px){
  .top{padding:8px 12px;gap:8px}
  .brand span{display:none}
  .views{order:3;width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .views a{padding:6px 11px;white-space:nowrap}
  .top .btn.primary{min-height:38px;padding:0 12px}
  .page{padding:18px 12px 40px}
  h1{font-size:30px}
  .ev{grid-template-columns:78px 18px minmax(0,1fr)}
  .msg{max-width:92%}
}

[hidden] { display: none !important; }

/* company rules (policies) */
.chip.must{background:var(--neg-soft);color:var(--on-neg-soft)}
.chip.process{background:var(--panel);color:var(--cobalt)}
.chip.preferred{background:var(--track);color:var(--ink-soft)}
.tag.document{background:var(--panel);color:var(--cobalt)}
.tag.meeting{background:var(--teal-soft);color:var(--on-teal-soft)}
.rule-meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;color:var(--muted);margin-top:4px}

/* insight-first decision page */
.insight .headline{font:400 30px/1.2 var(--font-display);letter-spacing:-.01em}
.move{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.blockers{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.blocker{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-control);padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.blocker .k{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.blocker .t{font-weight:600;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.k-blocker,.k-rule{color:var(--neg)}.k-unmet,.k-gate{color:var(--on-amber-soft)}.k-unknown{color:var(--muted)}
.people{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center}
.pread{display:inline-flex;gap:8px;align-items:center;text-decoration:none;color:inherit}
.v-bad{color:var(--neg)}.v-good{color:var(--on-teal-soft)}.v-mid{color:var(--on-amber-soft)}.v-quiet{color:var(--muted)}
details.fold{padding:0}
details.fold>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:14px 20px;font-weight:600}
details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary::before{content:"›";display:inline-block;margin-right:8px;color:var(--muted);transition:transform .15s}
details.fold[open]>summary::before{transform:rotate(90deg)}
details.fold>summary>span:first-child{flex:1}
.fold-body{padding:0 20px 18px}
.glances{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 20px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.glance{display:flex;flex-direction:column;gap:4px}
.glance .k{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.glance .t{font-size:14px;line-height:1.4}
.k-good{color:var(--on-teal-soft)}
.decline{display:flex;gap:12px;align-items:center;padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-control);text-decoration:none;color:inherit}
.decline:hover{border-color:var(--line-strong)}
.glance button{align-self:flex-start;padding:0}
.viewas{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:flex-end}
.viewas label{display:flex;gap:6px;align-items:center;margin:0}
.viewas select{padding:4px 8px;width:auto}
/* decision hub */
.hubtabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-top:-6px}
.hubtabs a{position:relative;padding:10px 14px;text-decoration:none;color:var(--muted);font-weight:600;font-size:15px;border-bottom:2px solid transparent;margin-bottom:-1px}
.hubtabs a:hover{color:var(--ink)}
.hubtabs a.on{color:var(--ink);border-bottom-color:var(--cobalt)}
.hubtabs .lead-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:var(--radius-pill);background:var(--panel);color:var(--cobalt-hover);font-size:11px;font-weight:600;letter-spacing:.01em;vertical-align:1px}
.tabtitle{font:400 24px/1.2 var(--font-display)}
.pread.on b{text-decoration:underline;text-underline-offset:4px}
/* founder's view */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:16px 18px;display:flex;flex-direction:column;gap:4px;text-decoration:none;color:inherit}
a.tile:hover{border-color:var(--line-strong)}
.tile .num{font:400 32px/1.1 var(--font-display);font-variant-numeric:tabular-nums}
.teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
a.card.needs{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
a.card.needs:hover{border-color:var(--line-strong)}
.headline-sm{font:400 20px/1.25 var(--font-display)}
/* hosted with Clerk: the organization switcher and user menu sit in the header without pushing "Add meeting" down */
#who{min-width:0}
.top:not(.clerk) #who{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}
@media (max-width:900px){.top:not(.clerk) #who{display:none!important}}
#clerkOrg{max-width:180px}
.top [data-nav="settings"] svg{display:block}
@media (max-width:860px){.top{gap:8px 12px;padding:10px 16px}#clerkOrg{max-width:140px}}
/* inline selects (team roles, view as) keep their own width instead of squeezing the row */
.line select,.member select{width:auto;flex:0 0 auto;min-height:36px;padding:6px 10px}
.member{flex-wrap:wrap}
.member .grow{overflow-wrap:anywhere}
@media (max-width:760px){
  .top{gap:6px 8px}
  .top .btn,.top .navlink{min-height:34px;padding:0 10px;display:inline-flex;align-items:center}
  #demoChip{font-size:11px;padding:2px 8px}
  .line{flex-wrap:wrap}
  .line > .grow{flex-basis:60%}
  .chip,.tag{white-space:normal;max-width:100%}
  .tile .num{font-size:26px}
}
/* header labels: words on wide screens, icons and short words on phones */
.top .ico{display:none}.top .lbl-short{display:none}
@media (max-width:760px){
  .top .ico{display:block}.top .navlink .lbl{display:none}
  .top .lbl-long{display:none}.top .lbl-short{display:inline}
}
.top.clerk .ico{display:block}.top.clerk .navlink .lbl{display:none}
@media (max-width:1100px){.top.clerk .lbl-long{display:none}.top.clerk .lbl-short{display:inline}.top.clerk{gap:8px 12px}.top.clerk .brand span{display:none}}
@media (max-width:760px){.top.clerk #demoChip{display:none}.top.clerk #clerkOrg{max-width:120px}}
@media (max-width:760px){.top.clerk{gap:6px 6px;padding:8px 12px}}

/* Workspace switcher (Tacity twins / Simulatte studies) */
.ws-switch{position:relative}
.ws-switch>summary{list-style:none;cursor:pointer;font-size:13px;font-weight:600;padding:6px 10px;border-radius:var(--radius-pill);background:var(--canvas);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-switch>summary::-webkit-details-marker{display:none}
.ws-switch>summary::after{content:" ▾";color:var(--muted)}
.ws-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:220px;max-width:min(300px,90vw);background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:6px;display:flex;flex-direction:column;gap:2px}
.ws-menu .eyebrow{margin:6px 8px 2px}
.ws-item{text-align:left;background:none;border:0;padding:8px 10px;border-radius:8px;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.ws-item:hover{background:var(--canvas)}.ws-item.on{font-weight:700}
@media (max-width:760px){.ws-menu{left:0;right:auto;max-width:calc(100vw - 24px)}}

/* ---- welcome: the two first-run screens ---- */
.wel{background:var(--canvas);border:1px solid var(--line);border-radius:var(--radius-panel);overflow:hidden;box-shadow:var(--shadow);max-width:1180px;margin:0 auto}
.wel-bar{display:flex;align-items:center;gap:10px;padding:14px 22px;border-bottom:1px solid var(--line)}
.wel-logo{display:flex;align-items:center;gap:8px;font-weight:700}
.wel-logo small{font-weight:500;color:var(--muted);font-size:12px}
.wel-pips{margin-left:auto;display:flex;gap:6px;align-items:center;font:500 12px var(--font-figures);color:var(--muted)}
.wel-pips .pip{width:22px;height:5px;border-radius:3px;background:var(--panel)}.wel-pips .pip.on{background:var(--cobalt)}
.wel-body{padding:40px clamp(18px,4vw,56px) 34px;display:grid;gap:26px}
.wel-h{font:400 clamp(32px,4.4vw,52px)/1.04 var(--font-display);margin:6px 0 10px;text-wrap:balance;max-width:20ch}
.wel-h em{color:var(--cobalt);font-style:normal}
.wel-lede{margin:0;color:var(--ink-soft);font-size:16.5px;max-width:62ch}
.wel-flow{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1.25fr) 24px minmax(0,1fr);gap:10px;align-items:stretch}
.wel-arrow{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:20px}
.wel-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;gap:12px;align-content:start;min-width:0}
.wel-panel h3{margin:0;font-size:15.5px}
.wel-src,.wel-out{display:flex;gap:10px;align-items:center;font-size:13.5px;padding:8px 10px;border-radius:10px;background:var(--canvas)}
.wel-src i{font-style:normal;font:500 11px var(--font-figures);color:var(--muted);margin-left:auto}
.wel-who{display:flex;gap:10px;align-items:center}.wel-who b{display:block;font-size:14px}.wel-who div span{font-size:12.5px;color:var(--muted)}
.wel-claim{display:flex;gap:8px;align-items:baseline;font-size:13.5px;color:var(--ink-soft);padding-top:8px;border-top:1px solid var(--line)}
.wel-why{margin-left:auto;color:var(--cobalt);font-size:12.5px;font-weight:600}
.wel-trust{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:space-between;padding:14px 18px;background:var(--panel);border-radius:12px;font-size:14px;color:var(--ink-soft)}
.wel-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.wel-field{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.wel-field input{flex:1 1 220px;min-width:0}
.wel-role{display:flex;gap:14px;align-items:center;justify-content:space-between;background:var(--panel);border-radius:12px;padding:14px 18px;font-size:14.5px;color:var(--ink-soft);flex-wrap:wrap}
.wel-role b{color:var(--ink)}
@media (max-width:760px){.wel-flow{grid-template-columns:minmax(0,1fr)}.wel-arrow{transform:rotate(90deg);height:22px}}

/* Founder pipeline: open deals split by odds; the parts add up to the whole */
.pipebar{display:flex;height:12px;border-radius:var(--radius-pill);overflow:hidden;gap:2px;background:var(--track)}
.pipebar span,.pipebar button{min-width:4px;border:0;padding:0;cursor:pointer;transition:opacity .15s}
.pipebar button.dim{opacity:.25}
.pipelegend button{border:1px solid transparent;background:none;border-radius:var(--radius-pill);padding:4px 10px;margin-left:-10px;cursor:pointer;font:inherit;color:inherit;text-align:left}
.pipelegend button:hover{background:var(--panel)}
.pipelegend button[aria-pressed="true"]{background:var(--panel);border-color:var(--line-strong)}
.pipelist table.data{min-width:0}
table.pipe td{vertical-align:top}table.pipe .num{text-align:right;white-space:nowrap}
.whence summary{cursor:pointer}.whence p{margin:8px 0 0;max-width:72ch}
@media (max-width:760px){table.pipe thead{display:none}table.pipe tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px 0;border-bottom:1px solid var(--line)}
  table.pipe td{display:block;padding:0;border:0}table.pipe td:first-child,table.pipe td:last-child{grid-column:1/-1}table.pipe .num{text-align:left}}
.pb-likely{background:var(--teal-strong)}.pb-toss_up{background:var(--amber)}.pb-unlikely{background:var(--neg)}.pb-unscored{background:var(--periwinkle)}
.pipelegend{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:14px}
.pipelegend .dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:1px}

/* Keyboard users can jump past the top bar */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--surface);color:var(--ink);padding:10px 14px;border-radius:10px;box-shadow:var(--shadow);font-weight:600}
.skip:focus{top:10px}
main:focus{outline:none}

/* Restructure: deal steps, Deals list, ⌘K search, the week */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:-4px}
.steps a{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:var(--radius-pill);text-decoration:none;color:var(--ink-soft);font-weight:600;font-size:14px}
.steps a:hover{background:var(--panel);color:var(--ink)}
.steps a.on{background:var(--panel);color:var(--cobalt-hover)}
.steps .n{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surface);border:1px solid var(--line-strong);font:600 12px/1 var(--font-figures)}
.steps a.on .n{background:var(--cobalt);border-color:var(--cobalt);color:var(--on-cobalt)}
.steps .sep{color:var(--muted)}
.searchbtn{display:inline-flex;align-items:center;gap:8px;background:none;border:0;cursor:pointer}
.searchbtn kbd,.searchhint kbd{font:600 11px/1 var(--font-figures);padding:3px 6px;border-radius:6px;background:var(--surface);border:1px solid var(--line-strong);color:var(--muted)}
#search{width:min(600px,calc(100vw - 24px));margin-top:12vh}
.searchbox{display:flex;flex-direction:column}
#searchQ{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 20px;font-size:17px;outline:none;background:var(--surface)}
#searchList{max-height:min(420px,55vh);overflow-y:auto;padding:6px}
.sgroup+.sgroup{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}
.sglabel{margin:6px 10px 2px;font-size:12px;font-weight:600;color:var(--muted)}
.sitem{display:flex;flex-direction:column;gap:1px;padding:8px 12px;border-radius:10px;text-decoration:none;color:var(--ink)}
.sitem.on,.sitem:hover{background:var(--panel);color:var(--ink)}
.searchhint{margin:0;padding:10px 16px;border-top:1px solid var(--line)}
.dealbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:var(--radius-pill);background:var(--track)}
.seg button{border:0;background:none;padding:6px 12px;border-radius:var(--radius-pill);font-weight:600;font-size:14px;color:var(--ink-soft);cursor:pointer}
.seg button:hover{color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(19,27,46,.10)}
.seg .n{font:500 12px var(--font-figures);color:var(--muted)}
.sortby{margin-left:auto;display:inline-flex;align-items:center;gap:8px}
.card.flush{padding:0;overflow:hidden}
table.deals td,table.deals th{vertical-align:middle}
table.deals .num{text-align:right;white-space:nowrap}
table.deals .act{text-align:right;white-space:nowrap}
table.deals tfoot td{font-weight:600;border-top:1px solid var(--line-strong)}
.week .when{min-width:132px}
.week .acts{display:inline-flex;gap:8px}
.hero .sub .today{color:var(--ink)}
@media (max-width:760px){
  .sortby{margin-left:0}
  .week .line{flex-wrap:wrap}.week .acts{width:100%}
  .searchbtn kbd{display:none}
}
table.deals td:nth-child(4),table.deals th{white-space:nowrap}
.sortby{white-space:nowrap}
/* Four sections and search in the top bar: below 1280px the extras go to icons so it stays on one row */
@media (max-width:1280px){
  .top{gap:8px 12px}.brand .by{display:none}
  .top .searchbtn .ico,.top .navlink[data-nav="settings"] .ico{display:block}
  .top .searchbtn .lbl,.top .navlink[data-nav="settings"] .lbl{display:none}
  .top .searchbtn,.top .navlink[data-nav="settings"]{padding:7px 9px}
  .top .lbl-long{display:none}.top .lbl-short{display:inline}
}
@media (max-width:760px){
  .seg{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none}.seg::-webkit-scrollbar{display:none}
  .seg button{white-space:nowrap}
  table.deals thead{display:none}
  table.deals,table.deals tbody,table.deals tfoot{display:block;width:100%}
  table.deals tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 14px;border-bottom:1px solid var(--line)}
  table.deals td{display:block;padding:0;border:0;white-space:normal}
  table.deals td:nth-child(1){grid-column:1/-1}
  table.deals td:nth-child(2){grid-column:1/-1;font-size:13px}
  table.deals td:nth-child(3){text-align:left}
  table.deals td:nth-child(4){font-size:13px;color:var(--muted)}
  table.deals td:nth-child(5){align-self:center}
  table.deals td.act{text-align:right;align-self:center}
  table.deals tfoot tr{grid-template-columns:1fr auto}table.deals tfoot td:empty{display:none}
}
@media (max-width:760px){table.data.deals{min-width:0}table.deals td:first-child .small{overflow-wrap:anywhere}}

/* Why this number */
.why .whyhead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.calc{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.calc li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:baseline;font-size:14px;color:var(--ink-soft)}
.calc .n{font-size:15px;color:var(--ink);text-align:right}
.calc li.final{border-top:1px solid var(--line);padding-top:8px}
.calc li.final .n{font-size:18px;font-weight:600}
.forag p.f{margin:0 0 4px}
.whysect{border-top:1px solid var(--line);padding-top:10px}
.whysect>summary{display:flex;justify-content:space-between;gap:10px;cursor:pointer;font-weight:600;list-style:none}
.whysect>summary::-webkit-details-marker{display:none}
.whybody{display:grid;gap:8px;margin-top:10px}
.whybody p.f{margin:8px 0 0}
.whyperson{display:grid;gap:6px;padding:10px 0;border-bottom:1px dashed var(--line)}
.whyperson:last-child{border-bottom:0}
.whyrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;font-size:14px}
.whyrow .chip{min-width:84px;justify-content:center;text-align:center}
.ev{margin-top:4px}.ev summary{cursor:pointer;display:inline-block;white-space:nowrap;width:auto}
.evline{border-left:1px solid var(--line-strong);padding:4px 0 4px 10px;margin-top:6px;font-size:13px}
.evline .q{font-style:italic;color:var(--ink)}
.fixform{display:grid;gap:6px;background:var(--panel);border-radius:12px;padding:12px;margin-left:94px}
@media (max-width:760px){.whyrow{grid-template-columns:minmax(0,1fr)}.whyrow .chip{justify-self:start}.fixform{margin-left:0}}
.forag{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}
.forag>div{display:grid;gap:3px;align-content:start}
@media (max-width:760px){.forag{grid-template-columns:minmax(0,1fr)}}

/* A run meeting */
.meetopts{display:grid;gap:10px;background:var(--panel);border-radius:12px;padding:12px}
.checkline{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-soft)}
.checkline input{margin-top:3px}
.meetpanel{display:grid;gap:10px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.meethead{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:baseline}
.agenda{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.agenda li{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.agenda li .chip{min-width:60px;justify-content:center}
.agenda li.done b,.agenda li.parked b{color:var(--muted)}
.ontable p.f,.outcome p.f{margin:0 0 4px}
.outcome{background:var(--panel);border-radius:12px;padding:12px;display:grid;gap:8px}
.outhead{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.outgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}
.stances{display:flex;flex-wrap:wrap;gap:6px}
.msg .to{color:var(--muted);font-weight:500;font-size:12.5px}
.msg .act{display:inline-block;margin-left:8px;font-size:11.5px;font-weight:600;color:var(--muted);background:var(--track);border-radius:var(--radius-pill);padding:1px 7px;vertical-align:1px}
.msg .mhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin-bottom:2px}.msg .mhead b{display:inline}
.msg.aside{opacity:.85;font-style:italic}
.sysline{text-align:center;font-size:13px;color:var(--muted);margin:6px 0}
.meetend{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}
@media (max-width:760px){.outgrid{grid-template-columns:minmax(0,1fr)}}

/* glance-first blocks (docs/specs/09-ui-glance-first.md): a visual and a label first, the working behind a click */
.gauge{position:relative;display:inline-grid;justify-items:center;align-content:end;width:92px;height:62px;text-decoration:none;color:var(--ink);flex:none}
.gauge.lg{width:132px;height:86px}.gauge.sm{width:70px;height:48px}
.gauge svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gauge-track{fill:none;stroke:var(--track);stroke-width:9;stroke-linecap:round}
.gauge-fill{fill:none;stroke:var(--muted);stroke-width:9;stroke-linecap:round}
.gauge.likely .gauge-fill{stroke:var(--teal-strong)}.gauge.toss_up .gauge-fill{stroke:var(--amber)}.gauge.unlikely .gauge-fill{stroke:var(--neg)}
.gauge.early .gauge-track{stroke-dasharray:3 4;stroke-linecap:butt}
.gauge-n{position:relative;font-size:19px;font-weight:600;line-height:1}.gauge.lg .gauge-n{font-size:26px}.gauge.sm .gauge-n{font-size:15px}
.gauge-n .trend{font-size:.7em;margin-left:2px}
.gauge-b{position:relative;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-soft)}
.gauge.none{color:var(--muted)}.gauge.none .gauge-n{font-size:18px}
a.gauge:hover .gauge-b{color:var(--cobalt)}
.health{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;text-decoration:none;color:var(--ink)}
.health .hd{font-size:15px;line-height:1}.health.moving .hd{color:var(--teal-strong)}.health.slowing .hd{color:var(--amber)}.health.stalled .hd{color:var(--neg)}
.health .hm{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:6px;background:var(--track);font-size:11px;color:var(--ink-soft)}
.prow{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.pp{position:relative;display:inline-flex;border-radius:50%;text-decoration:none;flex:none}
.pp .av{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--track)}
.pp.supports .av{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--teal-strong)}
.pp.opposes .av{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--neg)}
.pp.neutral .av{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--periwinkle)}
.pp.opposes .av::after{content:"✕";position:absolute;left:-5px;top:-5px;font-size:9px;width:14px;height:14px;border-radius:50%;background:var(--neg);color:#fff;display:flex;align-items:center;justify-content:center}
.pp.supports .av::after{content:"✓";position:absolute;left:-5px;top:-5px;font-size:9px;width:14px;height:14px;border-radius:50%;background:var(--teal-strong);color:#fff;display:flex;align-items:center;justify-content:center}
.pp.unmet .av{background:var(--surface);color:var(--muted);border:1.5px dashed var(--on-amber-soft);box-shadow:none}
.pp-veto{position:absolute;right:-6px;top:-7px;font-size:11px;line-height:1}
.pp-known{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;border:2px solid var(--surface)}
.pp-known.own{background:var(--teal-strong)}.pp-known.first{background:var(--surface);box-shadow:inset 0 0 0 2px var(--amber)}.pp-known.none,.pp-known.skip{display:none}
.pstrip{display:inline-flex;flex-wrap:wrap;gap:4px;text-decoration:none}
.pchip{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;font-size:12px;font-weight:700}
.pchip.good{background:var(--teal-soft);color:var(--on-teal-soft)}.pchip.info{background:var(--panel);color:var(--cobalt)}
.pchip.mid{background:var(--amber-soft);color:var(--on-amber-soft)}.pchip.bad{background:var(--neg-soft);color:var(--on-neg-soft)}.pchip.quiet{background:var(--track);color:var(--muted)}
.gates{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px}
.gates li a{color:inherit;text-decoration:none}.gates li{display:flex}
.gi{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:11px;font-weight:700;margin-right:6px;flex:none}
.gi.good{background:var(--teal-soft);color:var(--on-teal-soft)}.gi.bad{background:var(--neg-soft);color:var(--on-neg-soft)}.gi.quiet{background:var(--track);color:var(--muted)}
.spark{display:block;overflow:visible}
.sp-line{fill:none;stroke:var(--cobalt);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.sp-end{fill:var(--cobalt);stroke:var(--surface);stroke-width:2}
.sp-hit{fill:transparent}.sp-hit:hover{fill:rgba(44,91,208,.18)}
.sp-target{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}
.sp-mark{stroke:var(--line-strong);stroke-width:2}.sp-mark.news{stroke:var(--purple)}
.nextmove{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.qcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-control);padding:10px 12px}
.qcard.obj{border-left:3px solid var(--amber)}
.qcard summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none}
.qcard summary::-webkit-details-marker{display:none}
.qcard .qtext{flex:1;min-width:0;font-weight:600;font-size:14px}
.qcard .qlike{font-size:10px;letter-spacing:1px;color:var(--ink-soft)}
.qsay{margin-top:8px;padding:8px 10px;border-radius:8px;background:var(--teal-soft);color:var(--on-teal-soft);font-size:14px}
.qsay .eyebrow{color:inherit;margin-right:6px}
.av.sm{width:26px;height:26px;font-size:10px}
.saychips{display:flex;flex-wrap:wrap;gap:6px}
.gtiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.gtile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);text-decoration:none;color:inherit;min-width:0}
a.gtile:hover{border-color:var(--line-strong)}
.gtile .gv{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:40px}
.hwk{border-top:1px solid var(--line);padding-top:8px}
.hwk > summary{cursor:pointer;font-weight:600;color:var(--cobalt);font-size:14px}
.hwk-body{margin-top:12px;display:flex;flex-direction:column;gap:14px}
/* Today: one card per decision, glance only */
.gcard{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 16px;align-items:center;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);box-shadow:var(--shadow)}
.gcard.forming{border-style:dashed;border-color:var(--on-amber-soft);background:#FFFCF4;box-shadow:none}
.gcard .gc-main{display:flex;flex-direction:column;gap:6px;min-width:0}
.gcard .gc-title{font-weight:700;font-size:16px;color:var(--ink);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gcard .gc-sub{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:12px;color:var(--muted)}
.gcard .gc-act{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
@media (max-width:760px){.gcard{grid-template-columns:auto minmax(0,1fr)}.gcard .gc-act{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:space-between}}
.card .headline{font:400 24px/1.25 var(--font-display);letter-spacing:-.01em}
/* QBR rehearsal */
.agrow{display:grid;grid-template-columns:18px minmax(0,1fr) minmax(0,200px) 56px 24px;gap:8px;align-items:center}
.agrow input,.agrow select{min-height:38px;padding:6px 10px}
.qchips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:transparent;padding:0 0 0 12px;border-left:2px solid var(--line-strong);border-radius:0}
.qchips .chip{white-space:normal}
.readiness li{align-items:flex-start}
@media (max-width:760px){.agrow{grid-template-columns:18px minmax(0,1fr) 56px 24px}.agrow select{grid-column:2 / -1}}
.custline{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}

/* Today inbox (spec 17): Ready, Approve, Watch */
.inbox{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;align-items:start}
.icol{display:flex;flex-direction:column;gap:8px;min-width:0}
.ihead{display:flex;align-items:baseline;gap:8px}
.ihead h2{margin:0;font-size:18px}
.ihead .count{font:600 12px/1 var(--font-mono, monospace);padding:3px 7px;border-radius:999px;background:var(--panel);color:var(--cobalt)}
.icard{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 10px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-left-width:1px;border-radius:12px;box-shadow:var(--shadow)}
.icard .iglyph{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--panel);color:var(--cobalt)}
.icard.t-good .iglyph{background:var(--teal-soft);color:var(--on-teal-soft)}
.icard.t-bad .iglyph{background:var(--neg-soft, #FDE8E4);color:var(--on-neg-soft, #8A2B1C)}
.icard.t-mid .iglyph{background:var(--amber-soft, #FBF1D9);color:var(--on-amber-soft, #7A5300)}
.icard .ic-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.icard .ic-kind{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.icard .ic-title{font-size:15px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.icard .ic-detail{font-size:13px;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.icard .ic-sub{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.icard .ic-act{grid-column:2;display:flex;align-items:center;gap:10px;margin-top:4px}
.icard-empty{padding:10px 14px;border:1px dashed var(--line);border-radius:12px}
.inbox-empty{padding:12px 16px}
.inbox:has(> .icol:only-child) > .icol{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.inbox:has(> .icol:only-child) > .icol > .ihead{grid-column:1 / -1}
/* Spec 10: band-only gauge before the odds are calibrated */
.gauge.bandonly .gauge-n{font-size:14px;font-weight:700;letter-spacing:-.01em}
.gauge.lg.bandonly .gauge-n{font-size:19px}.gauge.sm.bandonly .gauge-n{font-size:12.5px}
.gauge.bandonly{align-content:end;padding-bottom:2px}
.gauge-seg{fill:none;stroke:var(--track);stroke-width:9;stroke-linecap:round}
.gauge.likely .gauge-seg.on{stroke:var(--teal-strong)}.gauge.toss_up .gauge-seg.on{stroke:var(--amber)}.gauge.unlikely .gauge-seg.on{stroke:var(--neg)}
.gauge.early .gauge-seg.on{stroke-dasharray:6 3;stroke-linecap:butt}

/* Promise strip: chips plus their words (spec 17: every icon has a word) */
.pstrip{display:inline-flex;flex-direction:column;gap:4px;text-decoration:none}
.pstrip .pstrip-chips{display:inline-flex;gap:3px;flex-wrap:wrap}
.pstrip .pwords{display:flex;flex-wrap:wrap;gap:2px 8px;font-size:12px;color:var(--ink-soft)}
/* Deck review heatmap (spec 16): slides across, people down; an icon and a word per cell, never colour alone */
.heat{overflow-x:auto}
.heat table{border-collapse:separate;border-spacing:3px}
.heat th{font-size:12px;font-weight:600;color:var(--muted);text-align:center;padding:2px 4px}
.heat th.who{text-align:left;white-space:nowrap;color:var(--ink)}
.hcell{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:58px;height:44px;border:1px solid var(--line);border-radius:8px;font:600 11px/1.2 var(--font-ui);cursor:pointer;background:var(--surface);color:var(--ink-soft)}
.hcell b{font-size:14px}
.hcell.good{background:var(--teal-soft);color:var(--on-teal-soft)}
.hcell.mixed{background:var(--amber-soft);color:var(--on-amber-soft)}
.hcell.bad{background:var(--neg-soft);color:var(--on-neg-soft)}
.hcell.quiet{background:var(--track);color:var(--muted)}
.hcell.sel{outline:2px solid var(--cobalt);outline-offset:1px}
.chg{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.chg textarea{width:100%;min-height:54px;margin-top:6px}
.qualchips{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}

/* As of (spec 12): a past read of the Why panel or a person */
.asofbar{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:4px 0 8px;color:var(--ink-soft)}
.asofbar input[type=date]{padding:3px 6px;font-size:13px}
.pastview [data-fix]{display:none}

/* ---------------------------------------------------------------- spec 21: the shell, the brief, founder priorities */
.shell{display:flex;min-height:100vh}
.content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.rail{flex:none;width:232px;position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--panel);border-right:1px solid var(--line);padding:16px 12px;display:flex;flex-direction:column;gap:2px;z-index:6}
.rail .brand{padding:4px 10px 18px}
.rail .nav{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:11px;min-height:40px;padding:0 12px;border-radius:11px;font-weight:600;font-size:14px;color:var(--ink-soft);cursor:pointer}
.rail .nav:hover{background:rgba(255,255,255,.6);color:var(--ink)}
.rail .nav:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.rail .nav.on{background:var(--surface);color:var(--cobalt);box-shadow:0 1px 2px rgba(19,27,46,.06),0 4px 12px rgba(44,91,208,.08)}
.rail .nav svg{flex:none}
.rail .nav kbd{margin-left:auto;font-size:11px;padding:1px 6px;border-radius:6px;border:1px solid var(--line-strong);color:var(--muted);font-family:inherit}
.rail .count,.tabbar .count{margin-left:auto;min-width:22px;height:20px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;background:var(--teal-soft);color:var(--on-teal-soft)}
.railfoot{margin-top:auto;display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line);padding-top:10px}
.railme{padding:8px 12px 0;font-size:12px;color:var(--muted)}
body.railed .top .brand,body.railed .top .topsettings,body.railed .top #openSearch{display:none}
body.railed .top{background:transparent;border-bottom:0;backdrop-filter:none;padding:14px 32px 0;position:static}
.tabbar{display:none}

.hero.brief h1{font:400 44px/1.05 var(--font-display);letter-spacing:-.01em}
.serif{font-family:var(--font-display);font-weight:400}
h2.sect,.secthead h2,.bandhead h2{margin:0;font:400 26px/1.15 var(--font-display)}
.secthead{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin:0 0 12px}

.strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.strip .play{padding:18px 22px 20px;display:flex;flex-direction:column;gap:9px;min-width:0;text-decoration:none;color:inherit;border-radius:18px}
.strip .play + .play{border-left:1px solid var(--line);border-radius:0}
.strip .play:hover h2{color:var(--cobalt)}
.strip h2{margin:0;font-size:13px;font-weight:600;color:var(--ink-soft)}
.strip .val{font-size:28px;line-height:1}
.strip .val small{font:13px var(--font-ui);color:var(--muted);margin-left:6px}
.strip .bar{display:flex;gap:3px;height:10px}
.strip .bar i{display:block;border-radius:3px;height:100%}
.strip .bar .pb-forming{background:repeating-linear-gradient(90deg,var(--periwinkle) 0 6px,transparent 6px 10px);border:1px solid var(--periwinkle)}
.strip .legend{font-size:13px;color:var(--ink-soft)}
.strip .legend b{font-weight:600;color:var(--ink)}

.band{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden}
.bandhead{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;padding:18px 24px 12px}
.band-empty{margin:0;padding:18px 24px 22px;color:var(--muted)}
.flag{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:18px;align-items:start;padding:20px 24px;border-top:1px solid var(--line)}
.fstatus{display:flex;flex-direction:column;gap:6px;align-items:flex-start;perspective:400px}
.word{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;transform-origin:50% 0}
.word.red{background:var(--neg-soft);color:var(--on-neg-soft)}
.word.amb{background:var(--amber-soft);color:var(--on-amber-soft)}
.word.tl{background:var(--teal-soft);color:var(--on-teal-soft)}
.flip{animation:flip .7s cubic-bezier(.16,1,.3,1) .4s both}
@keyframes flip{0%{transform:rotateX(-92deg);opacity:.2}60%{transform:rotateX(14deg);opacity:1}100%{transform:rotateX(0)}}
.was{font-size:12px;color:var(--muted)}
.fwhat h3{margin:0;font-size:22px;line-height:1.15}
.fwhat h3 a{color:inherit;text-decoration:none}.fwhat h3 a:hover{color:var(--cobalt)}
.fwhat .sub{margin:3px 0 0;font-size:14px;color:var(--ink-soft)}
.fwhat .why{margin:10px 0 0;max-width:64ch}
.meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:13px;color:var(--muted)}
.meta b{color:var(--ink-soft);font-weight:600}
.facts{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.prio{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:12px;padding:10px 12px;border-radius:12px;background:var(--teal-soft);color:var(--on-teal-soft);font-size:13px}
.prio .prio-last{flex-basis:100%;color:var(--ink-soft)}
.checkback{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 24px;border-top:1px solid var(--line);background:var(--amber-soft);font-size:14px}
.teamrow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.teamtile{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.teamtile h3{font-size:14px;color:var(--ink-soft)}
.teamtile .big{font-size:24px;line-height:1.1}
.teamtile p{margin:0;font-size:13px;color:var(--muted)}
.footline{margin:0}

.alerts{display:flex;flex-direction:column;gap:8px}
.alert{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 12px 12px 12px;border-radius:14px;font-size:14px}
.alert.red{background:var(--neg-soft);color:var(--on-neg-soft)}
.alert.amb{background:var(--amber-soft);color:var(--on-amber-soft)}
.alert.tl{background:var(--teal-soft);color:var(--on-teal-soft)}
.alert.info{background:var(--panel);color:var(--ink-soft)}
.alert .ic{width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center}
.alert p{margin:0}
.alert .aact{display:flex;align-items:center;gap:2px}
.alert .go{color:inherit;font-weight:700;font-size:13px;text-underline-offset:3px;padding:0 6px}
.alert .x{border:0;background:none;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:inherit;opacity:.7;cursor:pointer}
.alert .x:hover{opacity:1;background:rgba(255,255,255,.6)}

.queue{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.job{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 22px}
.job + .job{border-top:1px solid var(--line)}
.job .when{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--muted)}
.job .when b{font-size:13px;color:var(--ink);font-weight:600}
.job h3{margin:0;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.job p{margin:2px 0 0;font-size:14px;color:var(--ink-soft)}
.job .jwhat{min-width:0}
.job .jact{display:flex;flex-direction:column;align-items:flex-end;gap:4px}

.changed{border-top:1px solid var(--line-strong);padding-top:14px}
.changed summary{cursor:pointer;font-weight:600}
.changed ul{list-style:none;margin:12px 0 0;padding:0}
.changed li{display:flex;gap:12px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line);font-size:14px;color:var(--ink-soft)}
.changed li .mono{font-size:12px;color:var(--muted);min-width:96px}

.prio-card{display:flex;flex-direction:column;gap:12px}
.pc-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:flex-start}
.pc-act{display:flex;gap:8px}
.pc-log{list-style:none;margin:0;padding:0}
.pc-log li{display:flex;gap:12px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.pc-log li .mono{font-size:12px;color:var(--muted);min-width:96px}
.pc-post{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pc-post textarea{min-height:64px}

.pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);font-size:14px;font-weight:600;color:var(--ink-soft);cursor:pointer}
.pill[aria-pressed="true"]{border-color:var(--cobalt);background:#EEF3FD;color:var(--cobalt)}
.drawer .summary{padding:12px 14px;border-radius:12px;background:var(--canvas);font-size:14px;color:var(--ink-soft)}

@media (max-width:860px){
  .rail{display:none}
  body.railed .top{position:sticky;top:0;padding:8px 12px;background:rgba(245,247,251,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(8px)}
  body.railed .top .brand,body.railed .top .topsettings,body.railed .top #openSearch{display:inline-flex}
  body.railed .page{padding-bottom:96px}
  .tabbar:not([hidden]){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:10;left:0;right:0;bottom:0;padding:6px 6px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(10px)}
  .tabbar .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;font-size:11px;font-weight:600;color:var(--muted);text-decoration:none;position:relative}
  .tabbar .tab.on{color:var(--cobalt)}
  .tabbar .count{position:absolute;top:2px;right:calc(50% - 22px);margin:0;min-width:18px;height:16px;font-size:10px}
  .toast{bottom:88px}
  .hero.brief h1{font-size:34px}
  .strip,.teamrow{grid-template-columns:minmax(0,1fr)}
  .strip .play + .play{border-left:0;border-top:1px solid var(--line)}
  .flag{grid-template-columns:minmax(0,1fr);gap:10px;padding:18px 16px}
  .fstatus{flex-direction:row;align-items:center}
  .facts{flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap}
  .bandhead{padding:16px 16px 10px}.checkback{padding:12px 16px}
  .job{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 16px}
  .job .when{flex-direction:row;gap:8px}
  .job .jact{flex-direction:row;align-items:center;justify-content:flex-start}
  .drawer{top:auto;width:100vw;max-height:88vh;border-radius:22px 22px 0 0;transform:translateY(105%)}
  .drawer.open{transform:none}
}
@media (prefers-reduced-motion:reduce){.flip{animation:none}}
.content > .page{width:100%;max-width:1100px;padding:22px 32px 64px;gap:28px}
@media (max-width:860px){.content > .page{padding:18px 14px 96px;gap:22px}}
@media (max-width:860px){
  .strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .strip .play{padding:12px 12px 14px;gap:7px}
  .strip .play + .play{border-top:0;border-left:1px solid var(--line)}
  .strip .val{font-size:22px}.strip .val small{display:block;margin:4px 0 0;font-size:11px}
  .strip .legend{font-size:11px}
}

/* who decides, as a matrix (D10) */
.committee{display:flex;flex-direction:column;gap:14px}
.gates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gate{border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;background:var(--surface)}
.gate.g-red{background:var(--neg-soft);border-color:transparent}
.gate.g-tl{background:var(--teal-soft);border-color:transparent}
.gate.g-amb{background:var(--amber-soft);border-color:transparent;border-style:dashed}
.gate.g-unk{border-style:dashed}
.gate-head{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.gate-label{font-size:13px;font-weight:600;color:var(--ink-soft)}
.word.unk{background:var(--panel);color:var(--ink-soft)}
.holder{display:flex;gap:8px;align-items:center;text-decoration:none;color:inherit}
.holder span{display:flex;flex-direction:column;line-height:1.25}
.gate-empty{margin:0;color:var(--on-amber-soft)}
.route{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding-top:12px;border-top:1px solid var(--line)}
.hops{display:flex;align-items:center;gap:6px}
.hop{display:inline-block;width:34px;height:0;border-top:2px solid var(--teal-strong);margin:0 2px}
.hop.weak{border-top-style:dashed;border-top-color:var(--amber)}
@media (max-width:860px){.gates{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Add menu, the Test place (agreed 25 Oct) */
.addmenu{position:relative}
.addmenu > summary{list-style:none;cursor:pointer}
.addmenu > summary::-webkit-details-marker{display:none}
.addpop{position:absolute;right:0;top:calc(100% + 6px);z-index:8;width:320px;max-width:calc(100vw - 32px);background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(19,27,46,.14);padding:6px;display:flex;flex-direction:column}
.addpop a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;text-decoration:none;color:var(--ink)}
.addpop a:hover,.addpop a:focus-visible{background:var(--panel)}
.addpop a span{font-size:13px;color:var(--muted)}
.testlist{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.testrow,.line.pick{display:flex;align-items:center;gap:14px;padding:14px 18px;text-decoration:none;color:inherit;border-top:1px solid var(--line)}
.testrow:first-child,.card.flush > .line.pick:first-child{border-top:0}
.testrow:hover,.line.pick:hover{background:var(--canvas)}
.tr-main{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.tr-main span,.line.pick .small{display:block;font-size:13px;color:var(--muted)}
.tr-go{color:var(--muted);font-size:20px;line-height:1}

/* ---------------------------------------------------------------- refinement pass (25 Oct): quieter, smaller, flatter.
   One scale for the whole app. Body 14, small 12.5, section titles 20 serif, page titles 32 serif. Hairlines instead of
   shadows; 12px panels, 9px controls; 36px controls on desktop, 44px on touch. */
:root{--radius-control:9px;--radius-panel:12px;--shadow:0 1px 0 rgba(19,27,46,.03);--line:rgba(19,27,46,.09);--line-strong:rgba(19,27,46,.15)}
body{font-size:14px;line-height:1.55;font-feature-settings:"ss01","cv11"}
h1{font-size:32px;line-height:1.1;letter-spacing:-.012em}
h2{font-size:15px;font-weight:600;letter-spacing:-.005em}
h3{font-size:14px;font-weight:600}
.small{font-size:12.5px}
.eyebrow{font-size:11px;letter-spacing:.07em;font-weight:600}
::selection{background:#D4DEF6;color:var(--ink)}
:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.mono{font-size:.94em}

/* rail: slimmer, lighter, one quiet active state */
.rail{width:212px;padding:14px 10px 12px;background:#EEF2FA;border-right:1px solid var(--line);gap:1px}
.rail .brand{padding:2px 10px 16px;font-size:14px}
.rail .brand img{width:24px;height:21px}
.rail .nav{min-height:34px;padding:0 10px;gap:10px;font-size:13.5px;font-weight:500;color:var(--ink-soft);border-radius:8px}
.rail .nav svg{width:16px;height:16px;opacity:.75}
.rail .nav:hover{background:rgba(255,255,255,.7)}
.rail .nav.on{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.rail .nav.on svg{opacity:1;color:var(--cobalt)}
.rail .count,.tabbar .count{height:18px;min-width:20px;font-size:11px;font-weight:600}
.railfoot{padding-top:8px}
.railme{font-size:11.5px;padding:6px 10px 0}

/* top bar */
body.railed .top{padding:12px 28px 0;gap:10px}
.top .btn{min-height:34px;padding:0 14px;font-size:13px}
#demoChip{font-size:11.5px}

/* page rhythm: 24 between sections */
.content > .page{max-width:1080px;padding:18px 28px 56px;gap:24px}
.hero{gap:10px}
.hero .sub{margin-top:4px;font-size:13.5px;color:var(--muted)}
.hero.brief h1{font-size:32px}
h2.sect,.secthead h2,.bandhead h2{font-size:20px;line-height:1.2}
.secthead{margin-bottom:10px}

/* controls */
.btn{min-height:36px;padding:0 14px;font-size:13.5px;font-weight:600;border-radius:var(--radius-control)}
.btn.sm{min-height:30px;padding:0 10px;font-size:12.5px;border-radius:8px}
.btn.primary{box-shadow:0 1px 0 rgba(19,27,46,.08)}
.linkish{font-size:13px}
.chip{padding:1px 8px;font-size:11.5px;font-weight:600}
.chip.big{font-size:13px;padding:3px 10px}
.word{height:22px;padding:0 8px;font-size:11px;letter-spacing:.06em;border-radius:6px}
input,select,textarea{font-size:14px}

/* surfaces: flatter */
.card,.tile,.gcard,.strip,.band,.queue,.teamtile,.testlist,.gate{box-shadow:none}
.card{padding:16px 18px}
.strip,.band,.queue{border-radius:var(--radius-panel)}
.strip .play{padding:14px 18px 16px;gap:7px}
.strip .play + .play{border-radius:0}
.strip h2{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.01em}
.strip .val{font-size:24px}
.strip .val small{font-size:12px}
.strip .bar{height:6px;gap:2px}
.strip .bar i{border-radius:2px}
.strip .legend{font-size:12.5px}
.bandhead{padding:14px 20px 8px}
.flag{grid-template-columns:104px minmax(0,1fr) auto;gap:16px;padding:16px 20px}
.fwhat h3{font-size:18px}
.fwhat .sub{font-size:13px}
.fwhat .why{margin-top:8px;font-size:14px;color:var(--ink)}
.meta{font-size:12.5px;margin-top:8px}
.prio{font-size:12.5px;padding:8px 10px;border-radius:9px}
.checkback{padding:10px 20px;font-size:13px}
.teamtile{padding:14px 16px;border-radius:var(--radius-panel)}
.teamtile .big{font-size:20px}
.alert{padding:9px 10px;border-radius:10px;font-size:13.5px;grid-template-columns:28px minmax(0,1fr) auto;gap:10px}
.alert .ic{width:28px;height:28px;border-radius:8px}
.alert .ic svg{width:15px;height:15px}
.job{padding:13px 18px;grid-template-columns:104px minmax(0,1fr) auto;gap:14px}
.job h3{font-size:14px}
.job p{font-size:13px}
.job .when b{font-size:12.5px}
.changed summary{font-size:13.5px}
.changed li{font-size:13px;padding:8px 0}
.gtiles{gap:10px}
.tile{padding:14px 16px;border-radius:var(--radius-panel)}
.gcard{padding:12px 14px;border-radius:var(--radius-panel)}
.gate{padding:10px;border-radius:10px}
.gate-label{font-size:12px}
.hubtabs a{font-size:13.5px}
table.data{font-size:13.5px}
table.data th{font-size:11px;font-weight:600}
table.data td{padding:10px}
.testrow,.line.pick{padding:12px 16px}
.drawer{width:min(420px,100vw)}
.pill{min-height:34px;padding:0 12px;font-size:13px}

@media (max-width:860px){
  body.railed .top{padding:8px 12px}
  .content > .page{padding:16px 14px 92px;gap:20px}
  .hero.brief h1,h1{font-size:28px}
  .btn{min-height:42px}.btn.sm{min-height:36px}.pill{min-height:40px}
  .flag{padding:14px 16px;grid-template-columns:minmax(0,1fr)}
  .job{grid-template-columns:minmax(0,1fr);padding:12px 14px}
  .strip .val{font-size:20px}
}
input[type=text],input[type=url],input[type=email],input[type=date],input[type=number],input[type=search],select{min-height:36px;padding:7px 10px}
textarea{padding:9px 11px;min-height:96px}
.viewas select{min-height:30px;padding:3px 26px 3px 8px;font-size:12.5px}
@media (max-width:860px){input[type=text],input[type=url],input[type=email],input[type=date],input[type=number],input[type=search],select{min-height:42px}}
@media (max-width:860px){.alert{grid-template-columns:28px minmax(0,1fr)}.alert .aact{grid-column:2;justify-content:flex-start;margin-left:-6px}}
.qp-slides{display:flex;flex-wrap:wrap;gap:6px}
.qp-slide{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border:1px solid var(--line);border-radius:8px;font-size:12.5px;background:var(--canvas)}
.qp-slide .mono{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:5px;background:var(--surface);font-size:11px;color:var(--muted)}
.qp-fill label{font-weight:500;line-height:1.4}
/* the QBR deck (spec 30): the team's inputs, and rehearsing with the deck */
.qd-up{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.qd-up input[type=file]{max-width:100%;min-width:0;font-size:13px}
.qd-sub{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.qd-hard{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--canvas)}
.qd-fix{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.qd-fix .grow{flex:1 1 220px;min-width:0}
.qd-slide{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-bottom:1px solid var(--line)}
.qd-slide:last-child{border-bottom:0}
/* Present (spec 30): the pack full screen, drawn from its data. Sizes inside a slide are in slide units (--pz-u: one
   point on a 13.33-inch slide), so the slide and its thumbnail scale alike. Colours come from the template when read. */
.pz-present{position:fixed;inset:0;z-index:200;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;background:#0E1320;color:#E8ECF5;
  --pz-u:calc(100cqw / 960);--pz-missed:#C2410C;--pz-risk:#B26B00}
.pz-present:focus{outline:none}
.pz-present.pz-presenter{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}
.pz-stage{container-type:size;display:grid;place-items:center;padding:16px;min-width:0;min-height:0;cursor:pointer}
.pz-presenter .pz-stage{cursor:default}
.pz-slide{container-type:inline-size;position:relative;width:min(100cqw,calc(100cqh * var(--pz-aspect)));aspect-ratio:var(--pz-aspect);overflow:hidden;
  background:var(--pz-bg);color:var(--pz-ink);border-radius:4px;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.pz-in{position:absolute;inset:0;display:flex;flex-direction:column;padding:3.4cqw 5.25cqw;font-family:var(--font-ui);line-height:1.3}
.pz-in h1,.pz-in h2{margin:0;font-family:var(--pz-title);font-weight:400;line-height:1.1;color:var(--pz-ink);text-wrap:balance}
.pz-cover{justify-content:center}
.pz-rule{flex:none;width:6.75cqw;height:.4cqw;margin:.8cqw 0 1.6cqw;background:var(--pz-accent2)}
.pz-in p{margin:0 0 .8cqw}
.pz-in ul{margin:0 0 .8cqw;padding:0;list-style:none}
.pz-in li{position:relative;margin:0 0 .8cqw;padding-left:1.3em}
.pz-in li::before{content:attr(data-b);position:absolute;left:0;color:var(--pz-accent2)}
.pz-body{display:flex;flex-direction:column;gap:1.4cqw;min-height:0}
.pz-body.side{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start}
.pz-table{width:100%;border-collapse:collapse}
.pz-table th{padding:.6cqw .8cqw;text-align:left;font-weight:700;color:var(--pz-accent);border-bottom:.15cqw solid var(--pz-accent)}
.pz-table td{padding:.6cqw .8cqw;vertical-align:top;border-bottom:.08cqw solid color-mix(in srgb,var(--pz-ink) 16%,transparent)}
.pz-chart{margin:0;min-height:0}
.pz-chart figcaption{margin-bottom:.4cqw;font-weight:700}
.pz-chart svg{display:block;width:100%;height:auto}
.pz-side{display:flex;flex-direction:column;gap:20px;min-height:0;padding:16px 20px 16px 4px;overflow-y:auto}
.pz-side .pz-thumb{width:100%;box-shadow:none;outline:1px solid rgba(255,255,255,.15)}
.pz-label{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9AA6C0}
.pz-side p{margin:0 0 8px;line-height:1.45}
.pz-notes{font-size:17px;line-height:1.5}
.pz-dim{color:#9AA6C0}
.pz-side .caveat{color:#C7CFDF}
.pz-bar{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:8px 16px calc(8px + env(safe-area-inset-bottom))}
.pz-bar button{min-width:44px;min-height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.08);color:inherit;font:inherit;font-weight:600;cursor:pointer}
.pz-bar button:hover:not(:disabled){background:rgba(255,255,255,.16)}
.pz-bar button:disabled{opacity:.35;cursor:default}
.pz-bar button:focus-visible{outline:2px solid #8FB0FF;outline-offset:2px}
@media (max-width:760px){
  .pz-present.pz-presenter{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,42vh) minmax(0,1fr) auto}
  .pz-side{padding:4px 16px 12px}
  .pz-stage{padding:8px}
}
.qd-slidehead{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.qd-point input,.qd-point textarea{width:100%;box-sizing:border-box}

/* renewal playbook */
.pb-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.pb-step{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.pb-step:first-child{border-top:0}
.pb-step.s-done,.pb-step.s-skipped{opacity:.62}
.pb-when{display:flex;flex-direction:column;gap:2px;position:relative;padding-left:14px}
.pb-when::before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:50%;background:var(--cobalt)}
.s-done .pb-when::before{background:var(--teal-strong)}
.pb-body{display:flex;flex-direction:column;gap:8px;min-width:0}
.pb-head{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}
.pb-head b{font-size:15px}
.pb-who{display:flex;gap:8px;align-items:center;font-size:13.5px}
.pb-why{margin:0;color:var(--ink-soft);max-width:72ch}
.pb-coach{font-size:13px}
.pb-coach summary{cursor:pointer;color:var(--cobalt);font-weight:600}
.pb-coach div{margin-top:6px}
.pb-draft,.pb-plan,.pb-test{padding:8px 10px;border-radius:9px;background:var(--canvas);display:flex;flex-direction:column;gap:4px}
.pb-draft{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}
.pb-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pb-foot{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;border-top:1px solid var(--line);padding-top:12px}
@media (max-width:860px){.pb-step{grid-template-columns:minmax(0,1fr);gap:6px}}

/* worth checking (tacit signals): a hypothesis card, calm */
.worth{display:flex;flex-direction:column;gap:8px;padding:14px 16px}
.worth-h{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:14px}
.worth-lines{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.worth-act{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.worth-why{border-top:1px solid var(--line);padding-top:8px}

/* Gong connector (Settings → Connected tools): calm, inline */
.gong-keys{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.gong-keys input{width:180px;min-height:36px;padding:6px 10px}
.gong-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gong-est{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding:10px 12px;border-radius:9px;background:var(--canvas);font-size:14px}
@media (max-width:860px){.gong-keys input{width:100%}}

/* founder priorities, editable (spec 22 section 2): inline, compact; the team asking for help stands out */
.prio-card.helping{border-color:var(--neg);background:linear-gradient(var(--neg-soft),var(--neg-soft)) top/100% 4px no-repeat,var(--surface)}
.pc-call{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-radius:var(--radius-panel);background:var(--teal-soft);color:var(--on-teal-soft);font-size:13.5px}
.pc-call.red{background:var(--neg-soft);color:var(--on-neg-soft)}
.pc-call p{margin:0}
.pc-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pc-row input{flex:1 1 220px}
.pc-tools{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:flex-start}
.pc-fold{font-size:13px}
.pc-fold summary{cursor:pointer;color:var(--cobalt);font-weight:600;list-style:none}
.pc-fold summary::-webkit-details-marker{display:none}
.pc-fold[open]{flex-basis:100%}
.pc-form{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end;margin-top:8px}
.pc-form label.f{display:flex;flex-direction:column;gap:4px;margin:0}
.pc-form input[type=text]{flex:1 1 220px}
.checkback.helping{background:var(--neg-soft);color:var(--on-neg-soft)}

/* deck edits (spec 16, pre-sales): accept or reject each, the twin feedback behind it, before and after per person */
.chg .pills{flex:none}
.chg.rejected .grow{opacity:.5}
.chg.rejected textarea{display:none}
.cites{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.cites li{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.45}
.cmp{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:var(--radius-panel);background:var(--canvas)}
.cmp-row{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;padding:6px 0;border-top:1px solid var(--line)}
.cmp-row:first-of-type{border-top:0}
.cmp-who{display:inline-flex;gap:6px;align-items:center;min-width:110px}
@media (max-width:860px){.chg{flex-direction:column}}
.chg > .grow{flex:1 1 auto;min-width:0}

/* handoff packets (spec 23 item 1): hairline sections, the evidence one click away, one primary action */
.ho-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between}
.ho-list{display:flex;flex-direction:column}
.ho-row{display:flex;gap:10px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit}
.ho-row:first-child{border-top:0}
.ho-row .grow{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}
.ho-q{color:var(--on-amber-soft)}
.ho-packet{padding:16px 18px}
.ho-sec{display:flex;flex-direction:column;gap:6px;padding-top:12px;border-top:1px solid var(--line)}
.ho-sec:first-child{padding-top:0;border-top:0}
.ho-sec h3{margin:0;font-size:12.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.ho-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14px}
.ho-lines > li{display:flex;flex-direction:column;gap:2px}
.ho-ev{font-size:12.5px}
.ho-ev summary{cursor:pointer;color:var(--cobalt);font-weight:600;width:max-content}
.ho-ev ul{list-style:none;margin:4px 0 0;padding:6px 10px;border-radius:9px;background:var(--canvas);display:flex;flex-direction:column;gap:4px}
.ho-changed{display:flex;flex-direction:column;gap:8px}
.ho-chg{display:flex;flex-direction:column;gap:4px}
.ho-was{margin:2px 0 0 4px}
.ho-qbox{display:flex;flex-direction:column;gap:8px}
.ho-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ho-elines{display:flex;flex-direction:column;gap:6px}
.ho-eline{display:flex;gap:8px;align-items:center}
.ho-eline input{flex:1 1 auto;min-width:0}
.ho-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.ho-log li{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px}
@media (max-width:860px){.ho-row{flex-wrap:wrap}.ho-log li{grid-template-columns:minmax(0,1fr);gap:2px}}
.ho-sec [data-ho-add]{align-self:flex-start}

/* caveats attached to claims (spec 23 item 4): next to the claim, readable, one look everywhere */
.caveat{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:500;line-height:1.35;color:var(--ink-soft);white-space:normal;vertical-align:baseline}
.caveat::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--line-strong)}
.caveat.cv-simulated::before,.caveat.cv-unchecked::before{background:var(--amber)}
.caveat.cv-own_words::before{background:var(--teal-strong)}
.caveat.cv-our_reading::before,.caveat.cv-signals::before{background:var(--cobalt)}
.caveat.cv-typical::before{background:var(--muted)}
.gtile .tile-cv{display:block;margin-top:6px}
.cvs{display:inline-flex;flex-wrap:wrap;gap:4px 12px}
h2 .caveat,.headline .caveat{font-family:var(--font-ui);letter-spacing:0;vertical-align:middle}
summary .caveat{margin-left:6px}

/* the grounding panel beside a rehearsal (spec 23 item 2): hairline, compact, always in view */
.rehgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.rehmain{min-width:0}
.ground{position:sticky;top:12px;display:flex;flex-direction:column;gap:10px;padding-left:16px;border-left:1px solid var(--line);font-size:13.5px;max-height:calc(100vh - 32px);overflow-y:auto}
.ground:empty{display:none}
.gr-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.gr-head h2{margin:0;font-size:14px}
.gr-tabs{display:flex;flex-wrap:wrap;gap:4px}
.gr-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--ink-soft);border-radius:var(--radius-pill);padding:2px 10px;font-size:12.5px;font-weight:600;cursor:pointer;min-height:28px}
.gr-tabs button[aria-selected=true]{background:var(--panel);color:var(--ink);border-color:var(--line-strong)}
.gr-body{display:flex;flex-direction:column;gap:12px}
.gr-sec h3{margin:0 0 4px;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:600}
.gr-sec ul,.gr-sec ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.gr-sec li{display:flex;flex-wrap:wrap;gap:2px 6px;align-items:baseline;line-height:1.45}
.gr-text{color:var(--ink)}
.gr-src{flex-basis:100%;font-size:12.5px;color:var(--muted)}
.gr-src a{color:inherit}
.gr-none{margin:0;font-size:13px}
.gr-verdict{flex-basis:100%;font-size:12.5px;color:var(--ink-soft)}
.gr-ladder{flex-basis:100%;font-size:12.5px}
.gr-ladder summary{cursor:pointer;color:var(--cobalt);font-weight:600}
.gr-ladder ol{margin-top:4px;gap:3px}
.gr-ladder .ok{color:var(--teal-strong);font-weight:700}.gr-ladder .no{color:var(--muted);font-weight:700}
.gr-kva ul + ul{margin-top:8px;padding-top:8px;border-top:1px dashed var(--line)}
@media (max-width:860px){
  .rehgrid{grid-template-columns:minmax(0,1fr);gap:12px}
  .ground{order:-1;position:static;max-height:46vh;padding:0 0 12px;border-left:0;border-bottom:1px solid var(--line)}
}

/* "what if" reruns (spec 23 item 3): the original and the what-if side by side */
.whatif{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.whatif summary{cursor:pointer;list-style:none;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.whatif summary::-webkit-details-marker{display:none}
.whatif summary b{color:var(--cobalt)}
.wi-box{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.wi-picks{display:flex;flex-wrap:wrap;gap:6px}
.wi-picks .pill[disabled]{opacity:.5;cursor:not-allowed}
.wi-own label.f{margin-bottom:4px}
.wi-past{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.wi-out:empty{display:none}
.wi-out{margin-top:14px}
.wi-head{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;justify-content:space-between}
.wi-head h2{margin:0}
.wi-sum{margin:0;font-size:15px;color:var(--ink)}
.wi-dec{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.wi-objs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.wi-obj ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.wi-obj li{padding-left:12px;position:relative;line-height:1.45}
.wi-obj li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--line-strong)}
.wi-obj li.add::before{background:var(--neg)}
.wi-obj li.gone{color:var(--ink-soft)}
.wi-obj li.gone::before{background:var(--teal-strong)}
.wi-cols,.wi-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.wi-colhead{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:600}
.wi-colhead.alt{color:var(--on-amber-soft)}
.wi-grid{display:flex;flex-direction:column}
.wi-pair{padding:10px 0;border-top:1px solid var(--line)}
.wi-col{display:flex;flex-direction:column;gap:4px;min-width:0}
.wi-col.alt{padding-left:12px;border-left:2px solid var(--amber-soft)}
.wi-rep{font-size:12.5px;color:var(--muted)}
.wi-line{line-height:1.45}
#wiList .line.on{background:var(--panel);border-radius:8px}
@media (max-width:860px){
  .wi-objs{grid-template-columns:minmax(0,1fr);gap:10px}
  .wi-cols{display:none}
  .wi-pair{grid-template-columns:minmax(0,1fr);gap:6px}
  .wi-col::before{content:"As rehearsed";font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:600}
  .wi-col.alt::before{content:"What if";color:var(--on-amber-soft)}
}

/* ---------------------------------------------------------------- the read (spec 24, sections 4.1, 4.2 and 6)
   A calm briefing at the top of a customer, decision or person page. The serif is Tacity's voice, for the headline
   only; on these pages the page title steps back to the interface face. Hairlines between parts, no cards inside,
   colour only for meaning: red at risk, amber cooling or changed, teal for. */
.page:has(> #readBox) h1{font:600 22px/1.25 var(--font-ui);letter-spacing:-.01em}
.page:has(> #readBox) .insight .headline,.page:has(> #readBox) .card .headline{font:600 16px/1.4 var(--font-ui);letter-spacing:0}
.read{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:26px 30px 22px;display:flex;flex-direction:column;min-width:0}
.read h3{margin:0 0 10px;font-size:13.5px;font-weight:600;color:var(--ink)}
.r-line{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13px;color:var(--muted)}
.r-changed,.r-new{display:inline-flex;align-items:center;padding:1px 8px;border-radius:var(--radius-pill);background:var(--amber-soft);color:var(--on-amber-soft);font-size:11.5px;font-weight:600;white-space:nowrap}
.r-new{padding:0 7px;font-size:11px}
.r-head{margin:10px 0 0;max-width:28em;font:400 30px/1.18 var(--font-display);letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.r-ctx{margin:12px 0 0;max-width:68ch;font-size:15px;line-height:1.6;color:var(--ink-soft);text-wrap:pretty}
.r-thin{margin:10px 0 0;max-width:68ch;font-size:13.5px;color:var(--ink-soft);display:flex;gap:8px;align-items:baseline}
.r-thin::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--muted);transform:translateY(-1px)}
.r-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.r-part{min-width:0;padding:0 22px}
.r-part:first-child{padding-left:0}.r-part:last-child{padding-right:0}
.r-part + .r-part{border-left:1px solid var(--line)}
.r-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.r-items li{display:flex;flex-direction:column;gap:4px;min-width:0}
.r-items p{margin:0;line-height:1.5;overflow-wrap:anywhere}
.r-quote{font-size:14.5px;color:var(--ink)}
.r-fact{display:flex;gap:8px;align-items:baseline}
.r-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--line-strong);transform:translateY(-1px)}
.r-dot.bad{background:var(--neg)}.r-dot.mid{background:var(--amber)}.r-dot.good{background:var(--teal-strong)}
.r-none{margin:0;font-size:13px;color:var(--muted)}
.r-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;font-size:12.5px;color:var(--muted)}
.r-meta a{color:var(--ink-soft);font-weight:600;text-decoration:none}.r-meta a:hover{color:var(--cobalt);text-decoration:underline;text-underline-offset:3px}
.read .r-ev{font-size:12.5px;padding:2px 0;min-height:24px}
.r-sec{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.r-plist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
.r-plist li{display:flex;flex-direction:column;gap:2px;min-width:0}
.r-prow{display:flex;gap:10px;align-items:baseline;justify-content:space-between}
.r-pname{min-width:0}
.r-pname > a{font-weight:600;color:var(--ink);text-decoration:none}.r-pname > a:hover{color:var(--cobalt);text-decoration:underline;text-underline-offset:3px}
.r-wants{margin:0;font-size:13.5px;color:var(--ink-soft)}
.r-stance{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.r-stance::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--line-strong)}
.r-stance.good{color:var(--teal-strong)}.r-stance.good::before{background:var(--teal-strong)}
.r-stance.bad{color:var(--neg)}.r-stance.bad::before{background:var(--neg)}
.r-stance.mid{color:var(--on-amber-soft)}.r-stance.mid::before{background:var(--amber)}
.r-move{margin:0 0 4px;max-width:68ch;font-size:16px;font-weight:600;line-height:1.45;color:var(--ink)}
.r-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.r-acts-note{font-size:12.5px;color:var(--muted)}
.r-flag{display:inline-flex;padding:0 7px;border-radius:var(--radius-pill);background:var(--neg-soft);color:var(--on-neg-soft);font-size:11px;font-weight:600;white-space:nowrap}
.r-foot{margin-top:20px;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted)}
.r-foot p{margin:0}
.r-rows{margin-top:22px;display:flex;flex-direction:column}
.r-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:8px 24px;padding:16px 0;border-top:1px solid var(--line)}
.r-row:last-child{padding-bottom:0}
.r-row h3{margin:0;padding-top:1px}
.r-row .r-items p{max-width:72ch}
.r-ask .r-move{font-weight:500}
.r-failed{padding:14px 18px;background:transparent}
.r-failed p{margin:0;font-size:13.5px;color:var(--ink-soft)}
.r-loading{gap:12px;min-height:220px}
.r-loading .sk{display:block;height:12px;border-radius:6px;background:var(--track);animation:rpulse 1.4s ease-in-out infinite}
.r-loading .sk-h{height:26px;width:88%}
.r-loading .sk-p{height:12px;width:96%}
@keyframes rpulse{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.r-loading .sk{animation:none}}
/* "Why we think this": the decision's working, folded under the read */
.whythis{border-top:1px solid var(--line);padding-top:4px}
.whythis > summary{cursor:pointer;list-style:none;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:10px 0}
.whythis > summary::-webkit-details-marker{display:none}
.whythis > summary h2{display:inline-flex;align-items:center;gap:8px;font-size:15px;color:var(--cobalt)}
.whythis > summary h2::before{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.whythis[open] > summary h2::before{transform:rotate(45deg) translate(-2px,-1px)}
.whythis-body{display:flex;flex-direction:column;gap:16px;padding:6px 0 4px}
@media (max-width:860px){
  .read{padding:20px 16px 18px}
  .r-head{font-size:25px;line-height:1.2}
  .r-ctx{font-size:14.5px}
  .r-parts{grid-template-columns:minmax(0,1fr);margin-top:20px;padding-top:0;border-top:0}
  .r-part,.r-part:first-child,.r-part:last-child{padding:16px 0 0;border-top:1px solid var(--line)}
  .r-part + .r-part{border-left:0;margin-top:16px}
  .r-plist{grid-template-columns:minmax(0,1fr)}
  .r-row{grid-template-columns:minmax(0,1fr)}
  .r-acts .btn{flex:1 1 auto;justify-content:center}
  .page:has(> #readBox) h1{font-size:20px}
}
/* Today as reads (spec 24 step 4): section titles in the interface's voice; Tacity's voice (serif) only on read
   headlines; colour only where it means something (a red flag, what changed for the worse). */
.td-sec{display:flex;flex-direction:column;gap:12px}
.td-h{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font:600 15px/1.3 var(--font-ui);letter-spacing:0;color:var(--ink)}
.td-since{font-size:13px;font-weight:500;color:var(--muted)}
.td-list{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel)}
.td-list > li + li{border-top:1px solid var(--line)}
.td-meet{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:8px 22px;align-items:start;padding:18px 22px}
.td-when{display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:600;color:var(--ink)}
.td-when .mono{font:500 12.5px/1.4 var(--font-figures);color:var(--muted)}
.td-body{min-width:0;display:flex;flex-direction:column;gap:6px}
.td-title{margin:0;font-size:14px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.td-title a{color:inherit;text-decoration:none}.td-title a:hover{color:var(--cobalt);text-decoration:underline;text-underline-offset:3px}
.td-title .muted{font-weight:500}
.td-ok{display:inline-flex;margin-left:6px;padding:0 8px;border-radius:var(--radius-pill);background:var(--teal-soft);color:var(--on-teal-soft);font-size:11.5px;font-weight:600;white-space:nowrap}
.td-head{margin:0;max-width:34em;font:400 22px/1.25 var(--font-display);letter-spacing:-.005em;color:var(--ink);text-wrap:balance}
.td-head a{color:inherit;text-decoration:none}.td-head a:hover{color:var(--cobalt)}
.td-move{margin:0;max-width:72ch;font-size:14px;line-height:1.5;color:var(--ink-soft);text-wrap:pretty}
.td-lbl{margin-right:8px;font-weight:600;color:var(--ink)}
.td-people{margin-top:2px}
.td-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.td-meet .td-acts{flex-direction:column;align-items:stretch}
.td-read{display:flex;flex-direction:column;gap:8px;padding:18px 22px;min-width:0}
.td-read .td-acts{margin-top:4px}
.td-line{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13px;color:var(--muted)}
.td-what{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 18px;font-size:13.5px;font-weight:600;color:var(--ink)}
.td-what li{display:flex;align-items:baseline;gap:7px;min-width:0}
.td-empty{margin:0;padding:16px 20px;border:1px dashed var(--line-strong);border-radius:var(--radius-panel);font-size:14px;line-height:1.55;color:var(--ink-soft)}
.td-empty .linkish{font-size:14px}
.td-also{margin-top:2px}
.td-also h3{margin:0 0 2px;font-size:13px;font-weight:600;color:var(--muted)}
.td-also ul{list-style:none;margin:0;padding:0}
.td-also li{display:flex;align-items:baseline;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink-soft)}
.td-also li > .mono{flex:none;min-width:92px;font:500 12px/1.4 var(--font-figures);color:var(--muted)}
.td-also a{color:var(--ink-soft);text-decoration:none}.td-also a:hover{color:var(--cobalt);text-decoration:underline;text-underline-offset:3px}
.td-also summary{cursor:pointer;padding:9px 0;border-top:1px solid var(--line);font-size:13px;font-weight:600;color:var(--cobalt)}
.td-quiet .queue{background:transparent}
.td-quiet .job{padding:12px 18px}
.td-quiet .job h3{font-size:14.5px}
.td-quiet .job p{font-size:13px}
.td-quiet .btn.primary{background:var(--surface);border-color:var(--line-strong);color:var(--ink);box-shadow:none}
.td-quiet .btn.primary:hover{border-color:var(--cobalt);color:var(--ink)}
.td-prios{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--radius-panel)}
.td-prio{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 18px;font-size:13.5px}
.td-prio + .td-prio{border-top:1px solid var(--line)}
.td-foot{margin:0;font-size:13px;color:var(--muted)}
.td-foot .linkish{font-size:13px}
/* Your priorities (spec 25 section 3): compact rows, the read's headline in Tacity's voice, the person's own controls
   quiet until the row is hovered or focused (a "…" menu where there is no hover). */
.pr-list > .pr-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 22px;align-items:start;padding:14px 22px}
.pr-main{min-width:0;display:flex;flex-direction:column;gap:4px}
.pr-head{margin:0;max-width:36em;font:400 19px/1.3 var(--font-display);letter-spacing:-.005em;color:var(--ink);text-wrap:balance}
.pr-head a{color:inherit;text-decoration:none}.pr-head a:hover{color:var(--cobalt)}
.pr-why{margin:0;font-size:13px;line-height:1.45;color:var(--ink-soft)}
.pr-back{font-weight:600;color:var(--ink)}
.pr-block,.pr-esc{margin:2px 0 0;max-width:72ch;font-size:13.5px;line-height:1.5;color:var(--ink-soft);text-wrap:pretty}
.pr-latest{display:block;margin-top:2px}
.pr-pin{font-size:12px;font-weight:600;color:var(--cobalt)}
.pr-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.pr-step{display:flex;gap:8px}
.pr-step .btn{max-width:16em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pr-ctl{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px 10px;opacity:0;transition:opacity .16s cubic-bezier(.16,1,.3,1)}
.pr-row:hover .pr-ctl,.pr-row:focus-within .pr-ctl{opacity:1}
.pr-c{padding:2px 0;border:0;background:none;font:500 12.5px/1.4 var(--font-ui);color:var(--muted);cursor:pointer}
.pr-c:hover{color:var(--cobalt);text-decoration:underline;text-underline-offset:3px}
.pr-c:disabled{opacity:.5;cursor:default}
.pr-menu{display:none;position:relative}
.pr-menu > summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;color:var(--muted);cursor:pointer}
.pr-menu > summary::-webkit-details-marker{display:none}
.pr-menu > summary:hover,.pr-menu[open] > summary{background:var(--panel);color:var(--ink)}
.pr-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:5;display:flex;flex-direction:column;min-width:170px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(20,30,60,.12)}
.pr-pop .pr-c{padding:9px 10px;border-radius:6px;text-align:left;font-size:14px;color:var(--ink)}
.pr-pop .pr-c:hover{background:var(--panel);text-decoration:none}
.pr-more > summary,.pr-away > summary{cursor:pointer;padding:8px 0 0;font-size:13px;font-weight:600;color:var(--cobalt)}
.pr-more > .pr-list{margin-top:8px}
.pr-foot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 18px}
.pr-add{max-width:22em;width:auto;font-size:13px;color:var(--ink-soft)}
.pr-away ul{list-style:none;margin:6px 0 0;padding:0}
.pr-away li{display:flex;align-items:baseline;gap:12px;padding:6px 0;font-size:13px;color:var(--ink-soft)}
@media (hover:none),(max-width:760px){
  .pr-ctl{display:none}
  .pr-menu{display:block}
}
@media (max-width:760px){
  .pr-list > .pr-row{grid-template-columns:minmax(0,1fr) auto;padding:14px 12px 14px 16px;gap:8px}
  .pr-side{display:contents}
  .pr-step{grid-column:1 / -1;grid-row:2}
  .pr-step .btn{flex:1 1 auto;justify-content:center;max-width:none}
  .pr-menu{grid-column:2;grid-row:1;margin:-6px -4px 0 0}
  .pr-head{font-size:18px}
}
@media (max-width:760px){
  .td-meet{grid-template-columns:minmax(0,1fr);gap:8px;padding:16px}
  .td-when{flex-direction:row;gap:8px}
  .td-meet .td-acts{flex-direction:row}
  .td-read{padding:16px}
  .td-head{font-size:20px}
  .td-acts .btn{flex:1 1 auto;justify-content:center}
  .td-also li{flex-direction:column;gap:2px}
  .td-prio{padding:12px 16px}
}
/* The meeting's reads (spec 24 steps 5-6): the page the email and Slack message open. Phone first: one reading column
   at every width; the serif only for the two headlines; after the meeting above before it. */
.mt-page{max-width:680px;margin:0 auto;display:flex;flex-direction:column;gap:16px;min-width:0}
.mt-top{display:flex;flex-direction:column;gap:4px}
.mt-when{margin:0;font-size:13px;color:var(--muted)}
.mt-title{margin:0;font:600 21px/1.3 var(--font-ui);letter-spacing:-.005em;color:var(--ink);overflow-wrap:anywhere}
.mt-h{margin:0;display:flex;align-items:baseline;gap:10px;font:600 13px/1.3 var(--font-ui);letter-spacing:.01em;color:var(--cobalt)}
.mt-h span{font-weight:500;color:var(--muted)}
.mt-read .r-head{margin-top:8px;font-size:28px}
.mt-sec{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.mt-sec h3{margin:0 0 10px}
.mt-lines,.mt-room,.mt-unsaid{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.mt-l{display:flex;flex-direction:column;gap:5px;padding:12px 0}
.mt-l:first-child{padding-top:0}
.mt-l + .mt-l{border-top:1px solid var(--line)}
.mt-lbl{margin:0;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--muted)}
.mt-text{margin:0;font-size:15px;font-weight:600;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.mt-quote{margin:0;padding:2px 0 2px 14px;border-left:1px solid var(--line-strong);font-size:14.5px;line-height:1.55;color:var(--ink-soft);overflow-wrap:anywhere}
.mt-pred{margin:12px 0 0;font-size:13.5px;color:var(--ink-soft)}
.mt-room li{display:flex;flex-direction:column;gap:3px;padding:10px 0}
.mt-room li:first-child{padding-top:0}
.mt-room li + li{border-top:1px solid var(--line)}
.mt-unmet{margin:0;font-size:12.5px;color:var(--muted)}
.mt-cav{margin:-4px 0 8px}
.mt-unsaid li{padding:6px 0;font-size:14.5px;line-height:1.5;color:var(--ink-soft)}
.mt-who{font-weight:600;color:var(--ink)}
.mt-ask .r-move{font-size:17px}
.mt-fu-to{margin:0 0 8px;font-size:13px;color:var(--muted)}
.mt-mail{padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--canvas)}
.mt-mail-subj{margin:0 0 6px;font-weight:600}
.mt-mail-body{margin:0;white-space:pre-wrap;font-size:14px;line-height:1.55;color:var(--ink-soft)}
.mt-note{margin:16px 0 0;font-size:12.5px;color:var(--muted)}
.mt-past{background:transparent}
.mt-past .r-head{font-size:22px}
.mt-foot{display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:var(--muted)}
.mt-foot p{margin:0}
.mt-foot summary{cursor:pointer;font-weight:600;color:var(--cobalt)}
.mt-msg{margin-top:10px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface)}
.mt-msg-subj{margin:0 0 8px;font-weight:600;color:var(--ink)}
.mt-msg pre{margin:0;white-space:pre-wrap;font:12.5px/1.5 var(--font-ui);color:var(--ink-soft)}
.mt-chans{padding-left:28px}
.mt-since{margin:-4px 0 10px;font-size:12.5px;color:var(--muted)}
.mt-text{display:flex;align-items:baseline;gap:8px}
.mt-text .r-dot{transform:translateY(-2px)}
.mt-was{color:var(--muted)}
.mt-by{font-size:12px;font-weight:600;color:var(--muted)}
.mt-newp{margin-left:6px}
.mt-ptext{margin:0;font-size:15px;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.mt-impact{margin:0;display:flex;flex-direction:column;gap:10px}
.mt-impact div{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:baseline}
.mt-impact dt{font-size:12.5px;font-weight:600;color:var(--muted)}
.mt-impact dd{margin:0;font-size:15px;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.mt-move{margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--canvas)}
.mt-move .mt-lbl{margin-bottom:4px}
.mt-move .r-move{margin:0}
.mt-ours{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.mt-ours li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 0;font-size:15px;line-height:1.45;color:var(--ink)}
.mt-ours li + li{border-top:1px solid var(--line)}
.mt-due{flex:none;font-size:13px;color:var(--ink-soft)}
.mt-ev summary{cursor:pointer;font-weight:600;color:var(--ink);list-style-position:outside}
.mt-ev summary .muted{font-weight:500}
.mt-ev[open] summary{margin-bottom:10px}
.mt-ask-l{margin:2px 0 0;font-size:14px;line-height:1.5;color:var(--ink-soft)}
.mt-lbl-in{font-size:12px;font-weight:600;color:var(--muted);margin-right:4px}
@media (max-width:760px){
  .mt-read .r-head{font-size:24px}
  .mt-past .r-head{font-size:20px}
  .mt-title{font-size:19px}
  .mt-chans{padding-left:0}
  .mt-impact div{grid-template-columns:1fr;gap:2px}
}
/* The four places (spec 24 step 7): Today, Customers, Try, Track record. Their titles speak in the interface's voice;
   the serif stays Tacity's, for read headlines only. Today's subtitle is the lens's own question (rule 8). */
.hero.place h1{font:600 26px/1.2 var(--font-ui);letter-spacing:-.015em;color:var(--ink)}
.hero.place .sub{margin-top:6px;max-width:62ch;font-size:14.5px;line-height:1.5;color:var(--ink-soft)}
.td-hero .td-q{font-size:17px;font-weight:500;color:var(--ink)}
.td-date{margin:4px 0 0;font-size:13px;color:var(--muted)}
/* Customers: one list, each customer leading with its read's headline; its renewals, deals and expansions under it. */
.cu-list{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel)}
.cu-list > li + li{border-top:1px solid var(--line)}
.cu-row{display:flex;flex-direction:column;gap:7px;padding:16px 22px;color:inherit;text-decoration:none;min-width:0}
.cu-row:hover{background:var(--canvas)}
.cu-row:hover .cu-name{color:var(--cobalt)}
.cu-row:focus-visible{outline:2px solid var(--cobalt);outline-offset:-2px;border-radius:var(--radius-panel)}
.cu-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}
.cu-name{font-size:15px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.cu-tag{font-size:12px;font-weight:600;color:var(--muted)}
.cu-sub{font-size:13px;color:var(--muted)}
.cu-money{margin-left:auto;font:500 13px/1.4 var(--font-figures);color:var(--ink-soft)}
.cu-head{max-width:40em;font:400 20px/1.3 var(--font-display);letter-spacing:-.005em;color:var(--ink);text-wrap:balance;overflow-wrap:anywhere}
.cu-none{font-size:13.5px;color:var(--muted)}
.cu-moments{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;color:var(--ink-soft)}
.cu-moment{display:inline-flex;align-items:baseline;gap:7px}
/* The track record where the claim is (rule 7, step 9): a quiet line under the claim; teal when it came true. */
.r-track{margin:2px 0 0;display:flex;align-items:baseline;gap:8px;max-width:72ch;font-size:12.5px;line-height:1.5;color:var(--ink-soft)}
.tr-mark{flex:none;width:9px;height:9px;border-radius:50%;border:1.5px solid var(--muted);transform:translateY(1px)}
.r-track.right .tr-mark{border-color:var(--teal-strong);background:var(--teal-strong)}
.r-track.mixed .tr-mark{border-color:var(--teal-strong);background:linear-gradient(90deg,var(--teal-strong) 50%,transparent 50%)}
.r-track-top{margin-top:12px}
.r-track-top .r-track{font-size:13.5px}
.tr-sec{display:flex;flex-direction:column;gap:12px}
.tr-list{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel)}
.tr-list > li{display:flex;flex-direction:column;gap:6px;padding:14px 22px;min-width:0}
.tr-list > li + li{border-top:1px solid var(--line)}
.tr-who{margin:0;font-size:14.5px;font-weight:600;color:var(--ink)}
.tr-who a{color:inherit;text-decoration:none}.tr-who a:hover{color:var(--cobalt);text-decoration:underline;text-underline-offset:3px}
.tr-who .muted{font-weight:500}
.tr-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.tr-lines .r-track{font-size:13.5px}
.tr-facts{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:13.5px;color:var(--ink-soft)}
@media (max-width:760px){
  .hero.place h1{font-size:22px}
  .td-hero .td-q{font-size:16px}
  .cu-row{padding:14px 16px}
  .cu-head{font-size:18px}
  .cu-money{margin-left:0}
  .tr-list > li{padding:12px 16px}
}

/* The capability rail (spec 25 section 2): grouped by job, a muted caption under each group, counts as quiet pills.
   It reads top to bottom as the product's story; the same map for every role. */
.rail{gap:0;padding-bottom:10px}
.railmap{display:flex;flex-direction:column;gap:12px;padding-bottom:6px}
.rail .nav{min-height:31px}
.rgroup{display:flex;flex-direction:column;gap:1px}
.rg-h{margin:0 0 4px;padding:0 10px;display:flex;flex-direction:column;gap:1px}
.rg-h > span:first-child{font-size:12.5px;font-weight:650;color:var(--ink);letter-spacing:.005em}
.rg-cap{font-size:11.5px;line-height:1.3;color:var(--muted)}
.rail .nav,.sheet .nav{transition:background-color .15s ease-out,color .15s ease-out}
.rail .nav .nl,.sheet .nav .nl{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.rail .nav .nl > span,.sheet .nav .nl > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav .need{font-size:11px;font-weight:500;color:var(--on-amber-soft)}
.rail .count,.sheet .count{margin-left:auto;background:var(--surface);color:var(--cobalt-hover);box-shadow:0 0 0 1px var(--line);font-variant-numeric:tabular-nums}
.rail .nav.on .count{background:var(--panel)}
.rail .count.todo,.sheet .count.todo{background:var(--amber-soft);color:var(--on-amber-soft);box-shadow:none;white-space:nowrap}
.count.pop{animation:count-pop .32s cubic-bezier(.16,1,.3,1)}
@keyframes count-pop{from{transform:scale(.6);opacity:.2}to{transform:none;opacity:1}}
.railfoot .nav{min-height:32px}
.rail .nav:focus-visible,.sheet .nav:focus-visible{outline:2px solid var(--cobalt);outline-offset:1px}
@media (max-height:780px) and (min-width:861px){.rail .nav{min-height:29px}.railmap{gap:8px}.rg-cap{display:none}}
/* Phone: five tabs (Today, Customers, Lab, Act, More); More opens the whole rail as a sheet. */
.tabbar button.tab{all:unset;box-sizing:border-box;cursor:pointer}
@media (max-width:860px){
  .tabbar:not([hidden]){grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  .tabbar button.tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;font-size:11px;font-weight:600;color:var(--muted);position:relative}
  .tabbar button.tab.on{color:var(--cobalt)}
  .tabbar .tab:focus-visible{outline:2px solid var(--cobalt);outline-offset:-4px;border-radius:10px}
}
dialog.sheet{margin:auto 0 0;padding:0;width:100%;max-width:100%;max-height:86vh;border:0;border-radius:18px 18px 0 0;background:#EEF2FA;color:var(--ink);box-shadow:0 -8px 32px rgba(19,27,46,.18)}
dialog.sheet[open]{animation:sheet-up .28s cubic-bezier(.16,1,.3,1)}
dialog.sheet::backdrop{background:rgba(19,27,46,.32)}
@keyframes sheet-up{from{transform:translateY(24px);opacity:.4}to{transform:none;opacity:1}}
.sheet-body{padding:10px 12px calc(16px + env(safe-area-inset-bottom));overflow-y:auto;max-height:86vh}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:4px 10px 12px;font-size:15px}
.sheet .nav{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:44px;padding:0 10px;border-radius:10px;font-size:15px;font-weight:500;color:var(--ink-soft);cursor:pointer}
.sheet .nav svg{flex:none;opacity:.8}
.sheet .nav.on{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.sheet .nav.on svg{color:var(--cobalt);opacity:1}
.sheet .count{min-width:22px;height:20px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.sheet .railfoot{margin-top:6px}
@media (prefers-reduced-motion:reduce){.count.pop,dialog.sheet[open]{animation:none}}

/* The rail's pages */
.connect-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.connect-note p{margin:0;max-width:60ch;color:var(--ink-soft)}
.labmap .testrow > svg{flex:none;color:var(--cobalt);opacity:.85}
.labmap .count{min-width:22px;height:20px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;background:var(--panel);color:var(--cobalt-hover)}
.seg a.segl{padding:6px 14px;border-radius:var(--radius-pill);font-weight:600;font-size:14px;color:var(--ink-soft);text-decoration:none}
.seg a.segl.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(19,27,46,.08)}
.lab-hint{margin:0}
.wi-pick > summary{list-style:none;cursor:pointer}
.wi-pick > summary::-webkit-details-marker{display:none}
.wi-pick + .wi-pick{border-top:1px solid var(--line)}
.wi-pick[open] > summary{background:var(--canvas)}
.wi-mount{padding:4px 18px 16px}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.filters label{display:flex;align-items:center;gap:8px}
.filters select{max-width:220px}
.filters .seg{flex-wrap:wrap;max-width:100%;border-radius:16px}
.seg button .n{font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.plist{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel)}
a.prow{display:grid;grid-template-columns:32px minmax(0,1.1fr) minmax(0,1.6fr) 96px 112px;align-items:center;gap:6px 14px;padding:12px 18px;color:inherit;text-decoration:none}
a.prow + a.prow{border-top:1px solid var(--line)}
a.prow:hover{background:var(--canvas)}a.prow:hover b{color:var(--cobalt)}
.pr-who{display:flex;flex-direction:column;min-width:0}
.pr-who b,.pr-who .small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pr-wants{color:var(--ink-soft);min-width:0}
.pr-stance{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.pr-met{text-align:right;white-space:nowrap}
.wd-sum{margin:0}
.wd-list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel)}
.wd{padding:14px 20px 16px;display:flex;flex-direction:column;gap:10px}
.wd + .wd{border-top:1px solid var(--line)}
.wd-head{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}
.wd-head .grow{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.wd-head:hover b{color:var(--cobalt)}
.wd-grid{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 18px}
.wd-grid dt{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:4px}
.wd-grid dd{margin:0;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.wd-p{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--ink);text-decoration:none}
.wd-p:hover{color:var(--cobalt)}
.wd-p .av{width:22px;height:22px;font-size:10px}
.sig-list{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel)}
.sig-list > li + li{border-top:1px solid var(--line)}
.sig-list.quiet{margin-top:6px;background:transparent}
.sig{display:flex;align-items:flex-start;gap:14px;padding:14px 20px;color:inherit;text-decoration:none}
.sig:hover{background:var(--canvas)}.sig:hover b{color:var(--cobalt)}
.sig .word{flex:none;min-width:118px;justify-content:center;margin-top:1px}
.sig .grow{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.sig-line{font-size:14px;color:var(--ink-soft)}
.sig .mono{flex:none;white-space:nowrap}
.ho-you{margin-right:4px}
.ho-list.card.flush{padding:0 18px}
.ho-start{display:flex;align-items:center;gap:12px;padding:12px 18px}
.ho-start + .ho-start{border-top:1px solid var(--line)}
.ho-start .grow{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.pbrow{display:flex;align-items:center;gap:16px;padding:14px 20px;color:inherit;text-decoration:none}
.pbrow + .pbrow{border-top:1px solid var(--line)}
.pbrow:hover{background:var(--canvas)}.pbrow:hover b{color:var(--cobalt)}
.pbrow .grow{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.pb-due{flex:none;width:118px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:13px}
.pb-due.late .mono{color:var(--neg)}
@media (max-width:860px){
  a.prow{grid-template-columns:32px minmax(0,1fr) auto;padding:12px 14px}
  .pr-wants{grid-column:2 / -1;grid-row:2}
  .pr-met{grid-column:2 / -1;grid-row:3;text-align:left}
  .pr-stance{grid-column:3;grid-row:1;align-items:flex-end}
  .wd{padding:14px 16px}
  .wd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sig{flex-wrap:wrap;gap:6px 12px;padding:12px 16px}
  .sig .word{min-width:0}
  .sig .grow{flex-basis:100%;order:3}
  .sig .mono{margin-left:auto}
  .pbrow{flex-wrap:wrap;gap:6px 12px;padding:12px 16px}
  .pb-due{width:auto;flex-direction:row;align-items:baseline;gap:8px}
  .pbrow .grow{flex-basis:100%;order:3}
  .pbrow > .small{order:4}
  .pbrow .tr-go{display:none}
  .ho-start{flex-wrap:wrap;padding:12px 14px}
  .ho-list.card.flush{padding:0 14px}
  .filters select{max-width:100%}
  .connect-note .btn{width:100%;justify-content:center}
}
/* Settings as tabs (spec 25 section 4.1): an index on the left on desktop, tabs across the top on a phone */
.set-status{font-family:var(--font-ui);font-variant-numeric:tabular-nums}
.set-wrap{display:grid;grid-template-columns:184px minmax(0,1fr);gap:28px;align-items:start}
.set-nav{position:sticky;top:76px;display:flex;flex-direction:column;gap:2px}
.set-nav a{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:10px;color:var(--ink-soft);font-weight:600;text-decoration:none}
.set-nav a:hover{background:var(--panel);color:var(--ink)}
.set-nav a.on{background:var(--surface);color:var(--cobalt);box-shadow:0 1px 2px rgba(19,27,46,.06),0 2px 8px rgba(19,27,46,.05)}
.set-nav .count{margin-left:auto;min-width:22px;height:20px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;background:var(--amber-soft);color:var(--on-amber-soft)}
.set-body{gap:14px;min-width:0}
.set-foot{margin:8px 0 0}
.set-admin{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;vertical-align:2px;background:var(--purple-soft);color:var(--on-purple-soft)}
details.set-fold>summary{align-items:center;flex-wrap:wrap;row-gap:2px}
details.set-fold>summary .set-ft{flex:1 1 auto}
details.set-fold>summary .set-fs{font-size:13px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
details.set-fold>summary:hover .set-ft{color:var(--cobalt)}
.set-fold .fold-body{gap:12px}
.set-fold.focus,.conn.focus{border-color:var(--cobalt);box-shadow:0 0 0 3px rgba(44,91,208,.14),var(--shadow)}
@media (max-width:860px){
  .set-wrap{grid-template-columns:minmax(0,1fr);gap:14px}
  .set-nav{position:static;flex-direction:row;overflow-x:auto;gap:4px;padding:4px;background:var(--panel);border-radius:var(--radius-pill);scrollbar-width:none}
  .set-nav::-webkit-scrollbar{display:none}
  .set-nav a{flex:0 0 auto;min-height:38px;padding:0 14px;border-radius:var(--radius-pill);white-space:nowrap}
  .set-nav .count{min-width:18px;height:18px;padding:0 5px;font-size:11px}
  details.set-fold>summary .set-fs{flex:1 0 100%;text-align:left;padding-left:16px}
}

/* Connections: one card per tool, status first, one primary button */
.conn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:14px;align-items:start}
.conn{display:flex;flex-direction:column;gap:8px;scroll-margin-top:84px}
.conn-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.conn-head h2{margin:0}
.conn-gives{margin:0;font-size:15px;color:var(--ink);max-width:60ch}
.conn-detail{margin:0}
.conn-rows .line:first-child{border-top:0;padding-top:4px}
.conn-act{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:2px}
.conn-more{border-top:1px solid var(--line);padding-top:8px;margin-top:2px}
.conn-more>summary{cursor:pointer;width:max-content;max-width:100%}
.conn-key{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.conn input[type=password]{width:100%;min-height:36px;padding:7px 10px;border-radius:var(--radius-control);border:1px solid var(--line-strong);background:var(--surface)}
.conn-key input[type=password]{width:180px}
.conn .gong{border-top:1px solid var(--line)}
@media (max-width:860px){.conn-key input[type=password]{width:100%}.conn-key{width:100%}}

/* The getting-started checklist (spec 25 sections 4.2-4.3): on Today, on the welcome screen and on Connections */
.setup{display:flex;flex-direction:column;gap:12px;padding:20px 20px 12px}
.setup-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.setup-head h2{margin:0}
.setup-steps{list-style:none;margin:0;padding:0;display:grid}
.setup-steps li{border-top:1px solid var(--line)}
.setup-steps a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 4px;color:inherit;text-decoration:none;border-radius:10px}
.setup-steps a:hover{background:var(--canvas)}
.setup-steps a:hover .setup-t b{color:var(--cobalt)}
.setup-n{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:600 13px/1 var(--font-figures);border:1.5px solid var(--line-strong);color:var(--ink-soft)}
.setup-t{display:flex;flex-direction:column;gap:1px;min-width:0}
.setup-t b{font-size:15px}
.setup-t span{font-size:13px;color:var(--muted)}
.setup-side{display:flex;align-items:center;gap:8px}
.setup-tag{font-size:11.5px;font-weight:700;color:var(--on-purple-soft);background:var(--purple-soft);padding:2px 8px;border-radius:999px;white-space:nowrap}
.setup-steps li.next .setup-n{background:var(--cobalt);border-color:var(--cobalt);color:var(--on-cobalt)}
.setup-steps li.done .setup-n{background:var(--teal-soft);border-color:transparent;color:var(--on-teal-soft)}
.setup-steps li.done .setup-t b{color:var(--muted);font-weight:500;text-decoration:line-through;text-decoration-color:var(--line-strong)}
.setup-steps li.done .setup-t span{display:none}
.setup-what{background:var(--panel);border-color:transparent;box-shadow:none}
.setup-what h2{margin:0 0 6px}
.setup-what p{margin:0;max-width:72ch;color:var(--ink-soft)}
.wel .setup{box-shadow:none}
.wel-more{font-size:14px}.wel-more>summary{cursor:pointer;width:max-content;max-width:100%}.wel-more p{margin:8px 0}
.wel-sell{box-shadow:none}
@media (max-width:760px){
  .setup{padding:16px 14px 8px}
  .setup-steps a{grid-template-columns:26px minmax(0,1fr);row-gap:6px}
  .setup-side{grid-column:2}.setup-side:empty{display:none}
}
#set-role select{width:auto;min-width:min(240px,100%)}

/* A destructive action, used once (Settings: Start fresh) */
.btn.danger{color:var(--neg);border-color:var(--neg)}
.btn.danger:hover{background:var(--neg);color:#fff}

/* Ask Tacity (spec 29): a chat that floats over every page, from the round button at the bottom right */
.ask-fab{position:fixed;right:24px;bottom:24px;z-index:20;display:flex;align-items:center;gap:8px;height:52px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--cobalt);color:var(--on-cobalt);font:inherit;font-weight:600;font-size:14.5px;cursor:pointer;box-shadow:0 6px 20px rgba(44,91,208,.35),0 2px 6px rgba(19,27,46,.12);transition:transform .15s,box-shadow .15s}
.ask-fab:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(44,91,208,.4),0 2px 6px rgba(19,27,46,.12)}
.ask-fab:focus-visible{outline:3px solid var(--peri, #B9C9EE);outline-offset:2px}
body.asking .ask-fab{opacity:0;pointer-events:none}
body.railed #main{padding-bottom:96px}  /* room so the chat button never covers the last line */
.ask{position:fixed;right:24px;bottom:24px;z-index:21;width:400px;height:min(640px,calc(100vh - 48px));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 60px rgba(19,27,46,.22),0 4px 14px rgba(19,27,46,.08);overflow:hidden;opacity:0;transform:translateY(16px) scale(.97);transform-origin:bottom right;pointer-events:none;transition:opacity .18s,transform .18s}
.ask.open{opacity:1;transform:none;pointer-events:auto}
.ask-head{display:flex;align-items:center;gap:10px;padding:14px 12px 12px 16px;border-bottom:1px solid var(--line)}
.ask-head .grow{min-width:0}.ask-head h2{margin:0;font-size:16px}
.ask-head #askWhere{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ask-mark{width:30px;height:30px;flex:none}
.ask-ib{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:none;color:var(--muted);cursor:pointer}
.ask-ib:hover{background:var(--canvas);color:var(--ink)}
.ask-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px;background:var(--canvas)}
.ask-turn{display:flex;flex-direction:column;gap:6px}
.ask-msg{max-width:86%;padding:10px 14px;border-radius:18px;line-height:1.5;overflow-wrap:anywhere}
.ask-msg p{margin:0 0 8px}.ask-msg p:last-child{margin:0}
.ask-msg.me{align-self:flex-end;background:var(--cobalt);color:var(--on-cobalt);border-bottom-right-radius:6px;white-space:pre-wrap}
.ask-msg.them{align-self:flex-start;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-bottom-left-radius:6px}
.ask-src{margin:0 0 0 4px;font-size:12px;color:var(--muted)}
.ask-act{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-left:4px}
.ask-act .btn{white-space:normal;text-align:left;height:auto;padding:7px 14px;border-radius:999px}
.ask-links,.ask-sugg{display:flex;flex-wrap:wrap;gap:6px;margin-left:4px}
.ask-chip{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;text-decoration:none;cursor:pointer;text-align:left}
.ask-chip:hover{border-color:var(--cobalt);color:var(--cobalt)}
.ask-pin{align-self:flex-start;margin-left:4px}
.ask-dots{display:flex;gap:4px;padding:4px 2px}
.ask-dots i{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.4;animation:askdot 1.2s infinite}
.ask-dots i:nth-child(2){animation-delay:.15s}.ask-dots i:nth-child(3){animation-delay:.3s}
@keyframes askdot{0%,60%,100%{opacity:.25;transform:none}30%{opacity:.9;transform:translateY(-3px)}}
/* the reply being written: dots and what Tacity is looking at, then the words with a soft caret */
.ask-live{display:flex;flex-direction:column;gap:6px}
.ask-status{margin:0 0 0 4px;font-size:12px;color:var(--muted)}
.ask-msg.writing p:last-child::after{content:"";display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-2px;background:var(--muted);animation:askcaret 1s steps(2) infinite}
@keyframes askcaret{50%{opacity:0}}
.ask-err{margin:0 0 0 4px;font-size:13px;color:var(--neg)}
@media (prefers-reduced-motion:reduce){.ask,.ask-fab{transition:none}.ask-dots i{animation:none;opacity:.6}.ask-msg.writing p:last-child::after{animation:none}}
.ask-past{display:flex;flex-direction:column;align-items:stretch;gap:2px;margin-top:6px}
.ask-past-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ask-past-row .linkish{text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ask-del{width:30px;height:30px;flex:none;opacity:.55}
.ask-past-row:hover .ask-del,.ask-del:focus-visible{opacity:1}
.ask-del:hover{color:var(--neg)}
.ask-past-row.confirm{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.ask-confirm-acts{display:flex;align-items:center;gap:12px}
@media (hover:none){.ask-del{opacity:1}}
.ask-foot{border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:6px;background:var(--surface)}
.ask-compose{display:flex;align-items:flex-end;gap:8px;padding:6px 6px 6px 14px;border:1px solid var(--line-strong);border-radius:22px;background:var(--surface)}
.ask-compose:focus-within{border-color:var(--cobalt);box-shadow:0 0 0 3px rgba(44,91,208,.12)}
.ask-compose textarea{flex:1;min-height:24px;max-height:140px;padding:6px 0;border:0;outline:0;resize:none;background:none;font:inherit;line-height:1.45;box-shadow:none}
.ask-send{flex:none;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:var(--cobalt);color:var(--on-cobalt);cursor:pointer}
.ask-send:disabled{opacity:.45;cursor:default}
.ask-note{margin:0;text-align:center;font-size:11.5px;color:var(--muted)}
@media (max-width:860px){
  .ask-fab{right:16px;bottom:calc(82px + env(safe-area-inset-bottom));width:52px;padding:0;justify-content:center}
  .ask-fab span{display:none}
  .ask{inset:0;width:auto;height:auto;border-radius:0;border:0;transform:translateY(24px)}
}
body.railed .top #openAsk{display:none}
@media (max-width:860px){
  body.railed .top #openAsk{display:inline-flex}
  .ask{top:auto;width:100vw;height:88vh;border-radius:22px 22px 0 0;transform:translateY(105%)}
  .ask.open{transform:none}
}
@media (prefers-reduced-motion:reduce){.ask{transition:none}}

/* ---------------------------------------------------------------- spec 32: the loop is the product */
/* Rail: four places, each with the loop step it stands for */
.rail .nav:has(.cap){min-height:44px;padding-block:5px}
.rail .nav .cap,.sheet .nav .cap{font-size:11.5px;font-weight:400;line-height:1.3;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail .nav.on .cap{color:var(--ink-soft)}
.rail .nav:has(.cap) svg{align-self:flex-start;margin-top:3px}
@media (max-height:780px) and (min-width:861px){.rail .nav:has(.cap){min-height:38px}}

/* Today's loop bar: signals → twins → test → track record, read left to right */
.loopbar{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr;align-items:stretch;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:4px}
.lp-cell{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:1px;min-width:0;padding:12px 14px 13px;border-radius:calc(var(--radius-panel) - 4px);cursor:pointer;text-decoration:none;color:var(--ink);transition:background-color .15s ease-out}
.lp-cell:hover{background:var(--canvas)}
.lp-cell:focus-visible{outline:2px solid var(--cobalt);outline-offset:-2px}
.lp-step{font-size:12.5px;font-weight:600;color:var(--cobalt)}
.lp-n{font:400 34px/1.05 var(--font-display);letter-spacing:-.01em;font-variant-numeric:tabular-nums;margin-top:4px}
.lp-n small{font:400 17px/1 var(--font-display);color:var(--muted);margin-left:2px}
.lp-l{font-size:13px;color:var(--ink-soft);line-height:1.35}
.lp-sub{font-size:12px;color:var(--muted);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lp-start .lp-l{margin-top:8px;color:var(--ink)}
.lp-start .lp-l b{font-weight:600}
.lp-arrow{position:relative}
.lp-arrow::before{content:"";position:absolute;top:50%;left:3px;width:9px;height:9px;border-top:1.5px solid var(--line-strong);border-right:1.5px solid var(--line-strong);transform:translateY(-50%) rotate(45deg)}
@media (max-width:860px){
  .loopbar{grid-template-columns:1fr 1fr;gap:2px}
  .lp-arrow{display:none}
  .lp-cell{padding:10px 12px 11px}
  .lp-n{font-size:28px}
}

/* A deal's loop: four steps on a line, the next one marked */
.dloop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;position:relative;margin:2px 0 0}
.dloop::before{content:"";position:absolute;left:12px;right:12px;top:15px;height:1px;background:var(--line-strong)}
.dl-step{position:relative;display:flex;flex-direction:column;gap:1px;padding:8px 14px 8px 0;text-decoration:none;color:var(--ink);min-width:0}
.dl-step:hover .dl-v{color:var(--cobalt)}
.dl-dot{width:15px;height:15px;border-radius:50%;background:var(--surface);border:1.5px solid var(--line-strong);margin:0 0 6px 5px;position:relative;z-index:1}
.dl-step.next .dl-dot{border-color:var(--cobalt);background:var(--cobalt);box-shadow:0 0 0 4px rgba(44,91,208,.14)}
.dl-step.here .dl-dot{border-color:var(--cobalt)}
.dl-k{font-size:12px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:6px}
.dl-step.next .dl-k,.dl-step.here .dl-k{color:var(--cobalt)}
.dl-next{font-size:11px;font-weight:600;padding:0 6px;border-radius:999px;background:var(--panel);color:var(--cobalt)}
.dl-v{font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-s{font-size:12px;color:var(--muted);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-odds{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
@media (max-width:860px){
  .dloop{grid-template-columns:1fr 1fr;row-gap:4px}
  .dloop::before{display:none}
  .dl-dot{display:none}
  .dl-step{padding:7px 10px;border-radius:8px}
  .dl-step.next{background:var(--panel)}
}
.td-seen{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.r-ctxfold{margin-top:10px}
.r-ctxfold > summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--cobalt);list-style:none;display:inline-flex;align-items:center;gap:6px}
.r-ctxfold > summary::-webkit-details-marker{display:none}
.r-ctxfold > summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease-out}
.r-ctxfold[open] > summary::after{transform:rotate(-135deg) translateY(-1px)}
.r-ctxfold .r-ctx{margin-top:8px}
.r-parts:not(:has(.r-part:nth-child(3))){grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:860px){.r-parts:not(:has(.r-part:nth-child(3))){grid-template-columns:minmax(0,1fr)}}
.r-restfold{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}
.r-restfold > summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--ink-soft)}
.r-restfold .r-parts{margin-top:10px;border-top:0;padding-top:0}
/* An account's deals as tiles */
.dtiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px;margin-top:10px}
.dtile{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;column-gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-control);text-decoration:none;color:var(--ink);transition:border-color .15s ease-out,background-color .15s ease-out}
.dtile:hover{border-color:var(--periwinkle);background:var(--canvas)}
.dt-k{grid-column:1;font-size:12px;color:var(--muted)}
.dt-t{grid-column:1;font-size:14.5px;font-weight:600;line-height:1.3;margin-top:2px}
.dt-s{grid-column:1;font-size:12.5px;color:var(--ink-soft);margin-top:3px}
.dt-g{grid-column:2;grid-row:1 / span 3;align-self:center}
/* Twin quality: three meters, each with its word */
.qstate{margin-right:10px;vertical-align:middle}
.qmeters{display:inline-flex;flex-wrap:wrap;gap:6px 18px;vertical-align:middle}
.qm{display:inline-grid;grid-template-columns:auto 64px auto;align-items:center;gap:7px;font-size:12.5px}
.qm-l{color:var(--muted)}
.qm-w{font-weight:600;color:var(--ink-soft);font-variant-numeric:tabular-nums}
.qm-bar{display:block;height:6px;border-radius:999px;background:var(--track);overflow:hidden}
.qm-bar > span{display:block;height:100%;border-radius:inherit;background:var(--cobalt)}
.qm-bar.good > span{background:var(--teal-strong)}.qm-bar.mid > span{background:var(--amber)}.qm-bar.bad > span{background:var(--neg)}
.qm-bar.quiet > span{background:var(--periwinkle)}
/* A test's verdict: the word, the line, the room */
.verdict{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding:16px 18px;margin:-4px -4px 4px;border-radius:var(--radius-control);background:var(--canvas)}
.verdict.block{background:var(--neg-soft)}.verdict.split{background:var(--amber-soft)}.verdict.agree{background:var(--teal-soft)}
.vd-main{min-width:0;flex:1 1 280px}
.vd-word{margin:0;font:400 30px/1.1 var(--font-display);letter-spacing:-.01em}
.verdict.block .vd-word{color:var(--on-neg-soft)}.verdict.split .vd-word{color:var(--on-amber-soft)}.verdict.agree .vd-word{color:var(--on-teal-soft)}
.vd-line{margin:4px 0 0;font-size:14px;color:var(--ink-soft);max-width:60ch}
.vd-room{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;list-style:none}
.vd-p{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:56px;font-size:12.5px;font-weight:600}
.vd-p .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--line-strong)}
.vd-p.for .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--teal-strong)}
.vd-p.against .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--amber)}
.vd-p.block .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--neg)}
.vd-p span{margin-top:4px}
.vd-p small{font-size:11.5px;font-weight:500;color:var(--muted)}
.vd-p.block small{color:var(--on-neg-soft)}
/* Track record: predicted against what came up, per twin */
.tc{display:flex;flex-direction:column;gap:14px}
.tc-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}
.tc-total{margin:0;display:flex;flex-direction:column;align-items:flex-end}
.tc-big{font:400 36px/1 var(--font-display);font-variant-numeric:tabular-nums}
.tc-big small{font-size:18px;color:var(--muted)}
.tc-key{display:flex;gap:16px}
.tc-key i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.k-hit{background:var(--teal-strong)}.k-all{background:var(--track);box-shadow:inset 0 0 0 1px var(--line-strong)}
.tc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.tc-row{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr) 104px 96px;align-items:center;gap:12px;padding:6px 4px;border-radius:8px}
.tc-row:hover{background:var(--canvas)}
.tc-who{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink);text-decoration:none;font-weight:600;font-size:13.5px}
.tc-who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-who:hover span{color:var(--cobalt)}
.tc-bar{display:block}
.tc-all{display:block;width:var(--w);min-width:6px;height:12px;border-radius:4px;background:var(--track);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.tc-hit{display:block;height:100%;background:var(--teal-strong);border-right:2px solid var(--surface)}
.tc-hit[style="width:0%"]{border:0}
.tc-n{font-size:13px;color:var(--ink-soft);font-variant-numeric:tabular-nums;display:flex;flex-direction:column;line-height:1.25}
.tc-n small{font-size:11.5px;color:var(--muted)}
.tc-fix{justify-self:end}
@media (max-width:860px){
  .tc-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who n" "bar bar" "fix fix";row-gap:4px}
  .tc-who{grid-area:who}.tc-bar{grid-area:bar}.tc-n{grid-area:n;align-items:flex-end}.tc-fix{grid-area:fix;justify-self:start}
}
/* After the meeting: where the loop closes */
.aftr-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.aftr-row > div{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-control)}
.aftr-g{display:flex;align-items:center;gap:10px}
.aftr-arrow{width:22px;height:1.5px;background:var(--line-strong);position:relative}
.aftr-arrow::after{content:"";position:absolute;right:0;top:-3px;width:7px;height:7px;border-top:1.5px solid var(--line-strong);border-right:1.5px solid var(--line-strong);transform:rotate(45deg)}
.aftr-big{margin:0;font:400 32px/1 var(--font-display);font-variant-numeric:tabular-nums}
.aftr-big small{font-size:17px;color:var(--muted)}
/* Prepare: the question to ask, then the two most likely objections */
.br-ask{margin:0;padding:10px 12px;border-radius:var(--radius-control);background:var(--panel);font:400 17px/1.35 var(--font-display);color:var(--ink)}
.br-ask span{display:block;font:600 12px/1.4 var(--font-ui);color:var(--cobalt);margin-bottom:2px}
.prep-again > summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--cobalt)}
/* Phone: room to tap the small controls */
@media (max-width:860px){
  .r-ev,.r-meta .linkish{min-height:36px;display:inline-flex;align-items:center}
  .pr-menu > summary{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
  input[type=checkbox]{width:20px;height:20px}
  .crumbs a{display:inline-flex;align-items:center;min-height:32px}
}
/* Band-only gauge: the word sits under the three segments, not on them */
.gauge.bandonly{height:70px}.gauge.lg.bandonly{height:96px}.gauge.sm.bandonly{height:56px}
.gauge.bandonly svg{height:auto;bottom:auto}
@media (max-width:860px){.hubhead,.dec-hero{align-items:center}.hub-odds{flex-direction:row;align-items:center;gap:12px}}
@media (max-width:860px){.tc-total{align-items:flex-start}}

/* ---------------------------------------------------------------- spec 33: each role's one thing */
.acc-lens{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.lens-seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;background:var(--panel);border-radius:10px}
.lens-seg button{all:unset;box-sizing:border-box;cursor:pointer;padding:6px 12px;min-height:32px;border-radius:8px;font-size:13px;font-weight:600;color:var(--ink-soft)}
.lens-seg button.on{background:var(--surface);color:var(--cobalt);box-shadow:0 1px 2px rgba(19,27,46,.08)}
.lens-seg button:focus-visible{outline:2px solid var(--cobalt);outline-offset:1px}
.cu-why{align-self:flex-start;font-size:12px;font-weight:600;color:var(--ink-soft);background:var(--canvas);padding:2px 8px;border-radius:6px}
.chip.q{background:var(--track);color:var(--ink-soft)}
/* The account room's top */
.roomglance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0}
.rf{display:flex;flex-direction:column;gap:3px;padding:14px 18px;border-right:1px solid var(--line);min-width:0}
.rf:last-child{border-right:0}
.rf-l{font-size:12px;font-weight:600;color:var(--muted)}
.rf b{font:400 26px/1.1 var(--font-display);font-variant-numeric:tabular-nums}
.rf b .mono{font-family:var(--font-figures);font-size:20px}
.rf-s{font-size:12px;color:var(--muted)}
.roomstand{background:var(--ink);border-color:var(--ink);color:#fff}
.rs-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.rs-l{margin:0;font-size:12.5px;font-weight:600;color:#B9C9EE;display:flex;align-items:center;gap:8px}
.rs-h{margin:10px 0 0;max-width:62ch;font:400 26px/1.3 var(--font-display);text-wrap:pretty}
.rs-w{margin:10px 0 0;font-size:12.5px;color:#B9C9EE}
.roomstand .lens-seg{background:rgba(255,255,255,.1)}
.roomstand .lens-seg button{color:#D5E0F7}
.roomstand .lens-seg button.on{background:#fff;color:var(--cobalt)}
.rp-list{list-style:none;margin:8px 0 0;padding:0}
.rp-list li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.rp-list li:first-child{border-top:0}
.rp-list p{margin:0}
.rp-n{font:400 22px/1 var(--font-display);color:var(--cobalt);width:22px;flex:none}
.head-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px}
/* The influence map */
.ilmap{position:relative;margin-top:14px;background:var(--canvas);border:1px solid var(--line);border-radius:12px;min-width:640px}
#inflBox{overflow-x:auto}
.ilmap svg{position:absolute;inset:0;width:100%;height:100%}
.il{stroke:#9AA5BB;stroke-width:1.6}
.il.guess{stroke-dasharray:5 5}
.il.path{stroke:var(--cobalt);stroke-width:3}
.il-l{position:absolute;transform:translate(-50%,-50%);font-size:11.5px;color:var(--ink-soft);background:var(--canvas);padding:1px 6px;border-radius:5px;white-space:nowrap;cursor:help}
.il-l.path{color:var(--cobalt-hover);font-weight:600}
.il-n{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line-strong);border-radius:12px;padding:7px 12px 7px 8px;text-decoration:none;color:inherit;white-space:nowrap;max-width:300px;box-shadow:0 1px 2px rgba(19,27,46,.05)}
a.il-n:hover{border-color:var(--periwinkle)}
.il-n.miss{border-style:dashed;background:var(--canvas)}
.il-av .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px #C3CBDA}
.il-av.for .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--teal-strong)}
.il-av.against .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--neg)}
.il-av.neutral .av{box-shadow:0 0 0 2.5px var(--surface),0 0 0 4.5px var(--amber)}
.il-miss{background:var(--surface)!important;color:var(--muted);border:1.5px dashed #9AA5BB}
.il-t{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.il-t b{font-size:13px}
.il-t > span{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.il-tags{display:flex;gap:4px;margin-top:3px}
.il-tags i{font-style:normal;font-size:11px;font-weight:700;padding:1px 6px;border-radius:5px;background:var(--track);color:var(--ink-soft)}
.il-tags i.sgn{background:var(--panel);color:var(--cobalt-hover)}.il-tags i.chp{background:var(--teal-soft);color:var(--on-teal-soft)}.il-tags i.blk{background:var(--neg-soft);color:var(--on-neg-soft)}
.il-why{margin-top:10px}
.il-why summary{cursor:pointer;font-weight:600;color:var(--cobalt)}
.il-why ul{margin:8px 0 0;padding-left:18px}
.il-why li{font-size:13px;margin:5px 0}
.fullread > summary{font-weight:600}
@media (max-width:860px){.roomglance{grid-template-columns:1fr 1fr}.rf:nth-child(2){border-right:0}.rs-h{font-size:21px}}
/* Upload your data (spec 33 section 8): four steps on one page */
.up-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.up-cta .grow{flex:1 1 320px;min-width:0}
.up-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.up-steps a{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:var(--radius-pill);background:var(--surface);border:1px solid var(--line);color:var(--ink-soft);font-weight:600;font-size:14px;text-decoration:none}
.up-steps li.on a{border-color:var(--cobalt);color:var(--cobalt)}
.up-steps li.done a{background:var(--teal-soft);border-color:transparent;color:var(--on-teal-soft)}
.up-n{display:inline-grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:var(--panel);color:var(--cobalt);font:600 13px/1 var(--font-figures)}
.up-step > h2{display:flex;align-items:center;gap:10px}
.up-step{scroll-margin-top:80px}
.up-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:28px 16px;border:2px dashed var(--periwinkle);border-radius:var(--radius-panel);background:var(--canvas);text-align:center;cursor:pointer}
.up-drop:hover,.up-drop.over{border-color:var(--cobalt);background:var(--panel)}
.up-drop:focus-within{outline:2px solid var(--cobalt);outline-offset:2px}
.up-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.up-files,.up-people,.up-docs,.up-twins{list-style:none;margin:12px 0 0;padding:0}
.up-files li{display:flex;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);min-width:0}
.up-files .grow,.up-doc .grow{flex:1;min-width:0;overflow-wrap:anywhere}
.up-file{border:1px solid var(--line);border-radius:var(--radius-control);padding:10px 14px}
.up-file > summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;overflow-wrap:anywhere}
.up-maps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px}
.up-map{display:flex;flex-direction:column;gap:4px;min-width:0}
.up-map .f{margin:0}
.up-file .stack > .up-map select{max-width:340px}
.up-sample{overflow-wrap:anywhere;min-height:1em}
.up-acct{border:1px solid var(--line);border-radius:var(--radius-control);padding:14px;background:var(--surface)}
.up-acct.off{background:var(--canvas)}
.up-acct-h{display:flex;gap:12px;align-items:flex-start}
.up-acct-h .grow{flex:1;min-width:0;overflow-wrap:anywhere}
.up-acct-h h3{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}
.up-keep{display:flex;align-items:center;min-height:28px}
.up-keep input{width:20px;height:20px;margin:0}
.up-person{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(180px,240px);gap:6px 12px;align-items:start;padding:10px 0;border-top:1px solid var(--line)}
.up-person .up-who{min-width:0;overflow-wrap:anywhere}
.up-person.dropped .up-who{opacity:.55}
.up-basis{margin-top:2px}
.up-add{margin-top:8px}
.up-addform{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:8px;margin-top:8px;align-items:end}
.up-doc{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.up-doc select{flex:0 1 260px;width:auto;min-width:0}
.up-apply,.up-build{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:14px}
.up-build{margin-top:0}
.up-twin{padding:14px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.up-twin-h{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.up-stronger ul{margin:4px 0 0;padding-left:18px;font-size:14px}
.up-off > summary{margin-top:12px}
@media (max-width:760px){
  .up-person{grid-template-columns:28px minmax(0,1fr)}
  .up-person .up-role{grid-column:2}
  .up-doc select{flex:1 1 100%}
  .up-steps a{font-size:13px;padding-right:10px}
  .up-cta .btn{width:100%}
}
/* Each role's block on Today */
.founderx{margin-top:2px}
.rh-h{margin:4px 0 0;font:400 19px/1.35 var(--font-display);color:var(--ink);text-wrap:pretty}
.rh-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.rh-title{font:400 24px/1.2 var(--font-display);margin:4px 0 0}
.rh-title a{color:inherit;text-decoration:none}
.dr-grid,.gc-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;margin-top:16px}
.gc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.rh-people{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.rh-p{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;width:100px;font-size:11.5px;text-decoration:none;color:var(--ink-soft)}
.rh-p b{font-size:13px;color:var(--ink);margin-top:4px}
.rh-p .av{width:40px;height:40px;font-size:13px}
.rh-path{margin:14px 0 0;padding:10px 12px;background:var(--canvas);border-radius:10px}
.rh-block{list-style:none;margin:8px 0 0;padding:0}
.rh-block li{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line)}
.rh-block li:first-child{border-top:0}
.rh-block .dot{width:8px;height:8px;border-radius:50%;flex:none;margin-top:6px;background:#C4CCDB}
.rh-block .dot.bad{background:var(--neg)}.rh-block .dot.mid{background:var(--amber)}.rh-block .dot.good{background:var(--teal-strong)}
.rh-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:18px -20px -18px;padding:16px 20px;background:var(--canvas);border-top:1px solid var(--line);border-radius:0 0 var(--radius-panel) var(--radius-panel)}
.rh-foot p{margin:0}
.rh-big{margin:6px 0 4px;font:400 32px/1 var(--font-display)}
.rh-big small{font-size:16px;color:var(--muted)}
.gc-depth{display:flex;flex-direction:column;margin-top:6px}
.gc-p{display:grid;grid-template-columns:auto minmax(0,1fr) 120px 90px;gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit}
.gc-p > span:nth-child(2){display:flex;flex-direction:column}
.gc-bar{height:7px;border-radius:999px;background:var(--track);overflow:hidden}
.gc-bar span{display:block;height:100%;background:var(--cobalt);border-radius:999px}
.drift{border-color:#F3C9C0}
.pbar{display:flex;gap:2px;height:14px;border-radius:5px;overflow:hidden;margin-top:12px}
.rh-ledger{list-style:none;margin:12px 0 0;padding:0}
.rh-ledger li{display:flex;gap:12px;align-items:flex-start;padding:9px 0;border-top:1px solid var(--line)}
.rh-ledger li:first-child{border-top:0}
@media (max-width:860px){.dr-grid,.gc-grid{grid-template-columns:1fr}.gc-p{grid-template-columns:auto minmax(0,1fr) 70px}.gc-p > span:last-child{display:none}}
/* Signals library and alert rules */
.sg-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.sg-list{list-style:none;margin:0;padding:0}
.sg-row{display:grid;grid-template-columns:96px minmax(0,1.2fr) minmax(0,1fr) 190px;gap:16px;padding:14px 18px;border-top:1px solid var(--line);align-items:start}
.sg-row p{margin:0}
.sg-hd{border-top:0;font-size:12px;font-weight:600;color:var(--muted);background:var(--canvas);border-radius:var(--radius-panel) var(--radius-panel) 0 0}
.sg-touch{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px!important}
.sg-touch span{font-size:11.5px;padding:1px 7px;border-radius:5px;background:var(--track);color:var(--ink-soft)}
.sg-inf{padding:8px 10px;background:var(--canvas);border-radius:8px}
.sg-acts{display:flex;gap:12px;margin-top:6px}
.ar-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.3fr) 180px 60px;gap:16px;padding:14px 18px;border-top:1px solid var(--line);align-items:center}
.ar-row p{margin:0}
.ar-hd{border-top:0;font-size:12px;font-weight:600;color:var(--muted);background:var(--canvas);border-radius:var(--radius-panel) var(--radius-panel) 0 0}
.ar-who{display:flex;flex-wrap:wrap;gap:4px 12px}
.ar-who label{display:inline-flex;align-items:center;gap:5px}
.ar-on input{width:20px;height:20px;accent-color:var(--cobalt)}
@media (max-width:860px){.sg-row,.ar-row{grid-template-columns:1fr}.sg-hd,.ar-hd{display:none}.sg-stats{grid-template-columns:1fr 1fr}}
/* The lab's Rehearse setup: an occasion at one account */
.lab-setup{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.ls-steps{flex:3 1 560px;min-width:0}
.ls-ground{flex:2 1 300px;min-width:0}
.ls-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.ls-step:first-child{border-top:0;padding-top:2px}
.ls-step h2{margin:0}
.ls-step p{margin:2px 0 0}
.ls-n{width:28px;height:28px;border-radius:50%;background:var(--panel);color:var(--cobalt-hover);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.ls-step select{margin-top:10px;min-width:260px}
.ls-opts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.opt{all:unset;box-sizing:border-box;cursor:pointer;padding:8px 14px;min-height:38px;border:1px solid var(--line-strong);border-radius:10px;font-size:13.5px;font-weight:600;color:var(--ink-soft);background:var(--surface)}
.opt.on{border-color:var(--cobalt);background:var(--panel);color:var(--cobalt-hover)}
.opt:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.ls-dec{display:block;margin-top:10px!important}
.ls-dec select{margin:0 0 0 6px;min-width:0}
.ls-who{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ls-p{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:11px;min-width:210px;cursor:pointer}
.ls-p.on{border-color:var(--cobalt);background:#F4F7FE}
.ls-p input{width:18px;height:18px;accent-color:var(--cobalt)}
.ls-p > span{display:flex;flex-direction:column}
.ls-go{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:6px;padding-top:16px;border-top:1px solid var(--line)}
.ls-ground h2{margin:0}.ls-ground > p{margin:2px 0 0}
.ls-warn{margin:12px 0 0;padding:10px 12px;background:var(--amber-soft);color:var(--on-amber-soft);border-radius:9px}
/* The track record ledger */
.ledger{display:flex;flex-direction:column;gap:14px}
.ledger h2{margin:0}
.lg-flow{grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:12px}
.lg-list,.lg-changes{list-style:none;margin:0;padding:0}
.lg-row{display:grid;grid-template-columns:96px minmax(0,1.3fr) minmax(0,1fr) 230px;gap:16px;padding:13px 0;border-top:1px solid var(--line);align-items:start}
.lg-row p,.lg-changes p{margin:0}
.lg-ask{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.lg-form{display:flex;flex-direction:column;gap:8px;width:100%}
.lg-form label{display:flex;flex-direction:column;gap:4px}
.lg-form textarea{width:100%;box-sizing:border-box;font:inherit;padding:8px 10px;border-radius:9px;border:1px solid var(--line-strong)}
.lg-changes li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;background:var(--canvas);border-radius:10px;margin-bottom:8px}
.lens-seg .n{font-size:11px;font-weight:700;background:var(--amber-soft);color:var(--on-amber-soft);padding:0 6px;border-radius:999px;margin-left:4px}
@media (max-width:860px){.lg-row{grid-template-columns:1fr}.lg-flow{grid-template-columns:1fr 1fr}}
/* Motions */
.mo{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px}
.mo-title{font:400 22px/1.25 var(--font-display);margin:6px 0 0}
.mo-trig{display:inline-block;margin:8px 0 0;padding:3px 10px;border-radius:8px;background:var(--canvas);color:var(--ink-soft)}
.mo-steps{list-style:none;display:flex;flex-wrap:wrap;margin:14px 0 0;padding:0}
.mo-steps li{flex:1 1 140px;display:flex;flex-direction:column;gap:2px;padding:9px 12px;border:1px solid var(--line);margin-left:-1px;background:var(--surface)}
.mo-steps li:first-child{border-radius:10px 0 0 10px;margin-left:0}.mo-steps li:last-child{border-radius:0 10px 10px 0}
.mo-steps li.done{background:#F2FBF9}.mo-steps li.now{background:#F4F7FE;border-color:var(--periwinkle);position:relative;z-index:1}
.mo-res{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding-left:20px;border-left:1px solid var(--line)}
.mo-res b{font:400 20px/1.2 var(--font-display)}
@media (max-width:860px){.mo{grid-template-columns:1fr}.mo-res{padding-left:0;border-left:0}}

/* Audience lab (spec 28): populations, studies and their results */
.seg button[aria-pressed="true"]{background:var(--ink);color:#fff}
.aud-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.aud-top{margin:4px 0 12px}
.aud-filter{margin-bottom:8px}
.aud-filter input[type=search]{flex:1 1 220px;max-width:360px}
.aud-h{margin:18px 0 8px;font-size:17px}
.aud-n{display:inline-flex;width:24px;height:24px;border-radius:50%;align-items:center;justify-content:center;background:var(--panel);color:var(--cobalt);font-size:13px;margin-right:6px}
.aud-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:12px}
.aud-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:10px}
.aud-kind{font:inherit;text-align:left;display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:var(--radius-control);border:1px solid var(--line);background:var(--surface);color:inherit;cursor:pointer}
.aud-kind span{font-size:13px;color:var(--muted)}
.aud-kind[aria-pressed="true"]{border:2px solid var(--cobalt);padding:11px 13px;background:var(--panel)}
.aud-cols{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;margin-top:14px}
.aud-cols > .grow{flex:3 1 420px;min-width:0}
.aud-aside{flex:2 1 260px;min-width:0}
.aud-ver{padding:12px;border:1px solid var(--line);border-radius:var(--radius)}
.aud-ver.dashed{border-style:dashed}
.aud-head{margin:0;font-size:22px;font-weight:700;line-height:1.3}
.aud-q{margin:0;padding-left:12px;border-left:3px solid var(--line)}

/* ---------------------------------------------------------------- the card world (approved 5 Nov 2026; mockup v12)
   Tinted cards, pill buttons, segmented tabs and faces. Tints carry meaning: peach risk, sage good news, sky meetings,
   sand needs attention, lilac practice. */
:root{
  --t-lilac:#F1EDFF; --t-lilac-2:#E2D9FF; --t-lilac-i:#4B3AA8; --t-sage:#EEF5E6; --t-sage-2:#D5E8C2; --t-sage-i:#3F6B22;
  --t-peach:#FFF0EA; --t-peach-2:#FFD9CA; --t-peach-i:#A3401F; --t-sky:#EAF2FF; --t-sky-2:#D2E3FF; --t-sky-i:#24539E;
  --t-sand:#FBF3E4; --t-sand-2:#F2E0BC; --t-sand-i:#875A12;
  --x-bg:#F7F7FA; --x-shadow:0 1px 2px rgba(20,22,40,.04),0 8px 24px -12px rgba(20,22,40,.10);
  --x-shadow-h:0 2px 4px rgba(20,22,40,.05),0 22px 40px -18px rgba(20,22,40,.22); --x-accent:#4F46E5; --x-accent-hover:#4338CA;
}
body{background:var(--x-bg)}
::selection{background:color-mix(in srgb,var(--x-accent) 22%,transparent)}
h1{font:600 36px/1.08 var(--font-ui);letter-spacing:-.032em;text-wrap:balance}
.card{border:0;border-radius:24px;box-shadow:var(--x-shadow)}
.btn{border-radius:var(--radius-pill);border:1.5px solid color-mix(in srgb,var(--x-accent) 55%,transparent);color:var(--x-accent);background:transparent;transition:background .2s,color .2s,transform .2s cubic-bezier(.16,1,.3,1)}
.btn:hover{background:var(--x-accent);color:#fff;border-color:var(--x-accent)}.btn:active{transform:scale(.97)}
.btn.primary{background:var(--x-accent);border-color:var(--x-accent);color:#fff}.btn.primary:hover{background:var(--x-accent-hover);border-color:var(--x-accent-hover)}
.btn:focus-visible,.card:focus-visible,a:focus-visible{outline:2.5px solid var(--x-accent);outline-offset:3px}
.views{background:var(--track)}.views a.on{color:var(--ink);box-shadow:0 1px 3px rgba(20,22,40,.12)}
.t-lilac{--tb:var(--t-lilac);--tc:var(--t-lilac-2);--ti:var(--t-lilac-i)}.t-sage{--tb:var(--t-sage);--tc:var(--t-sage-2);--ti:var(--t-sage-i)}
.t-peach{--tb:var(--t-peach);--tc:var(--t-peach-2);--ti:var(--t-peach-i)}.t-sky{--tb:var(--t-sky);--tc:var(--t-sky-2);--ti:var(--t-sky-i)}.t-sand{--tb:var(--t-sand);--tc:var(--t-sand-2);--ti:var(--t-sand-i)}
.card.tint{background:linear-gradient(160deg,var(--tb),color-mix(in srgb,var(--tb) 70%,var(--tc)))}

/* faces (spec 36): a photo replaces initials once it has loaded */
.av.ph{overflow:hidden;background:var(--track)!important;color:transparent}
.av.ph img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;transform:scale(1.4);transform-origin:50% 10%}
.portrait{position:relative;margin:0;width:120px;height:120px;flex:none}
.portrait .pimg{display:grid;place-items:center;width:120px;height:120px;border-radius:50%;overflow:hidden;background:var(--t-lilac-2);color:#fff;font-weight:700;font-size:36px}
.portrait .pimg img{width:100%;height:100%;object-fit:cover;object-position:50% 10%;transform:scale(1.15);transform-origin:50% 0}
.portrait.real .pimg{background:var(--t-sky-2)}
.portrait figcaption{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);white-space:nowrap;font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--surface);box-shadow:0 1px 3px rgba(20,22,40,.16);color:var(--t-lilac-i)}
.portrait.real figcaption{color:var(--t-sky-i)}
.photobox{display:grid;gap:10px;justify-items:start}
.photobox .row-btns{display:flex;flex-wrap:wrap;gap:8px}
.photo-sug{display:flex;gap:12px;align-items:center}
.pimg.sm{display:block;width:64px;height:64px;border-radius:14px;overflow:hidden;background:var(--track);flex:none}.pimg.sm img{width:100%;height:100%;object-fit:cover}
.photo-add input{display:none}
.photobox .steps{display:grid;gap:6px}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}

/* phase 2: Today and Accounts as cards; the account header and tabs */
.xhead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}.xhead h1{font-size:36px}.xhead p{margin:6px 0 0;color:var(--ink-soft);font-size:16px}
.xsec{display:grid;gap:14px;min-width:0}.xsh{display:flex;align-items:baseline;gap:10px}.xsh h2{font-size:20px;letter-spacing:-.02em}
.xcount{font-size:13px;color:var(--muted)}.xlink{margin-left:auto;font-size:13.5px;font-weight:600;color:var(--x-accent);text-decoration:none}
.vgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.vgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.vc{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:250px;padding:20px 20px 22px;border-radius:24px;background:linear-gradient(160deg,var(--tb),color-mix(in srgb,var(--tb) 70%,var(--tc)));transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1)}
.vc:hover{transform:translateY(-3px);box-shadow:var(--x-shadow-h)}
.vic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--tc) 80%,#fff);color:var(--ti)}.vic svg{width:18px;height:18px}
.vc h3{margin:4px 0 0;font-size:17.5px;line-height:1.25;letter-spacing:-.015em;text-wrap:balance;max-width:20ch}
.vc p{margin:0;font-size:13.5px;line-height:1.5;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:28ch}
.vmeta{display:grid;gap:3px;font-size:12.5px;color:color-mix(in srgb,var(--ink-soft) 85%,var(--ti));max-width:min(26ch,calc(100% - 90px))}
.vc .btn{margin-top:auto;position:relative;z-index:1;background:color-mix(in srgb,#fff 55%,transparent)}.vc .btn:hover{background:var(--x-accent)}
.xport{position:absolute;right:-20px;bottom:-24px;width:124px;height:124px}
.xp{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:var(--tc);cursor:pointer;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.vc:hover .xp{transform:scale(1.04) translateY(-2px)}
.xpi{display:grid;place-items:center;width:100%;height:100%;color:#fff;font-weight:700;font-size:34px}.xpi img{width:100%;height:100%;object-fit:cover;object-position:50% 8%}
.xport.grp .xp{width:94px;height:94px;inset:auto}.xport.grp .xp:nth-child(1){right:58px;bottom:14px}.xport.grp .xp:nth-child(2){right:0;bottom:0;box-shadow:-4px 0 0 var(--tb)}
.xbadge{position:absolute;right:10px;bottom:10px;z-index:2;font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(20,22,40,.16);white-space:nowrap}
.xbadge.ai{color:var(--t-lilac-i)}.xbadge.twin{color:var(--t-sky-i)}
.xhero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:280px;border-radius:28px;background:linear-gradient(135deg,var(--tb),color-mix(in srgb,var(--tb) 55%,var(--tc)))}
.xhb{display:grid;gap:12px;align-content:center;padding:36px 0 36px 40px;position:relative;z-index:1}
.xhero h2{margin:0;font-size:29px;line-height:1.15;font-weight:600;letter-spacing:-.025em;text-wrap:balance;max-width:26ch}
.xhero p{margin:0;font-size:15.5px;line-height:1.6;color:color-mix(in srgb,var(--ink) 78%,var(--ti));max-width:60ch}
.xev{display:flex;gap:7px;align-items:center;font-size:12.5px;color:var(--ink-soft)}.xev svg{width:14px;height:14px;flex:none}.xev b{color:var(--ti)}
.xstage{position:relative;min-height:260px}
.xstage .xp{inset:auto;width:240px;height:240px;right:-24px;bottom:-50px;animation:xrise .9s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i)*90ms)}
.xstage.grp .xp{width:160px;height:160px}.xstage.grp .xp:nth-child(1){right:180px;bottom:-30px;z-index:1}.xstage.grp .xp:nth-child(2){right:60px;bottom:-46px;width:188px;height:188px;z-index:2}.xstage.grp .xp:nth-child(3){right:-40px;bottom:-30px;z-index:1}
.xstage.grp .xp:nth-child(2):last-child{right:-20px}
@keyframes xrise{from{transform:translateY(22px) scale(.97)}to{transform:none}}
.xhero>.xbadge{right:16px;bottom:14px}
.td-more{margin-top:8px}.td-more>summary{cursor:pointer;font-weight:600;color:var(--x-accent);padding:8px 0}.td-more .td-hero h1{display:none}
.agrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ac{position:relative;overflow:hidden;display:grid;gap:14px;padding:20px;border-radius:24px;background:#fff;box-shadow:var(--x-shadow);color:var(--ink);text-decoration:none;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s}
.ac::before{content:"";position:absolute;inset:0 0 auto;height:84px;background:linear-gradient(180deg,var(--tb),transparent);pointer-events:none}
.ac:hover{transform:translateY(-3px);box-shadow:var(--x-shadow-h);color:var(--ink)}
.ach{display:flex;gap:12px;align-items:center;position:relative}.ach h3{font-size:16.5px}.ach p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.mono-tile{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:700;font-size:14px;color:var(--ti,var(--ink));background:var(--tc,var(--track));flex:none}
.mono-tile.lg{width:60px;height:60px;border-radius:18px;font-size:18px;--tc:var(--t-sand-2);--ti:var(--t-sand-i)}
.acn{display:grid;gap:2px}.acn b{font-size:26px;font-weight:600;letter-spacing:-.025em}.acn span{font-size:13px;color:var(--ink-soft)}
.acw{margin:0;font-size:14px;line-height:1.45;min-height:2.9em}
.acf{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--line)}.acf .btn{margin-left:auto}
.xstack{display:flex}.xstack .av{box-shadow:0 0 0 2.5px #fff}.xstack .av+.av{margin-left:-9px}
.xah{display:flex;gap:16px;align-items:center}
.hubtabs{display:flex;gap:4px;overflow-x:auto;padding:4px;border-radius:999px;background:var(--track);width:max-content;max-width:100%;scrollbar-width:none;border:0}
.hubtabs a{padding:8px 16px;border-radius:999px;font-weight:500;color:var(--ink-soft);text-decoration:none;white-space:nowrap;border:0}
.hubtabs a.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(20,22,40,.12)}
@media (max-width:1180px){.vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.agrid{grid-template-columns:repeat(2,minmax(0,1fr))}.xhero{grid-template-columns:minmax(0,1fr) 250px}}
@media (max-width:760px){.vgrid,.vgrid.three,.agrid{grid-template-columns:1fr}.xhero{grid-template-columns:1fr}.xhb{padding:24px 20px 170px}.xstage{position:absolute;inset:auto 0 0 0;height:170px;min-height:0}.xhead h1{font-size:28px}}
@media (prefers-reduced-motion:reduce){.vc,.ac,.xp{transition:none}.xstage .xp{animation:none}}
.xpi:not(.ph){background:color-mix(in srgb,var(--tc) 75%,#fff);color:var(--ti);font-size:30px;letter-spacing:-.02em}.xstage .xpi:not(.ph){font-size:52px}
.hubtabs{flex-wrap:nowrap}
.xpicks{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.xpick{display:grid;grid-template-rows:140px auto;border-radius:22px;overflow:hidden;background:#fff;box-shadow:var(--x-shadow);color:var(--ink);text-decoration:none;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s}
.xpick:hover{transform:translateY(-3px);box-shadow:var(--x-shadow-h);color:var(--ink)}
.xpf{position:relative;overflow:hidden;background:linear-gradient(160deg,var(--tb),var(--tc))}
.xpf .xp{inset:auto;left:50%;bottom:-16px;width:140px;height:140px;transform:translateX(-50%);background:transparent}
.xpick:hover .xpf .xp{transform:translateX(-50%) scale(1.04)}
.xpt{display:grid;gap:2px;padding:12px 14px 14px}.xpt b{font-size:14.5px}.xpt small{font-size:12.5px;color:var(--ink-soft)}.xpt .xman{color:var(--ti);font-weight:600;margin-top:3px}

/* phase 3: practice */
.xtwo{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.xatm{display:flex;flex-wrap:wrap;gap:8px}.xatm button{font-size:13.5px;font-weight:500;padding:8px 15px;border-radius:999px;border:1.5px solid var(--tc);background:var(--tb);color:var(--ink);cursor:pointer}
.xatm button[aria-pressed="true"]{border-color:var(--ti);background:var(--tc);font-weight:600}
.callstage{position:relative;display:grid;justify-items:center;gap:12px;padding:28px 20px 26px;margin:-4px -4px 16px;border-radius:24px;background:radial-gradient(120% 90% at 50% 30%,var(--tb),var(--tc))}
.cs-faces{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.cs-face{position:relative;width:150px;height:150px}.callstage .cs-faces:has(.cs-face:nth-child(2)) .cs-face{width:104px;height:104px}
.cs-face .xp{inset:0;border:4px solid rgba(255,255,255,.7)}
.cs-ring{position:absolute;inset:0;border-radius:50%;background:color-mix(in srgb,var(--ti) 25%,transparent);opacity:0}
.callstage.talk .cs-ring{animation:csring 1.8s cubic-bezier(.16,1,.3,1) infinite}
@keyframes csring{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.3);opacity:0}}
.cs-who{display:grid;justify-items:center;gap:2px}.cs-who b{font-size:20px;letter-spacing:-.02em}.cs-who span{font-size:13px;color:var(--ink-soft)}
.callstage>.xbadge{right:14px;bottom:12px}
.scorehero{margin-bottom:16px}.sc-big{display:flex;align-items:baseline;gap:10px}.sc-big b{font-size:64px;line-height:1;font-weight:600;letter-spacing:-.04em;color:var(--ti)}.sc-big span{font-size:14px;color:var(--ink-soft)}
.sc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.sc-grid h3{margin:0 0 8px}.sc-grid p{margin:0 0 12px;font-size:14px;line-height:1.55}
.sc-goals,.sc-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sc-goals li{display:flex;gap:10px;align-items:flex-start;font-size:14px}.sc-goals li>span:first-child{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:12px;font-weight:700}
.sc-goals .ok>span:first-child{background:var(--t-sage-2);color:var(--t-sage-i)}.sc-goals .part>span:first-child{background:var(--t-sand-2);color:var(--t-sand-i)}.sc-goals .no>span:first-child{background:var(--t-peach-2);color:var(--t-peach-i)}
.sc-goals small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}.sc-list li{font-size:14px;padding-left:14px;position:relative}.sc-list li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--t-peach-i)}
.sc-next{margin-top:16px}.sc-line{margin:6px 0 0;font-size:18px;font-weight:500;letter-spacing:-.01em}
.ls-accts{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:8px}
.ls-acct{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;border:0;background:var(--surface);box-shadow:var(--x-shadow);cursor:pointer;text-align:left;--tc:var(--t-sky-2);--ti:var(--t-sky-i)}
.ls-acct .mono-tile{width:36px;height:36px;border-radius:11px;font-size:12px}.ls-acct b{display:block;font-size:14px}.ls-acct small{color:var(--muted);font-size:12px}
.ls-acct[aria-checked="true"]{box-shadow:0 0 0 2.5px var(--x-accent),var(--x-shadow)}
@media (max-width:900px){.sc-grid,.xtwo{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.callstage.talk .cs-ring{animation:none}}
.scorehero h2{font-size:22px;line-height:1.3;max-width:40ch}

/* phase 4: People */
.tcard{padding:6px 20px}.trow{border-bottom:1px solid var(--line)}.trow:last-child{border-bottom:0}
.trow summary{display:flex;align-items:center;gap:16px;padding:16px 0;cursor:pointer;list-style:none}.trow summary::-webkit-details-marker{display:none}
.trt{flex:0 0 200px;display:grid;gap:2px;min-width:0}.trt b{font-size:15px}.trt small{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbars{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}
.hb3{display:grid;gap:6px}.hb3>div{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--ink-soft)}.hb3 b{color:var(--ink);font-weight:600;white-space:nowrap}
.hbar{height:6px;border-radius:99px;background:var(--track);overflow:hidden;display:block}.hbar i{display:block;height:100%;border-radius:99px}
.tnum{display:grid;justify-items:end;min-width:64px}.tnum b{font-size:24px;font-weight:600;letter-spacing:-.02em}.tnum small{font-size:11px;color:var(--muted)}
.tdetail{display:grid;grid-template-columns:1fr 1.4fr;gap:24px;padding:0 0 18px 48px}.tdetail h3{margin:0 0 8px;font-size:14px}
.tlist{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}.tlist li{display:flex;align-items:center;gap:10px;font-size:13.5px}.tlist li>span:last-child{margin-left:auto;color:var(--muted);font-size:12.5px}
.tlist .bad{color:var(--neg)!important}.tlist .mid{color:var(--amber)!important}.tlist small{display:block;color:var(--muted);font-size:12px}.tlist .grow{flex:1;min-width:0}
.tscore{font-weight:600;font-size:16px;color:var(--ink)!important;margin-left:auto}
.teamflag{min-height:220px}.teamflag h2{font-size:24px}
@media (max-width:900px){.trow summary{flex-wrap:wrap}.trt{flex:1 1 160px}.tbars{flex:1 1 100%;order:3;grid-template-columns:1fr}.tdetail{grid-template-columns:1fr;padding-left:0}}
.scorebar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.xseg{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--track);margin-left:auto}.xseg button{border:0;background:none;padding:7px 14px;border-radius:999px;font-weight:500;color:var(--ink-soft);cursor:pointer}.xseg button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(20,22,40,.12)}
.vc.gate{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ti) 45%,transparent)}
.onb-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.onb-pips{display:flex;gap:6px}.onb-pips i{width:14px;height:14px;border-radius:50%;background:var(--track)}.onb-pips i.ok{background:var(--t-sage-i)}.onb-pips i.miss{background:var(--t-sand-i)}.onb-pips i.now{box-shadow:inset 0 0 0 3px var(--x-accent);background:transparent}.onb-pips i.gate{border-radius:4px;transform:rotate(45deg) scale(.85)}
.onb-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px 0}.onb-form input,.onb-form select{min-height:40px;border-radius:12px;border:1px solid var(--line-strong);padding:0 12px;background:#fff}
.onb-cert{display:flex;gap:8px;align-items:center;margin:0;padding:12px 16px;border-radius:14px;background:var(--t-sand);color:var(--t-sand-i);font-weight:500}.onb-cert.ok{background:var(--t-sage);color:var(--t-sage-i)}.onb-cert svg{width:16px;height:16px}
.onb-form input,.onb-form select{width:auto;flex:1 1 180px;margin:0}.onb-form b{flex:1 1 100%}

/* polish after the first live look (5 Nov): smaller type, roomier sidebar, calmer tints */
body{font-size:14px}
h1,.xhead h1{font-size:30px}.xhead p{font-size:14.5px}
.xsh h2{font-size:17px}
.xhero{min-height:240px}.xhero h2{font-size:23px;line-height:1.2}.xhero p{font-size:14px}.xhb{padding:30px 0 30px 34px;gap:10px}
.xstage{min-height:220px}.xstage .xp{width:210px;height:210px}.xstage.grp .xp{width:140px;height:140px}.xstage.grp .xp:nth-child(2){width:164px;height:164px}
.vc{min-height:220px;padding:18px 18px 20px}.vc h3{font-size:15.5px}.vc p{font-size:13px}.vmeta{font-size:12px}
.vic{width:32px;height:32px;border-radius:10px}.vic svg{width:16px;height:16px}
.xport{width:108px;height:108px}.xport.grp .xp{width:82px;height:82px}.xport.grp .xp:nth-child(1){right:50px}
.acn b{font-size:22px}.ach h3{font-size:15px}.acw{font-size:13.5px}
.btn{font-size:13px}
.rail .nav{min-height:48px;padding:6px 12px;font-size:14px}.rail .rgroup{gap:4px}
.acodds{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-soft);position:relative}
.acodds i{width:8px;height:8px;border-radius:50%;background:var(--track)}.acodds i.bad{background:var(--neg)}.acodds i.mid{background:var(--amber)}.acodds i.good{background:var(--teal-strong)}

/* phase 6: the sidebar (mockup v12) */
.rail{width:236px;padding:16px 12px 12px;background:#F2F3F8;border-right:1px solid var(--line);gap:2px}
.rhead{display:grid;gap:2px;padding:2px 8px 14px}.rail .rhead .brand{padding:0;font-size:15px;font-weight:700}
.rws{font-size:12.5px;color:var(--muted);padding-left:34px}.rws .ws-switch summary{font-size:12.5px;color:var(--muted);cursor:pointer;list-style:none}.rws .ws-switch summary::after{content:" ▾"}
.rws-name{font-size:12.5px}
.startpill{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 2px 14px;min-height:42px;border-radius:999px;background:var(--x-accent);color:#fff;font-weight:600;font-size:14px;text-decoration:none;box-shadow:0 6px 16px -8px var(--x-accent)}
.startpill:hover{background:var(--x-accent-hover);color:#fff}.startpill svg{width:17px;height:17px}
.rail .rg-h{margin:14px 10px 6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.rail .rg-h .rg-cap{display:none}
.rail .nav{min-height:42px;padding:0 12px;font-size:14px;font-weight:500;border-radius:12px}.rail .nav .cap{display:none}
.rail .nav.on{background:#E6E4FB;color:var(--x-accent);box-shadow:none}.rail .nav.on svg{color:var(--x-accent);opacity:1}
.railfoot{gap:2px;padding-top:10px}
.railme{display:flex;align-items:center;gap:10px;margin-top:8px;padding:10px;border-radius:14px;text-decoration:none;color:var(--ink)}.railme:hover{background:rgba(255,255,255,.7);color:var(--ink)}
.railme span{display:grid;gap:1px;min-width:0}.railme b{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.railme small{font-size:11.5px;color:var(--muted)}
.railme .av{width:30px;height:30px;font-size:11px}
/* the rail carries the workspace switcher on a desktop; a phone has no rail, so staff keep it in the header */
@media (min-width:861px){body.railed #clerkOrg{display:none}}
@media (max-width:860px){body.railed:not(.ws-many) #clerkOrg{display:none}body.railed.ws-many #clerkOrg{display:inline-flex;max-width:132px}
  .top .ws-switch>summary{max-width:132px}.top .ws-menu{left:auto;right:0;max-width:calc(100vw - 24px)}}
/* the sidebar is one fixed column, the full height of the window, and never scrolls: compact rows and type, tighter
   still on short screens */
@media (min-width:861px){
  .rail{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;padding:12px 10px 10px;gap:0}
  .rhead{padding:0 8px 10px}.rail .rhead .brand{font-size:14px}.rws,.rws-name,.rws .ws-switch summary{font-size:11.5px}
  .startpill{min-height:34px;margin:0 2px 8px;font-size:13px}.startpill svg{width:15px;height:15px}
  .railmap{gap:0;padding-bottom:4px}.rail .rgroup{gap:1px}
  .rail .rg-h{margin:10px 10px 3px;font-size:10px}
  .rail .nav,.railfoot .nav{min-height:32px;padding:0 10px;gap:9px;font-size:13px;border-radius:9px}.rail .nav svg{width:15px;height:15px}
  .rail .nav kbd{font-size:10px}.rail .count{height:17px;min-width:18px;font-size:10.5px}
  .railfoot{padding-top:6px;gap:1px}
  .railme{margin-top:4px;padding:6px 8px;gap:8px}.railme b{font-size:12.5px}.railme small{font-size:11px}.railme .av{width:26px;height:26px;font-size:10px}
}
@media (min-width:861px) and (max-height:640px){
  .rhead{padding-bottom:6px}.startpill{min-height:30px;margin-bottom:4px}
  .rail .rg-h{margin:6px 10px 2px}
  .rail .nav,.railfoot .nav{min-height:27px;font-size:12.5px}
}
/* Practice: who to practise with (your accounts, general twins, made-up clients) */
.psh .prsrc{margin-left:auto}.psh .prsrc + .slot{margin-left:8px}
.prsrc a{font-size:12.5px;padding:4px 10px}
a.wc{text-decoration:none;color:inherit}
/* People and My coaching (spec 38 phase E, the mockup) */
.pp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-bottom:18px}
.pp-card{display:grid;gap:10px;padding:18px;align-content:start}
.pp-top{display:flex;gap:12px;align-items:center;min-width:0}.pp-who{display:grid;min-width:0}
.pp-who b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pp-who small{font-size:12px;color:var(--muted)}
.pp-rt{margin-left:auto;font:600 26px var(--font-figures,inherit);letter-spacing:-.02em;color:var(--ink)}
.pp-meter{display:grid;grid-template-columns:100px 1fr 28px;gap:8px;align-items:center;font-size:12px;color:var(--ink-soft)}
.pp-meter b{text-align:right;font-weight:600;color:var(--ink)}
.pp-meter i{height:6px;border-radius:6px;background:var(--track);position:relative;overflow:hidden}
.pp-meter i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--v);background:var(--x-accent);border-radius:6px}
.pp-meter i.none::after{display:none}
.pp-flag{font-size:12.5px;background:var(--t-peach);border-radius:12px;padding:10px 12px;line-height:1.45}
.pp-hero{display:flex;gap:28px;align-items:center;flex-wrap:wrap;padding:22px 24px;margin-bottom:14px}
.pp-meters{display:grid;gap:10px;min-width:0;flex:1 1 240px}
.pp-none{display:grid;place-items:center;width:112px;text-align:center;gap:2px}.pp-none b{font-size:30px}.pp-none small{font-size:11.5px;color:var(--muted)}
.pp-spark{display:grid;gap:4px;width:200px}.pp-spark svg{width:100%;height:64px;overflow:visible}.pp-spark small{font-size:11.5px;color:var(--muted)}
.pp-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:6px}
.pp-q{border-radius:18px;padding:16px;background:var(--tb);display:grid;gap:8px;align-content:start}
.pp-q small{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ti)}
.pp-q p{margin:0;font-size:13.5px;line-height:1.5}.pp-q .btn{justify-self:start}
.pp-list{display:grid;padding:4px 16px}.pp-li{display:flex;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--line);min-width:0}
.pp-li:first-child{border-top:0}.pp-li .grow{display:grid;min-width:0;flex:1}.pp-li small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:760px){.pp-three{grid-template-columns:1fr}.pp-spark{width:100%}}
/* Studies (spec 38 phase E, the mockup) */
.st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.st-card{display:grid;gap:10px;align-content:start;background:var(--tb);border-color:transparent;padding:18px}
.st-card b{display:block;font-size:14.5px;font-weight:600}.st-card small{display:block;font-size:12.5px;color:var(--ink-soft);margin-top:2px}
.st-card .chip{justify-self:start}.st-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.st-kind{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ti)}
.st-latest{display:grid;gap:10px;padding:18px 20px;text-decoration:none;color:inherit}
.st-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,40%) 44px;gap:12px;align-items:center;font-size:13.5px}
.st-bar i{height:10px;border-radius:6px;background:var(--track);position:relative;overflow:hidden}
.st-bar i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--v);background:var(--x-accent);border-radius:6px}
.st-bar b{text-align:right;font-weight:600}
.st-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.st-list li{display:flex;justify-content:space-between;gap:12px;font-size:13.5px}
@media (max-width:600px){.st-bar{grid-template-columns:1fr 44px}.st-bar i{grid-column:1/-1;grid-row:2}}
/* Onboarding (spec 38 phase E, the mockup) */
.onb-steps{display:grid;gap:10px;margin-bottom:18px}.onb-steps.compact{gap:0;margin:0}
.onb-step{display:flex;gap:14px;align-items:center;padding:14px 18px}
.onb-steps.compact .onb-step{box-shadow:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:10px 0;background:none}
.onb-n{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:13px;background:var(--track);color:var(--ink-soft)}
.onb-step.done .onb-n{background:var(--t-sage);color:var(--t-sage-i)}.onb-step.now .onb-n{background:var(--x-accent);color:#fff}
.onb-step.locked{opacity:.72}.onb-steps.compact .onb-step.locked{opacity:1}
.onb-b{display:grid;gap:2px;min-width:0;flex:1}.onb-b b{font-size:14px;font-weight:600}.onb-b small{font-size:12.5px;color:var(--muted);line-height:1.45}
.onb-res{flex:none;font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--track);color:var(--ink-soft)}
.onb-res.done{background:var(--t-sage);color:var(--t-sage-i)}.onb-res.now{background:var(--t-sand);color:var(--t-sand-i)}
.onb-cards{display:grid;gap:14px;margin-bottom:18px}.onb-card{display:grid;gap:12px;padding:18px 20px}
.onb-dots{display:flex;gap:6px}.onb-dots span{flex:1;height:6px;border-radius:6px;background:var(--track)}
.onb-dots span.done{background:var(--t-sage-i)}.onb-dots span.now{background:var(--x-accent)}
/* the workspace switcher in the More sheet */
.sheet-ws{display:flex;align-items:center;gap:10px;margin:2px 4px 10px;padding:8px 10px;border-radius:12px;background:var(--surface);box-shadow:0 0 0 1px var(--line)}
.sheet-ws .ws-switch{position:relative}.sheet-ws .ws-switch summary{font-weight:600;font-size:13.5px;color:var(--ink)}
/* phase 6: account overview */
.room2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start}
.room2 .roomglance{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0;overflow:hidden}
.room2 .roomglance .rf{padding:18px 20px;display:grid;gap:3px}.room2 .roomglance .rf:nth-child(even){border-left:1px solid var(--line)}.room2 .roomglance .rf:nth-child(n+3){border-top:1px solid var(--line)}
.roomglance .rf b{font-size:22px;font-weight:600;letter-spacing:-.02em}.roomglance .rf-l{font-size:12.5px;color:var(--muted)}.roomglance .rf-s{font-size:12.5px;color:var(--ink-soft)}
#roomStand .lensseg,#roomStand .seg{margin-top:6px}
.vc.ghost{background:transparent;border:1.5px dashed var(--line-strong)}
@media (max-width:900px){.room2{grid-template-columns:1fr}}
.roomglance .rf b,.rp-n,.card .headline,.rs-h{font-family:var(--font-ui)!important;font-weight:600;letter-spacing:-.015em}.rp-n{font-size:15px}
/* phase 6: deal page header and loop */
.hubhead .xstack .av{width:40px;height:40px}
.dloop{background:#fff;border-radius:24px;box-shadow:var(--x-shadow);padding:14px 18px;border:0}
.eyebrow{text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:600;color:var(--muted)}.hero-meta{margin:4px 0 0!important;font-size:13.5px;color:var(--ink-soft)}
/* phase A (spec 38): a deal sits inside its account; the account's tabs show above the deal as a quiet strip */
/* A deal's way back to its account (9 Nov 2026), in place of the account's tabs */
.backpill{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;width:max-content;max-width:100%;min-height:34px;padding:0 14px 0 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:13.5px;font-weight:500;text-decoration:none}
.backpill:hover{border-color:var(--muted);color:var(--ink)}
.hubtabs .tabn{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:999px;background:var(--track);color:var(--ink-soft);font-size:11.5px;font-weight:500;line-height:1.2;vertical-align:1px}
.hubtabs a.on .tabn{background:var(--panel)}
.acdeals .head-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.acdeals h2{margin:0;font-size:17px}
.acdeals .dtile{background:#fff}
.dt-do{display:block;margin-top:4px;font-size:12.5px;font-weight:600;color:var(--x-accent)}
/* What Tacity knows (9 Nov 2026): Live, Weekly, Needs you, and what each lets Tacity do */
.sst{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;background:var(--track);color:var(--ink-soft)}
.sst.live{background:#E7F3E3;color:#2F6B1F}.sst.live i{width:7px;height:7px;border-radius:50%;background:#3E8E2C;box-shadow:0 0 0 3px rgba(62,142,44,.18)}
.sst.weekly{background:#E8F3FA;color:#1F5B7A}.sst.you{background:#FBF0DC;color:#7A5208}.sst.off{background:#F1F4F6;color:#5A6A72}
.srchead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.skey{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--muted)}
.srcgrid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:18px;align-items:start;margin-top:14px}
@media (max-width:900px){.srcgrid{grid-template-columns:1fr}}
.srow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}
.srow:first-of-type{margin-top:8px}
.sname{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sname b{font-size:14.5px;font-weight:600}
.sact{grid-row:1 / span 2;grid-column:2;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.sdet{grid-column:1;margin:0;font-size:13px;line-height:1.45;color:var(--ink-soft)}
.srow.off .sname b,.srow.none .sname b{color:var(--muted)}.srow.none .sdet{color:var(--muted)}
.ssel{height:32px;border:1px solid var(--line);border-radius:999px;padding:0 10px;font:inherit;font-size:13px;background:#fff;color:var(--ink)}
.card.syou{border-color:#F0DDB5}
.crow{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.crow:first-of-type{border-top:0}
.crow .grow{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}.crow b{font-size:14px;font-weight:600}.crow .grow span{font-size:12.5px;color:var(--muted);line-height:1.4}
.cmk{flex:none;width:22px;font-size:15px;line-height:1.3;text-align:center}
.crow.ok .cmk{color:#3E8E2C}.crow.part .cmk{color:#C2850C}.crow.none .cmk{color:#9FB4BF}
.acsetup .head-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.acsetup h2{font-size:17px}
.sprog{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:13px}
.sbar{display:block;width:220px;max-width:50vw;height:7px;border-radius:999px;background:var(--line);overflow:hidden}.sbar i{display:block;height:100%;background:var(--x-accent);border-radius:999px}
/* phase A: the twin page opens on the person, as a tinted card, with Practise first */
.hero.twinhero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px 26px;border-radius:26px;background:linear-gradient(135deg,var(--t-lilac),color-mix(in srgb,var(--t-lilac) 50%,var(--t-lilac-2)))}
.twinhero .th-id{display:flex;gap:22px;align-items:center;min-width:0}
.twinhero .portrait,.twinhero .portrait .pimg{width:150px;height:150px}.twinhero .portrait .pimg{font-size:44px;box-shadow:0 0 0 5px rgba(255,255,255,.7)}
.twinhero h1{font-size:28px}
.th-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:320px}
@media (max-width:900px){.hero.twinhero{grid-template-columns:1fr}.th-acts{justify-content:flex-start;max-width:none}}
@media (max-width:560px){.twinhero .th-id{flex-direction:column;align-items:flex-start}.twinhero .portrait,.twinhero .portrait .pimg{width:120px;height:120px}}
/* phase A: the meeting page's header: the room's faces, brief or debrief, practise */
.mt-top.mt-card{display:grid;gap:14px;padding:20px 22px;border-radius:24px;background:linear-gradient(135deg,var(--t-sky),color-mix(in srgb,var(--t-sky) 55%,var(--t-sky-2)))}
.mt-id{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.mt-id>div{min-width:0}
.mt-id .xstack .av{width:40px;height:40px;box-shadow:0 0 0 3px var(--t-sky)}
.mt-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mt-bar .btn.primary{margin-left:auto}
.mt-room .r-pname{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.mt-room .r-pname .av{width:30px;height:30px;font-size:11px}
.th-acts .btn.primary{order:-1}

/* Practice on one screen (spec 38, phase B): the sentence, who's in the room, the call, the scorecard */
.prhead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.seg a{padding:6px 14px;border-radius:var(--radius-pill);font-weight:600;font-size:14px;color:var(--ink-soft);text-decoration:none}
.seg a:hover{color:var(--ink)}
.seg a[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(19,27,46,.10)}
.pset{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:16px;align-items:start;margin-top:16px}
.pcol{display:grid;gap:16px;min-width:0}.pcol>*,.meet>*{min-width:0}.mlist li>span{min-width:0}
.pside{position:sticky;top:16px;align-self:start}
.psent{display:grid;gap:12px}
.sentence{margin:0;font-size:17px;line-height:1.95;letter-spacing:-.01em;font-weight:500;text-wrap:pretty}.who-now{font-weight:600}
.slot{font:inherit;font-weight:600;color:var(--t-lilac-i);background:var(--t-lilac);border:0;border-radius:10px;padding:2px 26px 2px 10px;margin:0 2px;cursor:pointer;appearance:none;-webkit-appearance:none;max-width:100%;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 13px) 55%,calc(100% - 8px) 55%;background-size:5px 5px;background-repeat:no-repeat}
.slot{width:auto;display:inline-block;vertical-align:baseline}
.slot.static{cursor:default;background-image:none;padding-right:10px}
.slot.sm{font-size:13px;padding:3px 24px 3px 9px}
.pfields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.objl{display:grid;gap:5px;font-size:12px;font-weight:600;color:var(--ink-soft)}
.obj{min-height:40px;border-radius:11px;border:1px solid var(--line-strong);padding:7px 11px;background:var(--surface);font-size:14px;width:100%;min-width:0;color:var(--ink)}
.obj:focus{outline:2px solid var(--t-lilac-i);outline-offset:1px}
.pnote{margin:0;font-size:12px;color:var(--muted)}
.psh{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.psh h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.01em}
.pwho{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}
.wc{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;transition:border-color .15s,background .15s}
.wc:hover{border-color:var(--line-strong)}
.wc[aria-pressed="true"]{border-color:var(--t-lilac-i);background:color-mix(in srgb,var(--t-lilac) 55%,var(--surface))}
.wc-t{min-width:0}.wc .av{width:30px;height:30px;font-size:11px}.wc b{display:block;font-size:13px}.wc small{display:block;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wc .box{margin-left:auto;width:18px;height:18px;border-radius:6px;border:1.5px solid var(--line-strong);display:grid;place-items:center;flex:none;font-size:12px;font-weight:700}
.wc[aria-pressed="true"] .box{background:var(--t-lilac-i);border-color:var(--t-lilac-i);color:#fff}
.meet{border-radius:22px;padding:18px;display:grid;gap:12px;background:linear-gradient(160deg,var(--tb),color-mix(in srgb,var(--tb) 45%,var(--tc)))}
.mhead{display:flex;gap:12px;align-items:center;min-width:0}.mt{min-width:0}
.mstack{display:flex;flex:none}.mstack .av{width:46px;height:46px;font-size:16px;box-shadow:0 0 0 2.5px var(--tb)}.mstack .av+.av{margin-left:-12px}
.mtitle{display:block;font-size:15px;letter-spacing:-.01em}.msub{display:block;color:var(--ink-soft);margin:0;font-size:12.5px}
.mlist{list-style:none;margin:0;padding:0;display:grid}
.mlist li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:center;padding:8px 0;border-top:1px solid color-mix(in srgb,var(--ink) 8%,transparent)}
.ml{min-width:0}.mlist small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mlist .av{width:26px;height:26px;font-size:10px}.mlist b{display:block;font-size:13px}.mlist small{display:block;font-size:12px;color:var(--ink-soft)}
.meet .go{justify-self:stretch;min-height:44px;font-size:14.5px}
.plist{display:grid;margin-top:8px}
.pli{min-width:0;display:flex;gap:12px;align-items:center;padding:10px 0;border:0;border-top:1px solid var(--line);background:none;text-align:left;cursor:pointer;width:100%}
.pli:first-child{border-top:0}.pli .grow{min-width:0;flex:1}.pli b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pli small{display:block;font-size:12.5px;color:var(--muted)}
.pscore{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font:600 14px var(--font-figures);flex:none;background:var(--track);color:var(--muted)}
.s-good{background:var(--t-sage-2);color:var(--t-sage-i)}.s-mid{background:var(--t-sand-2);color:var(--t-sand-i)}.s-bad{background:var(--t-peach-2);color:var(--t-peach-i)}
/* the call */
.pcall{--cbg:#0F1020;--cpanel:#1A1C31;--ctext:#ECEDF5;--cmute:#A3A6C0;--cacc:#8B85FF;background:var(--cbg);color:var(--ctext);border-radius:22px;overflow:hidden;display:grid;grid-template-rows:auto 1fr;min-height:calc(100vh - 120px)}
.callbar{display:flex;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid rgba(255,255,255,.08);flex-wrap:wrap}
.cbt{min-width:0}.cbt b{display:block;font-size:15px}.cbt span{font-size:12.5px;color:var(--cmute)}
.rec{display:inline-flex;align-items:center;gap:6px;font:500 13px var(--font-figures);color:var(--cmute)}
.rec i{width:8px;height:8px;border-radius:50%;background:#FF5A5F;animation:prblink 1.4s infinite}
.cba{margin-left:auto;display:flex;gap:8px;align-items:center}
.cchip{font-size:12px;padding:3px 10px;border-radius:999px;background:var(--cpanel);color:var(--cmute)}
.cbtn{border:0;border-radius:999px;padding:9px 16px;background:var(--cpanel);color:var(--ctext);font-weight:600;cursor:pointer;min-height:38px}
.cbtn:hover{background:#25284a}.cbtn.on{background:var(--cacc);color:#0F1020}.cbtn.on:hover{background:#9f9aff}
.cbtn:disabled{opacity:.7;cursor:progress}
.callgrid{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:0}
.callmain{padding:24px;display:grid;gap:16px;align-content:center}
.ptiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.ptile{position:relative;aspect-ratio:16/10;border-radius:18px;background:var(--cpanel);display:grid;place-items:center;overflow:hidden;transition:box-shadow .25s}
.ptile .av{width:84px;height:84px;font-size:28px}
.ptile.speaking{box-shadow:0 0 0 3px var(--cacc),0 0 32px -6px var(--cacc)}
.ptile .nm{position:absolute;left:10px;bottom:8px;font-size:12px;background:rgba(0,0,0,.5);padding:2px 8px;border-radius:8px}
.ptile .bars{position:absolute;right:12px;bottom:11px;display:none;gap:2px;align-items:flex-end;height:14px}
.ptile.speaking .bars{display:flex}
.ptile .bars i{width:3px;height:100%;background:var(--cacc);border-radius:2px;animation:preq .9s infinite ease-in-out}
.ptile .bars i:nth-child(2){animation-delay:.2s}.ptile .bars i:nth-child(3){animation-delay:.4s}
.ccoach{margin:0;min-height:1.5em;font-size:13.5px;color:var(--cmute);text-align:center;max-width:60ch;justify-self:center}
.ccoach b{color:var(--cacc);font-weight:600;margin-right:6px}
.tx{border-left:1px solid rgba(255,255,255,.08);display:grid;grid-template-rows:auto 1fr auto;min-height:0;max-height:calc(100vh - 190px)}
.txh{padding:14px 16px;font-size:11px;font-weight:600;color:var(--cmute);text-transform:uppercase;letter-spacing:.06em}
.txl{overflow-y:auto;padding:0 16px 12px;display:grid;gap:14px;align-content:start}
.ln{display:flex;gap:10px}.ln .av{width:26px;height:26px;font-size:10px}
.ln b{font-size:12px;color:var(--cmute);font-weight:600}.ln p{margin:2px 0 0;font-size:14px;line-height:1.5}.ln.me p{color:#D3D0FF}
.typing{font-size:12.5px;color:var(--cmute);font-style:italic}
.txin{display:flex;gap:8px;padding:12px;border-top:1px solid rgba(255,255,255,.08);align-items:flex-end}
.txin textarea{flex:1;min-width:0;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:var(--cpanel);color:var(--ctext);padding:9px 14px;resize:none;max-height:120px}
.txin textarea:focus{outline:2px solid var(--cacc);outline-offset:0}
@keyframes prblink{50%{opacity:.25}}
@keyframes preq{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
/* the scorecard */
.pshero{display:flex;gap:28px;align-items:center;flex-wrap:wrap;padding:26px 28px}
.psh-b{display:grid;gap:10px;min-width:0;flex:1}.psh-b .chip{justify-self:start}
.psh-b h1{margin:0;font:600 24px/1.25 var(--font-ui);letter-spacing:-.02em;text-wrap:balance;max-width:40ch}.psh-b p{margin:0}
.pshero .row-btns{display:flex;flex-wrap:wrap;gap:8px}
.pring{position:relative;flex:none;width:var(--s);height:var(--s)}
.pring svg{width:100%;height:100%;transform:rotate(-90deg)}
.pring circle{fill:none;stroke-width:3;stroke-linecap:round}.pr-track{stroke:var(--track)}
.pr-val.s-good{stroke:var(--t-sage-i);background:none}.pr-val.s-mid{stroke:var(--t-sand-i);background:none}.pr-val.s-bad{stroke:var(--t-peach-i);background:none}
.pring b{position:absolute;inset:0;display:grid;place-items:center;font:600 34px var(--font-figures);letter-spacing:-.03em}
.psec{margin-top:22px}.psec .psh{margin-bottom:10px}
.pgoals{list-style:none;margin:0;padding:0}
.pgoals li{display:flex;gap:12px;align-items:flex-start;padding:12px 0}.pgoals li+li{border-top:1px solid var(--line)}
.pgoals b{display:block;font-size:14px}.pgoals small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.res{font-size:11.5px;font-weight:600;padding:2px 9px;border-radius:999px;flex:none;margin-top:2px;min-width:58px;text-align:center}
.res.met{background:var(--t-sage-2);color:var(--t-sage-i)}.res.partly{background:var(--t-sand-2);color:var(--t-sand-i)}.res.missed{background:var(--t-peach-2);color:var(--t-peach-i)}
.pthree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.psec .pthree{margin-top:0}
.qc{border-radius:18px;padding:18px;background:var(--tb);display:grid;gap:6px;align-content:start}
.qc small{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ti)}.qc p{margin:0;font-size:14px}
.preact{display:grid;gap:10px;align-content:start}.preact b{display:block}.preact p{margin:0;font-size:13.5px}
.txread{display:grid;gap:8px}.txread p{margin:0;font-size:14px}.txread b{margin-right:6px}
.psec + details.fold,.pthree + details.fold{margin-top:22px}
@media (max-width:900px){.pset,.pthree{grid-template-columns:1fr}.pside{position:static}.callgrid{grid-template-columns:1fr}
  .tx{border-left:0;border-top:1px solid rgba(255,255,255,.08);max-height:none}.txl{max-height:40vh}.ptiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ptile .av{width:60px;height:60px;font-size:20px}
  .sentence{font-size:16px;line-height:1.9}.pcall{min-height:0;border-radius:16px}}
@media (prefers-reduced-motion:reduce){.rec i,.ptile .bars i{animation:none}}

/* Practice by voice (spec 38 phase C): the speaker's ring moves with their voice, yours with your microphone */
.ptile.speaking{box-shadow:0 0 0 calc(3px + var(--lvl,0) * 9px) var(--cacc),0 0 calc(32px + var(--lvl,0) * 30px) -6px var(--cacc)}
.ptile.me{box-shadow:0 0 0 calc(var(--lvl,0) * 7px) color-mix(in srgb,var(--cacc) 55%,transparent)}
.ptile.me.muted .av{opacity:.55}
#prMute[aria-pressed="true"]{background:#5b2330;color:#ffd9de}
@media (prefers-reduced-motion:reduce){.ptile.speaking{box-shadow:0 0 0 3px var(--cacc)}.ptile.me{box-shadow:none}}

/* The side card's controls (spec 38 phase C): Voice or Text, a voice per person, a deck to present */
.meet select.vsel{grid-column:2;justify-self:start;width:auto;max-width:100%;min-width:0;min-height:0;height:auto;font:500 11.5px var(--font-ui);color:var(--ink-soft);border:1px solid color-mix(in srgb,var(--ink) 10%,transparent);border-radius:999px;padding:3px 22px 3px 9px;cursor:pointer;appearance:none;-webkit-appearance:none;
  background:color-mix(in srgb,var(--surface) 75%,transparent) no-repeat;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 12px) 55%,calc(100% - 8px) 55%;background-size:4px 4px}
.meet select.vsel:hover{color:var(--ink)}
.mopt{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.meet .pmode{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:color-mix(in srgb,var(--ink) 7%,transparent)}
.meet .pmode button{border:0;background:none;padding:5px 14px;border-radius:999px;font:600 12.5px var(--font-ui);color:var(--ink-soft);cursor:pointer;min-height:30px}
.meet .pmode button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(19,27,46,.12)}
.meet .pmode button:disabled{opacity:.4;cursor:not-allowed}
.tgl{display:inline-flex;gap:7px;align-items:center;font-size:12.5px;font-weight:500;color:var(--ink-soft);cursor:pointer}
.tgl input{width:15px;height:15px;accent-color:var(--t-lilac-i);margin:0}
.pfile{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:var(--surface);min-width:0}
.pfile>svg{width:20px;height:20px;color:var(--t-lilac-i);flex:none}.pfile .grow{min-width:0;flex:1;display:grid;gap:2px}
.pfile select{min-width:0;max-width:100%;font:600 13px var(--font-ui);color:var(--ink);border:0;background:none;padding:0;cursor:pointer}
.pfile b{font-size:13px}.pfile small{font-size:11.5px;color:var(--muted)}
.pill-up{flex:none;font-size:12px;font-weight:600;color:var(--t-lilac-i);border:1.5px solid color-mix(in srgb,var(--t-lilac-i) 55%,transparent);border-radius:999px;padding:4px 11px;cursor:pointer}
.pill-up:hover{background:var(--t-lilac-i);color:#fff}
.mnote{margin:0;font-size:12px;color:var(--ink-soft);text-align:center}

/* Presenting a deck in the call: the slide large, the room in a strip below it */
.callgrid.withdeck .callmain{align-content:start}
.pstage{display:grid;gap:10px}
.pslidebox{aspect-ratio:16/9;border-radius:14px;background:#fff;overflow:hidden;display:grid;place-items:center;max-height:56vh;max-width:100%}
.pslidebox canvas{width:100%;height:100%;object-fit:contain;display:block}
.pslide{width:100%;height:100%;padding:6% 7%;display:grid;align-content:start;gap:10px;color:#15172A;background:linear-gradient(160deg,#fff,#F1F0FF)}
.pslide small{font-size:12px;font-weight:600;color:#6A64E8;text-transform:uppercase;letter-spacing:.06em}
.pslide h3{margin:0;font:600 clamp(18px,2.6vw,30px)/1.2 var(--font-ui);letter-spacing:-.02em;text-wrap:balance}
.pslide ul{margin:6px 0 0;padding-left:1.1em;display:grid;gap:6px;font-size:clamp(13px,1.3vw,16px);color:#3B3F58}
.pnav{display:flex;align-items:center;justify-content:center;gap:12px;font:500 13px var(--font-figures);color:var(--cmute)}
.pnav .cbtn{min-width:38px;padding:8px 12px;font-size:16px}.pnav .cbtn:disabled{opacity:.35;cursor:default}
#prPresent[aria-pressed="true"]{background:var(--cacc);color:#0F1020}
.callgrid.withdeck .ptiles{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}
.callgrid.withdeck .ptile{aspect-ratio:auto;padding:12px 8px 26px}.callgrid.withdeck .ptile .av{width:44px;height:44px;font-size:15px}
.pneed{display:grid;gap:8px;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--surface) 80%,transparent)}
.pneed p{margin:0;font-size:12.5px;color:var(--ink-soft)}.pneed b{color:var(--ink)}.pneed .btn{justify-self:start}

/* Practice: a shared screen in the call, and the recording under the scorecard (spec 38 phase C) */
.pslidebox.pshare{background:#111}
.pslidebox.pshare video{width:100%;height:100%;object-fit:contain;display:block}
.pseen{margin:0;font-size:12.5px;color:var(--cmute);line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pseen b{color:var(--cacc);font-weight:600;margin-right:4px}
.prec{display:grid;gap:12px}
.prec audio{width:100%;height:40px}
.pmoments{list-style:none;margin:0;padding:0}
.pmoments li{display:flex;gap:12px;align-items:flex-start;padding:11px 0}.pmoments li+li{border-top:1px solid var(--line)}
.pmoments b{font-size:14px}.pmoments small{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}
.pm-t{flex:none;min-width:54px;height:30px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-family:inherit;font-weight:600;font-size:12.5px;line-height:1;font-variant-numeric:tabular-nums;cursor:pointer}
.pm-t::before{content:"▶";font-size:9px;margin-right:6px;vertical-align:1px}
.pm-t:hover:not(:disabled),.pm-t.on{border-color:var(--ink)}.pm-t:disabled{opacity:.5;cursor:default}.pm-t:disabled::before{content:none}
.res.coach{background:var(--t-lilac-2);color:var(--t-lilac-i)}

/* Workspace setup (spec 38 phase D): six steps, each a card */
.ws{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
.ws-steps{display:grid;gap:4px;position:sticky;top:16px}
.ws-step{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:12px;color:var(--muted);font-size:13px;text-decoration:none}
.ws-step:hover{color:var(--ink)}
.ws-step i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11.5px;font-weight:600;background:color-mix(in srgb,var(--ink) 8%,transparent);flex:none}
.ws-step.done i{background:var(--t-sage-2);color:var(--t-sage-i)}
.ws-step[aria-current="step"]{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:var(--x-shadow, var(--shadow))}
.ws-step[aria-current="step"] i{background:var(--t-lilac-i);color:#fff}
.ws-body{display:grid;gap:14px;min-width:0}
.ws-body h2{margin:0 0 4px;font-size:17px}
.ws-body .card>p.small{margin:0 0 8px}
.ws-form{display:grid;gap:14px}
.ws-form label{display:grid;gap:6px;font-size:13px;font-weight:600}
.ws-form input,.ws-form textarea,.ws-form select,.ws-more textarea{font:inherit;font-weight:400;font-size:14px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface);color:var(--ink);width:100%;box-sizing:border-box}
.ws-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ws-conn{display:flex;gap:14px;align-items:center;padding:14px 0}.ws-conn.top{align-items:flex-start}
.ws-conn+.ws-conn{border-top:1px solid var(--line)}
.ws-lg{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:700;background:var(--tc);color:var(--ti);flex:none}
.ws-conn .grow{flex:1;min-width:0;display:grid;gap:4px}
.ws-conn b{font-size:14px}.ws-conn small{font-size:12.5px;color:var(--muted);line-height:1.45}
.ws-ok{color:var(--t-sage-i);font-weight:600;font-size:12.5px;white-space:nowrap}
.ws-key{display:flex;gap:8px;margin-top:6px}.ws-key input{flex:1;min-width:0;font:inherit;font-size:13px;border:1px solid var(--line);border-radius:10px;padding:7px 10px;background:var(--surface);color:var(--ink)}
.ws-warn{margin:4px 0 0;font-size:12.5px;color:var(--t-peach-i);background:var(--t-peach);border-radius:10px;padding:8px 10px}
.ws-more{font-size:13px}.ws-more summary{cursor:pointer;color:var(--ink);font-weight:600;padding:4px 0}
.ws-more>*:not(summary){margin:6px 0}
.ws-code{white-space:pre-wrap;word-break:break-all;font-size:12px;background:color-mix(in srgb,var(--ink) 5%,transparent);border-radius:10px;padding:10px 12px;margin:6px 0}
.ws-import{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.ws-note{margin:8px 0 0;font-size:12.5px;color:var(--muted);background:var(--t-sand);border-radius:14px;padding:12px 14px}.ws-note b{color:var(--t-sand-i)}
.ws-acct{padding:12px 0}.ws-acct+.ws-acct{border-top:1px solid var(--line)}
.ws-ah{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}.ws-ah b{font-size:14px}
.ws-build{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.ws-list{display:grid}.ws-li{display:flex;gap:10px;align-items:center;padding:10px 0}.ws-li+.ws-li{border-top:1px solid var(--line)}
.ws-li .grow{min-width:0}.ws-li b{display:block;font-size:13.5px}.ws-li small{font-size:12px;color:var(--muted)}
.ws-scroll{overflow-x:auto}
.ws-tbl{width:100%;border-collapse:collapse;font-size:13px}
.ws-tbl th{text-align:left;font-size:11.5px;color:var(--muted);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--line)}
.ws-tbl td{padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}
.ws-tbl select{min-height:32px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:0 8px;font:inherit;font-size:13px}
.ws-who{display:flex;gap:10px;align-items:center;white-space:nowrap}.ws-who .av{width:28px;height:28px;font-size:11px}
.ws-chips{display:flex;gap:6px;flex-wrap:wrap}
.ws-ac{font:inherit;font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:999px;border:1px solid var(--line);background:none;cursor:pointer;color:var(--muted)}
.ws-ac[aria-pressed="true"]{background:var(--t-lilac);border-color:transparent;color:var(--t-lilac-i)}
.ws-nav{display:flex;justify-content:space-between;gap:10px}
@media (max-width:860px){.ws{grid-template-columns:minmax(0,1fr)}.ws-conn{flex-wrap:wrap}.ws-conn .grow{flex:1 1 220px}.ws-conn small{overflow-wrap:anywhere}.ws-steps{position:static;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.ws-two{grid-template-columns:1fr}}
.ws-steps-list{margin:6px 0;padding-left:18px;display:grid;gap:6px;font-size:12.5px;color:var(--muted)}.ws-steps-list b{color:var(--ink);font-size:inherit}
.ws-steps-list code,.ws-conn code{font-size:11.5px;background:color-mix(in srgb,var(--ink) 6%,transparent);padding:2px 6px;border-radius:6px;word-break:break-all}

/* ================================================================ Tacity "Lagoon" (approved 6 Nov 2026)
   The website's look in the app: Geist, deep ink on a cool white ground, one teal that means "do this" or "you are
   here", a pale sky wash behind the product moment, pills for actions, colour only where it means something
   (good, watch, risk). A thin sidebar fixed to the window. This layer supersedes the colour and type of every layer
   above; tokens first, then the shared components. */
:root{
  --canvas:#F7FAFB; --surface:#FFFFFF; --panel:#EEF4F6; --wash:#E8F3FA; --wash-2:#CFE5F3;
  --ink:#0E1B22; --ink-soft:#3A4A52; --muted:#5A6A72; --line:#E0E9EE; --line-strong:#C9D6DE;
  --cobalt:#0F766E; --cobalt-hover:#0B5F58; --on-cobalt:#FFFFFF; --peri:#0F766E;
  --teal:#2F6B1F; --teal-strong:#2F6B1F; --teal-soft:#E7F3E3; --on-teal-soft:#2F6B1F;
  --track:#E6EEF2; --periwinkle:#CFE5F3;
  --neg:#9A3412; --neg-soft:#FFE8DD; --on-neg-soft:#9A3412;
  --amber:#C2850C; --amber-soft:#FBF0DC; --on-amber-soft:#7A5208;
  --font-display:"Geist","Helvetica Neue",Arial,sans-serif; --font-ui:"Geist","Helvetica Neue",Arial,sans-serif;
  --font-figures:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;
  --x-bg:#F7FAFB; --x-accent:#0F766E; --x-accent-hover:#0B5F58;
  --x-shadow:0 1px 2px rgba(14,27,34,.05),0 12px 32px -18px rgba(14,27,34,.22);
  --x-shadow-h:0 1px 2px rgba(14,27,34,.06),0 24px 56px -28px rgba(14,27,34,.38);
  --t-lilac:#E8F3FA; --t-lilac-2:#CFE5F3; --t-lilac-i:#0F5F59; --t-sky:#E8F3FA; --t-sky-2:#CFE5F3; --t-sky-i:#1F5470;
  --t-sage:#E7F3E3; --t-sage-2:#CDE5C3; --t-sage-i:#2F6B1F; --t-peach:#FFE8DD; --t-peach-2:#FFCFBA; --t-peach-i:#9A3412;
  --t-sand:#FBF0DC; --t-sand-2:#F1DCAE; --t-sand-i:#7A5208;
}
::selection{background:#0F766E;color:#FFFFFF}
html{scrollbar-color:var(--line-strong) transparent}
body{background:var(--canvas);color:var(--ink);font-family:var(--font-ui);font-variant-numeric:tabular-nums}
a{color:var(--cobalt);text-underline-offset:3px}a:hover{color:var(--cobalt-hover)}
:focus-visible{outline:2px solid #0F766E;outline-offset:3px}
h1{font:600 34px/1.08 var(--font-ui);letter-spacing:-.035em}
h2,h3{letter-spacing:-.02em}
.xhead h1{font-size:34px}.xhead p{font-size:16.5px;color:var(--ink-soft)}
.xsh h2{font-size:19px}.xlink,.td-more>summary{color:#0F766E;font-weight:500}

/* the sidebar: thin, fixed to the window, tall rows, no section headers */
.rail{width:224px;flex:none;position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;background:#FFFFFF;border-right:1px solid var(--line);padding:24px 12px 14px;gap:6px}
.rhead{padding:0 8px 16px;gap:8px}.rail .rhead .brand{font-size:19px;font-weight:600;letter-spacing:-.03em;gap:10px}
.rail .brand img{width:32px;height:27px}
.rws,.rws-name,.rws .ws-switch summary{font-size:13px;padding-left:0}
.startpill{min-height:48px;margin:0 2px 18px;border-radius:999px;background:#0F766E;color:#FFFFFF;font-weight:500;font-size:15px;box-shadow:none}
.startpill:hover{background:#0B5F58;color:#FFFFFF}.startpill svg{width:18px;height:18px}
.rail .rg-h{display:none}
.railmap{gap:0;padding-bottom:6px}.rail .rgroup{gap:4px}.rail .rgroup+.rgroup{margin-top:4px}
.rail .nav,.railfoot .nav{min-height:46px;padding:0 14px;gap:12px;font-size:15px;font-weight:500;border-radius:12px;color:var(--ink-soft);box-shadow:none}
.rail .nav svg{width:19px;height:19px;color:var(--muted);opacity:1}
.rail .nav:hover{background:var(--panel);color:var(--ink)}
.rail .nav.on{background:var(--wash);color:var(--ink);font-weight:600;box-shadow:none}.rail .nav.on svg{color:#0F766E}
.rail .count{background:#0F766E;color:#FFFFFF;box-shadow:none;height:20px;min-width:20px;font-size:11.5px}
.rail .nav.on .count{background:#0F766E}
.rail .count.todo{background:var(--amber-soft);color:var(--on-amber-soft)}
.railfoot{border-top:0;padding-top:6px;gap:2px}
.railme{margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;gap:10px}
.railme b{font-size:13.5px}.railme small{font-size:12px}
@media (min-width:861px) and (max-height:760px){.rail{padding-top:18px}.rhead{padding-bottom:10px}.startpill{min-height:42px;margin-bottom:12px}.rail .nav,.railfoot .nav{min-height:38px}}
@media (min-width:861px) and (max-height:620px){.rail .nav,.railfoot .nav{min-height:32px;font-size:14px}.railme{display:none}}

/* the top bar: quiet, on the ground */
.top{background:rgba(247,250,251,.92);border-bottom:1px solid transparent}
.searchbtn{background:var(--panel);border-radius:999px;color:var(--muted)}

/* actions: pills; teal for the one that matters */
.btn{border-radius:999px;border:1px solid var(--line-strong);background:#FFFFFF;color:var(--ink);font-weight:500}
.btn:hover{background:#FFFFFF;color:var(--ink);border-color:var(--ink)}
.btn.primary{background:#0F766E;border-color:#0F766E;color:#FFFFFF}.btn.primary:hover{background:#0B5F58;border-color:#0B5F58;color:#FFFFFF}
.btn.ghost{border-color:transparent;background:transparent}
.vc .btn{background:#FFFFFF}.vc .btn:hover{background:#FFFFFF;color:var(--ink)}
.ask-fab{background:#0E1B22;color:#F7FAFB;box-shadow:0 1px 2px rgba(14,27,34,.08),0 14px 32px -12px rgba(14,27,34,.45)}
.ask-fab:hover{box-shadow:0 1px 2px rgba(14,27,34,.08),0 18px 38px -12px rgba(14,27,34,.5)}

/* chips and labels */
.chip{font-weight:500;font-size:12.5px;padding:4px 10px}

/* cards: white, hairline, the site's soft shadow; tints only where they mean something */
.card{border:1px solid var(--line);border-radius:16px;box-shadow:var(--x-shadow)}
.card.tint{background:var(--tb);border-color:transparent}
.vc{background:#FFFFFF;border:1px solid var(--line);border-radius:16px;box-shadow:var(--x-shadow)}
.vc:hover{transform:translateY(-2px)}
.vic{background:var(--tb);color:var(--ti)}
.xp{background:var(--wash-2)}
.xhero{background:var(--tb);border-radius:24px}
.ac{border:1px solid var(--line);border-radius:16px;box-shadow:var(--x-shadow)}.ac::before{display:none}
.mono-tile{background:var(--panel);color:var(--ink-soft)}.mono-tile.lg{--tc:var(--panel);--ti:var(--ink-soft)}

/* tabs inside a place: underline tabs */
.hubtabs{display:flex;gap:28px;padding:0;border-radius:0;background:none;border:0;border-bottom:1px solid var(--line);width:auto;max-width:100%;overflow-x:auto}
.hubtabs a{padding:12px 0;border-radius:0;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--muted);font-weight:500;font-size:15px;background:none;box-shadow:none}
.hubtabs a:hover{color:var(--ink)}
.hubtabs a.on{background:none;box-shadow:none;color:var(--ink);border-bottom-color:#0F766E}
.rail .count.todo{font-size:0;width:8px;height:8px;min-width:0;padding:0;border-radius:50%;background:#C2850C}
.xpi{background:var(--wash-2);color:#1F5470;font-weight:600;font-size:28px;letter-spacing:-.02em}
.xstage .xpi{font-size:44px}
/* "View as" in a page's header */
.lens-pick{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);white-space:nowrap}
.lens-pick select{height:38px;padding:0 34px 0 14px;border:1px solid var(--line);border-radius:999px;background:#FFFFFF;color:var(--ink);font:inherit;font-size:14px;cursor:pointer}
.hero.hubhead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.acc-lens{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.acfilter{display:flex;gap:8px;flex-wrap:wrap;background:none;padding:0}
.acfilter a{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#FFFFFF;color:var(--ink-soft);font-size:13.5px;font-weight:500;text-decoration:none}
.acfilter a.on{background:var(--ink);border-color:var(--ink);color:#F7FAFB}
/* figures: Geist with even-width digits; mono stays for small labels */
.acn b,.mono,.money{font-family:var(--font-ui);font-variant-numeric:tabular-nums}
/* people without a photo yet: a calm, uncropped initials disc instead of a giant cropped one */
.xstage .xp:not(:has(img)){width:116px;height:116px;bottom:28px;animation:none}
.xstage.grp .xp:not(:has(img)):nth-child(1){right:224px}.xstage.grp .xp:not(:has(img)):nth-child(2){right:124px;width:116px;height:116px}.xstage.grp .xp:not(:has(img)):nth-child(3){right:24px}
.xstage:not(.grp) .xp:not(:has(img)){right:32px}
.xstage .xp:not(:has(img)) .xpi{font-size:32px}
.vc .xport:not(:has(img)){right:18px;bottom:18px;width:56px;height:56px}
.vc .xport:not(:has(img)) .xp{width:56px;height:56px;inset:auto;right:0;bottom:0}
.vc .xport.grp:not(:has(img)) .xp:nth-child(1){right:40px;bottom:0}
.vc .xport:not(:has(img)) .xpi{font-size:18px}
.xstage.grp .xp:not(:has(img)):nth-child(1),.xstage.grp .xp:not(:has(img)):nth-child(2),.xstage.grp .xp:not(:has(img)):nth-child(3){bottom:28px;z-index:1}
input[type=checkbox],input[type=radio],input[type=range]{accent-color:#0F766E}
@media (max-width:760px){.xstage .xp:not(:has(img)){display:none}}

/* People → Team (an admin) */
.tm-who-sees{margin-bottom:14px}
.tm-list{display:grid;gap:12px;margin-bottom:24px}
.tm-row{display:grid;grid-template-columns:minmax(200px,1.1fr) minmax(0,2fr);gap:14px 24px;padding:18px 20px;align-items:start}
.tm-who{display:flex;gap:12px;align-items:center;min-width:0}
.tm-f{display:flex;gap:12px;flex-wrap:wrap}.tm-f label,.tm-invite label{display:grid;gap:4px;font-size:12.5px;color:var(--muted);min-width:150px}
.tm-f select,.tm-invite select,.tm-invite input{height:38px;border:1px solid var(--line);border-radius:10px;padding:0 10px;background:#FFFFFF;color:var(--ink);font:inherit;font-size:14px}
.tm-acc{grid-column:1/-1;display:grid;gap:6px}
.tm-invite{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.tm-invite input{min-width:260px}
@media (max-width:760px){.tm-row{grid-template-columns:1fr}}

/* 6 Nov, after the founder's first live look: a narrower sidebar, smaller type everywhere so the page holds more, the
   workspace menu never clipped, and a quiet AI label that doesn't sit on the face */
body{font-size:14px}
h1,.xhead h1{font-size:28px}.xhead p,.lede{font-size:15px}
.xsh h2{font-size:17px}h2{font-size:16.5px}
.rail{width:200px;padding:20px 10px 12px;overflow:visible}
.rhead{padding:0 6px 12px}.rail .rhead .brand{font-size:17px;gap:8px}.rail .brand img{width:28px;height:24px}
.rws,.rws-name,.rws .ws-switch summary{font-size:12.5px}
.startpill{min-height:42px;font-size:14px;margin:0 2px 14px}
.rail .nav,.railfoot .nav{min-height:40px;padding:0 12px;gap:10px;font-size:14px}
.rail .nav svg{width:17px;height:17px}
.railme{padding:8px 10px}.railme b{font-size:13px}.railme small{font-size:11.5px}.railme .av{width:28px;height:28px}
.rws .ws-switch{position:relative}
.rws .ws-menu{left:0;right:auto;top:calc(100% + 6px);min-width:220px;max-width:260px;z-index:80}
.rws .ws-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (min-width:861px) and (max-height:760px){.rail .nav,.railfoot .nav{min-height:34px}.startpill{min-height:38px}}
.xbadge{right:12px;bottom:12px;padding:2px 7px;font-size:10px;font-weight:500;letter-spacing:.01em;border-radius:6px;background:rgba(255,255,255,.82);box-shadow:none;color:var(--muted);backdrop-filter:blur(2px)}
.xbadge.ai,.xbadge.twin{color:var(--muted)}
.vc h3{font-size:16px}.vc p{font-size:13px}.vmeta{font-size:12px}
.btn{min-height:36px;font-size:13.5px}
.content > .page{max-width:1240px;padding:18px 36px 56px}

/* Today on one screen (6 Nov 2026): a shorter banner, shorter "Needs you" cards, and practice as slim rows with a
   small face, so the whole page fits a laptop screen with at most one scroll. */
.xhero.tight{min-height:0;grid-template-columns:minmax(0,1fr) 230px;border-radius:18px}
.xhero.tight .xhb{padding:20px 0 20px 26px;gap:8px}
.xhero.tight h2{font-size:19px;max-width:40ch}
.xhero.tight p{font-size:13.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xhero.tight .xstage{min-height:150px}
.xhero.tight .xstage .xp{width:136px;height:136px;right:-6px;bottom:-26px}
.xhero.tight .xstage.grp .xp{width:104px;height:104px}.xhero.tight .xstage.grp .xp:nth-child(1){right:132px;bottom:-14px}
.xhero.tight .xstage.grp .xp:nth-child(2){right:52px;bottom:-24px;width:118px;height:118px}.xhero.tight .xstage.grp .xp:nth-child(3){right:-30px;bottom:-14px}
.xhero.tight .xstage.grp .xp:nth-child(2):last-child{right:-10px}
.vc.compact{min-height:0;padding:14px 16px 16px;gap:5px}
.vc.compact .vic{display:none}
.vc.compact h3{margin:0;font-size:14.5px;max-width:calc(100% - 64px)}
.vc.compact p{font-size:12.5px;-webkit-line-clamp:2;max-width:calc(100% - 64px)}
.vc.compact .vmeta{font-size:11.5px;max-width:calc(100% - 72px)}
.vc.compact .btn{margin-top:6px}
.vc.compact .xport{width:72px;height:72px;right:-8px;bottom:-10px}
.vc.compact .xport.grp .xp{width:54px;height:54px}.vc.compact .xport.grp .xp:nth-child(1){right:36px;bottom:10px}
.vc.compact .xpi{font-size:20px}
.vc.slim{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:1px;min-height:0;padding:12px 14px;border-radius:14px}
.vc.slim .vic,.vc.slim>p{display:none}
.vc.slim .xport{position:relative;inset:auto;grid-column:1;grid-row:1/span 2;width:44px;height:44px}
.vc.slim .xp{inset:0;width:100%;height:100%}.vc.slim:hover .xp{transform:none}
.vc.slim .xpi{font-size:15px}
.vc.slim h3{grid-column:2;grid-row:1;margin:0;font-size:13.5px;line-height:1.25;max-width:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vc.slim .vmeta{grid-column:2;grid-row:2;max-width:none;font-size:11.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vc.slim .vmeta span+span::before{content:" · "}
.vc.slim .btn{grid-column:3;grid-row:1/span 2;margin:0;padding-inline:10px}
.vc.slim>.xbadge{right:auto;left:8px;bottom:4px;padding:0 4px;font-size:8.5px}
.xsec:has(.vc.slim){gap:10px}
.xhero.tight .xstage .xp:not(:has(img)){width:84px;height:84px;right:28px;bottom:28px}
.xhero.tight .xstage.grp .xp:not(:has(img)):nth-child(1){right:180px}.xhero.tight .xstage.grp .xp:not(:has(img)):nth-child(2){right:104px;width:84px;height:84px}.xhero.tight .xstage.grp .xp:not(:has(img)):nth-child(3){right:28px}
.xhero.tight .xstage .xp:not(:has(img)) .xpi{font-size:24px}
/* The AI sparkle on small clusters of faces (6 Nov 2026) */
.xspark{position:absolute;right:10px;bottom:10px;z-index:2;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--x-accent,#0F766E);box-shadow:0 1px 2px rgba(14,27,34,.18)}
.xspark svg{width:11px;height:11px}
.vc.slim>.xspark{right:auto;left:40px;bottom:auto;top:38px;width:16px;height:16px}.vc.slim>.xspark svg{width:9px;height:9px}
.vc.compact>.xspark{right:6px;bottom:56px;width:18px;height:18px}

/* Twins (6 Nov 2026): every twin, grouped by account */
.tw-bar-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tw-bar-row .seg{display:flex;gap:8px;flex-wrap:wrap}
.tw-bar-row .fpill{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#FFFFFF;color:var(--ink-soft);font:inherit;font-size:13.5px;font-weight:500;cursor:pointer}
.tw-bar-row .fpill b{font-weight:500;color:var(--muted)}
.tw-bar-row .fpill.on{background:var(--ink);border-color:var(--ink);color:#F7FAFB}.tw-bar-row .fpill.on b{color:#C9D6DE}
.tw-find{display:flex;align-items:center;gap:8px;width:260px;max-width:100%;height:36px;box-sizing:border-box;padding:0 14px;border-radius:999px;background:var(--sunk,#EEF4F6);color:var(--muted)}
.tw-find input{border:0;background:transparent;font:inherit;font-size:13.5px;color:var(--ink);outline:none;width:100%;padding:0;min-height:0}
.tw-list{display:grid;gap:14px}
.tw-grp{display:grid;gap:12px;padding:16px 18px 18px}
.tw-gh{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tw-mark{width:36px;height:36px;border-radius:10px;background:var(--sunk,#EEF4F6);color:var(--ink-soft);font-weight:600;font-size:13px;display:grid;place-items:center;flex:none}
.tw-mark.gen{background:var(--t-sky,#E8F3FA);color:var(--x-accent,#0F766E)}
.tw-what{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 220px}
.tw-what h2{margin:0;font-size:16.5px}.tw-what small{font-size:13px;color:var(--muted)}
.tw-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tw{display:flex;flex-direction:column;gap:10px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#FFFFFF;color:var(--ink);text-decoration:none}
.tw:hover{border-color:#9FB4BF;color:var(--ink);box-shadow:0 8px 22px -16px rgba(14,27,34,.35)}
.tw[hidden]{display:none}
.tw-top{position:relative;display:flex;gap:11px;align-items:center;min-width:0}
.tw .av{width:48px;height:48px;font-size:15px;flex:none}
.tw-top>.xspark{left:33px;right:auto;top:31px;bottom:auto;width:17px;height:17px}.tw-top>.xspark svg{width:9px;height:9px}
.tw-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.tw-t b{font-size:14px;font-weight:600}
.tw-t small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tw-known{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);white-space:nowrap}
.tw-bar{width:42px;height:5px;border-radius:999px;background:var(--line);overflow:hidden;display:block}
.tw-bar i{display:block;height:100%;background:var(--x-accent,#0F766E);border-radius:999px}
.tw .chip.good{background:#E7F3E3;color:#2F6B1F}.tw .chip.hold{background:#FBF0DC;color:#7A5208}.tw .chip.risk{background:#FFE8DD;color:#9A3412}
@media (max-width:1180px){.tw-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.tw-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.tw-tiles{grid-template-columns:1fr}}

/* A twin's profile (6 Nov 2026) */
.tprof{display:flex;gap:26px;align-items:center;flex-wrap:wrap;padding:24px 26px}
.tprof .portrait,.tprof .portrait .pimg{width:132px;height:132px}.tprof .portrait .pimg{font-size:40px}
.tprof .portrait figcaption{display:inline-flex;align-items:center;gap:5px;font-weight:500;font-size:11.5px;color:var(--ink-soft);padding:4px 9px;border:1px solid var(--line);box-shadow:none}
.tprof .portrait figcaption svg{width:10px;height:10px;color:var(--x-accent,#0F766E)}
.tp-id{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:6px}
.tp-id h1{margin:0;font-size:30px}.tp-id .sub{margin:0;font-size:15px;color:var(--muted)}
.tp-acts{flex:0 1 240px;display:flex;flex-direction:column;gap:8px}
.tp-acts .btn{justify-content:center}
.tp-more{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:13px}
.tp-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.tp-tabs::-webkit-scrollbar{display:none}
.tp-tabs .tab{padding:12px 0;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:inherit;font-size:14.5px;font-weight:500;white-space:nowrap;cursor:pointer;text-decoration:none}
.tp-tabs .tab:hover{color:var(--ink)}.tp-tabs .tab.on{color:var(--ink);border-bottom-color:var(--x-accent,#0F766E)}
.tp-pane{display:grid;gap:14px}.tp-pane[hidden]{display:none}
@media (max-width:640px){.tprof{flex-direction:column;align-items:flex-start}.tp-acts{flex-basis:auto;width:100%}}

/* Accounts, simplified (6 Nov 2026): one card per account, what's in the way, and the faces with where they stand */
.acards{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.acard{display:flex;flex-direction:column;gap:12px;padding:18px 20px;color:var(--ink);text-decoration:none}
.acard:hover{color:var(--ink);border-color:#9FB4BF}
.acard-h{display:flex;gap:12px;align-items:center}
.acard-h .mono-tile{width:38px;height:38px;border-radius:10px;flex:none}
.acard-n{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto}
.acard-n b{font-size:15.5px;font-weight:600;letter-spacing:-.01em}
.acard-n small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acard .chip i,.tw .chip i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}
.acard .chip.good{background:#E7F3E3;color:#2F6B1F}.acard .chip.hold{background:#FBF0DC;color:#7A5208}.acard .chip.risk{background:#FFE8DD;color:#9A3412}
.acard-w{margin:0;font-size:14.5px;line-height:1.5;min-height:64px}
.acard-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--line)}
.acard-faces{display:flex;align-items:center}
.acf{position:relative;margin-left:-8px}.acf:first-child{margin-left:0}
.acf .av{width:34px;height:34px;box-shadow:0 0 0 2px #FFFFFF}
.acf .dot{position:absolute;left:-1px;bottom:-1px;z-index:1;width:10px;height:10px;border-radius:50%;border:2px solid #FFFFFF}
.dot.for{background:#3E8E2C}.dot.und{background:#C2850C}.dot.ag{background:#C2410C}.dot.unk{background:#9FB4BF}
.acard-next{font-size:12.5px;color:var(--muted)}.acard-next b{color:var(--ink);font-weight:600}

/* An account, simplified (6 Nov 2026) */
.xhero.acstand{min-height:0;grid-template-columns:1fr;border-radius:18px}
.xhero.acstand .xhb{padding:22px 26px;gap:10px}
.xhero.acstand h2{font-size:22px;max-width:46ch}
.xhero.acstand p{font-size:14px}
.acchips{display:flex;gap:6px;flex-wrap:wrap}.acchips .chip{background:rgba(255,255,255,.75)}
.acov{display:flex;gap:18px;flex-wrap:wrap;align-items:flex-start}
.acwho{flex:3 1 520px;min-width:0;padding:18px 22px}
.acwho .head-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.acwho h2{margin:0;font-size:17px}
.acside{flex:2 1 300px;min-width:0;display:flex;flex-direction:column;gap:14px}
.acside .card{padding:16px 18px}
.acside h3{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.01em}
.wrow{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}
.wrow:first-child{border-top:0}
.wrow>.av{grid-row:1/span 2;width:48px;height:48px;font-size:15px}
.wr-n{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;min-width:0}
.wr-n b{font-size:15px;font-weight:600}.wr-n small{font-size:12.5px;color:var(--muted)}
.wr-c{grid-column:2;font-size:13.5px;line-height:1.45;color:var(--ink-soft)}
.wrow>.btn{grid-column:3;grid-row:1/span 2}
.wrow .chip i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}
.wrow .chip.good{background:#E7F3E3;color:#2F6B1F}.wrow .chip.hold{background:#FBF0DC;color:#7A5208}.wrow .chip.risk{background:#FFE8DD;color:#9A3412}
.wrow.unmet>.av{background:#F1F4F6!important;color:#9FB4BF;border:1.5px dashed #C9D6DE;box-sizing:border-box}
.wrow.unmet b{color:var(--muted)}
.acmap{margin-top:10px}.acmap summary{cursor:pointer}
.acdeal{display:flex;flex-direction:column;gap:2px;padding:9px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}
.acdeal:first-of-type{border-top:0;padding-top:0}.acdeal b{font-size:14px;font-weight:600}.acdeal span{font-size:12.5px;color:var(--muted)}
.acmeet .line{padding:6px 0}
.acsub{margin-top:-4px}
@media (max-width:640px){.wrow{grid-template-columns:44px minmax(0,1fr)}.wrow>.btn{grid-column:2;grid-row:auto;justify-self:start}}
.wr-n a{color:inherit;text-decoration:none}.wr-n a:hover{color:var(--x-accent,#0F766E)}

/* Practice setup: the coach's prep before the call (free: from what Tacity already knows) */
.pprep .pp-where { margin: 0 0 10px; line-height: 1.5; }
.pp-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-people li { display: flex; gap: 10px; align-items: flex-start; }
.pp-people li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-people small { color: var(--muted, #6b7280); line-height: 1.4; }

/* You, at the foot of the rail: a menu that opens upwards. With the rail showing, the top bar drops its own profile
   button, Settings and Add meeting notes (they live in this menu); on a phone the top bar keeps them. */
.memenu{position:relative}
button.railme{width:100%;font:inherit;text-align:left;background:transparent;cursor:pointer}
.railme .mm-caret{margin-left:auto;color:var(--muted);font-size:12px}
.mm-pop{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:40;background:var(--card,#fff);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(15,23,42,.14);padding:6px;display:grid;gap:2px}
.mm-pop .mm-who{padding:8px 10px 6px;display:grid;gap:2px}.mm-pop .mm-who b{font-size:13px}.mm-pop .mm-who small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.mm-pop button,.mm-pop a{font:inherit;font-size:13.5px;text-align:left;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--ink);text-decoration:none;cursor:pointer}
.mm-pop button:hover,.mm-pop a:hover{background:var(--soft,#f1f5f9)}
.mm-pop hr{border:0;border-top:1px solid var(--line);margin:4px 2px}
@media (min-width:861px){body.railed .top #clerkUser,body.railed .top #openInbox,body.railed .top .topsettings{display:none!important}}
@media (min-width:861px) and (max-height:620px){.railme{display:flex}}

/* An onboarding step's call: the plan sets the call, so it reads as a brief rather than a form */
.psent .onb-title{font-size:22px;line-height:1.25;margin:10px 0 4px;text-wrap:balance}
.onb-goal{display:grid;gap:3px;margin:12px 0 4px;padding:12px 14px;border-radius:12px;background:var(--soft,#f1f5f9)}
.onb-goal small{font-size:12px;color:var(--muted)}.onb-goal b{font-size:15px;font-weight:600;line-height:1.4}
.onb-plan{list-style:none;margin:0;padding:0;display:grid;gap:2px;counter-reset:onb}
.onb-plan li{counter-increment:onb;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;font-size:13.5px;color:var(--muted)}
.onb-plan li::before{content:counter(onb);width:20px;height:20px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;background:var(--soft,#f1f5f9);color:var(--muted)}
.onb-plan li.now{background:var(--soft,#f1f5f9);color:var(--ink);font-weight:600}
.onb-plan li.now::before{background:var(--x-accent,#0F766E);color:#fff}
.psent>.chip{align-self:flex-start;justify-self:start;width:max-content}

/* The call's microphone: a clear on/off button, and hold-to-talk to keep room noise out */
.cbtn.mic{display:inline-flex;align-items:center;gap:7px}.cbtn.mic svg{width:16px;height:16px}
.cbtn.mic.off{background:#4a2330;color:#ffd4dc}.cbtn.mic.off:hover{background:#5a2a3a}
.cbtn.mic:not(.off):not(.ptt),.cbtn.mic.ptt.live{background:var(--cacc);color:#0F1020}.cbtn.mic.ptt{touch-action:none}
.cptt{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ctext);opacity:.85;cursor:pointer;user-select:none}
.cptt input{accent-color:var(--cacc)}

/* Before an onboarding call: the case, then the coach's note */
.onb-sit{margin:10px 0 6px;line-height:1.55}
.onb-facts{margin:0 0 4px;padding-left:18px;display:grid;gap:3px;font-size:13.5px;color:var(--muted)}
.onb-coach{margin-top:14px;padding:14px;border-radius:12px;background:var(--soft,#f1f5f9);display:grid;gap:10px}
.onb-coach .psh h2{font-size:15px}
.onb-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.onb-cols small,.onb-open small{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.onb-cols ul{margin:0;padding-left:18px;display:grid;gap:4px;font-size:13.5px;line-height:1.45}
.onb-open{margin:0;font-weight:600;line-height:1.45}

/* The programme's rules, set by the manager per step; and someone out of tries */
.onb-rules{margin-top:14px;overflow-x:auto}
.onb-rules table{width:100%;border-collapse:collapse;font-size:13.5px}
.onb-rules th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:6px 8px;border-bottom:1px solid var(--line)}
.onb-rules td{padding:6px 8px;border-bottom:1px solid var(--line)}
.onb-rules tr:last-child td{border-bottom:0}
.onb-rules input{width:72px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--card,#fff);color:var(--ink)}
.onb-stuck{color:#9A3412;max-width:34ch;text-align:right}
.onb-dots span.stuck{background:#F97316}

/* Onboarding calls: the coach's level, hints on request, and the pause to ask it anything */
.cchip.coach{background:#2A2760;color:#D6D3FF}
.cpause{margin-top:12px;padding:14px 16px;border-radius:16px;background:#14162A;border:1px solid #3B3780;display:grid;gap:10px}
.cp-h{margin:0;display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:#FBD38D}.cp-h i{width:8px;height:8px;border-radius:2px;background:#FBD38D}
.cp-q{margin:0;justify-self:end;max-width:85%;padding:9px 12px;border-radius:14px 14px 4px 14px;background:#2A2D48;font-size:13.5px;line-height:1.45}
.cp-a{max-width:92%;padding:11px 13px;border-radius:14px 14px 14px 4px;background:#1D1B44;border:1px solid #3B3780;font-size:13.5px;line-height:1.5}
.cp-a b{display:block;color:#A9A5FF;font-size:12px;margin-bottom:3px}.cp-a em{display:block;margin-top:7px;font-style:normal;border-left:2px solid var(--cacc);padding-left:9px}
.cp-in{display:flex;gap:8px}.cp-in input{flex:1;min-width:0;height:40px;box-sizing:border-box;border-radius:999px;border:1px solid #2A2D48;background:var(--cbg);color:var(--ctext);font:inherit;font-size:13.5px;padding:0 14px}
.pwould{list-style:none;margin:0;padding:0;display:grid;gap:0}
.pwould li{padding:12px 0;border-top:1px solid var(--line);display:grid;gap:6px}.pwould li:first-child{border-top:0;padding-top:0}
.pwould p{margin:0;font-size:13.5px;line-height:1.5}.pwould b{font-weight:600;margin-right:6px}
.pw-c{padding:9px 12px;border-radius:10px;background:#F1EFFF;color:#2B2670}.pw-c b{display:block;font-size:12px;color:#5B54B0;margin:0 0 2px}
.onb-rules select{height:34px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px;background:var(--card,#fff);color:var(--ink);padding:0 8px}
.cba .cbtn,.cba .cchip{white-space:nowrap}

/* Humanize (8 Nov 2026): how a twin talks and paces a call; the scorecard's pace and "what they really meant" */
.pbar{display:flex;height:28px;border-radius:10px;overflow:hidden;gap:2px;font-size:12px;font-weight:600}
.pbar span{display:flex;align-items:center;padding:0 10px;white-space:nowrap;overflow:hidden;min-width:6px}
.ph-opening{background:var(--t-sky);color:var(--t-sky-i)}.ph-main{background:var(--t-sage);color:var(--t-sage-i)}.ph-close{background:var(--t-sand);color:var(--t-sand-i)}
.pbar-row{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.pbar-row small{font-size:12.5px;color:var(--muted)}
.pmeant{list-style:none;margin:0;padding:0}
.pmeant li{display:flex;flex-direction:column;gap:4px;padding:12px 0}.pmeant li+li{border-top:1px solid var(--line)}
.pmeant q{font-size:14.5px;quotes:"“" "”"}.pmeant p{margin:0;font-size:13.5px;color:var(--ink-soft);line-height:1.5}.pmeant p b{color:var(--ink);font-weight:600}
.stamp-t{align-self:flex-start;font:500 11px/1 var(--font-figures);padding:4px 7px;border-radius:6px;border:1px dashed var(--line-strong);color:var(--muted)}
.tk-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 14px;color:var(--muted)}
.tk-top #talkState{flex:1 1 260px}.tk-top label{display:inline-flex;align-items:center;gap:8px}
.tk-top select{font:inherit;font-size:13px;padding:6px 10px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}
.tk-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;align-items:start}
.tk-bar{height:32px;margin:12px 0 4px}
.tk-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.tk-ph{border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:7px;background:var(--canvas)}
.tk-ph h3{margin:0;font-size:14px}.tk-ph p{margin:0;font-size:13.5px;line-height:1.5}
.tk-tempo{font-size:12.5px;font-weight:600;color:var(--muted)}
.tk-scale{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}
.tk-scale b{font-size:13.5px}
.tk-track{position:relative;height:6px;border-radius:999px;background:var(--track)}
.tk-track i,.tk-key i{position:absolute;top:50%;width:14px;height:14px;border-radius:50%;background:var(--cobalt);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--cobalt);transform:translate(-50%,-50%)}
.tk-track u,.tk-key u{position:absolute;top:50%;width:10px;height:10px;border-radius:50%;border:2px dashed var(--muted);background:var(--surface);transform:translate(-50%,-50%)}
.tk-key{display:inline-flex;align-items:center;gap:6px}.tk-key i,.tk-key u{position:static;transform:none;display:inline-block}.tk-key u{margin-left:10px}
.tk-ends{grid-column:2;display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);margin-top:-2px}
.tk-scale .stamp{font:500 11px/1 var(--font-figures);padding:4px 7px;border-radius:6px;border:1px dashed var(--line-strong);color:var(--muted);white-space:nowrap}
.tk-scale .stamp.own{border-style:solid;border-color:var(--t-sage-2);color:var(--t-sage-i);background:var(--t-sage)}
.tk-more summary{cursor:pointer;color:var(--cobalt);padding:10px 0 2px;font-weight:500}
.tk-says{list-style:none;margin:8px 0 0;padding:0}.tk-says li{display:flex;flex-direction:column;gap:3px;padding:10px 0}.tk-says li+li{border-top:1px solid var(--line)}
.tk-says q{font-size:14px;quotes:"“" "”"}.tk-says span{font-size:13px;color:var(--muted)}
.tk-kvs{display:flex;flex-direction:column;gap:9px;margin-top:10px;font-size:13.5px}.tk-kv{display:flex;justify-content:space-between;gap:12px}.tk-kv b{font-weight:500;text-align:right}
@media (max-width:900px){.tk-grid,.tk-phases{grid-template-columns:1fr}.tk-scale{grid-template-columns:1fr}.tk-ends{grid-column:1}}

/* ================================================================ the free practice studio (Nov 2026)
   One top bar (no sidebar), the Lagoon tokens, cards for people, a credit meter that's always in view. */
body.studio #rail,body.studio #tabbar,body.studio .top{display:none!important}
body.studio main{max-width:none;padding:0}
.stbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:20px;padding:12px max(20px,env(safe-area-inset-left,0px));background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.stbrand{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font-size:17px}.stbrand b{letter-spacing:-.02em}
.stfree{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:var(--wash);color:#0F5F59}
.stnav{display:flex;gap:4px;scrollbar-width:none}.stnav a{white-space:nowrap;flex:none;padding:8px 12px;border-radius:999px;color:var(--ink-soft);text-decoration:none;font-weight:500;font-size:14.5px}
.stnav a:hover{background:var(--panel);color:var(--ink)}.stnav a.on{background:var(--wash);color:var(--ink);font-weight:600}
.stright{margin-left:auto;display:flex;align-items:center;gap:10px}
.stcred{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);color:var(--ink-soft);text-decoration:none;font-size:13px}
.stcred b{color:var(--ink);font-family:var(--font-figures)}.stcred.low{border-color:var(--amber);background:var(--amber-soft)}
.stmeter{width:46px;height:6px;border-radius:999px;background:var(--track);overflow:hidden}.stmeter i{display:block;height:100%;background:#0F766E;border-radius:999px}
.stcred.low .stmeter i{background:var(--amber)}
.btn.stup{background:#C2410C;border-color:#C2410C;color:#FFFFFF;border-radius:999px}.btn.stup:hover{background:#9A3412;color:#FFFFFF}
.stuser{display:flex;align-items:center}
.stwrap{width:100%;box-sizing:border-box;max-width:1180px;margin:0 auto;padding:28px max(20px,env(safe-area-inset-left,0px)) 64px;display:flex;flex-direction:column;gap:24px}
.stkick{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#0F5F59;margin-bottom:8px}
.sthero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px;align-items:start}
.sthero h1{font-size:40px;margin:0 0 10px}.sthero p{font-size:17px;margin:0 0 18px;max-width:58ch}
.stcredit{display:flex;flex-direction:column;gap:4px;padding:20px;border-radius:18px;background:var(--wash)}
.stcredit b{font-size:22px;font-family:var(--font-figures);letter-spacing:-.02em}.stcredit ul{margin:10px 0;padding-left:18px;display:grid;gap:3px}
.stsec{display:flex;flex-direction:column;gap:4px}.stsh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.stsh h2{margin:0;font-size:21px}
.stsh select{margin-left:6px}
.stgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.stperson{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:18px 14px}
.stperson p{margin:4px 0 8px;line-height:1.4}.stperson .btn{margin-top:auto}
.stface{border-radius:50%;object-fit:cover;background:var(--panel);flex:none;display:inline-block}
.stperson .stface{width:72px;height:72px;margin-bottom:6px}
.streel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px;align-items:center;padding:24px}
.streel h2{margin:0 0 8px;font-size:22px}.streel p{margin:0 0 14px}
.streelg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.stfilm{display:flex;flex-direction:column;gap:8px;color:var(--ink);text-decoration:none;font-size:13.5px}
.stposter{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;max-width:100%;border-radius:12px;background:linear-gradient(135deg,var(--wash),var(--wash-2)) center/cover no-repeat;overflow:hidden}
.stposter i{width:40px;height:40px;border-radius:50%;background:rgba(14,27,34,.72);color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:14px}
.stposter.soon::after{content:"Being recorded";position:absolute;left:8px;bottom:8px;font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:#FFFFFF;color:var(--ink-soft)}
.stposter.sm{width:112px;flex:none}.stposter.sm i{width:28px;height:28px;font-size:11px}.stposter.sm.soon::after{display:none}
.sthead h1{margin:0 0 6px}.sthead p{margin:0;font-size:16px;max-width:70ch}
.stbuild{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.stcol{display:flex;flex-direction:column;gap:14px}
.ststep{display:flex;flex-direction:column;gap:12px;padding:20px}
.ststep h2{display:flex;align-items:center;gap:10px;margin:0;font-size:18px}
.ststep h2 span{width:26px;height:26px;border-radius:50%;background:var(--ink);color:#FFFFFF;font-size:13px;display:flex;align-items:center;justify-content:center}
.stsel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stsel label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted)}
.stmatch{display:flex;flex-direction:column;gap:8px}
.stpick{display:flex;gap:12px;align-items:center;text-align:left;padding:12px;border-radius:14px;border:1px solid var(--line);background:#FFFFFF;cursor:pointer;font:inherit;color:inherit}
.stpick span{display:flex;flex-direction:column;gap:2px;min-width:0}.stpick small{font-size:12.5px}
.stpick.on{border-color:#0F766E;box-shadow:0 0 0 1px #0F766E;background:#F3FAF8}
.stroom{display:flex;flex-direction:column;gap:6px;padding-top:4px}
.stsug{display:flex;gap:10px;align-items:center;text-align:left;padding:9px 12px;border-radius:14px;border:1.5px dashed var(--line-strong);background:#FFFDF9;cursor:pointer;font:inherit;color:inherit}
.stsug span{display:flex;flex-direction:column;min-width:0;flex:1}.stsug i{font-style:normal;font-size:13px;font-weight:600;color:#0F766E;white-space:nowrap}
.stsug.on{border-style:solid;border-color:#0F766E;background:#F3FAF8}.stsug:disabled{opacity:.5;cursor:default}
.stvibes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.stvibe{display:flex;flex-direction:column;gap:2px;text-align:left;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:#FFFFFF;cursor:pointer;font:inherit;color:inherit}
.stvibe small{font-size:11.5px;color:var(--muted);line-height:1.35}.stvibe.on{border-color:#C2410C;box-shadow:0 0 0 1px #C2410C;background:#FFF8F4}
.stdem{display:grid;grid-template-columns:36px minmax(0,1fr) minmax(150px,200px) max-content;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.stdem>span:not(.stseg){display:flex;flex-direction:column;min-width:0}
.stseg{display:inline-flex;flex-wrap:nowrap;white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:2px;background:var(--panel)}
.stseg button{border:0;background:transparent;padding:5px 12px;border-radius:999px;font:inherit;font-size:13px;cursor:pointer;color:var(--ink-soft)}
.stseg button[aria-pressed="true"]{background:#FFFFFF;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(14,27,34,.1)}
.stseg button:disabled{opacity:.45;cursor:default}.stseg.wide{display:flex}.stseg.wide button{flex:1}
.ststep textarea,.stask textarea{width:100%;box-sizing:border-box}
.stsum{position:sticky;top:76px;display:flex;flex-direction:column;gap:12px;padding:20px}.stsum h2{margin:0;font-size:18px}
.stfaces{display:flex}.stfaces .stface{width:40px;height:40px;border:2px solid #FFFFFF;margin-left:-8px}.stfaces .stface:first-child{margin-left:0}
.stsum dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0}.stsum dt{color:var(--muted)}.stsum dd{margin:0}
.btn.stgo{min-height:48px;border-radius:999px;font-size:15.5px}
.stwatch{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;align-items:start}
.stplayer{display:flex;flex-direction:column;gap:10px;padding:16px}.stplayer h2{margin:6px 0 0;font-size:20px}.stplayer p{margin:0}
.stvid{position:relative;border-radius:14px;overflow:hidden;background:#0E1B22;aspect-ratio:16/9;max-width:100%}
.stvid video{width:100%;height:100%;display:block}
.stvid.soon{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--wash),var(--wash-2))}
.stvid.soon p{display:flex;flex-direction:column;align-items:center;gap:4px;margin:0}
.stsound{position:absolute;top:12px;right:12px;border:0;border-radius:999px;padding:7px 12px;background:rgba(14,27,34,.78);color:#FFFFFF;font:inherit;font-size:13px;cursor:pointer}
.stlist{display:flex;flex-direction:column;gap:6px}
.stitem{display:flex;gap:10px;align-items:center;padding:8px;border-radius:14px;color:var(--ink);text-decoration:none}
.stitem span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13.5px}.stitem small{font-size:12px}
.stitem:hover{background:var(--panel)}.stitem.on{background:var(--wash)}
.stcalls{display:flex;flex-direction:column;gap:10px}
.stcall{display:flex;gap:14px;align-items:center;padding:14px 16px;color:var(--ink);text-decoration:none}
.stcall .grow{display:flex;flex-direction:column;gap:2px;min-width:0}
.stscore{width:46px;height:46px;border-radius:50%;background:var(--wash);display:flex;align-items:center;justify-content:center;font:600 16px var(--font-figures);flex:none}
.stscore.none{color:var(--muted)}
.stempty{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px}.stempty p{margin:0}
.stup2{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start}
.stup2 .card{padding:22px;display:flex;flex-direction:column;gap:10px}.stup2 h2{margin:0;font-size:18px}
.stcheck{margin:0 0 10px;padding:0;list-style:none;display:grid;gap:6px}.stcheck li{padding-left:24px;position:relative}
.stcheck li::before{content:"✓";position:absolute;left:0;color:#0F766E;font-weight:700}
@media (max-width:860px){
  .stbar{flex-wrap:wrap;gap:10px}.stnav{order:3;width:100%;overflow-x:auto}.stcred span:last-child{display:none}
  .sthero,.stbuild,.stwatch,.stup2,.streel{grid-template-columns:minmax(0,1fr)}.sthero h1{font-size:30px}
  .streelg,.stvibes{grid-template-columns:repeat(2,minmax(0,1fr))}.stsel{grid-template-columns:minmax(0,1fr)}
  .stsum{position:static}.stdem{grid-template-columns:36px minmax(0,1fr);}.stdem select,.stdem .stseg{grid-column:2}
}
/* Practice anyone on the paid Rehearse pages (the library, Nov 2026) */
.xcard.anyone{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.xcard.anyone .grow{display:flex;flex-direction:column;min-width:0}
.anyonewrap{padding-left:0;padding-right:0}
