.status-page {
  --status-bg: #111;
  --status-panel: #171717;
  --status-border: #303030;
  --status-text: #e9e9e9;
  --status-muted: #a1a1a1;
  background: var(--status-bg);
  color: var(--status-text);
}
.status-wrap { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.status-header { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.status-header .brand { display: flex; align-items: center; gap: 10px; }
.status-header nav { display: flex; gap: 24px; font-size: 13px; color: var(--status-muted); }
.status-page a:hover { color: #fff; }
.status-page :is(a, button, summary):focus-visible { outline: 2px solid #d1d1d1; outline-offset: 5px; }
.status-main { padding-top: 48px; }
.status-intro-block { margin-bottom: 28px; }
.status-main h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
.status-intro-block p { color: var(--status-muted); font-size: 14px; line-height: 1.6; }
.status-intro-block .status-eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.status-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status-toolbar p { color: var(--status-muted); font-size: 12px; line-height: 1.5; }
.status-toolbar button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 108px; min-height: 36px; padding: 8px 12px; border: 1px solid #404040; border-radius: 6px; background: #242424; color: var(--status-text); font: inherit; font-size: 12px; cursor: pointer; }
.status-toolbar button:hover { background: #2c2c2c; border-color: #626262; }
.status-toolbar button:disabled { color: var(--status-muted); cursor: wait; }
.status-refresh-feedback { min-height: 18px; margin: 7px 0 12px; color: var(--status-muted); font-size: 12px; line-height: 1.5; }
.status-overview, .status-section { overflow: hidden; border: 1px solid var(--status-border); border-radius: 8px; background: var(--status-panel); }
.status-section { margin-top: 24px; }
.status-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 13px 17px; border-bottom: 1px solid var(--status-border); }
.status-main h2 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.status-panel-heading > span { color: var(--status-muted); font-size: 12px; line-height: 1.4; text-align: right; }
.status-overview-content { display: flex; align-items: flex-start; gap: 16px; min-height: 92px; padding: 20px 17px; }
.status-overview-content p { flex: 1; min-width: 0; color: var(--status-text); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; flex: none; width: fit-content; border: 0; border-radius: 0; padding: 0; background: none; color: #b9b9b9; font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.status-badge::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; background: currentColor; }
.status-badge[data-status="healthy"] { color: #5fc59e; }
.status-badge[data-status="degraded"] { color: #efb94d; }
.status-badge[data-status="unhealthy"] { color: #e47d76; }
.status-empty { padding: 22px 17px; color: var(--status-muted); font-size: 13px; line-height: 1.6; }
.source-card, .incident { padding: 16px 17px; }
.source-card + .source-card, .incident + .incident { border-top: 1px solid var(--status-border); }
.source-environment { margin: 0 0 3px; color: var(--status-muted); font-size: 11px; line-height: 1.4; text-transform: capitalize; }
.source-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.source-title h3, .incident h3 { min-width: 0; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
.source-title .status-badge { font-size: 12px; }
.source-title .status-badge::before { width: 7px; height: 7px; }
.status-meta { color: var(--status-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.source-card > .status-meta { margin-top: 3px; }
.source-card > .status-meta + .status-meta { margin-top: 7px; }
.incident p { margin-top: 5px; color: var(--status-muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.incident p.status-meta { font-size: 12px; }
.status-scope { margin-top: 24px; color: var(--status-muted); font-size: 12px; line-height: 1.6; }
.status-scope summary { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:44px; padding-block:6px; color:var(--status-text); cursor:pointer; }
.status-scope summary::after { content:'+'; display:block; color:var(--status-muted); font-size:18px; }
.status-scope[open] summary::after { content:'−'; }
.status-scope p { margin-top: 10px; max-width: 70ch; }
.status-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--status-border); margin-top: 52px; padding-block: 24px; font-size: 12px; color: var(--status-muted); }
.status-page .api-footer { margin-top: 56px; }
@media (max-width: 560px) {
  .status-header nav { gap: 14px; }
  .status-header .brand { font-size: 18px; gap: 7px; }
  .status-header .brand img { width: 28px; height: 28px; }
  .status-header nav { font-size: 12px; }
  .status-main { padding-top: 32px; }
  .status-overview .status-panel-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .status-overview .status-panel-heading > span { text-align: left; }
  .status-overview-content { flex-direction: column; gap: 8px; }
  .source-title { align-items: flex-start; }
  .source-title h3 { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .status-wrap { width: calc(100% - 32px); }
  .status-header nav { gap: 10px; }
  .status-header nav a[href="/catalog/"] { display: none; }
  .status-panel-heading { gap: 12px; }
  .status-main h2 { font-size: 14px; }
}
