.status-page { padding-block: 58px 88px; }
.status-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.status-eyebrow { color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .12em; margin-bottom: 12px; }
.status-heading h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
.status-intro { margin-top: 13px; color: var(--muted); font-size: 14px; }
.status-refresh { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); background: white; border-radius: 7px; font-size: 12px; flex-shrink: 0; }
.status-refresh:hover, .status-older:hover { background: var(--hover); }
.status-refresh:disabled { opacity: .5; cursor: wait; }
.status-data-link { text-decoration: underline; text-underline-offset: 3px; }
.status-operator-selector { display: flex; align-items: center; gap: 12px; margin: -8px 0 24px; }
.status-operator-label { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.status-operators { display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 3px; }
.status-operators button { flex: 0 0 auto; padding: 7px 14px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 550; white-space: nowrap; }
.status-operators button:hover { background: var(--hover); }
.status-operators button[aria-selected="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.status-operators button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.status-operator-empty { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.status-chart[role="tabpanel"]:focus-visible { outline: 2px solid var(--line); outline-offset: 6px; border-radius: 8px; }
.status-summary { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; padding: 26px 0; }
.status-summary > div { padding-inline: 28px; min-width: 0; }
.status-summary > div + div { border-left: 1px solid var(--line); }
.metric-label { font-size: 12px; color: var(--muted); margin-bottom: 13px; }
.metric-value { font-size: 32px; line-height: 1.2; font-weight: 550; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metric-value small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 6px; }
#speed-value[data-band] { color: var(--band-color); }
#speed-value[data-band="missing"] { color: var(--muted); }
.metric-note { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.status-state-value { min-height: 38px; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 550; line-height: 1.35; }
.status-state-value i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: #a5a9b1; box-shadow: 0 0 0 4px #a5a9b112; }
.status-state-value[data-state="operational"] i { background: #24845b; box-shadow: 0 0 0 4px #24845b13; }
.status-state-value[data-state="degraded"] i { background: #dc5b57; box-shadow: 0 0 0 4px #dc5b5713; }
.status-state-value[data-state="checking"] i { background: #d4a139; box-shadow: 0 0 0 4px #d4a13913; }
.status-error { padding: 12px 0 0; color: #926725; font-size: 12px; }
.status-history-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 48px 0 22px; }
.status-history-heading h2, .updates-heading h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.03em; }
.status-period { display: flex; gap: 3px; background: #f5f6f8; padding: 4px; border-radius: 8px; }
.status-period button { border: 0; padding: 6px 13px; border-radius: 5px; background: transparent; font-size: 12px; color: var(--muted); white-space: nowrap; }
.status-period button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 4px #25262a13; }
.hourly-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 3px 0 8px; }
.hourly-table { width: 100%; min-width: calc(48px + var(--days) * 36px); table-layout: fixed; border-collapse: separate; border-spacing: 3px; font-variant-numeric: tabular-nums; }
.hourly-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hourly-table th, .hourly-table td { border: 0; padding: 0; text-align: center; }
.hourly-table .hourly-time { position: sticky; left: 0; z-index: 1; width: 43px; background: white; text-align: left; color: var(--muted); font-size: 9px; font-weight: 400; white-space: nowrap; }
.hourly-table thead th { padding-bottom: 9px; vertical-align: bottom; }
.hourly-date span, .hourly-date strong { display: block; font-size: 9px; line-height: 1.5; font-weight: 400; white-space: nowrap; }
.hourly-date span { color: var(--muted); margin-bottom: 2px; }
.hourly-date strong { color: var(--ink); font-weight: 500; }
.hour-cell, .hour-empty { display: block; height: 18px; width: 100%; border-radius: 3px; }
.hour-cell { border: 0; background: var(--band-color); padding: 0; cursor: pointer; }
.hour-cell:hover { filter: brightness(.88); }
.hour-cell:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.hour-empty { background: #f7f8fa; }
.status-chart-section { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; margin-bottom: 36px; }
.status-chart-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 18px; }
.chart-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.chart-heading h3 { font-size: 16px; line-height: 1.3; letter-spacing: -.02em; }
.chart-heading p { color: var(--muted); font-size: 11px; margin-top: 6px; }
.chart-range { color: var(--muted); font-size: 10px; white-space: nowrap; padding-top: 2px; }
.status-chart { min-height: 236px; position: relative; }
.chart-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--subtle); font-size: 12px; }
.chart-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 5px 4px 3px; margin-inline: -4px; }
.chart-inner { position: relative; min-width: 280px; padding-left: 33px; }
.chart-inner[data-dense="true"] { min-width: 640px; }
.chart-axis { position: absolute; inset: 0 auto 30px 0; width: 27px; display: flex; flex-direction: column; justify-content: space-between; color: #9699a0; font-size: 9px; text-align: right; font-variant-numeric: tabular-nums; }
.chart-axis span { transform: translateY(-50%); }
.chart-axis span:last-child { transform: translateY(50%); }
.chart-bars { position: relative; height: 200px; display: grid; grid-template-columns: repeat(var(--count), minmax(0, 1fr)); gap: 5px; align-items: end; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #eeeff2 calc(25% - 1px), #eeeff2 25%); }
.chart-inner[data-dense="true"] .chart-bars { gap: 2px; }
.chart-bar { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; width: 100%; border: 0; background: transparent; padding: 0 2px; border-radius: 3px; min-width: 0; }
.chart-bar:hover, .chart-bar:focus-visible { background: #25262a06; }
.chart-bar-fill { display: block; width: 100%; max-width: 30px; height: var(--height); min-height: 3px; background: var(--band-color, #24845b); border-radius: 3px 3px 0 0; transition: opacity .15s; }
.chart-bar:hover .chart-bar-fill { opacity: .8; }
[data-band="low"] { --band-color: #dc5b57; }
[data-band="fair"] { --band-color: #e9bc4d; }
[data-band="good"] { --band-color: #97c862; }
[data-band="fast"] { --band-color: #24845b; }
[data-band="missing"] { --band-color: #dfe2e7; }
.chart-dates { height: 30px; display: grid; grid-template-columns: repeat(var(--count), minmax(0, 1fr)); gap: 5px; align-items: end; color: #9699a0; font-size: 9px; text-align: center; white-space: nowrap; }
.chart-empty-note { position: absolute; left: 33px; right: 0; top: 80px; text-align: center; pointer-events: none; font-size: 12px; color: var(--subtle); }
.status-legend { display: flex; flex-wrap: wrap; gap: 7px 14px; padding: 0; margin: 18px 0 0; list-style: none; color: var(--muted); font-size: 10px; }
.status-legend li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--band-color); }
.chart-footnote { color: var(--muted); font-size: 10px; margin-top: 18px; }
.status-chart-options { margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.status-chart-toggle { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 32px; color: var(--muted); font-size: 12px; line-height: 1.4; cursor: pointer; }
.status-chart-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.status-switch-track { position: relative; flex: 0 0 30px; height: 18px; background: #e2e5e9; border-radius: 12px; }
.status-switch-track::after { content: ''; position: absolute; width: 14px; height: 14px; top: 2px; left: 2px; border-radius: 50%; background: white; box-shadow: 0 1px 3px #0002; }
.status-chart-toggle input:checked + .status-switch-track { background: #24845b; }
.status-chart-toggle input:checked + .status-switch-track::after { transform: translateX(12px); }
.status-chart-toggle input:focus-visible + .status-switch-track { outline: 2px solid var(--ink); outline-offset: 3px; }
.status-method { padding-top: 6px; }
.method-number { display: block; color: #a0a4ac; font-size: 10px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.status-method h3 { font-size: 16px; letter-spacing: -.02em; margin-bottom: 12px; }
.status-method p { font-size: 12px; line-height: 1.85; color: var(--muted); margin-top: 12px; }
.status-method .method-footnote { font-size: 11px; padding-top: 13px; margin-top: 17px; border-top: 1px solid var(--line); }
.status-updates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; margin-top: 58px; border-top: 1px solid var(--line); padding-top: 38px; }
.updates-heading p { color: var(--muted); font-size: 12px; margin-top: 12px; max-width: 250px; }
.updates-content { min-width: 0; }
.network-update { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-bottom: 14px; }
.update-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.update-avatar { display: grid; place-items: center; width: 27px; height: 27px; background: #2b2d31; color: white; font-size: 10px; border-radius: 7px; font-weight: 650; }
.update-meta strong { font-size: 11px; color: var(--ink); font-weight: 550; }
.update-meta time { margin-left: auto; }
.network-update h3 { font-size: 15px; line-height: 1.5; margin-bottom: 9px; text-wrap: pretty; overflow-wrap: anywhere; }
.update-text { font-size: 12px; line-height: 1.85; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.update-text[data-collapsed="true"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.update-toggle { padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; margin-top: 11px; text-decoration: underline; text-underline-offset: 3px; }
.status-older { display: block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 12px; margin: 20px auto 0; }
.messages-placeholder { color: var(--muted); font-size: 12px; padding-block: 20px; }
.status-tooltip { position: fixed; inset: auto; margin: 0; border: 0; border-radius: 8px; max-width: min(300px, calc(100vw - 24px)); background: #202226; color: white; padding: 11px 14px; box-shadow: 0 6px 25px #0002; font-size: 11px; line-height: 1.8; white-space: pre-line; pointer-events: none; z-index: 100; }
.status-page [hidden], .status-tooltip[hidden] { display: none !important; }
@media (max-width: 850px) {
  .status-chart-section { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 40px; }
  .status-method { padding-inline: 4px; }
  .method-number { display: none; }
  .status-summary > div { padding-inline: 18px; }
  .status-state-value { font-size: 16px; }
  .status-updates { gap: 28px; }
}
@media (max-width: 600px) {
  .status-page { padding-block: 32px 54px; }
  .status-heading { align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  .status-heading h1 { font-size: 31px; }
  .status-refresh { font-size: 11px; padding: 7px; margin-top: 25px; }
  .status-refresh svg { display: none; }
  .status-intro { font-size: 12px; }
  .status-summary { grid-template-columns: 1fr 1fr; padding: 0; }
  .status-summary > div { padding: 20px; }
  .status-summary .status-state { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .status-summary > div:nth-child(2) { border-left: 0; }
  .status-state-value { min-height: 25px; }
  .metric-label { font-size: 11px; margin-bottom: 10px; }
  .status-summary > div:not(.status-state) .metric-label { min-height: 35px; }
  .metric-value { font-size: 28px; }
  .metric-value small { font-size: 12px; }
  .metric-note { font-size: 10px; margin-top: 10px; }
  .status-history-heading { flex-wrap: wrap; gap: 16px; margin-top: 34px; }
  .status-history-heading h2, .updates-heading h2 { font-size: 20px; }
  .status-chart-card { padding: 19px 14px 15px; }
  .chart-heading { flex-wrap: wrap; margin-bottom: 24px; }
  .chart-range { font-size: 9px; }
  .chart-bars, .chart-dates { gap: 3px; }
  .chart-bar { padding-inline: 0; }
  .status-updates { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 38px; padding-top: 30px; }
  .updates-heading p { max-width: none; }
  .network-update { padding: 18px; }
}
