body.service-status-page { --status-width: min(1080px, calc(100% - 48px)); }
body.service-status-page .service-status,
html body.service-status-page .brand-footer > .wrap {
  width: var(--status-width);
  max-width: none;
  padding-inline: 0;
}
body.service-status-page .service-status { padding-block: 16px 28px; }
html body.service-status-page .site-footer.brand-footer { margin-top: 0; padding-top: 28px; }
.service-status .status-intro h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); }
.service-status .status-intro > p { margin: 10px 0 0; }
.service-status .success { --status-tone: #58d6a6; --status-fill: #172d25; }
.service-status .limited { --status-tone: #efbe6d; --status-fill: #302719; }
.service-status .failed { --status-tone: #ff8b96; --status-fill: #362026; }
.service-status .empty { --status-tone: #a4adbb; --status-fill: #262a31; }
.service-status .status-overview, .status-list-head, .status-summary,
.status-identity, .status-legend, .status-legend li {
  display: flex;
  align-items: center;
}
.service-status .status-overview {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  padding: 16px 18px;
  background: var(--status-fill, var(--panel));
}
.status-summary, .status-identity { gap: 12px; min-width: 0; }
.status-summary strong { color: var(--status-tone); }
.service-status .status-overview p { margin: 2px 0 0; }
.service-status .status-overview p, .status-overview time,
.status-legend, .status-axis, .status-count, .status-rate span, .service-status .status-note {
  font-size: 12px;
  color: var(--muted);
}
.status-symbol, .status-logo {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--status-tone, var(--ink));
}
.status-logo img { display: block; object-fit: contain; }
.status-list-head { justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin: 28px 0 12px; }
.service-status .status-list-head h2 { margin: 0; font-size: 20px; }
.status-legend { flex-wrap: wrap; gap: 6px 15px; margin: 0; padding: 0; list-style: none; }
.status-legend li, .service-status .status-state { gap: 6px; }
.status-legend i, .status-state i { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--status-tone); }
.status-model-list { display: grid; gap: 10px; }
.service-status .status-model { min-width: 0; margin: 0; padding: 0; }
.status-model-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 18px; padding: 12px 16px; }
.status-identity h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.status-identity code { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.service-status .status-state { display: inline-flex; align-items: center; justify-self: end; color: var(--status-tone); background: var(--status-fill); }
.status-rate { display: grid; min-width: 84px; text-align: right; }
.status-rate strong { font-size: 19px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.status-history { padding: 5px 16px 11px; border-top: 1px solid var(--line); }
.status-track { position: relative; display: grid; align-items: center; min-height: 44px; }
.status-bars { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: clamp(2px, .35vw, 4px); }
.status-bars span { height: 26px; border-radius: 3px; background: var(--status-tone); opacity: .82; transition: transform .15s, opacity .15s; }
.status-bars .empty { opacity: .28; }
.status-bars .selected { opacity: 1; transform: scaleY(1.2); }
.service-status .status-scrubber {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  touch-action: pan-y;
}
.status-track:has(.status-scrubber:focus-visible) { outline: 2px solid var(--blue, #6ba4ff); outline-offset: 2px; border-radius: 4px; }
.status-axis { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 11px; }
.status-axis span:last-child { grid-column: 3; justify-self: end; }
.status-axis [data-status-result] { color: var(--ink); }
.service-status .status-count, .service-status .status-note { margin: 5px 0 0; }
.service-status .status-note { margin-top: 18px; }
@media (max-width: 620px) {
  body.service-status-page { --status-width: calc(100% - 32px); }
  body.service-status-page .service-status { padding-block: 8px 24px; }
  .status-model-head { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-inline: 12px; }
  .service-status .status-state { grid-area: 2 / 1; justify-self: start; }
  .status-rate { grid-area: 1 / 2 / 3; min-width: 0; }
  .status-history { padding-inline: 12px; }
  .status-bars span { border-radius: 2px; }
  .status-overview time { margin-left: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .status-bars span { transition: none; }
}

