:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --text: #13223b;
  --text-muted: #65718a;
  --text-faint: #8995a9;
  --border: #e1e6ee;
  --border-strong: #cbd4e1;
  --accent: #4455ce;
  --focus: #4455ce;
  --good: #0d8b68;
  --good-bg: #e8f8f1;
  --good-border: #c0ebd8;
  --warn: #a66e15;
  --warn-bg: #fff8e6;
  --warn-border: #f0dda8;
  --bad: #b83d4c;
  --bad-bg: #fff0f1;
  --bad-border: #f0c7ce;
  --unknown: #687892;
  --unknown-bg: #f1f4f8;
  --unknown-border: #d6dde7;
  --shadow: 0 12px 44px rgba(30, 51, 88, 0.035);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a111e;
    --surface: #121d2e;
    --surface-soft: #18263a;
    --text: #eef2fa;
    --text-muted: #aab5c8;
    --text-faint: #8390a6;
    --border: #2a384d;
    --border-strong: #45536a;
    --accent: #a1acff;
    --focus: #b8c0ff;
    --good: #67dbb0;
    --good-bg: #14342f;
    --good-border: #286753;
    --warn: #ffcf76;
    --warn-bg: #3a2b16;
    --warn-border: #70552b;
    --bad: #ff9aa7;
    --bad-bg: #3b232d;
    --bad-border: #784451;
    --unknown: #bbc6db;
    --unknown-bg: #1e2a3c;
    --unknown-border: #41516a;
    --shadow: 0 12px 48px rgba(0,0,0,.12);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a111e;
  --surface: #121d2e;
  --surface-soft: #18263a;
  --text: #eef2fa;
  --text-muted: #aab5c8;
  --text-faint: #8390a6;
  --border: #2a384d;
  --border-strong: #45536a;
  --accent: #a1acff;
  --focus: #b8c0ff;
  --good: #67dbb0;
  --good-bg: #14342f;
  --good-border: #286753;
  --warn: #ffcf76;
  --warn-bg: #3a2b16;
  --warn-border: #70552b;
  --bad: #ff9aa7;
  --bad-bg: #3b232d;
  --bad-border: #784451;
  --unknown: #bbc6db;
  --unknown-bg: #1e2a3c;
  --unknown-border: #41516a;
  --shadow: 0 12px 48px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; }
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  background: var(--surface); border-radius: 7px; padding: 10px 18px; color: var(--text);
}
.skip-link:focus { top: 12px; }
.page-shell { max-width: 1152px; margin: 0 auto; padding: 0 38px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 94px; border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-mark {
  width: 39px; height: 39px; display: grid; place-items: center;
  border-radius: 11px; background: #263995; color: #fff; box-shadow: 0 4px 12px rgba(41,55,120,.18);
}
.brand-text { font-size: 19px; font-weight: 780; letter-spacing: -.9px; }
.brand-divider { height: 19px; width: 1px; background: var(--border-strong); margin: 0 3px; }
.brand-subtitle { font-weight: 550; font-size: 14px; color: var(--text-muted); }
.header-actions { display: flex; align-items: center; gap: 25px; }
.monitor-note {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  color: var(--text-muted); font-size: 12px; font-weight: 600;
}
.monitor-note-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.icon-button {
  height: 39px; width: 39px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); cursor: pointer;
  display: grid; place-items: center; transition: border-color .15s, transform .15s;
}
.icon-button:hover { border-color: var(--border-strong); transform: translateY(-1px); }
main { padding-bottom: 24px; }
.intro { padding: 69px 0 34px; }
.eyebrow, .section-kicker, .meta-label {
  color: var(--text-muted); font-size: 11px; font-weight: 750; letter-spacing: .13em;
}
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow-rule { width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.intro h1 {
  margin: 10px 0 9px; font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.055em; line-height: 1.14; font-weight: 780;
}
.title-accent { color: var(--accent); }
.intro-copy { max-width: 650px; color: var(--text-muted); margin: 0; font-size: 15.5px; line-height: 1.75; }
.overall-panel {
  display: flex; gap: 21px; align-items: center; min-height: 135px;
  padding: 26px 30px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 17px; box-shadow: var(--shadow);
  border-left: 4px solid var(--unknown);
}
.overall-symbol {
  flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 16px; color: var(--unknown); background: var(--unknown-bg);
}
.overall-copy { flex: 1; min-width: 0; }
.overall-copy h2 { margin: 0; letter-spacing: -.025em; font-size: 22px; font-weight: 730; line-height: 1.35; }
.overall-copy p { margin: 5px 0 0; font-size: 13px; color: var(--text-muted); }
.overall-meta { flex: 0 0 auto; padding-left: 25px; border-left: 1px solid var(--border); }
.meta-label { margin: 0 0 7px; white-space: nowrap; }
.overall-meta p:last-child { margin: 0; font-weight: 610; font-size: 13px; color: var(--text); }
.status-operational { border-left-color: var(--good); }
.status-degraded { border-left-color: var(--warn); }
.status-outage { border-left-color: var(--bad); }
.status-unknown { border-left-color: var(--unknown); }
.status-operational .overall-symbol { background: var(--good-bg); color: var(--good); }
.status-degraded .overall-symbol { background: var(--warn-bg); color: var(--warn); }
.status-outage .overall-symbol { background: var(--bad-bg); color: var(--bad); }
.summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 27px 0 58px; }
.summary-cell { padding: 9px 24px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.summary-cell:first-child { padding-left: 4px; }
.summary-cell:last-child { border-right: 0; }
.summary-label { color: var(--text-muted); font-size: 12px; font-weight: 580; }
.summary-number { display: block; color: var(--text); margin: 5px 0 0; font-size: 35px; line-height: 1.32; letter-spacing: -.045em; font-weight: 740; }
.number-unit { font-size: 16px; letter-spacing: 0; font-weight: 580; color: var(--text-muted); }
.summary-context { font-size: 11.5px; color: var(--text-faint); margin-top: 2px; }
.section-block { margin: 0 0 55px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-kicker { margin: 0 0 6px; }
.section-heading h2 { margin: 0; letter-spacing: -.035em; font-size: 27px; font-weight: 760; }
.section-intro { font-size: 13px; line-height: 1.65; color: var(--text-muted); margin: 10px 0 18px; }
.refresh-button {
  cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
  background: var(--surface); color: var(--text);
  border-radius: 10px; border: 1px solid var(--border);
  padding: 9px 14px; font-size: 12.5px; font-weight: 690;
  transition: border-color .15s, background .15s;
}
.refresh-button:hover { border-color: var(--border-strong); background: var(--surface-soft); }
.refresh-button[disabled] { opacity: .65; cursor: wait; }
.service-list { display: flex; flex-direction: column; gap: 14px; }
.service-card, .placeholder, .incident-list { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; }
.service-card { padding: 24px 27px 21px; box-shadow: var(--shadow); }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.service-name { font-weight: 720; letter-spacing: -.018em; font-size: 17px; margin: 0; }
.service-scope { font-size: 12px; line-height: 1.55; color: var(--text-muted); max-width: 570px; margin: 4px 0 0; }
.service-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--unknown-border); background: var(--unknown-bg);
  color: var(--unknown); padding: 6px 10px; border-radius: 999px;
  white-space: nowrap; font-size: 11px; font-weight: 740;
}
.service-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.service-badge.operational { background: var(--good-bg); color: var(--good); border-color: var(--good-border); }
.service-badge.degraded { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-border); }
.service-badge.outage { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-border); }
.service-badge.unknown { background: var(--unknown-bg); color: var(--unknown); border-color: var(--unknown-border); }
.history-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 21px; }
.history-heading strong { font-size: 12px; font-weight: 740; }
.history-heading span { font-size: 11px; color: var(--text-muted); }
.history-scroll { max-width: 100%; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.history-bars { display: flex; gap: 3px; width: 100%; min-width: 560px; align-items: stretch; }
.history-day { height: 25px; flex: 1 1 0; min-width: 2px; border-radius: 3px; background: var(--unknown-border); }
.history-day.day-good { background: #29ad80; }
.history-day.day-warn { background: #d1a44e; }
.history-day.day-bad { background: #d86978; }
.history-day:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.history-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-faint); margin-top: 4px; }
.service-foot { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 14px; color: var(--text-muted); font-size: 11px; }
.service-foot strong { color: var(--text); font-weight: 690; }
.section-side-note { font-size: 12px; color: var(--text-faint); }
.incident-list { overflow: hidden; margin-top: 18px; }
.incident { display: flex; align-items: flex-start; gap: 14px; padding: 22px 25px; border-bottom: 1px solid var(--border); }
.incident:last-child { border-bottom: 0; }
.incident-mark { width: 11px; height: 11px; margin-top: 6px; background: var(--bad); border-radius: 50%; flex: none; }
.incident-mark.resolved { background: var(--good); }
.incident-title { margin: 0 0 5px; font-size: 14px; font-weight: 700; }
.incident-meta { font-size: 12px; color: var(--text-muted); margin: 0; }
.empty-incidents { text-align: center; padding: 36px 20px; color: var(--text-muted); }
.empty-incidents strong { color: var(--text); display: block; font-weight: 700; margin-bottom: 5px; }
.placeholder { padding: 25px; color: var(--text-muted); font-size: 13px; }
.methodology { display: flex; align-items: flex-start; gap: 16px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 15px; padding: 27px 29px; }
.method-icon { width: 41px; height: 41px; flex: none; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--accent); border-radius: 12px; }
.methodology h2 { font-size: 14px; margin: 0 0 8px; }
.methodology p { margin: 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.75; }
.methodology a { font-size: 12px; display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 760; text-decoration: none; }
.methodology a:hover { text-decoration: underline; }
.site-footer { margin-top: 70px; padding: 28px 0 43px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text-muted); font-size: 11px; }
.footer-left, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer-logo { font-weight: 820; color: var(--accent); font-size: 15px; }
.footer-dot { color: var(--text-faint); }
.footer-links a { text-decoration: none; font-weight: 610; }
.footer-links a:hover { text-decoration: underline; color: var(--accent); }
@media (max-width: 760px) {
  .page-shell { padding: 0 22px; }
  .site-header { min-height: 76px; }
  .monitor-note { display: none; }
  .intro { padding: 47px 0 28px; }
  .overall-panel { padding: 20px; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .overall-symbol { width: 47px; height: 47px; border-radius: 12px; }
  .overall-copy { flex: 1 1 calc(100% - 65px); }
  .overall-copy h2 { font-size: 19px; }
  .overall-meta { flex: 1 0 100%; border-left: 0; border-top: 1px solid var(--border); padding: 12px 0 0; display: flex; align-items: baseline; justify-content: space-between; }
  .summary-grid { margin: 22px 0 45px; }
  .summary-cell { padding: 6px 12px; }
  .summary-number { font-size: 29px; }
  .service-card { padding: 21px 18px; }
  .service-card-top { flex-wrap: wrap; gap: 11px; }
  .section-heading h2 { font-size: 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; margin-top: 47px; gap: 12px; }
}
@media (max-width: 480px) {
  .page-shell { padding: 0 16px; }
  .brand-text { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-divider { margin: 0; }
  .intro h1 { font-size: 39px; }
  .intro-copy { font-size: 14px; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .summary-cell:nth-child(2) { border-right: 0; }
  .summary-cell:last-child { grid-column: span 2; border-top: 1px solid var(--border); padding: 13px 4px 0; }
  .service-scope { font-size: 11.5px; }
  .methodology { padding: 19px 16px; gap: 11px; }
  .method-icon { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
