/* Pulse – admin styles. Status colors follow a fixed status palette and always come with an icon + label. */

:root {
  color-scheme: light;
  --bg: #f5f5f3;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --border: #e3e2de;
  --border-strong: #cfcec8;
  --text: #17171a;
  --text-2: #52514e;
  --text-3: #7d7c76;
  --accent: #2a78d6;
  --accent-hover: #1c5cab;
  --accent-soft: #e9f1fc;
  --on-accent: #ffffff;
  --good: #0ca30c;
  --good-text: #067306;
  --good-soft: #e7f5e7;
  --warn: #fab219;
  --warn-text: #8a5a00;
  --warn-soft: #fff5de;
  --crit: #d03b3b;
  --crit-text: #b02a2a;
  --crit-soft: #fcebeb;
  --idle: #b4b3ad;
  --idle-soft: #efeeea;
  --series: #2a78d6;
  --grid: #ecebe7;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 18, .04), 0 1px 3px rgba(20, 20, 18, .05);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121211;
    --surface: #1a1a19;
    --surface-2: #20201e;
    --border: #2d2d2a;
    --border-strong: #3c3c38;
    --text: #f3f3f0;
    --text-2: #c3c2b7;
    --text-3: #8d8c84;
    --accent: #3987e5;
    --accent-hover: #5598e7;
    --accent-soft: #1a2738;
    --good-text: #4fc94f;
    --good-soft: #16261a;
    --warn-text: #fab219;
    --warn-soft: #2c2412;
    --crit-text: #f07474;
    --crit-soft: #331b1b;
    --idle: #5d5c57;
    --idle-soft: #262624;
    --series: #3987e5;
    --grid: #2a2a27;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0; }
h1 { font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; margin: 22px 0 4px; }
p { margin: 0 0 10px; }
code, pre { font-family: var(--mono); font-size: 13px; }
code { background: var(--idle-soft); padding: 1px 5px; border-radius: 4px; }
[hidden] { display: none !important; }

.muted { color: var(--text-3); }
.text-good { color: var(--good-text); }
.text-warn { color: var(--warn-text); font-weight: 600; }
.text-crit { color: var(--crit-text); font-weight: 600; }
.nowrap { white-space: nowrap; }
.break { word-break: break-all; }
.right { text-align: right; }
.pre { white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.brand svg { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--text-2);
  padding: 7px 11px;
  border-radius: 7px;
  white-space: nowrap;
  font-weight: 500;
}
.nav a:hover { background: var(--idle-soft); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.logout { display: flex; align-items: center; gap: 10px; margin: 0; }
.who { color: var(--text-3); font-size: 13px; white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; }
.footer { max-width: 1240px; margin: 0 auto; padding: 0 24px 32px; color: var(--text-3); font-size: 12px; }

/* ---------- page head */

.crumbs { color: var(--text-3); font-size: 13px; margin-bottom: 6px; }
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-head h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; }
.page-title { min-width: 0; }
.site-links { word-break: break-all; font-size: 14px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.actions-inline { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

/* ---------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 550;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: var(--text-3); text-decoration: none; }
.btn:focus-visible, .input:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--idle-soft); border-color: transparent; }
.btn-danger { background: var(--crit); border-color: var(--crit); color: #fff; }
.btn-danger:hover { background: #b02a2a; border-color: #b02a2a; }
.btn-danger-ghost { color: var(--crit-text); border-color: transparent; background: transparent; }
.btn-danger-ghost:hover { background: var(--crit-soft); border-color: transparent; }
.btn-sm { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.btn-xs { min-height: 0; padding: 0 7px; font-size: 12px; line-height: 1.6; border-radius: 5px; font-weight: 600; }
.site-url .btn-xs { margin-left: 4px; vertical-align: 1px; }
.btn-admin { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.btn-admin:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- badges */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px 2px 7px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  vertical-align: middle;
}
.badge-icon { font-size: 10px; line-height: 1; }
.badge-up { background: var(--good-soft); color: var(--good-text); }
.badge-up .badge-icon { color: var(--good); }
.badge-warning { background: var(--warn-soft); color: var(--warn-text); }
.badge-warning .badge-icon { color: var(--warn); }
.badge-down { background: var(--crit-soft); color: var(--crit-text); }
.badge-down .badge-icon { color: var(--crit); }
.badge-pending, .badge-paused { background: var(--idle-soft); color: var(--text-2); }
.badge-paused .badge-icon { font-size: 8px; letter-spacing: 0; }
h1 .badge { font-size: 13px; }

.chip {
  display: inline-block;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--idle-soft);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  margin-left: 4px;
  vertical-align: 1px;
}

/* ---------- banners, flashes, alerts */

.banner, .flash, .alert {
  border-radius: var(--radius);
  padding: 11px 15px;
  margin-bottom: 14px;
  border: 1px solid transparent;
}
.banner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 500; }
.banner a { font-weight: 600; white-space: nowrap; }
.banner-warn, .flash-warn, .alert-warning { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.banner-error, .flash-error, .alert-down { background: var(--crit-soft); border-color: color-mix(in srgb, var(--crit) 40%, transparent); }
.flash-ok { background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 35%, transparent); }
.alert-muted { background: var(--idle-soft); border-color: var(--border); }
.alert-down strong { color: var(--crit-text); }
.alert-warning strong { color: var(--warn-text); }
.warning-list { margin: 6px 0 0; padding-left: 18px; }
.warning-list li { margin: 4px 0; }
.inline-form { display: inline; margin-left: 8px; }

/* ---------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 18px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.card.danger { border-color: color-mix(in srgb, var(--crit) 30%, var(--border)); }
.empty { text-align: center; padding: 48px 24px; }
.empty h2 { font-size: 19px; margin-bottom: 8px; }
.empty p { max-width: 520px; margin-left: auto; margin-right: auto; color: var(--text-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.two-col > .card { margin-bottom: 18px; }

/* ---------- dashboard */

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  font: inherit;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.tile:hover { border-color: var(--border-strong); }
.tile-count { font-size: 28px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.tile[data-empty] .tile-count { color: var(--text-3); }
.tile-down:not([data-empty]) { border-color: color-mix(in srgb, var(--crit) 45%, var(--border)); }
.tile-down:not([data-empty]) .tile-count { color: var(--crit-text); }
.tile-warning:not([data-empty]) .tile-count { color: var(--warn-text); }
.tile[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.toolbar { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar input[type="search"] { flex: 1 1 260px; max-width: 420px; }
.toolbar select { flex: 0 1 220px; }

.card.table-card { padding: 0; overflow: hidden; }
table { border-collapse: collapse; width: 100%; }
th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.sites th, .sites td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.sites th { background: var(--surface-2); padding-top: 10px; padding-bottom: 10px; }
.sites tbody tr:last-child td { border-bottom: 0; }
.sites tbody tr { cursor: pointer; }
.sites tbody tr:hover td { background: var(--surface-2); }
.sites td:first-child, .sites th:first-child { padding-left: 20px; }
.sites td:last-child, .sites th:last-child { padding-right: 20px; color: var(--text-2); white-space: nowrap; }
.col-status { width: 1%; white-space: nowrap; }
.retry { display: block; font-size: 12px; color: var(--crit-text); margin-top: 3px; }
.col-site { min-width: 220px; }
.site-cell { display: flex; align-items: center; gap: 14px; }
.site-text { min-width: 0; }
.thumb {
  flex: none;
  display: block;
  width: 112px;
  height: 70px;
  border-radius: 6px;
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: top;
  background: var(--idle-soft);
}
.thumb-empty {
  background: repeating-linear-gradient(135deg, var(--idle-soft) 0 6px, var(--surface-2) 6px 12px);
}
.site-name { font-weight: 600; color: var(--text); }
.site-url { color: var(--text-3); font-size: 13px; word-break: break-all; }
.issue { font-size: 13px; margin-top: 3px; }
.issue-down { color: var(--crit-text); }
.issue-warning { color: var(--warn-text); }
.col-strip { width: 220px; }
.no-results { padding: 18px 20px; margin: 0; color: var(--text-3); }

.strip { display: block; width: 100%; max-width: 220px; height: 28px; }
.strip .hit { fill: transparent; }
.strip-up { fill: var(--good); }
.strip-warning { fill: var(--warn); }
.strip-down { fill: var(--crit); }
.strip-none { fill: var(--idle); opacity: .55; }
.strip g:hover path, .strip g:hover .strip-none { opacity: .7; }

/* ---------- site page */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 22px; font-weight: 650; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 13px; color: var(--text-2); }

.shot-link { display: block; }
.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--idle-soft);
}
.shot-empty {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  border: 1px dashed var(--border-strong);
  color: var(--text-3);
  font-size: 14px;
}
.card .hint.text-warn { font-weight: 500; }

.seg { display: inline-flex; background: var(--idle-soft); border-radius: 8px; padding: 3px; gap: 2px; }
.seg a { padding: 4px 11px; border-radius: 6px; color: var(--text-2); font-size: 13px; font-weight: 550; }
.seg a:hover { text-decoration: none; color: var(--text); }
.seg a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.rt-chart { position: relative; height: 240px; margin: 0 -6px; }
.rt-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rt-chart .grid line { stroke: var(--grid); stroke-width: 1; }
.rt-chart .axis text { fill: var(--text-3); font-size: 11px; font-family: inherit; }
.rt-chart .line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rt-chart .area { fill: var(--series); opacity: .08; }
.rt-chart .point { fill: var(--series); }
.rt-chart .outage { fill: var(--crit); opacity: .12; }
.rt-chart .tick-fail { fill: var(--crit); }
.rt-chart .tick-warn { fill: var(--warn); }
.rt-chart .slow-line { stroke: var(--text-3); stroke-dasharray: 3 4; stroke-width: 1; }
.rt-chart .slow-label { fill: var(--text-3); font-size: 11px; }
.rt-chart .cursor { stroke: var(--text-3); stroke-width: 1; }
.rt-chart .cursor-dot { fill: var(--series); stroke: var(--surface); stroke-width: 2; }
.chart-tip {
  position: absolute;
  pointer-events: none;
  background: var(--text);
  color: var(--surface);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 12.5px;
  line-height: 1.45;
  white-space: nowrap;
  transform: translateY(calc(-100% - 12px));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  z-index: 2;
}
.chart-tip strong { font-weight: 650; }
.chart-empty { padding: 30px 0; text-align: center; }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; font-size: 13px; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.key { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.key-line { height: 2px; background: var(--series); }
.key-warn { width: 4px; height: 10px; background: var(--warn); }
.key-fail { width: 4px; height: 10px; background: var(--crit); }
.key-outage { background: color-mix(in srgb, var(--crit) 18%, transparent); }

.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 14px; }
.table th { padding-top: 0; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .badge { font-size: 12px; }
.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; word-break: break-word; }

/* ---------- forms */

.form .field { margin-bottom: 16px; }
label, .label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"],
input:not([type]), select, textarea, .input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 11px;
  min-height: 38px;
}
textarea { resize: vertical; line-height: 1.45; }
.mono { font-family: var(--mono); font-size: 14px; }
input::placeholder, textarea::placeholder { color: var(--text-3); opacity: .85; }
.hint { font-size: 13px; color: var(--text-3); margin: 5px 0 0; }
.field-narrow { max-width: 260px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 18px; }
.fieldset { border: 0; border-top: 1px solid var(--border); margin: 22px 0 0; padding: 18px 0 0; min-width: 0; }
.fieldset legend { font-weight: 650; font-size: 16px; padding: 0 10px 0 0; }
.fieldset > .hint:first-of-type { margin: -2px 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0 0 12px; cursor: pointer; }
.check input { margin: 3px 0 0; width: 17px; height: 17px; flex: none; accent-color: var(--accent); }
.check-sm { font-size: 13px; margin-top: 8px; }
.radios { display: flex; flex-direction: column; gap: 2px; }
.subfields { border-left: 3px solid var(--border); padding-left: 16px; margin: 4px 0 14px; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.form-actions-split .hint { margin: 0; }
.sticky-actions {
  position: sticky;
  bottom: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  margin: -6px 0 18px;
  z-index: 5;
}
.report p { margin: 4px 0; }

.toc { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -6px 0 18px; font-size: 14px; }

pre.code {
  background: var(--idle-soft);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0 10px;
  overflow-x: auto;
  position: relative;
}
pre.code code { background: none; padding: 0; white-space: pre; }
.copy-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  min-height: 26px;
  padding: 2px 9px;
  font-size: 12px;
}

.syslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.syslist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sys-icon {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.syslist .ok .sys-icon { background: var(--good-soft); color: var(--good-text); }
.syslist .bad .sys-icon { background: var(--crit-soft); color: var(--crit-text); }
.syslist .unknown .sys-icon { background: var(--warn-soft); color: var(--warn-text); }
.syslist .muted { word-break: break-all; }

/* ---------- login / setup */

.bare { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.bare-wrap { width: 100%; max-width: 400px; padding: 32px 16px; }
.bare-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.bare-brand svg { color: var(--accent); }
.bare-card { padding: 26px; }
.bare-card h1 { font-size: 20px; margin-bottom: 14px; }
.bare-card .field { margin-bottom: 14px; }
.bare-card .btn-block { margin-top: 6px; min-height: 42px; }

/* ---------- narrow screens */

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .col-strip { width: 160px; }
}

@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px 0; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -8px; padding-bottom: 6px; }
  .logout { margin-left: auto; }
  .who { display: none; }
  .wrap { padding: 20px 16px 32px; }
  .footer { padding: 0 16px 24px; }
  h1 { font-size: 21px; }
  .card { padding: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .summary { grid-template-columns: repeat(2, 1fr); }
  .tile:last-child:nth-child(odd) { grid-column: span 2; }

  /* Site table becomes a list of cards. */
  .sites thead { display: none; }
  .sites, .sites tbody, .sites tr, .sites td { display: block; }
  .sites tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }
  .sites tbody tr:last-child { border-bottom: 0; }
  .sites td, .sites td:first-child, .sites td:last-child { padding: 0; border: 0; }
  .sites tbody tr:hover td { background: none; }
  .sites .col-site { grid-column: 1; grid-row: 1; min-width: 0; }
  .thumb { width: 80px; height: 50px; }
  .site-cell { gap: 12px; }
  .sites .col-status { grid-column: 2; grid-row: 1; text-align: right; width: auto; }
  .sites .col-strip { grid-column: 1 / -1; width: auto; }
  .sites .strip { max-width: none; }
  .sites td.num, .sites td[data-label="Checked"] {
    grid-column: auto;
    display: inline-flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    text-align: left;
  }
  .sites td[data-label]::before { content: attr(data-label); color: var(--text-3); }
}
