/* /status (Claude 2026-11-20): model status for people; the same numbers are in /status.json and /status.md.
   Day cells use the reserved status palette (dataviz skill: good #0ca30c, warning #fab219, critical #d03b3b), the same
   in light and dark; a state is never colour alone -- legend words, a hatch on disrupted days, a tooltip per cell and the
   table below. */
.vb-status { max-width: 960px; margin: 0 auto; color: var(--vb-ink); }
.vb-status-head h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
.vb-status-lede { margin: 12px 0 6px; font-size: 17px; line-height: 1.65; }
.vb-status-machine { margin: 0 0 24px; color: var(--vb-muted); font-size: 14px; }
.vb-st-overall, .vb-st-state { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--vb-bg-2, var(--vb-line)); }
.vb-st-overall .vb-ico, .vb-st-state .vb-ico { width: 16px; height: 16px; }
.vb-st-operational { color: var(--vb-ok); background: var(--vb-ok-soft); }
.vb-st-degraded { color: var(--vb-warn); background: var(--vb-warn-soft); }
.vb-st-disrupted { color: #d03b3b; background: rgba(208, 59, 59, .12); }
.vb-st-paused { color: var(--vb-muted); }

.vb-st-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 22px; padding: 0; list-style: none;
  color: var(--vb-muted); font-size: 14px; }
.vb-st-legend li { display: inline-flex; align-items: center; gap: 6px; }
.vb-st-legend-note { flex-basis: 100%; }
.vb-st-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }

.vb-st-model { padding: 18px 0 20px; border-top: 1px solid var(--vb-line); scroll-margin-top: 80px; }
.vb-st-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.vb-st-row h2 { margin: 0; font-size: 20px; }
.vb-st-row h2 a { color: var(--vb-ink); text-decoration: none; }
.vb-st-row h2 a:hover { text-decoration: underline; }
.vb-st-row h2 code { margin-left: 6px; color: var(--vb-muted); font: 500 13px var(--vb-mono); }
.vb-st-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 12px; color: var(--vb-muted); font-size: 14px; }
.vb-st-facts b { color: var(--vb-ink); }

.vb-st-strip { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.vb-st-cell { position: relative; flex: 1 1 0; min-width: 0; height: 34px; border-radius: 3px; outline-offset: 2px; cursor: default; }
.vb-day-good { background: #0ca30c; }
.vb-day-warning { background: #fab219; }
.vb-day-critical { background: repeating-linear-gradient(135deg, #d03b3b 0 4px, #a92b2b 4px 6px); }
.vb-day-none { background: var(--vb-line); }
.vb-st-cell:hover, .vb-st-cell:focus-visible { filter: brightness(1.08); }
.vb-st-cell:hover::after, .vb-st-cell:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 5; transform: translateX(-50%);
  width: max-content; max-width: 260px; padding: 6px 9px; border: 1px solid var(--vb-line); border-radius: 6px;
  background: var(--vb-surface); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); color: var(--vb-ink); font-size: 13px; line-height: 1.45;
  white-space: normal; pointer-events: none; }
.vb-st-cell:nth-child(-n+6):hover::after, .vb-st-cell:nth-child(-n+6):focus-visible::after { left: 0; transform: none; }
.vb-st-cell:nth-last-child(-n+6):hover::after, .vb-st-cell:nth-last-child(-n+6):focus-visible::after { left: auto; right: 0; transform: none; }
.vb-st-axis { display: flex; justify-content: space-between; margin: 6px 0 0; color: var(--vb-muted); font-size: 12px; }

.vb-st-table, .vb-st-defs { margin-top: 30px; }
.vb-st-table h2, .vb-st-defs h2 { font-size: 20px; }
.vb-st-table small { color: var(--vb-muted); }
.vb-st-defs dt { margin-top: 12px; font-weight: 600; }
.vb-st-defs dd { margin: 4px 0 0; color: var(--vb-ink); line-height: 1.65; }

@media (max-width: 600px) {
  .vb-st-cell { height: 28px; }
  .vb-st-strip { gap: 1px; }
}
