@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/static/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 900; font-display: swap; src: url("/static/fonts/archivo-latin-900-normal.woff2") format("woff2"); }
:root {
  --paper: #F4F4F0; --surface: #FFFFFF; --key: #1A1A1A; --hair: #CFCFC8; --muted: #5C5C57;
  --cyan: #00A0E3; --magenta: #E5007E; --yellow: #FFED00;
  --cyan-ink: #00688F; --magenta-ink: #B20061;
  --rail-line: #2B2B29; --rail-text: #C9C9C2; --rail-dim: #94948E;
  --s0: #EEF6FA; --s1: #DCEEF8; --s2: #C6E5F4; --s3: #AEDAF0; --s4: #92CDEB; --s5: #72C0E8;
  --s6: #4DB4E5; --s7: #1E98D6; --s8: #1B6E9C; --s9: #1B5278; --s10: #1A1A1A;
  --w1: 1.4375rem; --w2: 1.1875rem; --w3: 1rem; --w4: .875rem; --w5: .8125rem;
  --sp1: .25rem; --sp2: .5rem; --sp3: .75rem; --sp4: 1rem; --sp5: 1.5rem; --sp6: 2rem; --sp7: 3rem;
  --t-xs: .6875rem; --t-s: .75rem; --t-m: .875rem; --t-l: 1rem; --t-xl: 1.25rem; --t-2xl: 1.5rem; --t-display: 2.75rem;
  --ui: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --rail-w: 216px;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--key); font: var(--t-m)/1.45 var(--ui); font-variant-numeric: tabular-nums; caret-color: var(--magenta); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1 { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; }
ul, ol { list-style: none; }
a { color: var(--cyan-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--key); }
::selection { background: var(--cyan); color: var(--key); }
::placeholder { color: var(--muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
img, video { display: block; max-width: 100%; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--sp2); top: -4rem; background: var(--key); color: var(--paper); padding: var(--sp2) var(--sp3); z-index: 20; }
.skip:focus { top: var(--sp2); }

.shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; }
.column { min-width: 0; }
.main { padding: 0 var(--sp5) var(--sp6); outline: none; }

.rail { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; background: var(--key); color: var(--paper); }
.rail-top { display: flex; align-items: center; gap: var(--sp2); padding: 1.25rem 1.25rem 1.1rem; border-bottom: 1px solid #3A3A38; }
.brand { color: var(--paper); text-decoration: none; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; }
.menu-btn, .rail-alerts { display: none; }
.rail-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.sections { padding: var(--sp2) 0; flex: 1; }
.sections a { display: flex; align-items: center; gap: var(--sp3); padding: .5625rem 1.25rem; color: var(--rail-text); text-decoration: none; border-bottom: 1px solid var(--rail-line); transition: background-color .15s var(--ease), color .15s var(--ease); }
.sections a:hover { background: #262624; color: var(--paper); }
.sections a:focus-visible { outline-offset: -2px; }
.sections i { font-style: normal; font-size: var(--t-xs); width: 1.125rem; color: var(--rail-dim); }
.sections a.on { background: var(--cyan); color: var(--key); font-weight: 700; }
.sections a.on i { color: var(--key); }
.sections b { margin-left: auto; background: var(--yellow); color: var(--key); font-size: var(--t-xs); font-weight: 800; padding: 1px 7px; }
.totals { padding: .875rem 1.25rem; border-top: 1px solid #3A3A38; font-size: var(--t-s); color: var(--rail-dim); }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals dd { color: var(--paper); font-weight: 700; }
.health { padding: .75rem 1.25rem 1.125rem; border-top: 1px solid #3A3A38; font-size: var(--t-s); color: var(--rail-text); display: grid; gap: var(--sp1); }
.health li { display: flex; align-items: center; gap: var(--sp2); }
.health em { margin-left: auto; font-style: normal; color: var(--rail-dim); }
.dot { width: .625rem; height: .625rem; flex: none; background: var(--cyan); }
.down .dot, .notice .dot { background: var(--magenta); }
.down em { color: #FF6BB5; font-weight: 700; }

.band { display: flex; align-items: center; gap: 1.125rem; min-height: 2.375rem; padding: .25rem var(--sp5); background: var(--yellow); color: var(--key); border-bottom: 1px solid var(--key); font-weight: 600; }
.band strong { font-weight: 800; white-space: nowrap; }
.band-items { display: flex; gap: 1.125rem; min-width: 0; flex: 1; overflow: hidden; }
.band-items span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band a { color: var(--key); font-weight: 700; margin-left: auto; white-space: nowrap; }
.notice { padding: .5rem var(--sp5); background: var(--surface); border-bottom: 1px solid var(--hair); font-size: var(--t-s); }
.notice p { display: flex; align-items: center; gap: var(--sp2); padding: 1px 0; }

.page-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem var(--sp4); padding-top: 1.5rem; }
.page-head h1 { font-size: var(--t-display); line-height: 1.05; text-wrap: balance; overflow-wrap: anywhere; }
.count { color: var(--muted); font-size: var(--t-l); }
.page-head-tools { margin-left: auto; display: flex; gap: var(--sp2); align-items: center; }
.legend { margin-left: auto; display: flex; align-items: center; gap: var(--sp2); font-size: var(--t-s); color: var(--muted); }
.ramp { display: flex; }
.ramp u { width: 1.125rem; height: .75rem; display: block; box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .12); }
.s0 { background: var(--s0); } .s1 { background: var(--s1); } .s2 { background: var(--s2); } .s3 { background: var(--s3); }
.s4 { background: var(--s4); } .s5 { background: var(--s5); } .s6 { background: var(--s6); } .s7 { background: var(--s7); }
.s8 { background: var(--s8); } .s9 { background: var(--s9); } .s10 { background: var(--s10); }
.s8, .s9, .s10 { color: var(--paper); }
.s-none { background: transparent; color: var(--muted); }

.bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp2) var(--sp3); margin: 1rem 0; padding: .625rem 0; border-top: 1px solid var(--key); border-bottom: 1px solid var(--hair); }
.field { display: flex; align-items: center; gap: var(--sp2); margin: 0; padding: 0; border: 0; min-width: 0; color: var(--muted); font-size: var(--t-s); }
.field.grow { margin-left: auto; }
select, input[type=search], input[type=text], input[type=number], textarea { font: inherit; font-size: var(--t-m); color: var(--key); background: var(--surface); border: 1px solid var(--key); height: 2.125rem; padding: 0 var(--sp3); }
textarea { height: auto; padding: var(--sp2) var(--sp3); }
input[type=search] { width: 13.5rem; border-color: var(--hair); }
input[type=search]:hover, input[type=search]:focus { border-color: var(--key); }
select:hover { background: var(--paper); }
input[type=checkbox], input[type=radio] { accent-color: var(--cyan); width: 1rem; height: 1rem; margin: 0; }
.check { gap: var(--sp2); color: var(--key); }
.seg { display: flex; }
.seg label { display: block; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.seg span { display: flex; align-items: center; height: 2.125rem; padding: 0 var(--sp3); background: var(--surface); border: 1px solid var(--key); font-size: var(--t-m); color: var(--key); }
.seg label + label span { border-left: 0; }
.seg input:checked + span { background: var(--key); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp2); height: 2.125rem; padding: 0 var(--sp3); font: inherit; font-size: var(--t-m); font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid var(--key); background: var(--surface); color: var(--key); position: relative; transition: background-color .15s var(--ease), color .15s var(--ease); }
.btn:hover { background: var(--key); color: var(--paper); }
.btn:active { background: #000; color: var(--paper); }
.btn-primary { background: var(--key); color: var(--paper); }
.btn-primary:hover { background: var(--cyan); color: var(--key); border-color: var(--key); }
.btn-danger { color: var(--magenta-ink); border-color: var(--magenta-ink); }
.btn-danger:hover { background: var(--magenta-ink); border-color: var(--magenta-ink); color: #fff; }
.btn-quiet { border-color: var(--hair); background: transparent; font-weight: 500; }
.btn[disabled], .btn[aria-disabled=true] { opacity: .45; cursor: not-allowed; background: var(--surface); color: var(--key); }
.btn[disabled]:hover { background: var(--surface); color: var(--key); }
.btn.htmx-request { color: transparent; pointer-events: none; }
.btn.htmx-request::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: var(--cyan); animation: sweep 1s var(--ease) infinite; }
.badge { display: inline-block; padding: 1px 7px; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--key); }
.badge-cyan { background: var(--cyan); }
.badge-magenta { background: var(--magenta-ink); color: #fff; border-color: var(--magenta-ink); }
.badge-key { background: var(--key); color: var(--paper); }
.badge-need { background: var(--yellow); }

.results { position: relative; }
.results.htmx-request { opacity: .55; transition: opacity .15s linear; }
.results.htmx-request::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40%; background: var(--cyan); animation: sweep 1s var(--ease) infinite; z-index: 2; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transition: background-color .15s var(--ease), opacity .15s linear; }
.card:hover { background: var(--surface); }
.art-wrap { position: relative; }
.art { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; overflow: hidden; background: color-mix(in srgb, var(--chip) 16%, var(--paper)); }
.art img, .art video { width: 100%; height: 100%; object-fit: contain; }
.art:has(img), .art:has(.play), .art:has(video) { background: var(--key); }
.art video { background: var(--key); }
.play { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.play-key { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--key); color: var(--paper); transition: background-color .15s var(--ease), color .15s var(--ease); }
.play:hover .play-key { background: var(--cyan); color: var(--key); }
.play:focus-visible { outline-offset: -4px; }
.art-title { padding: .875rem; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 92%; overflow-wrap: anywhere; text-wrap: balance; }
.flag { position: absolute; top: 0; right: 0; background: var(--yellow); color: var(--key); font-size: var(--t-xs); font-weight: 800; padding: 3px 9px; }
.pick-box { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--surface); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); cursor: pointer; }
.pick-box input { width: 1.125rem; height: 1.125rem; }
.who { padding: .625rem .875rem 0; }
.swatch { display: inline-flex; align-items: center; gap: var(--sp2); min-width: 0; max-width: 100%; }
.chip { width: 1.125rem; height: 1.125rem; flex: none; padding: 0; border: 0; background: var(--chip); box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .18); position: relative; display: block; }
button.chip { cursor: pointer; }
button.chip::after { content: ""; position: absolute; inset: -.375rem; }
button.chip[aria-pressed=true] { outline: 2px solid var(--key); outline-offset: 2px; }
.swatch-name { color: var(--key); font-family: var(--display); font-weight: 800; letter-spacing: -.01em; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch-name:hover { text-decoration: underline; }
.w1 .swatch-name { font-size: var(--w1); } .w2 .swatch-name { font-size: var(--w2); } .w3 .swatch-name { font-size: var(--w3); }
.w4 .swatch-name { font-size: var(--w4); } .w5 .swatch-name { font-size: var(--w5); }
.chip-code { margin-left: auto; padding-left: var(--sp2); font: var(--t-xs) var(--mono); color: var(--muted); }
.copy { padding: .375rem .875rem 0; color: #3B3B38; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; max-width: 52ch; overflow-wrap: anywhere; }
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem var(--sp4); padding: .5rem .875rem 0; font-size: var(--t-s); }
.cta { margin-left: auto; color: var(--muted); }
.spec { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--key); margin-top: .5rem; }
.cell { padding: .375rem .4375rem .5rem; border-right: 1px solid var(--hair); min-width: 0; }
.cell:last-child { border-right: 0; }
.cell dt { font-size: .625rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; white-space: nowrap; }
.cell dd { font-size: 1.1875rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.cell.score { border-right: 0; }
.cell.score dt { color: inherit; }
.spec-5 { grid-auto-flow: row; grid-template-columns: 1fr 1.2fr 1.1fr 1.25fr 1fr; }
.spec-5 .cell dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-chip { display: inline-block; min-width: 2.25rem; padding: 1px 8px; font-weight: 800; text-align: center; }
body.has-focus [data-page]:not(.is-focus) { opacity: .3; }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--key); }
.table-wrap:focus-visible { outline-offset: -2px; }
.data { border-collapse: collapse; width: 100%; font-size: var(--t-m); }
.data th { text-align: left; padding: .625rem .75rem; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--key); white-space: nowrap; }
.data th a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: var(--sp1); }
.data th a:hover { color: var(--key); }
.data th[aria-sort] a { color: var(--key); }
.arrow { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; opacity: .35; margin-top: 4px; }
.arrow.asc { border-top-color: transparent; border-bottom-color: currentColor; margin-top: -4px; opacity: 1; }
.arrow.desc { opacity: 1; }
.data td { padding: .625rem .75rem; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.data tbody tr:hover { background: var(--surface); }
.data .k-num, .data th.k-num { text-align: right; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp3); justify-content: space-between; padding: var(--sp4) 0 0; font-size: var(--t-s); color: var(--muted); }
.pager ul { display: flex; gap: 0; }
.pager a { display: grid; place-items: center; min-width: 2.125rem; height: 2.125rem; padding: 0 var(--sp3); border: 1px solid var(--hair); margin-left: -1px; color: var(--key); text-decoration: none; background: var(--surface); }
.pager a:hover { background: var(--key); color: var(--paper); border-color: var(--key); }
.pager a.on { background: var(--key); color: var(--paper); border-color: var(--key); }

.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--key); margin: 1rem 0; }
.tabs a { display: flex; align-items: center; gap: var(--sp2); padding: .625rem 1rem; color: var(--key); text-decoration: none; font-weight: 600; transition: background-color .15s var(--ease); }
.tabs a:hover { background: var(--surface); }
.tabs a.on { background: var(--cyan); }
.tabs small { font-size: var(--t-xs); font-weight: 800; }

.state { padding: var(--sp5); border: 1px solid var(--hair); background: var(--surface); max-width: 46rem; margin: var(--sp4) 0; display: grid; gap: var(--sp2); }
.state-title { font-size: var(--t-l); font-weight: 800; letter-spacing: -.01em; }
.state-error { border-color: var(--magenta-ink); border-width: 1px; }
.state-error .state-title { color: var(--magenta-ink); }
.skeleton { gap: var(--sp3); }
.skel { display: block; height: 1rem; background: linear-gradient(90deg, var(--hair) 0, var(--paper) 50%, var(--hair) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel:nth-child(2) { width: 80%; } .skel:nth-child(3) { width: 55%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.bar-row { display: grid; grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr) 3rem; align-items: center; gap: var(--sp3); padding: 3px 0; font-size: var(--t-s); }
.bar-track { display: block; height: .75rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.bar-fill { display: block; height: 100%; background: var(--cyan); min-width: 1px; }
.bar-val { text-align: right; font-weight: 800; font-size: var(--t-m); }
.weeks figcaption { font-weight: 800; display: flex; align-items: baseline; gap: var(--sp3); padding-bottom: var(--sp2); }
.weeks small { font-weight: 400; color: var(--muted); font-size: var(--t-s); }
.week-cols { display: flex; align-items: flex-end; gap: 2px; height: 9rem; border-bottom: 1px solid var(--key); padding-top: 1rem; }
.week-cols li { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.week-cols .col { display: block; width: 100%; background: var(--cyan); min-height: 1px; order: 2; }
.week-cols .wv { order: 1; font-size: var(--t-xs); color: var(--muted); font-weight: 700; }
.week-cols .wk { position: absolute; top: 100%; font-size: .625rem; color: var(--muted); padding-top: 3px; white-space: nowrap; }
.week-cols .wk { display: none; }
.week-cols li:nth-child(4n+1) .wk, .week-cols li:last-child .wk { display: block; }
.weeks { padding-bottom: 1.5rem; }

.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp6); padding-top: var(--sp5); }
.guide section { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp3); }
.guide h2 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.02em; padding-bottom: var(--sp2); border-bottom: 1px solid var(--key); }
.guide h3 { font-size: var(--t-m); font-weight: 700; color: var(--muted); }
.guide .row { display: flex; flex-wrap: wrap; gap: var(--sp3); align-items: center; }
.guide .swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.guide .tile { display: grid; align-content: start; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.guide .tile i { height: 3.5rem; }
.guide .tile span { padding: var(--sp2) var(--sp3); font-size: var(--t-s); }
.guide .tile code, .guide code { font: var(--t-xs) var(--mono); color: var(--muted); }
.guide .type-row { display: flex; align-items: baseline; gap: var(--sp4); border-bottom: 1px solid var(--hair); padding: var(--sp1) 0; }
.guide .type-row code { width: 9rem; flex: none; }
.guide .sizes { display: grid; gap: var(--sp2); }
.guide .demo-grid { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }

.m-tools { display: none; }
.strip { margin-top: var(--sp5); }
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem var(--sp4); padding: var(--sp2) 0 var(--sp3); border-top: 1px solid var(--key); }
.strip-head h2 { font-family: var(--display); font-size: var(--t-2xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.strip-head p { color: var(--muted); font-size: var(--t-s); }
.strip-head a { margin-left: auto; font-size: var(--t-s); font-weight: 600; }
.strip-grid .card:nth-child(n+4) { display: none; }
.all-head { margin-top: var(--sp6); }
.all-head h2 { font-family: var(--display); font-size: var(--t-2xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; padding: var(--sp2) 0 var(--sp3); border-top: 1px solid var(--key); }
.how { max-width: 62ch; margin: var(--sp2) 0 var(--sp4); font-size: var(--t-s); color: var(--muted); }
.how summary { cursor: pointer; min-height: 1.75rem; display: flex; align-items: center; width: max-content; color: var(--key); font-weight: 600; }
.how p { margin-top: var(--sp1); }
.how b { color: var(--key); font-weight: 800; }
@media (max-width: 1279px) {
  .strip-grid .card:nth-child(n+3) { display: none; }
}
@media (min-width: 1700px) {
  .strip-grid .card:nth-child(4) { display: flex; }
}
@media (max-width: 1279px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1700px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 2100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --t-display: 2.25rem; }
  .strip-grid .card:nth-child(n+2) { display: none; }
  .strip { margin-top: var(--sp3); }
  .js .m-tools { display: flex; gap: var(--sp2); margin: var(--sp3) 0 var(--sp2); }
  .js .m-tools .btn { flex: 1; }
  .m-count { display: inline-grid; place-items: center; min-width: 1.375rem; height: 1.375rem; padding: 0 5px; background: var(--key); color: var(--paper); font-size: var(--t-s); font-weight: 800; }
  .m-toggle[aria-expanded=true] { background: var(--key); color: var(--paper); }
  .m-toggle[aria-expanded=true] .m-count { background: var(--paper); color: var(--key); }
  .js .m-fold { display: none; }
  .js .bar.m-fold.open { display: grid; margin-top: var(--sp2); }
  .js .pick-row.m-fold.open { display: flex; }
  .spec-6 { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-6 .cell { border-bottom: 1px solid var(--hair); }
  .spec-6 .cell:nth-child(3n) { border-right: 0; }
  .legend { gap: var(--sp1) var(--sp2); }
  .shell { display: block; }
  .rail { position: sticky; top: 0; height: auto; z-index: 10; }
  .rail-top { padding: .5rem var(--sp4); min-height: 3.25rem; border-bottom: 0; }
  .brand { font-size: var(--t-l); }
  .rail-alerts { display: grid; place-items: center; margin-left: auto; min-width: 2.75rem; height: 2.75rem; background: var(--yellow); color: var(--key); font-weight: 800; text-decoration: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-width: 5rem; height: 2.75rem; padding: 0 var(--sp4); background: transparent; color: var(--paper); border: 1px solid var(--rail-dim); font: inherit; font-weight: 700; cursor: pointer; }
  .rail-alerts + .menu-btn { margin-left: 0; }
  .menu-btn[aria-expanded=true] { background: var(--cyan); color: var(--key); border-color: var(--cyan); }
  .js .rail-panel { display: none; max-height: calc(100vh - 3.25rem); }
  .js .rail-panel.open { display: flex; }
  .sections a { min-height: 2.75rem; padding: .5rem var(--sp4); }
  .main { padding: 0 var(--sp4) var(--sp6); }
  .band, .notice { padding-left: var(--sp4); padding-right: var(--sp4); }
  .band-items { display: none; }
  .band a { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .page-head { gap: .125rem var(--sp3); }
  .legend { margin-left: 0; width: 100%; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  select, input[type=search], input[type=text], input[type=number], .btn, .seg span { height: 2.75rem; font-size: var(--t-l); }
  .bar { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
  .bar > .grow, .bar > .btn { grid-column: 1 / -1; }
  .field { display: grid; gap: var(--sp1); }
  .field.check { display: flex; align-items: center; min-height: 2.75rem; font-size: var(--t-l); }
  .field.seg { display: flex; }
  .field select, input[type=search] { width: 100%; }
  .field.grow { margin-left: 0; }
  input[type=checkbox], input[type=radio] { width: 1.375rem; height: 1.375rem; }
  .pick-box { width: 2.75rem; height: 2.75rem; }
  .card-links a, .copy-btn { display: inline-flex; align-items: center; min-height: 2.75rem; }
  button.chip::after { inset: -.75rem; }
  .pager a { min-width: 2.75rem; height: 2.75rem; }
  .how summary { min-height: 2.75rem; }
  .strip-head a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .tabs a { min-height: 2.75rem; }
  .data th a { min-height: 2.75rem; }
  .bar-row { grid-template-columns: minmax(5rem, 7rem) minmax(0, 1fr) 2.5rem; }
  .week-cols .wv { display: none; }
  .state { padding: var(--sp4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.hint { color: var(--muted); font-size: var(--t-s); max-width: 70ch; }
