/* Argus: tokens first, light and dark from the same roles. */
:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --surface: #fcfcfb;
  --surface-2: #f0efec;
  --surface-3: #e7e6e1;
  --border: #e2e1dc;
  --border-strong: #cfcec8;
  --text: #0b0b0b;
  --text-2: #52514e;
  --muted: #7c7b75;
  --accent: #2a78d6;
  --accent-soft: #e3eefb;
  --good: #0ca30c;
  --good-text: #006300;
  --warning: #fab219;
  --warning-text: #8a5a00;
  --serious: #ec835a;
  --critical: #d03b3b;
  --critical-text: #b42c2c;
  --good-soft: #e5f4e3;
  --warning-soft: #fdf1d6;
  --critical-soft: #fbe4e2;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948;
  --grid: #e9e8e3;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 2px 8px rgb(0 0 0 / 4%);
  --radius: 14px;
  --side: 248px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111110;
    --surface: #1a1a19;
    --surface-2: #222220;
    --surface-3: #2b2b28;
    --border: #2b2b29;
    --border-strong: #3b3b37;
    --text: #f0efec;
    --text-2: #c3c2b7;
    --muted: #8f8e86;
    --accent: #3987e5;
    --accent-soft: #1b2b40;
    --good-text: #4fcf4f;
    --warning-text: #fab219;
    --critical-text: #f07272;
    --good-soft: #15281a;
    --warning-soft: #2d2512;
    --critical-soft: #331a1a;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
    --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
    --grid: #262624;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111110;
  --surface: #1a1a19;
  --surface-2: #222220;
  --surface-3: #2b2b28;
  --border: #2b2b29;
  --border-strong: #3b3b37;
  --text: #f0efec;
  --text-2: #c3c2b7;
  --muted: #8f8e86;
  --accent: #3987e5;
  --accent-soft: #1b2b40;
  --good-text: #4fcf4f;
  --warning-text: #fab219;
  --critical-text: #f07272;
  --good-soft: #15281a;
  --warning-soft: #2d2512;
  --critical-soft: #331a1a;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --grid: #262624;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
.num, .value, td.n { font-variant-numeric: tabular-nums; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Layout */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  padding: 18px 14px; border-right: 1px solid var(--border); background: var(--surface);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 8px 18px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 17px; letter-spacing: -0.01em; }
.brand small { color: var(--muted); font-size: 12px; }
.nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.nav-group { margin: 16px 10px 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px;
  text-decoration: none; color: var(--text-2); font-weight: 500;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--text); }
.nav a[aria-current="page"] svg { color: var(--accent); }
.nav .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { min-width: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; font-weight: 600; text-align: center; background: var(--critical); color: #fff; }
.side-foot { display: flex; align-items: center; gap: 4px; padding-top: 12px; border-top: 1px solid var(--border); }
.side-foot form { margin: 0; }
.ver { margin-left: auto; color: var(--muted); font-size: 12px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

.main { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px;
  padding: 16px 32px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--border); }
.top .menu { display: none; }
.top-title { display: flex; align-items: baseline; gap: 12px; min-width: 0; flex: 1; }
.top-title h1 { font-size: 22px; white-space: nowrap; }
.subtitle { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-tools { display: flex; align-items: center; gap: 14px; }
.fresh { color: var(--muted); font-size: 12.5px; white-space: nowrap; min-width: 110px; text-align: right; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.seg button {
  border: 0; background: transparent; padding: 5px 11px; border-radius: 7px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
#view { padding: 8px 32px 48px; outline: none; max-width: 1680px; width: 100%; }

/* Status words: always icon + text, never color alone. */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--text-2);
}
.pill svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.pill.ok { background: var(--good-soft); color: var(--good-text); }
.pill.warning { background: var(--warning-soft); color: var(--warning-text); }
.pill.critical { background: var(--critical-soft); color: var(--critical-text); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--muted); }
.dot.ok { background: var(--good); }
.dot.warning { background: var(--warning); }
.dot.critical { background: var(--critical); box-shadow: 0 0 0 3px var(--critical-soft); }
.dot.info { background: var(--accent); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.section-title { display: flex; align-items: center; gap: 10px; margin: 30px 2px 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.section-title button { border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }

/* Overview */
.hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-top: 8px; }
.hero-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--good-soft); color: var(--good-text); flex: none; }
.hero-icon svg.i { width: 28px; height: 28px; stroke-width: 2.2; }
.hero.warning .hero-icon { background: var(--warning-soft); color: var(--warning-text); }
.hero.critical .hero-icon { background: var(--critical-soft); color: var(--critical-text); }
.hero h2 { font-size: 20px; }
.hero p { margin: 2px 0 0; color: var(--text-2); }
.hero-stats { margin-left: auto; display: flex; gap: 28px; }
.hero-stats div { display: flex; flex-direction: column; align-items: flex-end; }
.hero-stats b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--muted); font-size: 12.5px; }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 18px; }
.project { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s; }
.project:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.project-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
.project-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); flex: none; }
.project-icon svg.i { width: 22px; height: 22px; }
.project-head h3 { font-size: 17px; }
.project-head p { margin: 0; color: var(--muted); font-size: 13px; }
.project-head .pill { margin-left: auto; }
.project-alerts { margin: 14px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.project-alert { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; color: var(--text-2); }
.project-alert .dot { transform: translateY(1px); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1px; margin: 16px 20px 0; border-radius: 10px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.kpi { background: var(--surface); padding: 10px 12px; min-width: 0; }
.kpi span { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b .dot { width: 7px; height: 7px; }
.spark { position: relative; margin-top: 14px; height: 74px; }
.spark-label { position: absolute; left: 20px; top: 0; font-size: 12px; color: var(--muted); }
.spark svg { display: block; width: 100%; height: 100%; }
.project-foot { display: flex; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--border); margin-top: auto; }
.project-foot.flush { border-top: 0; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; background: var(--surface);
}
.link-btn:hover { color: var(--text); border-color: var(--border-strong); }
.link-btn svg.i { width: 14px; height: 14px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Alerts */
.alerts { display: flex; flex-direction: column; gap: 10px; }
.alert { display: grid; grid-template-columns: 4px 1fr auto; gap: 0 16px; align-items: center; padding: 14px 18px 14px 0; overflow: hidden; }
.alert::before { content: ""; align-self: stretch; margin: -14px 0; background: var(--muted); }
.alert.critical::before { background: var(--critical); }
.alert.warning::before { background: var(--warning); }
.alert.pending::before { background: repeating-linear-gradient(45deg, var(--muted) 0 4px, transparent 4px 8px); }
.alert-main { min-width: 0; }
.alert-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alert-title b { font-weight: 600; }
.alert-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; color: var(--muted); font-size: 13px; }
.alert-meta code { font-size: 12px; }
.alert-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text-2);
}
.btn:hover { border-color: var(--border-strong); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg.i { width: 15px; height: 15px; }
.menu-float {
  position: fixed; z-index: 30; min-width: 180px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 11px; box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}
.menu-float button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13.5px; }
.menu-float button:hover, .menu-float button:focus-visible { background: var(--surface-2); }

.empty { padding: 26px; text-align: center; color: var(--muted); }
.empty.good { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--good-text); font-weight: 500; }

.timeline { list-style: none; margin: 0; padding: 6px 0; }
.timeline li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 9px 18px; }
.timeline li + li { border-top: 1px solid var(--border); }
.timeline .ev-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); }
.timeline .ev-icon svg.i { width: 13px; height: 13px; stroke-width: 2.4; }
.timeline .firing .ev-icon { background: var(--critical-soft); color: var(--critical-text); }
.timeline .firing.warning .ev-icon { background: var(--warning-soft); color: var(--warning-text); }
.timeline .resolved .ev-icon { background: var(--good-soft); color: var(--good-text); }
.timeline .ev-text { min-width: 0; font-size: 13.5px; }
.timeline .ev-text b { font-weight: 600; }
.timeline .ev-text div { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.timeline time { color: var(--muted); font-size: 12.5px; white-space: nowrap; }

/* Dashboard */
.dash-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.dash-head .links { margin-left: auto; display: flex; gap: 8px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.panel { grid-column: span var(--w, 3); padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; }
.panel-head { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.panel-head h3 { font-size: 13.5px; font-weight: 600; color: var(--text-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--muted); cursor: help; border: 0; background: none; padding: 0; }
.hint svg.i { width: 15px; height: 15px; }
.panel-err { color: var(--critical-text); font-size: 12.5px; margin-top: 8px; word-break: break-word; }

.stat-value { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.stat-value .value { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stat-value .unit { color: var(--muted); font-size: 14px; font-weight: 500; }
.stat-state { margin-top: 8px; }
.stat-multi { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.stat-multi div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.stat-multi span { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-multi b { font-weight: 600; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 6px; white-space: nowrap; }

.status-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.status-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.status-row .name { flex: 1; min-width: 0; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-row .state { font-weight: 600; font-size: 12.5px; }
.status-row.ok .state { color: var(--good-text); }
.status-row.critical .state { color: var(--critical-text); }

.chart { position: relative; margin-top: 8px; flex: 1; min-height: 210px; }
.chart .uplot { font-family: inherit; }
.chart .u-legend { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.legend button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; cursor: pointer; color: inherit; font-size: inherit; }
.legend button[aria-pressed="false"] { opacity: .4; }
.legend i { width: 12px; height: 3px; border-radius: 2px; }
.legend i.dashed { background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px) !important; height: 2px; }
.legend .lv { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.tip {
  position: fixed; z-index: 50; pointer-events: none; min-width: 160px; max-width: 340px; padding: 9px 11px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 8px 24px rgb(0 0 0 / 18%); font-size: 12.5px;
}
.tip time { display: block; color: var(--muted); margin-bottom: 4px; }
.tip div { display: flex; align-items: center; gap: 8px; }
.tip div span { flex: 1; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip div b { font-variant-numeric: tabular-nums; font-weight: 600; }
.tip i { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.bars { display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(80px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .name { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: var(--s1); min-width: 2px; }
.bar-fill.warning { background: var(--warning); }
.bar-fill.critical { background: var(--critical); }
.bar-row b { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }

.table-wrap { overflow-x: auto; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; }
td b { color: var(--text); font-weight: 600; }
td code, .code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
.code-block { display: block; white-space: pre-wrap; word-break: break-word; background: var(--surface-2); padding: 8px 10px; border-radius: 8px; color: var(--text-2); }

.list-card { padding: 4px 0; }
.list-card table td:first-child, .list-card table th:first-child { padding-left: 18px; }
.list-card table td:last-child, .list-card table th:last-child { padding-right: 18px; }

.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 0; }
.toolbar .spacer { flex: 1; }
.filter-input { padding: 7px 11px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); min-width: 220px; font: inherit; font-size: 13.5px; }

.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-size: 13.5px; box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
}
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .project { transition: none; } }

/* Login */
.login-body { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.login { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.login-brand div { display: flex; flex-direction: column; }
.login-brand b { font-size: 19px; }
.login-brand span { color: var(--muted); font-size: 13px; }
.login label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.login input { padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; }
.login button { margin-top: 4px; padding: 10px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.login button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.login button:disabled { opacity: .6; cursor: default; }
.login-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.login-error { margin: 0; padding: 10px 12px; border-radius: 9px; background: var(--critical-soft); color: var(--critical-text); font-size: 13.5px; }

/* Narrow screens */
@media (max-width: 1100px) {
  .panel { grid-column: span max(6, var(--w, 3)); }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 270px; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgb(0 0 0 / 25%); }
  .side.open { transform: none; }
  .top { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .top .menu { display: inline-grid; }
  .top-tools { width: 100%; justify-content: space-between; }
  .subtitle { display: none; }
  .top-title h1 { font-size: 19px; }
  #view { padding: 4px 16px 40px; }
  .panel { grid-column: span 12; }
  .projects { grid-template-columns: 1fr; }
  .hero { flex-wrap: wrap; }
  .hero-stats { margin-left: 0; width: 100%; justify-content: space-between; }
  .hero-stats div { align-items: flex-start; }
  .alert { grid-template-columns: 4px 1fr; }
  .alert-actions { grid-column: 2; justify-content: flex-start; margin-top: 10px; }
  .fresh { min-width: 0; }
}

.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stat-value .value.long { font-size: 21px; letter-spacing: -0.01em; }
[hidden] { display: none !important; }
