/* /sign-in/system.css */
/* Warehouse Operations: canonical Prism tokens, typography and shared primitives. */
:root{
  color-scheme:light;
  --surface:#fff;--surface-soft:#f1effc;--ink:#182347;--muted:#465273;
  --line:#dbe1f0;--line-dark:#8994b5;
  --accent:#5b50c6;--partial:#705496;--accent-soft:#f1effc;
  --completion:#246f9b;--completion-soft:#e4f5fc;
  /* Available-to-work is its own deep jade so it never reads as a completed shipment (blue). */
  --available:#17705a;--available-soft:#e6f3ee;
  --danger-ink:#8b2857;--danger-soft:#f8edf4;--danger-line:#d4a9c0;
  --amber:#805012;--amber-soft:#fff4e3;--amber-line:#dec9a3;
  --slate:#596481;--slate-soft:#eef1f8;
  --radius-panel:20px;--radius-control:16px;
  --shadow-panel:0 8px 24px #3d497810;
  --gradient-backlog:radial-gradient(ellipse at 92% 4%,#ffb79d 0%,#ffd5c3 24%,transparent 63%),radial-gradient(ellipse at 0% 64%,#b7adf1 0%,#ded3f7 42%,transparent 76%),radial-gradient(ellipse at 66% 100%,#f0bbdf 0%,transparent 64%),#ede5fa;
  --gradient-complete:radial-gradient(ellipse at 95% 6%,#84a0f7 0%,transparent 61%),radial-gradient(ellipse at 3% 91%,#63d5df 0%,transparent 66%),radial-gradient(ellipse at 8% 5%,#c6e8ff 0%,transparent 60%),#c5cff7;
  --gradient-issue:linear-gradient(120deg,#f4dfeb,#ede5fb);
  --chart-surface:#f7f9ff;--chart-grid:#d5ddec;--chart-schedule:#efeefa;
  --chart-schedule-edge:var(--slate);--chart-observed:#6576b4;
  --volume-1:#e2f3fa;--volume-2:#bfe5f2;--volume-3:#82c1dc;--volume-4:#246f9b;
  /* Compatibility aliases used by the live renderers and view modules. */
  --paper:var(--surface);--paper-2:var(--surface-soft);--white:var(--surface);
  --blue:var(--accent);--blue-soft:var(--accent-soft);
  --violet:var(--partial);--violet-soft:var(--accent-soft);
  --green:var(--completion);--green-deep:var(--completion);--green-soft:var(--completion-soft);
  --cyan:var(--completion);--cyan-soft:var(--completion-soft);
  --red:var(--danger-ink);--red-soft:var(--danger-soft);--issue-fill:var(--danger-ink);
  --backlog-fill:var(--accent);--completed-fill:var(--completion);--picking-fill:var(--accent);--packed-fill:var(--surface-soft);
  --focus:var(--accent);--radius:var(--radius-panel);--shadow:var(--shadow-panel);
  --night:var(--ink);--gold:var(--accent);--gold-soft:var(--accent-soft);--coral:var(--danger-ink);
  --logo-filter:none;
  --select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23465273' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* Existing effects centralized September 27; values and geometry unchanged.
     Pulse: September 22. Shipping/Horizon: September 23–25. Streak: September 27. */
  --backdrop:#18234780;
  --shadow-sheet:0 -12px 32px #18234724;
  --shadow-horizon:0 8px 16px -8px #3d4978b3,0 1px 2px #3d497826;
  --shadow-horizon-inset:inset 0 2px 5px #0c133259,inset 0 -1px 2px #ffffff80,inset 0 0 0 1px #18234714;
  --shadow-nav:0 1px 2px #18234729;
  --pulse-warm:linear-gradient(135deg,#ffb79d,#f0bbdf 45%,transparent 88%);
  --pulse-teal:linear-gradient(135deg,#63d5df,#84a0f7 45%,transparent 88%);
  --pulse-violet:linear-gradient(135deg,color-mix(in srgb,var(--accent) 40%,#fff),color-mix(in srgb,var(--accent) 16%,#fff) 45%,transparent 88%);
  --pulse-jade:linear-gradient(135deg,color-mix(in srgb,var(--available) 42%,#fff),color-mix(in srgb,var(--available) 18%,#fff) 45%,transparent 88%);
  --pulse-berry:linear-gradient(135deg,color-mix(in srgb,var(--danger-ink) 30%,#fff),var(--danger-soft) 45%,transparent 88%);
  --pulse-amber:linear-gradient(135deg,color-mix(in srgb,var(--amber) 34%,#fff),var(--amber-soft) 45%,transparent 88%);
  --pulse-sweep:linear-gradient(105deg,transparent 33%,#ffb79d 40%,#b7adf1 50%,#63d5df 58%,#fff 61.5%,transparent 62.5%);
  --pulse-sweep-reverse:linear-gradient(285deg,transparent 33%,#ffb79d 40%,#b7adf1 50%,#63d5df 58%,#fff 61.5%,transparent 62.5%);
  --shadow-popover:0 12px 32px #18234724;
  --backdrop-shipping:#18234788;
  --gradient-enroute:radial-gradient(ellipse at 92% 4%,#b3e0ea 0%,#d9f0f6 24%,transparent 63%),radial-gradient(ellipse at 0% 64%,var(--volume-3) 0%,var(--volume-2) 42%,transparent 76%),radial-gradient(ellipse at 66% 100%,#a1c1e4 0%,transparent 64%),var(--volume-1);
  --gradient-delivered:radial-gradient(ellipse at 92% 4%,#dcd1f4 0%,#ebe4fa 24%,transparent 63%),radial-gradient(ellipse at 0% 64%,#8c8cec 0%,#b7b7f3 42%,transparent 76%),radial-gradient(ellipse at 66% 100%,#b6c1f2 0%,transparent 64%),var(--accent-soft);
  --gradient-out-for-delivery:radial-gradient(ellipse at 92% 4%,#c3d5f8 0%,#dbe6fb 24%,transparent 63%),radial-gradient(ellipse at 0% 64%,#6999ef 0%,#9fbcf4 42%,transparent 76%),radial-gradient(ellipse at 66% 100%,#a0c4f2 0%,transparent 64%),var(--out-for-delivery-soft);
  --out-for-delivery:#3c6bd0;
  --out-for-delivery-soft:#e3ecfc;
  --streak-sky:#f5f6fe;
  --streak-sky-blue:radial-gradient(closest-side,#c6e8ffcc,#c6e8ff00);
  --streak-sky-violet:radial-gradient(closest-side,#d9d3f8b3,#d9d3f800);
  --streak-sky-teal:radial-gradient(closest-side,#bfe9ee99,#bfe9ee00);
  --streak-sweep:linear-gradient(100deg,#fff0 0%,#ffffffb3 50%,#fff0 100%);
  --streak-sweep-phone:linear-gradient(190deg,#fff0 0%,#ffffffb3 50%,#fff0 100%);
  --band-sheen:radial-gradient(ellipse at 10% 6%,#ffffff99 0%,#fff0 62%);
  --band-sky:radial-gradient(ellipse at 70% 10%,#c6e8ffcc 0%,#c6e8ff00 55%),radial-gradient(ellipse at 25% 30%,#d9d3f8b3 0%,#d9d3f800 55%),radial-gradient(ellipse at 60% 70%,#bfe9ee80 0%,#bfe9ee00 60%);
  --band-sky-mask:radial-gradient(closest-side,#000 35%,#0000 100%);
  --streak-check-early:#ffffffb3;
  --streak-day-1:#bfe7f3;
  --streak-day-2:#a6d6f2;
  --streak-day-3:#8fb0f5;
  --streak-day-4:#9ca4f4;
  --streak-day-5:#ab98ee;
  --streak-day-6:#c89ce0;
  --streak-day-7:#e2a8cf;
  --streak-day-8:#f5b8b2;
  --band-start:#f2a869;
  --streak-sheen:radial-gradient(ellipse at 8% 5%,#ffffff8c 0%,#fff0 60%);
  --font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-body:16px;--line-body:24px;--font-detail:15px;--line-detail:22px;
  --font-title:36px;--line-title:40px;--font-section:28px;--line-section:34px;
  --font-panel:20px;--line-panel:26px;--font-stat:28px;--line-stat:34px;
  --font-metric:48px;--line-metric:50px;--font-freshness:24px;--line-freshness:28px;
  --font-order:18px;--line-order:26px;
  --weight-regular:400;--weight-medium:500;--weight-bold:700;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--font-family);font-size:var(--font-body);line-height:var(--line-body);font-weight:var(--weight-regular);letter-spacing:0;-webkit-font-smoothing:antialiased}
a{color:inherit;text-underline-offset:3px}
button,input,select,textarea{font:inherit;letter-spacing:0;color:inherit}
button,a,summary,input,select{touch-action:manipulation}
button{cursor:pointer;min-height:48px}
/* Disabled stays white with muted text and a light border; lavender fill is reserved for actual selection. */
button:disabled{cursor:default;opacity:1;color:var(--muted);background:var(--surface);border-color:var(--line)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
[hidden]{display:none!important}
strong,b{font-weight:var(--weight-bold)}
h1,h2,h3{margin:0;letter-spacing:0;font-weight:var(--weight-bold)}
h1{max-width:900px;font-size:var(--font-title);line-height:var(--line-title)}
h2,.section-title h2{font-size:var(--font-section);line-height:var(--line-section)}
h3,.panel-head h3,.source-status h3{font-size:var(--font-panel);line-height:var(--line-panel)}
.nav,.eyebrow,.kpi-label,.kpi-detail,.hero-meta,.panel-head p,.operations-table th,.operations-table td,.status-tag,.source-status,.source-status summary,footer{font-size:var(--font-detail);line-height:var(--line-detail);letter-spacing:0;text-transform:none}
.nav,.eyebrow,.kpi-label{font-weight:var(--weight-medium)}
.kpi-label,.kpi-detail,.muted{color:var(--muted)}
.panel-stat{font-size:var(--font-stat);line-height:var(--line-stat);font-weight:var(--weight-bold);color:var(--ink);white-space:nowrap}
.kpi-value{font-size:var(--font-metric);line-height:var(--line-metric);font-weight:var(--weight-bold);margin:12px 0 5px;max-width:100%;overflow-wrap:anywhere}
.tabular,.panel-stat,.kpi-value{font-variant-numeric:tabular-nums}
.order-number{font-size:var(--font-order);line-height:var(--line-order);text-decoration:underline;text-underline-offset:4px}
.order-reasons,.order-item-name{font-size:var(--font-body);line-height:var(--line-body)}
.order-reasons{font-weight:var(--weight-medium);color:var(--danger-ink)}
.order-chevron{font-size:var(--font-stat);line-height:var(--font-stat);font-weight:var(--weight-regular)}
.warehouse-cards .kpi-label{font-size:var(--font-body);line-height:var(--line-body)}
.warehouse-cards .kpi:nth-child(n+3) .kpi-value{font-size:var(--font-stat);line-height:var(--line-stat)}
.freshness-card .panel-stat{font-size:var(--font-freshness);line-height:var(--line-freshness)}
.section-title p{font-size:var(--font-detail);line-height:var(--line-detail);color:var(--muted);max-width:850px}
/* Approved October 4 work-tab palette. The shared report palette remains above. */
.work-tab{--stage-arrived:#646b78;--complete-base:#c5cff7}
/* Approved October 6 waiting-floor palette (Shipping): At warehouse amber, Picked up violet. The shared report palette remains above. */
.waiting-block,.floor-flows{--warehouse:#b06f1c;--warehouse-ink:#8a5410;--warehouse-wash:#f3d3a3;--picked:#9a4fa8;--picked-ink:#8a4199;--picked-wash:#e3cbee}
/* Approved November 13 Priority tag colour (Receiving): solid orange under surface text. The shared report palette remains above. */
.od-root,.pd-dialog{--priority-tag:#c2410c}
.positive{color:var(--completion);font-weight:var(--weight-bold)}
.negative{color:var(--danger-ink);font-weight:var(--weight-bold)}
.wrap{width:min(1420px,calc(100% - 48px));margin:0 auto}
.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:var(--surface);padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius-control)}
.skip-link:focus{top:12px}
.masthead{position:sticky;top:0;z-index:20;background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line)}
/* Equal outer tracks keep the report nav in the same centred place whether or not a page shows a status tag. */
.masthead-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:28px;min-height:68px}
.masthead-inner>.nav{grid-column:2}.masthead-inner>.status-tag{grid-column:3;justify-self:end}
.masthead img{display:block;width:130px;height:34px;filter:var(--logo-filter)}
.nav{display:flex;align-items:center;gap:22px;color:var(--muted)}
.nav a{display:inline-flex;align-items:center;min-height:48px;text-decoration:none}
.nav a:hover{color:var(--accent)}
.nav a[aria-current=page]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent)}
.hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding:24px 0 16px}
.eyebrow{margin:0 0 8px;color:var(--accent)}
.hero-meta{color:var(--muted)}
.hero-meta p{margin:0 0 8px}
.hero-meta strong{display:block;color:var(--ink);margin-bottom:3px}
.freshness-card{min-width:250px;padding:14px 20px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--slate-soft);color:var(--ink)}
.freshness-card p{margin:0}
.freshness-card .panel-stat{margin:2px 0 0}
.freshness-card .kpi-detail{display:block;color:var(--ink)}
.freshness-card>span:not([hidden]){display:block;margin-top:8px}
.freshness-card .source-link{display:block;margin-top:8px;color:var(--accent);text-decoration:underline}
.freshness-card .source-link:hover{color:var(--ink)}
section{padding:0 0 24px;scroll-margin-top:90px}
.section-bar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:24px 0 16px}
.section-bar h2,.section-bar h3,.section-bar p{margin:0}
.section-bar p{margin-top:6px}
.grid-2,.grid-3{display:grid;gap:18px;margin-bottom:18px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.panel{scroll-margin-top:90px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);overflow:hidden}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:20px 24px;border-bottom:1px solid var(--line)}
.panel-head h3{margin:0}
.panel-head p{margin:6px 0 0;max-width:700px;color:var(--muted)}
.panel-body{padding:24px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kpi{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:8px;min-height:190px;padding:24px;text-align:left;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);color:var(--ink)}
.kpi.primary,.kpi.warning{color:var(--ink)}
.kpi.primary .kpi-label,.kpi.primary .kpi-detail,.kpi.warning .kpi-label,.kpi.warning .kpi-detail{color:inherit}
.summary-card,.ask{padding:24px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface)}
.ask h3{margin:0 0 12px}
.ask p{margin:0;color:var(--muted)}
.bar-track{display:block;height:8px;overflow:hidden;border-radius:999px;background:var(--accent-soft)}
.bar{display:block;height:100%;min-width:0;border-radius:999px;background:var(--accent)}
label{display:grid;gap:6px;min-width:0}
select,input{width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line-dark);border-radius:var(--radius-control);background:var(--surface);color:var(--ink)}
select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:var(--select-chevron);background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
input::placeholder{color:var(--muted);opacity:1}
/* Enabled actions: white field, visible border, accent text. Disabled: white field, light border, muted text. */
.detail-button,.toolbar>button,.pagination button,#all-stores{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;border:1px solid var(--line-dark);border-radius:var(--radius-control);background:var(--surface);color:var(--accent);text-decoration:none}
.detail-button:not(:disabled):hover,.toolbar>button:not(:disabled):hover,.pagination button:not(:disabled):hover,#all-stores:not(:disabled):hover{border-color:var(--accent)}
.pagination button:disabled{color:var(--muted);background:var(--surface);border-color:var(--line)}
.status-tag{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid var(--completion);border-radius:var(--radius-control);background:var(--completion-soft);color:var(--completion)}
.status-tag::before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.status-tag.amber{border-color:var(--amber-line);background:var(--amber-soft);color:var(--amber)}
.status-tag.neutral{border-color:var(--line);background:var(--slate-soft);color:var(--muted)}
.status-tag.red{border-color:var(--danger-line);background:var(--danger-soft);color:var(--danger-ink)}
.status-tag.red::before{content:'!';display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid currentColor;background:transparent}
table{width:100%;border-collapse:collapse}
th,td{padding:16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{color:var(--muted);font-weight:var(--weight-bold)}
.table-scroll{max-height:510px;overflow:auto;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface)}
.operations-table th{position:sticky;top:0;z-index:1;background:var(--surface-soft);white-space:normal;vertical-align:bottom}
.operations-table td{white-space:normal}
.operations-table .sub{display:block;margin-top:4px}
.operations-table tr.selected{background:var(--accent-soft)}
.store-button{padding:0;border:0;background:none;color:var(--accent);text-align:left;text-decoration:underline;text-underline-offset:3px}
.store-button:hover{color:var(--ink)}
.source-status{margin-top:30px;padding:20px 0 32px;border-top:1px solid var(--line-dark)}
.source-status>summary{min-height:48px;cursor:pointer}
.source-status .grid-2{gap:24px}
.source-status p{margin:12px 0}
footer{display:flex;justify-content:space-between;gap:20px;padding:30px 0 54px;border-top:1px solid var(--line);color:var(--muted)}
@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  :root{--font-title:28px;--line-title:32px;--font-section:24px;--line-section:30px;--font-metric:40px;--line-metric:44px}
  .wrap{width:calc(100% - 32px)}
  section,.panel{scroll-margin-top:24px}
  .masthead{position:static}.masthead-inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;min-height:62px;padding:12px 0}.nav{order:3;width:100%;gap:20px}
  .hero{grid-template-columns:minmax(0,1fr);padding:20px 0 16px;gap:14px}
  .freshness-card{min-width:0;padding:12px 16px}
  .freshness-card p{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .freshness-card p>strong{margin:0;font-weight:var(--weight-medium)}
  .freshness-card .panel-stat{margin:0}
  .section-bar{align-items:flex-start;flex-wrap:wrap;gap:14px}.section-bar>span{width:100%}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .panel-head{flex-direction:column;padding:16px;gap:16px}.panel-body{padding:16px}
  .kpi-value{margin:4px 0}.warehouse-cards .kpi-label{font-size:var(--font-detail);line-height:var(--line-detail)}
  .dimension-tabs button{font-size:var(--font-detail);line-height:var(--line-detail)}
  .table-scroll{max-height:650px}
  .operations-table,.operations-table tbody,.operations-table tr,.operations-table td{display:block}
  .operations-table thead{display:none}.operations-table{min-width:0}
  .operations-table tr{padding:18px;border-bottom:1px solid var(--line)}
  .operations-table td{padding:5px 0;border:0;text-align:left;overflow-wrap:anywhere}
  .operations-table td[data-label]{display:grid;grid-template-columns:minmax(112px,44%) minmax(0,1fr);gap:12px}
  .operations-table td[data-label]::before{content:attr(data-label);color:var(--muted)}
  .operations-table td:first-child{padding-bottom:12px}
  .artist-table td:first-child .store-button{font-weight:var(--weight-bold)}
  .source-status .grid-2{gap:20px}.source-status p{overflow-wrap:anywhere}
  footer{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{
  body{background:#fff}.masthead{position:static}.nav{display:none}
  .wrap{width:100%;padding:0 20px}.panel,.kpi,.ask,.warehouse-order{break-inside:avoid;box-shadow:none}
  .table-scroll{max-height:none;overflow:visible}section{padding-bottom:24px}
}

/* Connection words use the existing body role; elapsed refresh values retain prominence. */
.freshness-card .panel-stat.freshness-pending{font-size:var(--font-body);line-height:var(--line-body);font-weight:var(--weight-regular)}

/* Header, September 26: source status lives in the dot and time, never the surface.
   The hero selector also supersedes the Aged pending-surface rule without changing its loading geometry. */
.hero .freshness-card,.hero .freshness-card.source-checks:has(.freshness-pending){background:var(--slate-soft);border:1px solid var(--line)}
.hero .freshness-card p>strong{display:flex;align-items:center;gap:8px}
.hero .freshness-card p>strong::before{content:'';flex:none;width:8px;height:8px;border-radius:50%;background:var(--available)}
.hero .freshness-card p:has(.freshness-pending)>strong::before{background:var(--slate)}
.hero .freshness-card .freshness-pending{color:var(--muted)}
body:has(#live-connection[data-connection=reconnecting]) .hero .freshness-card .panel-stat,
.hero .freshness-card[data-stale] .panel-stat{color:var(--amber)}
body:has(#live-connection[data-connection=reconnecting]) .hero .freshness-card p>strong::before,
.hero .freshness-card[data-stale] p>strong::before{background:var(--amber)}
.hero .freshness-pill{background:var(--slate-soft);border:1px solid var(--line)}
.hero .freshness-pill [data-pill-age]{color:var(--ink)}
.hero .freshness-pill .freshness-pending{color:var(--muted)}
.masthead-product{display:inline-flex;align-items:center;min-height:20px;padding-left:12px;border-left:1px solid var(--line);color:var(--muted)}

.masthead-brand{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
/* Matches the approved header lab's proposal.css (9b945c4b). */
@media(min-width:761px){.masthead-brand>img{width:156px;height:auto}}
@media(max-width:1199px){.masthead-product{display:none}}
/* Shipping's mirror and production route share the same header spacing. */
#report>.transport-toolbar.header-toolbar{margin-top:0;padding-top:0;border-bottom:0}
#report>.transport-toolbar.header-toolbar+.artist-picker-row{padding-top:24px}

/* /sign-in/encore-wordmark.css */
/* The lockup (Naveen, 2026-10-13, from the branding lab: "rule · navy / TM → e 8 + 1 + 8 px / i think thats the answer.
   Lets go with that."): the Sparkart mark, 8 px, a 1 px rule in the muted text colour, 8 px, then the first ink of encore, in
   screen px at every size. Measured from sparkart-logo.svg (130 x 34 units): the right edge of the TM is x 129.6, 0.4 units
   inside the image box; the flat x-height runs y 7.44165 to 27.0678 (19.6261 units). The rule centres on y 17.240875,
   the line the wordmark centres on (0.014 units above the midpoint of the flats).
   --lockup-logo is the scale of the mark against 130 x 34 (1.2 for the 156 px desktop masthead, 1 for the 130 px mark);
   --lockup-z is the zoom the lockup renders at (1, legacy phone/rail .7, legacy 320 px phone .6), so the
   8 px gaps and the 1 px rule are drawn as 8 / z and 1 / z and land as 8 and 1 on screen at every zoom. The rule is the
   x-height of the mark tall and centred on its midline. This sheet takes away the 12 px brand gap, the 12 px slot
   padding and the line-coloured slot border of system.css (which stays byte-equal to the Warp copy and its text label): the
   slot starts at the image box and is the pre-rule slot plus its 12 px gap (59.953125 + 12 px), so navigation, search
   and Horizon keep their places. The wordmark paints beyond the slot. Sparkart's x-height midpoint is y=17.240875 in its 34-unit SVG; match
   that line rather than the SVG centre. The November 29 product-shell exception below uses .8 and measures the
   first gap from the mark's box edge; sign-in, public legal, outage and other mastheads retain these base rules. */
.masthead-brand{column-gap:0}
.masthead-product{position:relative;box-sizing:border-box;width:71.953125px;height:22px;flex:none;padding-left:0;border-left:0;--encore-ink-height:22.28px;--encore-midline:.28905px;--lockup-logo:1.2;--lockup-tm:calc(.4px * var(--lockup-logo));--lockup-ink-x:calc(17px / var(--lockup-z,1) - var(--lockup-tm))}
@media(max-width:760px){.masthead-product{--encore-ink-height:18.567px;--encore-midline:.240875px;--lockup-logo:1}}
.masthead-product::before{content:'';position:absolute;left:calc(8px / var(--lockup-z,1) - var(--lockup-tm));top:calc(50% + (.240875px - 9.81305px) * var(--lockup-logo));width:calc(1px / var(--lockup-z,1));height:calc(19.6261px * var(--lockup-logo));background:var(--muted)}
/* September 30 phone follow-up: the 64 px sky still leaves under 12 px at
   360 with the full lockup. Scale the mark and Encore together to the approved
   70% phone x-height; keep the desktop wordmark untouched. --lockup-z keeps the
   rule and its two gaps at 1 and 8 px on screen (Naveen, 2026-10-13). */
@media(max-width:505px){.masthead-inner>.masthead-brand{width:max-content;zoom:.7;--lockup-z:.7}}
/* Playfair Display Italic 400 (Claus Eggers Sørensen, SIL Open Font License 1.1; OFL.txt beside the file).
   Naveen, 2026-10-12: "lets move to Playfair Display Italic 400 · SIL Open Font License 1.1 and not pay a
   license fee." Self-hosted: the unmodified google/fonts variable italic (wght 400-900), repackaged losslessly as
   woff2; the family keeps its name. Outside the product rail/phone exception below, live type draws lowercase "encore"
   through text-transform; the element keeps the
   text and accessible name Encore. Geometry is the specimen's: ink height (x-height plus overshoot) is
   --encore-ink-height, centred on the Sparkart x-height midline, ink starting 8 px past the rule (--lockup-ink-x, above).
   "encore" measures ink -14 to 528 and 12 to 2751 of 2764 advance, in 1000 units, so font-size = ink x 1.84502
   (41.107 px desktop, 34.256 px phone before the 70% zoom). ascent-override and descent-override make the line
   box exactly that ink, so the translate centres the ink as it centred the mask; 2 px padding on every side keeps
   antialiased edges inside the painted box (left subtracts it). The ink is painted as a background clipped to
   the letters, so --ink, the sign-in colour overrides and the sweep keep working as background colours. The face
   declares no weight, so it is the default normal (400) and the variable axis stays at 400. */
@font-face{font-family:"Playfair Display";font-style:italic;font-display:block;src:url("/v/ab684f8bef2e/sign-in/assets/encore-wordmark/PlayfairDisplay-Italic.woff2") format("woff2");ascent-override:52.8%;descent-override:1.4%;line-gap-override:0%}
.encore-wordmark{position:absolute;display:block;left:calc(var(--lockup-ink-x) - 2px - var(--encore-ink-height) * .02214);top:50%;transform:translateY(calc(-50% + var(--encore-midline)));padding:2px;white-space:nowrap;font-family:"Playfair Display";font-style:italic;font-weight:var(--weight-regular);font-size:calc(var(--encore-ink-height) * 1.84502);line-height:normal;letter-spacing:0;text-transform:lowercase;font-synthesis:none;font-kerning:normal;-webkit-user-select:none;user-select:none;color:transparent;background-color:var(--ink);-webkit-background-clip:text;background-clip:text}

/* Naveen, 2026-11-29: 104 px in the internal/client rail and phone bar. The
   product shell attributes exclude sign-in, public legal, outage and Warp.
   Keep the same word element and background, including --ink and the client's
   one-time brand-sweep. Only its paint boundary becomes fixed OFL glyph paths:
   font line-box descriptors no longer position the ink. The SVG viewBox is the
   2739 x 542 unit ink box; its generator is tools/wordmark-outline.py in the
   encore-client-2026-10-10 lab. The gate runs next/tests/encore-wordmark.test.mjs
   to lock the asset bytes, 104 px product rules, viewBox and mask dimensions,
   and reject competing declarations in both products' shell sheets.
   next/tests/browser/warehouse-layout.test.mjs (Encore lockup cases) provides
   local browser proof of rendered geometry and independence from font metrics. These cases
   need local fixture URLs and do not run in the gate.
   Zero TM allowance puts the rule 8 screen px after x=130, on a whole pixel. */
html:is([data-internal-shell],[data-encore-static-chrome][data-nav=rail]) .rail-brand{--lockup-z:.8}
html:is([data-internal-shell],[data-encore-static-chrome][data-nav=rail]) .rail-brand>*{zoom:.8}
html:is([data-internal-shell],[data-encore-static-chrome][data-nav=rail]) :is(.rail-brand,.masthead-inner>.masthead-brand) .masthead-product{--lockup-tm:0px}
html:is([data-internal-shell],[data-encore-static-chrome][data-nav=rail]) :is(.rail-brand,.masthead-inner>.masthead-brand) .encore-wordmark{left:var(--lockup-ink-x);box-sizing:content-box;width:calc(var(--encore-ink-height) * 2739 / 542);height:var(--encore-ink-height);padding:0;overflow:hidden;-webkit-background-clip:border-box;background-clip:border-box;-webkit-mask:url("/v/ab684f8bef2e/sign-in/assets/encore-wordmark/encore-outline.svg") center / 100% 100% no-repeat;mask:url("/v/ab684f8bef2e/sign-in/assets/encore-wordmark/encore-outline.svg") center / 100% 100% no-repeat}
@media(max-width:760px){html:is([data-internal-shell],[data-encore-static-chrome][data-nav=rail]) .masthead-inner>.masthead-brand{zoom:.8;--lockup-z:.8}}

/* /assets/shell/fonts.css */
/* Encore for clients: the product family (TYPOGRAPHY.md). Naveen, 2026-10-11 2:3x PM: "go with Geist. I like it."
   Geist v1.7.2 (Vercel, SIL Open Font License 1.1), self-hosted from vendor/fonts/geist/ (README there: source and sha256).
   Only the three weights the roles use: 400, 500, 700. No request leaves the product for a font.
   Loaded by every lab page before shell/shell.css, which sets --font-family to Geist with Helvetica Neue as the fallback. */
@font-face{font-family:"Geist";font-style:normal;font-weight:400;font-display:swap;src:url("/v/ab684f8bef2e/assets/vendor/fonts/geist/Geist-Regular.woff2") format("woff2")}
@font-face{font-family:"Geist";font-style:normal;font-weight:500;font-display:swap;src:url("/v/ab684f8bef2e/assets/vendor/fonts/geist/Geist-Medium.woff2") format("woff2")}
@font-face{font-family:"Geist";font-style:normal;font-weight:700;font-display:swap;src:url("/v/ab684f8bef2e/assets/vendor/fonts/geist/Geist-Bold.woff2") format("woff2")}

/* /assets/shell/shell.css */
/* @import /vendor/warehouse/range/range.css */
/* Shared client date control; existing tokens and type roles. */
.range-chip.filter-chip{display:inline-flex;align-items:center;min-height:40px;border:1px solid var(--line-dark);border-radius:999px;background:var(--surface);white-space:nowrap;transition:opacity 150ms ease,border-color 100ms ease,background-color 150ms ease}
.range-clear,.range-cancel{min-height:40px;padding:0 12px;border:1px solid var(--accent);border-radius:999px;background:var(--surface);color:var(--accent);font-size:var(--font-detail);line-height:var(--line-detail)}
.range-chip>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.client-filter:has(>.range-pop){z-index:60}
.range-chip.filter-chip{margin-left:auto;gap:8px;padding:0 14px 0 12px;color:var(--ink)}
.range-chip svg{width:16px;height:16px;flex:none;color:var(--muted)}
.range-chip[aria-expanded=true]{border-color:var(--accent);color:var(--accent)}
.range-chip[aria-expanded=true] svg{color:var(--accent)}
.range-chip.is-pop{animation:chip-pop 240ms var(--ease) both}
.range-pop{position:absolute;z-index:60;right:0;top:calc(100% - 6px);width:min(552px,100%);padding:16px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-popover);transform-origin:top right;animation:menu-in 180ms var(--ease) both}
.range-presets{position:relative;display:flex;flex-wrap:wrap;gap:4px}
.range-presets button{position:relative;z-index:1;min-height:34px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-medium);transition:color 150ms ease}
.range-presets button:hover{color:var(--ink)}
.range-presets button[aria-pressed=true]{color:var(--surface)}
.range-pill{position:absolute;z-index:0;top:0;left:0;width:var(--w,0px);height:34px;border-radius:999px;background:var(--ink);transform:translate(var(--x,0px),var(--y,0px));transition:transform 200ms var(--ease),width 200ms var(--ease)}
.range-pill.is-still{transition:none}
.range-pill[hidden]{display:none}
.range-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.range-dates label{display:flex;flex-direction:column;gap:4px;min-width:0}
.range-dates .kpi-detail{color:var(--muted)}
.range-dates input{width:100%;min-height:40px;padding:6px 12px;border:1px solid var(--line-dark);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font:inherit}
.range-dates input:focus-visible{outline:none;border-color:var(--accent)}
.range-cal{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
.range-nav{position:absolute;top:-6px;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:var(--font-body);line-height:1}
.range-nav:hover:not(:disabled){background:var(--slate-soft);color:var(--ink)}
.range-nav:disabled{opacity:.35}
.range-nav-prev{right:36px}.range-nav-next{right:0}
.range-month-head{margin:0 0 6px;color:var(--ink);font-weight:var(--weight-medium)}
.range-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.range-days>span{text-align:center;color:var(--muted)}
.range-days>i{display:block}
.range-days button{min-height:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:var(--font-detail);line-height:var(--line-detail);transition:background-color 100ms ease,color 100ms ease}
.range-days button:hover{background:var(--slate-soft)}
.range-days button:disabled{color:var(--muted);opacity:.45}
.range-days button.is-in{background:var(--accent-soft);border-radius:0}
.range-days button.is-end{background:var(--ink);color:var(--surface);border-radius:8px}
.range-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
/* Compare (Naveen, 2026-10-13): a "Compare" button pops up under the end of the selected range; pressed, it shows the
   speed menu and the calendar's next pick is the comparison. The comparison's days take the charts' previous-period
   treatment (root DESIGN.md: --line-dark, dotted): a dotted band in --line-dark, its ends filled --line-dark. */
.range-cmp-row{position:relative;margin-top:10px;min-height:34px}
.range-cmp-row[hidden]{display:none}
.range-cmp{display:inline-flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:100%;transform:translateX(var(--x,0px));transition:transform 200ms var(--ease)}
.range-cmp.is-pop .range-cmp-head{animation:chip-pop 240ms var(--ease) both}
.range-cmp-head{display:flex;align-items:center;gap:4px}
.range-cmp-btn{min-height:34px;padding:0 14px;border:1px dashed var(--line-dark);border-radius:999px;background:var(--surface);color:var(--ink);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-medium)}
.range-cmp-btn[aria-pressed=true]{border-style:dotted;border-color:var(--line-dark);background:var(--line)}
.range-cmp-btn[aria-expanded=true]{border-color:var(--ink)}
.range-cmp-x,.range-chip-x{display:inline-grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:var(--font-body);line-height:1}
.range-cmp-x:hover,.range-chip-x:hover{background:var(--slate-soft);color:var(--ink)}
.range-cmp-x[hidden],.range-chip-x[hidden]{display:none}
.filter-track>.range-chip-x{flex:none;margin-left:-4px}
.range-speed{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}
.range-speed[hidden]{display:none}
.range-speed button{min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-medium)}
.range-speed button:hover{color:var(--ink)}
.range-speed button[aria-pressed=true]{border:1px dotted var(--line-dark);background:var(--line);color:var(--ink)}
.range-cal.is-picking .range-days button:not(:disabled){cursor:crosshair}
.range-days button.is-cmp{background:var(--line);border-top:1.5px dotted var(--line-dark);border-bottom:1.5px dotted var(--line-dark);border-radius:0}
.range-days button.is-cmp-start{border-left:1.5px dotted var(--line-dark);border-top-left-radius:8px;border-bottom-left-radius:8px}
.range-days button.is-cmp-end{border-right:1.5px dotted var(--line-dark);border-top-right-radius:8px;border-bottom-right-radius:8px}
.range-days button.is-cmp-start,.range-days button.is-cmp-end{background:var(--line-dark);color:var(--surface)}
.range-days button.is-in.is-cmp{background:var(--accent-soft)}
@media(prefers-reduced-motion:reduce){.range-cmp{transition:none}.range-cmp.is-pop .range-cmp-head{animation:none}.range-chip.is-pop{animation:none}}
.range-apply{min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--ink);color:var(--surface);font-weight:var(--weight-medium)}
.range-apply:hover{background:var(--accent)}
@media(max-width:760px){.range-chip.filter-chip{margin-left:0}.range-pop{left:0;right:0;width:auto;padding:12px}.range-cal{grid-template-columns:1fr}.range-month:first-child{display:none}}
.range-pop[data-range-popover=dates] .range-dates{margin-top:0}
.range-pop[data-range-popover=dates] .range-days{grid-template-rows:auto repeat(6,32px)}
.range-pop[data-range-popover=dates] .range-days button{transition:none}
@media(min-width:761px){.range-pop[data-range-popover=dates] input::-webkit-calendar-picker-indicator{display:none}}
@media(max-width:760px){.range-pop[data-range-popover=dates] .range-month:first-of-type{display:none}.range-pop[data-range-popover=dates] .range-days{grid-template-rows:auto repeat(6,40px)}.range-pop[data-range-popover=dates] .range-days button{height:40px}}

/* Encore for clients: the shell (addendum 1). Loads after system.css, encore-wordmark.css, report.css,
   artist-picker.css, receiving.css, daily.css, chart-cursor.css and report-nav.css. Every type role is system.css's
   (body 16, detail 15, panel 20, section 28, title 36; weights 400/500/700); this sheet adds layout only.
   Motion law: one curve, two durations (--ease, --fast 180 ms, --slow 320 ms); transform and opacity only (plus
   measured height for in-place transforms); the curve moves, plain ease fades; reduced motion is opacity at --fast.
   Navigation is one switch on <html data-nav="rail|top">. Rail: a 14 rem rail in Encore's ink with the wordmark, the
   organization switcher card, the user's views, the four buckets with their sub-reports opening in place. Top: the
   production masthead and pill nav. Ask Mika is a mode of the page, not a modal (DESIGN.md, Shell decision 4; Alcove):
   the body is a two-column grid whose second column grows from 0 to 420 px over 420 ms on cubic-bezier(.4,0,.2,1)
   while the sheet slides in from the right on the same frames; the page reflows and keeps living; closing plays the
   same frames back (mika.js). */
/* @import /assets/shell/legal.css */
/* Encore for clients: the legal line (shell/legal.js; the sign-in panel's static copy). The Detail role exactly
   (system.css .kpi-detail: 15/22/400, muted); links stay muted and underline on hover. Each part after the first carries
   its middot in a 16 px gap (8 px each side of the glyph's box). The parts wrap as whole parts; the middot that would
   start a rendered line is clipped off the line's left edge (the inner row is shifted left by one separator and the line
   clips its left edge only, 6 px outside the text's edge (a host sets its side padding through --legal-pad), so a link's 3 px focus ring with its 3 px offset stays whole), so no rendered line starts or ends with a middot (TYPOGRAPHY.md section 3). Left-aligned by construction. */
.legal-line{--legal-sep:22px;--legal-pad:0px;margin:0;padding-inline:var(--legal-pad);clip-path:inset(-8px -8px -8px calc(var(--legal-pad) - 6px));color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-regular);font-variant-numeric:tabular-nums}
.legal-parts{display:flex;flex-wrap:wrap;margin-left:calc(-1 * var(--legal-sep))}
.legal-parts>span{white-space:nowrap}
.legal-parts>span::before{content:"·";display:inline-block;width:var(--legal-sep);text-align:center}
.legal-line a{color:inherit;text-decoration:none;text-underline-offset:3px}
.legal-line a:hover{text-decoration:underline}

/* @import /assets/shell/switch.css */
/* The switch: one toggle for the whole client product (toggle-system, 2026-10-13; Naveen: "why do you have the rounded
   edges and square edges mixed up with these toggles? ... all the toggles we use in the product are really beautiful";
   "motion when you toggle ... It needs to feel smoother than butter").
   Anatomy: a recessed tray (--slate-soft, full round, no border) of segments as wide as their labels; the current segment
   is one raised thumb (--surface with --shadow-nav) inset 3 px, so its radius is the tray's minus the inset and the
   corners nest.
   One size: 40 px drawn, the filter row's height; at phone width a transparent band makes each segment 44 px tall.
   Type: Detail medium (15/22/500), ink when current, muted otherwise, the weight never changes so nothing reflows.
   Motion: the thumb slides between segments on transform only (--fast, the one curve) and retargets mid-flight; the
   labels' ink fades in the same 180 ms. Markup: a .switch group of <button>s with aria-pressed (or role=tab with
   aria-selected); shell/switch.js adds the thumb and keeps --i in step with the pressed button. */
.switch{--switch-h:40px;--switch-inset:3px;--switch-r:999px;--switch-cap:calc(var(--switch-h) - 2 * var(--switch-inset));
  position:relative;isolation:isolate;display:inline-flex;align-items:stretch;box-sizing:border-box;height:var(--switch-h);
  margin:0;padding:0;border:0;border-radius:var(--switch-r);background:var(--slate-soft);vertical-align:middle}
.switch>button{position:relative;z-index:1;display:block;flex:none;box-sizing:border-box;min-width:44px;height:100%;min-height:0;margin:0;
  padding:calc((var(--switch-h) - var(--line-detail)) / 2) 14px;border:0;border-radius:calc(var(--switch-r) - var(--switch-inset));
  background:transparent;box-shadow:none;color:var(--muted);font:inherit;font-size:var(--font-detail);line-height:var(--line-detail);
  font-weight:var(--weight-medium);letter-spacing:normal;text-align:center;text-transform:none;white-space:nowrap;cursor:pointer;
  transition:color var(--fast,180ms) ease}
.switch>button:hover{background:transparent;color:var(--ink)}
.switch>button:is([aria-pressed=true],[aria-selected=true]){background:transparent;box-shadow:none;color:var(--ink);cursor:default}
.switch>button:focus-visible{outline:3px solid var(--focus);outline-offset:0}
.switch>button:disabled{color:var(--muted);opacity:.5;cursor:default}
/* The thumb: two round caps and a body between their centres, each placed by transform alone, so a segment of any width
   is reached without stretching a corner (switch.js sets --x, --w and the body's scale --s from the pressed segment).
   The nav shadow is drawn once around the three as one shape (a drop shadow on the thumb), so a scaled body never
   stretches it and the pieces show no seams. */
.switch-thumb{position:absolute;z-index:0;top:var(--switch-inset);left:0;width:0;height:var(--switch-cap);
  transform:translateX(var(--x,0px));transition:transform var(--fast,180ms) var(--ease,cubic-bezier(.16,1,.3,1)),opacity var(--fast,180ms) ease;
  filter:drop-shadow(var(--shadow-nav));will-change:transform;pointer-events:none}
.switch-thumb>i{position:absolute;top:0;left:0;height:100%;background:var(--surface);
  transition:transform var(--fast,180ms) var(--ease,cubic-bezier(.16,1,.3,1));will-change:transform}
.switch-thumb>.switch-cap{width:var(--switch-cap);border-radius:calc(var(--switch-r) - var(--switch-inset))}
.switch-thumb>.switch-cap:last-child{transform:translateX(calc(var(--w,0px) - var(--switch-cap)))}
.switch-thumb>.switch-body{left:calc(var(--switch-cap) / 2);width:1px;transform-origin:0 0;transform:scaleX(var(--s,0))}
.switch[data-i="-1"]>.switch-thumb{opacity:0}
.switch.is-still>.switch-thumb,.switch.is-still>.switch-thumb>i,.switch.is-still>button{transition:none}
@media(max-width:760px){
  .switch>button{padding-inline:12px}
  .switch>button::after{content:"";position:absolute;inset:-2px 0}
}
@media(prefers-reduced-motion:reduce){.switch-thumb{transition:opacity var(--fast,180ms) ease}.switch-thumb>i{transition:none}}

/* @import /assets/mika-panel/panel.css */
/* @import /assets/products/products.css */
/* Encore's existing type roles, light surfaces and semantic hues only. */
[data-products-controls]{grid-column:1/-1}
[data-products-view],.pl-identity,.pl-cards,.pl-mover-col{min-width:0}
.pl-key{display:flex;flex-direction:column;gap:8px;min-width:0;max-width:100%}
.pl-key>span,.pl-key>span>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}
.pl-key .rd-sw{margin-right:6px}.pl-key .pl-outline{background:transparent;border:1.5px solid}
.pl-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px;align-items:start}
.pl-product{font:inherit;color:var(--ink);text-align:left;border:0;cursor:pointer;min-width:0;background:var(--surface);padding:0}
.pl-product:focus-visible,.pl-map-block:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pl-card{display:grid;gap:10px;grid-column:span 1;border-radius:var(--radius-panel);overflow:hidden;padding:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.pl-card.pl-large{grid-column:span 2}.pl-card.pl-medium{grid-column:span 1}
.pl-art{display:block;width:112px;height:112px;max-width:100%;background:var(--surface-dim,var(--line));border-radius:var(--radius-control);overflow:hidden;flex:none}
.pl-art img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.pl-art[data-no-image=true]{display:grid;place-items:center;color:var(--ink);background:color-mix(in srgb,var(--muted) 6%,var(--surface))}
.pl-art .pl-initial{display:none}.pl-art[data-no-image=true] .pl-initial{display:block}
.pl-unknown{display:inline-block;vertical-align:middle;width:16px;height:16px;border:1px solid var(--line-dark);border-radius:3px;background:repeating-linear-gradient(135deg,var(--surface) 0 3px,var(--line) 3px 4px);flex:none}
.pl-key .pl-ramp{width:40px;background:linear-gradient(90deg,color-mix(in srgb,var(--pl-hue) 18%,var(--surface)),color-mix(in srgb,var(--pl-hue) 62%,var(--surface)))}
.pl-card>.pl-art{width:100%;height:112px;background:color-mix(in srgb,var(--muted) 6%,var(--surface))}
.pl-card>.pl-art[data-no-image=true]{background:color-mix(in srgb,var(--muted) 6%,var(--surface))}
.pl-large>.pl-art{height:224px}.pl-medium>.pl-art{height:168px}
.pl-identity{display:flex;flex-direction:column;gap:4px;overflow-wrap:normal;word-break:normal;hyphens:manual}
.pl-identity .oc-li-title{white-space:normal;overflow:visible;text-overflow:clip}
.pl-card .oc-li-title,.pl-map-name{white-space:normal;overflow:visible}
.pl-figure{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
.pl-spark{display:block;width:100%;height:36px;overflow:visible}
.pl-others{display:block;margin-top:20px;padding:12px 0;border:0;background:transparent;text-align:left;cursor:pointer}
.pl-movers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:20px}
.pl-ranking{list-style:none;padding:0;margin:0}
.pl-mover{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:8px 12px;width:100%;padding:12px 0;border-bottom:1px solid var(--line)}
.pl-mover .pl-art,.pl-list-row .pl-art{width:56px;height:56px}
.pl-mover .pl-figure{flex-direction:column;align-items:flex-end;gap:4px}
.pl-zero-track{position:relative;height:16px;grid-column:2/-1;background:color-mix(in srgb,var(--muted) 5%,var(--surface));border-radius:3px}
.pl-zero-track:after{content:'';position:absolute;left:0;top:-3px;bottom:-3px;width:1px;background:var(--line-dark)}
.pl-zero-track.pl-negative:after{left:auto;right:0}
.pl-zero-track i{display:block;position:absolute;top:2px;height:12px;border-radius:2px}
.pl-zero-track [data-scale-break]{position:absolute;left:8px;top:-2px;width:16px;height:20px;stroke:var(--surface);stroke-width:3px;fill:none}.pl-zero-track:not(.pl-negative) [data-scale-break]{left:auto;right:8px}
.pl-selling{margin-top:20px}.pl-leaders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pl-leaders .pl-list-row{grid-template-columns:56px minmax(0,1fr)}.pl-leaders .pl-figure{grid-column:2}
.pl-summary{margin:16px 0 0;color:var(--muted)}
.pl-map{position:relative;margin-top:12px;min-width:0;flex:none}
.pl-map-block{position:absolute;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:0;overflow:hidden;border:1px solid var(--surface);border-radius:3px;font:inherit;text-align:left;color:var(--ink);background:color-mix(in srgb,var(--pl-hue) var(--pl-tint),var(--surface));cursor:pointer;min-width:0;min-height:0}
.pl-map-block .pl-art{align-self:center;background:transparent;width:56px;height:56px}
.pl-map-block .pl-art[data-no-image=true]{background:color-mix(in srgb,var(--muted) 6%,var(--surface))}
.pl-map-block[data-change=unknown]{background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px)}
.pl-map-block.pl-map-others{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-dark)}
.pl-map-others .pl-map-name,.pl-map-others>strong{padding-inline:4px;flex:none;white-space:nowrap}
.pl-map-illustrated .pl-map-name{-webkit-line-clamp:1}
.pl-map-name{overflow-wrap:normal;word-break:normal;max-width:100%;box-sizing:border-box;padding:0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.pl-map-block>strong{padding:0 8px}
.pl-map-tip{margin-top:20px;height:3lh;overflow:hidden;display:flex;align-items:center;flex:none}
.pl-full-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.pl-list-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.pl-detail{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px}.pl-detail .pl-figure{margin-top:12px}
/* Round 2 reuses the existing type roles. Artwork never loses its identity. */
.pl-r2-filters{display:grid;gap:12px;margin-block:20px}
.pl-r2-filters[hidden]{display:none}
.pl-r2-types,.pl-r2-artists,.pl-r2-horizons{display:flex;flex-wrap:wrap;gap:8px}
.pl-r2-type-picker{position:relative;justify-self:start}
.pl-r2-type-picker>summary{cursor:pointer;list-style:none;display:flex;align-items:center;padding:8px 12px}
.pl-r2-type-picker>summary::-webkit-details-marker{display:none}
.pl-r2-band-picker>summary{display:none}
.pl-r2-band-picker{min-width:0}
.pl-r2-types{position:absolute;z-index:5;top:calc(100% + 8px);left:0;width:min(520px,calc(100vw - 64px));max-height:320px;overflow:auto;padding:12px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-popover);border-radius:var(--radius-control);box-sizing:border-box}
.pl-r2-filters .filter-chip{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:manual;column-gap:8px}
.pl-r2-types .filter-chip{color:var(--ink);background:var(--surface)}
.pl-r2-types .filter-chip[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--ink);background:color-mix(in srgb,var(--ink) 6%,var(--surface))}
.pl-r2-artists .filter-chip{color:var(--pl-filter-hue);background:color-mix(in srgb,var(--pl-filter-hue) 6%,var(--surface))}
.pl-r2-artists .filter-chip[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--pl-filter-hue)}
.pl-r2-horizons .filter-chip{color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--surface))}
.pl-r2-horizons .filter-chip[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--accent)}
.pl-r2-map{position:relative;width:100%;isolation:isolate;overflow:hidden}
.pl-r2-product,.pl-r2-others{font:inherit;color:var(--ink);border:0;padding:0;text-align:left;cursor:pointer;overflow:hidden;min-width:0;background:var(--surface);border-radius:var(--radius-control)}
.pl-r2-product{position:relative;transform-origin:top left;isolation:isolate}
.pl-r2-product:focus-visible,.pl-r2-others:focus-visible{outline:2px solid var(--accent);outline-offset:2px;z-index:2}
.pl-r2-block{position:absolute;box-shadow:inset 0 0 0 2px var(--surface)}
.pl-r2-product>img{display:block;width:100%;height:100%;object-fit:cover}
.pl-r2-band{position:absolute;inset:auto 2px 2px;display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:color-mix(in srgb,var(--surface) 96%,transparent);max-height:64%;box-sizing:border-box}
.pl-r2-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:break-word;white-space:normal}
.pl-r2-numbers{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.pl-r2-numbers .kpi-detail{color:var(--muted)}
.pl-r2-map .pl-r2-band{background:color-mix(in srgb,var(--pl-hue) var(--pl-tint),var(--surface))}
.pl-r2-map [data-change=unknown] .pl-r2-band{background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px)}
.pl-r2-map .pl-r2-numbers .kpi-detail{display:none}
.pl-r2-others{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;padding:16px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.pl-r2-tail{width:100%;margin-top:12px;min-height:88px}
.pl-r2-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;grid-auto-rows:160px;gap:12px}
.pl-r2-grid>[data-tier=large]{grid-column:span 3;grid-row:span 2}
.pl-r2-grid>[data-tier=medium]{grid-column:span 2;grid-row:span 2}
.pl-r2-grid>[data-tier=small]{grid-column:span 2;grid-row:span 1}
.pl-r2-grid>.pl-r2-others{grid-column:span 2;min-height:160px}
.pl-r2-grid .pl-r2-value{color:var(--pl-hue)}
.pl-r2-grid .pl-r2-band{max-height:75%}
.pl-r2-grid [data-change=unknown] .pl-r2-value{color:var(--ink)}
.pl-r2-pop{position:fixed;z-index:100;display:flex;flex-direction:column;gap:8px;width:max-content;max-width:min(300px,calc(100vw - 32px));padding:16px;box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-control);box-shadow:var(--shadow-popover);animation:menu-in 180ms var(--ease);overflow-wrap:normal;word-break:normal;hyphens:manual}
.pl-r2-exit{pointer-events:none;z-index:3;transform-origin:top left}
@media(prefers-reduced-motion:reduce){.pl-r2-pop{animation:none}}
@media(max-width:760px){
 .pl-r2-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pl-r2-type-picker,.pl-r2-band-picker{width:100%;position:relative}
 .pl-r2-band-picker>summary{display:flex;cursor:pointer;list-style:none;align-items:center;padding:8px 12px}
 .pl-r2-band-picker>summary::-webkit-details-marker{display:none}
 .pl-r2-band-picker .pl-r2-artists{position:absolute;z-index:5;top:calc(100% + 8px);right:0;width:calc(100vw - 64px);padding:12px;box-sizing:border-box;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-popover);border-radius:var(--radius-control)}
 .pl-r2-horizons{grid-column:1/-1}
 .pl-r2-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:170px;gap:12px;grid-auto-flow:row}
 .pl-r2-grid>[data-tier=large]{grid-column:1/-1;grid-row:span 2}
 .pl-r2-grid>[data-tier=medium]{grid-column:span 1;grid-row:span 2}
 .pl-r2-grid>[data-tier=small]{grid-column:span 1;grid-row:span 2}
 .pl-r2-grid>.pl-r2-others{grid-column:1/-1;min-height:0}
 .pl-r2-band{padding:10px 8px;max-height:64%}
 .pl-r2-numbers{flex-direction:column;gap:4px}
 .pl-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .pl-card,.pl-card.pl-medium{grid-column:span 1}.pl-card.pl-large{grid-column:1/-1}
 .pl-large>.pl-art{height:224px}.pl-medium>.pl-art,.pl-card>.pl-art{height:112px}
 .pl-movers{grid-template-columns:minmax(0,1fr);gap:24px}.pl-mover-col:empty{display:none}
 .pl-leaders{grid-template-columns:minmax(0,1fr);gap:0}.pl-leaders .pl-list-row{grid-template-columns:56px minmax(0,1fr) auto}.pl-leaders .pl-figure{grid-column:auto;flex-direction:column;align-items:flex-end}
 .pl-mover{grid-template-columns:56px minmax(0,1fr)}.pl-mover .pl-figure{grid-column:2;flex-direction:row;align-items:baseline}.pl-zero-track{grid-column:1/-1}
 .pl-full-list{grid-template-columns:minmax(0,1fr)}.pl-list-row{grid-template-columns:56px minmax(0,1fr)}.pl-list-row .pl-figure{grid-column:2}
 .pl-map-block{gap:4px}.pl-map-tip{height:4lh;overflow-wrap:normal;word-break:normal;hyphens:manual}
 .pl-detail{grid-template-columns:minmax(0,1fr)}
}

/* Round 2 fix 1: retain the shared chip padding and tile containment. */
.pl-r2-filters .filter-chip{padding:8px 12px;box-sizing:border-box}
[data-k="oc-products"] [data-products-view], [data-k="oc-products"] .pl-r2-map{min-width:0;max-width:100%}
[data-k="oc-products"] .pl-r2-product{overflow:hidden;min-height:0;padding:0;box-sizing:border-box;background:var(--surface-dim,var(--line))}
[data-k="oc-products"] .pl-r2-product>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
[data-k="oc-products"] .pl-r2-band{inset:auto 0 0;max-width:100%}
.pl-r2-product>.pl-initial{display:grid;place-items:center;width:100%;height:100%;color:var(--ink);background:color-mix(in srgb,var(--muted) 6%,var(--surface))}
.pl-r2-tile{border:1px solid var(--line);box-shadow:inset 0 0 0 1px var(--line)}
.pl-r2-pop>.oc-li-title{white-space:normal;overflow:visible;text-overflow:clip;display:block;max-width:100%}
@media(max-width:760px){[data-k="oc-products"] .pl-r2-filters{min-width:0}[data-k="oc-products"] .pl-r2-name{overflow-wrap:normal;word-break:normal}}

/* Round 2 fix 2: the map occupies one bounded object at either width. */
.pl-r2-map{max-height:600px}
[data-k="oc-products"] .pl-r2-product>img{inset:0;margin:auto;width:auto;height:auto;object-fit:contain;max-width:min(100%,var(--pl-art-width,224px));max-height:min(100%,var(--pl-art-height,224px))}
.pl-r2-filters .filter-chip{height:44px;white-space:nowrap;overflow-wrap:normal;flex-shrink:0}
/* C3: proportional named products, followed by a fixed-height door strip. */
.pl-r3-map{position:relative;width:100%;max-width:100%;overflow:hidden;isolation:isolate}
/* Artists-first: full names determine admission; type and padding stay inherited. */
.pl-r3-map[data-artist-map] .pl-r3-label .oc-li-title{display:block;white-space:nowrap;overflow:visible;text-overflow:clip}
.pl-r3-map[data-artist-map] .pl-r3-label strong{display:flex;flex-direction:row;flex-wrap:wrap;column-gap:8px}
.pl-r3-map[data-artist-map] .pl-r3-label [hidden]{display:none}
.pl-r3-map:has([data-products-folded-list]){overflow-y:auto}
[data-products-folded-list] .pl-list-row{grid-template-columns:minmax(0,1fr);height:auto;white-space:normal}
[data-products-folded-list] .oc-li-title{white-space:normal;overflow-wrap:anywhere}
[data-products-folded-list] strong{display:flex;flex-wrap:wrap;column-gap:8px}
.pl-r3-strip.pl-map-navigation{gap:12px}
.pl-map-navigation .pl-r3-return{margin:0}
[data-products-direction=C3] .pl-key{height:84px}
[data-k="oc-products"] .pl-r3-block{position:absolute;min-height:0;min-width:0;padding:0;box-sizing:border-box;overflow:hidden;border:0;border-radius:var(--radius-control);font:inherit;color:var(--ink);text-align:left;cursor:pointer;transform-origin:top left;background:color-mix(in srgb,var(--pl-hue) var(--pl-tint),var(--surface));box-shadow:inset 0 0 0 2px var(--surface)}
.pl-r3-label{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;padding:12px;display:flex;flex-direction:column;gap:8px;transform-origin:top left}
.pl-r3-label .oc-li-title{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:manual}
.pl-r3-label strong,.pl-r3-strip strong{white-space:nowrap}
.pl-r3-block[data-change=unknown]{background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px)}
.pl-r3-break{display:none}
.pl-r3-block:focus-visible{outline:2px solid var(--accent);outline-offset:-3px;z-index:2}
.pl-key>.pl-r3-crumbs{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;height:24px;min-height:24px;white-space:nowrap;overflow-x:auto;max-width:100%;min-width:0;width:100%}
.pl-r3-crumbs button{font:inherit;border:0;background:none;padding:0;min-height:0;height:24px;cursor:pointer;color:inherit;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;flex-shrink:0}
.pl-r3-crumbs button:hover{color:var(--accent)}
.pl-r3-bands{display:flex;flex-wrap:wrap;gap:8px}
.pl-r3-bands .filter-chip{color:var(--ink);background:color-mix(in srgb,var(--pl-hue) 18%,var(--surface))}
.pl-r3-bands .filter-chip[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--pl-hue)}
.pl-r3-bands [data-products-band=unknown]{background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px)}
.pl-r3-pop{pointer-events:none;display:grid;grid-template-columns:minmax(0,1fr);width:280px}
.pl-r3-pop-art{display:grid;place-items:center;height:160px;overflow:hidden;background:var(--surface)}
.pl-r3-pop-art img{display:block;object-fit:contain;max-width:100%;max-height:160px}
.pl-r3-pop-art .pl-initial{color:var(--ink)}
@media(max-width:760px){
 [data-products-direction=C3] .pl-key{height:140px}
 .pl-r3-label{padding:6px;display:block}.pl-r3-label .oc-li-title{display:inline}.pl-r3-label strong{display:inline}
 .pl-r3-break{display:inline}
 .pl-r3-bands{grid-column:1/-1;gap:4px}
 .pl-r3-bands .filter-chip{padding-inline:8px}
 .pl-r3-pop{inset:auto 0 0!important;width:100%;max-width:100%;border-radius:var(--radius-control) var(--radius-control) 0 0;grid-template-columns:88px minmax(0,1fr);gap:4px 12px;padding:12px 16px}
 .pl-r3-pop-art{grid-column:1;grid-row:1/7;height:112px;align-self:center}
 .pl-r3-pop-art img{max-height:112px}
 .pl-r3-pop>span:not(.pl-r3-pop-art),.pl-r3-pop>strong{grid-column:2}
}

@media(max-width:760px){
 .pl-r2-map{max-height:480px}
 .pl-r2-map[data-layout="grid"] .pl-r2-band{max-height:50%}
 [data-k="oc-products"] .pl-r2-map[data-layout="grid"] .pl-r2-product>img{bottom:50%;max-height:min(50%,var(--pl-art-height,224px))}
 .pl-r2-filters{grid-template-columns:max-content minmax(0,1fr)}
 .pl-r2-type-picker,.pl-r2-band-picker{width:auto;justify-self:start}
 .pl-r2-horizons{flex-wrap:nowrap;gap:4px;min-width:0;overflow-x:auto;height:44px}
 .pl-r2-horizons .filter-chip{padding-inline:8px}
}

.pl-r3-strip{display:flex;align-items:center;align-content:center;flex-wrap:wrap;column-gap:4px;width:100%;height:56px;min-height:56px;box-sizing:border-box;margin:0;padding:0;border:0;border-top:1px solid var(--line);background:transparent;font:inherit;text-align:left;cursor:pointer}
.pl-r3-strip:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.pl-r3-return{min-height:44px;margin:0 0 8px;padding:0;border:0;background:none;font:inherit;cursor:pointer}
[data-products-roster] [data-products-controls], [data-products-roster] #oc-products-h, [data-products-roster] .rd-paid-top, [data-products-roster] .pl-r2-band-picker{display:none}
.pl-roster-list{display:block;margin:0;padding:0;list-style:none}
.pl-roster-list>li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:center;border-top:1px solid var(--line)}
.pl-roster-list .pl-list-row{grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0}
.pl-roster-return{position:sticky;bottom:0;z-index:3;background:var(--surface);border-top:1px solid var(--line)}

.pl-r3-map:has([data-products-zero]){overflow-y:auto}
.pl-r3-map [data-products-zero]{display:block}
.pl-r3-map [data-products-zero] .pl-list-row{grid-template-columns:minmax(0,1fr) auto}

.pl-r3-direction{display:block;white-space:nowrap}
.pl-roster-stat{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px;align-self:center}
.pl-roster-list [data-product-direction]{color:var(--pl-hue)}

/* Naveen 2026-10-25: enlarge only each tile/roster sales amount, 16 to 18 px. */
[data-products-direction=C3] [data-product-sales-figure]{font-size:18px}

/* Final review: the shell owns dates; state chips also serve as the key. */
[data-products-direction=C3] .om-key{margin:0}
[data-products-direction=C3] .pl-r3-head-line{height:auto;min-height:44px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
[data-products-direction=C3] .pl-r2-filters{grid-template-columns:minmax(0,1fr);gap:8px;margin:6px 0 8px}
[data-products-direction=C3] .pl-r3-head-line>details{flex:none}
[data-products-direction=C3] .pl-r3-head-line .pl-r2-types{left:auto;right:0}
[data-products-direction=C3] .pl-r3-key-row{flex-wrap:nowrap;align-items:center;gap:8px}
.pl-r3-key-cell{display:grid;grid-template-rows:auto auto;align-content:start;gap:0;min-height:64px;min-width:0;flex:1 1 0;padding:8px;border:1px solid color-mix(in srgb,var(--pl-hue) 28%,var(--surface));border-radius:var(--radius-control);background:color-mix(in srgb,var(--pl-hue) 12%,var(--surface));color:var(--pl-hue);font:inherit;text-align:left;white-space:normal;cursor:pointer}
.pl-r3-key-cell[aria-pressed=true]{background:var(--pl-hue);color:var(--surface);box-shadow:inset 0 0 0 1px var(--pl-hue)}
.pl-r3-key-cell:focus-visible{outline:2px solid var(--pl-hue);outline-offset:2px}
.pl-r3-key-cell:disabled{cursor:default}
[data-products-design="1"] .pl-r3-key-row [data-products-band=unknown]:not([aria-pressed=true]){background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px)}
.pl-r3-key-row>.pl-r3-return{display:flex;align-items:center;flex:none;margin:0 0 0 auto;white-space:nowrap}
@media(max-width:479px){
 .pl-r3-label strong{display:block}
 [data-products-roster] [data-products-design="1"] .pl-r3-key-row .pl-r3-key-cell{padding-inline:0;flex-shrink:0}
 [data-products-roster] [data-products-direction=C3] .pl-r3-key-row{gap:6px}
}

/* Round 5: one shared head and one pressable key row on every C3 surface. */
[data-products-direction=C3]>.rd-paid-top{display:none}
[data-products-direction=C3] .om-key{margin:0;min-width:0}
[data-products-direction=C3] .pl-r3-head-line{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px 16px;height:auto;min-height:44px;max-width:100%}
.pl-head-scopes,.pl-head-actions,.pl-head-lens{display:flex;align-items:center;gap:8px;min-width:0}
.pl-head-scopes{flex-wrap:wrap}
.pl-head-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.pl-head-actions .pl-r3-return{display:flex;align-items:center;flex:none;min-height:44px;margin:0;white-space:nowrap}
.pl-head-actions button:disabled{opacity:.45;cursor:default}
/* Product: the page bundles can place .rd-door (river-day.css) after this sheet; the door keeps its own alignment. */
.pl-head-door,.rd-door.pl-head-door{display:flex;align-items:center;min-height:44px;max-width:100%;color:var(--ink);white-space:normal}
[data-products-direction=C3] .pl-r2-filters{display:block;margin:4px 0 8px;min-width:0}
[data-products-direction=C3] .pl-r3-key-row{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:16px;min-width:0}
[data-products-direction=C3] .pl-r3-key-row>.pl-head-door{margin-left:auto}
.pl-head-artists{position:relative;flex:none}
.pl-head-artists summary{cursor:pointer;list-style:none}
.pl-head-artists summary::-webkit-details-marker{display:none}
.pl-head-artists .pl-r2-types{position:absolute;left:0;top:100%;z-index:10;max-height:320px;overflow:auto;min-width:200px;max-width:calc(100vw - 48px);background:var(--surface)}
.pl-head-lens{border:1px solid var(--line);border-radius:var(--radius-control);gap:0;max-width:100%}
.pl-head-lens [aria-pressed=true]{background:color-mix(in srgb,var(--ink) 7%,var(--surface))}
[data-products-design="3"] .pl-r3-key-row{overflow-x:auto}
[data-products-design="4"] [data-k="oc-products-key"]{position:sticky;top:0;z-index:6;background:var(--surface)}
[data-products-design="4"] [data-products-view=C3]{max-height:none;overflow:visible}
.pl-door-tile{position:absolute;min-height:0;padding:12px;box-sizing:border-box;background:color-mix(in srgb,var(--muted) 12%,var(--surface));border:0;border-radius:var(--radius-control);box-shadow:inset 0 0 0 2px var(--surface)}
.pl-roster-return{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.pl-roster-return .pl-r3-return{margin:0;display:flex;align-items:center;white-space:nowrap}
@media(max-width:760px){
 [data-products-direction=C3] .pl-r3-head-line{gap:0 8px}
 [data-products-direction=C3] .pl-head-scopes{gap:4px}
 [data-products-direction=C3] .pl-head-scopes .filter-chip{padding-inline:4px}
 [data-products-direction=C3] .pl-head-actions{width:100%;margin-left:0;justify-content:space-between;gap:4px}
 [data-products-direction=C3] .pl-r3-key-row{gap:8px;justify-content:space-between}
 [data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{padding-inline:0;flex-shrink:1}
 [data-products-design="2"] .pl-r3-key-row{flex-wrap:wrap}
 [data-products-design="2"] .pl-r3-key-row>.pl-head-door{width:100%;margin-left:0}
 [data-products-design="3"] .pl-r3-key-row{justify-content:flex-start}
 [data-products-design="3"] .pl-r3-key-row>.filter-chip{flex-shrink:0}
 .pl-roster-return{gap:8px}
}
[data-products-direction=C3] .pl-r3-head-line{width:100%}
.pl-r3-key-row [data-products-band=unknown]:not([aria-pressed=true]){background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px)}
@media(max-width:760px){
 .pl-roster-return{flex-direction:row-reverse;justify-content:space-between;gap:4px;margin-inline:-4px;width:calc(100% + 8px)}
 .pl-roster-return .pl-head-door{min-width:0}
}

/* Relaunch 2: a single phone track, persistent state key, page-scroll pinning. */
[data-products-direction=C3] .pl-r3-key-cell{background:color-mix(in srgb,var(--pl-hue) 12%,var(--surface));border:1px solid color-mix(in srgb,var(--pl-hue) 28%,var(--surface));min-width:44px}
[data-products-direction=C3] .pl-r3-key-cell[aria-pressed=true]{background:var(--pl-hue);color:var(--surface)}
[data-products-direction=C3] summary.filter-chip,[data-products-direction=C3] .pl-r2-types .filter-chip,[data-products-direction=C3] [data-products-lens]{min-height:44px}
.pl-head-scopes{position:relative}
.pl-lens-panel{z-index:12}
.pl-r2-types [hidden]{display:none!important}
[data-products-artist-search]{width:100%;min-height:44px;box-sizing:border-box;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface)}
[data-products-design="4"] .pl-r2-filters{position:sticky;top:44px;z-index:5;background:var(--surface)}
.pl-head-door span{display:inline}
@media(max-width:760px){
 [data-products-direction=C3] .pl-r3-head-line{flex-wrap:nowrap;gap:4px;height:48px;min-height:48px}
 [data-products-direction=C3] [data-products-count]{display:block;flex:0 0 60px;min-width:0}
 [data-products-direction=C3] .pl-head-scopes{flex-wrap:nowrap;flex:0 0 108px;gap:4px}
 [data-products-direction=C3] .pl-head-scopes>details{width:52px;min-width:44px;flex:1 1 0}
 [data-products-direction=C3] .pl-head-scopes summary.filter-chip{display:block;white-space:normal;height:48px;overflow:hidden;box-sizing:border-box;padding:0 2px}
 [data-products-direction=C3] .pl-head-actions{width:auto;flex:1 1 0;margin:0;flex-wrap:nowrap;justify-content:flex-end;gap:4px;min-width:0}
 [data-products-direction=C3] .pl-head-actions .pl-r3-return{min-width:44px}
 [data-products-direction=C3] .pl-head-door{flex:1 1 0;min-width:44px;height:48px;min-height:44px;white-space:normal;overflow:hidden;display:block}
 [data-products-direction=C3] .pl-head-door .pl-door-detail{display:none}
 [data-products-direction=C3] .pl-r2-filters{margin:0}
 [data-products-direction=C3] .pl-r3-key-row{gap:4px;min-height:48px;height:48px;flex-wrap:nowrap}
 [data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{padding:0;min-height:48px;height:48px;overflow:hidden;flex:1 1 0}
 [data-products-direction=C3] .pl-r3-key-cell>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 [data-products-design="2"] .pl-r3-key-row{gap:0}
 [data-products-design="2"] .pl-r3-key-row>.pl-head-door{width:76px;flex:0 0 76px;margin:0}
 [data-products-design="2"] .pl-r3-key-row>.pl-r3-return{width:44px;min-width:44px;margin:0}
 [data-products-design="2"] .pl-r3-head-line .pl-head-scopes{flex:1 1 auto;max-width:200px}
 [data-products-design="3"] .pl-head-scopes{flex:1 1 126px}
 [data-products-design="3"] .pl-head-lens{border:0;flex:1 1 0;min-width:0}
 [data-products-design="3"] [data-products-lens]{min-width:44px;flex:1 1 0;max-height:48px;overflow:hidden;white-space:normal;padding:0 2px}
 [data-products-design="4"] .pl-r2-filters{top:48px}
 [data-products-direction=C3] .pl-head-scopes .pl-r2-types{width:min(520px,calc(100vw - 16px));max-width:calc(100vw - 16px);min-width:0;box-sizing:border-box}
}

[data-products-direction=C3] .pl-r3-return{min-width:44px}
section[data-products-design="4"]{margin-bottom:max(0px,calc(100vh - 640px))}

@media(max-width:760px){
 [data-products-direction=C3] .pl-head-scopes{flex-basis:120px}
 [data-products-direction=C3] .pl-head-scopes>details:first-child{flex:0 0 64px;width:64px}
 [data-products-direction=C3] .pl-head-scopes>details:last-child{flex:0 0 52px;width:52px}
 [data-products-direction=C3] .pl-head-scopes .pl-r2-types{position:fixed;left:8px!important;right:8px!important;width:calc(100vw - 16px)!important}
}

@media(max-width:760px){
 [data-products-design="3"] .pl-r3-head-line .pl-head-scopes{flex:0 0 152px;width:152px}
 [data-products-design="3"] .pl-head-lens{display:grid;grid-template-columns:64px 44px 44px;width:152px;gap:0}
 [data-products-design="3"] .pl-head-lens [data-products-lens]{width:44px;padding:0}
}

@media(max-width:760px){
 [data-products-design="3"] .pl-head-lens [data-products-lens="Product type"]{width:64px}
 [data-products-design="3"] .pl-head-actions .pl-head-door{display:flex;align-items:center;gap:0}
 [data-products-design="3"] .pl-head-actions .pl-head-door>span:first-child{flex:1 1 0;min-width:0}
 [data-products-design="3"] .pl-head-actions .pl-head-door>span:last-child{flex:none}
}

@media(max-width:760px){
 [data-products-roster] .client-filter.is-wide{flex-wrap:wrap}
 [data-products-roster] .client-filter.is-wide>.filter-track{flex:1 0 100%;max-width:100%;min-width:0}
}

/* Relaunch 3: phone scope is one disclosure; full state labels in a 2 x 2 key. */
.pl-phone-scope summary{list-style:none;cursor:pointer}
.pl-phone-scope summary::-webkit-details-marker{display:none}
/* Closed details content must have no layout box, including its nested Product type section. */
.pl-phone-scope:not([open])>.pl-phone-scope-panel{display:none}
.pl-phone-scope-panel{overflow:auto;z-index:12;background:var(--surface)}
.pl-phone-scope-panel>section{display:flex;flex-wrap:wrap;gap:4px;width:100%}
.pl-phone-scope-panel>section>div{width:100%}
@media(max-width:480px){
 [data-products-direction=C3] .pl-r3-head-line{height:44px;min-height:44px;gap:4px;flex-wrap:nowrap}
 [data-products-direction=C3] [data-products-count]{flex:0 0 auto;white-space:nowrap}
 [data-products-direction=C3] .pl-r3-head-line .pl-head-scopes{flex:0 0 auto;width:auto;max-width:none}
 [data-products-direction=C3] .pl-head-scopes>details.pl-phone-scope{flex:0 0 auto;width:auto;min-width:64px}
 [data-products-direction=C3] .pl-head-scopes .pl-phone-scope>summary{display:flex;align-items:center;white-space:nowrap;height:44px;min-height:44px;padding:0 6px;overflow:visible}
 [data-products-direction=C3] .pl-head-actions{gap:0;flex:1 0 auto}
 [data-products-direction=C3] .pl-head-actions .pl-r3-return{width:44px;min-width:44px;justify-content:center}
 [data-products-direction=C3] .pl-back-label{display:none}
 [data-products-direction=C3] .pl-head-actions .pl-head-door{display:flex;flex:0 0 auto;align-items:center;white-space:nowrap;height:44px;overflow:visible;gap:0}
 [data-products-direction=C3] .pl-head-actions .pl-head-door>span{flex:none;white-space:nowrap}
 [data-products-direction=C3] .pl-head-actions .pl-head-door>.pl-door-detail{display:none}
 [data-products-direction=C3] .pl-r3-key-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,48px);height:96px;gap:0;overflow:visible}
 [data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{width:100%;height:48px;min-height:48px;padding:0 8px;overflow:visible;box-sizing:border-box;border:0;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pl-hue) 28%,var(--surface))}
 [data-products-direction=C3] .pl-r3-key-cell>span{white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none}
 [data-products-design="4"] .pl-r2-filters{top:44px}
 [data-products-direction=C3] .pl-roster-return .pl-head-door{display:flex;white-space:nowrap;height:44px;align-items:center}
 [data-products-direction=C3] .pl-roster-return .pl-head-door>.pl-door-detail{display:none}
}

/* Relaunch 4: labelled leaderboard, generous picker options, state-owned fill. */
[data-products-direction=C3] .pl-r3-key-cell[aria-pressed=true]{background:color-mix(in srgb,var(--pl-hue) 40%,var(--surface));color:var(--ink);box-shadow:inset 0 0 0 2px var(--pl-hue)}
[data-products-direction=C3] .pl-r3-key-cell[data-products-band=unknown]{background:repeating-linear-gradient(135deg,var(--surface) 0 5px,var(--line) 5px 6px);color:var(--ink)}
[data-products-direction=C3] .pl-head-scopes .pl-r2-types{padding:16px;gap:12px;align-content:start}
[data-products-direction=C3] .pl-head-scopes .pl-r2-types .filter-chip{display:inline-flex;align-items:center;gap:6px;padding:12px 16px;height:auto;min-height:44px;white-space:normal}
[data-products-direction=C3] .pl-head-scopes summary.filter-chip{display:flex;align-items:center;gap:6px;white-space:nowrap}
.pl-phone-scope-panel>section{gap:12px}
.pl-phone-scope-panel>section+section{margin-top:12px}
[data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{display:grid;grid-template-columns:44px minmax(180px,2fr) minmax(120px,1fr) 110px 125px minmax(220px,1.4fr);gap:16px;align-items:center;text-align:left}
.pl-leaderboard-columns{padding:12px 0;border-bottom:1px solid var(--line);color:var(--muted)}
[data-k="oc-products"] .pl-roster-list>li{display:block;border:0;border-radius:var(--radius-control)}
[data-k="oc-products"] .pl-roster-list .pl-list-row{padding:16px 0;border:0;border-bottom:1px solid var(--line);background:transparent;min-height:76px}
.pl-roster-list .pl-roster-stat{display:block;text-align:right}
.pl-roster-list .pl-roster-rank{color:var(--muted)}
.pl-roster-list .pl-roster-share,.pl-roster-list [data-product-direction]{text-align:right}
.pl-roster-list [data-arrival=true]{background:color-mix(in srgb,var(--accent) 14%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 30%,var(--surface))}
.pl-roster-list [data-arrival=true] .pl-list-row{padding-inline:8px}
.pl-product-journey{overflow:hidden;border-radius:var(--radius-control);background:color-mix(in srgb,var(--pl-hue,var(--muted)) 25%,var(--surface));box-shadow:var(--shadow-popover);transform:none!important}
.pl-product-share{display:block;white-space:nowrap}
[data-k="oc-products"] .pl-r3-label strong{display:flex;flex-direction:column;white-space:normal}
[data-k="oc-products"] .pl-r3-label .pl-r3-direction{white-space:normal;max-width:100%}
@media(max-width:760px){
 [data-k="oc-products"] .pl-r3-label{display:flex;flex-direction:column;gap:0}
 [data-k="oc-products"] .pl-r3-label .oc-li-title,[data-k="oc-products"] .pl-r3-label strong{display:block}
 [data-k="oc-products"] .pl-leaderboard-columns{display:none}
 [data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:32px minmax(0,1fr) auto;gap:4px 8px;padding:16px 4px;min-height:120px}
 .pl-roster-list .pl-roster-rank{grid-column:1;grid-row:1/4;align-self:start}
 .pl-roster-list .pl-roster-product{grid-column:2;grid-row:1}
 .pl-roster-list .pl-roster-artist{grid-column:2;grid-row:2}
 .pl-roster-list .pl-roster-stat{grid-column:3;grid-row:1}
 .pl-roster-list .pl-roster-share{grid-column:3;grid-row:2}
 .pl-roster-list [data-product-direction]{grid-column:2/4;grid-row:3;white-space:normal}
 [data-products-direction=C3] .pl-head-actions .pl-head-door{flex:none;min-width:72px;white-space:nowrap}
}
[data-k="oc-products"] .pl-r3-label strong{display:flex;flex-direction:row;flex-wrap:wrap;column-gap:8px;row-gap:0}
.pl-product-share{display:inline}
.pl-r3-label strong>span{white-space:nowrap}
.pl-r3-label strong>.pl-product-share{white-space:normal}
.pl-roster-list .pl-roster-product{white-space:normal;overflow:visible;text-overflow:clip;min-width:0}
.pl-product-journey{font:inherit;color:var(--ink);text-align:left;border:0;padding:0}

/* Relaunch 5: compact leaderboard tracks and complete phone key surfaces. */
.pl-artist-search{display:flex;align-items:center;gap:8px;flex:1 0 100%;width:100%;min-height:44px;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);padding:0 12px}
.pl-artist-search [data-products-artist-search]{flex:1;min-width:0;border:0;background:transparent;padding:0;outline-offset:2px}
.pl-artist-search>span{color:var(--muted)}
.pl-r3-pop[data-product-popover][data-pinned]{pointer-events:auto}
@media(max-width:480px){
 [data-products-direction=C3] .pl-r3-key-row{grid-template-rows:repeat(2,48px);gap:6px;height:102px;min-height:102px}
 [data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{padding:0 12px;height:48px;min-height:48px;align-content:center}
 [data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:36px minmax(0,1fr) 64px 96px;column-gap:6px}
 [data-k="oc-products"] .pl-leaderboard-columns{display:grid;padding:8px 0;align-items:center}
 .pl-leaderboard-columns>span:nth-child(3),.pl-leaderboard-columns>span:nth-child(5){display:none}
 [data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-rows:24px 24px;row-gap:0;padding:4px 0;height:56px;min-height:56px;box-sizing:border-box}
 .pl-roster-list .pl-roster-rank{grid-column:1;grid-row:1/3;align-self:center}
 [data-k="oc-products"] .pl-roster-list .pl-roster-product{grid-column:2;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pl-roster-list .pl-roster-artist{grid-column:2;grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pl-roster-list .pl-roster-stat{grid-column:3;grid-row:1/3;align-self:center;white-space:nowrap}
 .pl-roster-list .pl-roster-share{display:none}
 .pl-roster-list [data-product-direction]{grid-column:4;grid-row:1/3;align-self:center;white-space:normal;overflow:hidden;max-height:48px}
 .pl-roster-list .pl-comparison{display:block;white-space:nowrap}
 .pl-roster-list [data-arrival=true] .pl-list-row{padding-inline:0}
}

.pl-product-journey .pl-r3-label{display:block}
.pl-product-journey .pl-r3-label .oc-li-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-product-journey .pl-r3-label strong,.pl-product-journey .pl-r3-label [data-product-direction]{display:none}

.pl-leaderboard-columns{position:sticky;top:0;z-index:4;background:var(--surface)}
.pl-roster-list [data-product-id]{scroll-margin-top:52px}
@media(max-width:480px){
 [data-products-roster] [data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{padding-inline:12px}
}

/* Relaunch 6: product evidence and a visible sales publication. */
[data-products-roster] [data-products-controls]{display:flex;justify-content:flex-end;margin-bottom:12px}
[data-products-roster] [data-k="oc-products"]{margin-top:12px}
.pl-demo-tick{min-height:44px;padding:12px 16px;white-space:nowrap}
.pl-reason-key{display:flex;gap:8px;overflow-x:auto;padding:12px 0 0;scrollbar-width:none}
.pl-reason-key+.pl-leaderboard-columns{margin-top:16px}
.pl-reason-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:6px;border:1px solid color-mix(in srgb,var(--pl-reason-hue) 38%,var(--surface));background:color-mix(in srgb,var(--pl-reason-hue) 12%,var(--surface));color:var(--ink);padding:1px 8px}
button.pl-reason-chip{cursor:pointer;min-height:44px;padding:8px 12px;flex:none}
button.pl-reason-chip[aria-pressed=true]{background:color-mix(in srgb,var(--pl-reason-hue) 40%,var(--surface));box-shadow:inset 0 0 0 1px var(--pl-reason-hue)}
.pl-reason-chip:focus-visible{outline:2px solid var(--pl-reason-hue);outline-offset:2px}
.pl-roster-identity{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;align-items:center;min-width:0}
.pl-roster-art{grid-column:1;grid-row:1/3;width:40px;height:40px;object-fit:contain;border-radius:6px;background:var(--surface)}
.pl-art-empty{background:var(--wash)}
.pl-roster-identity .pl-roster-product{grid-column:2;grid-row:1}
.pl-roster-reasons{grid-column:2;grid-row:2;display:flex;gap:6px;min-width:0}
.pl-roster-identity:not(:has(.pl-reason-chip)) .pl-roster-product{grid-row:1/3}
@media(max-width:480px){
 [data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:32px minmax(0,1fr) 64px 94px}
 .pl-roster-list .pl-roster-identity{grid-column:2;grid-row:1/3;gap:0 6px;grid-template-rows:24px 24px}
 .pl-roster-list .pl-roster-identity .pl-roster-product{grid-column:2;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pl-roster-list .pl-roster-artist{display:none}
 .pl-roster-reasons{align-self:start}
 .pl-roster-reasons .pl-reason-chip{padding:0 4px}
}

.pl-roster-phone-artist{display:none}
@media(max-width:480px){.pl-roster-phone-artist{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pl-roster-identity:not(:has(.pl-reason-chip)) .pl-roster-product{grid-row:1}}

/* Relaunch 7: opaque sale crossings and product identity at both widths. */
[data-k="oc-products"] .pl-roster-list>li{position:relative;background:var(--surface)}
[data-k="oc-products"] .pl-roster-list>li[data-rank-movement=up]{z-index:3}
/* Relaunch 9: the lift (shadow, corners) lives in the row's own animation and eases to rest; no static rule snaps it off. */
[data-k="oc-products"] .pl-roster-list>li[data-rank-movement=up]>.pl-list-row{background:var(--surface)}
[data-k="oc-products"] .pl-roster-list>li[data-rank-movement=down]{z-index:1}
[data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:36px minmax(300px,1fr) minmax(140px,.45fr) 85px 105px 190px;gap:12px}
[data-k="oc-products"] .pl-roster-list .pl-list-row{height:64px;min-height:64px;padding:8px 0;box-sizing:border-box;position:relative;background:var(--surface);border-radius:0}
.pl-roster-identity{grid-template-rows:48px}
.pl-roster-identity .pl-roster-product,.pl-roster-identity:not(:has(.pl-reason-chip)) .pl-roster-product{grid-row:1;max-height:48px;overflow:hidden}
.pl-roster-identity>.pl-roster-reasons{display:none}
.pl-roster-artist{display:flex;flex-direction:column;gap:2px;min-width:0}
.pl-roster-desktop-reasons{display:flex;gap:6px;flex-wrap:wrap;max-height:24px;overflow:hidden}
.pl-roster-list .pl-roster-stat,.pl-roster-list .pl-roster-share,.pl-roster-list [data-product-direction],.pl-leaderboard-columns>span:nth-child(n+4){text-align:right}
.pl-map-key-line{grid-column:1/-1;color:var(--muted);padding-top:4px}
@media(min-width:481px){.pl-roster-list .pl-roster-phone-artist{display:none}}
@media(max-width:480px){
 [data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:32px minmax(160px,1fr) 60px 94px;column-gap:4px}
 [data-k="oc-products"] .pl-leaderboard-columns,.pl-roster-list{margin-inline:-16px;width:calc(100% + 32px)}
 [data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-rows:24px 20px 20px;height:64px;min-height:64px;padding:0;row-gap:0}
 .pl-roster-list .pl-roster-rank{grid-row:1;align-self:start}
 .pl-roster-list .pl-roster-art{position:absolute;left:0;top:28px;width:28px;height:28px}
 .pl-roster-list .pl-roster-identity{display:grid;grid-column:2;grid-row:1/4;grid-template-columns:minmax(0,1fr);grid-template-rows:24px 20px 20px;gap:0}
 .pl-roster-list .pl-roster-identity .pl-roster-product{grid-column:1;grid-row:1;max-height:24px}
 .pl-roster-list .pl-roster-phone-artist{display:block;grid-column:1;grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pl-roster-list .pl-roster-identity>.pl-roster-reasons{display:flex;grid-column:1;grid-row:3;height:20px;align-items:center;flex-wrap:wrap;overflow:hidden}
 .pl-roster-reasons .pl-reason-chip{padding:0 4px;height:20px;box-sizing:border-box}
 .pl-roster-list .pl-roster-artist{display:none}
 .pl-roster-list .pl-roster-stat,.pl-roster-list [data-product-direction]{grid-row:1/3}
 .pl-map-key-line{display:none}
}
@media(max-width:359px){
 .pl-roster-list .pl-roster-art{display:none}
 [data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:20px minmax(0,1fr) 58px 70px}
}

/* Relaunch 8: Naveen's live review, 10/25 02:52Z (DESIGN.md "### Products", LOCKED). Typography unchanged. */
/* Picker chips: 12/16 px padding, 10 px label-to-chevron, chevron >= 14 px clear of the edge, 12 px between chips. */
[data-k="oc-products"][data-products-direction=C3] .pl-r3-head-line{height:auto;min-height:48px}
[data-k="oc-products"][data-products-direction=C3] .pl-head-scopes{gap:12px;flex:0 0 auto;width:auto;max-width:none}
[data-k="oc-products"][data-products-direction=C3] .pl-head-scopes>details{flex:0 0 auto;width:auto;min-width:0}
[data-k="oc-products"][data-products-direction=C3] .pl-head-scopes summary.filter-chip{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;height:auto;min-height:44px;white-space:nowrap;overflow:visible;box-sizing:border-box}
/* 16 px between the head row and the key row; key cells breathe: 16 px padding, 12 px apart, figure and label 4 px apart. */
[data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row{gap:12px;margin-top:12px;height:auto;min-height:0}
[data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;padding:16px;height:auto;min-height:0;box-sizing:border-box;overflow:visible;border:1px solid color-mix(in srgb,var(--pl-hue) 28%,var(--surface))}
[data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell>span{white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none}
/* The window reminder: the date control's words, right of the key cells. */
[data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row>.pl-map-key-line{flex:none;margin-left:auto;align-self:flex-start;padding-top:0;white-space:nowrap}
/* Chips always carry all four borders: leaderboard reason chips fit their 24 px track. */
.pl-roster-desktop-reasons{align-items:center}
.pl-roster-desktop-reasons .pl-reason-chip{height:24px;padding:0 8px;box-sizing:border-box}
@media(max-width:480px){
 [data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;gap:12px;height:auto;min-height:0;margin-top:16px}
 [data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell{width:100%;height:auto;min-height:0;padding:16px}
 [data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row .pl-r3-key-cell:not([aria-pressed=true]){box-shadow:none}
}

/* Products bands use shell/switch.css above both the map and the leaderboard.
   The dot uses system.css's 6 px status mark and the existing band hue. */
.pl-band-row{display:flex;align-items:center;gap:12px;min-width:0;margin-top:12px}
.pl-band-segments{display:flex;max-width:100%;overflow-x:auto;padding-block:2px}
.pl-band-segments>.switch{flex:none}
.pl-band-segments>.switch>button{display:flex;align-items:center;justify-content:center;gap:6px}
.pl-band-dot{width:6px;height:6px;flex:none;border-radius:50%;background:var(--pl-hue)}
.pl-band-row>.pl-map-key-line{flex:none;margin-left:auto;white-space:nowrap}
@media(max-width:480px){
 .pl-band-row{margin-top:16px}
 .pl-band-segments{display:grid;gap:12px;width:100%}
 .pl-band-segments>.switch>button{flex:1 1 auto}
}

/* Relaunch 9: the leaderboard's list contract (rulebook §3) and Astra review 5. Typography unchanged. */
.pl-leaderboard-columns .pl-sort{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;text-align:inherit;cursor:pointer;min-height:32px;white-space:nowrap}
.pl-leaderboard-columns .pl-sort[aria-sort=ascending],.pl-leaderboard-columns .pl-sort[aria-sort=descending]{color:var(--ink)}
.pl-leaderboard-columns .pl-sort:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pl-leaderboard-columns>.pl-sort:nth-child(n+4){text-align:right}
.pl-roster-list>.pl-roster-more-row{display:flex;justify-content:center;padding:12px 0}
.pl-roster-more{min-height:44px}
/* Doors live in the head only: the footer duplicate is gone. */
[data-products-roster] .pl-roster-return{display:none}
/* Never cut a row title: titles wrap, rows grow from 64 px. */
[data-k="oc-products"] .pl-roster-list .pl-list-row{height:auto}
.pl-roster-identity .pl-roster-product,.pl-roster-identity:not(:has(.pl-reason-chip)) .pl-roster-product{max-height:none;overflow:visible}
@media(max-width:480px){
 [data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:38px minmax(160px,1fr) 64px 90px;column-gap:2px}
 .pl-leaderboard-columns>.pl-sort:nth-child(3),.pl-leaderboard-columns>.pl-sort:nth-child(5){display:none}
 .pl-leaderboard-columns .pl-sort{white-space:normal}
 [data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-rows:auto 20px 20px;height:auto;min-height:64px}
 .pl-roster-list .pl-roster-identity{grid-template-rows:auto 20px 20px}
 .pl-roster-list .pl-roster-identity .pl-roster-product{white-space:normal;overflow:visible;text-overflow:clip;max-height:none}
}
.pl-reason-key>.pl-csv{flex:none;margin-left:auto;min-height:44px;white-space:nowrap}
button.rd-door.pl-csv,button.rd-door.pl-roster-more{font:inherit;background:none;border:0;padding:0 4px;cursor:pointer;align-items:center}
.pl-leaderboard-columns>.pl-sort{justify-self:stretch;width:100%;min-width:0;text-align:left}
.pl-leaderboard-columns>.pl-sort:nth-child(n+4){text-align:right}
[data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:60px minmax(300px,1fr) minmax(140px,.45fr) 85px 105px 190px}
/* Use the existing compact leaderboard while the rail leaves too little room
   for six tracks. The product track may shrink at 360; names still wrap. */
@media(max-width:1100px){
 [data-k="oc-products"] .pl-leaderboard-columns,[data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:38px minmax(0,1fr) 64px 90px;column-gap:2px}
 [data-k="oc-products"] .pl-leaderboard-columns{display:grid}
 .pl-leaderboard-columns>.pl-sort:nth-child(3),.pl-leaderboard-columns>.pl-sort:nth-child(5){display:none}
 .pl-leaderboard-columns .pl-sort{white-space:normal}
 [data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-rows:auto 20px 20px;row-gap:0;min-height:64px;padding:0}
 .pl-roster-list .pl-roster-rank{grid-column:1;grid-row:1;align-self:start}
 .pl-roster-list .pl-roster-art{position:absolute;left:0;top:28px;width:28px;height:28px}
 .pl-roster-list .pl-roster-identity{display:grid;grid-column:2;grid-row:1/4;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 20px 20px;gap:0}
 .pl-roster-list .pl-roster-identity .pl-roster-product{grid-column:1;grid-row:1;white-space:normal;overflow:visible;text-overflow:clip;max-height:none}
 .pl-roster-list .pl-roster-phone-artist{display:block;grid-column:1;grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .pl-roster-list .pl-roster-identity>.pl-roster-reasons{display:flex;grid-column:1;grid-row:3;height:20px;align-items:center;flex-wrap:wrap;overflow:hidden}
 .pl-roster-list .pl-roster-artist,.pl-roster-list .pl-roster-share{display:none}
 .pl-roster-list .pl-roster-stat{grid-column:3;grid-row:1/3}
 .pl-roster-list [data-product-direction]{grid-column:4;grid-row:1/3;white-space:normal;overflow:hidden;max-height:48px}
}
.pl-leaderboard-columns>.pl-sort{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}
.pl-leaderboard-columns>.pl-sort:nth-child(n+4){justify-content:flex-end}
.pl-leaderboard-columns .pl-sort-mark{margin-left:4px}

/* @import /assets/overview-hero/hero.css */
.r11{/* The organization's total marks: the live hero card's sky-to-violet wash at strength (no navy slabs). */
  --sh-total-a:#5fb6ea;--sh-total-b:#8a7bea;--sh-total:linear-gradient(90deg,var(--sh-total-a),var(--sh-total-b));--sh-total-v:linear-gradient(0deg,var(--sh-total-a),var(--sh-total-b));
  --pace-6:color-mix(in srgb,var(--volume-3) 55%,#0b3550);--pace-7:color-mix(in srgb,#f99a75 62%,#5a1a08);--pace-8:#6b7a1e}
.r11{position:relative;border-radius:var(--radius-panel);background:var(--surface);border:1px solid var(--line);padding:24px 28px 22px;color:var(--ink);overflow:hidden}
.sh-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.sh-figure{font-size:var(--font-metric);line-height:var(--line-metric);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;letter-spacing:0}
.sh-stat{font-size:var(--font-stat);line-height:var(--line-stat);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}
.sh-panel{font-size:var(--font-panel);line-height:var(--line-panel);font-weight:var(--weight-medium)}
.sh-detail{font-size:var(--font-detail);line-height:var(--line-detail);color:var(--muted)}
.sh-ch{font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap}
.sh-ch.is-up{color:var(--available)}.sh-ch.is-down{color:var(--danger-ink)}.sh-ch.is-flat{color:var(--muted)}
.sh-key{margin-top:12px}
.sh-key .kg-group{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:flex-start}
.sh-cell{display:flex;flex-direction:column;gap:1px}
.sh-cell-label{display:inline-flex;align-items:center;gap:7px;font-size:var(--font-detail);line-height:var(--line-detail);color:var(--muted);white-space:nowrap}
.sh-cell-value{display:inline-flex;align-items:baseline;gap:8px;font-size:var(--font-body);line-height:var(--line-body);font-variant-numeric:tabular-nums;white-space:nowrap}
.sh-cell-value b{font-weight:var(--weight-bold);color:var(--ink)}
.sh-cell.is-big .sh-cell-value{font-size:var(--font-panel);line-height:var(--line-panel)}
.sh-sw{display:inline-block;width:12px;height:12px;border-radius:3px;background:var(--sw);flex:none}
.sh-sw.is-hollow{background:transparent;border:2px solid var(--sw);border-radius:50%}
.sh-sw.is-dotted{width:16px;height:0;border-top:3px dotted var(--sw);border-radius:0;background:none}
.sh-sw.is-hatched{background:repeating-linear-gradient(45deg,var(--sw) 0 2px,#fff 2px 5px);border:1px solid var(--sw)}
.sh-axis{font-size:var(--font-detail);fill:var(--muted);font-variant-numeric:tabular-nums}
.sh-grid{stroke:var(--chart-grid);stroke-width:1}
.sh-svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}
@media(max-width:760px){.r11{padding:18px 16px 16px;border-radius:16px}.sh-key .kg-group{gap:8px 16px}}
@media(prefers-reduced-motion:reduce){.r11 *{transition:none!important;animation:none!important}}


.r2-head{display:flex;align-items:flex-end;gap:28px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.r2-head-label{min-height:24px;display:flex;align-items:center;gap:8px}
.r2-roster-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;gap:16px}
.r2-head{display:grid;grid-template-columns:1fr;gap:12px;padding-bottom:16px}
.r2-head-label{height:44px;display:flex;align-items:center}
.r2-roster-head{gap:10px;flex-wrap:wrap}
.r3-button:hover{background:color-mix(in srgb,var(--accent) 14%,white)}
.r4 .r2-head-label{min-height:44px}
.r4 .r3-button{display:inline-flex;justify-content:center;align-items:center;text-decoration:none}
.r4 .r2-roster-head{align-items:center}
.r4 .r2-head-label{height:64px}
.r4 .r2-head{gap:8px}
.r6 .r2-head{margin-bottom:12px;align-items:start;min-height:112px}
.r6 .r2-head-label{white-space:normal;min-height:28px}
.r6 .sh-head{min-height:60px;align-items:baseline}
.r6 .sh-figure{min-width:240px;white-space:nowrap}
.r6 .sh-ch{min-width:100px}
.r6 button,.r6 a{touch-action:manipulation}
.r6-name{display:flex;align-items:center;gap:7px;min-width:0;white-space:normal}
.r6 .r2-head{display:block;min-height:190px}
.r6 .r2-head-label{min-height:40px}
.r6 .sh-figure{min-width:0}
.r6 .sh-head{min-height:52px;flex-wrap:nowrap;gap:8px}
.r6 .sh-ch{min-width:0}
.r10-svg{display:block;overflow:visible}

/* Route 39 inherits the existing Geist roles without type overrides. */
.r11{min-width:0}
.om .om-card.r11{border:1px solid var(--line)}
/* Route 39 leaves this space for artist chips and keeps both date shortcuts fixed. */
html:has(.r11) .filter-hint{display:none}
.r11-quick-ranges[hidden]{display:none}
.r11-quick-ranges{display:flex;flex:none;gap:6px;margin-left:auto}
.r11-quick-ranges .filter-chip{padding-right:12px}
.r11-quick-ranges .filter-chip[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
html:has(.r11) .filter-track>.filter-chips:empty{display:flex}
html:has(.r11) .filter-track>.range-chip{margin-left:0}
/* Keep the first artist readable, up to 280 px; reserve +N's room when empty.
   The date control yields spare room before the selected artist is clipped. */
@media(min-width:761px){
 html:has(.r11) .filter-search{flex-shrink:1;min-width:0}
 html:has(.r11) .filter-track{min-width:0}
 html:has(.r11) .filter-track>.filter-chips{min-width:min(280px,var(--filter-first-width,44px));contain:inline-size}
}
.r11 [hidden]{display:none!important}
.r11 [data-hero-cold]~.r11-chart svg{height:340px}
@media(min-width:761px) and (max-width:1279px){.r11 [data-hero-cold]~.r11-chart svg{height:460px}}
@media(max-width:760px){.r11 [data-hero-cold]~.r11-chart svg{height:300px}}
.r11 .r6-head{display:block;min-height:0;margin-bottom:0}
/* Three fixed tracks reuse the head's existing 6px row gap at every width.
   The empty comparison track stays reserved when comparison is off. */
.r11 .sh-head.sh-stat-block{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--line-detail) var(--line-metric) var(--line-body);gap:6px 14px;align-items:start;justify-items:start;min-height:0}
.r11 .sh-stat-block>.r2-head-label{height:100%;min-height:0;margin:0;white-space:nowrap}
.r11 .sh-stat-block>.sh-figure{min-width:0}
.r11-head-gap{display:block;white-space:nowrap}
.r11-head-gap>.sh-ch{min-width:0}
.r11 [data-comparison-mark]{display:inline-block;width:12px;height:10px;vertical-align:-1px;margin-right:8px;flex:none}
.r11 [data-roster-label]>.sh-sw{margin-right:8px}
.r11-chart,.r11-plot{position:relative;min-width:0}
.r11 .r10-svg{width:100%;height:auto;overflow:visible}
.r11-pop{position:absolute;z-index:60;display:flex;flex-direction:column;gap:4px;align-items:stretch;width:max-content;max-width:min(300px,calc(100vw - 32px));padding:12px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-popover);animation:menu-in 180ms var(--ease) both;transform-origin:top left;pointer-events:none}
.r11-pop>*{flex-shrink:0}
.r11-pop .sh-cell-label,.r11-pop>[data-pop-line=segment],.r11-pop>[data-pop-line=segment-comparison]{white-space:normal;overflow-wrap:anywhere}
.r11-pop a{pointer-events:auto;color:inherit;text-decoration:none}
.r11-pop>[data-pop-line=comparison]{display:flex;flex-direction:column;align-items:flex-start;gap:0;white-space:normal}
.r11-pop>[data-pop-line=comparison]>.sh-ch{white-space:nowrap}
.r11-pop>[data-pop-line=comparison]>.sh-detail{white-space:normal;text-wrap:balance}
.r11-pop[data-placement=left]{transform-origin:top right}
.r11-direct{position:absolute;inset:0;pointer-events:none}
.r11-direct-label{position:absolute;white-space:normal;overflow-wrap:anywhere;min-height:40px}
.r11-axis{position:absolute;left:0;right:0;min-height:40px;margin-top:0}
.r11-axis>span{position:absolute;top:0;text-align:center;white-space:nowrap}
.r11-axis>span>span{display:block;white-space:nowrap;width:max-content;max-width:100%;margin-inline:auto;padding-inline:2px;background:transparent}
.r11-axis .r11-pair-axis{color:var(--muted)}
/* Two 22px date lines extend 4px below each existing 40px axis lane. */
.r11-axis:has(.r11-pair-axis){box-sizing:content-box;padding-bottom:4px}
.r11-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px;margin-top:10px}
.r11-key{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1lh;gap:8px 12px;min-width:0;min-height:86px;align-content:center;text-align:left;color:var(--ink);border:0;border-bottom:1px solid transparent;padding:10px 12px;background:transparent;text-decoration:none}
.r11 .r11-key[data-artist-id="others"]{grid-template-columns:minmax(0,1fr)}
.filter-chip.r11-artists-chip{flex:none;min-width:max-content;align-self:center;justify-self:end;justify-content:center;gap:7px;padding:0 12px;color:var(--accent);text-decoration:none}
.r11-artists-chip>.r6-name{color:inherit}
.r11-artists-chip:hover,.r11-artists-chip:focus-visible{border-color:var(--accent)}
.r11-artists-chip{transition:transform 180ms var(--ease),box-shadow 180ms var(--ease),background-color 180ms var(--ease)}
.r11-artists-chip:hover,.r11-artists-chip:focus-visible{transform:translateY(-2px);box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 20%,transparent);background:var(--accent-soft)}
/* Reserve the former border's space; one rule spans the cells and gutters. */
.r11-key>[data-key-row-rule]{display:none;position:absolute;left:0;bottom:-1px;width:calc(300% + 48px);border-bottom:1px solid var(--line);pointer-events:none}
.r11-key:nth-child(3n+1)>[data-key-row-rule]{display:block}
.r11-key:nth-last-child(-n+3){border-bottom:0}
.r11-key:nth-last-child(-n+3)>[data-key-row-rule]{display:none}
.r11-key>.r6-name{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere}
.r11-key>.sh-ch{text-align:right;white-space:nowrap}
.r11-key .sh-sw{opacity:.78}
.r11-key.is-highlighted{background:var(--accent-soft);border-radius:var(--radius-control)}
.r11-key[aria-pressed=true],.r11-key[aria-pressed=true] .r6-name{color:var(--accent)}
.r11-key[aria-pressed=true]::after{content:"";position:absolute;inset:0;border:1px solid var(--accent);border-radius:var(--radius-control);pointer-events:none}
.r11-key:focus-visible,.r11-chart:has(.r11-segment:focus-visible) .r11-pop{outline:2px solid var(--accent);outline-offset:3px}
.r11 [data-paired-chart] *{outline:none!important;outline-style:none!important}
.r11 [data-head-clock],.r11 [data-roster-clock]{font-variant-numeric:tabular-nums}
.r11-segment{transform-box:view-box;transform-origin:0 0;cursor:pointer}
.r11 .is-scrubbing .r11-segment,.r11.is-scrubbing .r11-segment{transition:none}
.r11[data-key=direct] .r11-keys{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.r11[data-key=direct] .r11-key{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto;min-height:60px;gap:8px}
.r11[data-key=direct] .r11-key{border-bottom:1px solid transparent}
.r11[data-key=direct] .r11-key>[data-key-row-rule]{display:none;width:calc(200% + 18px)}
.r11[data-key=direct] .r11-key:nth-child(2n+1)>[data-key-row-rule]{display:block}
.r11[data-key=direct] .r11-key:nth-last-child(-n+2){border-bottom:0}
.r11[data-key=direct] .r11-key:nth-last-child(-n+2)>[data-key-row-rule]{display:none}
.r11[data-key=direct] .r11-key>.r6-name{grid-column:auto}
.r11-breakdown{position:relative;display:grid;row-gap:8px;transform-origin:0 0}
.r11-break-row,.r11-break-headers{display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(120px,1.8fr) minmax(100px,.5fr) minmax(110px,.5fr);gap:12px;align-items:center}
.r11-break-row{position:relative;height:72px;padding:10px 12px;border-bottom:1px solid var(--line);box-sizing:border-box;background:transparent;outline:none!important;outline-style:none!important}
.r11-break-row[data-sale-gliding]{background:var(--surface)}
.r11-break-row:last-child{border-bottom:0}
.r11-break-row.is-highlighted{background:var(--accent-soft);border-radius:var(--radius-control)}
.r11-break-row{isolation:isolate}
.r11-break-row>[data-sale-band]{position:absolute;inset:0;z-index:-1;pointer-events:none}
.r11-break-headers{min-height:44px;padding-inline:12px;border-bottom:1px solid var(--line);white-space:normal}
.r11-break-headers>span:nth-child(n+3){text-align:right}
.r11-break-row[data-compare=off],.r11-break-headers[data-compare=off]{grid-template-columns:minmax(160px,1.1fr) minmax(120px,1.8fr) minmax(100px,.5fr)}
.r11-break-row>.sh-cell-label{white-space:normal;overflow-wrap:anywhere;min-width:0}
.r11-break-row .sh-sw{flex:none;opacity:.78}
.r11-break-track{height:28px;position:relative;min-width:0}
.r11-break-track svg{display:block;overflow:visible;outline:none!important}
.r11-break-track *{outline:none!important;pointer-events:none}
.r11-break-row>[data-break-current],.r11-break-row>[data-break-change]{white-space:nowrap;text-align:right}
.r11 [data-others-view]{min-height:680px}
.r11 [data-others-view] .r2-roster-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;margin-bottom:12px}
.r11 [data-roster-label]{grid-column:1/-1;white-space:nowrap}
html:has(.r11)::view-transition-group(r11-others){animation-duration:400ms;animation-timing-function:cubic-bezier(.16,1,.3,1)}
@media(max-width:1100px){.r11-keys{gap:8px 16px}.r11-key>[data-key-row-rule]{width:calc(300% + 32px)}.r11[data-key=direct] .r11-key{grid-template-columns:minmax(0,1fr) auto}.r11[data-key=direct] .r11-key>.r6-name{grid-column:1/-1}.r11-break-row,.r11-break-headers{gap:8px}}
@media(max-width:760px){
 html:has(.r11) .client-filter>.range-pop{left:0;right:0;width:auto}
 html:has(.r11) .range-pop .range-speed{justify-content:flex-start}
 .r11-axis{min-height:28px}
 .r11-keys,.r11[data-key=direct] .r11-keys{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
 .r11-key,.r11[data-key=direct] .r11-key{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1lh 1lh;gap:0 12px;min-height:82px}
 .r11[data-key] .r11-key{border-bottom:1px solid transparent}
 .r11[data-key] .r11-key>[data-key-row-rule]{display:none;width:calc(200% + 12px)}
 .r11[data-key] .r11-key:nth-child(2n+1)>[data-key-row-rule]{display:block}
 .r11[data-key] .r11-key:nth-last-child(-n+2){border-bottom:0}
 .r11[data-key] .r11-key:nth-last-child(-n+2)>[data-key-row-rule]{display:none}
 .r11-key>.r6-name,.r11[data-key=direct] .r11-key>.r6-name{grid-column:1/-1}
 .r11-key>.sh-ch{text-align:left}
 .r11-break-row,.r11-break-headers{grid-template-columns:minmax(0,1fr) 80px 88px;gap:4px 8px}
 .r11-artists-chip{justify-self:stretch}
 .r11-break-row{height:96px;grid-template-rows:44px 28px;padding:10px 12px;row-gap:3px}
 .r11-break-row[data-compare=off],.r11-break-headers[data-compare=off]{grid-template-columns:minmax(0,1fr) 80px}
 .r11-break-track{grid-column:1/-1;grid-row:2}
 .r11-break-row>[data-break-current],.r11-break-row>[data-break-change]{grid-row:1}
 .r11-break-headers>[data-break-header]:nth-child(2){display:none}
 .r11-break-headers{white-space:normal;min-height:44px}
 .r11-break-row>.sh-cell-label{grid-row:1;white-space:normal}
 .r11 .r2-roster-head{flex-wrap:wrap;gap:12px}
 .r11 [data-others-view]{min-width:0}
}
@media(prefers-reduced-motion:reduce){.r11 *{animation:none!important;transition:none!important}html:has(.r11)::view-transition-group(r11-others){animation-duration:0s}}
@media(max-width:480px){
 html:has(.r11) .filter-track{column-gap:4px}
 .r11-quick-ranges{gap:4px}
 .r11-quick-ranges .filter-chip{padding-inline:6px}
 html:has(.r11) .filter-track>.range-chip{padding-inline:8px}
}

/* The door fills the row before its chip centres within the padded cell. */
.r11 .r11-key[data-artist-id="others"]{grid-template-rows:minmax(0,1fr);align-items:center}

/* Production Stage + Compact. Locked type. */
html[data-hero-direction="2"] body{background:var(--chart-surface)}
html[data-hero-direction="2"] .switch.filter-mode{background:var(--line)}
.r11[data-direction="2"]{background:var(--surface);box-shadow:var(--shadow-panel)}
.r11[data-direction="2"] [data-key-row-rule]{border-bottom-color:color-mix(in srgb,var(--line) 50%,transparent)}
/* One static source behind the top-left of the opaque white card.
   Its bounded extent keeps the blur from widening the document. */
.r18-key-values{display:contents}
@media(min-width:1280px){
 .r11[data-compact="true"] .r11-keys{grid-template-columns:repeat(5,minmax(0,max-content)) minmax(max-content,1fr);gap:8px;column-gap:8px}
 .r11[data-compact="true"] .r11-key{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
 .r11[data-compact="true"] .r18-key-values{display:flex;flex-wrap:wrap;gap:0 12px;column-gap:12px;align-items:baseline}
 .r11[data-compact="true"] .r18-key-values>.sh-ch{min-width:0;text-align:left}
 .r11[data-compact="true"] .r11-key[data-artist-id="others"]{grid-template-rows:minmax(0,1fr);align-self:stretch}
 .r11[data-compact="true"] .r11-key>[data-key-row-rule]{display:none}
 .r11[data-compact="true"] .r11-axis{height:28px;min-height:28px}
 .r11[data-compact="true"] .r11-axis:has(.r11-pair-axis){padding-bottom:16px}
 .r11[data-compact="true"]{padding-block:24px 22px}
}
@media(min-width:1280px) and (max-width:1359px){
 .r11[data-compact="true"] .r18-key-values{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
}

/* Follow the tracking bar's own layout state, including the retained Mika width. */
html:has(.r11) .client-filter.is-wide .filter-search{flex:0 0 220px}
html:has(.r11) .client-filter.is-wide .filter-track>.range-chip{width:var(--range-chip-width,458px);min-width:172px;flex:0 1 auto}
html:has(.r11) .client-filter:not(.is-wide) .filter-track>.range-chip{width:172px;min-width:172px;flex:none}
html:has(.r11) .client-filter:not(.is-wide) .range-chip>span{white-space:nowrap}
html:has(.r11) .client-filter:not(.is-wide) .range-chip .range-chip-vs{display:none}

/* The shell and hero reserve their tracks across every selection. */
html:has(.r11) .filter-track{height:40px}
html:has(.r11) .filter-track>.range-chip-x[hidden]{display:inline-grid!important;visibility:hidden;pointer-events:none}
html:has(.r11) .client-filter.is-wide{height:40px;box-sizing:content-box}
html:has(.r11) .client-filter:not(.is-wide){min-height:90px}
.r11 .oc-score,.oc .r11 .oc-score[hidden]{display:flex!important;height:calc(2 * var(--line-detail) + 4px);min-height:calc(2 * var(--line-detail) + 4px)}
@media(min-width:1280px){
 .r11[data-compact="true"] .r11-keys{grid-template-columns:repeat(6,minmax(0,1fr))}
 .r11[data-compact="true"] .r11-key{height:86px;min-height:86px}
 .r11[data-compact="true"] .r18-key-values{display:grid;grid-template-columns:minmax(0,1fr)}
 .r11[data-compact="true"] .r11-axis{box-sizing:content-box;padding-bottom:16px}
}

/* Date, separator and clock share ordinary inline spacing. The fixed stat
   tracks retain the block height through every state change. */
.r11 [data-sign-slot]{display:inline-grid;grid-template-columns:1ch max-content;align-items:baseline}
.r11 [data-figure-sign]{text-align:center}
html:has(.r11) .filter-track>.filter-chips{height:40px}

/* The mounted axis and roster-sized key own these tracks even while
   their figures are absent. No new artist or missing-value glyph is emitted. */
[data-overview-hero] .r11-chart{padding-bottom:44px}
/* Small rosters name every artist; the All-artists door exists only for a grouped tail.
   The count includes that potential door, so counts below six reserve artists only. */
[data-overview-hero]{--hero-key-rows:2}
[data-overview-hero]:is([data-hero-key-count="1"],[data-hero-key-count="2"],[data-hero-key-count="3"],[data-hero-key-count="4"]){--hero-key-rows:1}
[data-overview-hero] .r11-keys{min-height:calc(var(--hero-key-rows) * 94px - 8px);align-content:start}
@media(min-width:1280px){[data-overview-hero] .r11-keys{min-height:86px}}
@media(max-width:760px){
 [data-overview-hero] .r11-chart{padding-bottom:28px}
 [data-overview-hero]{--hero-key-rows:3}
 [data-overview-hero]:is([data-hero-key-count="4"],[data-hero-key-count="5"]){--hero-key-rows:2}
 [data-overview-hero]:is([data-hero-key-count="1"],[data-hero-key-count="2"],[data-hero-key-count="3"]){--hero-key-rows:1}
 [data-overview-hero] .r11-keys{min-height:calc(var(--hero-key-rows) * 99px - 8px);grid-auto-rows:minmax(91px,auto)}
}

/* A single measured point uses the existing stat head, with no plot divider. */
.r11 [data-single-point]>.r6-head{border-bottom:0;padding-bottom:0}
.om #om-card.r11:has(>[data-single-point]){min-height:0}

/* @import /assets/mika-panel/answers.css */

.mika-workspace .answer{min-width:0;user-select:text;-webkit-user-select:text}
.mika-workspace .answer *{user-select:text;-webkit-user-select:text}
.mika-workspace .answer-takeaway{margin:0 0 16px}
.mika-workspace .answer-key{margin:0 0 28px;max-width:100%}

.mika-workspace .answer-object{min-width:0;width:100%;max-width:100%;margin:0;padding:0;container-type:inline-size}
.mika-workspace .answer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}
.mika-workspace .answer .mika-copy{font:inherit}
.mika-workspace .answer .mika-copy:hover{color:var(--accent)}

.mika-workspace .answer-ranking{margin:0;padding:0;width:100%;max-width:100%;list-style:none}
.mika-workspace .answer-ranking>li{display:block;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0}
.mika-workspace .answer-ranking>li:last-child{border-bottom:0}
.mika-workspace .answer-ranking .pl-list-row{display:grid;grid-template-columns:28px minmax(0,1fr) max-content;gap:12px;align-items:center;text-align:left;padding:16px 0;width:100%;min-height:80px;border:0;background:transparent;cursor:text}
.mika-workspace .answer-ranking .pl-roster-rank{grid-column:1;grid-row:1;color:var(--muted);align-self:center}
.mika-workspace .answer-ranking .pl-roster-identity{grid-column:2;grid-row:1;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 12px;min-width:0;width:auto;max-width:100%}
.mika-workspace .answer-ranking .pl-roster-art{display:block;position:static;grid-column:1;grid-row:1/4;width:40px;height:40px;align-self:center}

.mika-workspace .answer-ranking .pl-roster-identity .pl-roster-product{grid-column:2;grid-row:1;white-space:normal;max-height:none;overflow:visible;min-width:0}
.mika-workspace .answer-ranking .answer-brand{grid-column:2;grid-row:2;white-space:normal}

.mika-workspace .answer-ranking .pl-roster-identity .pl-roster-reasons{grid-column:2;grid-row:3;display:flex;gap:4px}
.mika-workspace .answer-ranking .pl-roster-reasons:empty{display:none}
.mika-workspace .answer-ranking .pl-roster-stat{grid-column:3;grid-row:1;display:block;white-space:nowrap;text-align:right}
.mika-workspace .answer-pair.pl-r3-key-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;gap:12px}
.mika-workspace .answer-pair.pl-r3-key-row .pl-r3-key-cell{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;min-height:124px;height:auto;box-sizing:border-box;cursor:text}
.mika-workspace .answer-change{margin:20px 0 0}
.mika-workspace .answer-change>span{display:inline}
.mika-workspace .answer .r11{border:0;border-radius:0;background:transparent}
.mika-workspace .answer-stat{padding:24px 0 40px}
.mika-workspace .answer-stat .sh-stat-block{grid-template-rows:auto auto auto}
.mika-workspace .answer-stat .sh-figure{white-space:nowrap}
.mika-workspace .answer-stat .sh-cell-value{white-space:normal;flex-wrap:wrap}
.mika-workspace .answer-table-scroll{max-height:none;width:100%;overscroll-behavior-x:contain}
.mika-workspace .answer-table{min-width:540px}
.mika-workspace .answer-table th[scope=row]{font-weight:var(--weight-regular);color:var(--ink)}
.mika-workspace .answer-table .numeric{text-align:right;white-space:nowrap}
.mika-workspace .answer[data-answer-kind=timeline] .answer-table,.mika-workspace .answer[data-answer-kind=table]:has(th:nth-child(2):last-child) .answer-table{min-width:0}
.mika-workspace .answer-timeline{padding:0;height:auto;min-height:380px;position:relative;margin-bottom:24px;overflow:hidden}
.mika-workspace .answer-timeline .r11-keys{display:none}
.mika-workspace .answer-timeline .r11-chart{height:auto;min-height:0;padding-bottom:44px}
@media(max-width:760px){
.mika-workspace .answer-key{margin-bottom:24px}
.mika-workspace .answer-actions{gap:8px}
.mika-workspace .answer-ranking .pl-list-row{grid-template-columns:20px minmax(0,1fr);gap:4px 8px;padding:16px 0}
.mika-workspace .answer-ranking .pl-roster-identity{grid-column:2;grid-template-columns:40px minmax(0,1fr);gap:2px 8px}
.mika-workspace .answer-ranking .pl-roster-rank{align-self:start;padding-top:8px}
.mika-workspace .answer-ranking .pl-roster-stat{grid-column:2;grid-row:2;text-align:left;padding-left:48px}
.mika-workspace .answer-pair.pl-r3-key-row .pl-r3-key-cell{padding:16px;min-height:112px}

 .mika-workspace .answer-table{display:table}

 .mika-workspace .answer-table thead{display:table-header-group}

 .mika-workspace .answer-table tbody{display:table-row-group}

 .mika-workspace .answer-table tr{display:table-row;padding:0}

 .mika-workspace .answer-table td{display:table-cell;padding:16px;border-bottom:1px solid var(--line)}

 .mika-workspace .answer-table .numeric{text-align:right}
.mika-workspace .answer-timeline{height:auto;min-height:354px;overflow-x:auto;overscroll-behavior-x:contain}
.mika-workspace .answer-timeline .r11-chart{min-width:var(--answer-plot-width);margin-left:12px;margin-right:12px}
.mika-workspace .answer-timeline .sh-svg{touch-action:pan-x pan-y}

}

.mika-workspace{position:fixed;inset:0 0 0 var(--stage-left,0px);z-index:60;isolation:isolate;pointer-events:none;overflow:hidden}
.mika-workspace[hidden]{display:none}
.mika-workspace .mika-panel{--grid-pad:24px;--text-start:24px;position:absolute;inset:0 auto 0 0;width:var(--mika-rail);max-width:none;height:100%;display:block;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;background:var(--surface);opacity:1;transform:none;isolation:isolate;overflow:hidden;pointer-events:auto;z-index:2}
.mika-workspace .mika-panel-content{position:absolute;inset:0;z-index:2;display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0}
.mika-workspace .mika-top{min-height:70px;padding:16px var(--grid-pad);align-items:start;background:transparent}
.mika-workspace .mika-head{min-width:0}
.mika-workspace .mika-mode{margin:0;gap:10px}
.mika-workspace .mika-context{display:block;white-space:normal;margin:8px 0 0;overflow-wrap:anywhere}
.mika-workspace .mika-close{flex:none;min-width:32px;min-height:32px}
.mika-workspace .mika-conv{display:grid;grid-template-rows:minmax(0,1fr) auto;padding:0;overflow:hidden;background:transparent}
.mika-workspace .mika-scroll{min-height:0;overflow:auto;padding:24px var(--grid-pad) 8px;scrollbar-gutter:stable;overflow-anchor:none}
.mika-workspace .mika-transcript{gap:24px}
.mika-workspace .mika-transcript>li{opacity:1;transform:none;transition:none;max-width:none;flex:none}
.mika-workspace .mika-you,.mika-workspace .mika-say{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;align-self:stretch;width:auto;max-width:none;padding:0;border:0;border-radius:0;background:none;min-width:0}
.mika-workspace .you-icon{width:32px;height:32px}
.mika-workspace .mika-you>span:last-child{padding-top:4px}
.mika-workspace .mika-text{min-width:0;opacity:1;overflow-wrap:anywhere;user-select:text}
.mika-workspace .mika-text p{margin:0 0 12px}
.mika-workspace .mika-copy{grid-column:2;width:auto;justify-self:start;min-height:44px;padding:0;border:0;background:none;color:var(--muted)}
.mika-workspace .mika-compose-dock{background:transparent;padding:12px 0 max(16px,env(safe-area-inset-bottom));max-height:55dvh;overflow:auto}
.mika-workspace .mika-compose{opacity:1;transform:none;transition:none;margin:0 var(--grid-pad) 12px;padding:6px 6px 6px 35px;box-shadow:none;align-self:start;min-width:0}
.mika-workspace .mika-compose textarea{font:inherit;color:inherit;resize:none;width:100%;min-width:0;min-height:44px;max-height:100px;border:0;background:transparent;padding:10px 6px;outline-offset:0}
.mika-workspace .mika-compose button{flex:none}
.mika-workspace .mika-suggest-wrap{opacity:1;transform:none;transition:none;margin:0;padding:4px var(--grid-pad) 0 var(--text-start)}
.mika-workspace .suggestion-rows{display:grid;grid-template-columns:minmax(0,1fr);list-style:none;margin:0;padding:0;gap:0}
.mika-workspace .suggestion-row button{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;width:100%;min-height:64px;padding:8px 0;border:0;border-radius:0;background:none;color:var(--ink);text-align:left;white-space:normal;transition:transform 350ms cubic-bezier(.22,1,.36,1)}
.mika-workspace .question-label{display:block;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.mika-workspace .suggestion-key{display:block;color:var(--muted);font-size:14px;line-height:var(--line-detail)}
.mika-workspace .question-chevron{display:inline-flex;color:var(--muted);transition:transform 350ms cubic-bezier(.22,1,.36,1)}
.mika-workspace .question-chevron svg{width:16px;height:16px}
.mika-workspace .suggestion-row button:hover,.mika-workspace .suggestion-row button:focus-visible{transform:translateY(-2px)}
.mika-workspace .suggestion-row button:hover .question-chevron{transform:translateX(2px)}
.mika-workspace .ack-layer{position:relative;min-height:44px;padding-top:4px}
.mika-workspace .ack-line{display:flex;align-items:center;gap:8px;min-height:24px}
.mika-workspace .stage-word{display:block;position:relative;min-width:0}
.mika-workspace .stage-word>span{display:inline-block}
.mika-workspace .mark{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;width:24px;height:12px;flex:none;color:var(--ink)}
.mika-workspace .mark.strokes{gap:3px}
.mika-workspace .strokes i{display:block;width:3px;height:10px;border-radius:2px;background:currentColor;transform-origin:center;animation:mika-stroke-breath 900ms ease-in-out infinite}
.mika-workspace .strokes i:nth-child(2){animation-delay:90ms}.mika-workspace .strokes i:nth-child(3){animation-delay:180ms}.mika-workspace .strokes i:nth-child(4){animation-delay:270ms}
.mika-workspace .is-still .mark *{animation:none;background:currentColor}
.mika-workspace .failure-copy{white-space:normal}
.mika-workspace .retry{position:relative;min-height:24px;height:24px;border:0;background:none;color:var(--ink);padding:0 0 0 4px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.mika-workspace .retry::after{content:'';position:absolute;inset:-10px 0}
.mika-workspace .mika-evidence{position:absolute;inset:0 0 0 var(--mika-rail);pointer-events:auto;z-index:2;overflow:auto;background:var(--surface)}
.mika-workspace .mika-evidence[hidden]{display:none}
.mika-workspace .mika-evidence-scroll{padding:32px;display:grid;gap:48px}
.mika-workspace .mika-inline-answer{grid-column:1/-1;min-width:0;margin-top:12px}
.mika-workspace .mika-inline-answer[hidden]{display:none}
.mika-workspace .answer .pl-reason{padding:3px 7px}
@keyframes mika-stroke-breath{0%,100%{transform:scaleY(.5);opacity:.38}50%{transform:scaleY(1);opacity:.9}}
@media(max-width:760px){
 body.mika-panel-open{overflow:hidden}
 .mika-workspace{inset:var(--mika-vv-top,0px) 0 auto;height:var(--mika-vv-h,100dvh);z-index:100}
 .mika-workspace .mika-panel{--grid-pad:16px;--text-start:16px;width:100%;border:0}
 .mika-workspace .mika-top{min-height:62px;padding-top:12px;padding-bottom:12px}
 .mika-workspace .mika-scroll{padding-top:16px}
 .mika-workspace .mika-compose-dock{max-height:50dvh}
 .mika-workspace .mika-evidence{display:none}
 .mika-workspace .mika-inline-answer .answer-takeaway{display:none}
}
@media(prefers-reduced-motion:reduce){
 .mika-workspace .mark *,.mika-workspace .suggestion-row *{animation:none!important;transition:none!important;filter:none!important}
 .mika-workspace .suggestion-row button:hover,.mika-workspace .suggestion-row button:focus-visible,.mika-workspace .suggestion-row button:hover .question-chevron{transform:none}
}

/* @import /assets/mika-panel/companion.css */
/* Approved Look A. Existing product classes own every type role. */
body{--mika-rail:392px}
.mika-workspace{width:var(--mika-rail);right:auto;overflow:visible;clip-path:inset(0 -22px 0 0)}
.mika-workspace .mika-panel{width:100%;--text-start:var(--grid-pad)}
.mika-workspace .mika-top{align-items:center;gap:8px;padding-block:12px}
.mika-workspace .mika-close{width:56px;height:44px;min-height:44px;min-width:56px}
.mika-workspace .mika-expand{margin-left:auto}
.mika-workspace .mika-mode [data-mika-mark]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none}
.mika-workspace .mika-profile{display:block;width:40px;height:40px;border-radius:50%;object-fit:cover}
.mika-workspace .mika-head{margin-right:auto}
.mika-workspace :is(.mika-you,.mika-say){grid-template-columns:minmax(0,1fr);gap:0}
.mika-workspace .mika-say{grid-template-columns:32px minmax(0,1fr);column-gap:10px}
.mika-workspace .mika-say>.mika-av{grid-row:1;align-self:start}
.mika-workspace .mika-say:has(>.answer-actions)>.mika-av{grid-row:1/span 2}
.mika-workspace .mika-say>:not(.mika-av){grid-column:2}
.mika-workspace .mika-say>.mika-inline-answer{grid-column:1/-1}
.mika-workspace .mika-you{text-align:right;color:var(--muted)}
.mika-workspace .mika-you>span{padding:0}
.mika-workspace .mika-text{overflow-wrap:break-word;word-break:normal}
.mika-workspace .mika-copy{grid-column:auto;min-width:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;margin-top:0;padding:4px 8px;border:0;border-radius:4px;background:transparent;cursor:pointer}
.mika-workspace .mika-copy:is(:hover,:focus-visible){background:var(--slate-soft)}
.mika-workspace .mika-copy:not([data-copy-state]) [role=status]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mika-workspace .mika-say>.answer-actions{grid-column:2}
.mika-workspace .mika-inline-answer .answer-actions{margin-left:42px}
@media(hover:hover) and (pointer:fine){
 .mika-workspace .mika-copy{opacity:0}
 .mika-workspace .mika-say:hover .mika-copy,.mika-workspace .mika-say:focus-within .mika-copy,.mika-workspace .mika-copy[data-copy-state]{opacity:1}
}
@media(any-pointer:coarse){.mika-workspace .mika-copy{opacity:1;min-width:44px;min-height:44px}}
.mika-workspace .mika-conv{grid-template-rows:minmax(0,1fr) auto}
.mika-workspace .mika-scroll{padding-bottom:24px;scroll-padding-block:24px;scrollbar-gutter:auto;--fade-above:0px;--fade-below:0px;mask-image:linear-gradient(to bottom,transparent,var(--ink) var(--fade-above),var(--ink) calc(100% - var(--fade-below)),transparent)}
.mika-workspace .mika-scroll[data-above=true]{--fade-above:24px}
.mika-workspace .mika-scroll[data-below=true]{--fade-below:24px}
.mika-workspace .mika-compose-dock{overflow:visible;max-height:none;min-width:0;background:var(--surface)}
.mika-workspace .mika-compose{padding-left:10px}
.mika-workspace .mika-compose textarea:focus-visible{outline:none;box-shadow:none}
.mika-workspace .mika-suggest-wrap{padding:0 var(--grid-pad);margin:0}
.mika-workspace .mika-suggest{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;overflow-x:auto;min-width:0;margin:0;padding:4px 0;list-style:none;scrollbar-width:none;--fade-left:0px;--fade-right:0px;mask-image:linear-gradient(to right,transparent,var(--ink) var(--fade-left),var(--ink) calc(100% - var(--fade-right)),transparent)}
.mika-workspace .mika-suggest[data-left=true]{--fade-left:48px}
.mika-workspace .mika-suggest[data-right=true]{--fade-right:48px}
.mika-workspace .mika-suggest>li{flex:none;min-width:0}
.mika-workspace .mika-question-chip{display:block;min-height:44px;padding:8px 10px;white-space:nowrap;border:1px solid var(--line);border-radius:4px;background:var(--surface-soft);color:var(--ink);font:inherit}
.mika-workspace .mika-question-chip:hover{border-color:var(--line-dark)}
.mika-workspace .mika-question-chip:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.mika-workspace .retry{min-height:44px;height:44px;min-width:44px;padding-block:10px}
.mika-workspace .retry::after{inset:0}
.mika-workspace .mika-resize{position:absolute;z-index:3;right:-22px;top:calc(50% - 44px);width:44px;height:88px;cursor:ew-resize;touch-action:none;pointer-events:auto}
.mika-resize::after{content:'';position:absolute;top:12px;left:21px;width:2px;height:64px;border-radius:4px;background:var(--line-dark)}
.mika-resize:focus-visible{outline:2px solid var(--accent);outline-offset:-12px}
body.mika-resizing{cursor:ew-resize;user-select:none}
.mika-workspace[data-expanded=true] .mika-resize{right:0}
.mika-workspace[data-expanded=true] .mika-resize::after{left:auto;right:0}
.mika-workspace[data-expanded=true] .mika-panel-content{right:22px}
.mika-workspace[data-sheet=true] .mika-panel-content{right:0}
.mika-workspace[data-sheet=true] :is(.mika-resize,.mika-expand){display:none}
.mika-sheet-nav{display:none}
.mika-sheet-nav a{display:flex;align-items:center;min-height:44px;padding:8px 0}
.mika-workspace[data-sheet=true] .mika-top{flex-wrap:wrap}
.mika-workspace[data-sheet=true] .mika-sheet-nav{display:flex;flex-basis:100%;gap:24px}
body.mika-panel-open .mika-workspace{visibility:visible}
@media(min-width:761px){
 html[data-nav] body.mika-panel-open{padding-left:calc(var(--stage-left) + min(var(--mika-rail),calc(100vw - var(--stage-left) - 550px)) * var(--mika-reveal,1));grid-template-columns:minmax(0,1fr);transition:none}
 html[data-nav] body.mika-panel-open.mika-sheet{padding-left:var(--stage-left)}
 body.mika-covered #report{visibility:hidden}
 body.mika-panel-open #report{min-width:0}
 body.mika-report-open .r11[data-compact=true] .r11-keys{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
 body.mika-report-open .r11[data-compact=true] .r11-key{height:auto;min-height:86px}
 body.mika-report-open #report{container-type:inline-size;container-name:mika-report}
}
@container mika-report (max-width:1000px){
 body.mika-report-open [data-k="oc-products"] .pl-leaderboard-columns{display:flex;flex-wrap:wrap;gap:8px 16px}
 body.mika-report-open [data-k="oc-products"] .pl-leaderboard-columns .pl-sort{width:auto;min-height:44px}
 body.mika-report-open [data-k="oc-products"] .pl-reason-key{overflow-x:auto;max-width:100%}
 body.mika-report-open [data-k="oc-products"] .pl-roster-list .pl-list-row{grid-template-columns:32px minmax(0,1fr) auto;gap:4px 8px;padding:16px 4px;min-height:120px}
 body.mika-report-open .pl-roster-list .pl-roster-rank{grid-column:1;grid-row:1/4;align-self:start}
 body.mika-report-open .pl-roster-list .pl-roster-identity{grid-column:2;grid-row:1}
 body.mika-report-open .pl-roster-list .pl-roster-artist{grid-column:2;grid-row:2}
 body.mika-report-open .pl-roster-list .pl-roster-stat{grid-column:3;grid-row:1}
 body.mika-report-open .pl-roster-list .pl-roster-share{grid-column:3;grid-row:2}
 body.mika-report-open .pl-roster-list [data-product-direction]{grid-column:2/4;grid-row:3;white-space:normal}
 body.mika-report-open .client-filter .filter-track{flex-wrap:wrap;gap:8px}
 body.mika-report-open .client-filter .filter-chips{flex-basis:100%}
}
@container mika-report (max-width:600px){
 body.mika-report-open .client-filter .range-row{flex-wrap:wrap;height:auto;position:static}
 body.mika-report-open .client-filter .filter-track{height:auto}
 body.mika-report-open .client-filter{height:auto;min-height:0;margin-bottom:24px}
 body.mika-report-open [data-k="oc-products"][data-products-direction=C3] .pl-r3-key-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto}
 body.mika-report-open [data-k="oc-products"] .pl-r3-key-row .pl-r3-key-cell{width:100%;min-width:0}
}
@media(max-width:760px){
 /* The drawer can own interaction above the sheet; motion.mjs owns inert. */
 body.rail-open .rail{z-index:112}
 body.rail-open .rail-scrim{z-index:111}
 .mika-workspace{width:100%;clip-path:none}
 .mika-workspace .mika-panel-content{right:0}
 .mika-workspace :is(.mika-resize,.mika-expand){display:none}
 .mika-workspace .mika-top{flex-wrap:wrap;padding-top:max(12px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .mika-workspace .mika-sheet-nav{display:flex;flex-basis:100%;gap:24px}
}
/* Inline objects keep every figure on the same right edge. */
.mika-workspace [data-measure]{display:inline-block;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.mika-workspace .answer-key{margin-bottom:16px}
.mika-workspace .answer-pair.pl-r3-key-row{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;gap:8px}
.mika-workspace .answer-pair.pl-r3-key-row .pl-r3-key-cell{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;min-height:0;height:auto;padding:12px 0;gap:12px;background:none;box-shadow:none}
.mika-workspace .answer-pair [data-measure]{justify-self:end}
.mika-workspace .answer-change{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.mika-workspace .answer-change [data-measure]{margin-left:auto}
.mika-workspace .answer-change .kpi-detail{flex-basis:100%;text-align:right}
.mika-workspace .answer-ranking .pl-list-row{grid-template-columns:20px minmax(0,1fr) max-content;gap:8px;align-items:start;padding:12px 0}
.mika-workspace .answer-ranking .pl-roster-identity{grid-template-columns:40px minmax(0,1fr);gap:4px 8px}
.mika-workspace .answer-ranking .pl-roster-art{display:block;grid-column:1;grid-row:1/4;align-self:start}
.mika-workspace .answer-ranking .pl-roster-identity :is(.pl-roster-product,.answer-brand,.pl-roster-reasons,.companion-period){grid-column:2}
.mika-workspace .answer-ranking .pl-roster-identity:not(:has(.pl-roster-art)){grid-template-columns:minmax(0,1fr)}
.mika-workspace .answer-ranking .pl-roster-identity:not(:has(.pl-roster-art))>*{grid-column:1}
.mika-workspace .companion-baseline{display:block;margin-top:4px;white-space:nowrap}
.mika-workspace .answer-ranking .pl-roster-reasons:empty{display:none}
.mika-workspace .answer-ranking .pl-roster-stat{grid-column:3;grid-row:1;text-align:right;padding:0;min-width:0}
.mika-workspace .answer-ranking .pl-roster-identity :is(.pl-roster-product,.answer-brand){white-space:nowrap;overflow:hidden;text-overflow:clip;max-height:none}
.mika-workspace .answer-stat{padding:12px 0}
.mika-workspace .answer-stat .sh-stat-block{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.mika-workspace .answer-stat .sh-figure{white-space:nowrap;max-width:none}
.mika-workspace .answer-actions{margin-top:4px;flex-wrap:nowrap}
.mika-workspace [data-word-ellipsis]{position:relative;white-space:nowrap;overflow:hidden;text-overflow:clip;min-width:0}
.mika-workspace .companion-full-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.mika-workspace .companion-visible-text{display:inline-block;width:max-content}
.mika-workspace .companion-visible-text::after{content:attr(data-text)}
.mika-workspace .answer-cell-label{display:none}
.mika-workspace .answer-timeline{overflow-x:hidden}
.mika-workspace .answer-timeline .r11-chart{min-width:0}
/* Preserve the table's columns and headings, with labelled cells on a narrow
   rail. A long answer never makes the conversation scroll horizontally. */
@container (max-width:540px){
 .mika-workspace .answer[data-answer-kind=table] .answer-table{display:block;min-width:0;width:100%}
 .mika-workspace .answer[data-answer-kind=table] .answer-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .mika-workspace .answer[data-answer-kind=table] .answer-table tbody{display:block}
 .mika-workspace .answer[data-answer-kind=table] .answer-table tr{display:block;padding:12px 0;border-bottom:1px solid var(--line)}
 .mika-workspace .answer[data-answer-kind=table] .answer-table th[scope=row]{display:block;padding:0 0 8px;border:0;white-space:normal}
 .mika-workspace .answer[data-answer-kind=table] .answer-table td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:8px 0;border:0}
 .mika-workspace .answer[data-answer-kind=table] .answer-table td.numeric{grid-template-columns:minmax(0,1fr) max-content}
 .mika-workspace .answer[data-answer-kind=table] .answer-cell-label{display:block;text-align:left}
 .mika-workspace .answer[data-answer-kind=table] .answer-cell-value{min-width:0;text-align:right;overflow-wrap:break-word}
 .mika-workspace .answer[data-answer-kind=table] th .answer-cell-value{text-align:left}
}
@media(prefers-reduced-motion:reduce){.mika-workspace *{scroll-behavior:auto}}

body.mika-reflowing{transition:none!important}
/* The same 600 ms clock carries the actual filter controls and legend cells. */
body.mika-report-open #report [data-mika-flow]{position:relative;height:var(--mika-flow-height)!important;min-height:0!important;display:block;box-sizing:border-box}
body.mika-report-open #report .client-filter[data-mika-flow] .filter-track{display:contents!important}
body.mika-report-open #report [data-mika-flow-control]{position:absolute!important;left:var(--mika-flow-x)!important;top:var(--mika-flow-y)!important;width:var(--mika-flow-width)!important;height:var(--mika-flow-height)!important;min-height:0!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box}
@container mika-report (max-width:1000px){
 body.mika-report-open .client-filter{height:auto;min-height:0;flex-wrap:wrap}
 body.mika-report-open .client-filter .filter-track{display:flex;flex-wrap:wrap;height:auto!important;gap:8px;min-height:0!important;min-width:0!important;max-width:100%;flex:1 0 100%;align-content:start;justify-content:flex-start}
 body.mika-report-open .client-filter .filter-chips{flex-basis:100%;flex-wrap:wrap}
 body.mika-report-open .client-filter .range-row{position:static;height:auto;display:flex;flex-wrap:wrap;max-width:100%;margin:0;padding-block:8px}
 body.mika-report-open .client-filter .range-chip{width:auto!important;min-width:0!important;max-width:calc(100% - 36px);height:auto;white-space:normal;margin-left:0;flex:0 1 auto!important;min-height:40px}
 body.mika-report-open .client-filter .range-chip-x{margin-left:0}
 body.mika-report-open .client-filter .range-chip>span{white-space:normal;overflow:visible;text-overflow:clip}
 body.mika-report-open .r11-quick-ranges{margin-left:0;margin-right:auto}
}

:root{--ease:cubic-bezier(.16,1,.3,1);--fast:180ms;--slow:320ms;--rail-w:15.5rem;--mika-w:420px;--stage-left:0px;
  /* The sentiment palette is defined once in sentiment-palette.css (contract section 5: positive jade, negative plum, neutral
     slate; berry stays "needs you"). The shell reads those names with the same values as a fallback for a page that has not loaded it. */
  --sent-positive:var(--sentiment-positive,var(--available));--sent-negative:var(--sentiment-negative,var(--partial));--sent-neutral:var(--sentiment-neutral,var(--slate))}
html{height:100%}
body{min-height:100%;transition:padding-left var(--slow) var(--ease);
  /* Ask Mika's mode: the page is the first column; the second is 0 at rest and the sheet's 420 px in the mode. */
  display:grid;grid-template-columns:minmax(0,1fr) 0px;align-content:start}
body>*{grid-column:1;min-width:0}
/* The column only where the page stays at or above 760 px beside it (DESIGN.md rule 4): from a 1180 px window in top
   navigation, from 1428 px with the 248 px rail; narrower, the sheet covers the page from the right as on the phone. */
@media(min-width:1180px) and (prefers-reduced-motion:no-preference){html[data-nav=top] body.mika-open{--mika-col:var(--mika-w);grid-template-columns:minmax(0,1fr) var(--mika-w)}}
@media(min-width:1428px) and (prefers-reduced-motion:no-preference){html[data-nav=rail] body.mika-open{--mika-col:var(--mika-w);grid-template-columns:minmax(0,1fr) var(--mika-w)}}
/* ---- Rail (desktop). The page keeps its .wrap; the rail takes the first 14 rem. */
@media(min-width:761px){
  html[data-nav=rail] body{padding-left:var(--rail-w)}
  html[data-nav=rail]{--stage-left:var(--rail-w)}
  html[data-nav=rail] .masthead{display:none}
}
/* The rail is a surface, not a flat panel (Naveen, round 3): Encore's sky wash (--streak-sky as the ground, --band-sky
   as the soft field) sits behind the items; selection stays on the pill track's surface. */
.rail{position:fixed;z-index:50;inset:0 auto 0 0;display:flex;flex-direction:column;width:var(--rail-w);overflow:hidden;background:var(--streak-sky,var(--surface));color:var(--ink);border-right:1px solid var(--line)}
.rail::before{content:"";position:absolute;inset:0;background:var(--band-sky);opacity:.55;pointer-events:none}
.rail>*{position:relative}
/* Live items: a "needs you" count chip (berry) and a hue wash on a bucket whose state changed since the user last
   looked (amber: a receiving shortfall or a shipment not moving; plum: a negative topic grew; berry: a product ran
   out, on the Inventory sub-item; jade: a campaign landed). The wash arrives at the page beat with the pulse sweep
   token, its one allowed use, then holds as a steady tint until the user opens that bucket. */
:root{--pulse-plum:linear-gradient(135deg,color-mix(in srgb,var(--partial) 32%,#fff),color-mix(in srgb,var(--partial) 12%,#fff) 45%,transparent 88%)}
.rail-item{position:relative;overflow:hidden}
.rail-item.is-washed{background:var(--wash,transparent)}
.rail-item.is-washed:hover{background:var(--wash,transparent),var(--slate-soft)}
.rail-item[data-wash=amber]{--wash:var(--pulse-amber)}.rail-item[data-wash=plum]{--wash:var(--pulse-plum)}.rail-item[data-wash=berry]{--wash:var(--pulse-berry)}.rail-item[data-wash=jade]{--wash:var(--pulse-jade)}
.rail-item.is-sweeping::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--pulse-sweep) no-repeat;background-size:300% 100%;background-position:120% 0;animation:rail-sweep 900ms ease both;pointer-events:none}
@keyframes rail-sweep{from{background-position:120% 0}to{background-position:-120% 0}}
.rail-chip{display:inline-grid;place-items:center;margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--danger-ink);color:var(--surface);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}
.rail-chip[hidden]{display:none}
/* The negative-count badge on Sentiment (shell/negative-badge.js): the rail chip, pulsing on God Mode's 2 s Live-dot beat
   (opacity 1 to .6 and back); still under reduced motion. */
@keyframes rail-negative-pulse{0%,100%{opacity:1}50%{opacity:.6}}
.rail-chip.rail-negative{animation:rail-negative-pulse 2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.rail-chip.rail-negative{animation:none}}
.rail-item .rail-count+.rail-chip{margin-left:8px}
.rail-sub a{position:relative;overflow:hidden}
.rail-sub a.is-washed{background:var(--wash,transparent)}
.rail-sub a[data-wash=berry]{--wash:var(--pulse-berry)}.rail-sub a[data-wash=amber]{--wash:var(--pulse-amber)}.rail-sub a[data-wash=jade]{--wash:var(--pulse-jade)}.rail-sub a[data-wash=plum]{--wash:var(--pulse-plum)}
.rail-sub a.is-sweeping::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--pulse-sweep) no-repeat;background-size:300% 100%;animation:rail-sweep 900ms ease both;pointer-events:none}
.rail-sub a .rail-chip{height:20px;min-width:20px}
@keyframes menu-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.rail-item.is-sweeping::after,.rail-sub a.is-sweeping::after{animation:none;content:none}}
html[data-nav=top] .rail{display:none}
/* The lockup as on the masthead (the phone masthead's compact rule so the wordmark's ink stays inside 14 rem). The mark
   and the slot zoom to 70 %; the brand row has no gap and --lockup-z draws the rule and its two gaps at 8 + 1 + 8 px on
   screen (encore-wordmark.css; Naveen, 2026-10-13). */
.rail-brand{display:flex;align-items:center;gap:0;min-height:70px;padding:0 16px;border-bottom:1px solid var(--line);--lockup-z:.7}
.rail-brand>*{zoom:.7}
.rail-brand .masthead-product{--encore-ink-height:18.567px;--encore-midline:.240875px;--lockup-logo:1}
.rail-brand img{display:block;width:130px;height:auto}
/* The client card (Naveen, 10/11: "you need to show which client it is"): a "Client" label in the rail's label grammar,
   then a light card on the violet pulse token (addendum 2) with the organization's mark (its logo, else the initial)
   and its name on up to two lines, never truncated, no artist count (rule 4), no sales line. With more than one
   organization the card is a button: a chevron at its right, the hover wash under the violet, and the list opens
   below it. With one it is static: no chevron, no hover. */
.rail-org{padding:10px 8px 8px}
.org-button{display:grid;width:100%;min-height:52px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 10px;padding:10px 10px;border:0;border-radius:12px;background:var(--pulse-violet),var(--surface);color:var(--ink);text-align:left;font:inherit;transition:background-color var(--fast) ease}
button.org-button:hover,button.org-button[aria-expanded=true]{background:var(--pulse-violet),var(--slate-soft)}
button.org-button[aria-busy=true]{opacity:.72;cursor:wait}
/* The chevron follows the name's last word (a column would push the name to three lines at the rail's width). */
button.org-button .org-copy strong>svg{display:inline-block;width:14px;height:14px;margin-left:4px;vertical-align:-2px;color:var(--muted)}
.org-mark{display:grid;width:28px;height:28px;place-items:center;overflow:hidden;border-radius:50%;background:var(--ink);color:var(--surface);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-bold)}
.org-mark img{display:block;width:100%;height:100%;object-fit:cover}
.org-copy{display:flex;flex-direction:column;min-width:0}
.org-copy strong{display:block;overflow-wrap:normal;word-break:normal;hyphens:none;font-weight:var(--weight-bold)}
.org-copy span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail)}
.rail-nav{display:flex;flex:1;flex-direction:column;gap:14px;overflow-y:auto;padding:8px 12px 16px;scrollbar-width:thin}
.rail-group{display:flex;flex-direction:column;gap:2px}
.rail-label{padding:3px 10px;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-medium)}
/* Items in the nav's own language: muted at rest, the pill track's surface under the pointer, and the selected item on
   the track's surface with ink text and the selection's weight (report-nav.css). */
.rail-item{display:flex;width:100%;min-height:40px;align-items:center;gap:10px;padding:7px 10px;border:0;border-radius:12px;background:transparent;color:var(--muted);text-align:left;text-decoration:none;transition:background-color var(--fast) ease,color var(--fast) ease}
.rail-item:hover{background:var(--slate-soft);color:var(--ink)}
/* Naveen's hard rule (every Sparkart surface): no left-side border, accent edge, inset stripe or rail line on a navigation item.
   Selection is the filled pill surface only; state is the chip and the wash only. */

.rail-item[aria-current=page]{background:var(--slate-soft);color:var(--ink);font-weight:var(--weight-medium);box-shadow:none} /* TYPOGRAPHY.md: the selected rail item is Body medium; the filled pill carries the selection */
.rail-item svg{width:18px;height:18px;flex:none}
.rail-item.mika-nav-door{flex:none}
.mika-nav-door[data-mika-pointer-focus]:focus-visible,.mika-masthead-door[data-mika-pointer-focus]:focus-visible{outline:none}
.rail-item .rail-count{margin-left:auto;color:var(--muted);font-size:var(--font-detail)}
.rail-sub{display:grid;grid-template-rows:0fr}
/* The fold is drawn by shell/rail-fold.js on the compositor (transform, opacity) from the click: the layout changes at
   once, the rows slide by FLIP, a closing tray folds up as a ghost and an opening one unfolds, 180 ms on the one curve. */
.rail-sub>ul{transform-origin:top}
.rail-fold-ghost{position:absolute;left:0;z-index:0;margin:0!important;transform-origin:top;pointer-events:none}
.rail-sub[data-open="1"]{grid-template-rows:1fr;margin:4px 0 6px}
.rail-sub>ul{min-height:0;overflow:hidden}
/* The open bucket's sub-pages sit on the rail itself, indented under their bucket's text column: no tray, no panel, no
   raised segment (Naveen, 2026-10-14: "I hate the box behind this"). The current sub-page is ink at the bold weight; the
   others are muted, ink on hover. No left borders, no accent edges (his nav rules). A closed list is exactly 0 px tall. */
.rail-sub ul{position:relative;margin:0 0 0 28px;padding:0;list-style:none}
.rail-sub li{position:relative}
.rail-sub a{display:flex;min-height:36px;align-items:center;padding:6px 10px;border-radius:8px;color:var(--muted);text-decoration:none;font-size:var(--font-detail);line-height:var(--line-detail)}
/* Hover is ink alone (muted to ink), no chip under the pointer: on the plain rail a chip reads as the box Naveen rejected.
   The keyboard ring sits inside the link, since the folding list clips what spills past it. */
.rail-sub a:hover{color:var(--ink)}
.rail-sub a:focus-visible{outline-offset:-3px}
.rail-sub a[aria-current=location]{color:var(--ink);font-weight:var(--weight-medium)}
/* Organization menu (both navs): a small list under the control. */
.org-menu{position:absolute;z-index:60;display:flex;flex-direction:column;gap:4px;min-width:260px;margin:0;padding:6px;list-style:none;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-popover)}
.org-menu[hidden]{display:none}
.org-menu li{margin:0}
.org-menu button{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;transition:background-color var(--fast) ease}
.org-menu button:hover{background:var(--slate-soft)}
.org-menu button[aria-current=true]{background:var(--accent-soft)}
.org-menu button[aria-current=true]:hover{background:color-mix(in srgb,var(--accent-soft) 80%,var(--slate-soft))}
.org-menu .org-mark{flex:none;background:var(--ink);color:var(--surface)}
.org-menu .org-copy{gap:2px}
.org-menu .org-copy span{color:var(--muted)}
.rail-org{position:relative}
.rail .org-menu{left:8px;right:8px;top:calc(100% + 2px);width:auto;min-width:0;max-height:var(--menu-max-h,calc(100vh - 180px));overflow-y:auto}
.rail .rail-org .org-menu.is-anchored{position:fixed;left:var(--menu-x,8px);right:auto;top:var(--menu-t,140px);width:max-content;min-width:var(--menu-w,232px);max-width:var(--menu-max-w,calc(100vw - 24px))}
.rail .org-menu .org-copy span{white-space:normal}
/* ---- Top masthead (the production pattern). The nav's row follows the masthead's own width. */
.masthead{container-type:inline-size}
@media(min-width:761px){
  @container (min-width:1181px){
    .masthead .encore-masthead{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
    .encore-masthead>.masthead-tools{grid-column:3}
    .encore-masthead .encore-nav-slot{grid-column:2;grid-row:1}
  }
  @container (max-width:1180px){
    .masthead .encore-masthead{grid-template-columns:minmax(0,1fr) auto}
    .encore-masthead>.masthead-tools{grid-column:2}
    .encore-masthead .encore-nav-slot{grid-column:1/-1;grid-row:2}
  }
}
.masthead-tools{gap:12px}
@media(min-width:1381px){.masthead-tools>.encore-search{width:240px}}
.mika-button{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;border:1px solid var(--line-dark);border-radius:var(--radius-control);background:var(--surface);color:var(--accent);white-space:nowrap;font-weight:var(--weight-medium);transition:border-color 100ms ease}
.mika-button:hover{border-color:var(--accent)}
.mika-button svg{width:18px;height:18px;flex:none}
/* Top navigation uses the masthead's flat control material and height. */
.mika-masthead-door{padding-inline:10px;border:0;border-radius:12px;background:transparent;color:var(--ink);transition:background-color var(--fast) ease,color var(--fast) ease}
.mika-masthead-door:hover{background:var(--slate-soft)}
.mika-masthead-door[aria-pressed=true]{background:var(--ink);color:var(--surface)}
.masthead-user{position:relative;display:flex;align-items:center;min-width:0}
.masthead-user>button{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 4px;border:0;background:transparent;color:var(--ink)}
.masthead-org{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.masthead-initial{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--surface);font-weight:var(--weight-bold)}
.masthead-user .org-menu{right:0;top:calc(100% + 4px)}
@media(max-width:1599px){.masthead-org{display:none}}
/* Phone top bar: shared by both navs. In the rail mode the hamburger opens the rail as a sheet from the left. */
.rail-toggle{display:none}
@media(max-width:760px){
  html[data-nav=rail] .masthead{display:block}
  html[data-nav=rail] .encore-nav-slot{display:none}
  html[data-nav=rail] .rail-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--ink)}
  .rail-toggle svg{width:22px;height:22px}
  .rail{transform:translateX(-100%);transition:transform var(--slow) var(--ease);width:min(20rem,86vw);box-shadow:none}
  html[data-nav=rail] body.rail-open .rail{transform:none;box-shadow:var(--shadow-popover)}
  .rail-scrim{position:fixed;inset:0;z-index:49;background:var(--backdrop);opacity:0;pointer-events:none;transition:opacity var(--fast) ease}
  body.rail-open .rail-scrim{opacity:1;pointer-events:auto}
  /* The phone bar holds three 44 px controls beside the lockup (Ask Mika, menu, search in the rail mode; Ask Mika,
     the organization, search in the top mode); the organization lives in the rail sheet. */
  /* 36 px icon controls (the Explorer's field tag size) so the five fit beside the 184 px lockup at 390: Ask Mika,
     the initial, the menu, the search. Below 361 px the initial lives in the rail sheet's organization card. */
  /* The wordmark paints 60 px past its slot (encore-wordmark.css); the brand reserves that room so no control
     lands on the ink. */
  .masthead-inner>.masthead-brand{padding-right:60px}
  .encore-masthead>.masthead-tools{gap:4px}
  .masthead-tools>.encore-search{order:4}
  .masthead-tools>.mika-button{order:1;width:36px;min-height:36px;padding:0;justify-content:center}
  .masthead-tools>.mika-button span{display:none}
  .masthead-user{order:2}
  /* In the rail mode the account control is the drawer's foot, so the bar keeps Ask Mika, the menu and the search. */
  html[data-nav=rail] .masthead-user{display:none}
  .masthead-user>button{min-height:36px;padding:0}
  .masthead-initial{width:32px;height:32px}
  html[data-nav=rail] .rail-toggle{order:3;width:36px;height:36px;min-height:36px}
}
/* ---- Search answer card (both navs). */
.search-card{position:absolute;top:calc(100% + 6px);right:0;z-index:50;width:360px;max-width:calc(100vw - 32px);padding:16px 20px 20px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);box-shadow:var(--shadow-popover)}
.search-card[hidden]{display:none}
.search-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.search-card-head h3{margin:0}
.search-card-head p{margin:2px 0 0;color:var(--muted)}
.search-card-close{min-height:36px;padding:0 10px;border:0;background:transparent;color:var(--muted);font-size:var(--font-panel);line-height:var(--line-panel)}
.search-card-close:hover{color:var(--ink)}
.search-card-state{margin:0 0 12px}
.search-card ul{margin:0;padding:0;list-style:none}
.search-card li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid var(--line)}
.search-card li span:last-child{flex:none;color:var(--muted)}
@media(max-width:760px){.search-card{position:fixed;left:16px;right:16px;top:64px;width:auto}}
/* ---- Page head and filter row. In the rail mode the page head carries the search field and Ask Mika (the masthead
   is gone), as Alcove's page header carries its Ask control. */
.client-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding:14px 0 8px}
.client-head h1{margin:0}
.client-head > [data-encore-freshness]{min-width:0;display:flex;align-items:baseline}
[data-encore-freshness] .freshness-pills{display:flex;margin:0}
[data-encore-updated]{margin:0;inline-size:max-content;max-inline-size:100%;min-block-size:calc(var(--line-detail) + 12px);white-space:nowrap}
@media(max-width:760px){.client-head > [data-encore-freshness]{grid-column:1/-1;grid-row:2}}
@media(min-width:761px) and (max-width:1279px){.client-head > [data-encore-freshness]{grid-column:1/-1;grid-row:2}}
@media(min-width:1280px) and (max-width:1699px){html[data-nav=rail] body.mika-layout .client-head > [data-encore-freshness]{grid-column:1/-1;grid-row:2}}
@media(min-width:1280px){html[data-nav=rail] .client-head:has(> [data-encore-freshness]){grid-template-columns:minmax(0,1fr) auto auto}}
.client-head-tools{display:none;align-items:center;gap:12px}
@media(min-width:761px){html[data-nav=rail] .client-head{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}
  html[data-nav=rail] .client-head-tools{display:flex}
  html[data-nav=rail] .client-head-tools .encore-search{position:relative;width:240px;margin:0}
  html[data-nav=rail] .client-head-tools .encore-search input{width:100%;min-height:48px;border:1px solid var(--line-dark);border-radius:var(--radius-control);background:var(--surface);padding:10px 16px}}
/* The filter row: God Mode's tracking bar in Encore's tokens (IA reset, rule 1). Search, the switch, the chips; no
   popover, no menu; a focused chip in the accent, the others dimmed; no left-side marks on anything. */
.client-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:0 0 12px;border-bottom:1px solid var(--line);margin-bottom:10px}
.filter-search{position:relative;flex:0 0 220px}
.filter-search input{width:100%;min-height:40px;padding:6px 12px;border:1px solid var(--line-dark);border-radius:var(--radius-control);background:var(--surface)}
.filter-results{top:calc(100% + 4px);left:0;right:0;width:auto}
.filter-results li{display:block;padding:8px 12px}
.filter-results li[aria-selected=true]{background:var(--slate-soft)}
/* The My artists · All switch is the product switch (shell/switch.css). */
.filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.filter-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 0 0 12px;border:1px solid var(--line-dark);border-radius:999px;background:var(--surface);color:var(--ink);white-space:nowrap;transition:opacity 150ms ease,border-color 100ms ease,background-color 150ms ease}
.filter-chip.is-dim{opacity:.45}
.filter-chip.is-focused{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.filter-chip>button{min-height:38px;padding:0;border:0;background:transparent;color:inherit;font:inherit}
.filter-chip-name{padding-right:4px}
.filter-chip-remove{width:32px;color:var(--muted);font-size:var(--font-panel);line-height:1}
.filter-chip-remove:hover{color:var(--danger-ink)}
.filter-chip-more,.filter-clear{min-height:40px;padding:0 12px;border:1px solid var(--line-dark);border-radius:999px;background:var(--surface);color:var(--accent);font-size:var(--font-detail);line-height:var(--line-detail)}
.filter-clear{border-color:var(--accent)}
.filter-hint{color:var(--muted)}
/* The track: the artist chips then the date range. Chips never shrink, never wrap and never cut a name (Naveen,
   2026-10-11 evening; the lead's ruling): filter.js shows as many whole chips as fit on the line and folds the rest
   into one "+N" chip, which opens my artists at the folded names. From a 640 px row (.is-wide, set by filter.js) the
   search, the switch and the track share one line, so Ask Mika's column or a resize changes only which chips fold
   and the count; narrower (and on the phone) the track takes its own line and folds the same way. A single artist
   whose name is longer than the line is the only chip that clips (its full name in its title). */
.filter-track{display:flex;align-items:center;gap:8px 12px;flex:1 1 auto;min-width:0}
/* The date chip never pushes its × past the edge (390, round 7): on a phone the comparison segment is hidden (the
   popover shows it), and at any width the chip may shrink, its label ending in an ellipsis rather than overflowing. */
.filter-track>.range-chip{flex:0 1 auto;min-width:0}
.range-chip>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:480px){.range-chip .range-chip-vs{display:none}}
.filter-track>.filter-chips{flex:1 1 0;min-width:0;flex-wrap:nowrap;overflow:hidden}
.filter-track .filter-chips>*{flex:none}
.filter-track .filter-chips>.filter-chip.is-clipped{flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden}
.filter-track .filter-chips>.filter-chip.is-clipped .filter-chip-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.filter-track .filter-chips>.filter-chip.is-clipped .filter-chip-remove{flex:none}
.filter-track .filter-chips>[hidden]{display:none}
.client-filter.is-wide{flex-wrap:nowrap}
.client-filter.is-wide>.filter-track{flex:1 1 0}
.client-filter:not(.is-wide)>.filter-track{flex:1 0 100%}
/* The list behind "+N": my artists, the folded ones first in view; a choice focuses that artist. */
.filter-fold{right:auto;width:min(18rem,100%);max-height:17rem;overflow-y:auto}
.filter-fold li{cursor:pointer}
.filter-fold li[aria-selected=true]{background:var(--slate-soft)}
/* While Ask Mika's mode moves, a row that changes height (only across the 640 px line) is held in its taller layout;
   mika.js moves the track's items from their old boxes and runs the row's height on the mode's frames. */
.client-filter.is-gliding>.filter-track{flex-basis:100%}
@media(max-width:760px){
  .client-head{padding:16px 0 12px;gap:12px}
  .client-filter{gap:10px;padding-bottom:12px;margin-bottom:16px}
  .client-filter>label,.client-filter .artist-picker{width:100%;min-width:0}
  .client-views{flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:2px;scrollbar-width:thin}
}
/* ---- Ask Mika: the sheet of the page's Mika mode (DESIGN.md, Shell decision 4). It stands over the body's second
   column, fixed to the right edge at the column's 420 px, header then the conversation; mika.js moves it on the same
   frames as the column, so its left edge is the column's edge throughout and no shadow is needed (it is part of the
   page, not over it). The object asked about stays on the page; its title is the quoted chip at the top of the
   conversation. The X sits in the sheet's top-right corner, where the Ask Mika control sits. */
.mika-panel{position:fixed;z-index:70;top:0;right:0;bottom:0;width:var(--mika-w);max-width:100vw;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:70px minmax(0,1fr);overflow:hidden;background:var(--surface);color:var(--ink);border-left:1px solid var(--line);transform:translate3d(100%,0,0)}
.mika-panel.is-open{transform:none}
.mika-panel.is-closing{pointer-events:none}
.mika-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 12px 0 24px;border-bottom:1px solid var(--line);background:var(--surface)}
.mika-close{display:grid;place-items:center;flex:none;width:48px;height:48px;min-height:48px;padding:0;border:0;border-radius:var(--radius-control);background:transparent;color:var(--ink);transition:background-color 100ms ease,color 100ms ease}
.mika-close:hover{background:var(--slate-soft);color:var(--accent)}
.mika-close svg{width:18px;height:18px}
.mika-mode{display:flex;flex:1 1 auto;align-items:center;gap:10px;min-width:0;margin:0;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail)}
/* Mika's face in the panel's head (28 px) and beside her turns (32 px): the crop drawn whole in a circle on --surface-soft
   with the --line hairline, only downscaled, never animated (shell/mika.js avatarHtml). */
.mika-av{--av:32px;display:inline-block;flex:none;width:var(--av);height:var(--av);border-radius:50%;overflow:hidden;background:var(--surface-soft);box-shadow:0 0 0 1px var(--line);line-height:0;vertical-align:middle}
.mika-av>img{display:block;width:100%;height:100%;max-width:none}
.mika-av.s28{--av:28px}.mika-av.s32{--av:32px}
.mika-av,.mika-av *{animation:none!important;transition:none!important}
.mika-mode strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink);font-weight:var(--weight-medium)}
/* Chat with Mika (2026-10-14): the mode line, then the data's as-of under it. */
.mika-head{flex:1 1 auto;min-width:0;display:grid;gap:0}
.mika-asof{margin:0;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mika-asof[hidden]{display:none}
.mika-conv{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto auto;background:var(--surface-soft)}
.mika-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 8px}
.mika-quote{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:0 0 16px;padding:6px 12px 6px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail)}
.mika-quote[hidden]{display:none}
.mika-quote-mark{display:grid;place-items:center;flex:none;width:18px;height:18px;color:var(--accent)}
.mika-quote-mark svg{width:14px;height:14px}
.mika-quote strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink);font-weight:var(--weight-medium)}
.mika-quote-page{flex:none;white-space:nowrap}
.mika-quote-page:not(:empty)::before{content:'· '}
.mika-transcript{display:flex;flex-direction:column;gap:16px;margin:0;padding:0;list-style:none}
.mika-transcript>li{opacity:0;transform:translateY(8px);transition:opacity 200ms ease,transform 300ms var(--ease)}
.is-open .mika-transcript>li{opacity:1;transform:none}
.is-open .mika-transcript>li.is-new{opacity:0;transform:translateY(8px)}
.mika-you{align-self:flex-end;width:fit-content;max-width:84%;padding:12px 14px;border:1px solid color-mix(in srgb,var(--accent) 12%,var(--line));border-radius:16px 16px 4px 16px;background:color-mix(in srgb,var(--accent) 6%,var(--surface))}
.mika-say{max-width:34rem;display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:10px;align-items:start}
.mika-say>.mika-av{grid-column:1}
.mika-say>:not(.mika-av){grid-column:2;min-width:0}
.mika-copy{display:flex;align-items:center;gap:6px;justify-self:start;min-width:32px;min-height:32px;margin-top:6px;padding:6px;border:0;border-radius:var(--radius-control);background:transparent;color:var(--muted)}
.mika-copy:hover{background:var(--slate-soft);color:var(--accent)}
.mika-copy:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mika-copy svg{width:16px;height:16px;flex:none}
.mika-say p{margin:0 0 10px}
.mika-say p:last-child{margin-bottom:0}
.mika-say ul{margin:6px 0 10px;padding-left:20px}
.mika-say .kpi-detail{color:var(--muted)}
/* Text arrives as one calm block: 360 ms plain ease, laid out before it fades in. */
.mika-say .mika-text{opacity:0;transition:opacity 360ms ease}
.mika-say .mika-text.is-in{opacity:1}
/* A conversation's turn (mika-band/band.js turnHtml): the page's own objects in the sheet. The claim, its evidence (the
   drivers' bar or the page's evidence row), figures with their units (the panel figure), the drivers' rows with their
   bars (band.css .mb-chain), records, at most two moves' doors, the evidence line, then Mika's one question back. */
.mf-turn{display:grid;gap:10px}
.mf-turn>*{margin:0}
.mf-claim strong{font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}
.mf-turn .mb-chain{max-width:none}
.mf-figs{display:flex;flex-wrap:wrap;gap:8px 24px}
.mf-fig{display:grid;margin:0}
.mf-fig b{font-size:var(--font-panel);line-height:var(--line-panel);font-weight:var(--weight-bold);color:var(--ink);font-variant-numeric:tabular-nums}
.mf-records{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mf-records li{padding:8px 12px;border-radius:8px;background:var(--surface)}
.mf-records li p{margin:0}
.mf-turn .mb-thread-move{margin:0}
.mf-facts{color:var(--muted)}
.mf-ask{font-weight:var(--weight-medium);color:var(--ink)}
.mf-clarify{display:flex;flex-wrap:wrap;gap:8px}
.mf-ask-chip{width:auto;min-height:40px;padding:8px 14px;border:1px solid var(--line-dark);border-radius:999px;background:var(--surface);color:var(--ink);text-align:left;transition:border-color 100ms ease,color 100ms ease}
.mf-ask-chip:hover{border-color:var(--accent);color:var(--accent)}
.mika-suggest-wrap{margin:0 32px 12px;opacity:0;transform:translateY(8px);transition:opacity 200ms ease 100ms,transform 260ms var(--ease) 100ms}
.is-open .mika-suggest-wrap{opacity:1;transform:none}
.mika-suggest-wrap[hidden]{display:none}
.mika-suggest-title{margin:0 0 8px;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-medium)}
.mika-suggest{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.mika-suggest button{width:auto;min-height:40px;padding:8px 14px;border:1px solid var(--line-dark);border-radius:999px;background:color-mix(in srgb,var(--surface) 74%,transparent);color:var(--ink);text-align:left;transition:border-color 100ms ease,background-color 100ms ease,color 100ms ease}
.mika-suggest button:hover{border-color:var(--accent);background:var(--surface);color:var(--accent)}
.mika-compose{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:12px;margin:0 32px 24px;padding:6px 6px 6px 10px;border:1px solid var(--line-dark);border-radius:14px;background:var(--surface);box-shadow:0 10px 32px #18234710;opacity:0;transform:translateY(12px);transition:opacity 200ms ease 80ms,transform 280ms var(--ease) 80ms,border-color 100ms ease}
.is-open .mika-compose{opacity:1;transform:none}
.mika-compose:focus-within{border-color:var(--accent)}
.mika-compose input{min-height:44px;border:0;background:transparent;padding:0 6px}
.mika-compose input:focus-visible{outline:none}
.mika-compose button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:var(--accent);color:var(--surface)}
.mika-compose button svg{width:18px;height:18px}
.mika-note{margin:12px 0 0;color:var(--muted)}
.mika-suggest-wrap{margin-left:24px;margin-right:24px}
.mika-compose{margin-left:24px;margin-right:24px}
/* Below the column's breakpoint (1180 px in top navigation, 1428 px with the rail) and above the phone, the 420 px sheet
   is an overlay over the visible page with the popover's shadow, as on the reduced-motion path: Mika stays a mode,
   not a takeover. Under 760 px the sheet covers the page (the phone rule) with the phone's compact chrome, and the X
   keeps the phone bar's control size. */
@media(min-width:761px) and (max-width:1179px){.mika-panel{box-shadow:var(--shadow-popover)}}
@media(min-width:761px) and (max-width:1427px){html[data-nav=rail] .mika-panel{box-shadow:var(--shadow-popover)}}
@media(max-width:760px){
  .mika-panel{width:100%;border-left:0;box-shadow:none;grid-template-rows:62px minmax(0,1fr)}
  .mika-top{padding:0 8px 0 16px}
  .mika-close{width:36px;height:36px;min-height:36px}
  .mika-scroll{padding:16px 16px 8px}
  .mika-suggest-wrap{margin-left:16px;margin-right:16px}
  .mika-compose{margin-left:16px;margin-right:16px}
}
/* Phone round three (2026-10-12). The sheet is the visible band, not the layout viewport: mika.js writes the visual
   viewport's top and height, so with the keyboard up the compose box sits on the keyboard's edge and the X stays on screen.
   Without visualViewport the sheet keeps the full height (100dvh where supported). */
@media(max-width:760px){
  .mika-panel{top:var(--mika-vv-top,0px);bottom:auto;height:var(--mika-vv-h,100vh);height:var(--mika-vv-h,100dvh)}
  .mika-compose{margin-bottom:max(24px,env(safe-area-inset-bottom))}
}
/* No sideways scroll at phone width (phone round three): a composition key wraps its entries, and an entry wraps inside
   itself when it is wider than the line; numbers stay whole. */
@media(max-width:760px){
  :is(.catchup-b-chart-key,.rr-key,.tm-key,.map-key,.catchup-key){flex-wrap:wrap;min-width:0;max-width:100%}
  :is(.catchup-b-chart-key,.rr-key,.tm-key,.map-key,.catchup-key)>:is(span,li){min-width:0;max-width:100%;white-space:normal}
  /* The date range calendar is never wider than the screen less its gutters (its 354 px floor overflowed a 360 px phone). */
  .calendar.calendar{min-width:0}
}
/* Three-act pivot helpers (encoreClient.pivot). Leavers sink as a group; survivors glide; arrivals rise one after
   another into prepared places. Transform and opacity only. */
.pivot-leave{position:absolute;pointer-events:none;transition:opacity var(--fast) ease,transform var(--fast) ease}
.pivot-leave.is-gone{opacity:0;transform:translateY(8px)}
.pivot-move{transition:transform var(--slow) var(--ease)}
.pivot-new{opacity:0;transform:translateY(24px) scale(.97)}
.pivot-new.is-in{opacity:1;transform:none;transition:opacity 280ms ease,transform 500ms var(--ease)}
.reproject{transition:opacity var(--fast) ease}
.reproject.is-out{opacity:0}
/* Lab-only: the navigation switch for Naveen's evaluation (addendum section 2). Not product UI. */

/* 320 px phones: the lockup takes 60% (the same approved lockup, scaled; a proposal for Naveen, DESIGN.md). */
@media(max-width:360px){.masthead-inner>.masthead-brand{zoom:.6;--lockup-z:.6}}
@media(prefers-reduced-motion:reduce){
  body,.rail,.rail-sub,.pivot-move,.pivot-new.is-in,.mika-transcript>li,.mika-suggest-wrap,.mika-compose{transition:opacity 160ms ease}
  /* Reduced motion: no column change; the sheet fades over the page (mika.js), so it carries the popover's shadow. */
  .mika-panel{box-shadow:var(--shadow-popover)}
  .pivot-new{transform:none}.pivot-leave.is-gone{transform:none}
}
@media print{.rail,.mika-panel{display:none}body.mika-open{grid-template-columns:minmax(0,1fr) 0px}}
/* ---- Grid law (IA reset, rule 10). The content column is 12 columns with 24 px gutters inside a 32 px outer gutter;
   the title row, the filter row and every card share one left edge and one right edge; a card is padded 24 on every
   side, flat, with a one-line head (title left, count right) over a 1 px divider; a card's body starts on the same y
   across a row. The lab overlay (?grid=1) draws the columns. */
:root{--grid-gutter:24px;--grid-outer:32px}
@media(min-width:761px){
  html[data-nav=rail] .wrap,html[data-nav=rail] main#report.wrap{width:auto;max-width:none;margin:0;padding:0 var(--grid-outer)}
  html[data-nav=rail] .client-head{grid-template-columns:minmax(0,1fr) auto;padding:24px 0 16px}
  html[data-nav=rail] .client-filter{padding-bottom:16px;margin-bottom:var(--grid-gutter)}
}
.ia-card{box-sizing:border-box;padding:24px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);box-shadow:none}
.ia-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-width:0;padding:0 0 12px;margin:0 0 16px;border-bottom:1px solid var(--line);white-space:nowrap}
/* The title is never cut; the count takes the rest of the line and truncates at its end. */
.ia-card-head h2,.ia-card-head h3{flex:none;margin:0}
.ia-card-head .ia-card-count{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;font-size:var(--font-detail);line-height:var(--line-detail)} /* Detail: a count, "Coming soon" */
.ia-card-head .ia-card-count strong{color:var(--ink)}
.grid-overlay{position:fixed;z-index:200;top:0;bottom:0;left:calc(var(--stage-left) + var(--grid-outer));right:calc(var(--grid-outer) + var(--mika-col,0px));display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--grid-gutter);pointer-events:none}
.grid-overlay i{display:block;background:color-mix(in srgb,var(--accent) 9%,transparent);outline:1px solid color-mix(in srgb,var(--accent) 35%,transparent)}
@media(max-width:760px){.ia-card{padding:16px}.ia-card-head{flex-wrap:wrap;white-space:normal;gap:2px 16px}.ia-card-head .ia-card-count{flex:1 1 100%;text-align:left;white-space:normal;overflow:visible}}

/* ---- Motion (addendum 9, the motion map; all inherited from Encore, Alcove and God Mode). */
/* A count chip that changes pops once (God Mode's TrackingChip entering: scale from .6, 250 ms, the one curve). */
.rail-chip.is-pop{animation:chip-pop 250ms var(--ease) both}
@keyframes chip-pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
/* Rule 12: the selected bucket is the ink pill: one element that slides between items in 180 ms on the one curve;
   the selected item itself is transparent with white text and icon; no wash on it; hover slate-soft elsewhere. */
.rail-reports{position:relative}
.rail-pill{position:absolute;z-index:0;left:0;right:0;top:0;height:40px;border-radius:12px;background:var(--ink);transform:translate3d(0,var(--y,0px),0);will-change:transform;transition:transform 180ms var(--ease),height 180ms var(--ease);pointer-events:none}
.rail-pill.is-still{transition:none}
.rail-pill[hidden]{display:none}
.rail-reports>.rail-item{position:relative;z-index:1}
.rail-item[aria-current=page],.rail-item[aria-current=page]:hover{background:transparent;color:var(--surface)}
.rail-item[aria-current=page].is-washed{background:transparent}
/* Until the moving pill mounts, its selected item carries the same ink. */
nav[data-encore-cold-rail] .rail-item[aria-current=page]{background:var(--ink)}
.rail-item[aria-current=page] .rail-chip{background:transparent;color:var(--surface);padding:0;min-width:0}
.rail-sub a[aria-current=location],.rail-sub a[aria-current=page]{color:var(--ink);font-weight:var(--weight-bold)}
/* The current bucket's sub-reports unfold with a 30 ms stagger (Alcove's reveal) and fold the same way. */
.rail-sub li{opacity:0;transform:translateY(-4px);transition:opacity 180ms ease calc(var(--r,0)*30ms),transform 180ms var(--ease) calc(var(--r,0)*30ms)}
.rail-sub[data-open="1"] li{opacity:1;transform:none;transition-delay:calc(var(--i,0)*30ms)}
/* Arrive on every page: the rail, then the title row, then the filter, then the parts top to bottom 40 ms apart, once. */
body.shell-arriving .rail{animation:shell-in 360ms var(--ease) both}
body.shell-arriving .client-head{animation:shell-in 360ms var(--ease) 80ms both}
body.shell-arriving .client-filter{animation:shell-in 360ms var(--ease) 120ms both}
body.shell-arriving main>[data-arrive]{animation:shell-in 360ms var(--ease) calc(160ms + var(--arrive-i,0)*40ms) both}
@keyframes shell-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
/* Filter chips: God Mode's choreography (enter pop 250 ms with a 50 ms stagger; exit 250 ms; a 150 ms pause, then the
   survivors slide into place with a 30 ms stagger). */
.filter-chip.is-entering{animation:chip-pop 250ms var(--ease) both;animation-delay:calc(var(--k,0)*50ms)}
.filter-chip.is-leaving{animation:chip-out 250ms var(--ease) both;pointer-events:none}
@keyframes chip-out{to{transform:scale(.6);opacity:0}}
@media(prefers-reduced-motion:reduce){
  .rail-chip.is-pop,body.shell-arriving .rail,body.shell-arriving .client-head,body.shell-arriving .client-filter,body.shell-arriving main>[data-arrive],.filter-chip.is-entering,.filter-chip.is-leaving{animation:none!important}
  .rail-pill,.rail-sub,.rail-sub li,.filter-chip{transition:none!important}
  .org-menu{animation:none!important}
}

/* The account control is the rail's foot (Naveen, 10/11: "it should be at the bottom of the rail for this product"): a
   row pinned under the sections (the rail is a column; the sections scroll, the foot stays; the phone drawer ends with
   it): the initial in the ink disc, the name on one line (truncated, never wrapped, the body role), a chevron. No
   border; hover and open are the rail's wash; the focus ring is system.css's. Its menu (name and role as the detail
   line, Switch organization only with more than one, Sign out) opens upward from the row, 180 ms from its origin. */
.rail-user{position:relative;flex:none;padding:8px 8px 12px}
[data-encore-static-chrome] .rail-user{min-height:68px}
.rail-user>button{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:6px 10px 6px 6px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left;transition:background-color var(--fast) ease}
.rail-user>button:hover,.rail-user>button[aria-expanded=true],.rail-user>button[aria-current=page]{background:var(--slate-soft)}
.rail-user>button[aria-current=page] .rail-user-name{font-weight:var(--weight-medium)} /* Body medium, as the selected rail item */
.rail-user .masthead-initial{width:36px;height:36px}
.rail-user-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--weight-medium)}
.rail-user>button>svg{width:16px;height:16px;flex:none;color:var(--muted)}
/* The menu is at least the rail's width (Naveen, 10/11) and grows to its longest line up to the viewport less the 16 px
   gutters (Naveen, 10/13: the email is never cut); it is fixed at the row's corner (shell.js sets the corner) so the
   rail's clip never cuts it. The name on one line, the email under it in full (detail, muted), then plain rows at
   body size: Account, Sign out. */
.rail .rail-user .org-menu{left:0;right:0;top:auto;bottom:calc(100% - 4px);width:auto;min-width:0;transform-origin:bottom left;animation:menu-in 180ms var(--ease) both}
.rail .rail-user .org-menu.user-menu{position:fixed;left:var(--menu-x,0);right:auto;bottom:var(--menu-b,0);width:max-content;min-width:var(--menu-w,0);max-width:calc(100vw - 32px)}
.user-menu-who{display:flex;flex-direction:column;padding:8px 12px 4px}
.user-menu-email{color:var(--muted)}
.rail .user-menu a,.rail .user-menu button{display:flex;width:100%;align-items:center;min-height:44px;padding:6px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;text-decoration:none;font:inherit}
.rail .user-menu a:hover,.rail .user-menu button:hover{background:var(--slate-soft)}
.org-menu .org-copy.org-row{flex-direction:row;justify-content:space-between;gap:16px;align-items:baseline}
.org-menu .org-row>span:last-child{color:var(--muted);white-space:nowrap}
/* The pace chart's key: text, always (rule 5). */
.ov-pace-key{margin:6px 0 0!important}

.encore-search-ask{display:block;padding:10px 12px;border-top:1px solid var(--line);color:var(--accent);cursor:pointer}
.encore-search-ask:hover{background:var(--slate-soft)}

/* ---- The mark sweeps once (Naveen: "when you first log in it can sweep, just as a cool little thing"): on the first page
   of a session the pulse sweep crosses the Encore wordmark through its letters, once, then the mark is still. No cadence,
   no breath, no connection state on the mark. */
body.brand-sweep .rail-brand .encore-wordmark{background-color:var(--ink);background-image:var(--pulse-sweep);background-size:300% 100%;background-repeat:no-repeat;background-position:120% 0;animation:brand-sweep-once 1.4s linear 600ms both}
@keyframes brand-sweep-once{from{background-position:120% 0}to{background-position:-120% 0}}
/* ---- An outage is a whole-app state: one bar under the masthead on every page, in Encore's issue tokens; the page
   holds its last complete body (the 10/08 ruling). Lab: ?outage=warehouse|shopify|analytics. */
.outage-bar{display:flex;align-items:center;gap:12px;margin:24px 0 0;padding:10px 16px;border:1px solid var(--danger-line);border-radius:var(--radius-control);background:var(--danger-soft);color:var(--danger-ink);font-size:var(--font-detail);line-height:var(--line-detail)}
.outage-bar::before{content:"!";display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font-weight:var(--weight-bold)}
.outage-bar strong{font-weight:var(--weight-bold)}
@media(prefers-reduced-motion:reduce){body.brand-sweep .rail-brand .encore-wordmark{animation:none!important;background-image:none!important}}
@media(min-width:761px){html[data-nav=rail] .outage-bar+.client-head{padding-top:16px}}
@media(max-width:760px){.outage-bar{margin-top:16px}}
/* ---- The global date range (Naveen, 10/10): a chip at the right end of the tracking bar in the chip grammar; its popover
   is the org menu's surface. Presets are the ink-pill row (the selected preset is the one ink pill, sliding on the one
   curve); the dates are body text, everything else the detail role. Six grid columns wide at 1440, right-aligned on the
   content edge; the full row on a phone. */
.client-filter{position:relative}
/* The entrance animation makes the filter and page sections sibling stacking contexts. Raise the open selector's
   context as well as its panel so later sections cannot cover presets; the resting filter keeps its original stack. */


/* ---- The typography contract, page-wide (TYPOGRAPHY.md; lab-finish lane, 10/11, from tools/type-audit.mjs). Every number
   sets in tabular figures (section 1: dates, counts, axes and chips alike, so a column or a changing count never shifts).
   A bold count inside a muted Label, Detail or key line reads in ink (section 4: a key's count and a count line's numbers
   are ink bold; muted is for the words around them). */
/* The product family (Naveen, 2026-10-11 2:3x PM: "go with Geist. I like it."): Geist, self-hosted by shell/fonts.css, with
   Helvetica Neue as the fallback. The lab overrides the shared token here; next/warehouse/system.css keeps the internal
   product on Helvetica Neue. Sizes, line heights and weights stay the system.css roles. */
:root{--font-family:"Geist","Helvetica Neue",Helvetica,Arial,sans-serif}
body{font-variant-numeric:tabular-nums}
:is(.kpi-detail,.kpi-label,.muted,.rr-key,.catchup-b-chart-key) :is(strong,b){color:var(--ink)}
/* The legal line (shell/legal.js, shell/legal.css). Desktop rail: the rail's last row, under the account control, aligned
   with the items' text (12 px nav padding + 10 px item padding); the rail is a flex column whose nav scrolls, so the line
   and the account control never overlap at any height. Where the rail is not on screen (phones, where it is a sheet; the
   top nav) the line sits at the page's foot instead, so every layout shows it once (rule 8, the lead's ruling of 10/11). */
.rail-legal{--legal-pad:10px;flex:none;margin:0 12px;padding:14px var(--legal-pad) 16px;border-top:1px solid var(--line)}
.page-legal{display:none;margin-top:var(--grid-gutter,24px);padding-bottom:24px}
html[data-nav=top] .page-legal{display:block}
html[data-nav=top] .rail-legal{display:none}
@media(max-width:760px){.rail .rail-legal{display:none}.page-legal{display:block}}

/* Page switch (shell/navigate.js; Naveen, 10/11: "smooth as butter moving from page to page"). One document: only the
   page region is captured, so the rail, the filter row, the head's tools and Ask Mika stay live and still. The outgoing
   and incoming regions move as one beat on the one curve (--slow, transform and opacity), the outgoing held where it was
   read; reduced motion swaps at once (no transition runs). The overlay is a picture, so clicks pass through. */
:root[data-encore-shell]{view-transition-name:none}
[data-encore-shell] .masthead{view-transition-name:none}
:root[data-encore-shell]::view-transition{pointer-events:none;clip-path:inset(var(--encore-vt-top,0px) 0 0 0)}
[data-encore-transition] main[data-bucket]{view-transition-name:encore-page}
[data-encore-transition] .client-filter{view-transition-name:encore-filter}
[data-encore-transition] .client-head-tools{view-transition-name:encore-head-tools}
[data-encore-transition] .mika-panel{view-transition-name:encore-mika}
::view-transition-group(encore-page),::view-transition-group(encore-filter),::view-transition-group(encore-head-tools),::view-transition-group(encore-mika){animation:none}
::view-transition-old(encore-filter),::view-transition-old(encore-head-tools),::view-transition-old(encore-mika){display:none}
::view-transition-new(encore-filter),::view-transition-new(encore-head-tools),::view-transition-new(encore-mika){animation:none}
::view-transition-old(encore-page){translate:0 var(--encore-vt-shift,0px);animation:var(--slow) var(--ease) both encore-page-out}
::view-transition-new(encore-page){animation:var(--slow) var(--ease) both encore-page-in}
@keyframes encore-page-out{to{opacity:0;transform:translateY(-8px)}}
@keyframes encore-page-in{from{opacity:0;transform:translateY(12px)}}
/* Sign out (shell.js client.leave; Naveen, 2026-10-13: "a nice motion or transition back to the login screen ... smooth
   and sexy"). The page, rail included, is one picture that settles back (scale .98, the one curve) and fades (plain
   ease) over 220 ms; under it the sign-in's sky (--signin-sky, the same stops as storm.css's body) is already painted, so the
   navigation lands on the colour it left on. Without view transitions the sky fades in over the page instead. */
:root{--signin-sky:linear-gradient(180deg,#b7adf1 0%,#ded3f7 34%,#ffd5c3 58%,#ffb79d 100%)}
:root[data-encore-shell][data-encore-leave],:root[data-encore-leave]{view-transition-name:root}
:root[data-encore-leave]::view-transition{clip-path:none;pointer-events:none}
:root[data-encore-leave]::view-transition-group(root){animation:none}
:root[data-encore-leave]::view-transition-old(root){animation:220ms var(--ease) both encore-leave-move,220ms ease both encore-leave-fade}
:root[data-encore-leave]::view-transition-new(root){animation:none}
:root:is([data-encore-leave=left],[data-encore-leave=fade]) body::after{content:"";position:fixed;inset:0;z-index:2147483647;background:var(--signin-sky);pointer-events:auto}
:root[data-encore-leave=fade] body::after{animation:220ms ease both encore-sky-in}
@keyframes encore-leave-move{to{transform:scale(.98)}}
@keyframes encore-leave-fade{to{opacity:0}}
@keyframes encore-sky-in{from{opacity:0}}
/* ---- Phone round one (Naveen 2026-10-12, "incredible and FAST, SUPER responsive"). Pressed state: every tappable
   answers in the tapped frame (0 ms in) and lets go over 120 ms (shell.js runs the release, so no element's own
   transition list changes). is-pressed is shell.js's pointerdown mark; :active covers a keyboard press. No new colour:
   the press dims the control's own paint. touch-action: manipulation drops the double-tap zoom wait. */
:where(a[href],button,[role=button],[role=tab],[role=option],[role=menuitem],[role=switch],summary,label[for]){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:where(a[href],button,[role=button],[role=tab],[role=option],[role=menuitem],[role=switch],summary,label[for]):not(:disabled,.fs-stage):is(:active,.is-pressed){opacity:.62;transition-duration:0ms!important}
/* Targets: at least 44 x 44 px of hit area at phone width, the drawn size unchanged (a transparent ::after, or block
   padding cancelled by a negative margin on text links). The bar keeps its 4 px gaps (DESIGN.md phone bar ruling). */
@media(max-width:760px){
  .masthead-tools>.mika-button,html[data-nav=rail] .rail-toggle,.masthead-user>button,.mika-close,.search-card-close,.filter-chip,.filter-chip-name,.filter-chip-remove{position:relative}
  .masthead-tools>.mika-button::after,html[data-nav=rail] .rail-toggle::after,.masthead-user>button::after,.mika-close::after,.search-card-close::after{content:"";position:absolute;inset:-4px}
  /* A chip's hit band sits on the chip (40 px drawn, 2 px above and below): a clipped name's overflow:hidden would cut
     a band of its own. It paints before the chip's positioned buttons, so a tap on a button stays the button's; a tap
     on the band past the × removes (filter.js). The track's clip box gives the band its 2 px. */
  .filter-chip::before{content:"";position:absolute;inset:-2px 0}
  .filter-track>.filter-chips{padding-block:2px;margin-block:-2px}
  .rail-item,.rail-sub a{min-height:44px}
}
/* ---- Lab options for the rail (shell.js railOptions; Naveen, 10/13, "you have to open it for me"). No new type role:
   the count is the rail-count role, the option line is the legal line's detail role. */
/* ?logo=1: God Mode's account card, the logo framed on the surface above the name; the card itself is unchanged
   (violet wash, no border), the tile is the surface with the nav shadow, as the pressed switch. */
.rail-logos .org-button.has-logo{grid-template-columns:minmax(0,1fr);gap:10px}
.rail-logos .org-button.has-logo .org-mark{display:none}
.org-logo{display:grid;height:64px;place-items:center;padding:10px 14px;border-radius:10px;background:var(--surface);box-shadow:var(--shadow-nav)}
.org-logo img{display:block;max-width:100%;max-height:40px;width:auto;height:auto;object-fit:contain}
/* ?live=1: the row's live value at its right edge (God Mode's lane count), tabular; white on the ink pill. */
.rail-item .rail-count{font-variant-numeric:tabular-nums;line-height:var(--line-detail)}
.rail-item[aria-current=page] .rail-count{color:var(--surface)}
.rail-options{flex:none;margin:0 12px;padding:0 10px 14px;color:var(--muted);font-size:var(--font-detail);line-height:var(--line-detail);font-weight:var(--weight-regular)}
.rail-item .rail-chip+.rail-chip{margin-left:6px}
/* Ask Mika with an object (2026-10-13): the object's own turn is a card in the thread (a soft accent wash, the control
   radius), and the travelling layer that carries it in from the page and back (shell/mika-morph.js). */
.mika-say.is-insight{max-width:none;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--accent) 6%,var(--surface));border:1px solid color-mix(in srgb,var(--accent) 12%,var(--line))}
.mika-morph{position:fixed;inset:0;z-index:75;pointer-events:none;overflow:hidden}
.mika-morph-card{position:absolute;margin:0;border-radius:12px;background:color-mix(in srgb,var(--accent) 6%,var(--surface));border:1px solid color-mix(in srgb,var(--accent) 12%,var(--line));transform-origin:0 0;will-change:transform,opacity}
.mika-morph-copy{position:absolute;margin:0;list-style:none;will-change:transform,opacity}
.mika-morph-copy.mika-say{padding:12px 14px}
/* The Mika mark is B, the bolt (shell.js ICONS.mika; Ruled 10/14). Its sparks rest hidden. Presence runs only on the
   Ask Mika control in the corner: lightning on the slow storm clock (9.6 s: a strike, its twin 0.5 s later, another at
   5.5 s; overview-lab/mika-mark/mika-mark.css). Transform and opacity only; reduced motion: still. */
svg[data-mm] .mm-charge{opacity:0}
svg[data-mm] *{transform-box:fill-box;transform-origin:center}
@keyframes mm-strike{0%,3.4%,4.9%,7%,57%,60.8%,100%{opacity:0}.4%{opacity:1}1.2%{opacity:.35}1.8%{opacity:.9}5.3%{opacity:.85}57.4%{opacity:1}58.3%{opacity:.4}59%{opacity:.85}}
@keyframes mm-body-strike{0%,3.4%,4.9%,7%,57%,60.8%,100%{opacity:1}.4%{opacity:.55}1.8%{opacity:.7}5.3%{opacity:.6}57.4%{opacity:.55}59%{opacity:.7}}
.mika-button svg[data-mm=b] .mm-charge{animation:mm-strike 9.6s linear infinite}
.mika-button svg[data-mm=b] .mm-body{animation:mm-body-strike 9.6s linear infinite}
.mika-button svg[data-mm]{overflow:visible}
@media (prefers-reduced-motion:reduce){.mika-button svg[data-mm] *{animation:none}}

/* Reserve the first body while its owner establishes data-driven geometry. The header and filters stay usable. */
main[data-client-paint="pending"]{min-block-size:100svh}
/* Opacity keeps retained text available to Mika while the same gate holds
   every card. The arrival controller still hides incomplete individual cards. */
main[data-client-paint="pending"]>:not(.client-head):not(.client-filter){opacity:0!important;pointer-events:none!important}
main[data-client-paint="pending"] .freshness-side{visibility:hidden}

/* Cohesion phone artist/date fit: same two reserved rows as the approved Overview. */
@media(max-width:760px){
 .client-filter:not(.is-wide)>.filter-track{flex-wrap:wrap;min-height:90px;align-content:space-between}
 .client-filter:not(.is-wide)>.filter-track>.filter-chips{flex:1 0 100%;min-width:0;height:40px;max-width:100%}
}

/* The existing switch keeps its native width on its first visible frame. */
html[data-encore-static-chrome]:is(:not([data-filter-fonts]),:not([data-filter-ready])) :is(.client-filter,.client-head){visibility:hidden}

/* The approved Mika entry sits beside the navigation-facing page heading. */
.client-head>.mika-head-trigger{display:none}
@media(min-width:761px){
 html[data-nav=rail] .client-head:has(>.mika-head-trigger){grid-template-columns:auto auto minmax(0,1fr) auto}
 html[data-nav=rail] .client-head>.mika-head-trigger{display:inline-flex;grid-column:2;grid-row:1}
 html[data-nav=rail] .client-head:has(>.mika-head-trigger)>.freshness-side{grid-column:3;grid-row:1}
 html[data-nav=rail] .client-head:has(>.mika-head-trigger) .client-head-tools{justify-self:end;grid-column:4;grid-row:1}
}

/* Client membership has no order-tracking control. Retire its empty grid column too. */
@media(min-width:761px){
 html[data-nav=rail][data-encore-order-tracking=hidden] .client-head{grid-template-columns:minmax(0,1fr) auto}
 html[data-nav=rail][data-encore-order-tracking=hidden] .client-head:has(>.mika-head-trigger){grid-template-columns:auto auto minmax(0,1fr)}
 html[data-nav=rail][data-encore-order-tracking=hidden] .client-head-tools{display:none}
}

/* Hold extension (lead, 10/29 07:5xZ; the Ask Mika door itself shipped 10/29 21:5xZ on Naveen's word): every remaining door into the rejected Mika panel
   (the Evidence sections' "Chat with Mika", the band's reply buttons) and the bolt mark stay out of production until the
   companion ships. The Evidence cards and the Mika block below Sales keep their text. */
.ie-section-chat,.mb-reply.mb-cta,.ie-mark,.ie-title-mark,.mb-mark,.mb-cta-mark,.mb-title>svg{display:none!important}

/* Naveen 2026-10-30 15:3xZ (demo day): the masthead order search still showed while acting as a client organization
   (the session meta carries the staff home organization), and the Overview Ads card rendered an empty chart for GMS.
   Both hidden on the client for now; the lane that fixes the session rule and the empty-chart state removes these. */
#encore-search,.encore-search-toggle{display:none !important}
main[data-bucket="overview"] .rd-paid{display:none !important}

/* /assets/legal-page.css */
/* Encore for clients: Terms of Use and Privacy Policy (terms.html, privacy.html). Layout only; the type roles are
   system.css's: Title 36 (h1), Section 28 (h2), Body 16 (text and list items), Detail 15 muted (the draft line).
   The text holds a reading measure of 720 px on the content column's left edge. Signed out (?public=1, set on <html> before
   paint): no shell, so no rail and no masthead; the Sparkart Encore mark as the sign-in page draws it, then the title and
   the text on the same 720 px measure. */
.legal-draft{margin:4px 0 0;color:var(--muted)}
.legal-doc{max-width:720px;margin-top:16px;padding-bottom:48px}
.legal-doc>p:first-child{margin:0}
.legal-doc section{margin-top:40px;padding:0} /* system.css gives every section 24 px of bottom padding */
.legal-doc h2{margin:0}
.legal-doc p{margin:12px 0 0}
.legal-doc ul{margin:12px 0 0;padding-left:24px}
.legal-doc li+li{margin-top:8px}
.legal-public-brand{display:none}
html[data-public] .masthead,html[data-public] .skip-link{display:none}
html[data-public] .legal-public-brand{display:flex;align-items:center;min-height:68px;padding:0 24px}
html[data-public] .legal-public-brand .masthead-brand{display:flex;align-items:center;gap:0}
html[data-public] .legal-public-brand img{display:block;width:130px;height:34px}
html[data-public] .legal-public-brand .masthead-product{display:inline-flex;--lockup-logo:1}
html[data-public] .legal-page{max-width:calc(720px + 48px);margin:0;padding:32px 24px 0}
@media(max-width:760px){html[data-public] .legal-public-brand{min-height:62px;padding:0 16px}html[data-public] .legal-page{padding:24px 16px 0}}
