:root {
  --bg: #f5f6f8; --surface: #ffffff; --surface-2: #f0f2f5; --border: #dde1e7;
  --text: #1c2330; --muted: #5d6778; --accent: #2458d6; --accent-text: #ffffff;
  --ok: #1f7a4d; --ok-bg: #e3f4ea; --bad: #c0362c; --bad-bg: #fbe7e5;
  --warn: #9a5b00; --warn-bg: #fdf0da; --info: #2458d6; --info-bg: #e6eefc;
  --stale: #6b5a9e; --stale-bg: #eeeaf8; --dim-bg: #eceef1;
  --pm-apt: #1f7a4d; --pm-yumdnf: #a84f00; --pm-zypper: #2458d6; --brand: #5f259f;
  --risk-low: #1f7a4d; --risk-low-bg: #e3f4ea; --risk-medium: #7a6200; --risk-medium-bg: #faf0c4;
  --risk-high: #ad4a00; --risk-high-bg: #fde3cc; --risk-critical: #ffffff; --risk-critical-bg: #c0362c;
  /* Host list risk dots: the band's colour, vivid enough to read as green/yellow/orange/red, 3:1 on white. */
  --risk-low-dot: #2a9d5c; --risk-medium-dot: #bf8700; --risk-high-dot: #e16f24; --risk-critical-dot: #c0362c;
  --series-1: #2a78d6; --series-2: #eb6834;  /* Statistics charts: p50, p95 */
  --radius: 10px; --shadow: 0 1px 2px rgba(20, 30, 50, .06);
  color-scheme: light;
}
/* Dark: the system setting, unless the theme button chose one (data-theme on <html>, see base.html). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151c; --surface: #1a2029; --surface-2: #222a35; --border: #2e3744;
    --text: #e4e8ee; --muted: #97a1b1; --accent: #6c9bff; --accent-text: #0d1320;
    --ok: #5fcf92; --ok-bg: #173226; --bad: #ff7b70; --bad-bg: #3a1c1a;
    --warn: #f1b458; --warn-bg: #3a2c14; --info: #7ea8ff; --info-bg: #1b2a47;
    --stale: #b5a4ee; --stale-bg: #2a2440; --dim-bg: #232932;
    --pm-apt: #5fcf92; --pm-yumdnf: #f39a4b; --pm-zypper: #7ea8ff; --brand: #c4a3f5;
    --risk-low: #5fcf92; --risk-low-bg: #173226; --risk-medium: #e8c547; --risk-medium-bg: #35301a;
    --risk-high: #f39a4b; --risk-high-bg: #3d2614; --risk-critical: #1a0d0c; --risk-critical-bg: #ff7b70;
    --risk-low-dot: #5fcf92; --risk-medium-dot: #e8c547; --risk-high-dot: #f39a4b; --risk-critical-dot: #ff7b70;
    --series-1: #3987e5; --series-2: #d95926;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11151c; --surface: #1a2029; --surface-2: #222a35; --border: #2e3744;
  --text: #e4e8ee; --muted: #97a1b1; --accent: #6c9bff; --accent-text: #0d1320;
  --ok: #5fcf92; --ok-bg: #173226; --bad: #ff7b70; --bad-bg: #3a1c1a;
  --warn: #f1b458; --warn-bg: #3a2c14; --info: #7ea8ff; --info-bg: #1b2a47;
  --stale: #b5a4ee; --stale-bg: #2a2440; --dim-bg: #232932;
  --pm-apt: #5fcf92; --pm-yumdnf: #f39a4b; --pm-zypper: #7ea8ff; --brand: #c4a3f5;
  --risk-low: #5fcf92; --risk-low-bg: #173226; --risk-medium: #e8c547; --risk-medium-bg: #35301a;
  --risk-high: #f39a4b; --risk-high-bg: #3d2614; --risk-critical: #1a0d0c; --risk-critical-bg: #ff7b70;
  --risk-low-dot: #5fcf92; --risk-medium-dot: #e8c547; --risk-high-dot: #f39a4b; --risk-critical-dot: #ff7b70;
  --series-1: #3987e5; --series-2: #d95926;
  --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; }
h2 { font-size: 15px; margin: 0 0 12px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.small { font-size: 11.5px; }
.muted { color: var(--muted); }
.bad { color: var(--bad); }
.warn { color: var(--warn); }
.r { text-align: right; }
.grow { flex: 1; }
.nowrap { white-space: nowrap; }
/* Read by screen readers, not shown. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar { display: flex; align-items: center; gap: 24px; padding: 0 24px; height: 56px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text); white-space: nowrap; }
.brand svg { color: var(--accent); }
.topbar nav { display: flex; gap: 4px; }
.topbar nav a { padding: 6px 12px; border-radius: 6px; color: var(--muted); }
.topbar nav a.active, .topbar nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.me { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.me form { margin: 0; }
.theme-toggle { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted); cursor: pointer; flex: none; }
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
/* Rightmost in the top bar; after the signed-in user's name when there is one. */
.topbar > .theme-toggle { margin-left: auto; }
.topbar > .me + .theme-toggle { margin-left: -12px; }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); }

main { max-width: 1440px; margin: 0 auto; padding: 24px; }
.foot { position: fixed; right: 12px; bottom: 8px; z-index: 5; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.foot .pill { padding: 2px 8px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.foot .pill.ok::before, .foot .pill.bad::before { content: "● "; }
.foot .pill.ok::before { color: var(--ok); }
.foot .pill.bad { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
body:has(.foot) main { padding-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 16px; }
.narrow { max-width: 520px; margin: 40px auto; }
.narrow-left { max-width: 520px; }
.head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.head .ssh { display: inline-flex; gap: 6px; margin-left: auto; }
.back { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; }
.grid .card { margin-bottom: 0; min-width: 0; }
.grid + * { margin-top: 16px; }
.alert { background: var(--bad-bg); color: var(--bad); padding: 8px 12px; border-radius: 6px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { display: flex; flex-direction: column; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow); }
.tile:hover { text-decoration: none; border-color: var(--accent); }
.tile.on { outline: 2px solid var(--accent); outline-offset: -1px; }
.tile .n { font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tile .l { color: var(--muted); font-size: 12.5px; }
.t-ok { border-left-color: var(--ok); } .t-failed { border-left-color: var(--bad); } .t-overdue { border-left-color: var(--warn); }
.t-reboot { border-left-color: var(--info); } .t-stale { border-left-color: var(--bad); } .t-archived { border-left-color: var(--border); }
.t-na { border-left-color: var(--muted); }
.t-eol { border-left-color: var(--bad); border-left-style: dashed; }

.filters { display: flex; flex-direction: column; gap: 12px; }
.filters .row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.filters label.check { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; color: var(--text); padding-bottom: 7px; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
/* The main search: larger, with an icon and a stronger border than the other inputs. */
input[type=search] { width: 100%; padding: 10px 14px 10px 38px; font-size: 15px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%238a94a6' d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2Zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z'/%3E%3C/svg%3E") no-repeat 12px center; border: 1px solid color-mix(in srgb, var(--muted) 55%, var(--border)); }
input[type=search]::placeholder { color: var(--muted); opacity: 1; }
input[type=search]:hover { border-color: var(--muted); }
input.num { width: 80px; }
textarea { width: 100%; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.filters label.chip { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid var(--border); border-radius: 99px; cursor: pointer; font-size: 13px; color: var(--text); user-select: none; }
.chip input { margin: 0; }
.chip:has(input:checked) { background: var(--surface-2); border-color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; padding: 7px 14px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--bad); border-color: var(--bad); }
.btn.small { padding: 3px 9px; font-size: 12.5px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.actions form { margin: 0; }
form.inline { display: inline-flex; gap: 6px; }
form.inline input { width: 150px; padding: 3px 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }

.count { margin: 0 0 8px; }
.bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; }
.bulk input[type=text] { flex: 1; min-width: 200px; }
th.sel, td.sel { width: 1%; padding-right: 0; }
/* Host list: the SSH button, as tall as a status pill so rows keep their height, and the risk dot
   column, right before the host name. */
td.ssh .btn { padding: 1px 9px; font-size: 12px; }
th.dot, td.dot { width: 1%; padding-right: 0; }
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; }
table.hosts { min-width: 1100px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; }
th a { color: inherit; }
th a.sorted::after { content: " ▲"; font-size: 10px; }
th a.sorted.desc::after { content: " ▼"; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td.empty { text-align: center; color: var(--muted); padding: 32px; }
tr.dim td { opacity: .55; }
/* A host that stopped reporting: red edge and tint on the row, red "Seen". */
tbody tr.stale { background: color-mix(in srgb, var(--bad-bg) 45%, transparent); }
tbody tr.stale:hover { background: var(--bad-bg); }
tbody tr.stale > td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
td.seen-stale, .seen-stale { color: var(--bad); font-weight: 600; }
.host { font-weight: 600; }
.sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.sub.warn { color: var(--warn); }
.sub.bad { color: var(--bad); font-weight: 600; }
.ellipsis { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Wraps in a narrow column, at most 3 lines; the cell's title has the full text. */
.clamp { max-width: 180px; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: 11.5px; padding: 1px 8px; border-radius: 99px; background: var(--info-bg); color: var(--info); white-space: nowrap; }
.tag:hover { text-decoration: none; filter: brightness(1.1); }
.kind { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); white-space: nowrap; }

.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.s-ok { background: var(--ok-bg); color: var(--ok); } .s-failed { background: var(--bad-bg); color: var(--bad); }
.s-overdue { background: var(--warn-bg); color: var(--warn); } .s-reboot { background: var(--info-bg); color: var(--info); }
/* Stale (no report for STALE_HOURS): red outline like .btn.danger, so it reads apart from the filled "Failed". */
.s-stale { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); } .s-archived { background: var(--dim-bg); color: var(--muted); }
/* N/A (no patch run on record yet): grey like "Decom", with a grey outline so the two read apart. */
.s-na { background: var(--dim-bg); color: var(--muted); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 45%, transparent); }

/* Risk score (risk.py) and CVE severity: green Low, yellow Medium, orange High, solid red Critical.
   The same four colours everywhere, explained by the legend (risk_legend macro). */
.risk { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-low { background: var(--risk-low-bg); color: var(--risk-low); } .r-medium { background: var(--risk-medium-bg); color: var(--risk-medium); }
.r-high { background: var(--risk-high-bg); color: var(--risk-high); } .r-critical { background: var(--risk-critical-bg); color: var(--risk-critical); }
.r-none { background: var(--dim-bg); color: var(--muted); }
/* The host list's risk dot (risk_dot macro) in its band's --risk-*-dot colour; grey in the column header. */
.risk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; background: var(--muted); }
.risk-dot.r-low { background: var(--risk-low-dot); } .risk-dot.r-medium { background: var(--risk-medium-dot); }
.risk-dot.r-high { background: var(--risk-high-dot); } .risk-dot.r-critical { background: var(--risk-critical-dot); }
.dot-key { display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; }
.risk.big { font-size: 30px; padding: 6px 14px; border-radius: 10px; line-height: 1.1; }
.risk.big small { display: block; font-size: 12px; font-weight: 600; text-align: center; }
a.risk-link:hover { text-decoration: none; filter: brightness(1.05); }
.risk-card { border-left-width: 4px; }
.risk-card.r-low { border-left-color: var(--risk-low); } .risk-card.r-medium { border-left-color: var(--risk-medium); }
.risk-card.r-high { border-left-color: var(--risk-high); } .risk-card.r-critical { border-left-color: var(--risk-critical-bg); }
.risk-card.r-low, .risk-card.r-medium, .risk-card.r-high, .risk-card.r-critical { background: var(--surface); color: var(--text); }
.risk-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.risk-head::-webkit-details-marker { display: none; }
.risk-head h2 { margin: 0 0 4px; }
.risk-head p { margin: 0; }
table.reasons { width: auto; margin: 4px 0 12px; }
table.reasons td { padding: 4px 12px 4px 0; border: 0; }
table.reasons tr:hover { background: none; }
.risk-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.risk-legend .risk { font-size: 11.5px; font-weight: 600; }
.count-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.count-row .count { margin: 0; }
.cve-counts { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 12px; }
.kev { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--risk-critical-bg); color: var(--risk-critical); white-space: nowrap; }
table.cves .ellipsis { max-width: 360px; }
tbody tr.kev-row > td:first-child { box-shadow: inset 3px 0 0 var(--risk-critical-bg); }

/* Package manager names (pkg_manager macro). One colour each; a new one is bold in the text colour
   until it gets a --pm-<name> colour here and in the macro's list. */
.pm { font-weight: 700; }
.pm-apt { color: var(--pm-apt); } .pm-yumdnf { color: var(--pm-yumdnf); } .pm-zypper { color: var(--pm-zypper); }

dl { display: grid; grid-template-columns: 160px 1fr; gap: 7px 12px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
details > summary { cursor: pointer; list-style: none; }
details > summary h2 { display: inline; }
details > summary::before { content: "▸ "; color: var(--muted); }
details[open] > summary::before { content: "▾ "; }
details[open] > summary { margin-bottom: 12px; }

/* Sign-in: the photo fills the screen below the top bar and fades into the page towards the bottom left;
   the sign-in panel is a narrow column (--login-panel) on the right. */
main:has(> .login-screen) { max-width: none; padding: 0; }
.login-screen { --login-panel: 7cm; display: grid; grid-template-columns: minmax(0, 1fr) var(--login-panel); min-height: calc(100dvh - 56px); }
.login-photo { position: relative; background: var(--brand) center / cover no-repeat; }
.login-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to top, var(--bg) 0%, color-mix(in srgb, var(--bg) 75%, transparent) 16%, transparent 45%),
  linear-gradient(to right, color-mix(in srgb, var(--bg) 80%, transparent) 0%, transparent 38%); }
.login-photo .caption { position: absolute; left: 40px; bottom: 36px; z-index: 1; color: var(--brand); }
.login-photo .caption p { margin: 8px 0 0; font-size: 15px; color: var(--text); }
.login-panel { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 32px 22px; background: var(--surface); border-left: 1px solid var(--border); }
/* itm8 SSO button in the itm8 brand purple. */
.btn.sso { background: #5f259f; border-color: #5f259f; color: #fff; font-weight: 600; padding: 10px 14px; }
.btn.sso:hover { background: #4e1c85; }
/* The wordmark has no descenders: its bottom edge is its baseline, so align it to the text's baseline. */
.btn.sso { align-items: baseline; gap: 6px; }
.btn.sso .itm8 { flex: none; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

/* Statistics (stats.html, stats.js): p50 in --series-1, p95 in --series-2, a pair validated for colour
   blindness on both themes' surfaces. Thin lines, hairline grid, one shared time axis per range. */
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg a { padding: 5px 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.seg a + a { border-left: 1px solid var(--border); }
.seg a:hover { background: var(--surface-2); text-decoration: none; }
.seg a.on { background: var(--surface-2); color: var(--text); font-weight: 600; }
.head .push { margin: 0 0 0 auto; }
.note { background: var(--info-bg); color: var(--info); padding: 8px 12px; border-radius: 6px; }
.tile.stat .n { font-size: 22px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 8px 16px; margin-bottom: 12px; }
.section-head h2 { margin: 0 0 2px; }
.section-head p { margin: 0; max-width: 760px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.key { display: inline-block; width: 14px; height: 2px; border-radius: 1px; flex: none; }
.k-p50 { background: var(--series-1); } .k-p95 { background: var(--series-2); }
.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px 24px; }
.chart { margin: 0; min-width: 0; }
.chart figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.chart figcaption .muted { font-weight: 400; font-variant-numeric: tabular-nums; }
.plot { position: relative; height: 150px; border-radius: 4px; }
.plot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.plot svg { display: block; overflow: visible; }
.plot .grid { stroke: var(--border); stroke-width: 1; }
.plot .base { stroke: color-mix(in srgb, var(--muted) 40%, var(--border)); stroke-width: 1; }
.plot .axis { fill: var(--muted); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.plot .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.plot .ln-p50 { stroke: var(--series-1); } .plot .ln-p95 { stroke: var(--series-2); }
.plot .dot { stroke: var(--surface); stroke-width: 2; }
.plot .dt-p50 { fill: var(--series-1); } .plot .dt-p95 { fill: var(--series-2); }
.plot .cross { stroke: var(--muted); stroke-width: 1; }
.tip { position: absolute; top: 4px; z-index: 2; pointer-events: none; padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); font-size: 12px; white-space: nowrap; }
.tip-t { color: var(--muted); margin-bottom: 2px; }
.tip-row { display: flex; align-items: center; gap: 6px; }
.tip-row b { font-variant-numeric: tabular-nums; }
.table-view { margin-top: 16px; }
.table-view .table-wrap { margin-top: 4px; }
table.nums td.r, table.nums th.r { font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  main { padding: 16px; }
  .topbar { padding: 0 16px; gap: 12px; }
  .me span:first-child { display: none; }
  .topbar nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .topbar nav a { white-space: nowrap; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tile .n { font-size: 20px; }
  table.hosts td { white-space: nowrap; }
  .me button { white-space: nowrap; }
  .grid { grid-template-columns: 1fr; }
  dl { grid-template-columns: 130px 1fr; }
  .charts { grid-template-columns: 1fr; }
  .head .push { margin-left: 0; }
  .login-screen { grid-template-columns: 1fr; grid-template-rows: 220px auto; }
  .login-photo .caption { left: 20px; bottom: 16px; }
  .login-panel { justify-content: start; padding: 24px 20px; border-left: 0; }
}
