:root {
  color-scheme: light;
  --surface-0: #f6f7f5; --surface-1: #ffffff; --surface-2: #eef0ec;
  --text-1: #14181a; --text-2: #4c5652; --text-3: #7b857f;
  --line: #e0e4de; --grid: #e8ebe6;
  --brand: #036f49; --brand-ink: #ffffff; --brand-wash: #e3f1ea;
  --series-1: #036f49; --series-2: #2a78d6;
  --good: #0a7a3f; --good-bg: #e2f3e8; --warn: #8a5a00; --warn-bg: #fdf0d2; --bad: #b3261e; --bad-bg: #fbe4e2;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 30, 25, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface-0: #101412; --surface-1: #181d1a; --surface-2: #212823;
    --text-1: #eef2ef; --text-2: #b4beb8; --text-3: #8a948e;
    --line: #2b332e; --grid: #252c27;
    --brand: #2fb585; --brand-ink: #06130d; --brand-wash: #17302a;
    --series-1: #2fb585; --series-2: #3987e5;
    --good: #4fd08c; --good-bg: #153326; --warn: #f0b541; --warn-bg: #3a2c0e; --bad: #ff8a80; --bad-bg: #3d1a17;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-0: #101412; --surface-1: #181d1a; --surface-2: #212823;
  --text-1: #eef2ef; --text-2: #b4beb8; --text-3: #8a948e;
  --line: #2b332e; --grid: #252c27;
  --brand: #2fb585; --brand-ink: #06130d; --brand-wash: #17302a;
  --series-1: #2fb585; --series-2: #3987e5;
  --good: #4fd08c; --good-bg: #153326; --warn: #f0b541; --warn-bg: #3a2c0e; --bad: #ff8a80; --bad-bg: #3d1a17;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-0); color: var(--text-1); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h2 { font-size: 1.15rem; margin-bottom: 12px; }
h3 { font-size: .95rem; margin-bottom: 8px; }
a { color: var(--brand); }
button, input, select { font: inherit; color: inherit; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); } .small { font-size: .85rem; }
.num { font-variant-numeric: tabular-nums; }

/* en-tête & navigation */
.top { position: sticky; top: 0; z-index: 5; background: var(--surface-1); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); display: inline-block; }
.spacer { flex: 1; }
.nav { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 10px 12px; text-decoration: none; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--text-1); border-color: var(--brand); }
.iconbtn { border: 1px solid var(--line); background: var(--surface-1); border-radius: 10px; padding: 6px 10px; cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); }
main { max-width: 1180px; margin: 0 auto; padding: 20px 16px 60px; }
.stamp { font-size: .8rem; color: var(--text-3); margin: 0 0 14px; }

/* grilles & cartes */
.grid { display: grid; gap: 14px; }
.g-tiles { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.card { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.card + .card, .grid + .grid, .grid + .card, .card + .grid { margin-top: 14px; }
.grid > .card + .card { margin-top: 0; }
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.card-head h2, .card-head h3 { margin: 0; }
.tile .label { color: var(--text-2); font-size: .85rem; }
.tile .value { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 2px 0; }
.tile .delta { font-size: .82rem; color: var(--text-2); }
.delta .up { color: var(--good); } .delta .down { color: var(--bad); }
.tile .sub { font-size: .82rem; color: var(--text-3); }

/* états : toujours icône + mot, jamais la couleur seule */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge.ok { background: var(--good-bg); color: var(--good); } .badge.warn { background: var(--warn-bg); color: var(--warn); } .badge.bad { background: var(--bad-bg); color: var(--bad); }
.alert { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; margin-bottom: 8px; font-size: .92rem; }
.alert.warn { background: var(--warn-bg); color: var(--text-1); } .alert.bad { background: var(--bad-bg); color: var(--text-1); } .alert.ok { background: var(--good-bg); }
.alert .ic { font-weight: 700; }

/* tableaux */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; color: var(--text-2); font-weight: 600; font-size: .8rem; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 8px; border-bottom: 1px solid var(--grid); vertical-align: top; }
th.r, td.r { text-align: right; } tr:last-child td { border-bottom: 0; }
td .clip { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* contrôles */
.btn { border: 1px solid var(--line); background: var(--surface-1); border-radius: 10px; padding: 7px 14px; cursor: pointer; font-weight: 600; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 3px 10px; font-size: .82rem; font-weight: 500; }
.btn[disabled] { opacity: .5; cursor: default; }
input[type=text], input[type=password], input[type=date], input[type=search] { border: 1px solid var(--line); background: var(--surface-1); border-radius: 10px; padding: 8px 10px; width: 100%; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: var(--surface-1); padding: 5px 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
progress { width: 100%; height: 10px; border-radius: 6px; overflow: hidden; border: 0; background: var(--surface-2); accent-color: var(--brand); appearance: none; }
progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 6px; }
progress::-webkit-progress-value { background: var(--brand); border-radius: 6px; }
progress::-moz-progress-bar { background: var(--brand); border-radius: 6px; }
progress.warn::-webkit-progress-value { background: var(--warn); } progress.warn::-moz-progress-bar { background: var(--warn); }
progress.bad::-webkit-progress-value { background: var(--bad); } progress.bad::-moz-progress-bar { background: var(--bad); }
details.tbl { margin-top: 8px; } details.tbl summary { cursor: pointer; color: var(--text-2); font-size: .85rem; }

/* graphiques (fins, quiet) */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid-l { stroke: var(--grid); stroke-width: 1; }
.chart .axis-t { fill: var(--text-3); font-size: 11px; }
.chart .bar { fill: var(--series-1); } .chart .bar.s2 { fill: var(--series-2); }
.chart .bar.hl { filter: brightness(1.15); }
.chart .line { fill: none; stroke: var(--series-1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s2 { stroke: var(--series-2); }
.chart .area { fill: var(--series-1); opacity: .1; } .chart .area.s2 { fill: var(--series-2); }
.chart .dot { fill: var(--series-1); stroke: var(--surface-1); stroke-width: 2; } .chart .dot.s2 { fill: var(--series-2); }
.chart .cross { stroke: var(--text-3); stroke-width: 1; }
.chart .dlabel { fill: var(--text-1); font-size: 11px; font-weight: 600; }
.chart .hit { fill: transparent; }
.tip { position: absolute; pointer-events: none; background: var(--surface-1); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; font-size: .8rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); white-space: nowrap; z-index: 3; transform: translate(-50%, -110%); }
.tip.hidden { display: none; }
.hbar { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 10px; align-items: center; margin: 6px 0; font-size: .88rem; }
.hbar .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .tr { display: flex; align-items: center; gap: 8px; }
.hbar .fill { height: 14px; background: var(--series-1); border-radius: 0 4px 4px 0; min-width: 2px; }
.hbar .fill.w0 { width: 0; }

/* connexion */
.login { max-width: 380px; margin: 12vh auto 0; padding: 0 16px; }
.login .card { padding: 24px; } .login label { display: block; font-size: .85rem; color: var(--text-2); margin: 12px 0 4px; }
.login .btn { width: 100%; margin-top: 18px; padding: 10px; }
.err { color: var(--bad); font-size: .88rem; margin-top: 10px; min-height: 1.2em; }

/* fichiers */
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px 16px; text-align: center; background: var(--surface-1); cursor: pointer; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--brand); background: var(--brand-wash); }
.drop strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.file { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.thumb { aspect-ratio: 4/3; background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--text-3); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.file .meta { padding: 8px 10px; font-size: .82rem; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.file .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .note { color: var(--text-2); overflow-wrap: anywhere; }
.file .acts { display: flex; gap: 6px; padding: 0 10px 10px; flex-wrap: wrap; }
.queue { margin-top: 12px; } .queue .row { display: grid; grid-template-columns: 1fr 120px 60px; gap: 10px; align-items: center; font-size: .85rem; padding: 4px 0; }

@media (max-width: 560px) {
  .tile .value { font-size: 1.5rem; } td .clip { max-width: 220px; } .hbar { grid-template-columns: 1fr; gap: 2px; }
  .g-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* utilitaires (le CSP interdit les attributs style) */
.u-dropblk { display: block; margin-top: 12px; } .u-grow { flex: 1; min-width: 220px; } .u-h1 { font-size: 1.3rem; } .u-mb2 { margin-bottom: 2px; }
.u-mt12 { margin-top: 12px; } .u-mt8 { margin-top: 8px; } .u-m0 { margin: 0; } .u-m12-2 { margin: 12px 0 2px; } .u-m6 { margin: 6px 0; }
.u-w240 { max-width: 240px; } .u-w260 { max-width: 260px; }
.iconbtn { white-space: nowrap; }
@media (max-width: 560px) {
  .top-in { gap: 6px; padding: 8px 12px; } .brand { font-size: .95rem; } .uname { display: none; } .iconbtn { padding: 5px 8px; font-size: .85rem; }
  .brand-dot { width: 22px; height: 22px; }
}
@media (max-width: 560px) { .hide-s { display: none; } }
.grid > * { min-width: 0; }
.hbar .tr .num { white-space: nowrap; }

/* ───── mise en page à menu latéral ───── */
:root { --side-w: 262px; --acc1: #036f49; --acc2: #2a78d6; --acc3: #7a5af0; --acc4: #e09a00; --acc5: #12a38a; --acc6: #d9483f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --acc1: #2fb585; --acc2: #3987e5; --acc3: #9085e9; --acc4: #f0b541; --acc5: #3cc6ae; --acc6: #ff8a80; } }
:root[data-theme="dark"] { --acc1: #2fb585; --acc2: #3987e5; --acc3: #9085e9; --acc4: #f0b541; --acc5: #3cc6ae; --acc6: #ff8a80; }
.layout { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface-1); border-right: 1px solid var(--line); padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side-brand .brand-dot { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.srch { display: flex; align-items: center; gap: 8px; width: 100%; border: 1px solid var(--line); background: var(--surface-1); border-radius: 12px; padding: 9px 10px; color: var(--text-3); cursor: pointer; margin: 4px 0 10px; }
.srch span { flex: 1; text-align: left; } .srch:hover { background: var(--surface-2); }
kbd { font: inherit; font-size: .72rem; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; color: var(--text-2); }
.side-title { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 700; padding: 6px 8px; }
.navs { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nl { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 12px; color: var(--text-1); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; }
.nl:hover { background: var(--surface-2); } .nl[aria-current="page"] { background: var(--brand-wash); color: var(--brand); }
.nl .ni { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-wash); color: var(--brand); display: grid; place-items: center; flex: none; }
.nl .nt { flex: 1; } .cnt { font-size: .75rem; background: var(--surface-2); color: var(--text-2); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.cnt.warn { background: var(--warn-bg); color: var(--warn); } .chv { color: var(--text-3); display: grid; transition: transform .15s; } .chv.on { transform: rotate(90deg); }
.subnav { margin: 2px 0 6px 18px; padding-left: 10px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 1px; }
.nl.si { font-weight: 500; padding: 7px 8px; gap: 9px; color: var(--text-2); } .nl.si[aria-current="page"] { color: var(--brand); font-weight: 600; }
.side-foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.content { min-width: 0; display: flex; flex-direction: column; }
.bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: var(--surface-1); border-bottom: 1px solid var(--line); min-height: 64px; }
.bar-title { font-size: 1.1rem; font-weight: 700; } .who strong { color: var(--text-1); }
.pills { display: flex; gap: 6px; background: var(--surface-2); border-radius: 12px; padding: 5px 8px; }
.pill { font-size: .78rem; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); } .pill.warn i { background: #e09a00; } .pill.bad i { background: var(--bad); }
.bellb { position: relative; display: grid; place-items: center; padding: 7px 9px; text-decoration: none; color: var(--text-1); }
.bdg { position: absolute; top: -6px; right: -6px; background: var(--bad); color: #fff; border-radius: 999px; font-size: .68rem; font-weight: 700; padding: 0 5px; min-width: 18px; text-align: center; }
.btn.out { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.burger, .scrim { display: none; }
.content > main { width: 100%; max-width: 1240px; margin: 0; padding: 22px 24px 70px; }
.ico { flex: none; }

/* accueil */
.hi { font-size: 2rem; letter-spacing: -.02em; margin: 6px 0 2px; }
.hello { margin-bottom: 8px; }
.sec-label { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--text-3); }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g-sc { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sc { display: flex; align-items: center; gap: 14px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--text-1); box-shadow: var(--shadow); }
.sc:hover { border-color: var(--brand); } .sct { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; } .scc { color: var(--text-3); }
.sci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--brand-wash); color: var(--brand); }
.sci.c1 { background: color-mix(in srgb, var(--acc4) 18%, transparent); color: var(--acc4); } .sci.c2 { background: color-mix(in srgb, var(--acc2) 16%, transparent); color: var(--acc2); }
.sci.c3 { background: color-mix(in srgb, var(--acc3) 16%, transparent); color: var(--acc3); } .sci.c4 { background: color-mix(in srgb, var(--acc1) 16%, transparent); color: var(--acc1); }
.sci.c5 { background: color-mix(in srgb, var(--acc6) 14%, transparent); color: var(--acc6); } .sci.c6 { background: color-mix(in srgb, var(--acc5) 16%, transparent); color: var(--acc5); }
.sci.c7 { background: color-mix(in srgb, var(--acc2) 16%, transparent); color: var(--acc2); } .sci.c8 { background: var(--surface-2); color: var(--text-2); }
.g-tiles .tile { border-top: 3px solid var(--acc1); }
.g-tiles .tile:nth-child(2) { border-top-color: var(--acc2); } .g-tiles .tile:nth-child(3) { border-top-color: var(--acc3); } .g-tiles .tile:nth-child(4) { border-top-color: var(--acc4); }
.g-tiles .tile:nth-child(5) { border-top-color: var(--acc5); } .g-tiles .tile:nth-child(6) { border-top-color: var(--acc6); }
select { border: 1px solid var(--line); background: var(--surface-1); border-radius: 10px; padding: 8px 10px; max-width: 100%; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-2); cursor: pointer; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); }

/* recherche rapide */
.palwrap { position: fixed; inset: 0; background: rgba(10, 16, 13, .45); z-index: 50; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 0; }
.pal { width: min(620px, 100%); background: var(--surface-1); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); overflow: hidden; }
.pal input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px; font-size: 1rem; } .pal input:focus-visible { outline: none; }
.pallist { max-height: 50vh; overflow-y: auto; padding: 6px; }
.palit { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.palit[aria-selected="true"], .palit:hover { background: var(--brand-wash); } .palit span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pal-none { padding: 14px; }

/* bons de préparation : invisibles à l'écran, seuls imprimés */
#printroot { display: none; }
.slip { color: #000; font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 4mm 2mm; }
.slip-h { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 10px; }
.slip-brand { font-size: 1.6rem; letter-spacing: -.02em; } .slip-sm { font-size: .78rem; color: #444; } .slip-r { text-align: right; } .slip-t { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.slip-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-bottom: 10px; }
.slip-box { border: 1px solid #999; border-radius: 6px; padding: 8px 10px; } .slip-l { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #555; margin-bottom: 3px; }
.slip-tbl { width: 100%; border-collapse: collapse; margin: 6px 0 10px; } .slip-tbl th { border-bottom: 1.5px solid #000; color: #000; font-size: .74rem; text-transform: uppercase; padding: 5px 6px; }
.slip-tbl td { border-bottom: 1px solid #ccc; padding: 7px 6px; font-size: 1rem; vertical-align: middle; } .slip-q { font-size: 1.3rem; font-weight: 800; width: 52px; } .slip-ok { width: 46px; font-size: 1.4rem; text-align: center; }
.slip-msg { margin-bottom: 10px; } .slip-f { border-top: 1px solid #999; padding-top: 8px; font-size: .8rem; color: #333; display: flex; flex-direction: column; gap: 2px; }
@media print {
  @page { size: A4; margin: 10mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body.printing > #app { display: none !important; }
  body.printing #printroot { display: block; }
  #printroot.one .slip { break-after: page; page-break-after: always; min-height: 270mm; } #printroot.one .slip:last-child { break-after: auto; page-break-after: auto; }
  #printroot.two .slip { height: 135mm; overflow: hidden; border-bottom: 1px dashed #888; break-inside: avoid; } #printroot.two .slip:nth-child(2n) { break-after: page; page-break-after: always; border-bottom: 0; }
}

/* mobile : le menu devient un tiroir */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .2s; box-shadow: 8px 0 30px rgba(0, 0, 0, .2); }
  body.nav-open .side { transform: none; } .scrim { display: block; position: fixed; inset: 0; background: rgba(10, 16, 13, .4); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; } .burger { display: grid; place-items: center; }
  .bar { padding: 10px 14px; gap: 8px; } .who, .pills { display: none; } .content > main { padding: 16px 14px 60px; } .hi { font-size: 1.6rem; }
}
@media (max-width: 560px) { .btn.out { padding: 6px 10px; font-size: .85rem; } }

.c-items { min-width: 210px; } .nw { white-space: nowrap; }
