/* Shared shell for every page but the report (public/index.html carries its own copy of the tokens until DES-001 M2).
   The design system is docs/DESIGN_SYSTEM.md (D-067): the sponsor audience team-dashboard language with the CMP tokens.
   Old token names stay as aliases so every page keeps rendering while it waits for its own pass. */
@font-face{font-family:"Aeonik";src:url("/fonts/aeonik-regular.woff2") format("woff2"),url("/fonts/aeonik-regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Aeonik";src:url("/fonts/aeonik-medium.woff2") format("woff2"),url("/fonts/aeonik-medium.otf") format("opentype");font-weight:500 700;font-style:normal;font-display:swap}
:root{
  --sheet:#ffffff;--canvas:var(--sheet);--ink:#000000;--ink-2:#474747;--ink-3:var(--ink-2);--on-signal:#000000;
  --g1:#eeeff6;--g2:#dfe1ec;--g3:#babcc4;--g4:#474747;--g5:#242424;
  --page-background:var(--g1);--table-header:var(--g2);--table-header-ink:var(--ink-2);
  --chart-track:#f1efe9;--chart-track-secondary:#e3e0d8;--chart-track-subtle:#b9b5ab;--chart-track-edge:#8c887f;--chart-muted:#66635b;--chart-quiet:#7d796f;--chart-ink:#131210;--chart-secondary:#45433d;--chart-guide:rgba(38,32,16,.26);
  --surface-muted:#f6f7fa;--surface-sunken:var(--g1);--surface-overlay:var(--sheet);--hover:#f6f7fa;--open:#e5e7f0;--panel:var(--sheet);
  --rule:rgba(0,0,0,.14);--rule-strong:rgba(0,0,0,.3);
  --rule-soft:rgba(0,0,0,.06);--rule-row:rgba(0,0,0,.14);--rule-section:rgba(0,0,0,.3);--rule-structural:#000000;
  --signal:#ffff00;--signal-hover:#f5f500;
  --positive:#0a6b3d;--negative:#b3261e;--diff-up:#1d4ed8;--diff-down:#0e7490;--caution:#b3261e;--information:#474747;
  --cat-blue:#2fc4dc;--cat-purple:#b85ff0;--cat-green:#4fd97a;--cat-coral:#f47f68;--cat-amber:#e8a93a;--cat-lilac:#7f95f0;
  /* UI-030 / D-093: restore CMP chart color; unknown/rest categories keep a neutral fill. */
  --chart-1:var(--cat-blue);--chart-2:var(--cat-purple);--chart-3:var(--cat-green);--chart-4:var(--cat-amber);--chart-5:#dfe1ec;
  --font:"Aeonik",Inter,system-ui,-apple-system,sans-serif;--mono:"JetBrains Mono",ui-monospace,monospace;
  --font-body:var(--font);--font-mono:var(--mono);
  --type-12:12px;--type-13:13px;--type-15:15px;--type-16:16px;--type-24:24px;--type-32:32px;
  --radius:8px;--shadow-overlay:0 12px 40px rgba(0,0,0,.2);--gutter:48px;--ease:cubic-bezier(.2,.7,.2,1)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--page-background);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.4;letter-spacing:-0.005em;-webkit-font-smoothing:antialiased}
b,strong{font-weight:500}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}
/* Jump and landing targets (headings, sections, dialogs with tabindex=-1) take focus for screen readers but draw no box. Real controls keep the ring above. */
[tabindex="-1"]:not(a):not(button):not(input):not(select):not(textarea):not(summary):is(:focus,:focus-visible){outline:none;box-shadow:none}
.wrap{max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:0 var(--gutter) 80px}
.wrap a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule-strong);text-decoration-thickness:1px;text-underline-offset:3px}.wrap a:hover{text-decoration-color:var(--ink)}
.num{font-variant-numeric:tabular-nums}
/* Masthead: a white product row on the page column, a thin rule beneath. Logo, the sections as quiet tabs, Ask and sign out. */
.hdr-band{background:var(--canvas);color:var(--ink)}
.hdr{display:grid;grid-template-columns:auto 1fr auto;gap:32px;align-items:center;overflow:visible;max-width:calc(1200px + 2*var(--gutter));height:72px;margin:0 auto;padding:0 var(--gutter);border-bottom:1px solid var(--rule)}
.hdr-brand{display:flex;align-items:center;gap:16px;text-decoration:none;color:var(--ink)}
.hdr-logo{display:block;text-decoration:none;line-height:0}.hdr-logo img{display:block;width:150px;height:auto}
.hdr-title{padding-left:16px;border-left:1px solid var(--rule);font:500 20px/1 var(--font);letter-spacing:-.02em;white-space:nowrap}.hdr-title span{display:block;margin-top:4px;font:400 12px/1 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
.hdr .tabs .tab{color:var(--ink-3)}.hdr .tabs .tab:hover{color:var(--ink)}.hdr .tabs .tab.on{color:var(--ink);box-shadow:inset 0 -1px 0 var(--ink)}


.hdr .hdr-sep{background:var(--rule)}.hdr .hdr-out{color:var(--ink-3)}.hdr .hdr-out:hover{color:var(--ink);background:var(--g1)}
.tabs{display:flex;gap:22px;margin:0;justify-self:start;overflow:visible;height:72px;align-items:stretch}
.subnav{background:var(--canvas);border-bottom:1px solid var(--rule)}.subnav-in{max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:0 var(--gutter);display:flex;gap:20px;overflow-x:auto;scrollbar-width:none}.subnav .sub{display:block;padding:10px 0 9px;font:400 13px/1.2 var(--font);color:var(--ink-3);text-decoration:none;white-space:nowrap;box-shadow:inset 0 -1px 0 transparent;transition:color .15s,box-shadow .15s}.subnav .sub:hover{color:var(--ink)}.subnav .sub.on{color:var(--ink);font-weight:500;box-shadow:inset 0 -1px 0 var(--ink)}
.tabs .tab{display:flex;align-items:center;padding:0;font:400 14px/1.2 var(--font);color:var(--ink-3);cursor:pointer;box-shadow:inset 0 -1px 0 transparent;white-space:nowrap;text-decoration:none;transition:color .15s,box-shadow .15s}.tabs .tab.on{font-weight:500}
.hdr-util{display:inline-flex;align-items:center;gap:10px}
/* RT-002: the note beside an operator-only control a reader cannot use (shell.js cmpGate). */
.needs{display:inline-block;margin-left:8px;font-size:13px;color:var(--ink-3);white-space:nowrap;vertical-align:middle}



.hdr-sep{width:1px;height:22px;background:var(--rule-row);margin:0 6px}
.hdr-out{background:none;border:0;padding:8px;line-height:0;color:var(--ink-3);cursor:pointer;border-radius:var(--radius);transition:color .12s,background .12s}.hdr-out svg{display:block}
/* D-173: My account in the masthead, where Sign out was. The person (28px headshot or initials) in a 32px button, the
   section menus' own parts for the menu (.tab-menu, .tab-mi, .tab-sep), opened under the button's right edge. Under
   900px the button hides; the phone menu's Account section carries My account and Sign out. */
.hdr-acct{position:relative;display:inline-flex}
.hdr-me{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink-3);cursor:pointer;transition:color .12s,background .12s,box-shadow .12s}
.hdr-me:hover,.hdr-me[aria-expanded=true]{color:var(--ink);background:var(--paper-deep,var(--g1))}
.hdr-me .avatar{width:28px!important;height:28px!important;font-size:13px!important;font-weight:500}
/* Two classes, so it beats .tab-menu's left, top and width further down: the menu opens under the button's right edge */
.hdr-acct .hdr-me-menu{left:auto;right:0;top:calc(100% + 8px);min-width:264px}
.hdr-me-who{padding:8px 10px 6px}
.hdr-me-who b{display:block;font:500 14px/1.3 var(--font);color:var(--ink)}
.hdr-me-who span{display:block;margin-top:1px;font:400 12px/1.4 var(--font);color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Side gutters (owner 2026-11-16: "copy goes right to the edge"): 48px above 900px, 32px from 641 to 900px, 24px from 480 to 640px, 20px under 480px.
   Every side inset that meets the window edge reads --gutter; nothing hardcodes the number (docs/DESIGN_SYSTEM.md, npm run layout:check "gutter"). */
@media(max-width:900px){:root{--gutter:32px}}@media(max-width:640px){:root{--gutter:24px}}@media(max-width:479px){:root{--gutter:20px}}
@media(max-width:900px){.subnav-in{gap:18px}.hdr{gap:16px;height:56px}.hdr .tabs{justify-self:stretch;min-width:0;overflow-x:auto;scrollbar-width:none;height:56px}.hdr-logo img{width:112px}.hdr-title{display:none}}
/* Page primitives shared by the producer tools */
h1{font:500 44px/1 var(--font);letter-spacing:-0.03em;margin:40px 0 8px}
.lede{font:400 15px/1.45 var(--font);color:var(--ink-2);margin:0 0 22px;max-width:62ch}
label{display:block;font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin:14px 0 4px}
input,select,textarea{width:100%;font:400 14px/1.45 var(--font);color:var(--ink);background:var(--canvas);border:1px solid var(--rule-strong);border-radius:var(--radius);padding:6px 10px;min-height:32px}
textarea{min-height:150px;resize:vertical}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ink)}
.hint{font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3);margin-top:4px}
.btn{margin-top:18px;height:32px;padding:0 14px;border:1px solid var(--ink);border-radius:var(--radius);background:var(--ink);color:#fff;font:500 13px/1 var(--font);cursor:pointer;transition:background .15s}.btn:hover{background:var(--g5)}.btn:disabled{opacity:.4;cursor:default}
.btn.quiet{background:#fff;border-color:var(--rule-strong);color:var(--ink);margin-left:8px}.btn.quiet:hover{background:var(--g1)}
.wait{display:flex;align-items:center;gap:10px;color:var(--ink-2);margin:12px 0}.spin{width:10px;height:10px;border-radius:50%;border:2px solid var(--rule-strong);border-top-color:var(--ink);animation:sp .8s linear infinite}@keyframes sp{to{transform:rotate(360deg)}}
.clock{margin-left:auto;font:400 var(--type-12)/1 var(--font-mono);color:var(--ink-3)}
.meta{font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3);margin-top:16px}
.err{color:var(--negative);margin:12px 0}
/* The sign-in card (UI-049), drawn like the CMP Plus emails: the real CMP lockup beside the product name over a thin
   rule, then a large heading, the fields and one black button, as a white card on the grey canvas. The header is drawn
   here, so every page's card carries it without its own markup. */
/* Only while a page is showing the card in #app. The dashboard keeps its card in a hidden overlay with its own
   background, so a looser rule would turn the whole dashboard grey (it did, for an hour on 2026-11-10). */
body:has(#app>.login){background:var(--g1)}
.login{max-width:440px;margin:96px auto;padding:0 0 40px;border:0;border-radius:12px;background:var(--canvas);overflow:hidden}
.login::before{content:"CMP Plus";display:block;box-sizing:content-box;height:47px;margin:0 0 40px;padding:28px 40px 26px 205px;border-bottom:1px solid var(--g2);background:url(/cmp-logo.svg) 40px 28px/132px 47px no-repeat,linear-gradient(var(--g2),var(--g2)) 188px 28px/1px 47px no-repeat;font:500 16px/47px var(--font);letter-spacing:-.02em;color:var(--ink);white-space:nowrap}
.login>*{margin-left:40px;margin-right:40px}
.login h2{font:500 32px/1.1 var(--font);letter-spacing:-.03em;margin:0 40px 12px}
.login p{margin-top:0;margin-bottom:0;font-size:15px;line-height:1.5;color:var(--ink-2)}
.login form{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:24px}
.login form input{width:100%;min-width:0;height:44px;padding:0 14px;font-size:15px;border-radius:var(--radius)}
.login form .btn{height:46px;margin:8px 0 0!important;padding:0 26px;font-size:16px;letter-spacing:-.01em}
.login .hint{margin-top:16px!important;font-size:13px}
.login .err,.login #login-fail{margin-top:14px}
.login a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule-strong);text-decoration-thickness:1px;text-underline-offset:3px}.login a:hover{text-decoration-color:var(--ink)}
/* Under a page's masthead the logo is already on screen, so the card drops its own header. */
#mast:not(:empty)~#app .login{padding-top:40px}#mast:not(:empty)~#app .login::before{display:none}
@media(max-width:520px){.login{margin:24px 16px}.login::before{height:41px;margin-bottom:32px;padding:22px 24px 20px 173px;background-position:24px 22px,156px 22px;background-size:116px 41px,1px 41px;font-size:16px;line-height:41px}.login>*{margin-left:24px;margin-right:24px}.login h2{margin:0 24px 12px;font-size:28px}}

/* ---- Tool page grammar (from the session evaluator). One column; sections as a left rail and a content column;
   evidence as a ledger that wraps; tables plain; the one accent is the yellow button. ---- */
.page{max-width:calc(1200px + 2*var(--gutter))}
.h{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-top:26px}
.h h1{margin:0}.h .lede{margin:6px 0 0}
.band{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:0 24px;align-items:end;border-top:1px solid var(--rule-section);padding-top:14px;margin-top:22px}
.band label{margin:0 0 4px}.band .hint{grid-column:1/-1}
@media(max-width:900px){.band{grid-template-columns:1fr}}
.act{display:flex;align-items:center;gap:14px;margin-top:16px;flex-wrap:wrap}.act .btn{margin:0}.act .hint{margin:0;flex:1;min-width:260px}
.prog{display:flex;align-items:center;gap:12px;margin:22px 0 8px;color:var(--ink-2)}.prog .bar{flex:1;height:3px;background:var(--rule-row);position:relative;overflow:hidden}.prog .bar i{position:absolute;left:0;top:0;bottom:0;width:30%;background:var(--ink);animation:slide 1.4s ease-in-out infinite}@keyframes slide{0%{left:-30%}100%{left:100%}}
.prog .clock{margin-left:0}
.board{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 36px;margin:18px 0 6px}
.board .cell{display:block;padding:14px 0 16px;border-top:1px solid var(--rule-row);text-decoration:none;color:inherit}
.board .n{font:500 var(--type-32)/1 var(--font-body);letter-spacing:-0.03em;font-variant-numeric:tabular-nums}.board .n small{font:400 var(--type-12)/1 var(--font-mono);color:var(--ink-3);margin-left:6px;letter-spacing:0}
.board .l{font:500 var(--type-13)/1.3 var(--font-body);margin-top:10px}.board .v{font:400 var(--type-13)/1.5 var(--font-body);color:var(--ink-2);margin-top:4px}
.read{border-top:1px solid var(--rule-section);padding:20px 0 26px;display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:0 40px}
.read.strong{border-top:2px solid var(--rule-structural)}
@media(max-width:900px){.read{grid-template-columns:1fr}}
.read h3{font:500 var(--type-16)/1.2 var(--font-body);letter-spacing:-0.01em;margin:0}
.read .k{font:400 var(--type-12)/1 var(--font-body);color:var(--ink-3);margin-bottom:8px}
.read .score{font:500 var(--type-32)/1 var(--font-body);letter-spacing:-0.03em;margin-top:10px;font-variant-numeric:tabular-nums}.read .score small{font:400 var(--type-12)/1 var(--font-mono);color:var(--ink-3);margin-left:6px;letter-spacing:0}
.read .how{font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3);margin-top:10px;max-width:34ch}
.read .rail-act{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:14px}.read .rail-act .btn{margin:0}
.read .sum{font:400 var(--type-15)/1.5 var(--font-body);color:var(--ink);margin:0 0 12px}
.ev{margin:0;padding:0;list-style:none}.ev li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,38%);gap:4px 18px;padding:8px 0;border-top:1px solid var(--rule-row);font-size:var(--type-13);line-height:1.45}
.ev li .n{font-family:var(--font-mono);color:var(--ink);overflow-wrap:anywhere}.ev li .s{display:block;font:400 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin-top:2px;overflow-wrap:anywhere}
.ev-h{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin:14px 0 2px}
.gaps{margin:12px 0 0;padding:0;list-style:none}.gaps li{position:relative;padding:4px 0 4px 14px;font:400 var(--type-13)/1.5 var(--font-body);color:var(--ink-2)}.gaps li::before{content:'';position:absolute;left:0;top:12px;width:6px;height:1px;background:var(--ink-3)}
.gaps-h{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin:14px 0 0}
.unv{font:400 var(--type-12)/1.5 var(--font-body);color:var(--negative);margin-top:10px}
table.t{width:100%;border-collapse:collapse;margin-top:6px}table.t th,table.t td{padding:7px 12px 7px 0;text-align:left;border-top:1px solid var(--rule-row);vertical-align:top;font-size:var(--type-13);line-height:1.45}table.t th{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);border-top:0;padding-top:0}table.t td.num,table.t th.num{text-align:right;font-family:var(--font-mono);white-space:nowrap}
table.t td.eff{font-family:var(--font-mono);text-align:right;white-space:nowrap}.eff.up{color:var(--diff-up)}.eff.down{color:var(--diff-down)}
.tag{display:inline-block;font:500 12px/1 var(--font);color:var(--ink-2);border:1px solid var(--rule-strong);border-radius:6px;padding:5px 8px;margin:0 6px 6px 0}.tag.p{border-color:var(--ink);color:var(--ink)}
.x{background:none;border:0;color:var(--ink-3);cursor:pointer;font:400 var(--type-12)/1 var(--font-body);text-decoration:underline;text-underline-offset:3px;padding:4px 0}.x:hover{color:var(--ink)}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px 28px}
.dg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px}@media(max-width:760px){.dg{grid-template-columns:1fr}}
.dg .k{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin:0 0 4px;padding-top:8px;border-top:1px solid var(--rule-row)}.dg p{margin:0;font-size:var(--type-13);line-height:1.5;color:var(--ink-2)}
.edit-ti{width:100%;font:500 var(--type-16)/1.25 var(--font-body);letter-spacing:-0.01em;border:1px solid transparent;padding:2px 6px;margin:-2px -6px;background:transparent}.edit-ti:hover{border-color:var(--rule-row)}.edit-ti:focus{border-color:var(--rule-section);background:var(--canvas)}
.edit-p{width:100%;font:400 var(--type-15)/1.5 var(--font-body);color:var(--ink-2);border:1px solid transparent;padding:4px 6px;margin:-4px -6px;background:transparent;min-height:70px;resize:vertical}.edit-p:hover{border-color:var(--rule-row)}.edit-p:focus{border-color:var(--rule-section);background:var(--canvas);color:var(--ink)}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:8px 14px;font:400 var(--type-13)/1 var(--font-body);border-radius:var(--radius);opacity:0;transition:opacity .2s;pointer-events:none;z-index:99}.toast.on{opacity:1}.toast.act{display:flex;align-items:center;gap:8px;padding:0 4px 0 14px;pointer-events:auto}.toast.act span{padding:8px 0}.toast .toast-act{height:32px;padding:0 10px;border:0;background:none;color:#fff;font:600 var(--type-13)/1 var(--font-body);text-decoration:underline;text-underline-offset:3px;cursor:pointer;border-radius:var(--radius)}.toast .toast-act:focus-visible{outline:2px solid #fff;outline-offset:-4px}
/* NEWS-003: a toast with an action keeps its text and the action on one row, inside the page gutters at phone width. */
.toast.act{width:max-content;max-width:calc(100vw - 2 * var(--gutter));flex-wrap:nowrap}.toast.act span{line-height:1.35;min-width:0}.toast .toast-act{flex:none}
@media(max-width:600px){.toast.act{left:var(--gutter);right:var(--gutter);width:auto;transform:none;justify-content:space-between}}
.foot{margin-top:18px;padding-top:12px;border-top:1px solid var(--rule-row)}

/* Form grammar for the tool pages: a bordered panel, a 12-column grid, labels above fields, one action row. */
.panel{border:1px solid var(--rule-row);padding:18px 20px;margin-top:18px}.panel+.panel{margin-top:14px}
.form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px 18px;align-items:end}.form>*{min-width:0}
.c2{grid-column:span 2}.c3{grid-column:span 3}.c4{grid-column:span 4}.c5{grid-column:span 5}.c6{grid-column:span 6}.c8{grid-column:span 8}.c9{grid-column:span 9}.c12{grid-column:span 12}
.form label{margin:0 0 6px}.form .hint{grid-column:1/-1;margin:0}
.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.actions .btn{margin:0}.actions .hint{margin:0;flex:1;min-width:240px}
.ptitle{font:500 var(--type-15)/1.3 var(--font-body);margin:0 0 12px;color:var(--ink)}.ptitle small{font-weight:400;color:var(--ink-3);margin-left:8px}
:where(table>thead>tr)>:where(th,td){background:var(--table-header);color:var(--table-header-ink)}
:where(table>tbody){background:var(--sheet)}
table.grid{width:100%;border-collapse:collapse}table.grid th{text-align:left;font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);padding:6px 12px 6px 0;border-bottom:1px solid var(--rule-section)}table.grid td{padding:8px 12px 8px 0;border-bottom:1px solid var(--rule-row);vertical-align:middle;font-size:var(--type-13)}table.grid td.num,table.grid th.num{text-align:right;font-variant-numeric:tabular-nums}table.grid td input,table.grid td select{width:100%;padding:6px 8px}table.grid td.w80{width:80px}table.grid td.w110{width:110px}table.grid td.w160{width:160px}
/* The same inset as table.data (the overview): copy never runs to a table's edge. */
table.grid th:first-child,table.grid td:first-child{padding-left:12px}table.grid th:last-child,table.grid td:last-child{padding-right:16px}
@media(max-width:900px){.c2,.c3,.c4,.c5,.c6,.c8,.c9{grid-column:span 12}}

/* Session modal (OUT-002): one session, its copy and its check, opened from the scorecard or the outline. */
.sm-scrim{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:60;display:flex;align-items:flex-start;justify-content:center;padding:0 16px 40px;overflow-y:auto}
.sm{background:var(--canvas);width:min(920px,100%);border:1px solid var(--rule-strong);border-radius:12px;box-shadow:var(--shadow-overlay);position:relative;margin:40px 0 0}
.sm-hd{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;padding:18px 22px 14px;border-bottom:1px solid var(--rule-section)}
.sm-hd .kind{font:400 var(--type-12)/1.4 var(--font-body);color:var(--ink-3)}.sm-hd h2{font:500 var(--type-24)/1.15 var(--font-body);letter-spacing:-0.02em;margin:4px 0 0}.sm-hd .st{font:400 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin-top:6px}.sm-hd .st.changed{color:var(--caution)}
.sm-nav{display:flex;align-items:flex-start;gap:4px}.sm-nav button{background:none;border:1px solid var(--rule-row);border-radius:var(--radius);width:32px;height:32px;font:400 16px/1 var(--font-body);color:var(--ink-2);cursor:pointer}.sm-nav button:hover{border-color:var(--ink);color:var(--ink)}.sm-nav button:disabled{opacity:.35;cursor:default}
.sm-bd{padding:6px 22px 18px}
.sm .verdict{font:400 var(--type-15)/1.5 var(--font-body);color:var(--ink);margin:14px 0 0;max-width:76ch}.sm .verdict .w{color:var(--negative)}
.sm .board{margin:10px 0 0;gap:0 28px}.sm .board .n{font-size:var(--type-24)}
.grade{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.grade b{font-weight:500;color:var(--ink)}.grade small{font:400 var(--type-12)/1 var(--font-mono);color:var(--ink-3)}.grade.weak b{color:var(--negative)}.grade.none{color:var(--ink-3)}
.sm-sec{border-top:1px solid var(--rule-row);padding:14px 0 4px;display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:0 28px}@media(max-width:760px){.sm-sec{grid-template-columns:1fr}}
.sm-sec h3{font:500 var(--type-13)/1.3 var(--font-body);margin:0}.sm-sec .how{font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3);margin:4px 0 0;max-width:30ch}
.sm-sec .sum{font:400 var(--type-13)/1.55 var(--font-body);color:var(--ink-2);margin:0 0 8px}.sm-sec .sum b{color:var(--ink);font-weight:500}
.fixes{margin:0;padding:0;list-style:none}.fixes li{padding:6px 0;border-top:1px solid var(--rule-row);font:500 var(--type-13)/1.45 var(--font-body)}.fixes li:first-child{border-top:0;padding-top:0}.fixes li small{display:block;font:400 var(--type-12)/1.45 var(--font-body);color:var(--ink-3)}
.cmp2{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}@media(max-width:760px){.cmp2{grid-template-columns:1fr}}.cmp2 .col-h{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin:0 0 4px}.cmp2 h4{font:500 var(--type-15)/1.3 var(--font-body);margin:0 0 6px}.cmp2 p{font:400 var(--type-13)/1.55 var(--font-body);color:var(--ink-2);margin:0}
.sm-abs{font:400 var(--type-13)/1.55 var(--font-body);color:var(--ink-2);margin:0;max-width:76ch;white-space:pre-line}
.sm-ft{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 22px 18px;border-top:1px solid var(--rule-section)}.sm-ft .btn{margin:0}.sm-ft .meta{margin:0;flex:1;min-width:200px}.sm-ft input{width:180px}
.sm-x{position:absolute;top:10px;right:10px;background:none;border:0;font:400 20px/1 var(--font-body);color:var(--ink-3);cursor:pointer;padding:6px 8px}.sm-x:hover{color:var(--ink)}
body.sm-open{overflow:hidden}
/* Score bar: a word and a number with a thin bar under them. */
.sb{display:inline-block;min-width:88px}.sb .grade{display:flex;justify-content:space-between}.sb i{display:block;height:3px;background:var(--rule-row);margin-top:4px;position:relative}.sb i b{position:absolute;left:0;top:0;bottom:0;background:var(--ink)}.sb.weak i b{background:var(--negative)}
/* Schedule: a day's sessions by start time, as clickable chips. */
.sched{margin-top:12px}.sched .srow{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 14px;padding:8px 0;border-top:1px solid var(--rule-row)}.sched .srow.brk{padding:5px 0}.sched .stime{font:400 var(--type-13)/1.5 var(--font);font-variant-numeric:tabular-nums;color:var(--ink-3)}
.sched .chips{display:flex;flex-wrap:wrap;gap:6px}.chip{display:inline-flex;flex-direction:column;gap:2px;max-width:260px;min-width:120px;text-align:left;border:1px solid var(--rule-row);border-radius:var(--radius);padding:6px 9px;background:var(--canvas);font:400 var(--type-12)/1.35 var(--font-body);color:var(--ink);cursor:pointer}
.chip:hover{border-color:var(--ink)}.chip .t{font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chip .k{color:var(--ink-3)}.chip .k .weak{color:var(--negative)}
.chip.open{border-style:dashed;color:var(--ink-3);cursor:default}.chip.open:hover{border-color:var(--rule-row)}.chip.ms{border-color:var(--rule-section)}
.sched .brk .chips{font:400 var(--type-12)/1.6 var(--font-body);color:var(--ink-3)}
.sched .dayh{display:flex;justify-content:space-between;align-items:baseline;margin-top:18px;padding-bottom:6px;border-bottom:1px solid var(--rule-section)}.sched .dayh h4{font:500 var(--type-15)/1.3 var(--font-body);margin:0}.sched .dayh span{font:400 var(--type-12)/1.4 var(--font-body);color:var(--ink-3)}
/* Filter strip: a row of small toggles. */
.filt{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;margin-top:14px}.filt .g{display:inline-flex;align-items:center;gap:4px}.filt .g span{font:400 var(--type-12)/1 var(--font-body);color:var(--ink-3);margin-right:4px}.filt button{background:#fff;border:1px solid var(--rule-strong);border-radius:6px;height:28px;padding:0 10px;font:500 12px/1 var(--font);color:var(--ink-2);cursor:pointer}.filt button:hover{border-color:var(--ink);color:var(--ink)}.filt button.on{background:var(--ink);border-color:var(--ink);color:var(--canvas)}
/* Session modal, second pass (2026-09-08): a scoreboard first, then three tabs. */
.sm-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:baseline}.sm-status{font:400 var(--type-12)/1 var(--font-body);color:var(--ink-3);border:1px solid var(--rule-row);border-radius:999px;padding:5px 9px;white-space:nowrap}.sm-status.changed{color:var(--caution);border-color:var(--caution)}
.sm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px;padding:16px 22px 0}@media(max-width:760px){.sm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tile{border-top:1px solid var(--rule-row);padding:10px 0 12px}.tile .lbl{font:500 var(--type-12)/1.3 var(--font-body);color:var(--ink-3)}.tile .word{font:500 var(--type-24)/1.1 var(--font-body);letter-spacing:-0.02em;margin-top:6px}.tile .word small{font:400 var(--type-12)/1 var(--font-mono);color:var(--ink-3);margin-left:6px;letter-spacing:0}.tile.weak .word{color:var(--negative)}.tile.none .word{color:var(--ink-3);font-size:var(--type-16)}.tile .mean{font:400 var(--type-12)/1.45 var(--font-body);color:var(--ink-2);margin-top:4px}
.sm .verdict{padding:0 22px;margin:8px 0 0}
.sm-tabs{display:flex;gap:0;margin:16px 22px 0;border-bottom:1px solid var(--rule-section)}.sm-tabs button{background:none;border:0;padding:10px 0;margin-right:24px;font:500 var(--type-13)/1.2 var(--font-body);color:var(--ink-3);cursor:pointer;box-shadow:inset 0 -2px 0 transparent}.sm-tabs button:hover{color:var(--ink)}.sm-tabs button.on{color:var(--ink);box-shadow:inset 0 -1px 0 var(--ink)}
.sm-pane{padding:16px 22px 6px}
.todo{margin:0;padding:0;list-style:none;counter-reset:fx}.todo li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:0 10px;padding:10px 0;border-top:1px solid var(--rule-row);counter-increment:fx}.todo li:first-child{border-top:0;padding-top:0}.todo li::before{content:counter(fx);font:400 var(--type-13)/1.45 var(--font-mono);color:var(--ink-3)}.todo li b{display:block;font:500 var(--type-15)/1.4 var(--font-body);color:var(--ink)}.todo li small{display:block;font:400 var(--type-12)/1.45 var(--font-body);color:var(--ink-3);margin-top:2px}
.sugg{margin-top:18px;padding:14px 16px;border:1px solid var(--rule-section)}.sugg .lbl{font:500 var(--type-12)/1.3 var(--font-body);color:var(--ink-3)}.sugg h4{font:500 var(--type-16)/1.3 var(--font-body);letter-spacing:-0.01em;margin:6px 0 4px}.sugg p{font:400 var(--type-13)/1.5 var(--font-body);color:var(--ink-2);margin:0}
.rd{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0 18px;padding:12px 0;border-top:1px solid var(--rule-row)}.rd:first-child{border-top:0;padding-top:0}@media(max-width:760px){.rd{grid-template-columns:1fr}}
.rd .k{font:500 var(--type-13)/1.4 var(--font-body)}.rd .k small{display:block;font:400 var(--type-12)/1.4 var(--font-mono);color:var(--ink-3);margin-top:2px}.rd .k.weak{color:var(--negative)}.rd p{margin:0;font:400 var(--type-13)/1.55 var(--font-body);color:var(--ink-2);max-width:70ch}.rd p+p{margin-top:6px}.rd p b{color:var(--ink);font-weight:500}
/* Schedule as the editing surface (outline step 3): chips with a leave-out or remove control, open sessions with a format pick. */
.chip{position:relative;padding-right:26px}.chip .rm{position:absolute;top:4px;right:4px;background:none;border:0;font:400 14px/1 var(--font-body);color:var(--ink-3);cursor:pointer;padding:2px 4px}.chip .rm:hover{color:var(--ink)}
.chip .t.lk{background:none;border:0;padding:0;margin:0;text-align:left;font:inherit;font-weight:500;color:inherit;cursor:pointer;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chip .t.lk:hover{text-decoration:underline;text-decoration-color:var(--rule-section);text-underline-offset:3px}
.chip.out{opacity:.45;border-style:dotted}.chip.out .t{text-decoration:line-through}
.chip .fsel{width:auto;font:400 var(--type-12)/1.2 var(--font-body);color:var(--ink-2);padding:2px 22px 2px 4px;border-color:var(--rule-row);background:transparent}
.sched .addc{display:inline-flex;gap:10px;align-items:center;padding:6px 4px}.sched .addrow{border-top:0;padding:2px 0 8px}.sched .tin{width:88px;padding:3px 6px;font:400 var(--type-13)/1.4 var(--font);font-variant-numeric:tabular-nums}

/* Modal links follow the site link style (the modal sits outside .wrap); the wording table. */
.sm a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--rule-section);text-decoration-thickness:1px;text-underline-offset:3px}.sm a:hover{text-decoration-color:var(--ink)}
.wd-h{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin:16px 0 4px}table.grid.wd td b{font-weight:500;color:var(--ink)}table.grid.wd td{width:50%;vertical-align:top}.mute{color:var(--ink-3)}

/* Modal header, third pass: status and position on one small line, the title, then labeled facts; previous, next and close together. */
.sm-hd{grid-template-columns:minmax(0,1fr) auto;align-items:start}.sm-hd .sm-meta{justify-content:flex-start;gap:12px;margin-bottom:8px}.sm-pos{font:400 var(--type-12)/1 var(--font-body);color:var(--ink-3)}
.sm-nav .sm-close{margin-left:8px;font-size:16px}
.sm-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 22px;margin:12px 0 0}.sm-facts div{min-width:0}.sm-facts dt{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3)}.sm-facts dd{margin:2px 0 0;font:400 var(--type-13)/1.45 var(--font-body);color:var(--ink)}

/* Orientation bar: frozen under the top of the viewport once the page head is gone; page, scope, sections. */
/* Fixed, not sticky, so showing it never shifts the page under the reader. */
.stick{position:fixed;top:0;left:0;right:0;z-index:50;background:var(--canvas);border-bottom:1px solid var(--rule-section);transform:translateY(-100%);opacity:0;transition:transform .15s,opacity .15s;pointer-events:none}
.stick.on{transform:none;opacity:1;pointer-events:auto}
.stick-in{max-width:1120px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:28px;min-height:44px}
.stick-id{display:flex;align-items:baseline;gap:10px;white-space:nowrap;font:400 var(--type-13)/1.2 var(--font-body);color:var(--ink-2)}.stick-id b{font-weight:500;color:var(--ink)}
.stick-nav{display:flex;gap:22px;overflow-x:auto;scrollbar-width:none;margin-left:auto}.stick-nav::-webkit-scrollbar{display:none}
.stick-nav a{font:500 var(--type-13)/1.2 var(--font-body);color:var(--ink-3);text-decoration:none;padding:14px 0 12px;box-shadow:inset 0 -2px 0 transparent;white-space:nowrap}.stick-nav a:hover{color:var(--ink)}.stick-nav a.on{color:var(--ink);box-shadow:inset 0 -1px 0 var(--ink)}
@media(max-width:900px){.stick-in{padding:0 var(--gutter);gap:14px}.stick-id span{display:none}}
/* Type drift fixes (2026-09-08): nothing falls to a browser default size; glyph buttons on the scale. */
small{font-size:var(--type-12)}.ptitle small{font-size:var(--type-12)}
.sm-nav button{font-size:var(--type-15)}.sm-nav .sm-close{font-size:var(--type-16)}.chip .rm{font-size:var(--type-13)}

/* A session title that opens the modal, wherever it appears. */
.lk{background:none;border:0;padding:0;margin:0;font:inherit;font-weight:500;color:var(--ink);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.lk:hover{text-decoration-color:var(--rule-section)}

/* Path to Strong, in the modal: one block per reading below its bar. */
.path{margin:0 0 14px}.path-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding-bottom:6px;border-bottom:1px solid var(--rule-section);margin-bottom:6px}.path-k{font:500 var(--type-13)/1.3 var(--font-body)}.path-v{font:400 var(--type-12)/1.3 var(--font-body);color:var(--ink-3)}.path-v b{font-weight:500;color:var(--ink);font-family:var(--font-mono)}.path-v b.w{color:var(--negative)}

/* Agenda freshness line (SYNC-001): the hint's type, the site's quiet button */
.sync{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:10px 0 0;font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3)}.sync b{font-weight:500;color:var(--ink-2)}.sync .btn.quiet{margin:0;min-height:30px;padding:4px 12px;font:500 var(--type-12)/1 var(--font-body)}.sync-b{display:inline-flex;align-items:center;gap:8px;color:var(--ink-2)}.sync-m.ok{color:var(--ink-2)}.sync-m.err{color:var(--negative)}

/* Scope bar (TITLE-006): the dashboard's picker grammar for tool pages. One line of scope items; each opens a popover of
   pills with counts; multi-select everywhere; roll-ups for a year, a series or every event. Yellow marks selection only. */
.sb{display:flex;align-items:center;justify-content:space-between;gap:8px 24px;padding:14px 0 12px;border-top:1px solid var(--rule-section);border-bottom:1px solid var(--rule-section);margin-top:22px;flex-wrap:wrap}
.sb-main{display:flex;align-items:center;flex-wrap:wrap;gap:0 2px;flex:1 1 auto;min-width:0;margin-left:-10px}
.sb-item{position:relative;display:flex;flex-direction:column;align-items:flex-start}
.sb-btn{background:none;border:0;border-radius:var(--radius);padding:8px 10px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:400 var(--type-13)/1.2 var(--font-body);color:var(--ink);max-width:min(420px,60vw)}
.sb-btn:hover,.sb-btn.on{background:var(--surface-muted)}
.sb-l{color:var(--ink-3)}.sb-v{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-ch{color:var(--ink-3);font-size:var(--type-12)}
.sb-dot{color:var(--rule-section);padding:0 2px}.sb-join{color:var(--ink-3);padding-left:6px;font:400 var(--type-13)/1.2 var(--font-body)}
.sb-badge{display:inline-block;min-width:16px;padding:0 5px;margin-left:6px;border-radius:999px;background:var(--ink);color:#fff;font:500 12px/16px var(--font);text-align:center}
.sb-reset{background:none;border:0;color:var(--ink-3);font:400 var(--type-12)/1 var(--font-body);padding:6px 8px;margin-left:6px;cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}.sb-reset:hover{color:var(--ink)}
.sb-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:80;background:var(--canvas);border:1px solid var(--rule-strong);border-radius:10px;box-shadow:var(--shadow-overlay);padding:6px 18px 16px;min-width:340px;max-width:min(760px,92vw);max-height:min(62vh,640px);overflow:auto;border-radius:var(--radius)}
.sb-item.right .sb-pop{left:auto;right:0}
.sb-g{margin-top:12px}.sb-h{font:500 var(--type-12)/1.4 var(--font-body);color:var(--ink-3);margin-bottom:6px;display:flex;flex-wrap:wrap;gap:4px 10px}.sb-h span{font-weight:400}
.gf-pills{display:flex;flex-wrap:wrap;gap:5px}
.gf-pill{font:500 var(--type-12)/1.2 var(--font-body);padding:5px 10px;border:1px solid var(--rule-row);color:var(--ink-2);cursor:pointer;background:transparent;transition:all .12s;border-radius:var(--radius);white-space:nowrap}
.gf-pill:hover{border-color:var(--rule-section);color:var(--ink);background:var(--surface-sunken)}
.gf-pill.on{border-color:var(--ink);color:#fff;background:var(--ink);font-weight:500}
.gf-pill .ct{font-weight:400;opacity:.6;font-size:12px;margin-left:4px}.gf-pill.on .ct{color:#fff;opacity:.7}
.gf-hint{font-size:var(--type-12);color:var(--ink-3)}
.sb-count{flex:0 0 auto;display:flex;align-items:baseline;gap:8px;white-space:nowrap}.sb-big{font:500 var(--type-16)/1 var(--font-body);letter-spacing:-0.01em;color:var(--ink);font-variant-numeric:tabular-nums}.sb-sub{font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3)}
.sb-search{display:inline-flex;align-items:center}.sb-search input{width:200px;padding:6px 10px;font:400 var(--type-13)/1.3 var(--font-body);border:1px solid var(--rule-row);border-radius:var(--radius);background:var(--canvas);color:var(--ink)}
@media(max-width:700px){.sb-pop{position:fixed;left:16px;right:16px;top:64px;bottom:16px;max-width:none;min-width:0;max-height:none;overflow:auto}}

/* "Check against" (BASIS-001): a scope item with its one-line summary */
.basis{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:10px 0 0 -10px}.basis .sb-btn{border:0}.basis-sum{font:400 var(--type-12)/1.5 var(--font-body);color:var(--ink-3)}
/* 641px and up: the picker's own 10px padding hangs in the gutter, the row does not, so a summary that wraps under the picker starts on the gutter
   (it sat 10px outside it: layout check, gutter, One more session at 641px). */
@media(min-width:641px){.basis{margin-left:0}.basis:not(.basis-st)>.sb-item:first-child{margin-left:-10px}}

/* ---- DES-001 primitives (docs/DESIGN_SYSTEM.md). ---- */
.kicker{margin:0 0 6px;font:400 13px/1 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
.title-row{display:flex;align-items:flex-end;gap:24px;padding:40px 0 0}.title-row h1{margin:0}
.title-row .sub{margin:0 0 4px auto;max-width:360px;font-size:14px;line-height:1.45;color:var(--ink-2);text-align:right}.title-row .sub b{display:block;color:var(--ink)}
.dot{display:inline-block;width:8px;height:8px;border:1px solid var(--ink);border-radius:50%;background:var(--signal);vertical-align:1px;margin-left:6px}
/* UI-047: one toolbar boundary; controls and spacing carry the grouping. */
.tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px;padding:14px 0;border-bottom:1px solid var(--rule)}
.tools .r{margin-left:auto;font-size:13px;color:var(--ink-3)}
.seg{display:inline-flex;border:1px solid var(--rule-strong);border-radius:var(--radius);overflow:hidden}
.seg button{height:30px;padding:0 13px;border:0;background:#fff;font:500 13px/1 var(--font);color:var(--ink);cursor:pointer;white-space:nowrap;transition:background .15s}
.seg button+button{border-left:1px solid var(--rule-strong)}.seg button:hover{background:var(--g1)}.seg button[aria-pressed=true],.seg button.on{background:var(--ink);color:#fff}
select.sel,button.sel,a.sel,span.sel{width:auto;height:32px;padding:0 30px 0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center;font:500 13px/1 var(--font);cursor:pointer;appearance:none;-webkit-appearance:none}
input.search{width:240px;height:32px;padding:0 10px 0 30px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 18 18' fill='none' stroke='%23474747' stroke-width='1.6'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M12.5 12.5 16 16' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 10px center;font:400 14px/1 var(--font)}
input.search:focus{outline:none;border-color:var(--ink)}input.search::placeholder{color:var(--ink-3)}
.kpis{margin:0;padding:22px 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;border-bottom:1px solid var(--rule)}
.kpis>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.kpis dt{font-size:13px;color:var(--ink-3)}.kpis dd{margin:0;font:500 26px/1 var(--font);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.kpis small{font-size:13px;color:var(--ink-3)}.kpis .up{color:var(--positive)}.kpis .down{color:var(--negative)}
.open{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;padding:48px 0 40px;border-bottom:1px solid var(--rule)}
.open .k{margin:0 0 14px;font-size:13px;color:var(--ink-3)}
.big{display:flex;align-items:baseline;gap:16px;margin:0}.big .n{font:500 72px/1 var(--font);letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.big .v{font-size:15px;color:var(--ink-2);max-width:24ch;line-height:1.35}.big .v b{color:var(--ink)}
.axis{position:relative;margin-top:28px;height:14px;font:400 12px/1 var(--mono);color:var(--ink-3)}.axis em{position:absolute;top:0;font-style:normal;transform:translateX(-50%)}.axis u{position:absolute;top:14px;height:1px;left:0;right:0;background:var(--rule-strong);text-decoration:none}
.rows{margin:0;padding:0;list-style:none}.rows li{display:grid;grid-template-columns:150px minmax(0,1fr) 92px;gap:0 16px;align-items:center;height:34px;border-top:1px solid var(--rule)}.rows li:first-child{border-top:0}
.rows .lb{font-size:14px;color:var(--ink-2)}.rows li.me .lb{color:var(--ink);font-weight:500}
.rows .rg{font-size:13px;text-align:right;font-variant-numeric:tabular-nums;color:var(--ink-2)}.rows li.me .rg{color:var(--ink);font-weight:500}
.iv{position:relative;display:block;height:16px;width:100%;margin:0}
.iv u{position:absolute;top:0;bottom:0;width:1px;background:var(--chart-guide)}
.iv i{position:absolute;top:7px;height:2px;background:var(--chart-track-subtle);transform-origin:left;transform:scaleX(0);animation:draw .6s var(--ease) forwards}
.iv.me i{top:6px;height:4px;background:var(--chart-ink)}.iv.up i{top:6.5px;height:3px;background:var(--positive)}.iv.down i{top:6.5px;height:3px;background:var(--negative)}
.iv .bd{position:absolute;top:1px;bottom:1px;background:var(--chart-track)}
@keyframes draw{to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.iv i,.pts .bar i{animation:none;transform:none}}
.memo{display:grid;grid-template-columns:180px minmax(0,1fr);gap:56px;margin-top:8px}
.rail{position:sticky;top:18px;align-self:start;padding-top:40px}
.rail ol{margin:0;padding:0;list-style:none;counter-reset:s}
.rail a{display:flex;gap:10px;padding:7px 0 7px 14px;font-size:13px;color:var(--ink-3);text-decoration:none;border-left:1px solid var(--rule);transition:color .15s}
.rail a::before{counter-increment:s;content:counter(s,decimal-leading-zero);font:400 12px/1.6 var(--mono);color:var(--g3)}
.rail a:hover{color:var(--ink)}.rail a.on{color:var(--ink);font-weight:500;border-left-color:var(--ink)}
.rail .prov{margin:20px 0 0;padding:12px 0 0 14px;font-size:12px;line-height:1.5;color:var(--ink-3)}
.doc>section{padding:40px 0 8px}.doc>section+section{border-top:1px solid var(--rule-strong)}
.sh{display:flex;align-items:baseline;gap:14px;margin:0 0 18px}.sh h2{margin:0;font:500 22px/1.15 var(--font);letter-spacing:-.02em}.sh small{font-size:13px;color:var(--ink-3)}.sh .num{font:400 12px/1 var(--mono);color:var(--ink-3)}
.lead{max-width:62ch;margin:0 0 6px;font:400 24px/1.3 var(--font);letter-spacing:-.015em}.lead b{font-weight:500}
.evl{display:inline-block;margin-left:8px;font:400 12px/1 var(--mono);color:var(--ink-3);text-decoration:underline;text-decoration-color:var(--rule-strong);text-underline-offset:3px;cursor:pointer;opacity:0;transition:opacity .15s}
li:hover>.evl,li:hover>*>.evl,tr:hover .evl,p:hover>.evl,.evl:focus-visible{opacity:1}
.mt{font-size:13px;color:var(--ink-3)}.mt b{color:var(--ink-2)}
.three{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:40px;margin:0;padding:0;list-style:none;counter-reset:m}
/* UI-047: numbered takeaways use type and space rather than a rule per column. */
.three li{display:flex;flex-direction:column;gap:10px;padding-top:14px}
.three li::before{counter-increment:m;content:counter(m);font:500 40px/1 var(--font);letter-spacing:-.03em;color:var(--g3)}
.three .c{font:500 16px/1.3 var(--font);letter-spacing:-.01em}.three .e{color:var(--ink-2)}.three .mt{margin-top:auto;padding-top:10px}
.tl{display:grid;grid-template-columns:200px minmax(0,1fr);gap:0 40px}
.tl .when{padding:18px 0;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-3)}
.tl .when b{display:block;font:500 15px/1.3 var(--font);color:var(--ink);letter-spacing:-.01em}
.tl .when i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ink);margin-right:8px;vertical-align:1px}.tl .when.soon i{background:var(--signal);border:1px solid var(--ink)}
.tl .set{padding:18px 0 8px;border-top:1px solid var(--rule)}
.dec{margin:0;padding:0;list-style:none}.dec li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 32px;padding:0 0 18px}
.dec .d{font:500 16px/1.3 var(--font);letter-spacing:-.01em}.dec .r{color:var(--ink-2)}.dec .r b{color:var(--ink)}.dec .mt{grid-column:1/-1}
table.data{width:100%;border-collapse:collapse;font-size:14px}
table.data th{position:sticky;top:0;z-index:2;padding:8px 16px 8px 0;border-bottom:1px solid var(--rule-strong);font:500 12px/1.2 var(--font);color:var(--ink-2);text-align:left;white-space:nowrap}
table.data th:first-child,table.data td:first-child{padding-left:12px}table.data th:first-child{border-top-left-radius:6px}table.data th:last-child{border-top-right-radius:6px}
table.data td{padding:11px 16px 11px 0;border-bottom:1px solid var(--rule);vertical-align:top}
table.data tbody{background:var(--sheet)}
table.data thead th{background:var(--table-header);color:var(--table-header-ink)}
table.data tbody tr:hover td{background:var(--hover)}table.data .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.data td .m{display:block;margin-top:2px;font-size:12px;color:var(--ink-3)}
.pts{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center}.pts .bar{height:6px;background:var(--chart-track);border-radius:3px;overflow:hidden}.pts .bar i{display:block;height:100%;background:var(--chart-ink);border-radius:3px;transform-origin:left;animation:draw .6s var(--ease) forwards}
.dots{display:inline-flex;gap:3px;vertical-align:middle}.dots i{width:6px;height:6px;border-radius:50%;background:var(--chart-track-secondary)}.dots i.on{background:var(--chart-ink)}
.ec{display:flex;gap:14px;font-size:12px;color:var(--ink-3);white-space:nowrap}
.forest{display:grid;grid-template-columns:200px minmax(0,1fr) 92px 48px;gap:0 16px;align-items:start}
/* Stage 4 polish round 1: nothing in the chart is under 13px; a row is one box (one rule, one alignment) so the rule never breaks at a column gap and the label, range and count share a first line. */
.forest .ax{position:relative;height:18px;font:400 13px/18px var(--font);font-variant-numeric:tabular-nums;color:var(--ink-3)}.forest .ax em{position:absolute;top:0;font-style:normal;transform:translateX(-50%)}
.forest .hd{font-size:13px;line-height:18px;color:var(--ink-3);padding-bottom:6px}.forest .hd.r{text-align:right}
.forest .grp{grid-column:1/-1;margin-top:14px;padding:6px 0;border-bottom:1px solid var(--rule);font:500 13px/1.2 var(--font)}.forest .grp small{margin-left:10px;font-weight:400;color:var(--ink-3)}
.forest .row{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:start;border-top:1px solid var(--rule)}
.forest .lb{display:flex;flex-direction:column;justify-content:flex-start;min-height:36px;padding:9px 0 8px;font-size:14px;line-height:18px;color:var(--ink-2)}.forest .lb small{font-size:13px;line-height:18px;color:var(--ink-3)}
.forest .real .lb{color:var(--ink);font-weight:500}
.forest .iv{align-self:stretch;height:auto;min-height:36px}.forest .iv i{top:17px}.forest .iv.me i{top:16px}.forest .iv.up i,.forest .iv.down i{top:16.5px}.forest .iv .bd{top:0;bottom:0}
.forest .rg{display:flex;align-items:flex-start;justify-content:flex-end;gap:.3em;min-height:36px;padding-top:9px;font-size:13px;line-height:18px;font-variant-numeric:tabular-nums;color:var(--ink-2)}.forest .real .rg{color:var(--ink);font-weight:500}
.forest .n{display:flex;align-items:flex-start;justify-content:flex-end;min-height:36px;padding-top:9px;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.forest .row:hover{background:var(--hover)}
.forest .none{grid-column:1/-1;margin:0;padding:0;color:var(--ink-3)}.forest .none .cmp-empty{border-top:0}
.legend{margin:16px 0 0;font-size:13px;color:var(--ink-3)}.legend b{color:var(--ink)}
@media (max-width:1000px){.open{grid-template-columns:1fr;gap:32px}.memo{grid-template-columns:minmax(0,1fr)}.rail{position:static;padding-top:0}.three{grid-template-columns:1fr;gap:20px}.tl{grid-template-columns:1fr}.tl .when{border-top:0;padding-bottom:0}.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.forest{grid-template-columns:minmax(0,1fr) 92px 44px}.forest .iv,.forest .ax{display:none}}
@media (max-width:640px){.open .k .ph{display:none}h1,.title-row h1{font-size:32px}.title-row{flex-wrap:wrap}.title-row .sub{text-align:left;margin-left:0;max-width:none}.big .n{font-size:56px}.dec li{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rows li{grid-template-columns:minmax(0,1fr) 92px}.rows .iv{display:none}}

/* Menus: the native select hides behind an app button; the list is the team dashboard's filter menu. */
.cmenu{position:relative;display:inline-block;max-width:100%;vertical-align:middle}
.cmenu-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0);white-space:nowrap;border:0!important;opacity:0;pointer-events:none}
.cmenu-btn{display:inline-flex;align-items:center;max-width:100%;height:32px;padding:0 30px 0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center;color:var(--ink);font:500 13px/1 var(--font);letter-spacing:-.005em;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;transition:border-color .15s,background .15s}
.cmenu-btn:hover{background-color:var(--g1)}.cmenu-btn[aria-expanded=true]{border-color:var(--ink)}.cmenu-btn:disabled{opacity:.4;cursor:default}
.cmenu-list{position:absolute;z-index:80;top:calc(100% + 6px);left:0;min-width:100%;width:max-content;max-width:min(360px,92vw);max-height:360px;overflow:auto;padding:6px;background:#fff;border:1px solid var(--rule-strong);border-radius:10px;box-shadow:var(--shadow-overlay)}
.cmenu-list.right{left:auto;right:0}.cmenu-list.up{top:auto;bottom:calc(100% + 6px)}
.cmenu-it{display:flex;align-items:flex-start;gap:8px;width:100%;padding:7px 10px 7px 8px;border:0;border-radius:6px;background:none;font:400 14px/1.3 var(--font);color:var(--ink);text-align:left;cursor:pointer;white-space:normal}.cmenu-it svg{margin-top:2px}
.cmenu-it svg{flex:none;width:14px;height:14px;visibility:hidden}.cmenu-it.on svg{visibility:visible}.cmenu-it.on{font-weight:500}
.cmenu-it:hover,.cmenu-it:focus-visible{background:var(--g1);outline:none}.cmenu-it:disabled{color:var(--ink-3);cursor:default}
.cmenu-h{padding:8px 10px 4px;font:400 12px/1 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
.cmenu-h:not(:first-child){margin-top:4px;border-top:1px solid var(--rule)}

/* A range as one unit: a quiet inline token (no axis in prose; the axes live in the opening and the forest). */
.rng,.pair{display:inline-block;margin:0 1px;padding:0 6px;border-radius:4px;background:var(--g1);vertical-align:baseline;white-space:nowrap;font-size:14px;font-weight:500;line-height:1.5;color:var(--ink);font-variant-numeric:tabular-nums;cursor:help}
.rng.q{color:var(--ink-2)}.rng.up{color:var(--positive)}.rng.down{color:var(--negative)}
.lead .rng,.lead .pair{font-size:13px;padding:0 7px;border-radius:5px}
.rng-key{margin:14px 0 0;font-size:13px;line-height:1.7;color:var(--ink-3)}.rng-key .rng{font-size:13px}
.rng-word{border-bottom:1px dotted var(--rule-strong);cursor:help;color:var(--ink-2)}

/* Icon-only controls: a 32px square, thin border, the icon in ink-2 until hover. */
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--rule-strong);border-radius:var(--radius);background:#fff;color:var(--ink-2);cursor:pointer;transition:border-color .15s,background .15s,color .15s;vertical-align:middle}
.icon-btn:hover{border-color:var(--ink);color:var(--ink);background:var(--g1)}.icon-btn:disabled{opacity:.4;cursor:default}
.icon-btn.quiet{border-color:transparent;background:none}.icon-btn.quiet:hover{background:var(--g1);border-color:transparent}
.icon-btn .ic{display:block}

/* Section menus in the masthead: a section with several screens opens a list of them with one line each. */
.tab-g{position:relative;display:flex;align-items:stretch}
.tab-g > .tab{gap:6px;border:0;background:none;padding:0;font:400 14px/1.2 var(--font);color:var(--ink-3);cursor:pointer}.tab-g > .tab svg{color:var(--g3);transition:transform .15s var(--ease)}.tab-g > .tab:hover svg,.tab-g > .tab[aria-expanded=true] svg{color:var(--ink)}.tab-g > .tab[aria-expanded=true] svg{transform:rotate(180deg)}
.tab-menu{position:absolute;z-index:90;top:calc(100% - 8px);left:-10px;min-width:300px;padding:6px;background:#fff;border:1px solid var(--rule-strong);border-radius:10px;box-shadow:var(--shadow-overlay)}
.tab-mi{display:block;padding:8px 10px;border-radius:6px;text-decoration:none;color:var(--ink);transition:background .15s}
.tab-mi b{display:block;font:500 14px/1.3 var(--font)}.tab-mi span{display:block;margin-top:1px;font:400 12px/1.4 var(--font);color:var(--ink-3)}
.tab-mi:hover,.tab-mi:focus-visible{background:var(--g1);outline:none}.tab-mi.on{background:var(--open)}.tab-mi.on b::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--ink);vertical-align:2px}
/* UI-096: the event menu is the long one (eleven pages and Change event), so a menu never runs past the window; a hairline sets the action apart from the pages. */
.tab-menu{max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain}
.tab-sep{height:1px;margin:6px 10px;background:var(--rule)}
/* The event menu in two columns, pages reading down the first and then the second; Change event sits under both. */
.tab-menu-2{column-count:2;column-gap:4px;width:616px;box-sizing:border-box}.tab-menu-2 .tab-mi{break-inside:avoid}.tab-menu-2 .tab-sep,.tab-menu-2 .tab-sep+.tab-mi{column-span:all}
/* UI-096: nothing here for this event yet. The page under the edition bar belongs to another series and stays out of sight. */
body.cmp-nothing .wrap.page:not(#cmp-nothing),body.cmp-nothing #cmp-stick{display:none!important}
#cmp-nothing{padding-top:24px;padding-bottom:48px}
/* An event with nothing for this page: one quiet line under the title on the page band, not an empty white sheet between two rules. */
html body #cmp-nothing.wrap.page{background:transparent;box-shadow:none;border-radius:0;min-height:0;padding-top:8px;padding-bottom:48px}
@media(max-width:640px){html body #cmp-nothing.wrap.page{padding-left:var(--gutter);padding-right:var(--gutter)}}
#cmp-nothing>*{border:0!important;padding-left:0!important}
@media(max-width:900px){.tab-menu{position:fixed;left:16px;right:16px;top:auto;min-width:0}}

/* Phone (DES-001 QA): menus fit inside the viewport; small controls reach 28px; the section menus sit under the masthead.
   UI-078 (phone rule 3): a segmented control stays joined, one border with inner dividers, and never wraps into loose
   boxes; when its options do not fit it scrolls sideways inside the screen (the rules at the end of this file). */
@media(max-width:640px){
  .seg{flex-wrap:nowrap;max-width:100%}
  .tools{gap:8px 10px}
  .cmenu-list{max-width:calc(100vw - 2*var(--gutter))}
  .tag,.gf-pill,.x,.chip .rm,.icon-btn.quiet{min-height:28px}
  .quotes .tag{padding-top:6px;padding-bottom:6px}
}
@media(max-width:900px){.tab-menu{top:60px}}

/* Phone nav: where you are in the row, a menu button, and a sheet of every section and screen. */
.hdr-here,.hdr-menu,.nav-sheet{display:none}
/* The masthead is the frame of its white backing (paper.css #mast::before, inset 0): not pinned between 641 and 900px, it would otherwise be the whole window and paint the grey page band white (Home, CMP Daily at 768px). */
#mast{position:relative;isolation:isolate}
@media(max-width:900px){
  .hdr{grid-template-columns:auto minmax(0,1fr) auto;gap:12px}
  .hdr .tabs{display:none}
  .hdr-here{display:block;min-width:0;font:500 15px/20px var(--font);letter-spacing:-.01em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hdr-here span{display:block;font:400 12px/18px var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3);margin-bottom:0}
  .hdr-menu{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:#fff;color:var(--ink);cursor:pointer}
  .hdr-menu[aria-expanded=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
  .hdr-util .hdr-sep,.hdr-util .hdr-out,.hdr-util .hdr-acct{display:none}
  .hdr{grid-template-columns:auto minmax(0,1fr) auto;gap:14px}
  .nav-sheet{display:block;position:fixed;z-index:95;top:56px;left:0;right:0;bottom:0;background:var(--canvas);overflow:auto;border-top:1px solid var(--rule)}
  .nav-sheet[hidden]{display:none}
  .nav-sheet-in{padding:8px var(--gutter) 40px}
  .ns-sec{padding:14px 0 6px;border-top:1px solid var(--rule)}.ns-sec:first-child{border-top:0}
  .ns-h{margin:0 0 4px;font:400 12px/1.4 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
  .ns-it{display:block;padding:10px 10px;margin:0 -10px;border-radius:8px;text-decoration:none;color:var(--ink)}
  .ns-it b{display:block;font:500 16px/1.3 var(--font);letter-spacing:-.01em}.ns-it span{display:block;margin-top:2px;font:400 13px/1.4 var(--font);color:var(--ink-3)}
  .ns-it.on{background:var(--open)}.ns-it.on b::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--ink);vertical-align:2px}
  body.nav-open{overflow:hidden}
  /* The fixed sheet is inside the masthead's stacking context. Raise the whole context above page
     controls while the menu is open. Keep the compact bar's trigger above the sheet and dialogs above both. */
  body.nav-open #mast{z-index:58}
  body.nav-open #cmp-stick.on{z-index:59}
}
@media(min-width:641px) and (max-width:900px){
  body.nav-open:has(#cmp-stick.on) .nav-sheet{top:var(--stick-h)}
}

/* Sortable column heads (shell.js cmpSort*). A button holds the label; the arrow hangs beside it so the label keeps its column's alignment.
   Rest: the head's own gray. Hover and focus follow the link tokens (ink, a rule that goes solid) and the focus ring. Active: ink with an arrow. */
th.srt>.srt-b{position:relative;display:inline-block;min-height:0;padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:inherit;white-space:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:3px}
th.srt>.srt-b:hover{color:var(--ink);text-decoration-color:var(--rule-strong)}th.srt>.srt-b:hover:active{text-decoration-color:var(--ink)}
th.srt>.srt-b:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:2px}
th.srt>.srt-b i{position:absolute;left:100%;top:50%;width:0;height:0;margin:-2px 0 0 6px;border-left:4px solid transparent;border-right:4px solid transparent}
/* A figure column is right-aligned, so its arrow sits before the label and never meets the next column. */
th.srt.num>.srt-b i,th.srt.n>.srt-b i,th.srt.r>.srt-b i{left:auto;right:100%;margin:-2px 6px 0 0}
th.srt[aria-sort=ascending]>.srt-b,th.srt[aria-sort=descending]>.srt-b{color:var(--ink)}
th.srt[aria-sort=ascending]>.srt-b i{border-bottom:4px solid var(--ink)}th.srt[aria-sort=descending]>.srt-b i{border-top:4px solid var(--ink)}
.srt-phwrap,.srt-ph{display:none}
/* A column head's note ("From the most senior person who answered") is a title on the button plus this hidden description, never a second line. */
.srt-d{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Figure columns of the Accounts and Projects lists: the value and its head label share one axis (owner 2026-11-19). The sort arrow hangs outside the centered label, after it, in the head's right padding, so it never moves the label. */
table.data.accs:not(.ppl) th.num,table.data.accs:not(.ppl) td.num{text-align:center}
table.data.accs:not(.ppl) th.srt.num{overflow:visible}
table.data.accs:not(.ppl) th.srt.num>.srt-b i{left:100%;right:auto;margin:-2px 0 0 6px}
@media(max-width:640px){.srt-phwrap{display:block;margin:0 0 10px}.srt-ph{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--ink-3)}.srt-ph .sel{margin:0;max-width:100%}.tools+.srt-ph{margin-top:8px}th.srt>.srt-b{min-height:32px;min-width:32px;display:inline-flex;align-items:center}th.srt.num>.srt-b,th.srt.n>.srt-b,th.srt.r>.srt-b{justify-content:flex-end}}

/* Phone tables: a wide data table becomes stacked rows, the first cell the row's title, the rest labeled by column. */
@media(max-width:640px){
  table.data.stack,table.data.stack>tbody,table.data.stack>tbody>tr{display:block;width:100%}
  table.data.stack>thead{display:none}
  table.data.stack>tbody>tr{padding:12px 0 14px;border-bottom:1px solid var(--rule)}
  table.data.stack>tbody>tr:hover td{background:none}
  table.data.stack>tbody>tr>td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:0 12px;padding:3px 0!important;border:0;text-align:left!important;white-space:normal;overflow:visible}
  table.data.stack>tbody>tr>td::before{content:attr(data-label);font-size:12px;line-height:1.5;color:var(--ink-3);padding-top:1px}
  table.data.stack>tbody>tr>td:first-child{display:block;padding:0 0 8px!important;font-weight:500;font-size:15px;line-height:1.35}
  table.data.stack>tbody>tr>td:first-child::before{content:none}
  table.data.stack>tbody>tr>td:empty{display:none}
  table.data.stack>tbody>tr>td .m{font-weight:400}
  table.data.stack .pts{grid-template-columns:40px 120px}
  .rail{display:none}
  .evl{opacity:1;margin-left:0;display:inline-block;margin-top:4px}
}
@media(hover:none){.evl{opacity:1}}

/* Sticky layers (owner, 2026-10-14: "a lot more sticky headers"). From the top: the orientation bar (44px, appears once the
   page head scrolls away), the page's first tools row, each section's heading inside its section, then table headers.
   Offsets stack through two variables; shell.js measures the tools row. Phones keep only the bar and the stacked tables. */
:root{--stick-h:44px;--tools-h:0px;--sh-h:0px}
@media(min-width:641px){
  .tools.sticky{position:sticky;top:var(--stick-h);z-index:30;background:var(--canvas);margin-top:22px}
  /* A short wrapper around the page head would cap the sticky row at its own height; it hands its children to the page. */
  .wrap > div:has(> .tools.sticky):not(.doc):not(.memo){display:contents}
  .doc>section>.sh{position:sticky;top:calc(var(--stick-h) + var(--tools-h));z-index:6;margin:0 0 18px;padding:12px 0 10px;background:var(--canvas)}
  /* The heading's rule shows only while it is stuck: at rest the content under it brings its own top rule, and two read as clutter. */
  .doc>section>.sh.stuck{box-shadow:0 1px 0 var(--rule)}
  .doc>section>.sh+*{margin-top:4px}
  table.data th{top:calc(var(--stick-h) + var(--tools-h))!important}
  .doc>section table.data th{top:calc(var(--stick-h) + var(--tools-h) + var(--sh-h))!important}
  table.data.in-box th,.doc>section table.data.in-box th{top:var(--th-in,0px)!important}
  /* A sideways wrapper whose table fits opens up, so the header pins to the page; one whose table is wider than the screen
     keeps scrolling sideways and its header is moved down by shell.js (--th-y). */
  .tw-fit{overflow:visible!important}
  table.data.in-x th,.doc>section table.data.in-x th{position:relative!important;top:auto!important;z-index:5;transform:translateY(var(--th-y,0px))}
  .rail{top:calc(var(--stick-h) + var(--tools-h) + 18px)}
  .vrail{top:calc(var(--stick-h) + var(--tools-h) + 18px)}
}
@media(max-width:640px){.doc>section>.sh{position:static}}

/* Stacked tables (QA 2): the label sits in its own column and every child of the cell stays in the flow beneath the
   first line, so a meta line or a bar lands under the value, never in the label column; page widths do not carry over. */
@media(max-width:640px){
  table.data.stack>tbody>tr>td{display:block;position:relative;padding:3px 0 3px 112px!important;min-height:34px;white-space:normal!important;max-width:none!important;min-width:0!important;width:auto!important}
  table.data.stack>tbody>tr>td::before{position:absolute;left:0;top:4px;width:100px;white-space:normal;font-size:12px;line-height:1.3}
  table.data.stack>tbody>tr>td:first-child{min-height:0}
  table.data.stack>tbody>tr>td:first-child{padding-left:0!important}
  table.data.stack>tbody>tr>td>*{max-width:none!important}
  .hdr-here{white-space:nowrap;line-height:20px;overflow:hidden;text-overflow:ellipsis;font-size:15px}
}
/* The site map behind the orientation bar's menu button, on every width. */
.stick-menu{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-left:auto;border:1px solid var(--rule-strong);border-radius:6px;background:#fff;color:var(--ink);cursor:pointer;flex:none}
.stick-menu:hover,.stick-menu[aria-expanded=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
/* UI-073: beside the section tabs the menu keeps its 12px; on a page without tabs it sits at the right. */
.stick-nav+.stick-menu{margin-left:12px}
@media(min-width:901px){
  .ns-util{display:none}
  .nav-sheet{display:block;position:fixed;z-index:95;top:44px;left:0;right:0;background:var(--canvas);border-bottom:1px solid var(--rule-strong);box-shadow:var(--shadow-overlay)}
  .nav-sheet[hidden]{display:none}
  .nav-sheet-in{max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:18px var(--gutter) 24px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 32px}
  .ns-sec{padding:0;border:0}
  .ns-h{margin:0 0 6px;font:400 12px/1.4 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
  .ns-it{display:block;padding:8px 10px;margin:0 -10px;border-radius:8px;text-decoration:none;color:var(--ink)}
  .ns-it b{display:block;font:500 14px/1.3 var(--font)}.ns-it span{display:block;margin-top:1px;font:400 12px/1.4 var(--font);color:var(--ink-3)}
  .ns-it:hover{background:var(--g1)}.ns-it.on{background:var(--open)}
}

/* Phone: columns marked .ph leave the stacked rows; the agenda sync line keeps only when and how many. */
@media(max-width:640px){table.data th.ph,table.data td.ph{display:none!important}.sync .sync-x{display:none}.sync{gap:6px 10px}}

/* Tool groups (owner, 2026-10-14: the controls "look like they're just thrown up there"): every control carries a quiet
   name. Inline on desktop; on phones one group per line, name left, control right, switches as equal-width bars. */
.tg{display:inline-flex;align-items:center;gap:8px;min-width:0}
.tg>.tgl{font:400 12px/1 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3);white-space:nowrap}
.seg button .s{display:none}
@media(max-width:640px){
  .tools{display:grid;grid-template-columns:minmax(0,1fr);gap:10px 0;padding:12px 0}
  .tools .tg{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:0 10px}
  .tools .tg>.tgl{line-height:1.3}
  .tools .tg .seg{display:flex;flex-wrap:nowrap;gap:0;border:1px solid var(--rule-strong);border-radius:var(--radius);overflow:hidden}
  .tools .tg .seg button{flex:1 1 0;min-width:0;height:34px;padding:0 3px;border:0!important;border-radius:0;font-size:13px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tools .tg .seg button+button{border-left:1px solid var(--rule-strong)!important}
  .tools .tg .seg button .s{display:inline}.tools .tg .seg button .l{display:none}
  .tools .tg .cmenu,.tools .tg .cmenu-btn,.tools .tg select.sel{width:100%;max-width:none}
  .tools .r{grid-column:1/-1;margin:2px 0 0;line-height:1.5}
  .tools>.x,.tools>.sb-reset{justify-self:start}
}

.tools-note{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--ink-3)}.tools-note .num{font-variant-numeric:tabular-nums;color:var(--ink-2)}

.rng.r-rough{color:var(--ink-2)}.rng.r-few{color:var(--ink-3);font-weight:400}

/* The modal's header and tabs stick at every width; the box starts 40px down so nothing peeks above the header. */
.sm-hd,.sm .smb{position:sticky;top:0;z-index:3;background:var(--canvas);border-radius:12px 12px 0 0}
.sm-tabs{position:sticky;top:52px;z-index:2;background:var(--canvas)}
@media(max-width:640px){.sm-scrim{padding:0 8px 24px}.sm{margin-top:16px}}

/* Phones: no sticky table headers (no room), and any data table of three or more columns stacks. */
@media(max-width:640px){table.data th{position:static!important}}
/* 641 to 900px (layout check at 768): a column heading of a fixed-width table may take two lines, so a long one ("Registration revenue"
   in a 101px column) never runs onto the next heading or out of the band. */
@media(min-width:641px) and (max-width:900px){table.data.stack.ph-roles thead th{white-space:normal}}
/* AUTH-001 profile: headshots. */
.avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:50%;object-fit:cover;background:var(--g1);color:var(--ink-2);font-weight:500;vertical-align:middle}.avatar.ini{border:1px solid var(--rule)}
/* UI-065: between the phone layout (900px and under) and a wide window, the masthead's logo, sections and buttons did not
   fit on one line and pushed the page wider than the window. It tightens in two steps instead: first the spacing closes up
   and Ask the data becomes its icon; then the wordmark beside the logo goes and the logo shrinks. The middle column may
   always give way, so the masthead can never be wider than the window. */
.hdr-util{flex:none}
@media(min-width:901px) and (max-width:1180px){.hdr{grid-template-columns:auto minmax(0,1fr) auto;gap:20px}.hdr .tabs{gap:16px;min-width:0}}
@media(min-width:901px) and (max-width:1040px){.hdr-title{display:none}.hdr-logo img{width:128px}}
/* the longest edition name (Emerging Tech February 2027) in the desktop menu runs the tabs under the Ask and Find buttons from 901px to about 940px: this band uses a 112px logo (the phone one is 104px), tighter gaps and a tighter button row so the menu fits with 16px to spare */
@media(min-width:901px) and (max-width:1040px){.hdr{gap:16px}.hdr-logo img{width:112px}.hdr .tabs{gap:12px}.hdr-util{gap:6px}}
/* UI-003: the scope bar, one per site, under the masthead (docs/design/overview-mockup.html). */
.scope-bar{border-bottom:1px solid var(--rule-strong);background:var(--canvas)}
.scope-bar .sc-in{display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:10px var(--gutter)}
.scope-bar .sc-lb{font:500 12px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-right:2px}
.scope-bar .sc-pick{position:relative}
.scope-bar .sc-btn{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);font:400 14px/1 var(--font-body);color:var(--ink);cursor:pointer}
.scope-bar .sc-btn small{font-size:12px;color:var(--ink-3)}
/* RT-004: a one-edition page that shows another edition than the scope's says so beside the edition, and under its title.
   The yellow dot because a person should notice; it never changes the scope. */
.scope-bar .sc-shown{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2)}
.scope-bar .sc-shown .dot,.sc-notice .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--signal);box-shadow:0 0 0 1px var(--ink);flex:none}
/* One rule above it only: the next section's rule closes it, so it never doubles a line (R-242). */
.sc-notice{display:flex;gap:10px;align-items:baseline;max-width:72ch;margin:14px 0 0;padding:10px 0 0;border-top:1px solid var(--rule);font-size:14px;color:var(--ink-2)}
.sc-notice .dot{transform:translateY(-1px)}.sc-notice a{color:var(--ink)}
@media (max-width:700px){.scope-bar .sc-shown{flex-basis:100%}}
.scope-bar .sc-btn svg{color:var(--ink-3)}
.scope-bar .sc-btn:hover:not(:disabled){background:var(--hover)}
.scope-bar .sc-btn:disabled{cursor:default;color:var(--ink-3);border-color:var(--rule)}
.scope-bar .sc-btn:focus-visible,.scope-bar .sc-it:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.scope-bar .sc-menu{position:absolute;top:38px;left:0;z-index:70;min-width:250px;max-height:min(420px,70vh);overflow:auto;padding:6px;background:var(--canvas);border:1px solid var(--rule-strong);border-radius:10px;box-shadow:var(--shadow-overlay)}
.scope-bar .sc-menu h6{margin:8px 10px 4px;font:500 12px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.scope-bar .sc-it{display:grid;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;column-gap:16px;width:100%;box-sizing:border-box;padding:8px 0;border:0;border-radius:0;background:none;font:400 15px/22px var(--font);color:var(--ink);text-align:left;cursor:pointer}
.scope-bar .sc-it small{font-size:13px;font-weight:400;color:var(--ink-3);text-align:right;font-variant-numeric:tabular-nums}
.scope-bar .sc-it:hover{background:none}
/* The pick is a 12px mark in the right-hand column, the sheet's own: the count ends where the sheet's value count ends and the mark sits where the sheet's rows end with their chevron, so choosing never moves the label or the count. One marker only; the label stays at weight 400. */
.scope-bar .sc-it .sc-ck{display:block;width:12px;height:12px;justify-self:end}
.scope-bar .sc-it:not(.on) .sc-ck{visibility:hidden}
/* A keyboard ring sits outside the row, rounded, so it never lands on the label or hides the row's hairline */
.scope-bar .sc-radio .sc-it:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}
.scope-bar .sc-note{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-3)}
.scope-hidden{display:none!important}
@media(max-width:900px){.scope-bar .sc-note{margin-left:0;flex-basis:100%}.scope-bar .sc-menu{min-width:220px}}
/* UI-004: the Editions and Compare pickers (docs/design/scope-bar-v2-mockup.html). */
.scope-bar .sc-menu.sc-wide{width:min(760px,calc(100vw - 32px));padding:16px 18px 14px}
.scope-bar .sc-short{margin:0 0 4px}
.scope-bar .sc-pills{display:flex;gap:6px;flex-wrap:wrap}
.scope-bar .sc-pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--rule-strong);border-radius:999px;background:var(--canvas);font:400 13px/1 var(--font-body);color:var(--ink);cursor:pointer}
.scope-bar .sc-pill .ct{font:400 12px/1 var(--mono);color:var(--ink-3)}
.scope-bar .sc-pill:hover{background:var(--hover)}
.scope-bar .sc-pill.on{background:var(--ink);color:var(--canvas);border-color:var(--ink)}.scope-bar .sc-pill.on .ct{color:#c8cad3}
.scope-bar .sc-pill.sc-sc{border-style:dashed}.scope-bar .sc-pill.sc-sc.on{border-style:solid}
.scope-bar .sc-pill:focus-visible,.scope-bar .sc-gl:focus-visible,.scope-bar .sc-sl:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.scope-bar .sc-grp{margin:14px 0 0;border-top:1px solid var(--rule-strong)}
.scope-bar .sc-gl{display:flex;align-items:baseline;gap:10px;padding:10px 0 4px;border:0;background:none;font:500 12px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink);cursor:pointer}
.scope-bar span.sc-gl{cursor:default}
.scope-bar .sc-gl small{font:400 12px/1 var(--font-body);letter-spacing:0;text-transform:none;color:var(--ink-3)}
.scope-bar button.sc-gl:hover,.scope-bar button.sc-sl:hover{text-decoration:underline;text-underline-offset:3px}
.scope-bar .sc-fam{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 12px;align-items:center;padding:7px 0 7px 14px;border-top:1px solid var(--rule)}
.scope-bar .sc-grp .sc-fam:first-of-type{border-top:0}
.scope-bar .sc-sl{justify-self:start;padding:0;border:0;background:none;font:400 13px/1.3 var(--font-body);color:var(--ink-2);text-align:left;cursor:pointer}
.scope-bar span.sc-sl{cursor:default}
.scope-bar .sc-foot{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-3)}
.scope-bar .sc-foot b{font-weight:500;color:var(--ink)}
.scope-bar .sc-tip{font-size:12px}
.scope-bar .sc-hint{margin:2px 0 8px;font-size:13px;color:var(--ink-3)}
.scope-bar .sc-radio{display:grid;gap:0;margin:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.scope-bar .sc-radio .sc-it+.sc-it{border-top:1px solid var(--rule)}
/* the audience note is the sheet's own note line (Baseline: ...): 14px, ink-3, 8px under the last hairline, at the margin */
.scope-bar .sc-menu:not(.sc-wide) .sc-anote{margin:8px 0 0;font-size:14px;line-height:21px;color:var(--ink-3)}
.scope-bar .sc-menu .sc-radio .sc-it small{font-variant-numeric:tabular-nums}
@media(max-width:900px){.scope-bar .sc-menu.sc-wide{position:fixed;left:12px;right:12px;top:auto;width:auto;max-height:70vh}.scope-bar .sc-fam{grid-template-columns:minmax(0,1fr);padding-left:0}}
/* UI-062: the bar reads as a sentence (Showing X compared with Y for Z), with arrows through the series, and the editions
   picker has a search, the recent picks, a tab a group, a grid of series by year and a one-or-several switch. */
.scope-bar .sc-w{font-size:14px;color:var(--ink-3)}
.scope-bar .sc-g{display:inline-flex;align-items:center;gap:10px}
.scope-bar .sc-step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:32px;margin:0 -4px;padding:0 0 2px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);font:400 16px/1 var(--font-body);color:var(--ink);cursor:pointer}
.scope-bar .sc-step:hover:not(:disabled){background:var(--hover)}.scope-bar .sc-step:disabled{color:var(--g3);border-color:var(--rule);cursor:default}
.scope-bar .sc-step:focus-visible,.scope-bar .sc-q:focus-visible,.scope-bar .sc-hd:focus-visible,.scope-bar .sc-hit:focus-visible,.scope-bar .sc-tabs button:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.scope-bar .sc-top{display:flex;gap:10px;align-items:center;margin:0 0 12px}
.scope-bar .sc-q{flex:1;min-width:0;height:36px;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);font:400 14px/1 var(--font-body);color:var(--ink)}
/* a tab is its name and its count, set close together. A dot after the count says the tab holds part of the selection; its
   space is always there, so a tab is the same width selected or not and never moves the next one. */
.scope-bar .sc-tabs{display:flex;gap:18px;border-bottom:1px solid var(--rule-strong)}
.scope-bar .sc-dot{display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:transparent;vertical-align:1px}.scope-bar .sc-dot.on{background:var(--ink)}
.scope-bar .sc-tabs button{position:relative;flex:none;height:34px;padding:0;border:0;background:none;font:500 14px/1 var(--font-body);color:var(--ink-3);white-space:nowrap;cursor:pointer}
.scope-bar .sc-tabs button small{margin-left:6px;font:400 13px/1 var(--font-body);font-variant-numeric:tabular-nums;color:var(--ink-3)}
.scope-bar .sc-tabs button.on{color:var(--ink)}.scope-bar .sc-tabs button.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}
.scope-bar table.sc-ygrid{width:100%;min-width:760px;table-layout:fixed;border-collapse:collapse;font-size:14px}
.scope-bar .sc-ygrid th:first-child{width:138px}
/* a year sits centered over its boxes, and the boxes sit centered in the column: a box has a label on its left and a count on its right, so neither edge is the anchor */
.scope-bar .sc-ygrid thead th:not(:first-child){padding-left:0;padding-right:0;text-align:center}
.scope-bar .sc-ygrid thead th{padding:10px 9px 8px 3px;font:400 13px/1 var(--font-body);color:var(--table-header-ink);text-align:right;background:var(--table-header);border-bottom:1px solid var(--rule);white-space:nowrap}
.scope-bar .sc-ygrid th:first-child{text-align:left;padding-left:10px}
.scope-bar .sc-ygrid tbody th{font:400 14px/1.3 var(--font-body);color:var(--ink-2);border-bottom:1px solid var(--rule);white-space:nowrap}
.scope-bar .sc-ygrid td{border-bottom:1px solid var(--rule);text-align:right}
.scope-bar .sc-ygrid tbody tr:last-child th,.scope-bar .sc-ygrid tbody tr:last-child td{border-bottom:0}
.scope-bar .sc-hd{padding:0;border:0;background:none;font:inherit;color:inherit;text-decoration:none;cursor:pointer}.scope-bar .sc-hd.on{color:var(--ink)}.scope-bar .sc-hd:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* An edition is one box: a label on the left (the month, or the city where it changes), the count on the right. Every box
   is one size so the columns read as a table. On the pages that read more than one edition a + on its corner adds it. */
.scope-bar .sc-cell{display:flex;align-items:center;justify-content:space-between;gap:6px;box-sizing:border-box;width:100%;min-width:0;height:24px;padding:0 8px;border:1px solid var(--rule);border-radius:6px;background:var(--canvas);font:400 13px/1 var(--font-body);color:var(--ink-3);text-align:left;white-space:nowrap;overflow:hidden;cursor:pointer;transition:border-color .12s}
/* the label gives way before the count does: a long city shortens with an ellipsis, the number is never cut or pushed out */
.scope-bar .sc-cell .sc-l{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.scope-bar .sc-cell small{flex:none}
.scope-bar .sc-cell small{margin-left:auto;font:500 13px/1 var(--font-body);font-variant-numeric:tabular-nums;color:var(--ink)}
.scope-bar button.sc-cell:not(.on):hover{border-color:var(--ink);color:var(--ink-2)}
/* a selected box keeps its light text while the pointer is still on it: the hover color must never land on the black fill */
.scope-bar .sc-cell.on,.scope-bar button.sc-cell.on:hover{background:var(--ink);border-color:var(--ink);color:#dfe1ec}.scope-bar .sc-cell.on small,.scope-bar button.sc-cell.on:hover small{color:var(--canvas)}
.scope-bar .sc-cell.off{border:1px dashed var(--rule-strong);background:none;cursor:default}
.scope-bar .sc-cell:focus-visible,.scope-bar .sc-cancel:focus-visible,.scope-bar .sc-done:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.scope-bar .sc-cell.sc-gap{visibility:hidden}
/* in the Compare panel, the editions being shown: there, greyed, and not a choice */
.scope-bar .sc-cell.me{border-color:transparent;background:var(--g1);color:var(--ink-3);cursor:default}.scope-bar .sc-cell.me small{color:var(--ink-3);font-weight:400}
.scope-bar .sc-cell.off .sc-l{flex:1}
.scope-bar .sc-ygrid td{padding:3px 3px;vertical-align:top}.scope-bar .sc-ygrid tbody th{vertical-align:top;padding-top:7px}
.scope-bar .sc-stack{display:flex;flex-direction:column;align-items:stretch;gap:2px}
/* The editions panel and the Compare panel are one column each: the search, the quick selects and the tabs stay put at the top, Cancel and Apply stay
   put at the bottom, and only the grid between them scrolls when the window is short. Nothing useful sits below a scroll. */
.scope-bar .sc-menu.sc-wide:not([hidden]){display:flex;flex-direction:column;width:min(812px,calc(100vw - 32px));max-height:calc(100vh - 124px);padding:0;overflow:hidden}
.scope-bar .sc-wide .sc-top{margin:0;padding:16px 18px 12px}
.scope-bar .sc-browse{display:flex;flex-direction:column;flex:1;min-height:0}.scope-bar .sc-browse[hidden]{display:none}
/* the quick selects are the same box as an edition, sized to their words: one shape of control in the whole panel */
.scope-bar .sc-quick .sc-cell{width:auto;flex:none;gap:8px;padding:0 10px;height:32px}
/* the darker label is for a box that is not selected only: on a selected (black) box it left dark words on black */
.scope-bar .sc-quick .sc-cell:not(.on){color:var(--ink-2)}.scope-bar .sc-quick .sc-cell .sc-l{overflow:visible}
.scope-bar .sc-quick{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0;padding:0 18px 12px;font-size:13px;color:var(--ink-3)}.scope-bar .sc-quick>span{margin-right:4px}
.scope-bar .sc-wide .sc-hint{margin:0;padding:0 18px 8px}
.scope-bar .sc-wide .sc-tabs{margin:0 18px}
.scope-bar .sc-scroll{flex:1;min-width:0;min-height:0;overflow:auto;padding:0 18px 6px}
.scope-bar .sc-ygrid thead th{position:sticky;top:0;z-index:2}
.scope-bar .sc-hits{flex:1;min-height:0;overflow:auto;padding:0 18px 6px}.scope-bar .sc-hits[hidden]{display:none}
/* the footer is one fixed line: what is selected on the left (shortened with an ellipsis before it would ever wrap), the
   buttons on the right. Its height never changes with the selection. */
.scope-bar .sc-wide .sc-foot{flex:none;flex-wrap:nowrap;align-items:center;gap:16px;box-sizing:border-box;height:57px;margin:0;padding:0 18px;border-top:1px solid var(--rule-strong)}
.scope-bar .sc-say{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scope-bar .sc-acts{flex:none}
.scope-bar .sc-key{display:inline-flex;align-items:center;gap:6px;margin-left:auto;align-self:center;font-size:12px;color:var(--ink-3)}.scope-bar .sc-key i{width:16px;height:10px;border:1px dashed var(--rule-strong);border-radius:3px}
.scope-bar .sc-acts{display:inline-flex;align-items:center;gap:8px;margin-left:auto}
.scope-bar .sc-clear{height:32px;margin-right:6px;padding:0 4px;border:0;background:none;font:400 13px/1 var(--font-body);color:var(--ink-2);cursor:pointer}.scope-bar .sc-clear:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.scope-bar .sc-clear:disabled{color:var(--g3);text-decoration:none;cursor:default}
.scope-bar .sc-cancel{height:32px;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);font:400 13px/1 var(--font-body);color:var(--ink);cursor:pointer}.scope-bar .sc-cancel:hover{background:var(--hover)}
.scope-bar .sc-done{height:32px;padding:0 18px;border:1px solid var(--ink);border-radius:var(--radius);background:var(--ink);color:var(--canvas);font:500 13px/1 var(--font-body);cursor:pointer}
.scope-bar .sc-done:disabled{background:var(--g1);border-color:var(--rule);color:var(--ink-3);cursor:default}
@media(max-width:900px){.scope-bar .sc-menu.sc-wide:not([hidden]){width:auto;max-height:76vh}.scope-bar .sc-key{display:none}}
.scope-bar .sc-hit{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(110px,auto);gap:14px;align-items:baseline;width:100%;padding:9px 10px;border:0;border-bottom:1px solid var(--rule);background:none;font:400 14px/1.3 var(--font-body);color:var(--ink);text-align:left;cursor:pointer}
.scope-bar .sc-hit small{font-size:13px;color:var(--ink-3);text-align:right}.scope-bar button.sc-hit:hover{background:var(--hover)}.scope-bar .sc-hit.on{font-weight:500}.scope-bar .sc-hit.off{color:var(--ink-3);cursor:default}
.scope-bar .sc-none{margin:0;padding:22px 10px;font-size:14px;color:var(--ink-3)}
/* UI-076 (owner, 2026-11-15: "this whole screening is a mess on mobile"): on a phone the bar is one line, the scope in
   words and an Edit button; Edit opens the three controls in place. The line does not exist on a wider screen. */
.scope-bar .sc-ph{display:none}
/* UI-090: Change is a text action after the edition name (drawn in paper.css). This is its only base rule */
.scope-bar .sc-edit{border:0;background:none;padding:0;cursor:pointer}
/* UI-110 (owner, 2026-11-26): where the edition is the only thing to change, Change opens the edition picker itself. The
   panel of rows is not drawn; on a wider screen the picker hangs under the edition name (shell.js, cmpScopeBar._place), on a
   phone it is the full sheet it always was. The arrows beside Change step through the series. */
.scope-bar.sc-solo .sc-scrim{display:none!important}
.scope-bar.sc-solo .sc-in{display:block!important;position:static!important;width:0!important;height:0!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;border:0!important;background:none!important;box-shadow:none!important}
.scope-bar.sc-solo .sc-in>:not(.sc-g),.scope-bar.sc-solo .sc-in>.sc-g>:not(.sc-pick),.scope-bar.sc-solo .sc-in .sc-pick>.sc-btn{display:none!important}
.scope-bar.sc-solo .sc-in>.sc-g{display:block;border:0!important}
html body .scope-bar .sc-ph-steps{display:inline-flex;gap:0;margin-left:4px;vertical-align:baseline}
html body .scope-bar .sc-ph .sc-step{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px!important;min-width:40px;margin:-8px 0;padding:0;border:0;border-radius:4px;background:none;font:400 20px/1 var(--font);color:var(--ink-2);cursor:pointer;vertical-align:-4px}
html body .scope-bar .sc-ph .sc-step:hover:not(:disabled){background:var(--hover);color:var(--ink)}
html body .scope-bar .sc-ph .sc-step:disabled{color:var(--g2,var(--rule));cursor:default}
html body .scope-bar .sc-ph .sc-step:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media(max-width:640px){
  .scope-bar .sc-ph{display:flex;align-items:center;gap:12px;padding:8px var(--gutter)}
  .scope-bar .sc-sum{flex:1;min-width:0;font-size:14px;line-height:1.3;color:var(--ink)}
  .scope-bar:not(.sc-open) .sc-in{display:none}
  .scope-bar.sc-open .sc-in{padding-top:2px;padding-bottom:12px}
}

/* Refine (Profile, Titles): the groups sit side by side, the long industry list in the widest column, so the panel
   opens whole without scrolling. Phones keep one column in the full-screen sheet. */
@media(min-width:701px){.sb-item.wide .sb-pop{width:min(1100px,calc(100vw - 64px));max-width:none;max-height:none;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2.2fr);gap:0 28px;align-items:start}
  .sb-item.wide .sb-pop>.sb-g{min-width:0}.sb-item.wide .sb-pop>.sb-g:first-child:has(+ .sb-g + .sb-g + .sb-g + .sb-g){grid-column:1/-1}}

/* UI-014: a company's logo, or its initials until the logo loads or when it has none. */
.co{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;margin-right:8px;border-radius:4px;background:var(--g1);color:var(--ink-3);font:500 12px/1 var(--font);letter-spacing:.02em;vertical-align:-5px;overflow:hidden}
.co.has{background:#fff;box-shadow:inset 0 0 0 1px var(--rule)}.co img{width:100%;height:100%;object-fit:contain}
.co.lg{width:28px;height:28px;font-size:12px;vertical-align:-9px}
.co-link{display:contents}.co-link .co:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.co.xl{width:32px;height:32px;border-radius:6px;font-size:12px;vertical-align:-11px}
.co-fix{position:fixed;z-index:55;transform:translateY(-50%);height:24px;padding:0 9px;border:1px solid var(--rule-strong);border-radius:6px;background:var(--canvas);box-shadow:var(--shadow-overlay);font:500 12px/1 var(--font);color:var(--ink);cursor:pointer;white-space:nowrap}.co-fix:hover{background:var(--hover,#f6f7f8)}
/* UI-022 guided tours (public/tour.js): a yellow ring with a black hairline, 4px out from the real control, and one card
   beside it. Neither ever takes a click meant for the page: the ring lets clicks through, the card holds only its own buttons. */
.wt-ring{position:fixed;z-index:1000;pointer-events:none;border:2px solid var(--signal);border-radius:10px;box-shadow:0 0 0 1px var(--ink),inset 0 0 0 1px var(--ink);transition:left .2s var(--ease),top .2s var(--ease),width .2s var(--ease),height .2s var(--ease)}
.wt-card{position:fixed;z-index:1001;width:340px;max-width:calc(100vw - 32px);padding:14px 18px 16px;background:var(--canvas);border:1px solid var(--rule-strong);border-radius:12px;box-shadow:var(--shadow-overlay);font-family:var(--font);color:var(--ink);transition:left .2s var(--ease),top .2s var(--ease)}
.wt-card .wt-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;font-size:13px;color:var(--ink-3)}
.wt-card .wt-x{width:24px;height:24px;margin:0 -6px 0 0;padding:0;border:0;border-radius:6px;background:none;color:var(--ink-3);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.wt-card .wt-x:hover{background:var(--g1);color:var(--ink)}
.wt-card h3{margin:8px 0 6px;font:500 var(--type-16)/1.25 var(--font)}
.wt-card p{margin:0 0 8px;font-size:15px;line-height:1.45;color:var(--ink-2)}
.wt-card .wt-tip{font-size:13px;color:var(--ink-3)}
.wt-card .wt-note{padding-top:8px;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-2)}
.wt-card .wt-act{display:flex;align-items:center;gap:8px;margin-top:14px}.wt-card .wt-act .btn{margin:0}.wt-card .wt-sp{flex:1}
@media(max-width:700px){.wt-card{left:16px!important;right:16px;top:auto!important;bottom:16px;width:auto}}
/* RT-009: docked to the top when the bottom holds an open panel or an action bar. */
@media(max-width:700px){.wt-card.wt-up{top:72px!important;bottom:auto}}
/* RT-006: the AI tools' shared error line (cmpAiFail in shell.js). */
.ai-fail{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:12px 0;padding:12px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:14px;line-height:1.45}
.ai-fail .what{color:var(--negative)}.ai-fail .what b{font-weight:500}
.ai-fail .kept{color:var(--ink-2)}
.ai-fail .ref{font-size:12px;color:var(--ink-3)}
.ai-fail .btn.quiet{margin:0;min-height:32px;padding:4px 14px}
.ai-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.ai-links .lnk{display:inline-flex;align-items:center;min-height:32px;margin:0;padding:4px 14px;border:1px solid var(--rule-strong);border-radius:999px;font:500 13px/1 var(--font);color:var(--ink);text-decoration:none}
.ai-links .lnk:hover{border-color:var(--ink)}
/* RT-007: on a phone a dialog's footer stays at the bottom of the screen while a long dialog scrolls, so Save is in view. */
@media(max-width:640px){.sm-ft{position:sticky;bottom:0;z-index:2;background:var(--canvas);border-radius:0 0 12px 12px}}
/* RT-007: a contents list under the title on screens under 1000px (cmpPhoneContents in shell.js), numbered, two columns. */
.ph-toc{display:none}
@media(max-width:1000px){.ph-toc{display:block;margin:16px 0 0;padding:12px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
  .ph-toc .h{margin:0 0 8px;font:400 12px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
  .ph-toc ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;counter-reset:s}
  .ph-toc a{display:flex;gap:8px;align-items:baseline;padding:5px 0;font-size:13px;color:var(--ink-2);text-decoration:none}.ph-toc a:hover{color:var(--ink)}
  .ph-toc a::before{counter-increment:s;content:counter(s,decimal-leading-zero);font:400 12px/1.6 var(--mono);color:var(--g3)}}
@media(max-width:640px){.ph-toc ol{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
/* RT-009: a menu item for one role (data-only) shows once the page knows the signed-in role allows it. */
[data-only]{display:none!important}
html[data-role="owner"] [data-only="owner"]{display:block!important}
html:is([data-role="owner"],[data-role="operator"]) [data-only="operator"]{display:block!important}
/* RT-009: the tour's first-visit offer sits in the page under the header and scope bar, never over a control. */
.wt-offer{border-bottom:1px solid var(--rule);background:var(--canvas)}
/* PERF (app-speed): the offer's slot, drawn with the header so the offer never pushes the page down; tour.js fills it */
.wt-offer.wt-slot>*{visibility:hidden}
.wt-offer-in{max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:12px var(--gutter);display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px;line-height:1.45;color:var(--ink-2)}
.wt-offer-in .wt-sp{flex:1}.wt-offer-in .btn,.wt-offer-in .btn.quiet{margin:0}
/* The offer sits directly under the page heading on every page. On a page whose heading is inside #app, shell.js paints the slot
   under that heading (position:relative, moved down by the heading's height; #app is pulled up by the line's height). The line
   keeps the event pages' spacing: a short gap under the heading text, the sheet 12px below. */
html body .wt-offer.wt-under{position:relative;z-index:2}
html body .wt-offer.wt-under .wt-offer-p{padding-top:0;padding-bottom:12px;margin-top:0}
@media(max-width:900px){html body .wt-offer.wt-under .wt-offer-p{padding-bottom:6px}}


/* RT-012: the shared empty line and loading line (cmpEmpty, cmpStatePage in shell.js). */
.cmp-empty{margin:0;padding:14px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:var(--type-14,14px);color:var(--ink-3)}
.cmp-loading{display:flex;align-items:center;gap:10px;margin:18px 0 0;font-size:var(--type-14,14px);color:var(--ink-2)}
/* RT-012f: a shared, keyboard-accessible confirmation for changes to the current draft or segment. */
.cmp-confirm{width:min(480px,calc(100% - 32px));max-height:calc(100vh - 32px);box-sizing:border-box;padding:28px;border:1px solid var(--rule-strong);border-radius:8px;background:var(--paper,#fff);color:var(--ink)}
.cmp-confirm::backdrop{background:rgba(0,0,0,.35)}
.cmp-confirm h2{margin:0;font:500 24px/1.2 var(--font);letter-spacing:-.02em}
.cmp-confirm p{margin:16px 0 24px;font:400 15px/1.5 var(--font);color:var(--ink-2)}
.cmp-confirm form{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
/* UI-046: the contents control belongs to the page, outside its collapsible column. */
:root{--contents-h:0px}
.cmp-contents-toolbar{position:sticky;top:calc(var(--stick-h) + var(--tools-h));z-index:7;display:flex;align-items:center;min-height:44px;background:var(--canvas);margin:0}
.cmp-contents-toolbar[hidden],.cmp-contents-layout>.cmp-contents-nav[hidden]{display:none!important}
.cmp-contents-toggle{display:inline-flex;align-items:center;gap:12px;min-height:36px;padding:8px 0;border:0;border-radius:0;background:none;color:var(--ink-3);font:400 13px/1.4 var(--font);cursor:pointer}
.cmp-contents-toggle:hover{color:var(--ink)}
.cmp-contents-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.cmp-contents-toggle kbd{font:400 12px/1.4 var(--mono);color:inherit}
.cmp-contents-layout.cmp-contents-closed{grid-template-columns:minmax(0,1fr);column-gap:0}
.cmp-contents-layout.bw-layout.cmp-contents-closed>.bw-main{padding-left:0}
@media(min-width:641px){
  .cmp-contents-layout .doc>section>.sh,.cmp-contents-layout.doc>section>.sh{top:calc(var(--stick-h) + var(--tools-h) + var(--contents-h))}
  .cmp-contents-layout .doc>section table.data:not(.in-box):not(.in-x) th,.cmp-contents-layout.doc>section table.data:not(.in-box):not(.in-x) th{top:calc(var(--stick-h) + var(--tools-h) + var(--contents-h) + var(--sh-h))!important}
  .cmp-contents-layout.memo>.rail{top:calc(var(--stick-h) + var(--tools-h) + var(--contents-h) + 18px)}
  .cmp-contents-layout .doc>section,.cmp-contents-layout.doc>section{scroll-margin-top:calc(var(--stick-h) + var(--tools-h) + var(--contents-h) + 12px)}
}
@media print{.cmp-contents-toolbar{display:none!important}:root{--contents-h:0px!important}}

/* UI-073: the phone year heading in the editions picker (below) exists only on a phone. */
.scope-bar .sc-yh{display:none}
/* The editions picker under 768px: the year grid is one list, not a table (UI-073 on phones; from 641 to 767px since 2026-11-16,
   because six year columns that each hold a city and a count need 720px and a narrower table cut the city names). From 768px
   the table has the room (paper.css section 2b). */
@media(max-width:767px){
  /* No sideways scroll. A year heading over its editions (shell.js puts the heading in the first row's cells and each
     cell's series name in data-s; --o orders the cells by year). */
  .scope-bar .sc-tabs{flex-wrap:wrap;gap:0 18px}
  .scope-bar .sc-scroll{overflow-x:hidden}
  .scope-bar .sc-wide .sc-foot{flex-wrap:wrap;height:auto;min-height:57px;padding:10px 18px;row-gap:8px}
  .scope-bar .sc-say{flex-basis:100%;white-space:normal;overflow:visible}
  .scope-bar table.sc-ygrid{display:block;min-width:0;width:100%}
  .scope-bar .sc-ygrid thead,.scope-bar .sc-ygrid thead tr{display:block}
  .scope-bar .sc-ygrid thead th{display:none}
  .scope-bar .sc-ygrid thead th:first-child{display:block;position:static;width:auto;padding:10px 0 4px;background:none;border:0;text-align:left}
  .scope-bar .sc-ygrid tbody{display:flex;flex-direction:column}
  .scope-bar .sc-ygrid tbody tr{display:contents}
  .scope-bar .sc-ygrid tbody th{display:none}
  /* A series that can be picked whole keeps its toggle: the series list sits above the years, under one heading. */
  .scope-bar .sc-ygrid tbody th:has(>.sc-hd){display:block;order:0;position:static;width:auto;padding:0;border:0;background:none;text-align:left}
  .scope-bar .sc-ygrid tbody tr:first-child th:has(>.sc-hd)::before{content:"Whole series";display:block;margin:6px 0 2px;font-size:13px;color:var(--ink-3)}
  /* The picker's All, series and year toggles are 40px tap targets too; they keep their inline look. */
  .scope-bar .sc-hd{display:inline-flex;align-items:center;min-height:40px}
  .scope-bar .sc-ygrid td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:0 10px;align-items:center;order:var(--o,1);width:auto;padding:3px 0;border:0;text-align:left}
  .scope-bar .sc-ygrid td::before{content:attr(data-s);font-size:13px;line-height:1.3;color:var(--ink-2)}
  .scope-bar .sc-ygrid td>.sc-stack{grid-column:2}
  .scope-bar .sc-ygrid td:has(>.sc-stack:empty)::before{content:none}
  .scope-bar .sc-ygrid td:has(>.sc-stack:empty):not(:has(>.sc-yh)){display:none}
  .scope-bar .sc-ygrid .sc-yh{display:block;order:-1;grid-column:1/-1;margin:14px 0 4px;padding-top:10px;border-top:1px solid var(--rule-strong);font:500 15px/1.2 var(--font-body);color:var(--ink)}
  .scope-bar .sc-ygrid tbody tr:first-child td:first-of-type .sc-yh{margin-top:4px;border-top:0}
  .scope-bar .sc-cell.sc-gap{display:none}
}
/* The phone year list (owner, 2026-11-18: "clean this up too"): a series is one line, its name in a narrow column and
   its editions beside it as equal boxes, three to a line, wrapping. Every box is 40px tall, with a count or without. An
   edition this page has nothing for is its month in grey with no box: there to read, not a control. A year with nothing
   held yet says so beside its heading. Desktop and the side drawer keep the table. */
@media(max-width:640px){
  .scope-bar .sc-ygrid td{grid-template-columns:96px minmax(0,1fr);gap:0 8px;align-items:start;padding:2px 0}
  .scope-bar .sc-ygrid td::before{padding-top:12px;overflow-wrap:break-word}
  /* Conference and its kind: a box can hold a city and a count, so two to a line beside a narrower name */
  .scope-bar .sc-ygrid:not(.sc-mo) td{grid-template-columns:80px minmax(0,1fr)}
  .scope-bar .sc-ygrid:not(.sc-mo) td>.sc-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
  .scope-bar .sc-ygrid td>.sc-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  .scope-bar .sc-ygrid .sc-stack>.sc-cell{height:40px;min-height:40px}
  .scope-bar .sc-ygrid .sc-stack>.sc-cell.off{border-color:transparent;background:none;padding-left:8px}
  .scope-bar .sc-ygrid .sc-yh small{margin-left:8px;font:400 13px/1.2 var(--font-body);color:var(--ink-3)}
  .scope-bar .sc-ygrid tbody tr:first-child td:first-of-type .sc-yh{margin-bottom:6px}
  /* the foot is one bar: its hairline on top, what is selected on one line, Clear at the left and Cancel and Apply at the right */
  .scope-bar .sc-wide .sc-foot{padding-top:12px;padding-bottom:12px;row-gap:10px}
  .scope-bar .sc-wide .sc-say{line-height:1.4}
  .scope-bar .sc-wide .sc-acts{flex:1 1 100%;justify-content:flex-end;margin-left:0}
  .scope-bar .sc-wide .sc-acts .sc-clear{margin-right:auto;padding-left:0}
}
/* UI-073 (owner, 2026-11-14: "the entire site doesn't work very well on mobile"). Phone rules only; desktop is unchanged. */
@media(max-width:640px){
  /* Touch targets: every control is at least 40px tall, an icon-only one 40 x 40, by height and padding, never larger type.
     :where keeps this at zero specificity, so a deliberately hidden control (.cmenu-native) keeps its own !important. Text
     links drawn as buttons (.lk, the picker's series and year names) stay inline; the Outline chip's remove is its own item. */
  :where(button:not(.lk):not(.sc-hd):not(.sc-gl):not(.sc-sl):not(.rm):not(.sc-edit),select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),[role=button],.btn,.seg button,.sel,.cmenu-btn,.sc-btn,.sc-pill,.gf-pill,.icon-btn,.hdr-menu,.stick-menu){min-height:40px!important}
  :where(.icon-btn,.hdr-menu,.stick-menu,.sm-nav button,.sc-step){min-width:40px!important}
  .hdr-menu,.stick-menu{width:40px;height:40px}
  .sc-pill,.gf-pill{padding-top:8px;padding-bottom:8px}
  /* The orientation bar is opaque the moment it shows: no fade, so the heading under it never shows through. */
  .stick{opacity:1;transition:transform .15s;visibility:hidden}.stick.on{visibility:visible}
  /* Reference audience lines keep the 16px gutter. */
  .basis{margin-left:0}
  /* Stacked tables with phone roles (DES-002): the title first at 15px, a status on its line, the facts as one grey line,
     the action on its own line, hidden columns gone. cmpStackTables copies each column's role to its cells as data-ph. */
  table.data.stack.ph-roles>tbody>tr{display:flex;flex-wrap:wrap;align-items:baseline;padding:12px 0}
  table.data.stack.ph-roles>tbody>tr::before{content:"";order:3;flex-basis:100%;height:0}
  table.data.stack.ph-roles>tbody>tr::after{content:"";order:6;flex-basis:100%;height:0}
  table.data.stack.ph-roles>tbody>tr>td[data-ph]{display:block;position:static;order:4;flex:0 1 auto;min-width:0;min-height:0;max-width:100%;padding:0!important;margin:0 6px 0 0;border:0;font-size:13px;line-height:1.5;font-weight:400;color:var(--ink-2)}
  table.data.stack.ph-roles>tbody>tr>td[data-ph]::before{content:none;position:static;width:auto}
  table.data.stack.ph-roles>tbody>tr>td[data-ph=primary]{order:1;flex:1 1 60%;margin:0 0 2px;font-size:15px;font-weight:500;line-height:1.35;color:var(--ink)}
  table.data.stack.ph-roles>tbody>tr>td[data-ph=status]{order:2;flex:none;margin:0 0 0 12px;text-align:right!important}
  table.data.stack.ph-roles>tbody>tr>td[data-ph=action]{order:7;flex-basis:100%;margin:6px 0 0}
  table.data.stack.ph-roles>tbody>tr>td[data-ph=hide]{display:none!important}
  /* An empty cell stays hidden, as on every stacked table: no label or separator dot with nothing after it. */
  table.data.stack.ph-roles>tbody>tr>td[data-ph]:empty{display:none}
  table.data.stack.ph-roles>tbody>tr>td[data-ph="meta+label"]::before{content:attr(data-label) " ";color:var(--ink-3)}
  /* UI-080: a cell that draws a bar sits on its own line, so it neither takes nor gives the dot between facts. */
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr))~td[data-ph=meta]:not(:has(.pts .bar,.tvr))::before{content:"\00B7  ";color:var(--ink-3)}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr))~td[data-ph="meta+label"]:not(:has(.pts .bar,.tvr))::before{content:"\00B7  " attr(data-label) " "}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .pts{display:inline}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .bar,table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .iv{display:none}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .m{display:inline;margin-left:4px}
  /* UI-080 (owner, on Brief's phone screen: "add visuals"): a row's bar stays on a phone. The cell that draws one leaves the
     gray facts line for its own line under it: the column's name, the bar, then the figure. */
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:has(.pts .bar){order:5;flex:1 1 100%;display:flex;align-items:center;gap:8px;margin:8px 0 0}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:has(.pts .bar)::before{content:attr(data-label);flex:none;font-size:13px;color:var(--ink-3)}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .pts:has(.bar){display:flex;flex:1 1 auto;flex-direction:row-reverse;align-items:center;gap:8px;min-width:0}
  table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .pts .bar{display:block;flex:1 1 auto;min-width:40px;height:6px}
  table.data.stack.ph-roles>tbody>tr>td[colspan]{flex:1 1 100%}
  /* The masthead kicker and the menu sheet headings: no text under 12px on a phone. */
  .hdr-here span,.ns-h{font-size:12px}
}

/* UI-073 Part B: page fixes that share the shell. The "Show 25 more" row exists only on a phone (shell.js draws it there). */
.ph-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:12px 0;border-top:1px solid var(--rule);font-size:13px;color:var(--ink-3)}
.ph-more .ph-more-btn{margin:0}
@media(max-width:640px){
  /* A stacked table's rows are blocks, which would draw a row the page hid (Connector's folded reads); hidden stays hidden. */
  table.data.stack>tbody>tr[hidden]{display:none!important}
  /* Titles: the search box takes its own line on the gutter, as tall as the controls beside it. */
  .sb-main>.sb-search{flex:1 1 100%;margin:6px 0 0 10px}
  .sb-main>.sb-search input{width:100%;min-height:40px}
  .sb-main>.sb-dot:has(+.sb-search){display:none}
  /* Outline: the chip's remove has a 40 x 40 hit area; an empty Open session slot is one line plus padding. */
  .chip{padding-right:44px}
  .chip .rm{top:0;right:0;width:40px;height:40px;min-height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center}
  .chip.open{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;max-width:none}
  .chip.open .t{flex:none}
  .chip.open .cmenu,.chip.open .fsel{flex:0 1 auto;min-width:0}
}

/* Phone v2 stage 4 (docs/design/phone-v2-system.md): Klik, Feedback and Klik intake. Page classes k2-. Pinned in tests/phone-v2-stage4.test.mjs. */
@media(max-width:640px){
  .k2-kpis{list-style:none;margin:0;padding:8px 0 0}
  .k2-kpis a{box-sizing:border-box;display:flex;gap:12px;align-items:flex-start;min-height:48px;padding:12px 0;border-bottom:1px solid var(--rule);color:inherit;text-decoration:none}
  .k2-kpis li:last-child a{border-bottom:0}
  .k2-kpis a:hover,.k2-kpis a:active{background:var(--hover)}
  .k2-kpis.static a{cursor:default}.k2-kpis.static a:hover{background:none}
  .k2-kpis .bd{flex:1;min-width:0}.k2-kpis .top{display:flex;align-items:center;gap:12px}
  .k2-kpis .lab{flex:1;min-width:0;font-size:16px;line-height:24px;color:var(--ink-2)}
  .k2-kpis .num{flex:none;display:inline-flex;align-items:baseline;gap:4px;font:500 16px/24px var(--font);font-variant-numeric:tabular-nums}
  .k2-kpis .num small{font-size:13px;line-height:18px;font-weight:400;letter-spacing:0;color:var(--ink-3)}
  .k2-kpis .sub{margin:2px 0 0;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-kpis .p2-chev{margin-top:6px;transform:rotate(-90deg)}
  .k2-up{color:var(--positive)}.k2-dn{color:var(--negative)}.k2-fl{color:var(--ink-3)}
  .k2-deck{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .k2-acts{list-style:none;margin:8px 0 0;padding:0;counter-reset:a}
  .k2-acts li{position:relative;padding:16px 0 8px 24px;border-top:1px solid var(--rule);counter-increment:a}
  .k2-acts li::before{content:counter(a);position:absolute;left:0;top:16px;font-size:14px;line-height:22px;color:var(--ink-3)}
  .k2-acts h4{margin:0;font:500 16px/22px var(--font)}.k2-acts h4 b{font-weight:500}
  .k2-acts p{margin:4px 0 0;font-size:16px;line-height:24px;color:var(--ink-2)}
  .k2-acts .p2-txt{margin-top:4px}
  .k2-fold{margin:32px 0 0;border-top:1px solid var(--rule)}
  .k2-fold>h2{margin:0;padding:32px 0 8px;font:500 20px/26px var(--font);letter-spacing:-.015em}
  .k2-sr{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:52px!important;padding:0;border:0;border-top:1px solid var(--rule);background:none;color:var(--ink);font:500 16px/22px var(--font);text-align:left;cursor:pointer}
  .k2-fold>section:last-of-type{border-bottom:1px solid var(--rule)}
  .k2-srh{margin:0;font:inherit}
  .k2-sr span{flex:1;min-width:0}
  .k2-sr small{flex:none;font:400 13px/18px var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-sr .p2-chev{width:14px;height:14px;transition:transform .15s var(--ease)}
  .k2-sr[aria-expanded="true"] .p2-chev{transform:rotate(180deg)}
  .k2-sr:hover{background:var(--hover)}
  .k2-fold>section.kl-shut>.k2-open{display:none}
  .k2-open{padding:8px 0 24px}.k2-open .how{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .k2-open .sum{max-width:760px;margin:12px 0;font-size:16px;line-height:24px;color:var(--ink-2)}
  .k2-ct{margin:24px 0 0;font:500 16px/22px var(--font)}.k2-ct+.how,.k2-ct+.k2-rl{margin-top:4px}
  .k2-rl{list-style:none;margin:8px 0 0;padding:0}
  .k2-rl:not(.k2c){max-width:none}
  .k2-r2{box-sizing:border-box;min-height:48px;padding:12px 0;border-bottom:1px solid var(--rule)}.k2-r2:last-child{border-bottom:0}
  .k2-r2 .t{display:flex;align-items:baseline;gap:12px}
  .k2-r2 .l{flex:1;min-width:0;font-size:16px;line-height:24px;overflow-wrap:anywhere}
  .k2-r2 .v{flex:none;font:500 16px/24px var(--font);font-variant-numeric:tabular-nums;white-space:nowrap}
  .k2-r2 .v small{font:400 13px/18px var(--font);color:var(--ink-3)}
  .k2-r2 .s{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-r2 .p2-trk{margin-top:8px}
  .k2-dv{position:relative;height:8px;margin-top:8px;border-radius:4px;background:var(--chart-track)}.k2-dv .ax{position:absolute;left:50%;top:-3px;bottom:-3px;width:1px;background:var(--chart-secondary)}
  .k2-dv .f{position:absolute;top:0;bottom:0;border-radius:4px;background:var(--chart-ink)}.k2-dv .f.pos{background:var(--positive)}.k2-dv .f.neg{background:var(--negative)}.k2-dv .f.mute{background:var(--chart-track-subtle)}
  .k2-shk{margin:16px 0 8px;font-size:14px;line-height:20px;color:var(--ink-3)}
  .k2-meta{margin:0;padding:8px 0;font-size:14px;line-height:20px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-meta b{font-weight:500;color:var(--ink)}
  .k2-score{display:flex;align-items:baseline;gap:16px;margin-top:16px}
  .k2-score>b{flex:none;font:500 20px/26px var(--font);font-variant-numeric:tabular-nums}.k2-score>span{font-size:16px;line-height:24px;color:var(--ink-2)}.k2-score>span b{font-weight:500;color:var(--ink)}
  .k2-scope{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-lead{max-width:760px;margin:8px 0 0;font-size:16px;line-height:24px}
  .k2-mom{margin:32px 0 0;display:flex;align-items:baseline;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--rule)}
  .k2-mom:first-child{margin-top:16px}
  .k2-mom b{font:400 14px/20px var(--font);color:var(--ink-3)}.k2-mom span{font:500 13px/18px var(--font);color:var(--ink)}
  .k2-dec{padding:16px 0 0;}
  .k2-dec h4{margin:0;font:500 16px/22px var(--font)}
  .k2-dec .r{margin:4px 0 0;font-size:16px;line-height:24px;color:var(--ink-2)}
  .k2-dec .own{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-ev{margin:0}
  .k2-ev summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:52px;font-size:14px;line-height:20px;color:var(--ink-3);cursor:pointer}
  .k2-ev summary::-webkit-details-marker{display:none}.k2-ev summary .p2-chev{margin-left:auto}.k2-ev[open]>summary .p2-chev{transform:rotate(180deg)}
  .k2-ev p{margin:0 0 8px;font-size:14px;line-height:20px;color:var(--ink-2)}.k2-ev p b{font-weight:500;color:var(--ink)}
  .k2-plan{padding:16px 0 8px;border-bottom:1px solid var(--rule)}.k2-plans{margin:8px 0 0;border-top:1px solid var(--rule)}
  .k2-plan h4{margin:0;font:500 16px/22px var(--font)}
  .k2-plan .meta{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-plan dl{margin:8px 0 0;display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 8px;font-size:14px;line-height:20px}.k2-plan dt{color:var(--ink-3)}.k2-plan dd{margin:0;color:var(--ink-2)}
  .k2-plan .lift{margin:8px 0 0;font-size:14px;line-height:20px}.k2-plan .lift b{font-weight:500;font-variant-numeric:tabular-nums}
  .k2-plan .p2-trk{height:4px;margin-top:6px}.k2-plan .p2-bar{background:var(--g3)}
  .k2-eds{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
  .k2-eds a{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 0;border-bottom:1px solid var(--rule);color:inherit;text-decoration:none}
  .k2-eds a:hover,.k2-eds a:active{background:var(--hover)}
  .k2-eds .bd{flex:1;min-width:0}.k2-eds .top{display:flex;align-items:baseline;gap:12px}
  .k2-eds h4{flex:1;min-width:0;margin:0;font:500 16px/22px var(--font)}
  .k2-eds p{display:flex;flex-wrap:wrap;gap:0 12px;margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-eds p span{white-space:nowrap}.k2-eds p b{font-weight:500;color:var(--ink-2)}
  .k2-eds .st{flex:none;font:500 14px/20px var(--font);color:var(--ink);text-align:right}
  .k2-eds .p2-chev{transform:rotate(-90deg)}
  .k2-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:15px;line-height:20px;color:var(--ink);text-decoration:none}.k2-back .p2-chev{transform:rotate(90deg)}
  .k2-gh{margin:32px 0 0;font:500 16px/22px var(--font)}.k2-gh small{display:block;margin-top:4px;font:400 13px/18px var(--font);color:var(--ink-3)}
  .k2-loc{padding:16px 0;border-bottom:1px solid var(--rule)}.k2-loc:first-of-type{border-top:1px solid var(--rule)}
  .k2-loc label{display:flex;gap:12px;align-items:flex-start;min-height:40px;margin:0;font:inherit;color:inherit;cursor:pointer}
  .k2-loc input[type=checkbox]{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--ink)}
  .k2-loc .bd{flex:1;min-width:0}.k2-loc h5{margin:0;font:500 16px/22px var(--font)}.k2-loc p{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-loc .dc{margin-top:8px}.k2-loc .dc .cmenu,.k2-loc .dc select{display:block;width:100%}
  .k2-loc .dc .cmenu-btn,.k2-loc .dc select{width:100%;height:44px;font:400 16px/24px var(--font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
  .k2-selbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin-top:8px;font-size:14px;line-height:20px;color:var(--ink-2)}
  .k2-log{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid var(--rule)}.k2-log li{padding:8px 0;border-bottom:1px solid var(--rule)}.k2-log .row{display:flex;align-items:center;gap:12px}.k2-log .bd{flex:1;min-width:0}.k2-log h5{margin:0;font:500 16px/22px var(--font)}.k2-log p{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}.k2-log .off h5{color:var(--ink-3)}
  .k2-log .undo{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.k2-log .undo input{min-width:0;flex:1 1 220px;height:32px;padding:0 10px;border:1px solid var(--rule-strong);border-radius:var(--radius);font:400 16px/20px var(--font)}
  .k2-step{margin:32px 0 0;font:500 16px/22px var(--font)}.k2-step span{margin-right:8px;font-weight:400;color:var(--ink-3)}
  .k2-fmt{margin-top:8px}.k2-fmt label{display:flex;align-items:flex-start;gap:16px;padding:8px 0;border-top:1px solid var(--rule);font-size:16px;line-height:24px;cursor:pointer}.k2-fmt label:last-child{border-bottom:1px solid var(--rule)}.k2-fmt input{flex:none;margin:4px 0 0;accent-color:var(--ink)}.k2-fmt small{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-hide-ph{display:none!important}
  /* Polish round 1: a second block under a first is a 32px step; the numbered takeaways share one 24px number column and the 16px block size. */
  .k2-two>div+div{margin-top:32px}
  #app .three li{grid-template-columns:24px minmax(0,1fr);column-gap:0}
  #app .three li::before{font-variant-numeric:tabular-nums}
  #app .three .c{font:500 16px/22px var(--font);letter-spacing:0}
  .ki-needs .m,.k2-kpis .sub,.k2-r2 .s,.k2-deck,.k2-open .how,.k2-open .sum,.p2-note>p,.p2-m>p{text-wrap:pretty}
  /* Polish round 2 */
  .k2-score>b .rg:not(.r-few){font:inherit;color:var(--ink)}
  /* Polish round 2: a method fold is a row like the sections' own (label 16px/500 in ink, the figure it carries a gray hint at the right, the chevron last), not a gray line with an underlined word. */
  .p2-m.k2f>summary{box-sizing:border-box;gap:12px;min-height:52px;font:500 16px/22px var(--font);color:var(--ink)}
  .p2-m.k2f>summary u{flex:1;min-width:0;text-decoration:none;color:var(--ink);white-space:normal}
  .p2-m.k2f>summary small{flex:none;font:400 13px/18px var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
  /* Polish round 3: a share set against another breaks at its words, never as a block that strands the text before it. */
  .pair{display:inline;white-space:normal}
  /* Polish round 3, both widths: a fold list, an empty line or a log row already ends in a rule, so the method fold under it draws none of its own (and no 16px gap); the footer under the full read does the same. */
  :is(.cmp-empty,.k2-log)+.p2-m.k2f,.doc:has(>.k2-fold:last-child)+.p2-m.k2-foot{margin-top:0;border-top:0}
}

/* Desktop (D-140), stage 4: the same rows at 641px and wider (tests/desktop-d140-stage4.test.mjs). One set of markup at every width. */
@media(min-width:641px){
  .k2-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px;width:100%;margin:16px 0 0;padding:0;list-style:none;border-bottom:1px solid var(--rule)}
  .k2-kpis a{box-sizing:border-box;display:flex;gap:12px;align-items:flex-start;min-height:0;padding:8px 0;border-top:1px solid var(--rule);color:inherit;text-decoration:none}
  .k2-kpis a:hover,.k2-kpis a:active{background:var(--hover)}
  .k2-kpis.static a{cursor:default}.k2-kpis.static a:hover{background:none}
  .k2-kpis .bd{flex:1;min-width:0}.k2-kpis .top{display:flex;align-items:center;gap:12px}
  .k2-kpis .lab{flex:1;min-width:0;font-size:13px;line-height:18px;color:var(--ink-2)}
  .k2-kpis .num{flex:none;display:inline-flex;align-items:baseline;gap:4px;font:500 20px/26px var(--font);letter-spacing:-.015em;font-variant-numeric:tabular-nums}
  .k2-kpis .num small{font-size:13px;line-height:18px;font-weight:400;letter-spacing:0;color:var(--ink-3)}
  .k2-kpis .sub{margin:2px 0 0;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-kpis .p2-chev{margin-top:6px;transform:rotate(-90deg)}
  .k2-up{color:var(--positive)}.k2-dn{color:var(--negative)}.k2-fl{color:var(--ink-3)}
  .k2-deck{margin:4px 0 0;max-width:760px;font-size:15px;line-height:22px;color:var(--ink-2)}
  .k2-acts{max-width:760px;list-style:none;margin:8px 0 0;padding:0;counter-reset:a}
  .k2-acts li{position:relative;padding:16px 0 8px 24px;border-top:1px solid var(--rule);counter-increment:a}
  .k2-acts li::before{content:counter(a);position:absolute;left:0;top:16px;font-size:15px;line-height:22px;color:var(--ink-3)}
  .k2-acts h4{margin:0;font:500 16px/22px var(--font)}.k2-acts h4 b{font-weight:500}
  .k2-acts p{margin:4px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  .k2-acts .p2-txt{margin-top:4px}
  .k2-fold{margin:32px 0 0;border-top:1px solid var(--rule)}
  .k2-fold>h2{margin:0;padding:32px 0 8px;font:500 20px/26px var(--font);letter-spacing:-.015em}
  .k2-sr{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:0;border:0;border-top:1px solid var(--rule);background:none;color:var(--ink);font:500 16px/22px var(--font);text-align:left;cursor:pointer}
  .k2-fold>section:last-of-type{border-bottom:1px solid var(--rule)}
  .k2-srh{margin:0;font:inherit}
  .k2-sr span{flex:1;min-width:0}
  .k2-sr small{flex:none;font:400 13px/18px var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-sr .p2-chev{width:14px;height:14px;transition:transform .15s var(--ease)}
  .k2-sr[aria-expanded="true"] .p2-chev{transform:rotate(180deg)}
  .k2-sr:hover{background:var(--hover)}
  .k2-fold>section.kl-shut>.k2-open{display:none}
  .k2-open{padding:8px 0 24px}.k2-open .how{max-width:760px;margin:4px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  .k2-open .sum{max-width:760px;margin:12px 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  .k2-ct{margin:24px 0 0;font:500 16px/22px var(--font)}.k2-ct+.how,.k2-ct+.k2-rl{margin-top:4px}
  .k2-rl{list-style:none;margin:8px 0 0;padding:0}
  .k2-rl:not(.k2c){max-width:760px}
  .k2-rl.k2c{columns:2 340px;column-gap:56px}.k2-rl.k2c>li{break-inside:avoid}
  /* Polish round 3: both columns of a two-column list end the same way: a rule above every row, none below the last of either column. */
  .k2-rl.k2c>.k2-r2{border-top:1px solid var(--rule);border-bottom:0}
  .k2-r2{box-sizing:border-box;min-height:48px;padding:12px 0;border-bottom:1px solid var(--rule)}.k2-r2:last-child{border-bottom:0}
  .k2-r2 .t{display:flex;align-items:baseline;gap:12px}
  .k2-r2 .l{flex:1;min-width:0;font-size:15px;line-height:22px;overflow-wrap:anywhere}
  .k2-r2 .v{flex:none;font:500 15px/22px var(--font);font-variant-numeric:tabular-nums;white-space:nowrap}
  .k2-r2 .v small{font:400 13px/18px var(--font);color:var(--ink-3)}
  .k2-r2 .s{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-r2 .p2-trk{margin-top:8px}
  .k2-dv{position:relative;height:8px;margin-top:8px;border-radius:4px;background:var(--chart-track)}.k2-dv .ax{position:absolute;left:50%;top:-3px;bottom:-3px;width:1px;background:var(--chart-secondary)}
  .k2-dv .f{position:absolute;top:0;bottom:0;border-radius:4px;background:var(--chart-ink)}.k2-dv .f.pos{background:var(--positive)}.k2-dv .f.neg{background:var(--negative)}.k2-dv .f.mute{background:var(--chart-track-subtle)}
  .k2-shk{margin:16px 0 8px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-meta{margin:8px 0 0;padding:8px 0;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-meta b{font-weight:500;color:var(--ink)}
  .k2-score{display:flex;align-items:baseline;gap:16px;margin-top:16px}
  .k2-score>b{flex:none;font:500 20px/26px var(--font);font-variant-numeric:tabular-nums}.k2-score>span{font-size:15px;line-height:22px;color:var(--ink-2)}.k2-score>span b{font-weight:500;color:var(--ink)}
  .k2-scope{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px;align-items:start;width:100%}.k2-two>div>:first-child{margin-top:0}.k2-two>div{min-width:0}
  .k2-lead{max-width:760px;margin:8px 0 0;font-size:15px;line-height:22px}
  .k2-mom{margin:32px 0 0;display:flex;align-items:baseline;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--rule)}
  .k2-mom:first-child{margin-top:16px}
  .k2-mom b{font:400 15px/22px var(--font);color:var(--ink-3)}.k2-mom span{font:500 13px/18px var(--font);color:var(--ink)}
  .k2-dec{padding:16px 0 0;max-width:760px}
  .k2-dec h4{margin:0;font:500 16px/22px var(--font)}
  .k2-dec .r{margin:4px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  .k2-dec .own{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-ev{margin:0}
  .k2-ev summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:48px;font-size:15px;line-height:20px;color:var(--ink-2);cursor:pointer}
  .k2-ev summary::-webkit-details-marker{display:none}.k2-ev summary .p2-chev{margin-left:auto}.k2-ev[open]>summary .p2-chev{transform:rotate(180deg)}
  .k2-ev p{margin:0 0 8px;font-size:13px;line-height:18px;color:var(--ink-2)}.k2-ev p b{font-weight:500;color:var(--ink)}
  .k2-plan{padding:16px 0 8px;border-bottom:1px solid var(--rule)}.k2-plans{margin:8px 0 0;border-top:1px solid var(--rule)}
  .k2-plan h4{margin:0;font:500 16px/22px var(--font)}
  .k2-plan .meta{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-plan dl{margin:8px 0 0;display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 8px;font-size:13px;line-height:18px}.k2-plan dt{color:var(--ink-3)}.k2-plan dd{margin:0;color:var(--ink-2)}
  .k2-plan .lift{margin:8px 0 0;font-size:13px;line-height:18px}.k2-plan .lift b{font-weight:500;font-variant-numeric:tabular-nums}
  .k2-plan .p2-trk{height:4px;margin-top:6px}.k2-plan .p2-bar{background:var(--g3)}
  .k2-plan{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:56px}.k2-plan>h4,.k2-plan>.meta{grid-column:1}.k2-plan>dl{grid-column:2;grid-row:1/span 2;margin:0}.k2-plan>.lift,.k2-plan>.p2-trk{grid-column:1/-1}
  /* Polish round 3: a long Now value grows the second row only, so the title and its meta line stay together. */
  .k2-plan{grid-template-rows:auto 1fr}
  .k2-open table.data+.p2-m.k2f{margin-top:0;border-top:0}
  /* Polish round 3, both widths: a fold list, an empty line or a log row already ends in a rule, so the method fold under it draws none of its own (and no 16px gap); the footer under the full read does the same. */
  :is(.cmp-empty,.k2-log)+.p2-m.k2f,.doc:has(>.k2-fold:last-child)+.p2-m.k2-foot{margin-top:0;border-top:0}
  .k2-eds{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
  .k2-eds a{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 0;border-bottom:1px solid var(--rule);color:inherit;text-decoration:none}
  .k2-eds a:hover,.k2-eds a:active{background:var(--hover)}
  .k2-eds .bd{flex:1;min-width:0}.k2-eds .top{display:flex;align-items:baseline;gap:12px}
  .k2-eds h4{flex:1;min-width:0;margin:0;font:500 16px/22px var(--font)}
  .k2-eds p{display:flex;flex-wrap:wrap;gap:0 12px;margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3);font-variant-numeric:tabular-nums}
  .k2-eds p span{white-space:nowrap}.k2-eds p b{font-weight:500;color:var(--ink-2)}
  .k2-eds .st{flex:none;font:500 15px/20px var(--font);color:var(--ink);text-align:right}
  .k2-eds .p2-chev{transform:rotate(-90deg)}
  .k2-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:15px;line-height:20px;color:var(--ink);text-decoration:none}.k2-back .p2-chev{transform:rotate(90deg)}
  .k2-gh{margin:32px 0 0;font:500 16px/22px var(--font)}.k2-gh small{display:block;margin-top:4px;font:400 13px/18px var(--font);color:var(--ink-3)}
  .k2-loc{padding:16px 0;border-bottom:1px solid var(--rule)}.k2-loc:first-of-type{border-top:1px solid var(--rule)}
  .k2-loc label{display:flex;gap:12px;align-items:flex-start;min-height:40px;margin:0;font:inherit;color:inherit;cursor:pointer}
  .k2-loc input[type=checkbox]{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--ink)}
  .k2-loc .bd{flex:1;min-width:0}.k2-loc h5{margin:0;font:500 16px/22px var(--font)}.k2-loc p{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .k2-loc .dc{margin-top:8px}.k2-loc .dc .cmenu,.k2-loc .dc select{display:block;width:100%;max-width:420px}
  .k2-loc .dc .cmenu-btn,.k2-loc .dc select{width:100%;height:32px;font:400 15px/20px var(--font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
  .k2-selbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin-top:8px;font-size:14px;line-height:20px;color:var(--ink-2)}
  .k2-log{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid var(--rule)}.k2-log li{padding:8px 0;border-bottom:1px solid var(--rule)}.k2-log .row{display:flex;align-items:center;gap:12px}.k2-log .bd{flex:1;min-width:0}.k2-log h5{margin:0;font:500 16px/22px var(--font)}.k2-log p{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}.k2-log .off h5{color:var(--ink-3)}
  .k2-log .undo{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.k2-log .undo input{min-width:0;flex:1 1 220px;height:32px;padding:0 10px;border:1px solid var(--rule-strong);border-radius:var(--radius);font:400 16px/20px var(--font)}
  .k2-step{margin:32px 0 0;font:500 16px/22px var(--font)}.k2-step span{margin-right:8px;font-weight:400;color:var(--ink-3)}
  .k2-fmt{margin-top:8px}.k2-fmt label{display:flex;align-items:flex-start;gap:16px;padding:8px 0;border-top:1px solid var(--rule);font-size:16px;line-height:24px;cursor:pointer}.k2-fmt label:last-child{border-bottom:1px solid var(--rule)}.k2-fmt input{flex:none;margin:4px 0 0;accent-color:var(--ink)}.k2-fmt small{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  body:has(#cmp-scope:not(.sc-noed)) h1.p2-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .k2-hide-desk{display:none!important}
  .ki-needs .m,.k2-kpis .sub,.k2-r2 .s,.k2-deck,.k2-open .how,.k2-open .sum,.p2-note>p,.p2-m>p{text-wrap:pretty}
  /* Polish round 2 */
  .k2-score>b .rg:not(.r-few){font:inherit;color:var(--ink)}
  .k2-acts h4{text-wrap:balance}
  /* Polish round 2: a method fold is a row like the sections' own (label 16px/500 in ink, the figure it carries a gray hint at the right, the chevron last), not a gray line with an underlined word. */
  body.p2d #app .p2-m.k2f>summary{box-sizing:border-box;gap:12px;min-height:48px;font:500 16px/22px var(--font);color:var(--ink)}
  body.p2d #app .p2-m.k2f>summary u{flex:1;min-width:0;text-decoration:none;color:var(--ink);white-space:normal}
  body.p2d #app .p2-m.k2f>summary small{flex:none;font:400 13px/18px var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
}

/* Desktop (D-140), stage 3 polish round 2: the phone v2 type scale and steps on a wide screen, for the pages that opt in with body.p2d
   (Overview, Segments, Titles). One title, section headings 20px, block headings 16px, body 15px, small gray 13px; nothing under 13px;
   section numbers and the kicker are gone; steps are 8, 16 and 32. The tour offer is the one line, the same as on a phone. Phone rules
   are below, in the 640px blocks, and are not touched by anything here. */
@media(min-width:641px){
  .wt-offer .wt-offer-in.wt-offer-d{display:none}
  .wt-offer .wt-offer-p{display:flex;align-items:center;gap:8px;max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:4px calc(var(--gutter) - 8px) 4px var(--gutter)}
  .wt-offer .wt-offer-p p{flex:1;min-width:0;margin:0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .wt-offer .wt-offer-p a{display:inline-flex;align-items:center;min-height:32px;color:var(--ink);font-size:15px;text-underline-offset:3px;text-decoration-thickness:1px}
  .wt-offer .wt-offer-p .p2-icon{flex:none;width:32px;height:32px;padding:0;border:0;background:none;display:grid;place-items:center;color:var(--ink);cursor:pointer}
  /* Density (D-201, D-204): the Event pace density on every page at 641px and up. Read text is 13/18; multi-sentence paragraphs (leads, method notes) are 15/22;
     section headings and figures 20/26, module and block headings 15/20; controls 32px at 13/18; table body rows 24px. */
  body.p2d #app{font-size:13px;line-height:18px}
  body.p2d #app :where(p,dd,dt,small,label,.hint,.meta,.legend,.lead,.lede,.p2-lede,.f-desc,.how,.note,.p2-count,.p2-empty,.tools-note,.sync){letter-spacing:0}
  body.p2d .kicker,body.p2d .sh .num{display:none}
  body.p2d .title-row{padding-top:32px}
  body.p2d .title-row h1,body.p2d h1{font:500 24px/30px var(--font);letter-spacing:-.02em}
  body.p2d .title-row .sub{font-size:15px;line-height:22px}
  body.p2d .doc>section{padding:24px 0 0}
  body.p2d .doc>section>.sh,body.p2d .sh{margin:0 0 8px;padding:0}
  body.p2d .sh h2{font:500 20px/26px var(--font);letter-spacing:-.015em}
  body.p2d #app .sh h2{letter-spacing:-.015em}
  body.p2d .wrap.page h2{font-size:20px;line-height:26px}
  body.p2d .lead{max-width:760px;font:400 15px/22px var(--font);letter-spacing:0}
  body.p2d #app :is(.lead,.lede,.p2-lede,.legend){margin-top:4px;margin-bottom:8px}
  body.p2d #app .ov ol.mv .a,body.p2d #app .ov ol.mv.ov-moves .a,body.p2d #app .three .c,body.p2d #app .dec .d{font:500 16px/22px var(--font);letter-spacing:0}
  body.p2d #app :is(h3,h4,.blk-hd h3,.ch h4,.idea h4,.ptitle,.s2-dis>summary b,.p2-ans h3,.hm-wh){font:500 15px/20px var(--font);letter-spacing:0}
  body.p2d #app .ov-kp dd,body.p2d #app .ov-strip .v b,body.p2d #app .kpis dd,body.p2d #app .rule-sum .rs-n,body.p2d #app .k2-kpis .num{font:500 20px/26px var(--font);letter-spacing:-.015em}
  /* Tables are the standard size again (owner 2026-11-24, "I want to revert to the standard table with 45px rows at 15px"): 15/22 cells and the
     page's own padding. The D-204 24px row rules are withdrawn; controls, switches and headings keep their density values. */
  body.p2d #app table.data{font-size:15px;line-height:22px}
  body.p2d #app table.data th,body.p2d #app table.data td .m,body.p2d #app .m,body.p2d #app small,body.p2d #app label,body.p2d #app .hint,body.p2d #app .meta,body.p2d #app .ec,body.p2d #app .rail .prov,body.p2d #app .th-s,body.p2d #app kbd,body.p2d #app .legend,body.p2d #app .cap,body.p2d #app .note,body.p2d #app .p2-count,body.p2d #app .p2-empty,body.p2d #app .tools-note,body.p2d #app dt{font-size:13px;line-height:18px}
  body.p2d #app .rail a::before{font:400 13px/1.6 var(--font)}
  body.p2d #app .rail a{font-size:13px}
  body.p2d #app .gf-pill{padding:6px 12px}
  body.p2d #app .ph-tiny{font-size:13px}
  body.p2d #app p,body.p2d #app td,body.p2d #app .lead{text-wrap:pretty}
  body.p2d #app h2,body.p2d #app h3,body.p2d #app .a{text-wrap:balance}
  /* Round 3: the lead is a body size (the section heading is the largest text in its block); nothing under 13px, the edition bar's count included;
     controls and the freshness note keep the 13px floor with px line heights; the grouping line keeps the reading column and a 16px step above the table. */
  body.p2d .scope-bar .sc-bv small,body.p2d .filterbar small{font-size:13px;line-height:18px}
  body.p2d #app .sync{font-size:13px;line-height:18px;margin:10px 0 16px}
  body.p2d #app .sync-l{max-width:760px}
  body.p2d #app .sync .btn.quiet,body.p2d #app .sync-btn{font:500 13px/18px var(--font);min-height:32px}
  body.p2d #app .x{font:400 13px/18px var(--font-body)}
  body.p2d #app .rail a,body.p2d #app .rail a::before,body.p2d #app .m,body.p2d #app .cap,body.p2d #app .cover,body.p2d #app .ov-src,body.p2d #app .ov ol.mv .s,body.p2d #app .ov ol.mv .w small,body.p2d #app dt,body.p2d #app dl small{line-height:18px}
  body.p2d #app .f-desc,body.p2d #app .lede,body.p2d #app .how{font-size:15px;line-height:22px}
  body.p2d .scope-bar .sc-bv,body.p2d .scope-bar .sc-step{line-height:20px}
  body.p2d #app summary{font-size:13px;line-height:18px}
  /* Polish round 1 (audience and exchange) made controls and links 15px; the density pass (D-201, D-204) makes them 13/18 at 641px and up. A phone keeps 15px. */
  body.p2d #app .btn,body.p2d #app .seg button,body.p2d #app .cmenu-btn,body.p2d #app .opt.pop,body.p2d #app a.lnk,body.p2d #app .p2-txt,body.p2d #app summary.p2-txt,body.p2d #app details.p2-tbl>summary,body.p2d #app .sync-btn,body.p2d #app .sync .btn.quiet,body.p2d #app button.x{font-size:13px;line-height:18px}
  body.p2d #app button.x{min-height:32px}
  /* Polish round 3 (audience and exchange): the control that opens a method fold is one size and one gray everywhere, and a legend or note is a reading column. */
  body.p2d #app .p2-m>summary,body.p2d #app .p2-note>summary,body.p2d #app .fold>summary{min-height:32px;font-size:13px;line-height:18px;color:var(--ink-2)}
  body.p2d #app .legend{max-width:760px;font-size:13px;line-height:18px;color:var(--ink-2)}
}
/* Both widths: pills and builder step headings share the control and block sizes. */
body.p2d #app .gf-pill{font:500 15px/20px var(--font)}body.p2d #app .gf-pill .ct{font-size:13px}
body.p2d #app .ptitle{font:500 16px/22px var(--font)}body.p2d #app .ptitle small{font-size:13px;line-height:18px}
@media(max-width:640px){
  /* The phone type steps for the pages that opt in: px line heights by role, 16px row titles, the fact line's separator trails the item before it
     (a wrapped line never opens with a dot), values share one width so the bars end at one edge. */
  body.p2d #app p,body.p2d #app td,body.p2d #app .lead,body.p2d #app .legend{text-wrap:pretty}
  body.p2d #app h2,body.p2d #app h3,body.p2d #app .a{text-wrap:balance}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph]{font-size:13px;line-height:18px}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph=primary]{font-size:16px;line-height:22px;font-weight:500}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph] .m{line-height:18px}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr))~td[data-ph=meta]:not(:has(.pts .bar,.tvr))::before{content:none}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr))~td[data-ph="meta+label"]:not(:has(.pts .bar,.tvr))::before{content:attr(data-label) " "}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr)):has(~td[data-ph^=meta]:not(:empty))::after{content:"\00A0\00B7";color:var(--ink-3)}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph]:empty{display:none}
  body.p2d #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta] .pts:has(.bar) .num{flex:none;min-width:44px;text-align:right;font-variant-numeric:tabular-nums}
  body.p2d #app .legend,body.p2d #app .ov-how,body.p2d #app .ov-fh,body.p2d #app .note{font-size:14px;line-height:20px}
  body.p2d #app .btn,body.p2d #app button.sel,body.p2d #app select.sel{line-height:20px}
}

/* NEWS-006: Command K (cmpFind in shell.js). One quiet search box over accounts and people: a white sheet on a gray scrim,
   thin rules, a gray group label, the row under the keys tinted. The masthead's find button opens it; on a phone it sits
   beside the menu button. */
.hdr-find{background:none;border:0;padding:8px;line-height:0;color:var(--ink-3);cursor:pointer;border-radius:var(--radius);transition:color .12s,background .12s}.hdr-find svg{display:block}.hdr-find:hover{color:var(--ink);background:var(--g1)}
@media(max-width:900px){.hdr-util .hdr-find{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid var(--rule-strong);background:#fff;color:var(--ink)}.hdr-util .hdr-find:hover{background:var(--g1)}}
body.cmdk-open{overflow:hidden}
.cmdk-scrim{position:fixed;inset:0;z-index:120;background:rgba(0,0,0,.32);display:flex;justify-content:center;align-items:flex-start;padding:12vh var(--gutter) var(--gutter)}
.cmdk-scrim[hidden]{display:none}
.cmdk{width:min(640px,100%);max-height:min(560px,76vh);display:flex;flex-direction:column;background:var(--canvas);border:1px solid var(--rule-strong);border-radius:12px;box-shadow:var(--shadow-overlay);overflow:hidden}
.cmdk-top{display:flex;align-items:center;gap:10px;padding:0 12px 0 16px;border-bottom:1px solid var(--rule)}
.cmdk-i{flex:none;color:var(--ink-3)}
.cmdk-q{flex:1;min-width:0;height:52px;border:0;outline:0;background:none;font:400 16px/24px var(--font);color:var(--ink);letter-spacing:-.01em}
.cmdk-q::-webkit-search-cancel-button{display:none}
.cmdk-q:focus,.cmdk-q:focus-visible{outline:0;box-shadow:none}
/* the box is the field: no input frame or focus ring of its own (paper.css draws one on every focused input) */
html body #cmp-find input.cmdk-q,html body #cmp-find input.cmdk-q:focus{border:0;border-radius:0;background:none;box-shadow:none;outline:0;padding:0;height:52px}
.cmdk-x{flex:none;height:28px;padding:0 6px;border:1px solid var(--rule);border-radius:4px;background:none;font:400 13px/1 var(--font);color:var(--ink-3);cursor:pointer}
.cmdk-x:hover{color:var(--ink);border-color:var(--rule-strong)}
.cmdk-list{flex:1;min-height:0;overflow-y:auto;padding:6px 0 8px}
.cmdk-g+.cmdk-g{margin-top:4px;padding-top:4px;border-top:1px solid var(--rule-soft)}
.cmdk-h{margin:0;padding:8px 16px 4px;font:400 13px/16px var(--font);color:var(--ink-3)}
.cmdk a.cmdk-it{display:flex;align-items:baseline;gap:10px;min-height:40px;padding:10px 16px;color:var(--ink);text-decoration:none;cursor:pointer}
.cmdk a.cmdk-it.on{background:var(--hover);box-shadow:inset 2px 0 0 var(--ink)}
.cmdk-n{flex:0 1 auto;min-width:0;font:500 15px/20px var(--font);overflow-wrap:anywhere}
.cmdk-m{flex:1 1 auto;min-width:0;text-align:right;font:400 13px/20px var(--font);color:var(--ink-3);overflow-wrap:anywhere}
/* A CMP Daily headline is long: one line with an ellipsis, the date and companies kept whole beside it. */
.cmdk-dly .cmdk-n{flex:1 1 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmdk-dly .cmdk-m{flex:0 0 auto;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmdk-sp{flex:none;padding:0 6px;border:1px solid var(--rule);border-radius:4px;font:400 13px/18px var(--font);color:var(--ink-3)}
.cmdk-sp-now{border-color:var(--rule-strong);color:var(--ink)}
/* Sponsor year (owner, 2026-11-17: "just say sponsor? with restrained years?"). The chip says Sponsor or Inactive
   sponsor; the latest contract year sits right after it as quiet gray numerals, one step below body, never inside the
   chip and never with a word around it. Chip and year are one group (.sp-g) that never breaks across lines. */
.sp-g{display:inline-flex;align-items:center;flex:none;white-space:nowrap;vertical-align:middle}
.sp-yr{margin-left:4px;font-size:13px;font-weight:400;font-style:normal;line-height:1;letter-spacing:0;color:var(--ink-3);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.sp-g+.sp-g{margin-left:8px}
.cmdk-note{margin:0;padding:12px 16px;font:400 15px/20px var(--font);color:var(--ink-3)}
.cmdk-keys{display:flex;gap:16px;margin:0;padding:8px 16px;border-top:1px solid var(--rule);font:400 13px/16px var(--font);color:var(--ink-3)}
.cmdk-keys kbd{display:inline-block;min-width:18px;margin-right:4px;padding:0 4px;border:1px solid var(--rule);border-radius:4px;font:400 13px/16px var(--font);text-align:center;color:var(--ink-2)}
@media(max-width:640px){
  .cmdk-scrim{padding:var(--gutter)}
  .cmdk{max-height:calc(100dvh - 2*var(--gutter))}
  .cmdk a.cmdk-it{flex-wrap:wrap;gap:2px 10px;min-height:48px}
  .cmdk-m{flex-basis:100%;text-align:left}
  .cmdk-dly .cmdk-n{flex-basis:100%}
  .cmdk-dly .cmdk-m{max-width:100%}
  .cmdk-keys{display:none}
  /* beside the phone menu button, drawn the same: 40px, no frame */
  .hdr-util .hdr-find{width:40px;height:40px;border:0;background:none}
  .hdr-util .hdr-find svg{width:20px;height:20px}
}
/* UI-078: the phone rules (docs/DESIGN_SYSTEM.md, Phone; owner 2026-11-15, "yes do it" on docs/design/phone-rules-mockup.html).
   Phones only: nothing in this block reaches a screen wider than 640px. The Filters button exists only on a phone. */
.ph-filt{display:none}
@media(max-width:640px){
  /* Rule 1. A link goes somewhere else: 15px underlined text in ink with a 40px tap area. A quiet control inside a row
     (Clear, Reset, a show-more toggle) reads as the same link, so a row never carries a box. */
  .ai-links{gap:0 20px}
  .ai-links .lnk,.x,.sb-reset{display:inline-flex;align-items:center;min-height:40px;margin:0;padding:0;border:0;border-radius:0;background:none;font:400 15px/20px var(--font);letter-spacing:0;color:var(--ink);text-decoration:underline;text-decoration-style:solid;text-decoration-color:currentColor;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}
  .ai-links .lnk:hover,.x:hover,.sb-reset:hover{border:0;color:var(--ink)}
  /* Rule 1. A button does something here: a <button>, 40px tall, 8px corners, never a pill, never 12px, never full width. */
  .btn{height:40px;padding:0 16px;border-radius:var(--radius);font-size:15px;max-width:100%}
  .tools>.btn,.tools>button,.tools>a,.form>.btn,.form>button,.act>.btn,.actions>.btn{justify-self:start;align-self:center;width:auto}
  /* Rule 3. A switch is joined: one border, inner dividers, the chosen part black. It never wraps; options that do not fit
     scroll sideways inside it, with a fade at the cut (shell.js marks .ph-cut). In a tools row it takes the line, and up to
     three options share the width. */
  .seg{display:inline-flex;flex-wrap:nowrap;gap:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;border:1px solid var(--rule-strong);border-radius:var(--radius)}
  .seg::-webkit-scrollbar{display:none}
  .seg button{flex:1 0 auto;height:40px;padding:0 14px;border:0!important;border-radius:0;font-size:15px}
  .seg button+button{border-left:1px solid var(--rule-strong)!important}
  .tools .seg,.tools .tg .seg{display:flex;width:100%}
  .tools .tg .seg button{flex:1 0 auto;min-width:0;height:40px;padding:0 14px;font-size:15px;letter-spacing:0;overflow:visible;text-overflow:clip}
  .seg.ph-cut,[data-fade].ph-cut{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
  /* A tools row's names are read aloud, not drawn (shell.js copies each one to its control); each group takes its line. */
  .tools .tg>.tgl:not(.nob){display:none}
  .tools .tg{display:block;width:100%}
  /* One Filters button: every group after the first folds behind it and opens in place under the row. */
  .ph-filt{display:inline-flex;align-items:center;gap:8px;justify-self:start}
  .tools .btn.ph-filt{margin:0}
  .ph-filt[aria-expanded=true]{border-color:var(--ink)}
  .tools.ph-folds:not(.ph-fold-open) .ph-fold{display:none!important}
  /* Rule 4. A section heading is 20px with no number, 32px above and 12px below. A list's index sits inline, 15px gray. */
  .doc>section{padding-top:32px}
  .sh{flex-wrap:wrap;gap:4px 12px;margin:0 0 12px}
  .sh .num{display:none}
  .sh h2{font-size:20px;line-height:1.3;letter-spacing:-.01em}
  .three li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px;padding-top:0}
  .three li>*{grid-column:2}
  .three li::before{grid-column:1;grid-row:1;font:400 15px/1.3 var(--font);letter-spacing:0;color:var(--ink-3)}
  .three .mt{margin-top:0;padding-top:0}
  .todo li{grid-template-columns:auto minmax(0,1fr);gap:0 8px}
  .todo li::before{font:400 15px/1.4 var(--font);color:var(--ink-3)}
  .ph-toc a{min-height:40px;font-size:15px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
  .ph-toc a::before{font:400 15px/1.4 var(--font);color:var(--ink-3)}
  /* Rule 5. Body 16px, hints 14px gray, nothing under 13px; a label above a group is sentence case in the page font. */
  body{font-size:16px;line-height:1.5}
  .lede,.read .sum,.sm .verdict,.sm-sec .sum,.sm-abs,.rd p,.cmp2 p,.dg p,.sugg p,.gaps li,.board .v,.dec .r,.three .e,.wt-card p{font-size:16px;line-height:1.5}
  .hint,.meta,.mt,.tools-note,.legend,.rng-key,.cmp-empty,.ph-more,.needs,.tools .r,.read .how,.sm-sec .how,.sh small,.gf-hint,.sync,.basis-sum,.wt-card .wt-tip,.scope-bar .sc-hint{font-size:14px;line-height:1.45}
  .hint,.meta,.mt,.tools-note,.sh small,.read .how,.sm-sec .how{color:var(--ink-3)}
  small,label,.tag,.chip,.ec,.clock,.evl,table.t th,table.t td,table.data th,table.data td .m,.ev li,.ev li .s,.ev-h,.gaps-h,.unv,.read .k,.dg .k,.wd-h,.sm-hd .kind,.sm-hd .st,.sm-pos,.sm-status,.sm-facts dt,.grade small,.fixes li small,.cmp2 .col-h,.tile .lbl,.tile .mean,.tile .word small,.todo li small,.sugg .lbl,.rd .k small,.path-v,.board .n small,.read .score small,.sched .dayh span,.sched .brk .chips,.filt .g span,.filt button,.gf-pill,.gf-pill .ct,.sb-sub,.sb-ch,.tab-mi span,.forest .hd,.forest .lb small,.forest .n,.ai-fail .ref,.scope-bar .sc-tip,.scope-bar .sc-cell,.scope-bar .sc-pill .ct,.scope-bar .sc-it small,.scope-bar .sc-btn small,table.data.stack>tbody>tr>td::before{font-size:13px}
  .sb-badge{min-width:18px;font-size:13px;line-height:18px}
  .sync .btn.quiet,.ai-fail .btn.quiet{font-size:15px}
  .hdr-here span,.cmenu-h,.scope-bar .sc-lb,.scope-bar .sc-menu h6,.scope-bar .sc-gl{font-family:var(--font);font-size:13px;letter-spacing:0;text-transform:none}
  .ph-toc .h{margin:0 0 8px;font:500 15px/1.3 var(--font);letter-spacing:0;text-transform:none;color:var(--ink)}
  /* Rule 7. One slim bar stays at the top: a page with no orientation bar keeps its masthead row (where you are and the
     menu) pinned; a page with one keeps it, and its title gives way with an ellipsis instead of widening the page. */
  body:not(:has(#cmp-stick)) #mast{position:sticky;top:0;z-index:50;background:var(--canvas)}
  .cmp-contents-toolbar{position:static}
  .stick-id{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .stick-id b{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* The edition bar's summary sits on the middle of its Edit button. */
  .scope-bar .sc-ph{align-items:center}
  .scope-bar .sc-sum{align-self:center;margin:0;line-height:20px}
  /* Menu sheet (owner, 2026-11-15, on a phone screenshot: "the nav is duplicated and missing the old polish"). A group's
     label is a quiet 14px gray line in the page font, never the same look as the pages under it; a group that holds one
     page of the same name (Overview, Klik, Feedback) shows the page alone; each page keeps its one-line description. */
  .ns-sec{padding:16px 0 0}
  .ns-h{margin:0 0 8px;font:400 14px/20px var(--font);letter-spacing:0;text-transform:none;color:var(--ink-3)}
  .ns-solo .ns-h{display:none}
  .ns-it{display:block;min-height:40px;padding:8px 10px}
  .ns-it b{font:500 16px/22px var(--font);letter-spacing:-.01em}
  .ns-it span{display:block;margin-top:0;font:400 14px/20px var(--font);color:var(--ink-3)}
  /* A chart label that would draw under 11px is hidden, not shown unreadable (shell.js cmpTinySvgText marks it). */
  .ph-tiny{display:none}
}

/* Phone v2, stage 5 (docs/design/phone-v2-system.md), Program: Brief, Agenda and its session window, Check a session, Draft an
   agenda, One more session and Plan a session. Owner, 2026-11-15 (D-140): the same improvements on desktop, built directly. One set
   of markup at every width; the pages carry body.g2. The phone rules are in the 640px query, the desktop rules in the 641px query
   after it, and nothing else in this block is outside a query. Pinned in tests/phone-v2-stage5.test.mjs and
   tests/desktop-d140-stage5.test.mjs. Page classes g2-. The session window's own rows live in public/session-coach.js. */
@media(max-width:640px){
  body.g2 #app .p2-note{padding:0}
  body.g2 #app .p2-tabs nav{padding:0}
  body.g2 .g2-ev{margin:0}
  body.g2 .p2-lede{margin:8px 0 0;font-size:16px;line-height:24px;color:var(--ink-2)}
  body.g2 .p2-hint{margin:8px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .p2-hint b,body.g2 .p2-deck b{font-weight:500;color:var(--ink)}
  body.g2 .p2-deck{margin:4px 0 0}
  /* Forms: a 14px label 6px above a full-width 44px field at 16px (so iOS does not zoom); the one black button last, full width. */
  body.g2 .g2-form{margin:0}
  body.g2 .g2-fld{display:block;margin-top:16px}
  body.g2 .g2-fld>span{display:block;margin-bottom:6px;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-fld input,body.g2 .g2-fld select,body.g2 .g2-fld textarea,body.g2 .p2-in{box-sizing:border-box;display:block;width:100%;max-width:none;height:44px;margin:0;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);color:var(--ink);font:400 16px/24px var(--font)}
  body.g2 .g2-fld textarea{height:120px;padding:10px 12px;resize:vertical}
  body.g2 .g2-fld select,body.g2 .g2-fld input{width:100%!important;height:44px!important}
  body.g2 .g2-fld select,body.g2 select.p2-in{appearance:none;-webkit-appearance:none;padding-right:36px;text-overflow:ellipsis;background:var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center}
  body.g2 .g2-end{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:32px}
  body.g2 .g2-end .p2-btn.pri{width:100%}
  body.g2 .g2-end [hidden]{display:none!important}
  body.g2 .g2-back{margin-top:24px;padding-top:8px;border-top:1px solid var(--rule)}
  body.g2 .g2-agl{margin:8px 0 0}
  body.g2 .p2-btn:disabled{opacity:.4;cursor:default}
  /* The agenda read and its Update link: one gray line and a link, never a box. */
  body.g2 .sync{display:block;margin:16px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .sync-l{display:block}
  body.g2 .sync-l b{font-weight:500;color:var(--ink)}
  body.g2 .sync .sync-btn.btn.quiet{display:inline-flex;align-items:center;min-height:40px;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--ink);font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  body.g2 .sync .sync-btn.btn.quiet:disabled{color:var(--ink-3);text-decoration:none}
  body.g2 .sync-fail{margin:8px 0 0}
  /* One more session: each idea is a block. */
  body.g2 .g2-h{margin:32px 0 0;font:500 20px/26px var(--font);letter-spacing:-.015em}
  body.g2 .g2-read{margin:12px 0 0;font-size:16px;line-height:24px;color:var(--ink-2)}
  body.g2 .g2-ideas{list-style:none;margin:16px 0 0;padding:0}
  body.g2 .g2-idea{padding:16px 0;border-top:1px solid var(--rule)}
  body.g2 .g2-idea h3{margin:0;font:500 16px/22px var(--font)}
  body.g2 .g2-idea .f{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-idea .w{margin:8px 0 0;font-size:16px;line-height:24px;color:var(--ink-2)}
  body.g2 .g2-idea .w.why{color:var(--ink)}
  body.g2 .g2-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:12px}
  body.g2 .g2-ev2{margin-top:12px}
  /* Plan a session: the chooser and the download files. */
  body.g2 .g2-find{display:grid;gap:8px;margin-top:16px}
  body.g2 .g2-find .p2-search{width:100%;max-width:none;height:44px}
  body.g2 .g2-dayh{margin:24px 0 0;padding:0 0 8px;font:500 16px/22px var(--font)}
  body.g2 .g2-slist .p2-list>li>button{text-align:left}
  body.g2 .g2-slist .p2-list>li>button,body.g2 .g2-pick .p2-list>li>button{padding-left:0;padding-right:0}
  body.g2 .g2-slist .p2-chev,body.g2 .g2-choose .p2-chev,body.g2 .sc-ans .p2-chev{display:block;flex:none;box-sizing:content-box;width:12px;height:12px;padding:0}
  body.g2 .g2-pick .p2-list>li>button.on{box-shadow:inset 2px 0 0 var(--ink);padding-left:12px}
  body.g2 .g2-slist .p2-list>li.dim .tt b{color:var(--ink-2);font-weight:400}
  body.g2 .g2-files{border-top:1px solid var(--rule)}
  body.g2 .g2-file{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--rule)}
  body.g2 .g2-file div{flex:1;min-width:0}
  body.g2 .g2-file b{display:block;font:500 16px/22px var(--font)}
  body.g2 .g2-file span{display:block;font-size:14px;line-height:20px;color:var(--ink-3)}
  /* Check a session: the chooser row and the picker sheet. */
  body.g2 .g2-src{margin-top:8px}
  body.g2 .g2-choose{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:8px 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);text-align:left;cursor:pointer;font:inherit;color:inherit}
  body.g2 .g2-choose div{flex:1;min-width:0}
  body.g2 .g2-choose .k{display:block;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-choose .t{display:block;font:500 16px/22px var(--font)}
  body.g2 #livewrap{margin-top:16px}
  body.g2 .g2-sheet{margin-top:16px}
  body.g2 .g2-sheet[data-way=paste]>summary{display:none}
  body.g2 .g2-pick{display:grid;gap:8px}
  body.g2 .g2-pick .p2-search{width:100%;max-width:none;height:44px}
  body.g2 .g2-pickbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-gl{margin:16px 0 0;font:400 14px/20px var(--font);color:var(--ink-3)}
  /* Draft an agenda: the schedule is a list by time. */
  body.g2 .g2-day{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:32px;padding-bottom:8px}
  body.g2 .g2-day>div>b{display:block;font:500 16px/22px var(--font)}
  body.g2 .g2-day span{display:block;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-day span b{font-size:inherit;line-height:inherit;color:var(--ink);font-weight:500}
  body.g2 .g2-slot{padding:12px 0;border-top:1px solid var(--rule)}
  body.g2 .g2-slot .tm{margin:0 0 4px;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-slot .tin{height:40px;font:400 16px/24px var(--font)}
  body.g2 .g2-it{display:flex;align-items:flex-start;gap:16px;padding:8px 0}
  body.g2 .g2-it>div{flex:1;min-width:0}
  body.g2 .g2-it .t{display:block;padding:0;border:0;background:none;text-align:left;font:500 16px/22px var(--font);color:var(--ink)}
  body.g2 .g2-it button.t{cursor:pointer;text-decoration:none}
  body.g2 .g2-it .f{display:block;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-it .f .weak{color:var(--ink);font-weight:500}
  body.g2 .g2-it.fixed .t{font-weight:400;color:var(--ink-2)}
  body.g2 .g2-it.out .t{color:var(--ink-3);text-decoration:line-through}
  body.g2 .g2-it>.p2-txt{flex:none;margin:-9px 0}
  body.g2 .g2-open{display:flex;align-items:center;gap:8px;padding:8px 0}
  body.g2 .g2-open>span{flex:1;min-width:0;font-size:16px;line-height:22px}
  body.g2 .g2-open>span b{font-weight:500}
  body.g2 .g2-open select.p2-in{flex:none;width:auto;max-width:44%}
  body.g2 .g2-step{flex:none;display:flex;border:1px solid var(--rule-strong);border-radius:var(--radius)}
  body.g2 .g2-step button{width:40px;height:42px;border:0;background:var(--canvas);font:400 16px/1 var(--font);color:var(--ink);cursor:pointer}
  body.g2 .g2-step b{display:grid;place-items:center;min-width:32px;border-left:1px solid var(--rule-strong);border-right:1px solid var(--rule-strong);font-weight:500;font-variant-numeric:tabular-nums}
  body.g2 .g2-act{display:flex;flex-wrap:wrap;gap:0 20px;margin:0}
  body.g2 .g2-figs{margin-top:16px;padding:0}
  body.g2 .g2-sched{margin-top:8px}
  /* Agenda: the view tabs, the score switch and the one row of count and links. */
  body.g2 .g2-views{margin-top:8px}
  body.g2 .aw-say{display:block;margin-top:16px}
  body.g2 .aw-say .aw-act{margin-top:12px}
  body.g2 .aw-m2{margin-top:0;border-top:0}
  body.g2 .g2-tools{display:grid;gap:12px;margin:12px 0 0;padding:0}
  body.g2 .g2-tools .p2-sw{display:flex}
  body.g2 .g2-tools .aw-q{width:100%;max-width:none;height:44px;box-sizing:border-box;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);font:400 16px/24px var(--font)}
  body.g2 .g2-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
  body.g2 .g2-n{font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 .g2-links{display:flex;align-items:center;flex-wrap:wrap;gap:0 20px}
  body.g2 .aw-note,body.g2 .aw-rule,body.g2 .aw-foot,body.g2 .aw-m{font-size:14px;line-height:20px}
  body.g2 .aw-xm .aw-xmd{display:none}
  /* Balance (phone only): one row a challenge. Line 1 the name and the Balance word, line 2 the share and its bar, then one
     small square a time block under its day, then the two links on one aligned row. */
  body.g2 .aw-xm>div.aw-xmr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:0 12px;padding:12px 0}
  body.g2 .aw-xm .aw-xmr>.aw-m{display:none}
  body.g2 .aw-xm .aw-xmr>.aw-lk{justify-self:start;text-align:left;font:400 16px/24px var(--font)}
  body.g2 .aw-xm .aw-xmw{display:block;font:500 14px/20px var(--font);color:var(--ink);white-space:nowrap}
  body.g2 .aw-xm .aw-xmw.aw-none{font-weight:400;color:var(--ink-3)}
  body.g2 .aw-xm .aw-xmp{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin-top:2px;font:400 14px/20px var(--font);font-variant-numeric:tabular-nums;color:var(--ink-2)}
  body.g2 .aw-xm .aw-xmp .aw-xpb{flex:1;min-width:0;height:6px;margin:0;background:var(--g1)}
  body.g2 .aw-xm .aw-xmp .aw-xpb i{display:block;height:100%;min-width:2px;background:var(--cv-now)}
  body.g2 .aw-xm .aw-xmp .aw-m{white-space:nowrap;color:var(--ink-3)}
  body.g2 .aw-xm .aw-xsl{grid-column:1/-1;display:block;margin-top:8px}
  body.g2 .aw-xm .aw-xs{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;margin-top:4px;font:400 13px/18px var(--font);color:var(--ink-3)}
  body.g2 .aw-xm .aw-xs>div{display:flex;flex-wrap:wrap;gap:4px}
  body.g2 .aw-xm .aw-xq{display:flex;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;width:auto;min-width:36px;height:36px;margin:0;padding:0;border:0;border-radius:2px;background:none;box-shadow:none;font:400 13px/1 var(--font);font-variant-numeric:tabular-nums;color:var(--ink-2)}
  body.g2 .aw-xm .aw-xq.n0{font-weight:500;color:var(--g3)}
  body.g2 .aw-xm button.aw-xq{cursor:pointer;box-shadow:inset 0 0 0 1px var(--rule)}
  body.g2 .aw-xm button.aw-xq.n2{background:var(--cv-tint-1);color:var(--ink)}
  body.g2 .aw-xm button.aw-xq.n3{background:var(--cv-tint-3);font-weight:500;color:var(--ink)}
  body.g2 .aw-xm .aw-xq .aw-xk{font-size:13px;line-height:1}
  body.g2 .aw-xm button.aw-xq[aria-expanded=true]{background:var(--ink);box-shadow:none;font-weight:500;color:var(--canvas)}
  body.g2 .aw-xm .aw-xmf{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;margin-top:4px}
  body.g2 .aw-xm .aw-xmf .aw-link{display:inline-flex;align-items:center;box-sizing:border-box;height:40px;margin:0;padding:0;font:500 13px/18px var(--font)}
  /* The scorecard row: title, then "Day 1, 9:00 am · Weak", then the fix on its own line. Weak is the one judged word, in ink. */
  body.g2 #app table.data.stack.ph-roles>tbody>tr>td.cw-w::after{content:none!important}
  body.g2 #app table.data.stack.ph-roles>tbody>tr>td.cw-w{font-size:14px;line-height:20px;font-weight:500;color:var(--ink)}
  body.g2 #app table.data.stack.ph-roles>tbody>tr>td.cw-w.old{font-weight:400;color:var(--ink-3)}
  /* Brief: the four answer rows, the pitch and the headliners. */
  body.g2 .ts-now.p2-ans{display:block}
  body.g2 .ts-now.p2-ans a{padding:14px 0}
  body.g2 .ts-pitch{font-size:16px;line-height:24px}
  body.g2 .gp-tabs{margin:8px 0 16px}
}

/* Desktop (D-140), stage 5: the same rows at 641px and wider. Controls are 32px, a sheet is a right-side panel (cmpPhoneSheet), text
   keeps a reading column of at most 760px, the form and the lists share the one hierarchy (20px sections, 16px blocks, 15px body, 13px
   small gray), and nothing is a card. */
@media(min-width:641px){
  body.g2 .sh .num{display:none}
  body.g2 .g2-ev{margin:0}
  body.g2 .p2-lede{max-width:760px;margin:8px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  body.g2 .p2-hint{max-width:760px;margin:8px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .p2-hint b,body.g2 .p2-deck b{font-weight:500;color:var(--ink)}
  body.g2 .p2-deck{max-width:760px;margin:4px 0 0}
  body.g2 .g2-form{max-width:420px;margin:0}
  body.g2 .g2-fld{display:block;margin-top:16px}
  body.g2 .g2-fld>span{display:block;margin-bottom:6px;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-fld input,body.g2 .g2-fld select,body.g2 .g2-fld textarea,body.g2 .p2-in{box-sizing:border-box;display:block;width:100%;height:32px;margin:0;padding:0 10px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);color:var(--ink);font:400 15px/20px var(--font)}
  body.g2 .g2-fld textarea{height:120px;padding:8px 10px;resize:vertical}
  body.g2 .g2-fld select,body.g2 .g2-fld input{width:100%!important;height:32px!important}
  body.g2 .g2-sheet .g2-fld:has(textarea),body.g2 .g2-sheet .g2-fld:has(.ti){max-width:760px}
  body.g2 .g2-end{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:24px}
  body.g2 .g2-end [hidden]{display:none!important}
  body.g2 .g2-back{margin-top:24px;padding-top:8px;border-top:1px solid var(--rule)}
  body.g2 .g2-agl{margin:8px 0 0}
  body.g2 .p2-btn:disabled{opacity:.4;cursor:default}
  body.g2 .sync{display:block;max-width:760px;margin:16px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .sync-l{display:block}
  body.g2 .sync-l b{font-weight:500;color:var(--ink)}
  body.g2 .sync .sync-btn.btn.quiet{display:inline-flex;align-items:center;min-height:32px;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--ink);font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  body.g2 .sync .sync-btn.btn.quiet:disabled{color:var(--ink-3);text-decoration:none}
  body.g2 .sync-fail{margin:8px 0 0}
  body.g2 .g2-h{margin:32px 0 0;font:500 20px/26px var(--font);letter-spacing:-.015em}
  body.g2 .g2-read{max-width:760px;margin:12px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  body.g2 .g2-ideas{list-style:none;margin:16px 0 0;padding:0;max-width:760px}
  body.g2 .g2-idea{padding:16px 0;border-top:1px solid var(--rule)}
  body.g2 .g2-idea h3{margin:0;font:500 16px/22px var(--font)}
  body.g2 .g2-idea .f{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-idea .w{margin:8px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  body.g2 .g2-idea .w.why{color:var(--ink)}
  body.g2 .g2-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:12px}
  body.g2 .g2-ev2{margin-top:12px}
  body.g2 .g2-find{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:16px}
  body.g2 .g2-find .p2-search{flex:1 1 280px;max-width:360px}
  body.g2 .g2-slist{max-width:760px}
  body.g2 .g2-dayh{margin:32px 0 0;padding:0 0 8px;font:500 16px/22px var(--font)}
  body.g2 .g2-slist .p2-list>li>button{text-align:left;cursor:pointer}
  body.g2 .g2-slist .p2-list>li>button,body.g2 .g2-pick .p2-list>li>button{padding-left:0;padding-right:0}
  body.g2 .g2-slist .p2-chev,body.g2 .g2-choose .p2-chev,body.g2 .sc-ans .p2-chev{display:block;flex:none;box-sizing:content-box;width:12px;height:12px;padding:0}
  body.g2 .g2-pick .p2-list>li>button.on{box-shadow:inset 2px 0 0 var(--ink);padding-left:12px}
  body.g2 .g2-slist .p2-list>li>button:hover{background:var(--hover)}
  body.g2 .g2-slist .p2-list>li.dim .tt b{color:var(--ink-2);font-weight:400}
  body.g2 .g2-files{border-top:1px solid var(--rule)}
  body.g2 .g2-file{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--rule)}
  body.g2 .g2-file div{flex:1;min-width:0}
  body.g2 .g2-file b{display:block;font:500 15px/22px var(--font)}
  body.g2 .g2-file span{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-src{margin-top:8px}
  body.g2 .g2-choose{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;max-width:560px;min-height:48px;padding:6px 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);text-align:left;cursor:pointer;font:inherit;color:inherit}
  body.g2 .g2-choose:hover{background:var(--hover)}
  body.g2 .g2-choose div{flex:1;min-width:0}
  body.g2 .g2-choose .k{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-choose .t{display:block;font:500 15px/20px var(--font)}
  body.g2 #livewrap{margin-top:16px}
  body.g2 .g2-sheet{max-width:760px;margin-top:16px}
  body.g2 .g2-sheet[data-way=paste]>summary{display:none}
  body.g2 .g2-sheet .form{max-width:420px}
  body.g2 .g2-pick{display:grid;gap:8px}
  body.g2 .g2-pick .p2-search{width:100%;max-width:none}
  body.g2 .g2-pickbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-gl{margin:16px 0 0;font:400 13px/18px var(--font);color:var(--ink-3)}
  body.g2 .g2-day{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:760px;margin-top:32px;padding-bottom:8px}
  body.g2 .g2-day>div>b{display:block;font:500 16px/22px var(--font)}
  body.g2 .g2-day span{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-day span b{font-size:inherit;line-height:inherit;color:var(--ink);font-weight:500}
  body.g2 .g2-slot{max-width:760px;padding:12px 0;border-top:1px solid var(--rule)}
  body.g2 .g2-slot .tm{margin:0 0 4px;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-slot .tin{height:32px;font:400 15px/20px var(--font)}
  body.g2 .g2-it{display:flex;align-items:flex-start;gap:16px;padding:8px 0}
  body.g2 .g2-it>div{flex:1;min-width:0}
  body.g2 .g2-it .t{display:block;padding:0;border:0;background:none;text-align:left;font:500 16px/22px var(--font);color:var(--ink)}
  body.g2 .g2-it button.t{cursor:pointer;text-decoration:none}
  body.g2 .g2-it button.t:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
  body.g2 .g2-it .f{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-it .f .weak{color:var(--ink);font-weight:500}
  body.g2 .g2-it.fixed .t{font-weight:400;color:var(--ink-2)}
  body.g2 .g2-it.out .t{color:var(--ink-3);text-decoration:line-through}
  body.g2 .g2-it>.p2-txt{flex:none}
  body.g2 .g2-open{display:flex;align-items:center;gap:12px;padding:8px 0}
  body.g2 .g2-open>span{flex:1;min-width:0;font-size:15px;line-height:22px}
  body.g2 .g2-open>span b{font-weight:500}
  body.g2 .g2-open select.p2-in{flex:none;width:220px}
  body.g2 .g2-step{flex:none;display:flex;border:1px solid var(--rule-strong);border-radius:var(--radius)}
  body.g2 .g2-step button{width:32px;height:30px;border:0;background:var(--canvas);font:400 16px/1 var(--font);color:var(--ink);cursor:pointer}
  body.g2 .g2-step button:hover{background:var(--hover)}
  body.g2 .g2-step b{display:grid;place-items:center;min-width:32px;border-left:1px solid var(--rule-strong);border-right:1px solid var(--rule-strong);font:500 15px/20px var(--font);font-variant-numeric:tabular-nums}
  body.g2 .g2-act{display:flex;flex-wrap:wrap;gap:0 20px;margin:0}
  body.g2 .g2-figs{margin-top:16px}
  body.g2 .g2-sched{margin-top:8px}
  body.g2 .g2-views{margin-top:8px}
  body.g2 .aw-say{margin-top:16px}
  body.g2 .aw-m2{max-width:760px;margin-top:0;border-top:0}
  body.g2 .g2-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:16px 0 0;padding:0}
  body.g2 .g2-tools .aw-q{flex:1 1 260px;max-width:360px;height:32px;box-sizing:border-box;padding:0 10px;border:1px solid var(--rule-strong);border-radius:var(--radius);font:400 15px/20px var(--font)}
  body.g2 .g2-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
  body.g2 .g2-n{font-size:13px;line-height:18px;color:var(--ink-3)}
  body.g2 .g2-links{display:flex;align-items:center;flex-wrap:wrap;gap:0 20px}
  body.g2 .ts-now.p2-ans{max-width:none}
  body.g2 table.data td.cw-w.weak{color:var(--ink)}
  body.g2 table.data td.tm,body.g2 table.data td.g,body.g2 table.data td.cw-w:not(.old){white-space:nowrap}
  body.g2 table.data td.tm{width:112px}
}

/* Stage 5 (Program), polish round 1: measured fixes on the built pages, each at the width it was measured. Pinned in
   tests/stage5-polish-r1.test.mjs. Shared first (type, chart ink, folds), then phone, then desktop. */
@media(min-width:0px){
body.g2 .sh h2{font:500 20px/26px var(--font);letter-spacing:-.015em}
body.g2 #app .subh h3{font:500 16px/22px var(--font);letter-spacing:0}
body.g2 .tm-h h4,body.g2 .pq-row h4,body.g2 .xe-ses h4,body.g2 .spd-cat h4{font:500 16px/22px var(--font);letter-spacing:0}
body.g2 p.bf-find{font:500 16px/24px var(--font);letter-spacing:0}
body.g2 .bf-src{font:400 13px/18px var(--font);letter-spacing:0;text-transform:none;color:var(--ink-3)}
body.g2 .xk{font:400 13px/18px var(--font);letter-spacing:0;text-transform:none;color:var(--ink-3)}
body.g2 #app small,body.g2 #app .m2,body.g2 .tvr-k,body.g2 .tvr-v,body.g2 .tvr-none{font-size:13px;line-height:18px}
body.g2 .pq-diff{font-size:15px}
body.g2 .pq-flat,body.g2 .pq-steps li,body.g2 .tm-d p{font-size:14px}
body.g2 .pq-q b{font-size:20px;line-height:26px}
body.g2 .bv-figs{padding:0}
body.g2 .bv-figs .v{font-weight:500}
/* Charts: ink bars on the gray track, one scale a block. No category colors. */
body.g2 .k1{background:var(--chart-ink)}body.g2 .k2{background:var(--chart-secondary)}body.g2 .k3{background:var(--chart-track-subtle)}body.g2 .k4{background:var(--chart-track-secondary)}
body.g2 .bv-stack i+i{box-shadow:-1px 0 0 var(--canvas)}
body.g2 .tvr-b.t i{background:var(--chart-track-subtle)}body.g2 .tvr-b.r i{background:var(--chart-ink)}
body.g2 .pts .bar i,body.g2 .bar6 i{background:var(--chart-ink)}
body.g2 .bv-gkey .a,body.g2 .bv-gr .t i.a{background:var(--chart-ink)}
/* Folds use the shared chevron, never a mono plus. */
body.g2 details.tm-s>summary::after,body.g2 details.tm-s[open]>summary::after{content:"";top:50%;right:0;width:12px;height:12px;margin-top:-6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E") center/12px no-repeat;font-size:0;transition:transform .15s var(--ease)}
body.g2 details.tm-s[open]>summary::after{transform:rotate(180deg)}
/* One rule between an empty state and the next section. */
body.g2 .doc>section .cmp-empty:last-child{border-bottom:0}
/* The row chevron and the label on a long menu button. */
body.g2 .cmenu-btn{display:block;line-height:30px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
body.g2 .g2-fld .cmenu{display:block}body.g2 .g2-fld .cmenu-btn{width:100%}
body.g2 .g2-slist .p2-list .ft>.tm{min-width:64px;font-variant-numeric:tabular-nums}
body.g2 .g2-slist .p2-list>li>button{align-items:center}
}
@media(max-width:640px){
  /* One height for the controls in a bar: the frame, the field and the buttons are all 40px, and a rule never touches the field. */
  body.g2 .p2-sw,body.g2 .g2-step{border:0;outline:1px solid var(--rule-strong);outline-offset:-1px}
  body.g2 .g2-tools{padding-bottom:12px}
  body.g2 .g2-tools .aw-q,body.g2 .g2-find .p2-search{height:40px}
  body.g2 .g2-step{overflow:hidden}
  body.g2 .g2-step button{height:40px}
  body.g2 .cmenu-btn{line-height:38px}
  body.g2 .basis{margin-left:-10px}
  body.g2 .g2-it button.t{display:flex;align-items:center;min-height:40px;margin:-9px 0}
  body.g2 .avoid label{min-height:40px}
  /* A fact line is gaps, never dots; the Dates rows drop their gray column words. */
  body.g2 #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr)):has(~td[data-ph^=meta]:not(:empty))::after{content:none}
  body.g2 #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:not(:has(.pts .bar,.tvr)){margin-right:12px}
  body.g2 #app table.data.stack.ph-roles>tbody>tr>td[data-ph^=meta]:has(>.bar6){order:5;flex:1 1 100%;margin:8px 0 0}
  body.g2 #app table.dates.stack>tbody>tr>td::before{content:none!important}
  body.g2 #app table.dates .m2{overflow-wrap:anywhere}
}
@media(min-width:641px){
  body.g2 .g2-step{border:0;outline:1px solid var(--rule-strong);outline-offset:-1px}
  body.g2 .p2-sw>*{height:32px}
  body.g2 .g2-step{overflow:hidden;height:32px}
  body.g2 .g2-step>*{height:28px;min-height:28px;font:400 13px/18px var(--font)}
  body.g2 .g2-tools{padding-bottom:12px}
  body.g2 .cmenu-btn{line-height:30px}
  body.g2 #app table.data td.tm,body.g2 #app table.data th.tm{width:140px;min-width:140px;white-space:nowrap}
  body.g2 .g2-it button.t{display:flex;align-items:center;min-height:32px;margin:-5px 0}
  body.g2 .ai-links{gap:0 20px}
  body.g2 .ai-links .lnk{min-height:32px;padding:0;border:0;border-radius:0;font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  body.g2 .sync .sync-x{display:none}
  body.g2 .bv-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px;max-width:none}
  body.g2 .bv-figs li{border-top:1px solid var(--rule)}
  /* The brief reads as sections under its tabs: no contents rail, no section numbers, one column. */
  body.g2 .brief .rail,body.g2 .cmp-contents-toolbar{display:none!important}
  body.g2 .brief .memo{grid-template-columns:minmax(0,1fr)}
  body.g2 .brief .sh{display:block}
  body.g2 .brief .sh small{display:block;margin-top:2px;font-size:13px;line-height:18px}
}

/* Stage 5 (Program), polish round 2: measured fixes on the built pages, each at the width it was measured. Pinned in
   tests/stage5-polish-r2.test.mjs. */
@media(max-width:640px){
  /* A schedule title is text with a 40px target drawn around it, so a wrapped title never runs over the line under it. */
  body.g2 .g2-it button.t{position:relative;display:block;min-height:0;margin:0;padding:0 0 8px}
  body.g2 .g2-it button.t::after{content:"";position:absolute;left:0;right:0;top:-9px;bottom:-1px}
  /* The count at the left, the links in one row at the right edge. */
  body.g2 .g2-n{flex:1 1 0;min-width:0}
  body.g2 .g2-links{flex:none;max-width:70%;justify-content:flex-end;gap:0 16px}
  /* The reference audience line sits on the gutter with its button. */
  body.g2 .basis-sum{padding-left:10px}
  /* A mix row: the label, then three fixed columns (2025, 2026, Change), then the bar across the whole width. */
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr{display:grid;grid-template-columns:76px 112px minmax(0,1fr);align-items:baseline}
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr::before,body.g2 #app table.data.mix.stack.ph-roles>tbody>tr::after{display:none}
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr>td[data-ph=primary]{grid-column:1/-1}
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr>td[data-ph^=meta]{margin:0}
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr>td[data-ph^=meta]:has(>.bar6){grid-column:1/-1;margin:8px 0 0}
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr>td[data-ph^=meta]::before{content:none}
  body.g2 #app table.data.mix.stack.ph-roles>tbody>tr>td[data-ph="meta+label"]:not(:has(>.bar6))::before{content:attr(data-label) " ";color:var(--ink-3)}
}
@media(min-width:0px){
  /* One size and line for the three kinds of change under Change, so every row is the same height. */
  body.g2 #app table.data.mix .mt,body.g2 #app table.data.mix .neg,body.g2 #app table.data.mix .pos{font-size:13px;line-height:18px}
}
@media(min-width:641px){
  body.g2 .g2-it button.t{position:relative;display:block;min-height:0;margin:0;padding:0 0 4px}
  body.g2 .g2-it button.t::after{content:"";position:absolute;left:0;right:0;top:-5px;bottom:-1px}
  body.g2 .basis-sum,body.g2 .sb-ch{font-size:13px;line-height:18px}
  /* The brief shares one two-column grid (a 48px gap, the right column at the same x), and its text keeps to a reading column. */
  body.g2 .brief .cols2{column-gap:48px}
  body.g2 .brief .num-l{column-gap:48px}
  body.g2 .bv-figs{column-gap:48px}
  body.g2 .brief .num-l.one li>span,body.g2 .brief .sold-say,body.g2 .brief p.cap,body.g2 .brief .bf-src,body.g2 .brief .cx-read{max-width:760px}
  body.g2 .brief .num-l li>span{font-size:15px;line-height:22px}
  body.g2 .brief .num-l li>span .ins{display:inline-block;margin-top:2px;color:var(--ink)}
  /* Body is 15px and gray notes 13px; the current price row is a plain marker, not a rounded row. */
  body.g2 .brief .prose,body.g2 .brief .num-l li,body.g2 .brief .facts dt,body.g2 .brief .facts dd,body.g2 .brief .tm-why,body.g2 .brief details.tm-l>summary,body.g2 .brief details.tm-s>summary,body.g2 .brief .tm-d p,body.g2 .brief .pq-steps li,body.g2 .brief .pq-flat,body.g2 .brief .pq-grid,body.g2 .brief .qa p,body.g2 .brief ol.bmv .e,body.g2 .brief .wk-say,body.g2 .brief .xe-ses p,body.g2 .brief .xe-pts,body.g2 .brief .ths-l li,body.g2 .brief .sx-cmp dd,body.g2 .brief .empty2,body.g2 .brief details.pq-last>summary,body.g2 .brief .bv-gr .l b,body.g2 .brief .xh-why{font-size:15px;line-height:22px}
  body.g2 .brief .pq-grid tr.pq-g th{font:400 13px/18px var(--font)}
  body.g2 .pq-steps li.pq-cur{border-radius:0}
  body.g2 .brief .seg button{box-sizing:border-box;height:32px}
}

/* Stage 5 (Program), polish round 3: measured fixes on the built pages, each at the width it was measured. Pinned in
   tests/stage5-polish-r3.test.mjs. Sits after round 2 and before the Phone v2 and Desktop blocks, so the rules that must win carry an id or a tag. */
@media(min-width:0px){
  /* Q and A rows use the shared chevron, never a mono plus. */
  body.g2 .qa summary{align-items:center}
  body.g2 .qa summary::after,body.g2 .qa[open] summary::after{content:"";flex:none;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E") center/12px no-repeat;transition:transform .15s var(--ease)}
  body.g2 .qa[open] summary::after{transform:rotate(180deg)}
  /* A session row on the agenda says it opens: the shared chevron at the right edge. */
  body.g2 #app table.data.ag td.ti{position:relative;padding-right:28px!important}
  body.g2 #app table.data.ag td.ti .row-go{position:absolute;right:0;top:50%;margin-top:-6px}
}
@media(max-width:640px){
  /* The pass price is a section-size figure, not a size of its own. */
  body.g2 #app .pq-q b{font:500 16px/22px var(--font);letter-spacing:-.01em}
  /* The price timeline and the Included column end on the same 16px edge as the headings: no inset on the rows, the current-row marker sits in the gutter. */
  body.g2 .pq-steps li{padding-left:0;padding-right:0}
  body.g2 .pq-steps li.pq-cur{box-shadow:none;position:relative}
  body.g2 .pq-steps li.pq-cur::before{content:"";position:absolute;left:-10px;top:0;bottom:0;width:2px;background:var(--ink)}
  body.g2 .brief .pq-grid td{padding-right:0}
  /* The pass matrix and the price list are content: 15px rows, the size the desktop prints them at, never the 14px of a hint. */
  body.g2 .brief .pq-grid,body.g2 .brief .pq-steps li{font-size:15px;line-height:20px}
  /* Reading text is 15px. */
  body.g2 #app.brief .num-l li>span,body.g2 #app.brief .prose,body.g2 #app.brief .prose b,body.g2 #app.brief .qa p{font-size:15px;line-height:22px}
  /* The edition bar's fact line wraps: the hotel and the days-out count are facts a person reads, never clipped (brief polish round 3). */
  body .scope-bar .sc-f{font-size:13px;line-height:20px;white-space:normal;text-wrap:pretty}
  /* Dates rows: the milestone is the row title, the date is a plain line, the audience and owner read as one phrase. */
  body.g2 #app table.dates .dt-w{font-size:15px!important;line-height:22px;font-weight:500;color:var(--ink)}
  body.g2 #app table.dates .dt-d{font-weight:400!important;color:var(--ink-2)}
  /* Polish round 3: the time and the score are one fact line, "Day 1, 9:00 am · Weak", both 14px/20px; the fix line under it matches. */
  body.g2 #app table.data.ag.stack>tbody>tr>td.tm{flex:0 0 auto;font-size:14px;line-height:20px;color:var(--ink-3)}
  body.g2 #app table.data.ag.stack>tbody>tr>td.fix{font-size:14px;line-height:20px}
}
@media(min-width:641px){
  /* On the Brief, Draft an agenda and Agenda a fold's chevron sits beside its label, not at the far end of a full-width row (the
     notice row on the other pages keeps its chevron at the right edge, pinned in desktop-d140-polish3). */
  body.g2 #app.brief .p2-note>summary,body.g2 #app.brief .p2-m:not(.k2f)>summary,body.g2 #frame .p2-note>summary,body.g2 #frame .p2-m:not(.k2f)>summary,body.g2 .aw-m2>summary{width:fit-content;max-width:100%}
  /* A schedule row: the title and its Leave out button share a first line. */
  body.g2 .g2-it>.p2-txt{margin:-5px 0}
  /* A figure row: the label and the number share a baseline, the small line sits under the number. */
  body.g2 .g2-figs>li>div{align-items:baseline}
  /* The desktop scale has no 14px: gray hints and empty states are 13px, the summary counts 15px. */
  body.g2 .doc .how,body.g2 .gh small,body.g2 .cmp-empty{font-size:13px;line-height:18px}
  body.g2 .tot,body.g2 .tot b{font-size:15px;line-height:22px}
  /* The headliners share the brief's 48px gutter. */
  body.g2 .brief .xh{column-gap:48px}
  /* The Dates owner has its own column on a desktop; the phrase that joins it to the audience is for a phone. */
  body.g2 table.dates .own{display:none}
}

/* Phone v2, stage 6 (docs/design/phone-v2-system.md), Operations and the rest: Shared emails, Survey questions, Headings and all surveys, Marketing, Team
   access, Usage, Guide, Your account, Ask the data, the Speakers view and Staff debrief. Owner, 2026-11-15 (D-140): the same improvements on desktop, built
   directly. One set of markup at every width; the pages carry body.g6 (with p2d g2). The phone rules are in the 640px query, the desktop rules in the 641px
   query after it; the Ask panel rules are the only ones outside a query that name a width. Pinned in tests/phone-v2-stage6.test.mjs and
   tests/desktop-d140-stage6.test.mjs. Page rules that belong to one page sit in that page's own style block. */
@media(min-width:0px){
  /* The edition select moves into the edition bar; the row that held it leaves no gap. */
  body.g6 .tools:has(>select.scope-hidden:only-child){display:none}
  /* Polish round 2: a table's first column starts at the page edge (no 12px inset beside the title and the tabs). Pinned in tests/stage6-polish-r2.test.mjs. */
  body.g6 #app table.data th:first-child,body.g6 #app table.data td:first-child{padding-left:0}
}
@media(max-width:640px){
  body.g6 .p2-frows,body.g6 .s2-figs,body.g6 .p2-list{padding:0}
  body.g6 .s2-dis{margin:0}
  /* Polish round 3: the Show more row starts on the page gutter like every row and note. */
  body.g6 .ph-more{padding-left:0;padding-right:0}
  body.g6 #app .p2-note{padding:0}
  body.g6 .p2-m{margin-top:16px}
  body.g6 .s2-figs .v small,body.g6 .p2-frows .k small{display:block;font-size:13px;line-height:18px;font-weight:400;color:var(--ink-3)}
  body.g6 #app .p2-btn.pri{min-height:44px}
  /* A page title with no edition bar is 24px here too, so the 20px sections under it have something above them. */
  body.g6 .title-row h1{font:500 24px/30px var(--font);letter-spacing:-.015em}
  /* The title and a link or lede under it stack, so the Usage link never sits against the title. */
  body.g6 .title-row{flex-direction:column;align-items:flex-start}
}
@media(min-width:641px){
  body.g6 .p2-frows,body.g6 .s2-figs{max-width:760px}
  body.g6 .p2-frows .k small,body.g6 .s2-figs .k small{display:block;font-size:13px;line-height:18px;font-weight:400;color:var(--ink-3)}
  body.g6 .p2-frows a,body.g6 .p2-frows button{min-height:44px}
  body.g6 #app .doc>section{padding-top:32px}
  body.g6 #app table.data thead th{background:var(--table-header)}
  /* Polish round 2: the lede sits under the title in a reading column, never in a second column at the far edge; a table's cells share one middle line. */
  body.g6 .title-row{display:block}
  body.g6 .title-row .sub{margin:8px 0 0;max-width:760px;text-align:left;font-size:15px;line-height:22px;color:var(--ink-2)}
  body.g6 #app table.data td{vertical-align:middle}
}
@media(min-width:0px){
  












}
@media(min-width:641px){
  




}
@media(max-width:640px){
  









}

/* D7 follow-up (2026-11-18): "Exec Leadership October 2026" is longer than the old "ELE" label, so at 901 to 1040px the edition tab pushed Setup into the Ask button. The tab labels set at 13px there make room without cutting any label. */
@media(min-width:901px) and (max-width:1040px){.hdr .tabs .tab,.hdr .tabs .tab-g>.tab{font-size:13px}}

/* D2 (owner, 2026-11-18): one header and one menu below the desktop breakpoint. The 375 phone header and menu now also draw from 641 to 900px:
   the logo and the page name (no section crumb), bare 40px icons, the menu button turning to a cross, the Ask field first in the sheet,
   one label per group and a quiet 14px list. Nothing else of the phone layout reaches a tablet. */
@media(min-width:641px) and (max-width:900px){
  .hdr{height:56px;gap:12px;padding:0 calc(var(--gutter) - 8px) 0 var(--gutter);border-bottom:1px solid var(--rule)}
  .hdr-brand{gap:0}.hdr-logo img{width:104px}.hdr-title{display:none}
  .hdr-here{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 15px/20px var(--font);letter-spacing:0}
  .hdr-here span{display:none}
  .hdr-util{gap:0}
  .hdr-menu,.stick-menu{width:40px;height:40px;min-width:40px;min-height:40px;border:0;border-radius:var(--radius);background:none;color:var(--ink)}
  .hdr-menu[aria-expanded=true],.stick-menu[aria-expanded=true]{background:none;color:var(--ink);border:0;box-shadow:inset 0 0 0 1px var(--ink)}
  .hdr-menu[aria-expanded=true] .m-bars{display:none}
  .hdr-menu[aria-expanded=true] .m-x{display:inline}
  .hdr-menu svg{width:20px;height:20px}
  .hdr-util .hdr-find{width:40px;height:40px;min-height:40px;border:0;background:none}
  .hdr-util .hdr-find svg{width:20px;height:20px}
  .nav-sheet-in{padding:16px 0 40px}


  .ns-sec{margin:0 var(--gutter);padding:16px 0 8px;border-top:1px solid var(--rule)}
  .ns-sec:first-of-type{border-top:0}
  .ns-h{margin:0;padding:0 0 4px;font:400 14px/20px var(--font);letter-spacing:0;text-transform:none;color:var(--ink-3)}
  .ns-solo .ns-h{display:none}
  .ns-it{position:relative;display:block;min-height:48px;box-sizing:border-box;margin:0 -10px;padding:10px;border:0;border-radius:8px;background:none;color:var(--ink);text-decoration:none}
  .ns-it b{display:block;font:500 16px/22px var(--font);letter-spacing:-.01em}
  .ns-it span{display:block;margin-top:2px;font:400 14px/20px var(--font);color:var(--ink-3)}
  .ns-it.ns-dup{display:none}
  .ns-it.on{background:var(--open)}.ns-it.on::before{display:none}
}

/* ==========================================================================================================================
   Phone v2, Stage 1 (docs/design/phone-v2-system.md; owner approved all mockups 2026-11-15). Layout is phone only: every rule
   that changes how a page looks sits inside the 640px query, so a wider screen renders as it did. The few rules outside it
   only hide a phone-only piece (the tour line, the sheet header, the cross) or draw one that nothing wider calls.
   Owner calls that override the mockups: the black button fills the width only at the end of a form or a sheet; section
   headings are 20px and block headings 16px; the edition bar title keeps its own size.
   ========================================================================================================================== */
.wt-offer-p,.sc-scrim,.sc-grab,.sc-sh-hd,.sc-mh,.sc-sheet-ft,.sc-sheet-done,.hdr-ed{display:none}
.hdr-menu .m-x{display:none}
@media(max-width:640px){
  .hdr-menu[aria-expanded=true] .m-bars{display:none}
  .hdr-menu[aria-expanded=true] .m-x{display:inline}
  .hdr-menu svg{width:20px;height:20px}
  /* One family and no capitals anywhere: the mono face and the uppercase kickers are gone (phone rule 5). */
  :root{--mono:var(--font)}
  body *,body *::before,body *::after{text-transform:none!important}
  body.p2-sheet-open{overflow:hidden}

  /* Type scale. Section 20/26, block 16/24, body 16/24, links and buttons 15/20, hints 14/20, floor 13. The kicker and the
     section numbers are hidden; the page's own h1 stays for screen readers when an edition bar is the title. */
  .kicker{display:none}
  h1,.title-row h1{margin:0;font:500 20px/26px var(--font);letter-spacing:-.015em}
  .title-row{padding:16px 0 0;gap:4px}
  .title-row .sub{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .title-row .sub b{display:block!important;margin:0 0 2px;font-weight:500;color:var(--ink)}
  body:has(#cmp-scope:not(.sc-noed)) .title-row h1,body:has(#cmp-scope:not(.sc-noed)) h1.p2-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body:has(#cmp-scope:not(.sc-noed)) .title-row{padding-top:8px}
  .sh h2{font:500 20px/26px var(--font);letter-spacing:-.015em}
  h3{font-weight:500;font-size:16px;line-height:24px;letter-spacing:0}
  .sh .num,.sec-n{display:none}
  .stick{display:none!important}

  /* Masthead: the logo at 104px, the page name, a 40px menu icon with no box. The edition joins the name once the edition bar
     has scrolled away. Only the masthead sticks (rule 7), and only when the page has no edition bar of its own to scroll. */
  .hdr{height:56px;gap:12px;padding:0 calc(var(--gutter) - 8px) 0 var(--gutter);border-bottom:1px solid var(--rule)}
  .hdr-brand{gap:0}.hdr-logo img{width:104px}.hdr-title{display:none}
  .hdr-here{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;max-height:none;overflow:hidden;font:500 15px/20px var(--font);letter-spacing:0}
  .hdr-here span{display:none}
  .hdr-here .hdr-ed{display:none;font-style:normal;font-weight:400;color:var(--ink-3)}
  /* The edition sits on its own gray line under the page name and is never cut (owner 2026-11-18: "the event name is getting
     clipped in the header"): 13/16, two lines at most, so the name and a long edition fit the 56px bar. */
  /* Pinned, the edition line under the page name shows whole. A long page name wraps to a second line instead of being cut (owner 2026-11-24,
     "Companies in this event" on Profile Accounts); at 18px lines two name lines and the edition fit the 56px bar. */
  #mast.p2-stuck .hdr-here{display:block;-webkit-line-clamp:none;white-space:normal;line-height:18px}
  #mast.p2-stuck .hdr-here.hdr-same{display:-webkit-box;-webkit-line-clamp:2;white-space:normal;line-height:20px}
  #mast.p2-stuck .hdr-here .hdr-ed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;overflow-wrap:anywhere;font:400 13px/16px var(--font)}
  #mast.p2-stuck .hdr-here.hdr-same .hdr-ed{display:none}
  .hdr-util{gap:0}
  .hdr-menu,.stick-menu{width:40px;height:40px;border:0;border-radius:var(--radius);background:none;color:var(--ink)}
  .hdr-menu[aria-expanded=true],.stick-menu[aria-expanded=true]{background:none;color:var(--ink);border:0;box-shadow:inset 0 0 0 1px var(--ink)}
  #mast{position:sticky;top:0;z-index:50;background:var(--canvas)}

  /* Menu sheet (owner, 2026-11-15: "the nav is duplicated and missing the old polish", then "theres a regression in main nav
     on mobile" after the phone v2 shell dropped it again). Ask the data first as a search-style row. Each page keeps its
     one-line description in 14px gray; groups are 14px gray headings with a thin rule between groups; the current page sits on a
     shaded row with an ink dot. One-page groups and duplicates stay hidden. No cost or timing in the list. */
  .nav-sheet-in{padding:16px 0 40px}


  .ns-sec{margin:0 var(--gutter);padding:16px 0 8px;border-top:1px solid var(--rule)}
  .ns-sec:first-of-type{border-top:0}
  .ns-h{margin:0;padding:0 0 4px;font:400 14px/20px var(--font);letter-spacing:0;color:var(--ink-3)}
  .ns-it{position:relative;display:block;min-height:48px;box-sizing:border-box;margin:0 -10px;padding:10px;border:0;border-radius:8px;background:none;color:var(--ink);text-decoration:none}
  .ns-it b{display:block;font:500 16px/22px var(--font);letter-spacing:-.01em}
  .ns-it span{display:block;margin-top:2px;font:400 14px/20px var(--font);color:var(--ink-3)}
  .ns-it.ns-dup{display:none}
  .ns-it.on{background:var(--open)}.ns-it.on b::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--ink);vertical-align:2px}
  .ns-it.on::before{display:none}

  /* Tour offer: one line on every page until dismissed. The desktop line and its buttons stay off. */
  .wt-offer-in.wt-offer-d{display:none}
  .wt-offer-p{display:flex;align-items:center;gap:8px;padding:4px calc(var(--gutter) - 8px) 4px var(--gutter)}
  .wt-offer-p p{flex:1;min-width:0;margin:0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .wt-offer-p a{display:inline-flex;align-items:center;min-height:40px;color:var(--ink);text-underline-offset:3px;text-decoration-thickness:1px}
  .wt-card .wt-x{width:40px;height:40px;margin:-8px -10px -8px 0}

  /* Edition bar: the edition is the page title, one fact line under it, Edit at the right (white; Done is the only black).
     Edit opens the three controls as a bottom sheet: the same .sc-in, drawn as a sheet with three 48px option rows. */
  .scope-bar{border-bottom:1px solid var(--rule)}
  .scope-bar .sc-ph{gap:12px;padding:12px var(--gutter)}
  .scope-bar .sc-sum{display:block;-webkit-line-clamp:unset;line-height:20px}
  .scope-bar .sc-t{display:block;margin:0!important;font:500 20px/26px var(--font);letter-spacing:-.015em}
  .scope-bar .sc-f{display:block;font-size:14px;line-height:20px;color:var(--ink-3);white-space:normal;text-wrap:pretty}
  .scope-bar .sc-f b{font-weight:500;color:var(--ink)}
  .scope-bar.sc-open .sc-scrim{display:block;position:fixed;inset:0;z-index:96;width:100%;padding:0;border:0;background:rgba(0,0,0,.32)}
  .scope-bar.sc-open .sc-in{position:fixed;left:0;right:0;bottom:0;z-index:97;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;max-height:88%;max-width:none;margin:0;box-sizing:border-box;padding:8px var(--gutter) max(24px,calc(16px + env(safe-area-inset-bottom)));overflow:auto;background:var(--canvas);border-radius:12px 12px 0 0;box-shadow:var(--shadow-overlay)}
  .scope-bar.sc-open .sc-grab{display:block;flex:none;width:36px;height:4px;margin:0 auto 4px;border-radius:2px;background:var(--g2)}
  .scope-bar.sc-open .sc-sh-hd{display:grid;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:48px}
  .scope-bar .sc-sh-hd h2{margin:0;font:500 16px/24px var(--font)}
  .scope-bar .sc-sh-hd .p2-txt{justify-self:start}
  .scope-bar.sc-open .sc-sheet-done{display:flex;flex:none;margin-top:16px}
  .scope-bar .sc-in>.sc-g{display:block;border-top:1px solid var(--rule)}
  .scope-bar .sc-in>.sc-g:last-of-type{border-bottom:1px solid var(--rule)}
  .scope-bar .sc-w,.scope-bar .sc-step{display:none}
  .scope-bar .sc-pick{display:block;position:static}
  .scope-bar .sc-btn{display:flex;align-items:center;gap:16px;width:100%;height:auto;min-height:48px;box-sizing:border-box;padding:8px 0;border:0;border-radius:0;background:none;font:400 16px/24px var(--font);color:var(--ink);text-align:left}
  .scope-bar .sc-btn::before{content:attr(data-cap);flex:none}
  .scope-bar .sc-btn .sc-bv{margin-left:auto;min-width:0;color:var(--ink-2);text-align:right;white-space:normal;text-wrap:balance}
  .scope-bar .sc-btn small{flex:none;margin-left:-8px;font-size:14px;color:var(--ink-3)}
  /* a row that is off says so once: the word, then "not used here" (not the word twice) */
  .scope-bar .sc-pick[data-pick=audience] .sc-btn:disabled .sc-bv{display:none}
  .scope-bar .sc-pick[data-pick=audience] .sc-btn:disabled small{margin-left:auto}
  .scope-bar .sc-btn svg{flex:none;width:12px;height:12px;transform:rotate(-90deg);color:var(--ink-3)}
  .scope-bar .sc-pick .sc-menu:not([hidden]){position:fixed;inset:8px 0 0 0;z-index:98;display:flex;flex-direction:column;width:auto;min-width:0;max-height:none;box-sizing:border-box;margin:0;padding:8px var(--gutter) max(16px,env(safe-area-inset-bottom));overflow:auto;border:0;border-radius:12px 12px 0 0;box-shadow:var(--shadow-overlay)}
  .scope-bar .sc-pick .sc-menu .sc-foot{position:sticky;bottom:0;background:var(--canvas)}
  /* A short list (Audience) is a sheet that hugs its rows, with the Filters sheet's header: the word, and a way out. */
  .scope-bar .sc-pick .sc-menu:not(.sc-wide):not([hidden]){inset:auto 0 0 0;max-height:calc(100% - 8px)}
  .scope-bar.sc-open .sc-pick .sc-menu .sc-mh{display:grid;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:48px;margin-bottom:4px}
  .scope-bar .sc-mh h2{margin:0;font:500 16px/24px var(--font)}
  .scope-bar .sc-mh .p2-txt{justify-self:start}
  /* Editions picker on a phone: the sheet scrolls as one (the quick selects, tabs and the year grid together) instead of the grid
     sitting in its own short scroller under them; the Apply bar stays pinned. */
  .scope-bar .sc-pick .sc-menu.sc-wide:not([hidden]) .sc-browse{flex:none}
  .scope-bar .sc-pick .sc-menu.sc-wide:not([hidden]) .sc-scroll{flex:none;overflow:visible}
  /* UI-110: the direct picker is the full sheet, with its header: Close and the word */
  .scope-bar.sc-solo .sc-pick .sc-menu .sc-mh{display:grid;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:48px;margin-bottom:4px}
  .scope-bar .sc-pick .sc-menu.sc-wide:not([hidden]) .sc-foot{box-shadow:0 -1px 0 var(--dr-line,var(--rule)),0 max(16px,env(safe-area-inset-bottom)) 0 var(--canvas)}
  /* A whole series is the same box as an edition: bordered, 40px, black when chosen. */
  .scope-bar .sc-ygrid tbody th>.sc-hd{display:flex;width:100%;box-sizing:border-box;min-height:40px;margin:3px 0;padding:0 8px;border:1px solid var(--rule);border-radius:6px;background:var(--canvas);font:400 13px/1.3 var(--font-body);color:var(--ink-2);text-align:left}
  .scope-bar .sc-ygrid tbody th>.sc-hd:hover{border-color:var(--ink);color:var(--ink-2);text-decoration:none}
  .scope-bar .sc-ygrid tbody th>.sc-hd.on,.scope-bar .sc-ygrid tbody th>.sc-hd.on:hover{background:var(--ink);border-color:var(--ink);color:#dfe1ec;font-weight:500}
  .scope-bar .sc-it{min-height:48px;font-size:16px;line-height:24px}
  .scope-bar .sc-it small{font-size:14px}
  .scope-bar .sc-in>.sc-note,.scope-bar .sc-in>.sc-shown{margin:8px 0 0;font-size:14px;color:var(--ink-3)}

  /* Components shared by every page's phone pass. */
  .p2-icon{flex:none;width:40px;height:40px;padding:0;border:0;background:none;display:grid;place-items:center;color:var(--ink);cursor:pointer}
  .p2-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 14px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);color:var(--ink);font:500 15px/20px var(--font);cursor:pointer;white-space:nowrap;text-decoration:none}
  .p2-btn.pri{width:100%;background:var(--ink);border-color:var(--ink);color:var(--canvas)}
  .p2-acts{display:flex;align-items:center;gap:12px}
  .p2-acts .p2-btn.pri{width:auto;flex:1}
  .p2-txt{display:inline-flex;align-items:center;min-height:40px;min-width:40px;padding:0;border:0;background:none;color:var(--ink);font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer}
  .p2-txt:disabled{color:var(--ink-3);text-decoration:none;cursor:default}
  .p2-chev{flex:none;width:12px;height:12px;color:var(--ink-3);transition:transform .15s var(--ease)}
  .p2-chev.go{transform:rotate(-90deg)}
  .p2-count{margin:0;padding:0 var(--gutter) 8px;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-empty{margin:0;padding:12px var(--gutter);font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-lede{margin:8px 0 0;font-size:16px;line-height:24px}
  .p2-blk{margin-top:32px}
  .p2-blk h3{margin:0}

  /* Notice: one quiet line, a details row. No dot, no fill, no red. */
  .p2-note{padding:0 var(--gutter)}
  .p2-note summary,.p2-m summary,.s2-dis>summary{list-style:none;cursor:pointer}
  .p2-note summary::-webkit-details-marker,.p2-m summary::-webkit-details-marker,.s2-dis>summary::-webkit-details-marker{display:none}
  .p2-note summary{display:flex;align-items:center;gap:8px;min-height:40px;font-size:14px;line-height:20px;color:var(--ink-2)}
  .p2-note summary .p2-chev,.p2-m summary .p2-chev,.s2-dis>summary .p2-chev{margin-left:auto}
  .p2-note[open]>summary .p2-chev,.p2-m[open]>summary .p2-chev,.s2-dis[open]>summary .p2-chev{transform:rotate(180deg)}
  .p2-note p{margin:0 0 8px;font-size:14px;line-height:20px;color:var(--ink-3)}

  /* Method row, one a block: "{count} · How to read this" over the method sentences, sources and downloads. */
  .p2-m{margin-top:16px;border-top:1px solid var(--rule)}
  .p2-m summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-m summary u{color:var(--ink);text-underline-offset:3px;text-decoration-thickness:1px}
  .p2-m p{margin:0 0 12px;font-size:14px;line-height:20px;color:var(--ink-2)}

  /* Disclosure row: the whole row opens or closes. */
  .s2-dis{margin:0 var(--gutter);border-top:1px solid var(--rule)}
  .s2-dis>summary{display:flex;align-items:center;gap:16px;min-height:52px}
  .s2-dis>summary b{flex:1;min-width:0;font:500 16px/22px var(--font)}
  .s2-dis>summary span{font-size:14px;line-height:20px;color:var(--ink-3);white-space:nowrap}

  /* Answer rows: the summary as the contents. Each row is a link to its section. */
  .p2-ans{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--rule)}
  .p2-ans li{border-top:1px solid var(--rule)}
  .p2-ans a{display:flex;align-items:flex-start;gap:12px;padding:14px var(--gutter);color:inherit;text-decoration:none}
  .p2-ans a:active{background:var(--hover)}
  .p2-ans div{flex:1;min-width:0}
  .p2-ans h3{margin:0;font:500 16px/22px var(--font)}
  .p2-ans p{margin:2px 0 0;font-size:15px;line-height:22px;color:var(--ink-2)}
  .p2-ans b{font-weight:500;color:var(--ink)}
  .p2-ans .p2-chev{margin-top:5px;transform:rotate(-90deg)}

  /* Filter rows (figures that filter) and figure rows (figures that do not). */
  .p2-frows,.s2-figs{list-style:none;margin:0;padding:0 var(--gutter)}
  .p2-frows li+li,.s2-figs li+li{border-top:1px solid var(--rule)}
  .p2-frows a,.p2-frows button,.s2-figs a,.s2-figs>li>div{display:flex;align-items:center;gap:16px;width:100%;min-height:48px;box-sizing:border-box;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
  /* The shared 40px control floor is !important, so the 48px filter row has to be too. */
  .p2-frows a,.p2-frows button{min-height:48px!important}
  .p2-frows .k,.s2-figs .k{flex:1;min-width:0;font-size:15px;line-height:22px;color:var(--ink-2)}
  .p2-frows .v,.s2-figs .v{font:500 16px/20px var(--font);font-variant-numeric:tabular-nums;text-align:right}
  .s2-figs .v small{display:block;font-size:13px;line-height:18px;font-weight:400;color:var(--ink-3)}
  .p2-frows .ck{flex:none;width:16px;height:16px;color:var(--ink)}
  .p2-frows [aria-pressed="true"] .k,.p2-frows [aria-current] .k{color:var(--ink);font-weight:500}
  /* Polish round 2: the figure sits on the right gutter with the chevrons below it; the selected check sits just before it. */
  .p2-frows .k{flex:1 1 auto}.p2-frows .ck{order:1;margin-left:auto}.p2-frows .v{order:2;margin-left:0;min-width:2ch;text-align:right}

  /* List rows: each row a link, a title, one figure at the right, one fact line, the chosen row ruled on the left. */
  .p2-list{margin:0;padding:0;list-style:none}
  .p2-list>li>a,.p2-list>li>button,.p2-list>li>div{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:12px var(--gutter);border:0;border-bottom:1px solid var(--rule);background:none;color:inherit;font:inherit;text-align:left;text-decoration:none}
  .p2-list .mk{flex:none;width:28px;height:28px}
  .p2-list .bd{flex:1;min-width:0}
  .p2-list .tt{display:flex;align-items:baseline;gap:12px}
  .p2-list .tt b{flex:1;min-width:0;font:500 16px/22px var(--font);overflow-wrap:anywhere}
  .p2-list .tt em{flex:none;font-style:normal;font-size:15px;line-height:22px;font-variant-numeric:tabular-nums}
  .p2-list .ft{display:flex;flex-wrap:wrap;gap:0 12px;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-list .ft b{font-weight:400;color:var(--ink)}
  .p2-list .on{box-shadow:inset 2px 0 0 var(--ink)}

  /* Tools row: a search or a Filters button, then what is on. */
  .p2-tools{display:flex;align-items:center;gap:12px;padding:4px var(--gutter) 12px}
  .p2-tools>span{flex:1;min-width:0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-search{box-sizing:border-box;flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);font:400 16px/24px var(--font)}

  /* Joined switch: one border, 40px parts, the chosen part black. Up to three options share the width; more scroll. */
  .p2-sw{display:flex;max-width:100%;overflow-x:auto;border:1px solid var(--rule-strong);border-radius:var(--radius);scrollbar-width:none}
  .p2-sw::-webkit-scrollbar{display:none}
  .p2-sw>*{flex:1 0 auto;height:40px;padding:0 14px;border:0;border-left:1px solid var(--rule-strong);background:var(--canvas);color:var(--ink);font:400 15px/20px var(--font);cursor:pointer;white-space:nowrap}
  .p2-sw>:first-child{border-left:0}
  .p2-sw>[aria-pressed="true"],.p2-sw>.on{background:var(--ink);color:var(--canvas);font-weight:500}
  .p2-sw.ph-cut{-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}

  /* Tabs: not sticky, no counts, short labels, the current one in ink with a 2px underline, scrolled into view. */
  .p2-tabs{border-bottom:1px solid var(--rule)}
  .p2-tabs nav{display:flex;gap:20px;padding:0 var(--gutter);overflow-x:auto;scrollbar-width:none}
  .p2-tabs nav::-webkit-scrollbar{display:none}
  .p2-tabs nav.ph-cut{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
  .p2-tabs nav>*{flex:none;display:inline-flex;align-items:center;height:44px;padding:0;border:0;border-bottom:2px solid transparent;background:none;color:var(--ink-3);font:400 15px/20px var(--font);text-decoration:none;cursor:pointer;white-space:nowrap}
  .p2-tabs nav>[aria-current],.p2-tabs nav>[aria-selected="true"],.p2-tabs nav>.on{color:var(--ink);font-weight:500;border-bottom-color:var(--ink)}

  /* Chart rows, never a shrunk SVG: label and figure on one line, a 6px track, an ink bar to true scale. */
  .p2-rows{margin:8px 0 0;padding:0;list-style:none}
  .p2-r{padding:8px 0}
  .p2-r .t{display:flex;align-items:baseline;gap:12px}
  .p2-r .l{flex:1;min-width:0;font-size:15px;line-height:20px;overflow-wrap:anywhere}
  .p2-r .v{flex:none;font-size:15px;line-height:20px;font-variant-numeric:tabular-nums;text-align:right}
  .p2-trk{position:relative;height:6px;margin-top:8px;border-radius:3px;background:var(--g1)}
  .p2-bar{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--ink)}
  .p2-ring{position:absolute;top:50%;width:10px;height:10px;box-sizing:border-box;border:1.5px solid var(--ink);border-radius:50%;background:var(--canvas);transform:translate(-50%,-50%)}
  .p2-tick{position:absolute;top:50%;width:2px;height:12px;background:var(--ink);transform:translate(-50%,-50%)}
  .p2-rows.hl .p2-bar{background:var(--g3)}
  .p2-rows.hl .p2-r.hi .p2-bar{background:var(--ink)}
  .p2-rows.hl .p2-r.hi .l{font-weight:500}
  .p2-r.p2-sum{padding-bottom:8px;border-bottom:1px solid var(--rule)}
  .p2-r.p2-sum .l,.p2-r.p2-sum .v{font-weight:500}

  /* The bottom sheet (cmpPhoneSheet). The long one scrolls its body and keeps its footer; Done is the one black button. */
  .p2-scrim{position:fixed;inset:0;z-index:96;background:rgba(0,0,0,.32)}
  .p2-sheet{position:fixed;left:0;right:0;bottom:0;z-index:97;display:flex;flex-direction:column;max-height:88%;box-sizing:border-box;padding:8px var(--gutter) 0;background:var(--canvas);border-radius:12px 12px 0 0;box-shadow:var(--shadow-overlay)}
  .p2-sheet.full{top:8px;max-height:none}
  .p2-sheet:focus{outline:0}
  .p2-grab{flex:none;width:36px;height:4px;margin:0 auto 4px;border-radius:2px;background:var(--g2)}
  .p2-sh-hd{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:48px}
  .p2-sh-hd h2{margin:0;font:500 16px/24px var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p2-sh-hd .p2-txt{justify-self:start}
  .p2-sbody{flex:1;min-height:0;overflow:auto;margin:0 calc(-1*var(--gutter));padding:0 var(--gutter) 16px}
  .p2-sfoot{flex:none;margin:0 calc(-1*var(--gutter));padding:12px var(--gutter) max(24px,calc(16px + env(safe-area-inset-bottom)));border-top:1px solid var(--rule);background:var(--canvas)}
  .p2-opts{border-bottom:1px solid var(--rule)}
  .p2-opt{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;height:48px;padding:0;border:0;border-top:1px solid var(--rule);background:none;color:var(--ink);font:400 16px/24px var(--font);text-align:left;cursor:pointer}
  .p2-opt .ov{margin-left:auto;min-width:0;color:var(--ink-2);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p2-opt.stk{height:60px;align-items:center}
  .p2-opt.stk .tx{flex:1;min-width:0}
  .p2-opt.stk .tx small{display:block;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-opt.stk .tx span{display:block;font-size:16px;line-height:24px}
  .p2-rad{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;height:48px;padding:0;border:0;border-top:1px solid var(--rule);background:none;color:var(--ink);font:400 16px/24px var(--font);text-align:left;cursor:pointer}
  .p2-rad i{flex:none;box-sizing:border-box;width:18px;height:18px;border-radius:50%;border:1.5px solid var(--rule-strong)}
  .p2-rad[aria-checked="true"]{font-weight:500}
  .p2-rad[aria-checked="true"] i{border:5px solid var(--ink)}

  /* Phone cut: "Show 25 more" is a link, not a quiet button. */
  .ph-more{justify-content:flex-start;gap:0 16px;padding:0 var(--gutter);border-top:0}
  .ph-more .ph-more-btn{height:auto;min-height:40px;padding:0;border:0;background:none;color:var(--ink);font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  .ph-more .ph-more-n{font-size:14px;color:var(--ink-3)}

  /* Number marks: weight only, never a gray pill (cmpMarkNumbers). */
  .rng,.pair,.lead .rng,.lead .pair{margin:0;padding:0;border-radius:0;background:none;font-size:inherit;font-weight:500;cursor:auto}
  .rng.r-few{font-weight:400}

  /* Polish round 1. The measured misses from the built pages, each fixed at its cause. */
  /* A link row wraps inside its column instead of pushing the page sideways. */
  .ov-more .ov-to{justify-content:flex-start;min-width:0;max-width:100%}
  .ov-more .ov-to a{flex-wrap:wrap;min-width:0;max-width:100%;white-space:normal}
  .ov-more .ov-to a b{min-width:0;white-space:normal}
  /* Section and tab numbers are gone, and the tab row reads at 15px on a 44px target. */
  .wrap nav.qnav a .num,.idx-row .idx-num{display:none}
  .wrap nav.qnav a{min-height:44px;font:400 15px/20px var(--font)}
  .wrap a.idx-row{grid-template-columns:minmax(0,1fr)}
  .idx-row .idx-q{grid-column:1}
  .seg-pat{font-size:13px}
  /* Block and question headings are 16px; the page figures share one size; the lead reads as body text. */
  h3.ev-title,.idx-row .idx-q,p.ov-find,.ov ol.mv .a,.ov ol.mv.ov-moves .a{font:500 16px/22px var(--font);letter-spacing:0}
  .lead{font:400 16px/24px var(--font);letter-spacing:0}
  .ov-kp dd,.ov-strip .v b,.kpis dd{font:500 20px/24px var(--font);letter-spacing:-.015em}
  .cw-say{font:500 20px/26px var(--font);letter-spacing:-.015em}
  /* Bars are ink on a gray track; the stacks use ink and grays and keep their legend. */
  .ov .pts .bar i{background:var(--ink)}
  .ov .k1{background:var(--ink)}.ov .k2{background:var(--g4)}.ov .k3{background:var(--g3)}.ov .k4{background:var(--g2)}
  /* The Profile notice sits close under the tour line, with room above and below its text; an empty title row takes no height. */
  body:has(#cmp-scope:not(.sc-noed)) .title-row:has(#scopeLine){padding:0}
  .sc-notice{margin:8px 0 0;padding:12px 0}
  /* The fix line under a session is its own full-width row, with no leading dot. */
  table.data.stack.ph-roles>tbody>tr>td.fix{flex:1 1 100%;margin:2px 0 0}
  table.data.stack.ph-roles>tbody>tr>td.fix::before{content:none!important}
  /* Controls reach the 15px and 40px of the system. */
  .pf-fbtn,.aw-btn{font:500 15px/20px var(--font)}
  .wt-offer-p a{font-size:15px}
  .ov-more>a,.ov-more .ov-to a{display:inline-flex;align-items:center;min-height:40px;font-size:15px}
  /* Polish round 2. A two-line notice has room above and below its text; the tools row sits 8px under it. */
  .p2-note summary{box-sizing:border-box;padding:10px 0}
  .p2-tools{padding-top:8px}
  .p2-note summary,.p2-ans p{text-wrap:pretty}
  /* A contents row is one short answer: two lines at most. */
  .p2-ans p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  /* Stage 3 (Audience pages). Shared pieces: two hero figures, a deck line, a quiet disclosure row, the one strip, the share
     bar rows the Exchange projects page builds (x2-), and the project rows every page that lists Exchange projects shares
     (public/xp-rows.js). Phone only; nothing here reaches a wider screen. */
  .p2-hero{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:16px 0 0}
  .p2-hero>div{min-width:0}
  .p2-hero dt{font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-hero dd{margin:4px 0 0;font:500 20px/26px var(--font);letter-spacing:-.015em;font-variant-numeric:tabular-nums}
  .p2-hero small{display:block;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-deck{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .p2-dis{margin:16px 0 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
  .p2-dis>summary{list-style:none;display:flex;align-items:center;gap:16px;min-height:52px;font:500 16px/22px var(--font);cursor:pointer}
  .p2-dis>summary::-webkit-details-marker{display:none}
  .p2-dis>summary span{margin-left:auto;font:400 14px/20px var(--font);color:var(--ink-3)}
  .p2-dis>summary .p2-chev{margin-left:0}
  .p2-dis>summary span+.p2-chev{margin-left:0}
  .p2-dis[open]>summary .p2-chev{transform:rotate(180deg)}
  .p2-strip{display:flex;height:16px;gap:2px;margin:16px 0 0}
  .p2-strip i{display:block;background:var(--ink-3)}
  .p2-strip i.on{background:var(--ink)}
  .x2-more{margin-top:8px}
  .p2-hl-line{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  /* Project rows (x2-): the project leads, then one gray line, a chevron when the row opens. */
  .x2-grp{display:flex;align-items:baseline;gap:12px;margin:24px 0 0;padding:0 0 8px;font:500 15px/20px var(--font)}
  .x2-grp:first-child{margin-top:8px}
  .x2-grp .c{margin-left:auto;font:400 14px/20px var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
  .x2-list{margin:0;padding:0;list-style:none}
  .x2-li{position:relative;border-top:1px solid var(--rule)}
  .x2-li:last-child{border-bottom:1px solid var(--rule)}
  .x2-row{display:flex;gap:12px;align-items:flex-start;width:100%;min-height:44px;margin:0;padding:12px 0;border:0;background:none;text-align:left;color:inherit;font:inherit;cursor:pointer;text-decoration:none}
  .x2-row:active{background:var(--hover)}
  .x2-row>div{flex:1;min-width:0}
  .x2-row .ti{display:block;font:500 16px/22px var(--font);color:var(--ink)}
  /* The fact line wraps; items are separated by a gap, never a dot, and nothing is cut with an ellipsis. */
  .x2-row .fa{display:flex;flex-wrap:wrap;gap:0 12px;min-width:0;margin-top:4px;font-size:14px;line-height:20px;color:var(--ink-3)}
  .x2-row .fa>*{flex:0 1 auto;min-width:0;overflow-wrap:anywhere}
  .x2-row .p2-chev{margin-top:5px;transform:rotate(-90deg)}
  .x2-row[aria-expanded] .p2-chev{transform:none}
  .x2-row[aria-expanded="true"] .p2-chev{transform:rotate(180deg)}
  .x2-row .none{color:var(--ink-3)}
  .x2-li.x2-none .x2-row{cursor:default}
  .x2-det{padding:0 0 16px}
  .x2-det .lab{margin:12px 0 4px;font-size:14px;line-height:20px;color:var(--ink-3)}
  .x2-det .desc{margin:0 0 8px;font-size:15px;line-height:22px;overflow-wrap:anywhere}
  .x2-facts{margin:12px 0 0;display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;font-size:14px;line-height:20px}
  .x2-facts dt{color:var(--ink-3)}
  .x2-facts dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
  .x2-count{margin:16px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  .x2-li.x2-on{box-shadow:inset 2px 0 0 var(--ink);padding-left:12px}
  .x2-li.x2-on .x2-row{padding-left:0}
  .x2-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:16px 0 0;font-size:14px;line-height:20px;color:var(--ink-3)}
  /* "Show as a table" and "Show the numbers" (UI-097: moved here from profile.html so every chart page shares one fold key). */
  details.p2-tbl{margin:0 0 12px}
  details.p2-tbl>summary{display:inline-flex;align-items:center;min-height:40px;color:var(--ink);font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;list-style:none}
  details.p2-tbl>summary::-webkit-details-marker{display:none}
  details.p2-tbl .tblwrap{margin-top:8px}
}

/* ==========================================================================================================================
   Desktop (D-140), stages 1 and 2: the shared pieces at 641px and wider. Owner, 2026-11-15: "we need these ux improvements to
   influence and improve desktop too. end to end." Same hierarchy and components as the phone, drawn for a mouse: controls are
   32px, a sheet is a right-side panel, one black button sits at the end of a form or panel at its natural width, text keeps a
   reading column of at most 760px, rows may run in columns of two or three, and nothing is a card. The phone rules above sit in
   the 640px query and are not touched by anything here.
   ========================================================================================================================== */
@media(min-width:641px){
  :root{--panel-w:440px}
  body.p2-sheet-open{overflow:hidden}
  .wt-offer-p a{font-size:15px}
  /* Polish round 2 (audience and exchange): the loading line is 15px, the one body size. */
  .cmp-loading{font-size:15px;line-height:20px}
  /* The agenda row's chevron keeps 16px clear of the Score column and sits on the title's first line. */
  body.g2 #app table.data.ag td.ti{padding-right:44px!important}
  body.g2 #app table.data.ag td.ti .row-go{right:16px;top:11px;margin-top:0}

  /* Edition bar: the edition is the page title over one fact line, Edit at the right. Edit opens the three controls as a panel at
     the right of the screen (the phone's sheet, the same markup), over a scrim. */
  .scope-bar{border-bottom:1px solid var(--rule)}
  .scope-bar .sc-ph{display:flex;align-items:center;gap:16px;max-width:calc(1200px + 2*var(--gutter));margin:0 auto;padding:16px var(--gutter)}
  .scope-bar .sc-sum{flex:1;min-width:0;display:block}
  .scope-bar .sc-t{display:block;margin:0;font:500 24px/30px var(--font);letter-spacing:-.02em}
  .scope-bar .sc-f{display:block;margin-top:2px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .scope-bar .sc-f b{font-weight:500;color:var(--ink)}
  .scope-bar:not(.sc-open) .sc-in{display:none}
  .scope-bar.sc-open .sc-scrim{display:block;position:fixed;inset:0;z-index:96;width:100%;padding:0;border:0;background:rgba(0,0,0,.32)}
  .scope-bar.sc-open .sc-in{position:fixed;top:0;right:0;bottom:0;z-index:97;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;width:min(var(--panel-w),100vw);max-width:none;margin:0;box-sizing:border-box;padding:16px 24px 24px;overflow:auto;background:var(--canvas);box-shadow:var(--shadow-overlay)}
  .scope-bar.sc-open .sc-sh-hd{display:grid;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:40px}
  .scope-bar .sc-sh-hd h2{margin:0;font:500 16px/24px var(--font)}
  .scope-bar .sc-sh-hd .p2-txt{justify-self:start}
  .scope-bar.sc-open .sc-sheet-done{display:inline-flex;flex:none;align-self:flex-start;margin-top:24px}
  .scope-bar .sc-in>.sc-g{display:block;border-top:1px solid var(--rule)}
  .scope-bar .sc-in>.sc-g:last-of-type{border-bottom:1px solid var(--rule)}
  .scope-bar .sc-w,.scope-bar .sc-step{display:none}
  .scope-bar .sc-pick{display:block;position:static}
  .scope-bar .sc-btn{display:flex;align-items:center;gap:16px;width:100%;height:48px;box-sizing:border-box;padding:0;border:0;border-radius:0;background:none;font:400 15px/22px var(--font);color:var(--ink);text-align:left}
  .scope-bar .sc-btn:hover:not(:disabled){background:none}
  .scope-bar .sc-btn::before{content:attr(data-cap);flex:none}
  .scope-bar .sc-btn .sc-bv{margin-left:auto;min-width:0;color:var(--ink-2);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .scope-bar .sc-btn small{flex:none;margin-left:-8px;font-size:13px;color:var(--ink-3)}
  .scope-bar .sc-pick[data-pick=audience] .sc-btn:disabled .sc-bv{display:none}
  .scope-bar .sc-pick[data-pick=audience] .sc-btn:disabled small{margin-left:auto}
  .scope-bar .sc-btn svg{flex:none;width:12px;height:12px;transform:rotate(-90deg);color:var(--ink-3)}
  .scope-bar .sc-pick .sc-menu:not([hidden]),.scope-bar .sc-pick .sc-menu.sc-wide:not([hidden]){position:fixed;top:0;right:0;bottom:0;left:auto!important;z-index:98;display:flex;flex-direction:column;width:min(var(--panel-w),100vw);max-width:none;min-width:0;max-height:none;box-sizing:border-box;margin:0;padding:16px 24px;overflow:auto;border:0;border-radius:0;box-shadow:var(--shadow-overlay)}
  .scope-bar .sc-pick .sc-menu.sc-wide:not([hidden]){width:min(720px,100vw)}
  /* the year grid fits the drawer: every year column shares the width, so no year sits off the right edge (owner, 2026-11-16) */
  .scope-bar .sc-pick .sc-menu.sc-wide table.sc-ygrid{min-width:0}.scope-bar .sc-pick .sc-menu.sc-wide .sc-ygrid th:first-child{width:120px}
  /* UI-110: the direct picker hangs under the edition name (shell.js, cmpScopeBar._place sets where), not at the right edge */
  .scope-bar.sc-solo .sc-pick .sc-menu.sc-wide:not([hidden]){top:var(--sc-t,64px);left:var(--sc-l,16px)!important;right:auto;bottom:auto;width:var(--sc-w,min(720px,calc(100vw - 32px)));height:auto;max-height:var(--sc-h,70vh);padding:12px 16px 0;border:1px solid var(--rule);border-radius:8px;box-shadow:var(--shadow-overlay)}
  .scope-bar.sc-solo .sc-pick .sc-menu.sc-wide .sc-mh{display:none!important}
  .scope-bar .sc-pick .sc-menu .sc-foot{position:sticky;bottom:0;background:var(--canvas)}
  .scope-bar.sc-open .sc-pick .sc-menu .sc-mh{display:grid;flex:none;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:40px;margin-bottom:8px}
  .scope-bar .sc-mh h2{margin:0;font:500 16px/24px var(--font)}
  .scope-bar .sc-mh .p2-txt{justify-self:start}
  .scope-bar .sc-it{min-height:48px;font-size:15px}
  .scope-bar .sc-in>.sc-note,.scope-bar .sc-in>.sc-shown{margin:8px 0 0;font-size:13px;color:var(--ink-3)}

  /* Notice: one quiet line that opens to the rest. No dot, no fill, no red. */
  .p2-note{max-width:none}
  .p2-note>p{max-width:760px}
  .p2-note summary,.p2-m summary,.s2-dis>summary,.p2-dis>summary{list-style:none;cursor:pointer}
  .p2-note summary::-webkit-details-marker,.p2-m summary::-webkit-details-marker,.s2-dis>summary::-webkit-details-marker{display:none}
  .p2-note summary{display:flex;align-items:center;gap:8px;min-height:32px;font-size:13px;line-height:18px;color:var(--ink-2)}
  .p2-note summary .p2-chev,.p2-m summary .p2-chev,.s2-dis>summary .p2-chev{margin-left:auto}
  .p2-note[open]>summary .p2-chev,.p2-m[open]>summary .p2-chev,.s2-dis[open]>summary .p2-chev{transform:rotate(180deg)}
  .p2-note p{margin:0 0 8px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-chev{flex:none;width:12px;height:12px;color:var(--ink-3);transition:transform .15s var(--ease)}
  .p2-chev.go{transform:rotate(-90deg)}

  /* Buttons, selects, menus, fields and links. 32px controls at 13/18 (D-201, Event pace .ep-back, .sel); the one black button sits at the end of a form or panel at its natural width. */
  .btn{box-sizing:border-box;height:32px;min-height:32px;padding:0 12px;font-weight:500}
  select.sel,button.sel,a.sel,span.sel{box-sizing:border-box;height:32px;min-height:32px;padding:0 30px 0 12px;font:400 13px/18px var(--font)}
  .wrap.page :is(input[type=search],input[type=text],input:not([type]),input[type=email],input[type=number],.p2-search):not(.ep-x){box-sizing:border-box;height:32px;min-height:32px;font:400 13px/18px var(--font)}
  .p2-icon{flex:none;width:32px;height:32px;padding:0;border:0;background:none;display:grid;place-items:center;color:var(--ink);cursor:pointer}
  .p2-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:32px;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);background:var(--canvas);color:var(--ink);font:500 13px/18px var(--font);cursor:pointer;white-space:nowrap;text-decoration:none}
  .p2-btn:hover{background:var(--hover)}
  .p2-btn.pri{background:var(--ink);border-color:var(--ink);color:var(--canvas)}
  .p2-btn.pri:hover{background:var(--g5)}
  .p2-acts{display:flex;align-items:center;gap:12px}
  .p2-txt{display:inline-flex;align-items:center;min-height:32px;padding:0;border:0;background:none;color:var(--ink);font:400 13px/18px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer}
  .p2-txt:disabled{color:var(--ink-3);text-decoration:none;cursor:default}
  .p2-count{margin:0;padding:0 0 8px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-empty{margin:0;padding:12px 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-lede{max-width:760px;margin:8px 0 0;font-size:15px;line-height:22px}
  .p2-blk{margin-top:24px}
  .p2-blk h3{margin:0}

  /* Method row, one a block: "{count} · How to read this" over the method sentences, sources and downloads. */
  .p2-m{margin-top:8px;border-top:1px solid var(--rule)}
  .p2-m summary{display:flex;align-items:center;gap:8px;min-height:32px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-m summary u{color:var(--ink);text-underline-offset:3px;text-decoration-thickness:1px;white-space:nowrap}
  .p2-m>p{max-width:760px;margin:0 0 12px;font-size:15px;line-height:22px;color:var(--ink-2)}
  .p2-m .p2-txt{font-size:13px}

  /* Disclosure row: the whole row opens or closes. */
  .s2-dis{max-width:760px;margin:0;border-top:1px solid var(--rule)}
  .s2-dis>summary{display:flex;align-items:center;gap:16px;min-height:40px}
  .s2-dis>summary b{flex:1;min-width:0;font:500 15px/20px var(--font)}
  .s2-dis>summary span{font-size:13px;line-height:18px;color:var(--ink-3);white-space:nowrap}

  /* Answer rows: the summary as the contents, two columns where there are enough of them. Each row is a link to its section. */
  .p2-ans{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;border-bottom:1px solid var(--rule)}
  .p2-ans li{border-top:1px solid var(--rule)}
  .p2-ans a{display:flex;align-items:flex-start;gap:12px;padding:8px 0;color:inherit;text-decoration:none}
  .p2-ans a:hover h3{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
  .p2-ans div{flex:1;min-width:0}
  .p2-ans h3{margin:0;font:500 15px/20px var(--font)}
  .p2-ans p{margin:2px 0 0;font-size:13px;line-height:18px;color:var(--ink-2)}
  .p2-ans b{font-weight:500;color:var(--ink)}
  .p2-ans .p2-chev{margin-top:4px;transform:rotate(-90deg)}
  .p2-ans li[hidden]{display:none}

  /* Filter rows (figures that filter) and figure rows (figures that do not): thin rules, a reading column. */
  .p2-frows,.s2-figs{list-style:none;margin:0;padding:0;max-width:760px}
  .p2-frows li+li,.s2-figs li+li{border-top:1px solid var(--rule)}
  .p2-frows a,.p2-frows button,.s2-figs a,.s2-figs>li>div{display:flex;align-items:center;gap:16px;width:100%;min-height:32px;box-sizing:border-box;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
  .p2-frows .k,.s2-figs .k{flex:1;min-width:0;font-size:13px;line-height:18px;color:var(--ink-2)}
  .p2-frows .v,.s2-figs .v{font:500 13px/18px var(--font);font-variant-numeric:tabular-nums;text-align:right}
  .s2-figs .v small{display:block;font-size:13px;line-height:18px;font-weight:400;color:var(--ink-3)}
  .p2-frows .ck{flex:none;width:16px;height:16px;color:var(--ink)}
  .p2-frows [aria-pressed="true"] .k,.p2-frows [aria-current] .k{color:var(--ink);font-weight:500}

  /* List rows: a title, one figure at the right, one fact line; the chosen row is ruled on the left. */
  .p2-list{margin:0;padding:0;list-style:none}
  .p2-list>li>a,.p2-list>li>button,.p2-list>li>div{display:flex;align-items:flex-start;gap:12px;width:100%;box-sizing:border-box;padding:8px 0;border:0;border-bottom:1px solid var(--rule);background:none;color:inherit;font:inherit;text-align:left;text-decoration:none}
  .p2-list>li>a:hover{background:var(--hover)}
  .p2-list .mk{flex:none;width:28px;height:28px}
  .p2-list .bd{flex:1;min-width:0}
  .p2-list .tt{display:flex;align-items:baseline;gap:12px}
  .p2-list .tt b{flex:1;min-width:0;font:500 13px/18px var(--font);overflow-wrap:anywhere}
  .p2-list .tt em{flex:none;font-style:normal;font-size:13px;line-height:18px;font-variant-numeric:tabular-nums}
  .p2-list .ft{display:flex;flex-wrap:wrap;gap:0 12px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-list .ft b{font-weight:400;color:var(--ink)}
  .p2-list .on{box-shadow:inset 2px 0 0 var(--ink)}

  /* Tools row: a search or a Filters button, then what is on. */
  .p2-tools{display:flex;align-items:center;gap:16px;padding:8px 0}
  /* Tools row (UI-047): one 8px band above the rule, controls 24px apart. */
  .tools{margin-top:16px;padding:8px 0;gap:8px 24px}
  .tools .r{line-height:18px}
  /* Figure rows (Event pace .ep-strip): 20/26 figures over 13/18 labels, one 12px band. */
  .kpis{padding:12px 0;gap:16px}
  .kpis>div{gap:2px}
  .p2-tools>span{flex:1;min-width:0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-search{box-sizing:border-box;flex:1;min-width:0;max-width:360px;height:32px;padding:0 12px;border:1px solid var(--rule-strong);border-radius:var(--radius);font:400 13px/18px var(--font)}

  /* Switch (D-201, D-204; Event pace .ep-q): plain 13px text in gray, the chosen one ink at 500 with a 1px underline. 32px tall, 24px apart, no box.
     The phone keeps the joined switch (its rules are in the 640px blocks). In the page (#app) only, at the page shell's strength, so a page's own switch rules
     do not half-apply; a switch in a sheet or dialog keeps its own look. */
  body.p2d #app .p2-sw,body.p2d #app .seg{display:inline-flex;align-items:center;gap:0 24px;max-width:100%;border:0;border-radius:0;background:none;overflow:visible;box-shadow:none}
  body.p2d #app .p2-sw>*,body.p2d #app .seg button{display:inline-flex;align-items:center;height:32px;min-height:32px;margin:0;padding:0;border:0;border-bottom:1px solid transparent;border-radius:0;background:none;color:var(--ink-2);font:400 13px/18px var(--font);cursor:pointer;white-space:nowrap;box-shadow:none;transition:none}
  body.p2d #app .p2-sw>*+*,body.p2d #app .seg button+button{border-left:0}
  body.p2d #app .p2-sw>*:hover,body.p2d #app .seg button:hover{color:var(--ink);background:none}
  body.p2d #app .p2-sw>[aria-pressed="true"],body.p2d #app .p2-sw>.on,body.p2d #app .seg button[aria-pressed=true],body.p2d #app .seg button.on{color:var(--ink);font-weight:500;border-bottom-color:var(--ink);background:none}

  /* Tabs: not sticky, no counts, short labels, the current one in ink with a 2px underline. */
  .p2-tabs{border-bottom:1px solid var(--rule)}
  .p2-tabs nav{display:flex;gap:24px;overflow-x:auto;scrollbar-width:none}
  .p2-tabs nav::-webkit-scrollbar{display:none}
  .p2-tabs nav>*{flex:none;display:inline-flex;align-items:center;height:44px;padding:0;border:0;border-bottom:2px solid transparent;background:none;color:var(--ink-3);font:400 15px/20px var(--font);text-decoration:none;cursor:pointer;white-space:nowrap}
  .p2-tabs nav>*:hover{color:var(--ink)}
  .p2-tabs nav>[aria-current],.p2-tabs nav>[aria-selected="true"],.p2-tabs nav>.on{color:var(--ink);font-weight:500;border-bottom-color:var(--ink)}

  /* Chart rows, never a shrunk SVG: label and figure on one line, a 6px track, an ink bar to true scale, one column. */
  .p2-rows{margin:8px 0 0;padding:0;list-style:none;max-width:560px}
  .p2-r{padding:4px 0;break-inside:avoid}
  .p2-r .t{display:flex;align-items:baseline;gap:12px}
  .p2-r .l{flex:1;min-width:0;font-size:13px;line-height:18px;overflow-wrap:anywhere}
  .p2-r .v{flex:none;font-size:13px;line-height:18px;font-variant-numeric:tabular-nums;text-align:right}
  .p2-trk{position:relative;height:6px;margin-top:4px;border-radius:3px;background:var(--g1)}
  .p2-bar{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--ink)}
  .p2-ring{position:absolute;top:50%;width:10px;height:10px;box-sizing:border-box;border:1.5px solid var(--ink);border-radius:50%;background:var(--canvas);transform:translate(-50%,-50%)}
  .p2-tick{position:absolute;top:50%;width:2px;height:12px;background:var(--ink);transform:translate(-50%,-50%)}
  .p2-rows.hl .p2-bar{background:var(--g3)}
  .p2-rows.hl .p2-r.hi .p2-bar{background:var(--ink)}
  .p2-rows.hl .p2-r.hi .l{font-weight:500}
  .p2-r.p2-sum{padding-bottom:8px;border-bottom:1px solid var(--rule)}
  .p2-r.p2-sum .l,.p2-r.p2-sum .v{font-weight:500}

  /* The side panel (cmpPhoneSheet) at the right of the screen. The long one scrolls its body and keeps its footer; Done is the one black button. */
  .p2-scrim{position:fixed;inset:0;z-index:96;background:rgba(0,0,0,.32)}
  .p2-sheet{position:fixed;top:0;right:0;bottom:0;z-index:97;display:flex;flex-direction:column;width:min(var(--panel-w),100vw);box-sizing:border-box;padding:16px 24px 0;background:var(--canvas);box-shadow:var(--shadow-overlay)}
  .p2-sheet.full{width:min(560px,100vw)}
  .p2-sheet:focus{outline:0}
  .p2-grab{display:none}
  .p2-sh-hd{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:40px}
  .p2-sh-hd h2{margin:0;font:500 16px/24px var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p2-sh-hd .p2-txt{justify-self:start}
  .p2-sbody{flex:1;min-height:0;overflow:auto;margin:0 -24px;padding:0 24px 16px}
  .p2-sfoot{flex:none;margin:0 -24px;padding:16px 24px;border-top:1px solid var(--rule);background:var(--canvas)}
  .p2-opts{border-bottom:1px solid var(--rule)}
  .p2-opt{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;height:48px;padding:0;border:0;border-top:1px solid var(--rule);background:none;color:var(--ink);font:400 15px/22px var(--font);text-align:left;cursor:pointer}
  .p2-opt .ov{margin-left:auto;min-width:0;color:var(--ink-2);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p2-opt.stk{height:60px}
  .p2-opt.stk .tx{flex:1;min-width:0}
  .p2-opt.stk .tx small{display:block;font-size:13px;line-height:18px;color:var(--ink-3)}
  .p2-opt.stk .tx span{display:block;font-size:15px;line-height:22px}
  .p2-rad{box-sizing:border-box;display:flex;align-items:center;gap:16px;width:100%;height:44px;padding:0;border:0;border-top:1px solid var(--rule);background:none;color:var(--ink);font:400 15px/22px var(--font);text-align:left;cursor:pointer}
  .p2-rad i{flex:none;box-sizing:border-box;width:18px;height:18px;border-radius:50%;border:1.5px solid var(--rule-strong)}
  .p2-rad[aria-checked="true"]{font-weight:500}
  .p2-rad[aria-checked="true"] i{border:5px solid var(--ink)}

  /* Number marks: weight only, never a gray pill. */
  .rng,.pair,.lead .rng,.lead .pair{margin:0;padding:0;border-radius:0;background:none;font-size:inherit;font-weight:500;cursor:auto}
  .rng.r-few{font-weight:400}

  /* One family and no capitals on a page that opts in with body.p2d: the mono face and the uppercase kickers are gone. */
  body.p2d{--mono:var(--font);--font-mono:var(--font)}
  body.p2d *,body.p2d *::before,body.p2d *::after{text-transform:none!important}
  /* The edition bar is the page title; the page's own h1 stays for screen readers (index.html says the same for the Profile page). */
  body.p2d:has(#cmp-scope:not(.sc-noed)) .title-row h1{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.p2d:has(#cmp-scope:not(.sc-noed)) .title-row .kicker{display:none}

  /* Polish round 2: one tab type (14px, same tracking; buttons do not inherit either) and the active tab keeps its weight so it never
     pushes the tabs after it; the Ask control is 32px like every other desktop control. */
  .tabs .tab,.tab-g>.tab{font:400 15px/1.2 var(--font);letter-spacing:-.005em}
  .tabs .tab.on,.tab-g>.tab.on{font-weight:400}


  /* Project rows (x2-): one line where it fits, the second line under it where it does not. */
  .x2-grp{display:flex;align-items:baseline;gap:12px;margin:32px 0 0;padding:0 0 8px;font:500 16px/22px var(--font)}
  .x2-grp:first-child{margin-top:8px}
  .x2-grp .c{margin-left:auto;font:400 13px/18px var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
  .x2-list{margin:0;padding:0;list-style:none}
  .x2-li{position:relative;border-top:1px solid var(--rule)}
  .x2-li:last-child{border-bottom:1px solid var(--rule)}
  .x2-row{display:flex;gap:16px;align-items:flex-start;width:100%;min-height:44px;margin:0;padding:12px 0;border:0;background:none;text-align:left;color:inherit;font:inherit;cursor:pointer;text-decoration:none}
  .x2-row:hover .ti:not(.none){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  .x2-row>div{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 32px}
  .x2-row .ti{flex:1 1 360px;min-width:0;display:block;font:500 15px/22px var(--font);color:var(--ink)}
  /* A long project line stops at two lines with an ellipsis; the open row shows the whole line and the delegate's words under it. */
  .x2-row .ti{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
  .x2-li.x2-on .x2-row .ti{display:block;overflow:visible}
  .x2-row .fa{flex:0 1 420px;display:flex;flex-wrap:wrap;gap:0 12px;min-width:0;margin-top:0;font-size:13px;line-height:22px;color:var(--ink-3)}
  .x2-row .fa>*{flex:0 1 auto;min-width:0;overflow-wrap:anywhere}
  .x2-row .p2-chev{margin-top:5px;transform:rotate(-90deg)}
  .x2-row[aria-expanded] .p2-chev{transform:none}
  .x2-row[aria-expanded="true"] .p2-chev{transform:rotate(180deg)}
  .x2-row .none{color:var(--ink-3)}
  .x2-li.x2-none .x2-row{cursor:default}
  /* Polish round 3 (audience and exchange): the company and the theme are two columns, the +N pinned at the end, and every project row is the same height. */
  .x2-row:has(.x2-co,.x2-th){min-height:68px}
  .x2-row .fa:has(.x2-co,.x2-th){flex-basis:520px;display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr) auto;gap:0 16px}
  .x2-row .fa .x2-co{grid-column:1}.x2-row .fa .x2-th{grid-column:2}.x2-row .fa .x2-plus{grid-column:3;justify-self:end}
  .x2-row .fa .x2-co,.x2-row .fa .x2-th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}

  .x2-li.x2-on{box-shadow:inset 2px 0 0 var(--ink);padding-left:12px}
  .x2-li.x2-on .x2-row{padding-left:0}
  /* An open project: the delegate's words in a reading column, the facts beside them. */
  .x2-det{display:grid;grid-template-columns:minmax(0,760px) minmax(200px,320px);column-gap:48px;padding:0 0 20px}
  .x2-det>*{grid-column:1}
  .x2-det>.x2-facts{grid-column:2;grid-row:1/span 6;margin:12px 0 0}
  .x2-det .lab{margin:12px 0 4px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .x2-det .desc{margin:0 0 8px;font-size:15px;line-height:22px;overflow-wrap:anywhere}
  .x2-facts{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;font-size:13px;line-height:18px}
  .x2-facts dt{color:var(--ink-3)}
  .x2-facts dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
  .x2-count{margin:16px 0 8px;font-size:13px;line-height:18px;color:var(--ink-3)}
  .x2-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:16px 0 0;font-size:13px;line-height:18px;color:var(--ink-3)}
  .x2-foot .p2-txt{font-size:15px}
  .x2-row:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
  /* "Show as a table" and "Show the numbers" (UI-097: moved here from profile.html so every chart page shares one fold key). */
  details.p2-tbl{margin:0 0 12px}
  details.p2-tbl>summary{display:inline-flex;align-items:center;min-height:32px;color:var(--ink);font:400 15px/20px var(--font);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;list-style:none}
  details.p2-tbl>summary::-webkit-details-marker{display:none}
  details.p2-tbl .tblwrap{margin-top:8px}
}
