:root {
  --bg: #050508;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  --text: #f2f2f7;
  --text-dim: #a0a0b0;
  --text-faint: #6b6b7a;
  --green: #30d158;
  --yellow: #ffd60a;
  --red: #ff453a;
  --gray: #8e8e93;
  --accent: #5e5ce6;
  --accent-2: #0a84ff;
  --radius: 18px;
  --blur: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(94, 92, 230, 0.14), transparent 60%),
    radial-gradient(700px 500px at 85% 5%, rgba(10, 132, 255, 0.12), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(48, 209, 88, 0.08), transparent 60%);
  pointer-events: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 1.5rem;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left { display: flex; align-items: baseline; gap: 0.9rem; }
h1 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }

.all-status { font-size: 0.8rem; font-weight: 500; }
.all-status.ok { color: var(--green); }
.all-status.warn { color: var(--yellow); }
.all-status.bad { color: var(--red); }

.header-right { display: flex; gap: 1rem; align-items: center; font-size: 0.78rem; }

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(48, 209, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}

.dim { color: var(--text-dim); font-weight: 400; }
.admin-link { color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
.admin-link:hover { color: var(--accent-2); }
.telemetry-link { color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
.telemetry-link:hover { color: var(--accent-2); }

#banners { max-width: 1020px; margin: 1.1rem auto 0; padding: 0 1.5rem; }
.banner {
  border-radius: 14px;
  padding: 0.7rem 1.1rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  border: 1px solid;
  backdrop-filter: blur(14px);
}
.banner-incident { background: rgba(255, 69, 58, 0.1); border-color: rgba(255, 69, 58, 0.28); color: var(--red); }
.banner-maintenance { background: rgba(255, 214, 10, 0.08); border-color: rgba(255, 214, 10, 0.25); color: var(--yellow); }

main {
  max-width: 1020px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

/* ===== GLOBE ===== */
#globe-section { margin-bottom: 2.2rem; }
.globe-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  overflow: hidden;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.globe-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem 0;
}
.globe-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.globe-legend { display: flex; gap: 1rem; font-size: 0.72rem; color: var(--text-faint); }
.globe-legend span { display: flex; align-items: center; gap: 0.35rem; }
.globe-svg { width: 100%; height: auto; display: block; }

.map-stage { position: relative; }
#world-canvas { width: 100%; height: auto; display: block; }
.globe-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.globe-dot-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodePulse 2.4s ease-out infinite;
}
@keyframes nodePulse {
  0% { opacity: 0.7; transform: scale(0.6); }
  70% { opacity: 0; transform: scale(2.6); }
  100% { opacity: 0; transform: scale(2.6); }
}
.globe-node {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodeBreathe 3s ease-in-out infinite;
}
@keyframes nodeBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}
.globe-line {
  stroke-dasharray: 6 6;
  animation: dashFlow 3s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}
.globe-nodelabel { font-size: 11px; fill: var(--text-dim); font-weight: 600; }

.globe-stats-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 0 1.4rem 1.3rem;
}
.globe-stat-group { }
.globe-stat-head { font-size: 0.68rem; color: var(--text-faint); margin: 0 0 0.4rem 0.2rem; display: flex; align-items: center; gap: 0.4rem; }
.globe-stat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.globe-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.7rem;
  padding: 0 1.4rem 1.3rem;
}
.globe-stat {
  display: flex; align-items: center; gap: 0.8rem;
  border-radius: 14px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  padding: 0.7rem 0.9rem;
  text-decoration: none; color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}
.globe-stat:hover { transform: translateY(-2px); border-color: var(--glass-border-hover); }
.globe-stat-logo { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.globe-stat-info { min-width: 0; }
.globe-stat-name { font-size: 0.8rem; font-weight: 600; }
.globe-stat-meta { font-size: 0.68rem; color: var(--text-faint); }

/* ===== GROUPS ===== */
.groups, #infra-sections { display: flex; flex-direction: column; gap: 1.6rem; }

.group { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.group:nth-child(2) { animation-delay: 0.08s; }
.group:nth-child(3) { animation-delay: 0.16s; }
.group:nth-child(4) { animation-delay: 0.24s; }
.group:nth-child(5) { animation-delay: 0.32s; }
.group:nth-child(6) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.group-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0.4rem 0.6rem;
}

.group-card {
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  overflow: hidden;
}

/* Row grid: link | status | latency | spark | time | toggle */
.row {
  display: grid;
  grid-template-columns: 1fr auto 64px 130px 62px 40px;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}
.row-wrap:last-child .row { border-bottom: none; }

.row-link {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none; color: inherit;
  transition: opacity 0.15s;
}
.row-link:hover { opacity: 0.78; }

.row-logo-wrap { display: flex; align-items: center; justify-content: center; }
.row-logo { max-height: 30px; max-width: 46px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.row-icon { font-size: 1.2rem; }

.row-name { display: flex; flex-direction: column; min-width: 0; }
.row-name-text { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; }
.row-desc {
  font-size: 0.7rem; color: var(--text-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.row-status { display: flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.row-status-label { font-size: 0.76rem; color: var(--text-dim); }
.error { color: var(--red); font-size: 0.78rem; }

.row-latency {
  font-size: 0.78rem; color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  text-align: right;
  animation: latencyFlick 3s steps(2, start) infinite;
}
@keyframes latencyFlick {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.row-spark { display: flex; align-items: center; justify-content: flex-end; }
.spark-svg { width: 130px; height: 26px; display: block; }
.spark-area { opacity: 0.18; }
.spark-line { stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.row-time { font-size: 0.7rem; color: var(--text-faint); text-align: right; }

/* Downtime episodes: own 4-column grid (logo | main | status | time).
   Previously reused .row (6 columns) with 4 cells, so items landed misaligned. */
.ep-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}
.ep-row:last-child { border-bottom: none; }
.ep-main { display: flex; flex-direction: column; min-width: 0; }

.row-wrap.open .row { background: var(--glass-strong); }
.row-wrap.open .row { border-bottom-color: transparent; }

.row-toggle {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text-faint);
  border: 1px solid var(--glass-border); border-radius: 8px;
  cursor: pointer; transition: color 0.2s, transform 0.25s;
}
.row-toggle:hover { color: var(--text); border-color: var(--glass-border-hover); }
.row-toggle.rotated { transform: rotate(180deg); color: var(--accent-2); }

.row-detail {
  padding: 1rem 1.1rem 1.1rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.18);
  animation: fadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.detail-header { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 0.7rem; text-transform: uppercase; }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.detail-block { background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: 12px; padding: 0.55rem 0.75rem; }
.detail-full { grid-column: 1 / -1; }
.detail-label { font-size: 0.65rem; color: var(--text-faint); letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.detail-value { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.detail-bars { display: flex; gap: 2px; height: 24px; align-items: flex-end; }
.detail-bar { flex: 1; min-width: 2px; height: 100%; border-radius: 1px; }
.detail-up { background: var(--green); opacity: 0.85; }
.detail-degraded { background: var(--yellow); opacity: 0.85; }
.detail-down { background: var(--red); opacity: 0.85; }
.detail-empty { color: var(--text-faint); font-size: 0.75rem; }
.detail-error { color: var(--red); font-size: 0.78rem; word-break: break-all; }

.loading { color: var(--text-faint); padding: 2.5rem; text-align: center; }

footer {
  border-top: 1px solid var(--glass-border);
  padding: 0.9rem 1.5rem;
  font-size: 0.72rem;
  color: var(--text-faint);
  max-width: 1020px;
  margin: 0 auto;
}

/* ===== ADMIN ===== */
.admin-page main { max-width: 900px; }
.form-card { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(var(--blur)); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.form-card h3 { margin-bottom: 0.75rem; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.form-row .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.25rem; }
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  font-family: inherit;
}
textarea { min-height: 60px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-2); }

button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
button:hover { opacity: 0.85; }
button.secondary { background: rgba(255,255,255,0.1); color: var(--text); }
button.danger { background: transparent; color: var(--red); border: 1px solid var(--red); }

.list-item {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 0.75rem 1rem; margin-bottom: 0.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.list-item .info { flex: 1; }
.list-item .name { font-weight: 600; font-size: 0.9rem; }
.list-item .sub { font-size: 0.75rem; color: var(--text-dim); }
.list-item .actions { display: flex; gap: 0.5rem; }

.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.tab {
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-dim);
  border-radius: 12px; padding: 0.4rem 0.9rem; font-size: 0.8rem; cursor: pointer;
}
.tab.active { color: var(--text); border-color: var(--accent-2); }
.hidden { display: none; }

@media (max-width: 760px) {
  .telemetry-link { display: none; }
  .row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "link status"
      "link time"
      "spark spark";
    gap: 0.3rem;
  }
  .row-link { grid-area: link; }
  .row-latency { display: none; }
  .row-spark { grid-area: spark; }
  .row-time { grid-area: time; }
  .row-toggle { grid-column: 2; grid-row: 1; }
  .row-desc { white-space: normal; }
  .ep-row { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .ep-row .row-time { grid-column: 2; text-align: left; }
  .globe-stats-wrap { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .row-spark .spark-svg { width: 100%; }
}

/* ============ DISK SHELVES ============ */
.disk-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.1rem 1.2rem; }
.disk-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "meta pct" "bar bar"; gap: 0.35rem 0.8rem; align-items: center; }
.disk-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline; }
.disk-name { font-weight: 600; }
.disk-nums { color: var(--text-dim); font-size: 0.85rem; }
.disk-pct { grid-area: pct; font-weight: 700; font-variant-numeric: tabular-nums; }
.disk-bar { grid-area: bar; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.disk-bar-fill { height: 100%; border-radius: 999px; transition: width 0.6s ease; }
.disk-bar-fill-green { background: linear-gradient(90deg, #1faa4b, var(--green)); box-shadow: 0 0 12px rgba(48, 209, 88, 0.45); }
.disk-bar-fill-yellow { background: linear-gradient(90deg, #c79a00, var(--yellow)); box-shadow: 0 0 12px rgba(255, 214, 10, 0.45); }
.disk-bar-fill-red { background: linear-gradient(90deg, #c9241c, var(--red)); box-shadow: 0 0 12px rgba(255, 69, 58, 0.5); }

/* ============ VERSIONS ============ */
.ver-card { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.1rem 1.2rem; }
.ver-box-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-dim); margin-bottom: 0.35rem; }
.ver-row { display: grid; grid-template-columns: minmax(6rem, 1fr) 5.5rem minmax(0, 1fr) 6.8rem 4rem; gap: 0.5rem 0.9rem; align-items: center; padding: 0.34rem 0; font-size: 0.92rem; }
.ver-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); font-weight: 600; padding: 0.1rem 0 0.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 0.25rem; }
.ver-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver-num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.84rem; font-variant-numeric: tabular-nums; text-align: left; }
.ver-latest { color: var(--text-dim); font-size: 0.8rem; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ver-pill { min-width: 6.8rem; box-sizing: border-box; text-align: center; font-size: 0.7rem; font-weight: 700; padding: 0.16rem 0.55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.ver-current { color: var(--green); background: rgba(48, 209, 88, 0.12); border: 1px solid rgba(48, 209, 88, 0.35); }
.ver-outdated { color: var(--yellow); background: rgba(255, 214, 10, 0.1); border: 1px solid rgba(255, 214, 10, 0.4); }
.ver-unknown { color: var(--text-dim); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.ver-when { color: var(--text-dim); font-size: 0.78rem; text-align: left; white-space: nowrap; }
.ver-note { color: var(--text-dim); font-size: 0.78rem; margin-bottom: 0.2rem; }
.ver-note strong { color: var(--text); }
.ver-stale { margin-left: 5px; color: var(--yellow); font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ver-expandable { cursor: pointer; border-radius: 8px; }
.ver-expandable:hover { background: rgba(255, 255, 255, 0.04); }
.ver-expandable:focus-visible { outline: 2px solid rgba(114, 183, 255, 0.65); outline-offset: 1px; }
.ver-expandable.open .ver-name { color: var(--yellow); }
.ver-detail { padding: 0.7rem 0.9rem; margin: 0.1rem 0 0.5rem; border: 1px solid rgba(255, 214, 10, 0.25); border-radius: 10px; background: rgba(255, 214, 10, 0.05); }
.ver-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 0.6rem; }
.ver-detail-grid span { display: block; color: var(--text-dim); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ver-detail-grid b { display: block; margin-top: 0.15rem; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.ver-caution { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 0.55rem; }
.ver-cmd { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: rgba(0, 0, 0, 0.35); }
.ver-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: pre; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: var(--text); }
.ver-copy { flex: 0 0 auto; min-height: 32px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; background: transparent; color: var(--text); font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.ver-copy:hover, .ver-copy.copied { border-color: var(--yellow); color: var(--yellow); }
.ver-hint { margin-top: 0.45rem; color: var(--yellow); font-size: 0.74rem; }
.ver-packages { margin: 0.6rem 0; color: var(--text-dim); font-size: 0.76rem; }
.ver-packages strong { color: var(--text); }
.ver-packages ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 0.8rem; margin: 0.45rem 0 0; padding-left: 1.1rem; }
.ver-packages li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ver-warn { color: var(--yellow); background: rgba(255, 214, 10, 0.1); border: 1px solid rgba(255, 214, 10, 0.35); border-radius: 999px; font-size: 0.74rem; font-weight: 700; padding: 0.12rem 0.55rem; margin-left: 0.55rem; text-transform: none; letter-spacing: 0.03em; vertical-align: middle; }
@media (max-width: 720px) {
  .ver-row { grid-template-columns: minmax(0, 1fr) 5.5rem; }
  .ver-latest, .ver-when { display: none; }
  .ver-packages ul { grid-template-columns: 1fr; }
}

/* Compute history lives in Linear Cloud; the status page keeps the map and service health focused. */

/* Compute & Capacity (own layout - do NOT borrow .disk-row: it is a named-area
   grid for exactly four children; extra children overwrite each other) */
.compute-box { display: flex; flex-direction: column; gap: 0.45rem; }
.compute-head { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; align-items: baseline; }
.compute-metric { display: grid; grid-template-columns: 3rem 1fr 3.2rem; gap: 0.7rem; align-items: center; }
.compute-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.compute-pct { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
/* The disk classes carry grid-area names from .disk-row's named grid; inside
   .compute-metric those names are undefined lines -> implicit placement.
   Force auto so the metric grid owns the layout in every engine. */
.compute-metric .disk-bar { grid-area: auto; }
.compute-metric .disk-pct { grid-area: auto; }
/* Per-tenant usage (est., last hour, ×10 sampled) under each compute box.
   Collapsed by default to keep the panel uncluttered; click summary to expand. */
.compute-usage { margin-top: 0.15rem; padding-top: 0.35rem; border-top: 1px solid var(--border, rgba(255,255,255,0.08)); }
.compute-usage > summary { cursor: pointer; list-style: none; font-size: 0.72rem; color: var(--text-dim); user-select: none; }
.compute-usage > summary::-webkit-details-marker { display: none; }
.compute-usage > summary::before { content: '▸ '; font-size: 0.65rem; }
.compute-usage[open] > summary::before { content: '▾ '; }
.compute-usage-body { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.3rem; }
.compute-usage-title { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.compute-usage-row { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.compute-usage-slug { color: var(--text, #eee); font-weight: 600; }
.compute-usage-nums { color: var(--text-dim); text-align: right; }
.compute-usage-summary { font-variant-numeric: tabular-nums; }
/* Page rhythm: #groups / #episodes-section / #infra-sections are stacked
   blocks with no spacing of their own — the 1.6rem gap only existed INSIDE
   each container, so Recent downtime butted against the sections above and
   below it. Give the mounts the same rhythm. */
#groups, #episodes-section { margin-bottom: 1.6rem; }
