:root {
  color-scheme: light dark;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e1e4e9;
  --row: #f0f1f4;
  --line2: #c6ccd5;
  --grid: #eceef2;
  --text: #141920;
  --muted: #5b6473;
  --accent: #c26a00;
  --soft: #f3eee6;
  --bar: #cc7d22;
  --pos: #157a4c;
  --neg: #bf2f2a;
  --good: #157a4c;
  --warn: #a35a00;
  --bad: #bf2f2a;
  --warnbg: #fdf4e7;
  --warnline: #e8c48f;
  --seg: #e9ebef;
  --segon: #ffffff;
  --hover: #f7f8fa;
  --previous: #8c94a1;
  --share1: #c26a00;
  --share2: #d9913a;
  --share3: #e8b878;
  --share4: #f2d7b0;
  --share5: #c6ccd5;
  --hours1: #f0f1f4;
  --hours2: #f5dcb5;
  --hours3: #e9b46a;
  --hours4: #d98d2a;
  --hours5: #c26a00;
  --c2xx: #6fb894;
  --c3xx: #c6ccd5;
  --c4xx: #e0a24a;
  --c5xx: #bf2f2a;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --target: 44px;
}
/* R177, R179: with no class on the root the system decides; a pick is a class the server wrote. */
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --bg: #0e1116;
    --card: #151a21;
    --line: #252c36;
    --row: #1e242d;
    --line2: #3b4452;
    --grid: #1c222a;
    --text: #e8ebf0;
    --muted: #8f98a7;
    --accent: #f2b33d;
    --soft: #2b2417;
    --bar: #a8781f;
    --pos: #4cc38a;
    --neg: #f26b63;
    --good: #4cc38a;
    --warn: #f0a53e;
    --bad: #f26b63;
    --warnbg: #231c11;
    --warnline: #5a4220;
    --seg: #1e242d;
    --segon: #2a313c;
    --hover: #1a2029;
    --previous: #6c7584;
    --share1: #f2b33d;
    --share2: #c48a2a;
    --share3: #8f6826;
    --share4: #5c4520;
    --share5: #3b4452;
    --hours1: #1e242d;
    --hours2: #3d3020;
    --hours3: #6b5023;
    --hours4: #b07f2c;
    --hours5: #f2b33d;
    --c2xx: #3f9a6e;
    --c3xx: #3b4452;
    --c4xx: #c4862e;
    --c5xx: #e0544c;
  }
}
:root.dark {
  color-scheme: dark;
  --bg: #0e1116;
  --card: #151a21;
  --line: #252c36;
  --row: #1e242d;
  --line2: #3b4452;
  --grid: #1c222a;
  --text: #e8ebf0;
  --muted: #8f98a7;
  --accent: #f2b33d;
  --soft: #2b2417;
  --bar: #a8781f;
  --pos: #4cc38a;
  --neg: #f26b63;
  --good: #4cc38a;
  --warn: #f0a53e;
  --bad: #f26b63;
  --warnbg: #231c11;
  --warnline: #5a4220;
  --seg: #1e242d;
  --segon: #2a313c;
  --hover: #1a2029;
  --previous: #6c7584;
  --share1: #f2b33d;
  --share2: #c48a2a;
  --share3: #8f6826;
  --share4: #5c4520;
  --share5: #3b4452;
  --hours1: #1e242d;
  --hours2: #3d3020;
  --hours3: #6b5023;
  --hours4: #b07f2c;
  --hours5: #f2b33d;
  --c2xx: #3f9a6e;
  --c3xx: #3b4452;
  --c4xx: #c4862e;
  --c5xx: #e0544c;
}
:root.light { color-scheme: light; }
@media (min-width: 700px) {
  :root { --target: 36px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--font); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; transition: background-color 120ms; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.25; }
strong, b { font-weight: 600; }
h1 { font-size: 20px; }
h2 { font-size: 16px; }
h3 { font-size: 16px; }
em.own { font-style: italic; }

body > header { background: var(--card); border-bottom: 1px solid var(--line); }
body > header, body > footer { --edge: max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter))); }
body > header { padding: 0 var(--edge); }
/* The mark and the name: one link; the site header keeps the mark alone on a phone. */
a.brand { gap: 8px; font-size: 16px; font-weight: 600; text-decoration: none; }
a.brand > svg { flex: none; width: 20px; height: 20px; }
.mark { color: var(--accent); }
.slash { width: 8px; height: 16px; fill: none; stroke: var(--line2); stroke-width: 1.2; }
.where { color: var(--muted); font-size: 14px; }
.overview-header { display: flex; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.overview-header .range-control { margin-left: auto; }
/* R152: two rows. The first holds the mark, the switcher and the range, the second the tabs and Share view. */
.site-header { position: relative; display: grid; grid-template-columns: auto auto auto minmax(0, 1fr) auto auto; align-items: center; column-gap: 10px; padding-top: 4px; }
.site-header > .brand { grid-area: 1 / 1; }
.site-header > .slash { grid-area: 1 / 2; }
.site-header > .switcher { grid-area: 1 / 3; }
.site-header > .range-control { grid-area: 1 / 4; justify-self: end; }
.site-header > nav[aria-label="Tabs"] { grid-area: 2 / 1 / 3 / 4; justify-self: start; }
.site-header > .header-actions { grid-area: 2 / 4 / 3 / 7; justify-self: end; display: flex; align-items: center; gap: 10px; }
.site-header > .share { grid-area: 2 / 4 / 3 / 7; justify-self: end; }
.site-header > .theme-sep { grid-area: 1 / 5; margin: 0 -2px; }
.site-header > a.theme { grid-area: 1 / 6; }
/* The switcher is a select with no box of its own: the name of the site, a caret, and for pages without script a button. */
.switcher { display: flex; align-items: center; gap: 8px; margin: 0; }
.pick { position: relative; display: inline-flex; align-items: center; }
.switcher select { appearance: none; min-height: var(--target); padding: 0 22px 0 6px; background: transparent; border: 0; border-radius: 8px; font: 600 16px/1.25 var(--font); field-sizing: content; cursor: pointer; }
.switcher select:hover { background: var(--hover); }
.caret { position: absolute; right: 6px; width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.5; pointer-events: none; }
.switcher button { font-size: 13px; }
/* The presets are a segmented control: a seg track, the selected option on segon with the one shadow. */
.presets { display: none; }
.presets, .segmented { gap: 2px; padding: 3px; background: var(--seg); border-radius: 10px; }
.presets a, .segmented a { min-height: 34px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.presets a:hover, .segmented a:hover { background: var(--hover); }
.grains a[aria-current], .segmented a[aria-current], .presets a[aria-current] { background: var(--segon); box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 20%, transparent); color: var(--text); font-weight: 600; }
.btn { gap: 6px; min-height: 36px; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; text-decoration: none; }
.btn:hover { background: var(--hover); }
.btn svg { flex: none; color: var(--muted); }
.csv path { stroke: var(--muted); }
/* R178: the theme button. Both links are served; the one that switches to the other theme is shown, by the class on the root or, with none, by the system. */
a.theme { display: none; justify-content: center; width: var(--target); min-height: var(--target); padding: 0; }
a.theme svg { color: var(--text); }
a.theme.to-dark { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not(.light) a.theme.to-dark { display: none; }
  :root:not(.light) a.theme.to-light { display: inline-flex; }
}
:root.dark a.theme.to-dark { display: none; }
:root.dark a.theme.to-light { display: inline-flex; }
.theme-sep { display: none; flex: none; width: 1px; height: 24px; margin: 0 -4px; background: var(--line); }
.status-header a.theme { margin-left: auto; }
body > footer { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; max-width: 1120px; margin: auto auto 0; padding: 0 var(--gutter) 40px; color: var(--muted); font-size: 13px; }
body > footer p { margin: 0; }
body > footer a { color: var(--muted); }
main { width: 100%; max-width: 1120px; margin: 0 auto; padding: 20px var(--gutter) 24px; }
/* The dates line: one line of the range and, when there is one, the range it is set against. */
p.dates { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
main > p.dates { margin-top: 0; }
/* R76: the dates line keeps one height whatever the range: three lines at 320 px, two to 699 px, one from 700 px. */
p.dates { min-height: 59px; }
@media (min-width: 360px) { p.dates { min-height: 39px; } }
@media (min-width: 700px) { p.dates { min-height: 20px; } }
/* R96, R140: a date or a time never breaks across lines; the line wraps between dates. */
time { white-space: nowrap; }
main > section ~ p { margin-top: 24px; }
main > section ~ p + p { margin-top: 4px; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* R76: earlier, the range choice and later keep one box on every range; an inert step has the same box. */
nav[aria-label="Range"] { display: flex; align-items: center; gap: 6px; }
a.step { flex: none; justify-content: center; box-sizing: border-box; width: var(--target); height: var(--target); padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
a.step svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
a.step[href]:hover { background: var(--hover); }
a.step:not([href]) { cursor: default; }
a.step:not([href]) svg { stroke: var(--line2); }
/* R152: below 700 px one button names the range, with its dates under it; it opens the named ranges as links, with or without script. */
.range-menu { position: relative; flex: 1 1 0; min-width: 0; }
.range-menu summary { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: var(--target); padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; list-style: none; }
.range-menu summary::-webkit-details-marker { display: none; }
.range-menu summary:hover { background: var(--hover); }
.range-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.range-name .caret { position: static; }
.range-dates { color: var(--muted); font-size: 12px; line-height: 1.25; }
.range-menu ul { position: absolute; top: 100%; right: 0; left: 0; z-index: 2; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.range-menu li a { display: flex; padding: 0 12px; border-radius: 8px; text-decoration: none; }
.range-menu li a:hover { background: var(--hover); }
.range-menu li a[aria-current] { background: var(--seg); font-weight: 600; }
.range-control.overview .range-menu { flex: none; }
.range-control.overview .range-menu ul { left: auto; min-width: 160px; }
input, button { min-height: var(--target); padding: 0 12px; background: var(--card); color: var(--text); font: inherit; border: 1px solid var(--line2); border-radius: 10px; transition: background-color 120ms; }
select { min-height: var(--target); padding: 0 12px; background: var(--card); color: var(--text); font: inherit; border: 1px solid var(--line2); border-radius: 10px; }
input { width: 100%; }
button { font-weight: 600; cursor: pointer; }
button:hover { background: var(--hover); }
nav[aria-label="Tabs"] { display: flex; gap: 2px; }
nav[aria-label="Tabs"] a { justify-content: center; gap: 6px; padding: 0 12px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; white-space: nowrap; }
nav[aria-label="Tabs"] a:hover { background: var(--hover); }
nav[aria-label="Tabs"] a[aria-current] { border-bottom-color: var(--accent); color: var(--text); font-weight: 600; }
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.check { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: center; gap: 4px 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.check h3 { grid-area: 1 / 1; margin: 0; }
section .check p { max-width: none; margin: 0; }
.check .check-state { grid-area: 1 / 2; display: flex; align-items: center; gap: 8px; color: var(--text); }
.check .check-figure { grid-area: 2 / 1; color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.25; }
.check-series { grid-area: 2 / 2; }
.check .check-counts, .check .check-more, .check .explain { grid-column: 1 / -1; }
.check .check-more a { min-height: var(--target); }

main > section { margin-top: 32px; }
main > section > h2:has(a) { margin-bottom: 4px; }
h2 a { color: inherit; text-decoration: none; }
h2 a:hover { text-decoration: underline; }
h3 { margin: 16px 0 4px; }
section p { max-width: 704px; margin: 4px 0 8px; color: var(--muted); font-size: 13px; }
section section { margin-top: 16px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
section section h2 { margin-bottom: 4px; font-size: 16px; }
section section section { margin-top: 24px; padding: 0; border: 0; }
dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; font-size: 13px; }
dt { margin-top: 12px; color: var(--muted); }
dd { margin: 0; }
ul { margin: 4px 0; padding-left: 24px; }

/* R107: no table scrolls inside the page; a wide table of figures stacks on a phone instead (R111). */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
caption { padding: 4px 0; color: var(--muted); text-align: left; }
th, td { padding: 4px 8px; border-bottom: 1px solid var(--row); font-weight: 400; text-align: left; vertical-align: baseline; }
td { text-align: right; }
thead th + th { text-align: right; }
thead th { background: var(--card); border-bottom-color: var(--line2); color: var(--muted); font-weight: 600; }
/* R111: a head or a figure breaks between words only, never inside one. */
th, td { overflow-wrap: normal; word-break: keep-all; }
/* R108: a ranked list is a table of fixed columns, so the shown rows and the disclosed ones line up. */
.ranked table { table-layout: fixed; }
.ranked col.fig { width: 104px; }
.ranked th[scope="row"] { overflow-wrap: anywhere; word-break: normal; }
.ranked details { margin-top: 4px; }
.ranked summary { display: flex; align-items: center; min-height: var(--target); cursor: pointer; }
.ranked summary:hover { background: var(--hover); }
.ranked summary::before { content: "\25B8"; width: 16px; color: var(--muted); }
.ranked details[open] summary::before { content: "\25BE"; }
.rank-bar { display: block; width: 100%; height: 4px; margin-top: 4px; }
.rank-bar rect { fill: var(--bar); }

.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; min-height: 24px; margin: 8px 0 4px; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { flex: none; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }
.dot.c3xx { background: var(--c3xx); }
.dot.cother { background: var(--line2); }
.dot.k-gap { background: color-mix(in srgb, var(--previous) 20%, transparent); border: 1px dashed var(--muted); border-radius: 2px; }
.dot.k-unlisted { background: color-mix(in srgb, var(--previous) 8%, transparent); border: 1px solid var(--muted); border-radius: 2px; }
.dot.k-pending { background: none; border: 1px dotted var(--muted); border-radius: 2px; }
.dot.k-estimate { background: color-mix(in srgb, var(--accent) 50%, transparent); border: 1px dotted var(--accent); border-radius: 2px; }
.dot.k-partial { background: color-mix(in srgb, var(--accent) 50%, transparent); border: 1px dashed var(--accent); border-radius: 2px; }
.card { padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 8px; }
section .card-head p { margin: 0; color: var(--muted); font-size: 13px; }
.looks { margin: 0; padding: 0; list-style: none; }
.looks li + li { margin-top: 8px; }
.banner { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: var(--target); padding: 12px 16px; background: var(--warnbg); border: 1px solid var(--warnline); border-radius: 14px; text-decoration: none; }
.banner:hover { border-color: var(--warn); }
.banner .state { display: inline-block; flex: none; width: 11px; height: 11px; margin-top: 5px; }
.look-body { flex: 1 1 0; min-width: 0; }
.look-title { font-weight: 600; }
.look-title::after { content: ":"; }
.look-site::after { content: ", "; }
.look-title { margin-right: 4px; }
.look-open { display: none; }
main > a.banner, main > section#banners { margin-top: 16px; }
#banners details { margin-top: 8px; }
#banners summary { display: flex; align-items: center; min-height: var(--target); padding: 0 16px; cursor: pointer; }
#banners summary:hover { background: var(--hover); }
.sites, .changes { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(64px, auto); column-gap: 12px; margin: 0; padding: 0; list-style: none; }
/* R171: the rows of a list share its column tracks, so a figure that outgrows its floor moves the column in every row. */
.sites > li, .changes > li { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; }
.sites > .site-head { display: none; }
.num { white-space: nowrap; }
/* R170, R171: a count is never broken; the figure columns below are auto tracks with a floor, so a long number widens its column and the name column, which can shrink, takes the loss. */
.c-visits, .c-views, .c-change, .c-share, .t-figure, .m-value, .big, .hl-num { white-space: nowrap; }
/* R154: visits and page views summed over all sites; two small cards on a phone, a line beside the title from 700 px. */
.totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0; padding: 0; list-style: none; }
.total { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.t-line { display: flex; flex-direction: column; align-items: flex-start; }
.totals .t-figure { font-size: 20px; font-weight: 600; line-height: 1.25; }
/* R155: one site, one row of its card: state shape, name, trend, visits, change. */
.site-row, .change-row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; gap: 12px; width: 100%; min-height: 44px; border-top: 1px solid var(--row); text-decoration: none; transition: background-color 120ms; }
a.site-row:hover, a.change-row:hover { background: var(--hover); }
.site-row .c-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.trunc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-row .c-visits, .change-row .c-views { font-weight: 600; text-align: right; }
.c-change { text-align: right; }
.site-row .c-series, .change-row .c-series { display: none; }
.prev { color: var(--muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
/* R148, R149: the one change part: arrow, sign and whole percentage; better is positive, worse negative, under 2% and words muted. */
.chg { font-size: 13px; font-weight: 600; white-space: nowrap; }
.chg-pos { color: var(--pos); }
.chg-neg { color: var(--neg); }
.chg-flat, .chg-word { color: var(--muted); }
.change-row { padding: 4px 0; }
.change-row .c-path { display: contents; }
.change-row .c-path .trunc { grid-area: path; }
.change-row .c-site { grid-area: site; min-width: 0; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.change-row .c-views { grid-area: views; }
.change-row .c-change { grid-area: delta; }
svg.spark[role="img"] { display: block; width: 128px; max-width: none; height: auto; }
/* R106: a small series in a tile spans the width its box gives it, at every width; a check card keeps its own size. */
.tile svg.spark[role="img"] { width: 100%; }
/* R168, R169: a row's trend is bars, shown from 700 px and hidden below it. */
svg.row-trend { display: block; width: 96px; height: 20px; }
.row-trend .bars { fill: var(--bar); }
.row-trend .last { fill: var(--accent); }
/* R161, R162, R164: the lists under the Traffic chart, on the Final board. */
.traffic-lists { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.traffic-lists .card { padding: 12px 16px 8px; }
.traffic-lists .card-head { flex-wrap: nowrap; padding-bottom: 6px; }
.traffic-lists .unit { color: var(--muted); font-size: 13px; font-weight: 400; }
.traffic-lists .note { margin: 0 0 8px; color: var(--muted); }
.all-link { color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; gap: 4px; }
.all-link:hover { text-decoration: underline; }
.all-long { display: none; }
.top-row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; gap: 12px; min-height: 44px; border-top: 1px solid var(--row); text-decoration: none; transition: background-color 120ms; }
a.top-row:hover { background: var(--hover); }
.top-row .c-series { display: none; }
.top-row .c-views, .share-row .c-views { font-weight: 600; text-align: right; }
.card:has(> .top-row) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(64px, auto); column-gap: 12px; }
.card:has(> .share-row) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, auto) minmax(36px, auto); column-gap: 8px; }
.card:has(> .top-row) > :not(.top-row), .card:has(> .share-row) > :not(.share-row) { grid-column: 1 / -1; }
.list-pair, .share-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.list-card { position: relative; }
.share-row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; gap: 8px; min-height: 40px; }
.share-name { position: relative; display: block; min-width: 0; }
.share-name i { position: absolute; top: 4px; bottom: 4px; left: 0; background: var(--soft); border-radius: 6px; }
.share-name .trunc { position: relative; display: block; padding: 6px 8px; }
.c-share { color: var(--muted); font-size: 13px; text-align: right; }
.all-list > summary { position: absolute; top: 12px; right: 16px; min-height: 24px; color: var(--muted); font-size: 13px; list-style: none; cursor: pointer; }
.all-list > summary::-webkit-details-marker { display: none; }
.all-list > summary:hover { text-decoration: underline; }
.all-list[open] { padding-top: 4px; }
.hours .card-head { flex-wrap: wrap; }
.hours .card-head p.busiest { flex: 1 1 100%; margin: 0; color: var(--text); font-size: 14px; }
.hours-body { display: block; }
.hours-days { display: none; }
.hours-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; margin-top: 8px; }
.hc { aspect-ratio: 1; border-radius: 2px; }
.hc.s1 { background: var(--hours1); }
.hc.s2 { background: var(--hours2); }
.hc.s3 { background: var(--hours3); }
.hc.s4 { background: var(--hours4); }
.hc.s5 { background: var(--hours5); }
.hours-axis { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); font-size: 12px; }
.axis-wide { display: none; }
.traffic-lists .card.share-card { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.traffic-lists .share-card .card-head { padding-bottom: 0; }
.share-bar { display: flex; gap: 2px; height: 10px; overflow: hidden; border-radius: 5px; }
.share-bar > div { flex-basis: 0; min-width: 0; }
.share-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; color: var(--text); font-size: 13px; list-style: none; }
.share-legend li { display: flex; align-items: center; gap: 6px; }
.sw { flex: none; width: 9px; height: 9px; border-radius: 2px; }
.sh1 { background: var(--share1); }
.sh2 { background: var(--share2); }
.sh3 { background: var(--share3); }
.sh4 { background: var(--share4); }
.sh5 { background: var(--share5); }
.fg1 { flex-grow: 1; }
.fg2 { flex-grow: 2; }
.fg3 { flex-grow: 3; }
.fg4 { flex-grow: 4; }
.fg5 { flex-grow: 5; }
.fg6 { flex-grow: 6; }
.fg7 { flex-grow: 7; }
.fg8 { flex-grow: 8; }
.fg9 { flex-grow: 9; }
.fg10 { flex-grow: 10; }
.fg11 { flex-grow: 11; }
.fg12 { flex-grow: 12; }
.fg13 { flex-grow: 13; }
.fg14 { flex-grow: 14; }
.fg15 { flex-grow: 15; }
.fg16 { flex-grow: 16; }
.fg17 { flex-grow: 17; }
.fg18 { flex-grow: 18; }
.fg19 { flex-grow: 19; }
.fg20 { flex-grow: 20; }
.fg21 { flex-grow: 21; }
.fg22 { flex-grow: 22; }
.fg23 { flex-grow: 23; }
.fg24 { flex-grow: 24; }
.fg25 { flex-grow: 25; }
.fg26 { flex-grow: 26; }
.fg27 { flex-grow: 27; }
.fg28 { flex-grow: 28; }
.fg29 { flex-grow: 29; }
.fg30 { flex-grow: 30; }
.fg31 { flex-grow: 31; }
.fg32 { flex-grow: 32; }
.fg33 { flex-grow: 33; }
.fg34 { flex-grow: 34; }
.fg35 { flex-grow: 35; }
.fg36 { flex-grow: 36; }
.fg37 { flex-grow: 37; }
.fg38 { flex-grow: 38; }
.fg39 { flex-grow: 39; }
.fg40 { flex-grow: 40; }
.fg41 { flex-grow: 41; }
.fg42 { flex-grow: 42; }
.fg43 { flex-grow: 43; }
.fg44 { flex-grow: 44; }
.fg45 { flex-grow: 45; }
.fg46 { flex-grow: 46; }
.fg47 { flex-grow: 47; }
.fg48 { flex-grow: 48; }
.fg49 { flex-grow: 49; }
.fg50 { flex-grow: 50; }
.fg51 { flex-grow: 51; }
.fg52 { flex-grow: 52; }
.fg53 { flex-grow: 53; }
.fg54 { flex-grow: 54; }
.fg55 { flex-grow: 55; }
.fg56 { flex-grow: 56; }
.fg57 { flex-grow: 57; }
.fg58 { flex-grow: 58; }
.fg59 { flex-grow: 59; }
.fg60 { flex-grow: 60; }
.fg61 { flex-grow: 61; }
.fg62 { flex-grow: 62; }
.fg63 { flex-grow: 63; }
.fg64 { flex-grow: 64; }
.fg65 { flex-grow: 65; }
.fg66 { flex-grow: 66; }
.fg67 { flex-grow: 67; }
.fg68 { flex-grow: 68; }
.fg69 { flex-grow: 69; }
.fg70 { flex-grow: 70; }
.fg71 { flex-grow: 71; }
.fg72 { flex-grow: 72; }
.fg73 { flex-grow: 73; }
.fg74 { flex-grow: 74; }
.fg75 { flex-grow: 75; }
.fg76 { flex-grow: 76; }
.fg77 { flex-grow: 77; }
.fg78 { flex-grow: 78; }
.fg79 { flex-grow: 79; }
.fg80 { flex-grow: 80; }
.fg81 { flex-grow: 81; }
.fg82 { flex-grow: 82; }
.fg83 { flex-grow: 83; }
.fg84 { flex-grow: 84; }
.fg85 { flex-grow: 85; }
.fg86 { flex-grow: 86; }
.fg87 { flex-grow: 87; }
.fg88 { flex-grow: 88; }
.fg89 { flex-grow: 89; }
.fg90 { flex-grow: 90; }
.fg91 { flex-grow: 91; }
.fg92 { flex-grow: 92; }
.fg93 { flex-grow: 93; }
.fg94 { flex-grow: 94; }
.fg95 { flex-grow: 95; }
.fg96 { flex-grow: 96; }
.fg97 { flex-grow: 97; }
.fg98 { flex-grow: 98; }
.fg99 { flex-grow: 99; }
.fg100 { flex-grow: 100; }
.pw0 { width: 0%; }
.pw5 { width: 5%; }
.pw10 { width: 10%; }
.pw15 { width: 15%; }
.pw20 { width: 20%; }
.pw25 { width: 25%; }
.pw30 { width: 30%; }
.pw35 { width: 35%; }
.pw40 { width: 40%; }
.pw45 { width: 45%; }
.pw50 { width: 50%; }
.pw55 { width: 55%; }
.pw60 { width: 60%; }
.pw65 { width: 65%; }
.pw70 { width: 70%; }
.pw75 { width: 75%; }
.pw80 { width: 80%; }
.pw85 { width: 85%; }
.pw90 { width: 90%; }
.pw95 { width: 95%; }
.pw100 { width: 100%; }
@media (min-width: 700px) {
  .traffic-lists .card.share-card { gap: 12px; padding-bottom: 16px; }
  .share-legend { gap: 6px 16px; }
  .sw { width: 10px; height: 10px; border-radius: 3px; }
  .traffic-lists .card { padding: 16px 20px 8px; }
  .traffic-lists .card-head { padding-bottom: 8px; }
  .all-long { display: inline; }
  .all-link { font-size: 14px; }
  .card:has(> .top-row) { grid-template-columns: minmax(0, 1fr) 96px minmax(80px, auto) minmax(64px, auto); }
  .top-row .c-series { display: block; }
  .card:has(> .share-row) { grid-template-columns: minmax(0, 1fr) minmax(64px, auto) minmax(40px, auto); column-gap: 12px; }
  .share-row { gap: 12px; }
  .share-name .trunc { padding: 6px 10px; }
  .all-list > summary { top: 16px; right: 20px; }
  .hours .card-head p.busiest { flex: 0 1 auto; }
  .hours-body { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center; }
  .hours-days { display: grid; grid-template-rows: repeat(7, 1fr); gap: 3px; height: 150px; color: var(--muted); font-size: 12px; }
  .hours-grid { grid-template-rows: repeat(7, 1fr); gap: 3px; height: 150px; margin-top: 0; }
  .hc { aspect-ratio: auto; border-radius: 3px; }
  .hours-axis { padding-left: 40px; }
  .axis-wide { display: inline; }
  .axis-phone { display: none; }
}
.spark path { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .now { stroke: var(--accent); }
.spark .then { stroke: var(--previous); stroke-dasharray: 3 3; }
.state, svg.state[role="img"] { display: inline-block; flex: none; width: 10px; height: 10px; max-width: none; }
.state-none { color: var(--muted); }
.state.good { fill: var(--good); }
.state.warn { fill: var(--warn); }
.state.bad { fill: var(--bad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

svg[role="img"] { display: block; width: 100%; max-width: 832px; height: auto; overflow: visible; }
.grid line { stroke: var(--grid); }
.axis line { stroke: var(--line2); }
/* R102: the labels are text around the plot at one fixed size, whatever the width of the card; the value labels sit on the grid lines of the plot. */
.chart { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding-top: 8px; }
.y-axis { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; margin: -8px 0; text-align: right; }
.plot { grid-column: 2; grid-row: 1; position: relative; min-width: 0; }
.x-axis { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.y-axis span, .x-axis span, .threshold-label { color: var(--muted); font-size: 12px; line-height: 16px; }
.y-axis span { white-space: nowrap; }
.x-axis > span:nth-child(2) { text-align: center; }
.x-axis .tick-date, .x-axis .tick-time { display: block; white-space: nowrap; }
.x-axis > span:nth-child(3) { text-align: right; }
.threshold-label { position: absolute; right: 0; transform: translateY(-100%); pointer-events: none; }
.at-0 { top: 0%; }
.at-1 { top: 1%; }
.at-2 { top: 2%; }
.at-3 { top: 3%; }
.at-4 { top: 4%; }
.at-5 { top: 5%; }
.at-6 { top: 6%; }
.at-7 { top: 7%; }
.at-8 { top: 8%; }
.at-9 { top: 9%; }
.at-10 { top: 10%; }
.at-11 { top: 11%; }
.at-12 { top: 12%; }
.at-13 { top: 13%; }
.at-14 { top: 14%; }
.at-15 { top: 15%; }
.at-16 { top: 16%; }
.at-17 { top: 17%; }
.at-18 { top: 18%; }
.at-19 { top: 19%; }
.at-20 { top: 20%; }
.at-21 { top: 21%; }
.at-22 { top: 22%; }
.at-23 { top: 23%; }
.at-24 { top: 24%; }
.at-25 { top: 25%; }
.at-26 { top: 26%; }
.at-27 { top: 27%; }
.at-28 { top: 28%; }
.at-29 { top: 29%; }
.at-30 { top: 30%; }
.at-31 { top: 31%; }
.at-32 { top: 32%; }
.at-33 { top: 33%; }
.at-34 { top: 34%; }
.at-35 { top: 35%; }
.at-36 { top: 36%; }
.at-37 { top: 37%; }
.at-38 { top: 38%; }
.at-39 { top: 39%; }
.at-40 { top: 40%; }
.at-41 { top: 41%; }
.at-42 { top: 42%; }
.at-43 { top: 43%; }
.at-44 { top: 44%; }
.at-45 { top: 45%; }
.at-46 { top: 46%; }
.at-47 { top: 47%; }
.at-48 { top: 48%; }
.at-49 { top: 49%; }
.at-50 { top: 50%; }
.at-51 { top: 51%; }
.at-52 { top: 52%; }
.at-53 { top: 53%; }
.at-54 { top: 54%; }
.at-55 { top: 55%; }
.at-56 { top: 56%; }
.at-57 { top: 57%; }
.at-58 { top: 58%; }
.at-59 { top: 59%; }
.at-60 { top: 60%; }
.at-61 { top: 61%; }
.at-62 { top: 62%; }
.at-63 { top: 63%; }
.at-64 { top: 64%; }
.at-65 { top: 65%; }
.at-66 { top: 66%; }
.at-67 { top: 67%; }
.at-68 { top: 68%; }
.at-69 { top: 69%; }
.at-70 { top: 70%; }
.at-71 { top: 71%; }
.at-72 { top: 72%; }
.at-73 { top: 73%; }
.at-74 { top: 74%; }
.at-75 { top: 75%; }
.at-76 { top: 76%; }
.at-77 { top: 77%; }
.at-78 { top: 78%; }
.at-79 { top: 79%; }
.at-80 { top: 80%; }
.at-81 { top: 81%; }
.at-82 { top: 82%; }
.at-83 { top: 83%; }
.at-84 { top: 84%; }
.at-85 { top: 85%; }
.at-86 { top: 86%; }
.at-87 { top: 87%; }
.at-88 { top: 88%; }
.at-89 { top: 89%; }
.at-90 { top: 90%; }
.at-91 { top: 91%; }
.at-92 { top: 92%; }
.at-93 { top: 93%; }
.at-94 { top: 94%; }
.at-95 { top: 95%; }
.at-96 { top: 96%; }
.at-97 { top: 97%; }
.at-98 { top: 98%; }
.at-99 { top: 99%; }
.at-100 { top: 100%; }
.after-0 { left: 0%; margin-left: 12px; max-width: calc(100% - 0% - 12px); }
.after-2 { left: 2%; margin-left: 12px; max-width: calc(100% - 2% - 12px); }
.after-4 { left: 4%; margin-left: 12px; max-width: calc(100% - 4% - 12px); }
.after-6 { left: 6%; margin-left: 12px; max-width: calc(100% - 6% - 12px); }
.after-8 { left: 8%; margin-left: 12px; max-width: calc(100% - 8% - 12px); }
.after-10 { left: 10%; margin-left: 12px; max-width: calc(100% - 10% - 12px); }
.after-12 { left: 12%; margin-left: 12px; max-width: calc(100% - 12% - 12px); }
.after-14 { left: 14%; margin-left: 12px; max-width: calc(100% - 14% - 12px); }
.after-16 { left: 16%; margin-left: 12px; max-width: calc(100% - 16% - 12px); }
.after-18 { left: 18%; margin-left: 12px; max-width: calc(100% - 18% - 12px); }
.after-20 { left: 20%; margin-left: 12px; max-width: calc(100% - 20% - 12px); }
.after-22 { left: 22%; margin-left: 12px; max-width: calc(100% - 22% - 12px); }
.after-24 { left: 24%; margin-left: 12px; max-width: calc(100% - 24% - 12px); }
.after-26 { left: 26%; margin-left: 12px; max-width: calc(100% - 26% - 12px); }
.after-28 { left: 28%; margin-left: 12px; max-width: calc(100% - 28% - 12px); }
.after-30 { left: 30%; margin-left: 12px; max-width: calc(100% - 30% - 12px); }
.after-32 { left: 32%; margin-left: 12px; max-width: calc(100% - 32% - 12px); }
.after-34 { left: 34%; margin-left: 12px; max-width: calc(100% - 34% - 12px); }
.after-36 { left: 36%; margin-left: 12px; max-width: calc(100% - 36% - 12px); }
.after-38 { left: 38%; margin-left: 12px; max-width: calc(100% - 38% - 12px); }
.after-40 { left: 40%; margin-left: 12px; max-width: calc(100% - 40% - 12px); }
.after-42 { left: 42%; margin-left: 12px; max-width: calc(100% - 42% - 12px); }
.after-44 { left: 44%; margin-left: 12px; max-width: calc(100% - 44% - 12px); }
.after-46 { left: 46%; margin-left: 12px; max-width: calc(100% - 46% - 12px); }
.after-48 { left: 48%; margin-left: 12px; max-width: calc(100% - 48% - 12px); }
.after-50 { left: 50%; margin-left: 12px; max-width: calc(100% - 50% - 12px); }
.before-50 { right: 50%; margin-right: 12px; max-width: calc(50% - 12px); }
.before-52 { right: 48%; margin-right: 12px; max-width: calc(52% - 12px); }
.before-54 { right: 46%; margin-right: 12px; max-width: calc(54% - 12px); }
.before-56 { right: 44%; margin-right: 12px; max-width: calc(56% - 12px); }
.before-58 { right: 42%; margin-right: 12px; max-width: calc(58% - 12px); }
.before-60 { right: 40%; margin-right: 12px; max-width: calc(60% - 12px); }
.before-62 { right: 38%; margin-right: 12px; max-width: calc(62% - 12px); }
.before-64 { right: 36%; margin-right: 12px; max-width: calc(64% - 12px); }
.before-66 { right: 34%; margin-right: 12px; max-width: calc(66% - 12px); }
.before-68 { right: 32%; margin-right: 12px; max-width: calc(68% - 12px); }
.before-70 { right: 30%; margin-right: 12px; max-width: calc(70% - 12px); }
.before-72 { right: 28%; margin-right: 12px; max-width: calc(72% - 12px); }
.before-74 { right: 26%; margin-right: 12px; max-width: calc(74% - 12px); }
.before-76 { right: 24%; margin-right: 12px; max-width: calc(76% - 12px); }
.before-78 { right: 22%; margin-right: 12px; max-width: calc(78% - 12px); }
.before-80 { right: 20%; margin-right: 12px; max-width: calc(80% - 12px); }
.before-82 { right: 18%; margin-right: 12px; max-width: calc(82% - 12px); }
.before-84 { right: 16%; margin-right: 12px; max-width: calc(84% - 12px); }
.before-86 { right: 14%; margin-right: 12px; max-width: calc(86% - 12px); }
.before-88 { right: 12%; margin-right: 12px; max-width: calc(88% - 12px); }
.before-90 { right: 10%; margin-right: 12px; max-width: calc(90% - 12px); }
.before-92 { right: 8%; margin-right: 12px; max-width: calc(92% - 12px); }
.before-94 { right: 6%; margin-right: 12px; max-width: calc(94% - 12px); }
.before-96 { right: 4%; margin-right: 12px; max-width: calc(96% - 12px); }
.before-98 { right: 2%; margin-right: 12px; max-width: calc(98% - 12px); }
.before-100 { right: 0%; margin-right: 12px; max-width: calc(100% - 12px); }
/* R105: the reading beside the bucket read, placed by the script; it never takes a hit from the pointer. */
.reading { position: absolute; top: 0; z-index: 2; width: max-content; margin: 0; padding: 4px 8px; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; color: var(--text); font-size: 13px; line-height: 18px; pointer-events: none; }
.read { fill: var(--card); stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.read.now { stroke: var(--accent); }
.read.then { stroke: var(--previous); }
.read.c2xx { stroke: var(--c2xx); }
.read.c3xx { stroke: var(--c3xx); }
.read.c4xx { stroke: var(--c4xx); }
.read.c5xx { stroke: var(--c5xx); }
.bar { fill: var(--accent); rx: 2px; }
.bar.estimate { fill: color-mix(in srgb, var(--accent) 50%, transparent); stroke: var(--accent); stroke-dasharray: 1 2; }
.bar.partial { fill: color-mix(in srgb, var(--accent) 50%, transparent); stroke: var(--accent); stroke-dasharray: 3 2; }
.bar.zero { stroke: var(--muted); }
.gap { fill: color-mix(in srgb, var(--previous) 20%, transparent); stroke: var(--muted); stroke-dasharray: 2 2; }
.unlisted { fill: color-mix(in srgb, var(--previous) 8%, transparent); stroke: var(--muted); }
.pending { fill: none; stroke: var(--muted); stroke-dasharray: 1 3; }
.threshold { stroke: var(--muted); stroke-dasharray: 6 3; }
.bar.seg { rx: 0; stroke: var(--card); }
.bar.seg.c2xx { fill: var(--c2xx); }
.bar.seg.c3xx { fill: var(--c3xx); }
.bar.seg.c4xx { fill: var(--c4xx); }
.bar.seg.c5xx { fill: var(--c5xx); }
.bar.seg.cother { fill: var(--line2); }
.bar.seg.s0 { fill: var(--share1); }
.bar.seg.s1 { fill: var(--share2); }
.bar.seg.s2 { fill: var(--share3); }
.bar.seg.s3 { fill: var(--share4); }
.bar.seg.s4 { fill: color-mix(in srgb, var(--share4) 60%, var(--card)); }
.bar.seg.s5 { fill: color-mix(in srgb, var(--share4) 35%, var(--card)); }
.bar.seg.s6 { fill: color-mix(in srgb, var(--share5) 60%, var(--card)); }
.bar.seg.s7 { fill: color-mix(in srgb, var(--share5) 35%, var(--card)); }
.bar.seg.s8 { fill: var(--share5); }
.bar.seg.partial, .bar.seg.estimate { stroke: var(--text); }
.bar.seg.partial { stroke-dasharray: 2 2; }
.bar.seg.estimate { stroke-dasharray: 1 2; }
.bar.seg.estimate.partial { stroke-dasharray: 4 2 1 2; }

/* R65, R72, R76: four tiles of one size; picking one changes only the underline of the picked tile. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.tiles li { display: grid; }
.tile { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; align-items: start; gap: 4px; min-height: 176px; padding: 12px 12px 10px; background: var(--card); border: 1px solid var(--line); border-bottom: 2px solid var(--line); border-radius: 14px; text-decoration: none; }
.tile:hover { background: var(--hover); }
div.tile { min-height: 0; grid-template-rows: none; }
div.tile:hover { background: var(--card); }
.tile[aria-current="true"] { border-bottom-color: var(--accent); }
.t-label { color: var(--muted); font-size: 13px; }
.t-figure { font-size: 24px; font-weight: 600; line-height: 1.25; }
.t-marks { color: var(--muted); font-size: 12px; font-weight: 400; }
.t-change { font-size: 13px; font-weight: 600; }
.t-prev { color: var(--muted); font-size: 13px; }
.t-series { grid-row: 5; align-self: end; }
/* R157 to R160: the Traffic card: four measures in a row over one chart; the picked measure is full strength with a bar under it. */
.chart-card.measure-card { margin-top: 0; padding: 0; overflow: hidden; }
.measures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin: 0; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.measures li { display: grid; }
a.measure { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px 11px; background: var(--card); border-bottom: 3px solid transparent; opacity: 0.6; text-decoration: none; transition: opacity 120ms; }
a.measure[aria-current="true"] { border-bottom-color: var(--accent); opacity: 1; }
.m-label { color: var(--muted); font-size: 13px; }
.m-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.m-value { font-size: 24px; font-weight: 600; letter-spacing: -0.24px; }
.m-change { font-size: 13px; font-weight: 600; white-space: nowrap; }
.m-vs { color: var(--muted); font-size: 12px; }
.measure-body { display: flex; flex-direction: column; gap: 10px; padding: 12px 20px 16px; }
.measure-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 36px; }
.measure-card .chart-readout { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-width: 0; height: auto; margin: 0; overflow: visible; line-height: 1.5; white-space: normal; }
.r-day, .r-cur, .r-prev { display: inline-flex; align-items: center; gap: 6px; }
.r-tag, .r-prev { color: var(--muted); }
.r-name { color: var(--text); font-weight: 600; }
.r-prev { font-size: 14px; }
.r-sw { flex: none; }
.sw-now { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.sw-then { fill: none; stroke: var(--previous); stroke-width: 1.5; stroke-dasharray: 4 3; }
.grains { display: flex; gap: 2px; margin-left: auto; padding: 3px; background: var(--seg); border-radius: 10px; }
.grains a { min-height: 34px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.grains a:hover { background: var(--hover); }
.measure-card .chart { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
.measure-card .plot, .measure-card .x-axis { grid-column: 1; }
.measure-card .plot > svg { width: 100%; height: 260px; }
.measure-card .guides, .measure-card .baseline { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.measure-card .guides { stroke: var(--grid); }
.measure-card .baseline { stroke: var(--line2); }
.measure-chart path.then, .measure-chart path.now { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.measure-chart path.soft { stroke: none; }
.area-top { stop-color: var(--accent); stop-opacity: 0.2; }
.area-bottom { stop-color: var(--accent); stop-opacity: 0; }
.measure-chart path.then { stroke: var(--previous); stroke-width: 1.4; stroke-dasharray: 5 5; }
.measure-chart path.now { stroke: var(--accent); stroke-width: 2.5; }
.measure-card.per-hour .measure-chart path.now { stroke-width: 1.5; }
.measure-chart path.now.partial { stroke-dasharray: 2 4; }
.measure-card .guide { stroke-dasharray: none; stroke-opacity: 0.3; }
.measure-card .x-axis span { font-size: 12px; }
@media (width < 700px) {
  .measure-card .x-axis { display: flex; justify-content: space-between; }
  .measure-card .x-axis > span:nth-child(2) { display: none; }
}
.chart-card { margin-top: 12px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.chart-card h3 { margin: 0; }
/* R83, R105: the readout line is the peak as served and keeps its own height; the reading of a bucket is beside the bucket. */
section .chart-readout { max-width: none; height: 20px; margin: 4px 0 8px; overflow: hidden; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.plot > svg[role="img"] { max-width: none; }
/* R83: a vertical swipe on a plot still scrolls the page; the guide line is shown by the script through its display attribute. */
.plot > svg { touch-action: pan-y; }
.guide { stroke: var(--text); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; pointer-events: none; }
/* R86: the field and the empty row are made by the script; the status is read aloud, not seen. */
.filter { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; color: var(--muted); font-size: 13px; }
.filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-match td { color: var(--muted); text-align: left; }
.chart-card .legend { min-height: 48px; }
.chart-card summary { display: flex; align-items: center; min-height: var(--target); cursor: pointer; }
.chart-card summary:hover { background: var(--hover); }
.chart-card summary::before { content: "\25B8"; width: 16px; color: var(--muted); }
.chart-card details[open] summary::before { content: "\25BE"; }
.chart-card details .tablebox { border-top: 1px solid var(--line); }
.chart-card caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.line-chart path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.line-chart path.area { fill: var(--soft); stroke: none; }
.line-chart path.now { stroke: var(--accent); stroke-width: 2; }
.line-chart path.now.partial { stroke-dasharray: 2 4; }
.line-chart path.then { stroke: var(--previous); stroke-width: 1.5; stroke-dasharray: 6 4; }
.line-chart .marker { fill: var(--card); stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.line-chart .marker.partial, .line-chart .marker.so-far { stroke-dasharray: 2 2; }
.dot.k-now, .dot.k-before, .dot.k-dash { width: 16px; height: 0; background: none; border-radius: 0; }
.dot.k-now { border-top: 2px solid var(--accent); }
.dot.k-before { border-top: 2px dashed var(--previous); }
.dot.k-dash { border-top: 2px dotted var(--accent); }
.dot.k-lone, .dot.k-open { box-sizing: border-box; background: var(--card); border: 2px dashed var(--accent); }
.dot.k-marker { box-sizing: border-box; background: var(--card); border: 2px solid var(--accent); }

/* Health (R166, R167): check cards, then the sections; self-contained, every rule starts with .hl. */
.hl { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.hl p, .hl ul { max-width: none; margin: 0; padding: 0; list-style: none; }
.hl-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.hl-title .hl-muted { font-size: 14px; }
.hl-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hl-s-good { color: var(--good); }
.hl-s-warn { color: var(--warn); }
.hl-s-bad { color: var(--bad); }
.hl-s-none { color: var(--muted); }
.hl-title h1 { font-size: 20px; }
.hl-muted { color: var(--muted); font-size: 13px; }
.hl-small { font-size: 12px; }
.hl-unit { color: var(--muted); font-size: 13px; font-weight: 400; }
.hl-bold { font-weight: 600; }
.hl-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.hl .hl-check { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: background-color 120ms; }
.hl .hl-check:hover { background: var(--hover); }
.hl .hl-check.hl-warn { border-color: var(--warnline); }
.hl .hl-check.hl-bad { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.hl-check .hl-state { font-size: 13px; }
.hl-name { font-weight: 600; }
.hl-value { font-size: 20px; font-weight: 600; }
.hl-figure { display: flex; align-items: baseline; gap: 8px; }
.hl .hl-card { display: block; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.hl .hl-card h2 { padding-bottom: 8px; }
.hl .hl-flow { display: flex; flex-direction: column; gap: 10px; }
.hl .hl-flow h2 { padding-bottom: 0; }
.hl .hl-tight { gap: 4px; }
.hl .hl-tight h2 { padding-bottom: 4px; }
.hl .hl-list { padding-bottom: 4px; }
.hl .hl-note { padding-bottom: 12px; color: var(--muted); font-size: 13px; }
.hl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.hl .hl-chart { margin: 0; padding: 0; background: none; border: 0; }
.hl .hl-chart .chart-readout { height: auto; margin: 0; overflow: visible; color: var(--text); font-size: 14px; line-height: 1.45; white-space: normal; }
.hl .hl-chart .y-axis, .hl .hl-chart .grid, .hl .hl-chart .read { display: none; }
.hl .hl-chart .plot > svg { width: 100%; height: 200px; }
.hl .hl-chart .axis line { stroke: var(--line2); vector-effect: non-scaling-stroke; }
.hl .hl-chart .x-axis { color: var(--muted); font-size: 12px; }
.hl-k-c2xx { fill: var(--c2xx); }
.hl-k-c3xx { fill: var(--c3xx); }
.hl-k-c4xx { fill: var(--c4xx); }
.hl-k-c5xx { fill: var(--c5xx); }
/* The other class would share the redirect colour; it takes the muted one here. */
.hl .hl-chart .bar.seg.cother, .hl .hl-chart .dot.cother { fill: var(--muted); background: var(--muted); }
.hl .hl-chart .chart { grid-template-columns: minmax(0, 1fr); }
.hl .hl-chart .plot, .hl .hl-chart .x-axis { grid-column: 1; }
.hl .hl-chart .legend { min-height: 0; margin: 8px 0 0; }
.hl-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.hl-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.hl-vitals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.hl-vital { display: flex; flex-direction: column; gap: 4px; }
.hl-spark { display: block; width: 100%; height: 70px; }
.hl-limit { fill: none; stroke: var(--warn); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.hl-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hl-rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, auto); column-gap: 12px; }
.hl-rows:has(> .hl-wrow) { grid-template-columns: minmax(0, 1fr) repeat(4, minmax(88px, auto)); }
.hl-row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; gap: 12px; min-height: 44px; border-top: 1px solid var(--row); }
.hl-row > .hl-num { font-weight: 600; text-align: right; }
.hl-stack { display: flex; flex-direction: column; min-width: 0; }
.hl-trunc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.hl-wrow > span:not(:first-child) { text-align: right; white-space: nowrap; }
.hl-cap > span { white-space: nowrap; }
/* A header never widens a column: it is cut with an ellipsis when its figure column is the narrower. */
.hl-cap > span:not(:first-child) { contain: inline-size; overflow: hidden; text-overflow: ellipsis; }
.hl-cap { min-height: 32px; border-top: 0; color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
@media (width < 700px) {
  .hl-rows:has(> .hl-wrow) { grid-template-columns: minmax(0, 1fr) repeat(4, minmax(56px, auto)); column-gap: 6px; font-size: 13px; }
  .hl-wrow { gap: 6px; }
  .hl-cap { letter-spacing: 0; }
}
@media (max-width: 699px) {
  svg.row-trend { display: none; }
  /* The phone board lists 6 pages and 5 rows of each of the two lists, with no "All" on those lists. */
  .traffic-lists #top-pages > :nth-child(n+8), .traffic-lists .list-card > .share-row:nth-child(n+7), .traffic-lists .list-card > .all-list { display: none; }
  /* R152, R169: the phone header is the mark and the name; a site page keeps the mark alone, the switcher and the tabs, and the range button sits under it, between the steps. */
  .where, .slash, .share, .presets { display: none; }
  /* R178: below 700 px the button is 44 px and comes before the range button. */
  .overview-header > a.theme { order: 1; margin-left: auto; }
  .overview-header > .range-control { order: 2; margin-left: 0; }
  .site-header > a.theme { grid-area: 1 / 3; }
  /* R172: below 700 px the CSV link is an icon-only square after the theme button, at the far right of row one. */
  .site-header > .header-actions { display: contents; }
  .site-header > .header-actions > .csv { grid-area: 1 / 4; justify-content: center; width: var(--target); min-height: var(--target); padding: 0; }
  .csv-text { display: none; }
  .overview-header .step { display: none; }
  .overview-header .range-menu summary { min-height: 40px; }
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .site-header > .brand { min-width: 32px; }
  .site-header .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header > .switcher { grid-area: 1 / 2; }
  .site-header > nav[aria-label="Tabs"] { grid-area: 2 / 1 / 3 / 5; justify-self: stretch; }
  nav[aria-label="Tabs"] a { flex: 1; padding: 0; }
  .site-header > .range-control { position: absolute; grid-area: auto; justify-self: stretch; top: 100%; right: var(--gutter); left: var(--gutter); margin-top: 14px; }
  .site-header + main > p.dates { display: none; }
  .site-header + main { padding-top: 70px; }
  .site-head + li > .site-row { border-top: 0; }
  #sites.card { padding-top: 4px; padding-bottom: 4px; }
  .changes { grid-template-columns: minmax(0, 1fr) auto; }
  .change-row { grid-template-areas: "path views" "site delta"; gap: 2px 12px; padding: 8px 0; }
  .card-head p, .against { display: none; }
  .hours .card-head p.busiest { display: block; }
  body > footer { flex-direction: column; gap: 6px; }
  body > footer a { min-height: 32px; }
  body > footer .last { display: none; }
  /* R157: below 700 px the four measures form two rows of two, the change under the figure, and the chart is lower. */
  .measures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  a.measure { padding: 12px 16px 9px; }
  .measures li:nth-child(odd) a.measure { border-right: 1px solid var(--row); }
  .measures li:nth-child(n+3) a.measure { border-top: 1px solid var(--row); }
  .m-line { flex-direction: column; align-items: flex-start; }
  .m-value { font-size: 20px; }
  .measure-body { gap: 8px; padding: 12px 16px 14px; }
  .measure-head { min-height: 18px; }
  .measure-card .chart-readout { gap: 0 6px; font-size: 13px; }
  .r-sw, .grains { display: none; }
  .m-vs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .measure-card .chart-readout { display: block; }
  .r-day, .r-cur, .r-prev { display: inline; }
  .r-cur::before, .r-prev::before { content: "\00B7"; margin: 0 6px; }
  .r-prev { font-size: 13px; }
  .measure-card .plot > svg { height: 180px; }
  /* R84, R104: on a phone the served peak line keeps two lines, so its marks are never cut. */
  section .chart-readout { height: 40px; white-space: normal; }
  /* R111: a list or a figures table with more than two figure columns stacks the extra figures under its label. */
  .ranked table.stack, .ranked .stack tbody, .tablebox table:has(td:nth-child(4)), .tablebox table:has(td:nth-child(4)) tbody { display: block; }
  .ranked .stack caption, .tablebox table:has(td:nth-child(4)) caption { display: block; }
  .ranked .stack colgroup { display: none; }
  .ranked .stack tr[hidden], .tablebox table:has(td:nth-child(4)) tr[hidden] { display: none; }
  .ranked .stack thead, .tablebox table:has(td:nth-child(4)) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ranked .stack tr, .tablebox table:has(td:nth-child(4)) tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 4px 0; border-bottom: 1px solid var(--row); }
  .ranked .stack th[scope="row"], .ranked .stack td, .tablebox table:has(td:nth-child(4)) th[scope="row"], .tablebox table:has(td:nth-child(4)) td { padding: 2px 8px; border: 0; text-align: left; }
  .ranked .stack th[scope="row"], .tablebox table:has(td:nth-child(4)) th[scope="row"] { grid-column: 1 / -1; }
  .ranked .stack td::before, .tablebox table:has(td:nth-child(4)) td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 12px; }
}
@media (min-width: 700px) {
  :root { --gutter: 20px; }
  a.brand > svg { width: 22px; height: 22px; }
  .presets { display: flex; }
  .theme-sep { display: block; }
  .range-menu { display: none; }
  .totals { display: flex; width: auto; gap: 28px; }
  .total { padding: 0; background: none; border: 0; border-radius: 0; }
  .t-line { flex-direction: row; align-items: baseline; gap: 8px; }
  .totals .t-figure { font-size: 24px; }
  .banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .banner .state { width: 12px; height: 12px; margin-top: 0; }
  .look-body { display: contents; }
  .look-open { display: inline; margin-left: auto; color: var(--muted); font-size: 13px; }
  .look-title::after { content: ""; }
  .look-site::after { content: ": "; }
  .look-title { margin-right: 0; }
  #sites.card { padding: 8px 20px 4px; }
  #path-changes.card { padding: 16px 20px 4px; }
  .sites, .changes { grid-template-columns: minmax(0, 1fr) 96px minmax(80px, auto) minmax(64px, auto); }
  .sites > .site-head { display: grid; align-items: center; gap: 12px; min-height: 36px; color: var(--muted); font-size: 12px; letter-spacing: 0.72px; text-transform: uppercase; }
  .site-row .c-series, .change-row .c-series { display: block; }
  .change-row { grid-template-areas: none; gap: 12px; padding: 4px 0; }
  .change-row .c-path { display: flex; flex-direction: column; min-width: 0; }
  .change-row .c-path .trunc, .change-row .c-site, .change-row .c-views, .change-row .c-change { grid-area: auto; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .site-header { padding-top: 8px; row-gap: 2px; }
  .overview-header { padding-top: 8px; padding-bottom: 8px; }
  input { width: auto; }
  .filter { flex-direction: row; align-items: center; gap: 8px; }
}
@media (min-width: 1000px) {
  svg.spark[role="img"] { width: 120px; }
  .tile svg.spark[role="img"] { width: 100%; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .chart-card .legend { min-height: 24px; }
}
/* R165: the Pages tab: a ranked list of links on a six-column grid; the trend and the share are left out below 700 px (R169). */
.page-head, .path-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.page-title { display: flex; flex-direction: column; gap: 2px; }
.page-title h2, h2.page-name { font-size: 20px; }
.page-title .unit { margin-left: 4px; color: var(--muted); font-size: 14px; font-weight: 400; }
.page-title .meta { margin: 0; color: var(--muted); font-size: 13px; }
.page-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.field svg { flex: none; color: var(--muted); }
.field input { width: 180px; min-width: 0; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; outline: 0; }
.field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.segmented { display: flex; }
.card.pages { padding: 8px 16px 4px; }
.card.pages { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto minmax(64px, auto); column-gap: 12px; }
.card.pages > :not(.page-cap):not(.page-rows) { grid-column: 1 / -1; }
.page-rows { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; }
.page-rows > li { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; }
.page-rows > li[hidden], .sites > li[hidden], .changes > li[hidden] { display: none; }
.page-row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: center; gap: 12px; width: 100%; min-height: 44px; border-top: 1px solid var(--row); text-decoration: none; transition: background-color 120ms; }
a.page-row:hover { background: var(--hover); }
.page-row .c-series, .page-row .c-share { display: none; }
.page-row .c-rank { color: var(--muted); font-size: 13px; }
.page-rows .c-views { font-weight: 600; text-align: right; }
.page-row .c-share { color: var(--muted); font-size: 13px; text-align: right; }
.marks { display: block; color: var(--muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.page-cap > span { white-space: nowrap; }
.page-cap { min-height: 36px; border-top: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.72px; text-transform: uppercase; }
.page-cap .c-views, .page-cap .c-share, .page-cap .c-change { text-align: right; }
.page-rest { display: none; }
.more-toggle:checked ~ .page-rest { display: grid; }
.more-row { display: flex; align-items: center; width: 100%; min-height: 44px; border-top: 1px solid var(--row); color: var(--muted); cursor: pointer; }
.more-row:hover { background: var(--hover); }
.more-toggle:focus-visible ~ .more-row { outline: 2px solid var(--accent); outline-offset: -2px; }
.more-row .when-open, .more-toggle:checked ~ .more-row .when-closed { display: none; }
.more-toggle:checked ~ .more-row .when-open { display: inline; }
.pages.filtering .more-row { display: none; }
.no-match { margin: 0; padding: 12px 0; border-top: 1px solid var(--row); color: var(--muted); }
.no-match[hidden] { display: none; }
/* R121, R122: one page: its figures and 240 px daily bars; a bar is drawn larger than seen, its stroke in the card colour showing as the 4 px gap and the corners. */
.back { min-height: 36px; color: var(--muted); font-size: 14px; text-decoration: none; }
.path-head { margin: 4px 0 16px; }
h2.page-name { overflow-wrap: anywhere; }
.path-figures { display: flex; flex-wrap: wrap; gap: 28px; }
.path-figure { display: flex; flex-direction: column; gap: 2px; }
.figure-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.big { font-size: 24px; font-weight: 600; }
.small { font-size: 12px; }
.path-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; }
.path-readout { display: flex; flex-wrap: wrap; gap: 0 16px; min-height: 22px; margin: 0; }
.day-plot { border-bottom: 1px solid var(--line2); }
svg.day-bars[role="img"] { display: block; width: 100%; max-width: none; height: 240px; overflow: hidden; }
.day-bars .pv-bar { fill: var(--bar); stroke: var(--card); stroke-width: 4px; }
.day-bars .slot.on .pv-bar { fill: var(--accent); }
.day-bars .pv-box { fill: var(--line2); stroke: var(--card); stroke-width: 4px; }
.day-bars .pv-box-in { fill: color-mix(in srgb, var(--line2) 25%, var(--card)); stroke: var(--card); stroke-width: 6px; }
.day-bars .hit { fill: none; pointer-events: all; }
.path-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.path-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--muted); font-size: 13px; }
.key { display: inline-flex; align-items: center; gap: 6px; }
.swatch { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.swatch.pv-bar { background: var(--bar); }
.swatch.pv-box { background: color-mix(in srgb, var(--line2) 25%, var(--card)); border: 1px solid var(--line2); border-radius: 2px; }
.path-note { margin: 16px 0 0; }
@media (min-width: 700px) {
  .card.pages { padding: 8px 20px 4px; }
  .card.pages { grid-template-columns: 28px minmax(0, 1fr) 96px minmax(80px, auto) minmax(52px, auto) minmax(64px, auto); }
  .page-row .c-series, .page-row .c-share { display: block; }
}
/* The collection status page: one column of cards, 880 px wide, each fact and row on the same grid as the board. */
body > header.status-header { --edge: max(20px, calc((100% - 880px) / 2 + 20px)); display: flex; align-items: center; gap: 12px; }
.status-header .where { color: var(--muted); }
main:has(> .status) { max-width: 880px; padding: 20px 20px 40px; }
.status { display: flex; flex-direction: column; gap: 16px; }
.status-lead { display: flex; flex-direction: column; gap: 2px; }
.status-lead h1 { display: flex; align-items: center; gap: 10px; }
.status-lead h1 .state { width: 12px; height: 12px; }
.status-lead p, .status .meta { margin: 0; color: var(--muted); }
.status .card { padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.status .card.notice { display: flex; flex-direction: column; gap: 4px; background: var(--warnbg); border-color: var(--warnline); }
.status .notice .head { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status .notice .head .state { width: 11px; height: 11px; }
.status .notice p { margin: 0; }
.status .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; margin: 0; font-size: 14px; }
.status .facts > div { display: flex; flex-direction: column; gap: 2px; }
.status .facts dt { margin: 0; color: var(--muted); font-size: 13px; }
.status .facts dd { margin: 0; }
.status .facts .big { font-size: 20px; font-weight: 600; }
.status .facts .note { color: var(--muted); }
.status summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 36px; list-style: none; cursor: pointer; }
.status summary::-webkit-details-marker { display: none; }
.status summary .more { color: var(--muted); text-decoration: underline; }
.status .card h2 { padding-bottom: 8px; }
.status .card.tight { padding-bottom: 4px; }
.status .rows { margin: 0; padding: 0; list-style: none; }
.status details .rows { padding-top: 8px; }
.status .rows li { display: grid; align-items: center; gap: 4px 12px; min-height: 44px; padding: 8px 0; border-top: 1px solid var(--row); }
.status .rows .quiet { color: var(--muted); }
.status .kinds li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "grain last"; }
.status .kinds .name { grid-area: name; }
.status .kinds .grain { grid-area: grain; }
.status .kinds .when { grid-area: last; text-align: right; }
.status .failures li { grid-template-columns: minmax(0, 1fr); }
.status .failures .retried { color: var(--muted); }
@media (min-width: 560px) {
  .status .kinds li { grid-template-columns: minmax(0, 1fr) 120px 96px; grid-template-areas: "name grain last"; }
  .status .failures li { grid-template-columns: 170px minmax(0, 1fr) 96px; }
  .status .failures .retried { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
