/* MAS Studio composition. Base tokens and legacy components live in talent.css. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);white-space:nowrap;border:0}
.source-stage-label{display:block;margin-top:8px;color:var(--ink2);font-size:12px;overflow-wrap:anywhere}#sourceStage{max-width:300px}
/* The single token source: MAS UI system v2 (ui-system.md §1, ratified 2026-10-01), byte-for-byte
   values. Talent's older names alias the canonical ones below; no other file defines a colour token. */
:root{
  --mas-brand-daintree:#0f2533;--mas-brand-kashmir:#516f8d;--mas-brand-bay:#b6e3e8;--mas-brand-gray:#dde2e6;--mas-brand-red:#df1833;
  --mas-ink:var(--mas-brand-daintree);--mas-ink-2:var(--mas-brand-kashmir);
  --mas-surface:#fbfcfd;--mas-selection:#dff2f5;
  --mas-action:var(--mas-brand-red);--mas-action-hover:#bd142b;--mas-action-label:var(--mas-surface);--mas-critical-text:#a71b31;
  --mas-fill:color-mix(in oklab,#0f2533 4.5%,#fbfcfd);
  --mas-fill-strong:color-mix(in oklab,#0f2533 9%,#fbfcfd);
  --mas-line:var(--mas-brand-gray);--mas-control-border:color-mix(in oklab,#516f8d 80%,#fbfcfd);
  --mas-line-soft:color-mix(in oklab,#0f2533 7%,transparent);
  --mas-ask:color-mix(in oklab,#b6e3e8 42%,#fbfcfd);
  /* The frame (DESIGN-DNA, owner direction 3, 2026-11-10): Daintree holds the rail and the top bar; the work is one
     lit sheet inset in it. Talent's own deviation from ui-system §2; the canvas token is retired with it. */
  --mas-frame:var(--mas-brand-daintree);--mas-frame-line:color-mix(in oklab,#b6e3e8 16%,#0f2533);--mas-list-w:clamp(20rem,28vw,26rem);
  --mas-rail:var(--mas-frame);--mas-rail-text:color-mix(in oklab,#fbfcfd 72%,#0f2533);
  --mas-rail-hover:rgba(182,227,232,.10);--mas-rail-active:rgba(182,227,232,.14);
  --mas-focus:var(--mas-ink);
  --mas-font-brand:"Montserrat","Gotham","Segoe UI",sans-serif;
  --mas-font-ui:"Figtree","Segoe UI",system-ui,sans-serif;
  --mas-text:.875rem;--mas-text-2:.8125rem;--mas-text-meta:.75rem;--mas-text-micro:.6875rem;
  --mas-name:1.75rem;--mas-title:clamp(1.75rem,2.5vw,2.25rem);
  --mas-space-1:.25rem;--mas-space-2:.5rem;--mas-space-3:.75rem;--mas-space-4:1rem;--mas-space-5:1.25rem;--mas-space-6:1.5rem;--mas-space-8:2rem;--mas-space-12:3rem;
  --mas-radius-control:.625rem;--mas-radius-object:.75rem;--mas-radius-overlay:1.25rem;--mas-radius-pill:999px;
  --mas-z-sticky:100;--mas-z-scrim:200;--mas-z-nav:300;--mas-z-overlay:400;--mas-z-document:500;--mas-z-command:600;--mas-z-toast:700;
  --mas-edge-light:inset 0 1px 0 rgba(255,255,255,.9);
  --mas-shadow-soft:0 1px 2px rgba(15,37,51,.05),0 16px 36px -18px rgba(15,37,51,.28);
  --mas-material:color-mix(in oklab,#fbfcfd 80%,transparent);
  --mas-ease:cubic-bezier(.2,0,0,1);--mas-damped:cubic-bezier(.25,.9,.35,1);--mas-micro:160ms;--mas-panel:240ms;
  --mas-rail-width:12.5rem;--mas-control-height:2.75rem;--mas-touch:2.75rem;
}
/* Legacy names (ui-system §1 map), plus older aliases that now resolve onto the system: status hues
   (--green, --ochre) collapse to ink weights because the system carries status with Bay, weight and words. */
:root{
  --ink:var(--mas-ink);--ink2:var(--mas-ink-2);--ink3:var(--mas-ink-2);--navy:var(--mas-ink);--teal-deep:var(--mas-ink);
  --teal:var(--mas-ink-2);--kashmir:var(--mas-brand-kashmir);--grayaqua:var(--mas-ink-2);--bay:var(--mas-brand-bay);
  --surface:var(--mas-surface);--fill:var(--mas-fill);--fill-strong:var(--mas-fill-strong);
  --selection:var(--mas-selection);--ask:var(--mas-ask);--hair:var(--mas-line);--hair-soft:var(--mas-line-soft);
  --control-border:var(--mas-control-border);
  --red:var(--mas-action);--red-hover:var(--mas-action-hover);--red-label:var(--mas-action-label);--red-text:var(--mas-critical-text);
  --green:var(--mas-ink);--ochre:var(--mas-ink-2);
  --rail-text:var(--mas-rail-text);--rail-hover:var(--mas-rail-hover);--rail-active:var(--mas-rail-active);
  --band-text:var(--mas-surface);--band-text2:var(--mas-brand-bay);
  --font-ui:var(--mas-font-ui);--font-brand:var(--mas-font-brand);
  --text:var(--mas-text);--text-2:var(--mas-text-2);--text-meta:var(--mas-text-meta);--text-micro:var(--mas-text-micro);
  --space-1:var(--mas-space-1);--space-2:var(--mas-space-2);--space-3:var(--mas-space-3);--space-4:var(--mas-space-4);
  --space-5:var(--mas-space-5);--space-6:var(--mas-space-6);--space-8:var(--mas-space-8);--space-12:var(--mas-space-12);
  --radius-control:var(--mas-radius-control);--radius-object:var(--mas-radius-object);--radius-overlay:var(--mas-radius-overlay);--radius-pill:var(--mas-radius-pill);
  --z-sticky:var(--mas-z-sticky);--z-scrim:var(--mas-z-scrim);--z-nav:var(--mas-z-nav);--z-overlay:var(--mas-z-overlay);
  --z-document:var(--mas-z-document);--z-command:var(--mas-z-command);--z-toast:var(--mas-z-toast);
  --edge-light:var(--mas-edge-light);--shadow-soft:var(--mas-shadow-soft);--shadow-float:var(--mas-shadow-soft);--material:var(--mas-material);
  --ease:var(--mas-ease);--damped:var(--mas-damped);--ease-settle:var(--mas-damped);--micro:var(--mas-micro);--panel:var(--mas-panel);
  --target:var(--mas-touch);--brand-width:var(--mas-rail-width);
  /* The red primary's physical recipe (primitives .mas-btn-primary). The lit edge and the shade stay inside
     the button's padding, so the label always sits on solid --red (4.74:1); a percentage band would put the
     lit top (4.03:1) under the label of a 40px button. */
  --action-surface:linear-gradient(180deg,color-mix(in oklab,var(--mas-action) 90%,white) 0,var(--mas-action) var(--mas-space-2),var(--mas-action) calc(100% - var(--mas-space-2)),color-mix(in oklab,var(--mas-action) 90%,var(--mas-ink)) 100%);
  --action-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(15,37,51,.22),0 1px 2px rgba(15,37,51,.22);
}
.rail,.topbar,.client-rail{--focus-color:var(--bay)}
/* Underline tabs (primitives .mas-tabs): every strip that switches a view in place uses this one recipe. */
.iw-tabs,.ivs-tabs,.tp-tabs,.source-tabs,.or-tabs{display:flex;flex-wrap:wrap;gap:0 var(--space-1)}
.iw-tabs a,.ivs-tabs a,.tp-tabs button,.source-tabs button,.or-tabs button{display:inline-flex;align-items:center;min-height:var(--target);padding:var(--space-2) var(--space-3);margin-block-end:-1px;border:0;border-block-end:2px solid transparent;border-radius:0;background:none;color:var(--ink2);font:400 var(--text)/1.4 var(--font-ui);text-decoration:none;cursor:pointer}
.iw-tabs a:hover,.ivs-tabs a:hover,.tp-tabs button:hover,.source-tabs button:hover,.or-tabs button:hover:hover{color:var(--ink);text-decoration:none}
.iw-tabs a.on,.ivs-tabs a[aria-current=page],.tp-tabs button[aria-selected=true],.source-tabs button[aria-selected=true],.or-tabs button[aria-pressed=true][aria-current=page]{color:var(--ink);font-weight:600;border-block-end-color:var(--ink)}
/* The waiting pill (ui-system §4, primitives .mas-pill-wait): --ask, Daintree 600, a 6px Kashmir dot. */
.chip.ochre,.chip.bay,.proc-now .proc-waiting{display:inline-flex;align-items:center;gap:var(--space-2);padding:1px 9px;border-radius:var(--radius-pill);background:var(--ask);color:var(--ink);font-size:var(--text-meta);font-weight:600;line-height:1.5;white-space:nowrap}
.chip.ochre::before,.chip.bay::before,.proc-now .proc-waiting::before{content:"";flex:none;inline-size:.375rem;block-size:.375rem;margin:0;border-radius:50%;background:var(--kashmir)}
/* Keyboard hints (primitives .mas-kbd): one mark, Kashmir on a hair line on the sheet, Bay on a frame line in the frame. */
.kbd,kbd{display:inline-grid;place-items:center;min-block-size:1.25rem;padding:0 var(--space-1);border:1px solid var(--hair);border-radius:var(--radius-mark);background:none;color:var(--ink2);font:600 var(--text-micro)/1 var(--font-ui);letter-spacing:0}
.rail .kbd,.rail kbd,.topbar .kbd,.topbar kbd{border-color:var(--rail-active);color:var(--bay)}
/* Segmented controls (ui-system §5): a --fill track one control high, the chosen item raised on the sheet. */
.ch-toggles,.ch-filters,.cp-switch,.cp-choices,.cp-tabs,.cp-lean,.studio-tabs,.board-mode,.rf-seg,.sc-seg,.crit .seg,.workspace-tabset{gap:2px;padding:.1875rem;border:0;border-radius:var(--radius-control);background:var(--fill)}
.ch-toggle,.cp-switch button,.cp-choices button,.cp-tabs button,.cp-lean label,.studio-tabs a,.board-mode button,.rf-seg button,.sc-seg button,.crit .seg button,.workspace-tabset>a{display:inline-flex;align-items:center;justify-content:center;min-height:var(--segment-height);padding:0 var(--space-3);margin:0;border:0;border-radius:var(--radius-nested);background:none;color:var(--ink2);font:500 var(--text-2)/1.4 var(--font-ui);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color var(--micro) var(--ease),color var(--micro) var(--ease)}
.ch-toggle:hover,.cp-switch button:hover,.cp-choices button:hover,.cp-tabs button:hover,.cp-lean label:hover,.studio-tabs a:hover,.board-mode button:hover,.rf-seg button:hover,.sc-seg button:hover,.crit .seg button:hover,.workspace-tabset>a:hover{color:var(--ink);text-decoration:none}
.ch-toggle[aria-pressed=true],.cp-switch button[aria-pressed=true],.cp-choices button[aria-pressed=true],.cp-tabs button[aria-selected=true],.cp-lean label:has(input:checked),.studio-tabs a[aria-current=page],.board-mode button[aria-pressed=true],.rf-seg button[aria-pressed=true],.sc-seg button[aria-pressed=true],.crit .seg button.on,.crit .seg button[aria-pressed=true],.workspace-tabset>a[aria-current=page]{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:var(--shadow-raised)}
@media (prefers-reduced-motion:reduce){.ch-toggle,.cp-switch button,.cp-choices button,.cp-tabs button,.cp-lean label,.studio-tabs a,.board-mode button,.rf-seg button,.sc-seg button,.crit .seg button,.workspace-tabset>a{transition:none}}
/* Derived roles (ui-coherence, 2026-11-11). Each recipe that more than one screen wrote by hand gets one name here,
   so no stylesheet carries its own copy; scripts/check_tokens.py fails on a literal anywhere else. */
:root{
  /* Radii below the control step: an item inside a segmented track is concentric with it (the track's .1875rem
     padding), and an inline mark (kbd, a highlighted term, a tag) uses the primitives' .mas-kbd corner. */
  --radius-nested:calc(var(--radius-control) - .1875rem);--radius-mark:.375rem;
  --scrim:color-mix(in oklab,#0f2533 45%,transparent);
  --line-strong:color-mix(in oklab,#516f8d 40%,transparent);
  --confirm-hover:color-mix(in oklab,#0f2533 88%,#fbfcfd);
  --ask-hover:color-mix(in oklab,#b6e3e8 55%,#fbfcfd);
  --shadow-raised:var(--edge-light),0 1px 2px rgba(15,37,51,.12);
  --ring-soft:0 0 0 1px var(--hair-soft);
  --shadow-material:var(--edge-light),var(--ring-soft),var(--shadow-soft);
  --ring-selected:inset 0 0 0 1.5px var(--ink);
  --ring-empty:inset 0 0 0 1.5px var(--kashmir);
  --ring-line:inset 0 0 0 1px var(--hair);
  --ring-paper:inset 0 0 0 3px var(--surface),inset 0 0 0 4px var(--hair-soft);
  --rule-assistant:inset 2px 0 var(--bay);
  /* Three heading roles from the ratified direction-3 reference (page title 1.75rem, inspector title 1.375rem):
     the screen, the object it is about, a section inside it. Brand face; Montserrat ships 400 and 700. */
  --font-page:700 1.75rem/1.2 var(--font-brand);--font-object:700 1.375rem/1.25 var(--font-brand);
  --font-section:700 1rem/1.3 var(--font-brand);
  /* A signed-out page has no frame and one task (sign in, apply, book, sign): its title keeps the larger entry
     scale it had before the heading roles, up to 2.25rem. */
  --font-entry:700 clamp(1.75rem,2.5vw,2.25rem)/1.2 var(--font-brand);
  /* A figure that is the point of its row (a total, a measured value): one size, UI face, tabular. */
  --text-figure:1.125rem;
  /* Focus: Daintree on the sheet, Bay in the frame (the frame sets --focus-color), one offset; rows that sit
     flush in a scroller draw it inside. */
  --focus-color:var(--ink);--focus-offset:3px;--focus-inset:-2px;
  /* One control height: phones keep the 44px touch target; from 881px a button, field or select is the 2.25rem
     control of the ratified direction-3 reference (QA/home-today-20261110/directions/base.css .btn). */
  --control-height:var(--target);
  /* A segmented item: its track (.1875rem padding each side) is one control high on desktop; phones keep 44px. */
  --segment-height:var(--target);
  /* The sheet's padding: every screen's first line and edge sit this far inside the sheet (Today's own head uses the
     same steps). Set once on the sheet's content box; a screen never pads its own top. */
  --sheet-pad-block:var(--space-5);--sheet-pad-inline:var(--space-4);
  /* The frame shows this much around a sheet on desktop: the work sheet and the docked assistant sheet. */
  --sheet-gap:var(--space-2);
}
@media(min-width:881px){:root{--control-height:2.25rem;--segment-height:calc(var(--control-height) - .375rem);
  --sheet-pad-block:var(--space-6);--sheet-pad-inline:var(--space-8)}}
body{font-family:var(--font-ui);background:var(--surface);font-size:14px;line-height:1.55}h1,h2,.sheet>header h2{font-family:var(--font-brand)}h1{font:var(--font-page);letter-spacing:-.03em}h2{font:var(--font-section);letter-spacing:-.01em}h3{font-size:1rem}small,.hint{font-size:13px;line-height:1.6}input::placeholder,textarea::placeholder{color:var(--ink2);opacity:1}input:focus,select:focus,textarea:focus,:focus-visible{outline:2px solid var(--focus-color);outline-offset:var(--focus-offset)}body[data-view=card] #v-board .bar .btn.teal{color:var(--ink);background:var(--fill);box-shadow:none}body[data-view=card] #v-board .bar .btn.teal:hover{background:var(--fill-strong);transform:none}.bar>div>.kicker{display:none}.card{padding:24px}.bar{gap:16px;margin-bottom:24px}.wrap{padding:24px 28px 48px}.view{min-width:0}.view>.card{border:0;padding:0}.view>.bar{margin-bottom:24px}.card h2{margin-bottom:16px}.tblwrap{border-radius:var(--radius-control)}table{font-size:14px}th{font-size:var(--text-meta);font-weight:600;color:var(--ink2)}td{font-size:var(--text);line-height:1.6}table button,table a{touch-action:manipulation}
.shell{grid-template-columns:var(--brand-width) minmax(0,1fr)}.rail{background:var(--mas-rail);color:var(--surface);border-right:0}.rail .brand{display:block;padding:24px 20px}.rail .brand:before{display:none}.rail .brand img{width:154px;height:auto}.rail .brand .prod{display:block;font-family:var(--font-brand);font-size:14px;font-weight:500;border:0;padding:0;margin-top:12px;color:var(--bay)}.rail nav{padding:0 12px 16px}.rail a.nitem{color:var(--rail-text);font-weight:500;min-height:46px;font-size:14px;padding:10px 12px;margin-bottom:4px}.rail a.nitem svg{width:20px;height:20px;opacity:1}.rail a.nitem:hover{color:var(--surface);background:var(--rail-hover)}.rail a.nitem.on{color:var(--surface);background:var(--rail-active)}.rail a.nitem.on svg{color:var(--bay)}.rail .nbadge{color:var(--bay);font-size:12px;font-weight:600}.rail .foot{border-top:1px solid var(--rail-active);color:var(--bay);font-size:13px;padding:16px}.rail .foot a,.rail .foot a:hover{color:var(--surface)}.nav-group[hidden]{display:none}:root{--topbar-h:60px}.topbar{min-height:var(--topbar-h);background:var(--mas-frame);color:var(--rail-text);padding:8px 28px}.searchbox{font-size:14px;background:var(--surface);border-color:var(--hair);flex-basis:360px}.demo-chip{border:0;font-size:12px;letter-spacing:0;text-transform:none;white-space:normal}.pmast{background:var(--surface);color:var(--ink);border-bottom:1px solid var(--hair);padding:16px 24px;min-height:72px}.pmast:before{display:none}.pmast img{height:auto;width:128px}.pmast .prod{font-size:16px;font-weight:400}.pmast .plabel{color:var(--ink2);font-size:13px}
.studio-board-tools{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:16px}.studio-search{flex:1 1 240px;max-width:400px}.studio-board-tools label{display:grid;gap:8px;margin:0}.studio-board-tools .mobile-stage-filter{display:grid;min-width:200px}.studio-board-tools #boardTotal{margin-left:auto;align-self:center}.pipeline-summary{margin-bottom:20px;color:var(--ink2);font-size:13px}.pipeline-summary>summary{width:fit-content;min-height:36px;padding:4px 0}.pipeline-summary .kpis{margin-top:12px;background:none;border:0;border-bottom:1px solid var(--hair);border-radius:0}.kpis .kpi{padding:12px 20px}.board-page{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 0;font-size:13px;color:var(--ink2)}
.ov .panel{background:var(--surface);border-radius:var(--radius-overlay) var(--radius-overlay) 0 0;box-shadow:var(--shadow-float)}.ov .panel>header{min-height:64px;padding:12px 24px}.ov .obody{padding:24px 28px 48px}.ov.wide .panel{width:min(940px,calc(100vw - 40px))}.ov .panel .card{border:0;padding:16px 0;border-radius:0}.ov .panel h1{font:var(--font-object);letter-spacing:-.02em}.ov .panel .scoutnote{background:var(--fill);border-radius:var(--radius-control);padding:16px}.matchbox{border-radius:var(--radius-object);box-shadow:none}.scoutnote .kicker{font-weight:600}.fhead,.cand-head{border-bottom:1px solid var(--hair);padding-bottom:20px}.stat small{font-size:13px}.scorecard input,.scorecard select{min-width:0}
.rq-workspace,.workspace-columns{gap:24px}.rq-list,.workspace-list{border-radius:var(--radius-object)}.rq-inspector,.workspace-detail{border-radius:var(--radius-object);min-width:0}.workspace-list a[aria-current=page],.rq-row[aria-current=page]{background:var(--selection)}.workspace-detail h2,.rq-command h2,.iw-detail-head h2{font-weight:600}.workspace-error,.access-form,.generation-state{border-radius:var(--radius-control)}.rq-section,.iw-section{padding-top:24px;padding-bottom:24px}.statline{background:none}.source-document{font-size:14px}.prep-form legend{font-weight:600}.source-facts code{font-size:12px}.ak-work,.ak-topic,.ak-final,.cv-editor,.cv-preview{border-radius:var(--radius-object)}.cv-head p{max-width:70ch}.cv-layout>*{min-width:0}.client-workspace,.client-candidate,.client-requisition{min-width:0}.workspace-actions .btn{white-space:normal}.source-facts{overflow-wrap:anywhere}
body.portal .wrap{max-width:1280px;padding:32px 24px 48px;margin:auto}body.portal .card{padding:24px;border:1px solid var(--hair)}body.portal .topbar{display:none}body.portal .pmast .prod{border-left:1px solid var(--hair);padding-left:16px}.outitem,.teamcard,.offer,.signing{border-radius:var(--radius-object)}#pal .ritem{padding:12px 18px}#pal .ritem b{font-size:14px}.guide-grid{gap:24px}
/* Split view: the dossier takes the right 48vw of the viewport, so the list must measure against the
   viewport too. The page width cap (.wrap, 1480px) would otherwise leave a growing blank band between
   the list and the dossier on screens wider than ~1700px. */
@media(min-width:1400px){body[data-view=card]{--ov-end:var(--sheet-gap)}body[data-view=card] .wrap{max-width:none}body[data-view=card] #v-board{padding-right:48vw}body[data-view=card] #ovCard{left:auto;width:48vw;pointer-events:none}body[data-view=card] #ovCard>.scrim{display:none}body[data-view=card] #ovCard>.panel{width:100%;pointer-events:auto}body[data-view=card] #v-board .bar{align-items:start}body[data-view=card] #v-board .studio-board-tools #boardTotal{margin-left:0}}
@media(max-width:1100px){.wrap{padding:24px 20px}.rq-workspace{grid-template-columns:minmax(0,1fr)}.workspace-columns{grid-template-columns:minmax(0,1fr)}.rq-list{max-height:24rem;overflow:auto}.topbar #userChip{max-width:35%;overflow-wrap:anywhere}}
@media(max-width:760px){.shell{grid-template-columns:minmax(0,1fr)}.rail{width:240px;max-width:85vw}.wrap,body.portal .wrap{padding:20px 16px 40px}.topbar{padding:8px 16px}.topbar #userChip{display:none}.topbar .searchbox{min-width:0;flex:1}.searchbox .kbd{display:none}.demo-chip{max-width:96px}.bar{gap:12px}.pmast{gap:12px;padding:16px}.pmast img{width:110px}.pmast .plabel{font-size:12px}.studio-board-tools{gap:12px}.studio-search{max-width:none;flex-basis:100%}.studio-board-tools label{flex:1 1 140px;min-width:0}.ov .panel,.ov.wide .panel{width:100%;border-radius:0}.ov .obody{padding:20px 16px 40px}.card{padding:16px}.rq-section,.iw-section{padding:16px}.prep-grid{grid-template-columns:minmax(0,1fr)}.access-options{grid-template-columns:minmax(0,1fr)}.source-facts{gap:12px}}

/* Scorecard scale anchors: the number alone never says where the bar is. */
.score-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:8px 0 0;color:var(--ink2);font-size:13px}
.score-legend b{color:var(--ink);font-variant-numeric:tabular-nums}
.crit .score-state{flex-basis:100%}
/* The Card slide-over is ~half the viewport: side-by-side cards there clip the scheduler. */
.ov .grid.g2{grid-template-columns:minmax(0,1fr)}
.client-read{display:grid;gap:4px;margin:8px 0 16px}.client-read .chip{justify-self:start}.client-read .hint{margin:0}
.kpi .n{display:block;margin-top:4px;color:var(--ink2);font-size:13px}

/* Account: one row at the foot of the rail, details on demand (email, access, sign out). */
.rail .foot{padding:var(--space-3) var(--space-3) var(--space-4)}
.account>summary{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2);border-radius:var(--radius-control);cursor:pointer;list-style:none}
.account>summary::-webkit-details-marker{display:none}
.account>summary:hover,.account[open]>summary{background:var(--rail-hover)}
.account-avatar{display:grid;place-items:center;inline-size:2rem;block-size:2rem;flex:none;border-radius:50%;background:var(--bay);color:var(--ink);font-size:13px;font-weight:700}
.account-who{display:grid;min-width:0}
.account-who b{color:var(--surface);font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-who small{color:var(--bay);font-size:13px}
.account[open]{display:flex;flex-direction:column-reverse}
.account-menu{display:grid;gap:var(--space-1);padding:var(--space-2) var(--space-2) var(--space-3);margin-block-end:var(--space-2);border-block-end:1px solid var(--rail-active)}
.account-email{color:var(--bay);font-size:13px;overflow-wrap:anywhere}
.rail .account-menu a{color:var(--surface);font-size:14px;font-weight:600;padding-block:var(--space-1)}
.rail .account-menu a:hover{color:var(--bay)}
.status-note{color:var(--red-text);font-size:13px;font-weight:600}

/* The top bar exists only while the rail is a drawer (<=880px); on desktop search is a rail row. */
@media (min-width:881px){.topbar{display:none}}
.rail-search{display:flex;align-items:center;gap:var(--space-3);inline-size:calc(100% - 2 * var(--space-3));margin:0 var(--space-3) var(--space-3);
  padding:var(--space-2) var(--space-3);min-height:40px;border:0;border-radius:var(--radius-control);background:var(--rail-hover);
  color:var(--bay);font:inherit;font-size:14px;cursor:pointer}
.rail-search:hover{background:var(--rail-active);color:var(--surface)}
.rail-search .kbd{margin-inline-start:auto}
@media (max-width:880px){.rail-search{display:none}}
.rail .status-note{margin:0 var(--space-2) var(--space-2);color:var(--rail-text);font-size:13px;font-weight:500}
