/* AFC Supply Hub: friendly, picture-first, big touch targets. */
:root {
  --navy: #03293d;
  --navy-2: #0b3d57;
  --teal: #02818f;
  --teal-2: #e3f3f4;
  --sea: #b9d9de;
  --sand: #f7f2ea;
  --paper: #fbfaf7;
  --line: #e2d8ca;
  --ink: #1b2329;
  --muted: #5d6870;
  --ok: #1d7a46;
  --ok-bg: #e4f4e8;
  --warn: #9a6100;
  --warn-bg: #fdf1d8;
  --error: #b42318;
  --error-bg: #fdeceb;
  --gold: #f2c230;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(3, 41, 61, .06), 0 6px 20px rgba(3, 41, 61, .07);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.45; }
a { color: var(--teal); }

/* ---------- Icons ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; gap: 20px; padding: 10px 24px; background: var(--navy); color: #fff; }
.top a, .side a { color: #fff; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal); flex: none; }
.brand-mark .ic { width: 22px; height: 22px; }

/* ---------- Side menu (hide / open) ---------- */
:root { --side-w: 240px; }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; color: inherit; flex: none; }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.side { position: fixed; inset: 0 auto 0 0; width: var(--side-w); display: flex; flex-direction: column; gap: 18px; padding: 14px 12px 16px; background: var(--navy); color: #fff; overflow-y: auto; z-index: 30; transition: transform .2s ease; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-left: 4px; }
.side .hide-nav:hover { background: rgba(255, 255, 255, .14); }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; opacity: .82; font-weight: 600; font-size: 15px; }
.side nav a.active, .side nav a:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
.side nav a.active { box-shadow: inset 4px 0 0 var(--gold); }
.who { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 14px 6px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.who-name { display: flex; align-items: flex-start; gap: 8px; }
.who-name small { opacity: .7; }
.who button.link { color: #fff; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; opacity: .85; }
.who button.link:hover { opacity: 1; }
.open-nav { position: fixed; top: 14px; left: 14px; z-index: 25; background: var(--navy); color: #fff; box-shadow: var(--shadow); display: none; }
.backdrop { display: none; }
.has-side .shell { margin-left: var(--side-w); transition: margin-left .2s ease; }
/* Checked = hidden on wide screens. */
.nav-toggle:checked ~ .side { transform: translateX(-100%); }
.nav-toggle:checked ~ .shell { margin-left: 0; }
.nav-toggle:checked ~ .open-nav { display: inline-grid; }
.nav-toggle:checked ~ .shell main { padding-top: 64px; }
/* Small screens: hidden by default; checked = open over the page. */
@media (max-width: 900px) {
  .side { transform: translateX(-100%); box-shadow: 0 0 40px rgba(3, 41, 61, .35); }
  .has-side .shell { margin-left: 0; }
  .open-nav { display: inline-grid; }
  .has-side .shell main { padding-top: 64px; }
  .nav-toggle:checked ~ .side { transform: none; }
  .nav-toggle:checked ~ .open-nav { display: none; }
  .nav-toggle:checked ~ .backdrop { display: block; position: fixed; inset: 0; background: rgba(3, 41, 61, .45); z-index: 29; }
}
@media (prefers-reduced-motion: reduce) { .side, .has-side .shell { transition: none; } }

main { max-width: 1200px; margin: 0 auto; padding: 24px 18px 120px; }
h1 { font-size: 30px; line-height: 1.15; margin: 0 0 6px; color: var(--navy); }
h2 { font-size: 20px; margin: 32px 0 12px; color: var(--navy); }
h2.section { display: flex; align-items: center; gap: 10px; }
h2.section .ic { color: var(--teal); }
p.lead { color: var(--muted); margin: 0 0 8px; font-size: 17px; }
.eyebrow { margin: 0 0 4px; color: var(--teal); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.muted { color: var(--muted); font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 600; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-2) 100%); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.hero-art { width: 210px; height: auto; flex: none; }
.art { display: block; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0 0 8px; }
.tile { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tile-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-2); color: var(--teal); flex: none; }
.tile-ic .ic { width: 28px; height: 28px; }
.tile-label { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.tile-value { margin: 0; font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.tile.good .tile-ic { background: var(--ok-bg); color: var(--ok); }
.tile.short .tile-ic { background: var(--error-bg); color: var(--error); }
.tile.short .tile-value { color: var(--error); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; border: 1px solid transparent; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.error { background: var(--error-bg); color: var(--error); }
.badge.info { background: var(--teal-2); color: var(--teal); }
.badge.muted { background: #eef0f1; color: var(--muted); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; background: var(--sand); border: 1px solid var(--line); }
.pill.open, .pill.ok { background: var(--ok-bg); border-color: #b7dfb5; color: var(--ok); }
.pill.closed, .pill.warn { background: var(--warn-bg); border-color: #ead1a0; color: var(--warn); }
.pill.error { background: var(--error-bg); border-color: #f1c0c0; color: var(--error); }

/* ---------- Arrival cards ---------- */
.arrivals { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.arrival-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--sea); border-radius: var(--radius); box-shadow: var(--shadow); }
.arrival-card.tone-room { border-top-color: #39a96b; }
.arrival-card.tone-tight { border-top-color: var(--gold); }
.arrival-card.tone-short { border-top-color: var(--error); }
.arrival-card.tone-empty { border-top-color: #c9ccd0; }
.arrival-card header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; }
.arrival-card header .badge { grid-column: 1 / -1; justify-self: start; }
.arrival-card h3 { margin: 0; font-size: 22px; color: var(--navy); }
.arrival-card .eyebrow { margin: 0; }
.round-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; }
.round-ic .ic { width: 24px; height: 24px; }
.countdown { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--warn); font-size: 15px; }
.deliveries { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deliveries.inline { display: flex; flex-wrap: wrap; margin-top: 10px; }
.deliveries li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--sand); border-radius: 12px; }
.deliveries li .ic { color: var(--teal); width: 22px; height: 22px; }
.deliveries li span { display: grid; }
.deliveries li small { color: var(--muted); }
.deliveries li.past { opacity: .55; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.mini-stats div { padding: 8px 4px; background: var(--paper); border-radius: 12px; }
.mini-stats strong { display: block; font-size: 24px; color: var(--navy); font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 13px; color: var(--muted); }
.mini-stats .short strong { color: var(--error); }
.fish-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fish-strip li { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 8px; font-size: 14px; }
.fish-strip li.off { opacity: .5; }
.nudge { margin: 0; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: 14px; font-weight: 600; }
.arrival-card .button { margin-top: auto; text-align: center; justify-content: center; }

/* ---------- Meters ---------- */
.meter { width: 100%; height: 14px; display: block; }
.meter-track { fill: #edf0f1; }
.meter-fill { fill: #39a96b; }
.meter.tight .meter-fill { fill: var(--gold); }
.meter.short .meter-fill { fill: var(--error); }
.meter.none .meter-fill { fill: transparent; }
.meter-cap { fill: var(--navy); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin: 0 4px 0 10px; vertical-align: -1px; }
.dot.room { background: #39a96b; }
.dot.tight { background: var(--gold); }
.dot.short { background: var(--error); }

/* ---------- Fish drawings ---------- */
.fish { display: block; width: 120px; height: auto; }
.fish.big { width: 132px; }
.fish.tiny { width: 54px; }
h2.species .fish.tiny { width: 64px; }

/* ---------- Plan page ---------- */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; margin: 16px 0 0; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); font-size: 14px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend .ic { color: var(--teal); }
.copy-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; background: var(--teal-2); border-radius: var(--radius); }
.copy-bar p { margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--navy); }
.fish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.fish-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #fff; border: 2px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: border-color .15s; }
.fish-card.on { border-color: #8fd0a8; }
.fish-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.fish-head h3 { margin: 0; font-size: 19px; color: var(--navy); }
.fish-head .grade { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; vertical-align: 2px; }
.fish-head .size { margin: 2px 0; font-size: 17px; font-weight: 700; color: var(--teal); }
.fish-head .state { grid-column: 1 / -1; justify-self: start; display: inline-flex; }
.state > span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.state .when-on { background: var(--ok-bg); color: var(--ok); }
.state .when-off { background: #eef0f1; color: var(--muted); }
.fish-card.on .when-off, .fish-card.off .when-on { display: none; }
.hint { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 6px; }
.field > label { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.field > label .ic { color: var(--teal); width: 22px; height: 22px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper input { width: 100%; min-width: 0; flex: 1; font-size: 24px; font-weight: 700; text-align: center; padding: 10px 8px; border: 2px solid var(--line); border-radius: 14px; font-variant-numeric: tabular-nums; }
.stepper input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-2); }
.stepper .unit { flex: none; font-size: 14px; color: var(--muted); font-weight: 600; min-width: 56px; }
button.step { flex: none; width: 52px; height: 52px; padding: 0; display: grid; place-items: center; border-radius: 14px; background: var(--teal-2); border: 2px solid var(--sea); color: var(--teal); }
button.step:hover { background: var(--teal); color: #fff; }
button.step .ic { width: 26px; height: 26px; stroke-width: 2.6; }
.result { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--navy); color: #fff; }
.result-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.result-ic .ic { width: 26px; height: 26px; }
.result p { margin: 0; font-size: 16px; }
.result output { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 4px; }
.ordered { margin: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.ordered > span { display: inline-flex; align-items: center; gap: 6px; }
.left { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.left.room { color: var(--ok); }
.left.tight { color: var(--warn); }
.left.short { color: var(--error); }
.left.none { color: var(--muted); font-weight: 600; }
details.more { border-top: 1px dashed var(--line); padding-top: 10px; }
details.more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary { margin-bottom: 12px; }
details.more .field { margin-bottom: 12px; }
details.more .field > label { font-size: 14px; }
details.more .stepper input { font-size: 18px; padding: 8px; }
details.more button.step { width: 44px; height: 44px; }
.savebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 18px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(3, 41, 61, .08); }
.savebar p { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.savebar p.dirty { color: var(--warn); }
.details-card, .source-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); align-items: end; }
.details-card label, .source-card label { display: block; font-weight: 600; color: var(--ink); }
.details-card label input, .details-card label textarea, .source-card label input, .source-card label textarea { display: block; width: 100%; margin-top: 6px; }
.details-card label .ic, .source-card label .ic { color: var(--teal); }
.details-card .wide, .source-card .wide { grid-column: 1 / -1; }
.details-card button { justify-self: start; }

/* ---------- Sources ---------- */
.source-grid { display: grid; gap: 16px; }
.source-card header { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.source-card header h3 { margin: 0; flex: 1; font-size: 19px; color: var(--navy); }
.source-card.off { opacity: .7; }
.source-card .actions { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
.empty { display: flex; gap: 8px; align-items: center; padding: 22px; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 16px; }

/* ---------- Fish (SKU) page ---------- */
.hero .fish.hero-fish { width: 220px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; position: sticky; top: 64px; z-index: 5; padding: 8px 0; background: var(--paper); }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 2px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 700; text-decoration: none; }
.jump a:hover { border-color: var(--teal); }
.jump b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--teal-2); color: var(--teal); font-size: 13px; }
.species-group { scroll-margin-top: 130px; margin-bottom: 8px; }
.species-head { display: flex; align-items: center; gap: 16px; margin: 30px 0 14px; padding-bottom: 10px; border-bottom: 3px solid var(--teal-2); font-size: 24px; }
.species-head > span:not(.badge) { display: grid; }
.species-head small { font-size: 14px; color: var(--muted); font-weight: 600; }
.fish.mid { width: 110px; }
.sku-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sku-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 130px; }
.sku-card header { display: flex; align-items: center; gap: 12px; }
.sku-card h3 { margin: 0; font-size: 20px; color: var(--navy); }
.sku-card header .muted { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.grade-big { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; flex: none; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--paper); border-radius: 10px; font-size: 15px; }
.facts .ic { color: var(--teal); width: 22px; height: 22px; }
.badges { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sku-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sku-form input, .sku-form select { width: 100%; min-width: 0; }
.sku-form label:nth-child(4), .sku-form button { grid-column: 1 / -1; }
.sku-form button { justify-self: start; }

/* ---------- Prices grid ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 16px; }
.price-grid { box-shadow: none; min-width: 900px; }
.price-grid th, .price-grid td { vertical-align: middle; }
.price-grid thead th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--navy); }
.price-grid .arrival-col strong { display: block; font-size: 16px; }
.price-grid .arrival-col small { color: var(--muted); font-weight: 500; }
.species-row th { background: var(--teal-2); color: var(--navy); font-size: 16px; text-transform: none; letter-spacing: 0; }
.species-row th .fish { display: inline-block; vertical-align: middle; margin-right: 6px; }
.fish-cell { background: #fff; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); min-width: 220px; }
.fish-cell > div { display: flex; align-items: center; gap: 10px; }
.fish-cell span { display: grid; }
.fish-cell small { font-family: ui-monospace, Menlo, monospace; color: var(--muted); font-size: 11px; font-weight: 400; }
.trend-cell { width: 230px; }
.trend { width: 220px; height: 64px; display: block; }
.trend-past { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; }
.trend-next { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 5 4; }
.trend .pt-past { fill: var(--navy); }
.trend .pt-next { fill: #fff; stroke: var(--teal); stroke-width: 2; }
.trend .tv { fill: var(--muted); font-size: 11px; font-weight: 700; }
.trend.empty text { fill: var(--muted); font-size: 12px; }
.trend-key { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--navy); margin: 0 4px 3px 8px; }
.trend-key.next { border-top: 3px dashed var(--teal); }
.price-cell { min-width: 150px; }
.price-cell small { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.price-cell small.ok { color: var(--ok); }
.price-cell small.warn { color: var(--warn); }
.price-cell small.lock { color: var(--navy); }
.price-cell.unconfirmed { background: var(--warn-bg); }
.price-cell.closed { background: #f3f4f4; }
.money { display: flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 800; color: var(--navy); }
.money input { width: 110px; font-size: 20px; font-weight: 700; padding: 8px 10px; border: 2px solid var(--line); border-radius: 12px; font-variant-numeric: tabular-nums; }
.money input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-2); }
.unconfirmed .money input { border-color: #ead1a0; }
button.fill { margin-top: 6px; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.sw-box { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--line); vertical-align: -3px; }
.sw-box.ok { background: #fff; }
.sw-box.warn { background: var(--warn-bg); border-color: #ead1a0; }
.unconfirmed .stepper input { border-color: #ead1a0; background: var(--warn-bg); }

.req-line { margin-bottom: 6px; }
.req-line .badge { margin-top: 3px; font-size: 12px; }

/* ---------- Sourcing ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; font-size: 14px; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.has:not(.on) { border-color: var(--teal); }
.row.actions-row { justify-content: flex-start; gap: 10px; margin: 14px 0; }
table.demand { min-width: 820px; box-shadow: none; }
table.demand th[scope=row] { background: #fff; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); white-space: nowrap; }
table.demand thead th { white-space: nowrap; }
.big-num { font-size: 20px; font-weight: 800; color: var(--navy); }
.big-num.total { background: var(--teal-2); }
tr.quiet td, tr.quiet th { opacity: .55; }
td.supply { min-width: 150px; }
td.supply small { display: block; margin-top: 4px; color: var(--muted); }
.grade-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- Deliveries ---------- */
.runs { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; align-items: start; }
.run { display: grid; gap: 12px; padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow); }
.run.unassigned { border-top-color: var(--error); background: #fffafa; }
.run.unassigned.idle { border-top-color: #39a96b; background: #fff; }
.run.idle { opacity: .75; }
.run header { display: flex; align-items: center; gap: 12px; }
.run header > div:nth-child(2) { flex: 1; }
.run h3 { margin: 0; font-size: 19px; color: var(--navy); }
.run header p { margin: 2px 0 0; }
.run-count { text-align: right; font-size: 13px; color: var(--muted); line-height: 1.35; }
.run-count strong { font-size: 18px; color: var(--navy); }
.run.unassigned .round-ic { background: var(--error); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stop { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.stop-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.stop-body p { margin: 0 0 4px; }
.stop-body p.stop-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stop-body .ic { margin-right: 4px; }
.stop-buyer strong { font-size: 16px; color: var(--navy); }
.stop-addr { font-size: 15px; }
.stop-addr.warn { color: var(--warn); font-weight: 600; }
.stop-lines { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 2px; }
.stop-lines li { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 6px; font-size: 14px; }
.stop-boxes { text-align: center; font-size: 12px; color: var(--muted); }
.stop-boxes strong { display: block; font-size: 24px; color: var(--navy); }
.assign label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.assign select { display: block; width: 100%; margin-top: 4px; }
.assign select { font-size: 15px; }
.zones { display: grid; gap: 10px; }
.zone { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 10px 14px; align-items: end; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.zone label { display: grid; gap: 4px; font-weight: 600; color: var(--ink); }
.zone .actions { display: flex; gap: 10px; align-items: center; }
.zone.off { opacity: .6; }
.zone.new, .source-card.new { border-style: dashed; }
@media (max-width: 760px) { .zone { grid-template-columns: 1fr; } .runs { grid-template-columns: 1fr; } }
@media print {
  .top, .side, .open-nav, .backdrop, .savebar, .actions-row, .assign, .chips, .hero-art, .flash, form.assign { display: none !important; }
  body, main { background: #fff; padding: 0; }
  .has-side .shell { margin-left: 0; }
  .run { break-inside: avoid; box-shadow: none; }
  .hero, .tile { box-shadow: none; }
}

/* ---------- History ---------- */
.audit-day h2 { margin: 28px 0 10px; font-size: 18px; }
.audit-day h2 .muted { font-weight: 500; font-size: 15px; }
.table-wrap { overflow-x: auto; }
table.audit { table-layout: fixed; min-width: 760px; }
table.audit .c-time { width: 92px; }
table.audit .c-who { width: 130px; }
table.audit .c-act { width: 230px; }
table.audit .c-item { width: 230px; }
table.audit td { vertical-align: top; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.audit-act { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--navy); }
.audit-act .ic { color: var(--teal); }
.audit-act.ok .ic { color: var(--ok); }
.audit-act.warn .ic { color: var(--warn); }
.audit-act.error, .audit-act.error .ic { color: var(--error); }
.audit-id { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--muted); }
.kv { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.kv span { padding: 2px 8px; border-radius: 8px; background: var(--sand); border: 1px solid var(--line); font-size: 13px; }
.kv b { font-weight: 600; color: var(--muted); }

/* ---------- Packing ---------- */
.pack-card { display: grid; gap: 14px; margin-bottom: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.pack-card.done { border-left-color: #39a96b; }
.pack-card.failed { border-left-color: var(--error); }
.pack-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.pack-card h3 { margin: 0; font-size: 20px; color: var(--navy); }
.pack-card header p { margin: 2px 0 0; }
.pack-line { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.pack-line-head { display: flex; gap: 10px; align-items: center; }
.pack-line-head .fish { width: 64px; }
.pack-line-head strong { display: block; color: var(--navy); font-size: 16px; }
.pack-line-head small { color: var(--muted); }
.pack-line-head .warn { color: var(--error); font-weight: 700; }
.box-weights { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.box-w { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.box-w input { width: 100%; min-width: 0; font-size: 22px; font-weight: 700; text-align: center; padding: 10px 6px; border: 2px solid var(--line); border-radius: 12px; font-variant-numeric: tabular-nums; }
.box-w input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-2); }
.pack-line-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.pack-line-foot .lot { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.pack-line-foot .lot input { width: 120px; padding: 6px 8px; }
.none-packed { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink); }
.pack-sum { margin: 0 0 0 auto; font-size: 16px; }
.pack-sum strong { color: var(--navy); font-size: 18px; }
.pack-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.pack-total { margin: 0 auto 0 0; font-size: 18px; }
.pack-total strong { font-size: 24px; color: var(--navy); }
.deliver { display: grid; gap: 8px; margin: 8px 0; }
.deliver-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.deliver-buttons form { margin: 0; }

/* ---------- Charts ---------- */
.chart-wrap { margin: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: #eceae4; }
.chart .tick, .chart .sub { fill: var(--muted); font-size: 12px; }
.chart .lab { fill: var(--ink); font-size: 14px; font-weight: 700; }
.chart .val { fill: var(--navy); font-size: 13px; font-weight: 700; }
.chart .bar.s0, .sw.s0 { fill: var(--teal); background: var(--teal); }
.chart .bar.s1, .sw.s1 { fill: var(--gold); background: var(--gold); }
.chart-wrap figcaption { display: flex; gap: 18px; justify-content: center; margin-top: 8px; font-size: 14px; color: var(--muted); }
.key { display: inline-flex; gap: 6px; align-items: center; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }

/* ---------- Tables, forms, flash ---------- */
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--sand); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.flash { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-weight: 600; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.error { background: var(--error-bg); color: var(--error); }
.flash.warn { background: var(--warn-bg); color: var(--warn); }
form.stack { display: grid; gap: 12px; max-width: 460px; }
form.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
input:disabled, select:disabled, textarea:disabled { background: var(--paper); color: var(--ink); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
button, .button { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 12px; border: 2px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
button:hover, .button:hover { filter: brightness(1.06); }
button:disabled { opacity: .6; cursor: progress; }
button.secondary, .button.secondary { background: #fff; color: var(--teal); }
button.big, .button.big { padding: 14px 22px; font-size: 18px; border-radius: 14px; }
.button.attention { background: var(--gold); border-color: var(--gold); color: var(--navy); }
button.link { background: none; border: none; padding: 0; color: var(--teal); text-decoration: underline; font-weight: 600; }
.login { max-width: 400px; margin: 10vh auto; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
input.narrow { width: 90px; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .top { padding: 8px 12px; }
  .hero { flex-direction: column-reverse; align-items: flex-start; padding: 18px; }
  .hero-art { width: 150px; }
  h1 { font-size: 26px; }
  .fish-grid, .sku-grid { grid-template-columns: 1fr; }
  .jump { position: static; }
  .hero .fish.hero-fish { width: 150px; }
  table { font-size: 14px; }
  th, td { padding: 8px; }
}

/* ---------- Reports ---------- */
/* Categorical slots (validated dataviz palette, fixed order; c0 = neutral "Other"). */
:root {
  --c1: #2a78d6; --c2: #eb6834; --c3: #1baf7a; --c4: #eda100; --c5: #e87ba4; --c6: #008300; --c7: #6250d6; --c8: #e34948; --c0: #a3a19a;
  --q1: #cde2fb; --q2: #9ec5f4; --q3: #6da7ec; --q4: #3987e5; --q5: #256abf; --q6: #184f95; --q7: #0d366b;
  --viz-ink: #52514e; --viz-grid: #ecebe6;
}
.c0 { fill: var(--c0); background: var(--c0); stroke: var(--c0); } .c1 { fill: var(--c1); background: var(--c1); stroke: var(--c1); }
.c2 { fill: var(--c2); background: var(--c2); stroke: var(--c2); } .c3 { fill: var(--c3); background: var(--c3); stroke: var(--c3); }
.c4 { fill: var(--c4); background: var(--c4); stroke: var(--c4); } .c5 { fill: var(--c5); background: var(--c5); stroke: var(--c5); }
.c6 { fill: var(--c6); background: var(--c6); stroke: var(--c6); } .c7 { fill: var(--c7); background: var(--c7); stroke: var(--c7); }
.c8 { fill: var(--c8); background: var(--c8); stroke: var(--c8); }

.report-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 0; border-bottom: 2px solid var(--line); }
.report-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; text-decoration: none; }
.report-tabs a:hover { color: var(--navy); }
.report-tabs a.on { color: var(--navy); border-bottom-color: var(--gold); }
.report-tabs .soon { padding: 10px 12px; color: var(--muted); font-size: 13px; align-self: center; }

.filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin: 16px 0 6px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.filters label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0; }
.filters select, .filters input { min-width: 0; padding: 8px 10px; font-size: 15px; }
.filters .custom-dates { display: none; gap: 10px; }
.filters:has(select[name=range] option[value=custom]:checked) .custom-dates { display: flex; }
.filters .more { display: contents; }
.filters .check { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); align-self: center; }
.filters .actions { display: flex; gap: 8px; margin-left: auto; }
.filter-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 8px 0 18px; font-size: 14px; color: var(--muted); }
.filter-summary b { color: var(--ink); }
.filter-summary .chip { padding: 3px 10px; font-size: 13px; }
.filter-summary .dl { margin-left: auto; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0 0 18px; }
.kpi { display: grid; align-content: start; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
a.kpi:hover { border-color: var(--teal); }
.kpi-label { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi-value { margin: 2px 0; font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-note { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.delta { font-size: 13px; font-weight: 700; }
.delta.good { color: var(--ok); } .delta.bad { color: var(--error); } .delta.flat, .delta.new { color: var(--muted); }
.spark { width: 120px; max-width: 100%; height: 32px; margin-top: 4px; }
.spark path { fill: none; stroke: var(--c1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--c1); }

.viz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.viz-grid .wide { grid-column: 1 / -1; }
.viz { margin: 0 0 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.viz-grid .viz { margin: 0; }
.viz-title { margin: 0 0 10px; font-weight: 800; color: var(--navy); font-size: 16px; }
.viz-title small { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; }
.viz-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.chart-empty { display: grid; place-items: center; min-height: 140px; padding: 20px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.viz .chart { width: 100%; height: auto; display: block; overflow: visible; }
.viz .chart .grid { stroke: var(--viz-grid); stroke-width: 1; }
.viz .chart .axis { stroke: #c9c6bd; stroke-width: 1; }
.viz .chart .tick { fill: var(--viz-ink); font-size: 13px; }
.viz .chart .lab { fill: var(--viz-ink); font-size: 13px; font-weight: 600; }
.viz .chart .lab-l { fill: var(--ink); font-size: 14px; font-weight: 600; }
.viz .chart .val { fill: var(--ink); font-size: 13px; font-weight: 700; }
.viz .chart .in { fill: #fff; font-size: 14px; font-weight: 800; pointer-events: none; }
.viz .chart .seg { stroke: none; }
.viz .chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz .chart .line.dashed { stroke-dasharray: 6 5; opacity: .75; }
.viz .chart .dot { stroke: #fff; stroke-width: 2; }
.viz .chart .hit { fill: transparent; cursor: pointer; outline: none; }
.viz .chart a .hit { cursor: pointer; }
.viz .chart .hit:hover, .viz .chart .hit:focus-visible { fill: rgba(3, 41, 61, .05); }
.viz .chart .xhair { stroke: var(--navy); stroke-width: 1; opacity: 0; pointer-events: none; }
.viz .chart .xhair.on { opacity: .35; }
.viz .chart rect.seg:hover, .viz .chart rect.seg:focus-visible { opacity: .85; outline: none; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 14px; color: var(--viz-ink); }
.viz-legend .key b { color: var(--ink); }
.viz-legend i.sw { width: 12px; height: 12px; border-radius: 3px; }
.viz-legend i.ln { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.viz-legend i.ln.dashed { height: 0; background: none !important; border-top: 3px dashed; }
.viz-legend i.ln.dashed.c1 { border-color: var(--c1); } .viz-legend i.ln.dashed.c2 { border-color: var(--c2); }

table.heat { font-variant-numeric: tabular-nums; }
table.heat th[scope=row] { white-space: nowrap; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14px; background: #fff; position: sticky; left: 0; z-index: 1; }
table.heat th[scope=row] small { display: block; font-weight: 500; color: var(--muted); }
table.heat td { text-align: center; min-width: 64px; font-size: 14px; border: 2px solid #fff; padding: 8px 6px; }
table.heat td a { color: inherit; text-decoration: none; display: block; }
table.heat td:focus-visible, table.heat td:hover { outline: 2px solid var(--navy); outline-offset: -2px; }
table.heat .tot { font-weight: 800; color: var(--navy); background: var(--sand); }
.q0 { color: #b9b6ad; } .q1 { background: var(--q1); } .q2 { background: var(--q2); } .q3 { background: var(--q3); }
.q4 { background: var(--q4); color: #fff; } .q5 { background: var(--q5); color: #fff; } .q6 { background: var(--q6); color: #fff; } .q7 { background: var(--q7); color: #fff; }
.ramp { display: flex; align-items: center; gap: 3px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.ramp i { width: 22px; height: 10px; border-radius: 2px; }
.ramp span { margin: 0 4px; }

table.sortable th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
table.sortable th[data-sort]::after { content: " ↕"; color: #c9c6bd; font-size: 11px; }
table.sortable th[aria-sort=ascending]::after { content: " ▲"; color: var(--navy); }
table.sortable th[aria-sort=descending]::after { content: " ▼"; color: var(--navy); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.est { font-size: 11px; font-weight: 700; color: var(--warn); background: var(--warn-bg); border-radius: 6px; padding: 0 5px; margin-left: 4px; }

.viz-tip { position: fixed; z-index: 50; max-width: 300px; padding: 8px 11px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.45; pointer-events: none; box-shadow: 0 6px 20px rgba(3, 41, 61, .25); white-space: pre-line; }
.viz-tip[hidden] { display: none; }
.viz-tip b { font-weight: 800; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 16px; border-radius: 12px; background: var(--teal-2); color: var(--navy); font-size: 14px; }
.callout.warn { background: var(--warn-bg); color: #6b4300; }
.inline-form { display: inline; margin: 0; }
button.tiny { padding: 3px 9px; font-size: 12px; border-radius: 8px; }

.filter-box > summary { display: none; }
@media (max-width: 900px) {
  .viz-grid { grid-template-columns: 1fr; }
  .filters .actions { margin-left: 0; }
  .filter-box > summary { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--navy); cursor: pointer; }
  .filter-box[open] > summary { border-radius: 12px 12px 0 0; border-bottom: 0; }
  .filter-box .filters { margin-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .filters label { flex: 1 1 140px; }
  .filters select, .filters input { width: 100%; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px; }
  .kpi-value { font-size: 22px; }
  .report-tabs .soon { display: none; }
  .report-tabs a { padding: 8px 10px; }
  .filter-summary .dl { margin-left: 0; }
}
@media print {
  .filters, .report-tabs, .filter-summary .dl, .viz-tip { display: none !important; }
  .viz, .kpi { box-shadow: none; break-inside: avoid; }
}

.filter-summary ~ .chips { margin: 0 0 14px; }
.viz .chart.map { max-height: 520px; background: #f4f7fa; border-radius: 12px; overflow: hidden; }
.viz .chart.map .cty { fill: #ecebe6; stroke: #fff; stroke-linejoin: round; }
.viz .chart.map .cty.q1 { fill: var(--q1); } .viz .chart.map .cty.q2 { fill: var(--q2); } .viz .chart.map .cty.q3 { fill: var(--q3); }
.viz .chart.map .cty.q4 { fill: var(--q4); } .viz .chart.map .cty.q5 { fill: var(--q5); } .viz .chart.map .cty.q6 { fill: var(--q6); } .viz .chart.map .cty.q7 { fill: var(--q7); }
.viz .chart.map a .cty { cursor: pointer; }
.viz .chart.map .cty[data-tip]:hover, .viz .chart.map .cty[data-tip]:focus-visible { stroke: var(--navy); outline: none; }
.viz .chart.map .st { fill: none; stroke: #8a8880; stroke-linejoin: round; pointer-events: none; }
.report-tabs .email-link { margin-left: auto; font-weight: 600; color: var(--teal); }
label.check-row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
label.check-row input { width: auto; }
.actions-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
