/* ViDAS dashboard — tokens follow the validated reference palette (light/dark). */
:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface-1: #fcfcfb;
  --surface-2: #f3f2ee;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #898781;
  --grid: #e1e0d9;
  --baseline: #c3c2b7;
  --border: rgba(11, 11, 11, 0.10);
  --accent: #2a78d6;
  --focus: #2a78d6;
  --v-SARS2: #2a78d6; --v-VSR: #eb6834; --v-RINO: #1baf7a; --v-FLUA: #eda100;
  --v-FLUB: #e87ba4; --v-METAP: #008300; --v-ADENO: #6250d6; --v-OUTROS_GRUPO: #a3a29b;
  --reported: #c3c2b7;
  --pending: #edece6;
  --estimate: #0b0b0b;
  --band: rgba(11, 11, 11, 0.08);
  --provisional: rgba(137, 135, 129, 0.10);
  --good: #0ca30c; --warning: #fab219; --serious: #ec835a; --critical: #d03b3b;
  --up-bad-text: #b02a2a; --down-good-text: #006300;
  --seq-0: #cde2fb; --seq-1: #9ec5f4; --seq-2: #6da7ec; --seq-3: #3987e5; --seq-4: #256abf; --seq-5: #184f95; --seq-6: #0d366b;
  --div-neg: #2a78d6; --div-mid: #f0efec; --div-pos: #e34948;
  --flu-h3: #8f5c00;   /* influenza A(H3N2): darker step of the FLUA hue (A(H1N1)pdm09 = --v-FLUA); validated light and dark */
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --page: #0d0d0d; --surface-1: #1a1a19; --surface-2: #232321;
    --text-primary: #f0efec; --text-secondary: #c3c2b7; --text-muted: #898781;
    --grid: #2c2c2a; --baseline: #383835; --border: rgba(255, 255, 255, 0.10);
    --accent: #3987e5; --focus: #3987e5;
    --v-SARS2: #3987e5; --v-VSR: #d95926; --v-RINO: #199e70; --v-FLUA: #c98500;
    --v-FLUB: #d55181; --v-METAP: #008300; --v-ADENO: #9085e9; --v-OUTROS_GRUPO: #6e6d68;
    --reported: #4a4945; --pending: #262624; --estimate: #f0efec; --band: rgba(240, 239, 236, 0.10);
    --provisional: rgba(137, 135, 129, 0.12);
    --up-bad-text: #e66767; --down-good-text: #0ca30c;
    --seq-0: #0d366b; --seq-1: #184f95; --seq-2: #256abf; --seq-3: #3987e5; --seq-4: #6da7ec; --seq-5: #9ec5f4; --seq-6: #cde2fb;
    --div-neg: #3987e5; --div-mid: #383835; --div-pos: #e66767;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d; --surface-1: #1a1a19; --surface-2: #232321;
  --text-primary: #f0efec; --text-secondary: #c3c2b7; --text-muted: #898781;
  --grid: #2c2c2a; --baseline: #383835; --border: rgba(255, 255, 255, 0.10);
  --accent: #3987e5; --focus: #3987e5;
  --v-SARS2: #3987e5; --v-VSR: #d95926; --v-RINO: #199e70; --v-FLUA: #c98500;
  --v-FLUB: #d55181; --v-METAP: #008300; --v-ADENO: #9085e9; --v-OUTROS_GRUPO: #6e6d68;
  --reported: #4a4945; --pending: #262624; --estimate: #f0efec; --band: rgba(240, 239, 236, 0.10);
  --provisional: rgba(137, 135, 129, 0.12);
  --up-bad-text: #e66767; --down-good-text: #0ca30c;
  --seq-0: #0d366b; --seq-1: #184f95; --seq-2: #256abf; --seq-3: #3987e5; --seq-4: #6da7ec; --seq-5: #9ec5f4; --seq-6: #cde2fb;
  --div-neg: #3987e5; --div-mid: #383835; --div-pos: #e66767;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page); color: var(--text-primary);
}
button, select, input { font: inherit; color: inherit; }
a { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* header */
.top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 28px 12px; border-bottom: 1px solid var(--border); background: var(--surface-1);
}
.top h1 { margin: 0; font-size: 20px; font-weight: 600; }
.top p { margin: 2px 0 0; color: var(--text-secondary); }
.top-right { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 13px; }
.ghost { background: none; border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.ghost:hover { background: var(--surface-2); }

.tabs { display: flex; gap: 4px; padding: 0 20px; background: var(--surface-1); border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs button {
  border: none; background: none; padding: 12px 12px 10px; cursor: pointer; color: var(--text-secondary);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--text-primary); border-bottom-color: var(--text-primary); font-weight: 600; }

main { padding: 16px 28px 40px; max-width: 1480px; margin: 0 auto; }

/* filter row */
.filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin-bottom: 16px; }
.filter { display: flex; flex-direction: column; gap: 4px; }
.filter > label, .filter > .lbl { font-size: 12px; color: var(--text-secondary); }
.ctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
select, input[type="search"], input[type="number"] {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; min-height: 34px;
}
.combo { position: relative; }
.combo input { width: min(420px, 80vw); }
.combo ul {
  position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px; max-height: 360px; overflow: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.combo li { padding: 6px 8px; border-radius: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.combo li[aria-selected="true"], .combo li:hover { background: var(--surface-2); }
.combo li small { color: var(--text-muted); font-size: 11.5px; }
.filter > label .hint { color: var(--text-muted); }
/* area dropdown: kind-of-area chips on top, list grouped by kind */
.combo-pop {
  position: absolute; z-index: 30; top: 100%; left: 0; width: max(100%, min(780px, 92vw)); margin-top: 4px; padding: 8px;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.combo .combo-pop ul { position: static; margin: 0; padding: 0; border: 0; box-shadow: none; max-height: min(420px, 60vh); }
.lvl-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.lvl-chips button { border: 1px solid var(--border); background: var(--surface-1); border-radius: 999px; padding: 3px 9px; cursor: pointer; font-size: 12px; }
.lvl-chips button small { color: var(--text-muted); margin-left: 5px; font-size: 11px; }
.lvl-chips button[aria-pressed="true"] { border-color: var(--text-primary); font-weight: 600; }
.lvl-chips button.zero { opacity: .45; }
.combo li.grp {
  flex-direction: row; align-items: baseline; gap: 6px; cursor: default; padding: 8px 8px 3px;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text-secondary);
}
.combo li.grp:first-child { padding-top: 2px; }
.combo li.grp:hover, .combo li.note:hover { background: none; }
.combo li.more { font-size: 12.5px; color: var(--text-secondary); }
.combo li.note { cursor: default; font-size: 12px; color: var(--text-muted); }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.seg button { border: none; background: var(--surface-1); padding: 6px 10px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text-primary); color: var(--surface-1); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--border); background: var(--surface-1); border-radius: 999px; padding: 3px 9px; cursor: pointer; font-size: 12px; }
.chips button[aria-pressed="true"] { border-color: var(--text-primary); font-weight: 600; }
.chips button:disabled { opacity: .4; cursor: not-allowed; }
.chips.big button { font-size: 13px; padding: 5px 12px; }
.seg.small button { padding: 3px 8px; font-size: 12px; }
input[type="range"] { width: 200px; accent-color: var(--text-primary); }

/* tab intro, notices, cross-links */
.lead { margin: 0 0 14px; color: var(--text-secondary); max-width: 920px; }
.notice {
  display: flex; flex-wrap: wrap; gap: 4px 12px; margin: -4px 0 16px; padding: 10px 14px; font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; color: var(--text-secondary);
}
.xlink { margin: 14px 0 0; font-size: 13px; }

/* Overview: one small nowcast per age group */
.ag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin-top: 10px; }
.ag { border: 1px solid transparent; border-radius: 10px; padding: 4px 6px 0; min-width: 0; }
.ag.on { border-color: var(--text-primary); }
.ag-h {
  display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 4px 4px; border: none; border-radius: 6px;
  background: none; cursor: pointer; text-align: left; font-weight: 600; font-size: 13px;
}
.ag-h:hover:not(:disabled) { background: var(--surface-2); }
.ag-h:disabled { cursor: default; color: var(--text-muted); }
.ag-h small { margin-left: auto; font-weight: 400; color: var(--text-secondary); font-size: 12px; white-space: nowrap; }
.ag-plot { height: 172px; }
.ag-few {
  height: 166px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 18px;
  margin-bottom: 6px; border-radius: 8px; background: var(--surface-2); color: var(--text-muted); font-size: 12px;
}
@media (max-width: 1100px) { .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ag-grid { grid-template-columns: 1fr; } }

/* Patient: the answer for one patient (tall segmented bar + ranked list) */
.segbar { display: flex; gap: 2px; height: 28px; margin: 14px 0 12px; }
.segbar span {
  min-width: 2px; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 28px; padding-left: 6px;
  overflow: hidden; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.ans-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 6px 18px; }
.ans-list li { display: flex; flex-direction: column; gap: 1px; padding: 6px 0 4px; border-top: 1px solid var(--grid); }
.ans-list .n { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); }
.ans-list b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ans-list small { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
output { min-width: 7em; font-variant-numeric: tabular-nums; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; min-height: 108px; }
.tile .label { font-size: 12px; color: var(--text-secondary); }
.tile .value { font-size: 28px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.tile .value .swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.tile .delta { font-size: 13px; margin-top: 2px; color: var(--text-secondary); }
.tile .delta.up { color: var(--up-bad-text); }
.tile .delta.down { color: var(--down-good-text); }
.tile .note { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { margin: 0; background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px 10px; min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h2 { font-size: 15px; font-weight: 600; margin: 0; }
.card .sub { margin: 2px 0 0; color: var(--text-secondary); font-size: 12.5px; }
.card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.card-actions button { font-size: 12px; padding: 3px 8px; }
.plot { width: 100%; height: 340px; transition: opacity .15s; }
.plot.tall { height: 400px; }
.plot.strip { height: 110px; }
.busy .plot { opacity: .45; }
.card figcaption, .caption { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 2px; font-size: 12.5px; color: var(--text-secondary); }
.legend button { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 2px 0; cursor: pointer; color: inherit; }
.legend button[aria-pressed="false"] { opacity: .4; }
.legend .key { width: 12px; height: 12px; border-radius: 3px; }
.legend .key.line { height: 2px; border-radius: 1px; }
.legend .key.band { background: var(--band); border: 1px solid var(--baseline); }

/* table view */
.table-view { max-height: 420px; overflow: auto; margin-top: 8px; border: 1px solid var(--border); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
th, td { padding: 5px 8px; text-align: right; border-bottom: 1px solid var(--grid); white-space: nowrap; font-variant-numeric: tabular-nums; }
th:first-child, td:first-child, th.l, td.l { text-align: left; }
thead th { position: sticky; top: 0; background: var(--surface-2); font-weight: 600; color: var(--text-secondary); }
table.rank tbody tr { cursor: pointer; }
table.rank tbody tr:hover { background: var(--surface-2); }
table.rank th { cursor: pointer; user-select: none; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: baseline; }

/* choropleth maps (web/js/choro.js) */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; margin-top: 8px; }
.map-main { position: relative; height: 680px; min-width: 0; }
.choro { width: 100%; height: 100%; display: block; overflow: hidden; }
.choro.zoomed { cursor: grab; touch-action: none; }
.choro.dragging { cursor: grabbing; }
.choro .units path { cursor: pointer; fill-rule: evenodd; }
.choro .units path.na { fill: var(--surface-2); }  /* + one hatch overlay path */
.choro path.hatch { fill-rule: evenodd; pointer-events: none; }
.choro .hatch-line { fill: none; stroke: var(--baseline); }
.choro path.mesh, .choro path.mesh-uf, .choro path.outline, .choro path.hl {
  fill: none; pointer-events: none; stroke-linejoin: round; stroke-linecap: round;
}
.choro .mesh, .choro .mesh-uf { stroke: var(--surface-1); }
.choro .outline { stroke: var(--baseline); }
.choro .hl { stroke: var(--text-primary); }
.zoom-ctl { position: absolute; top: 4px; right: 4px; display: flex; flex-direction: column; gap: 4px; }
.zoom-ctl button {
  width: 28px; height: 28px; padding: 0; border-radius: 6px; cursor: pointer; line-height: 1;
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary);
}
.zoom-ctl button:hover { background: var(--surface-2); color: var(--text-primary); }
.map-side { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; min-width: 0; }
.map-side h3 { font-size: 12.5px; font-weight: 600; margin: 6px 0 0; color: var(--text-secondary); }
.map-side .caption { margin-top: auto; }
.ramp-legend .unit { color: var(--text-secondary); margin-bottom: 4px; }
.ramp-legend .bar { height: 10px; border-radius: 3px; }
.ramp-legend .ticks { display: flex; justify-content: space-between; margin-top: 3px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.ramp-legend .na { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; color: var(--text-secondary); }
.ramp-legend.compact { font-size: 11.5px; }
.ramp-legend.compact .bar { height: 6px; }
.ramp-legend.compact .na { margin-top: 3px; }
i.hatch {
  display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px;
  background: repeating-linear-gradient(45deg, var(--baseline) 0 1px, var(--surface-2) 1px 4px); border: 1px solid var(--border);
}
.map-national { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 8px 0; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); color: var(--text-secondary); }
.map-national b { font-size: 16px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.map-top { list-style: none; margin: 0; padding: 0; }
.map-top li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.map-top li:hover, .map-top li:focus-visible { background: var(--surface-2); }
.map-top li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-top li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.na-key { margin-left: 12px; white-space: nowrap; }
i.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.sm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; margin-top: 12px; }
.sm { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sm-h {
  display: flex; align-items: center; gap: 6px; padding: 3px 6px; margin: 0 -6px; border: none; border-radius: 6px;
  background: none; cursor: pointer; text-align: left; font-weight: 600; font-size: 13px;
}
.sm-h:hover, .sm-h[aria-pressed="true"] { background: var(--surface-2); }
.sm-h small { margin-left: auto; font-weight: 400; color: var(--text-secondary); font-size: 12px; white-space: nowrap; }
.sm-map { height: 240px; min-width: 0; }
.sm-wrap { position: relative; }
.sm-x {
  position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; padding: 0; border-radius: 6px; cursor: pointer;
  font-size: 15px; line-height: 1; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-secondary);
  opacity: .75;
}
.sm:hover .sm-x, .sm-x:focus-visible { opacity: 1; }
.sm-x:hover { background: var(--surface-2); color: var(--text-primary); }
/* enlarged virus map */
.map-dlg {
  width: min(1180px, 96vw); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-1); color: var(--text-primary); box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}
.map-dlg::backdrop { background: rgba(0, 0, 0, .45); }
.dlg-in { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 12px; height: min(880px, 92vh); }
.dlg-in header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dlg-in h2 { display: flex; align-items: center; gap: 4px; font-size: 15px; margin: 0; }
.dlg-in .sub { margin: 2px 0 0; color: var(--text-secondary); font-size: 12.5px; }
.dlg-in .card-actions button { min-width: 32px; }
.dlg-key { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 32px; font-size: 12.5px; }
.dlg-key .ramp-legend { width: 320px; max-width: 100%; }
.dlg-key .map-national { gap: 16px; border: none; padding: 0; }
.map-main.dlg-map { flex: 1; height: auto; min-height: 280px; }
@media (max-width: 1200px) { .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-main { height: 440px; }
}

/* tooltip */
.tip {
  position: fixed; z-index: 50; pointer-events: none; min-width: 200px; max-width: 320px;
  background: var(--surface-1); color: var(--text-primary); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .14); font-size: 12.5px;
}
.tip .h { font-weight: 600; margin-bottom: 4px; }
.tip .h small { font-weight: 400; color: var(--text-muted); }
.tip .row { display: grid; grid-template-columns: 14px auto 1fr; gap: 6px; align-items: center; }
.tip .row .k { width: 12px; height: 2px; border-radius: 1px; }
.tip .row b { font-variant-numeric: tabular-nums; }
.tip .row span { color: var(--text-secondary); }
.tip .row.sub { padding-left: 20px; font-size: 11.5px; grid-template-columns: auto 1fr; }
.tip .foot { color: var(--text-muted); font-size: 11.5px; margin-top: 4px; }

/* prose */
.prose { max-width: 860px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 18px 26px; }
.prose h2 { font-size: 17px; margin-top: 18px; }
.prose h3 { font-size: 15px; margin-top: 16px; }
.prose p, .prose li { color: var(--text-primary); }
.prose .muted { color: var(--text-secondary); }
footer { padding: 16px 28px 28px; color: var(--text-muted); font-size: 12px; max-width: 1480px; margin: 0 auto; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  main, .top { padding-left: 14px; padding-right: 14px; }
}

/* Overview: one small panel per virus (hospitalizations with the virus) */
.ag-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ag-h.static { cursor: default; align-items: center; }
.ag-h.static:hover { background: none; }
.ag-h .swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.busy .ag-plot { opacity: .45; }
@media (max-width: 1100px) { .ag-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ag-grid.four { grid-template-columns: 1fr; } }

/* Overview: "what is changing" (weekly trends) */
.trend-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px 28px; margin-top: 6px; }
.trend-layout h3 { font-size: 12.5px; font-weight: 600; margin: 4px 0 0; color: var(--text-secondary); }
.trend-table { max-height: none; }
table.trend td .sw { vertical-align: -1px; }
table.trend td.muted { color: var(--text-muted); }
.st-up { color: var(--up-bad-text); }
.st-down { color: var(--down-good-text); }
.st-flat { color: var(--text-secondary); }
.tile .delta.flat { color: var(--text-secondary); }
.trend-areas { margin-top: 6px; }
.trend-areas li.empty { display: block; cursor: default; color: var(--text-muted); font-size: 13px; }
.trend-areas li.empty:hover { background: none; }
@media (max-width: 900px) { .trend-layout { grid-template-columns: 1fr; } }

/* Overview: influenza A by subtype */
.flu-sum { font-size: 13px; color: var(--text-secondary); margin: 6px 0 0; }
