@font-face { font-family: "Donna Newsreader"; src: url("/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Donna Hanken"; src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #fafaf9;
  --paper-alt: #f2f1ee;
  --white: #ffffff;
  --ink: #0b1016;
  --ink-secondary: #23272f;
  --soft: #4b5059;
  --faint: #6e727a;
  --line: rgb(11 16 22 / 10%);
  --line-strong: rgb(11 16 22 / 18%);
  --blue: #03408c;
  --blue-deep: #022f69;
  --blue-tint: #eaf0f8;
  --ok: #157a4a;
  --ok-tint: #e4f2ea;
  --ok-bar: #258b6d;
  --amber: #94590a;
  --amber-tint: #fbf1de;
  --red: #af3945;
  --red-tint: #fbecee;
  --unknown: #e5e6e7;
  --serif: "Donna Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Donna Hanken", "Hanken Grotesk", system-ui, sans-serif;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
svg { display: block; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; transform: translateY(-180%); border-radius: 4px; padding: 10px 15px; background: var(--blue); color: #fff; }
.skip-link:focus { transform: none; }
.page, .header-inner { width: 100%; max-width: 992px; margin: auto; padding-left: 32px; padding-right: 32px; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 112px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 180px; height: 60px; object-fit: contain; }
.back-link { display: inline-flex; align-items: center; gap: 9px; padding: 12px 0 12px 12px; color: var(--blue); font-size: 14px; font-weight: 500; }
.back-link svg { width: 17px; height: 17px; }
.intro { padding: 37px 0 25px; }
h1 { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1.04; letter-spacing: -1.25px; }
.intro p { margin-top: 11px; color: var(--soft); font-size: 14px; }

.overall { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--white); }
.overall-main { display: flex; align-items: center; gap: 11px; padding: 14px 20px; min-height: 53px; background: var(--blue); color: #fff; }
.overall-icon { display: grid; flex-shrink: 0; place-items: center; width: 22px; height: 22px; }
.overall-icon svg { width: 21px; height: 21px; stroke-width: 1.7; }
.overall h2 { font-size: 16px; font-weight: 600; letter-spacing: -.1px; }
.overall-body { padding: 15px 20px 14px; }
.overall-body > p { font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }
.updated-row { margin-top: 7px; display: flex; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; font-size: 12px; color: var(--faint); }
.overall[data-status="operational"] .overall-main { background: var(--ok); }
.overall[data-status="degraded"] .overall-main { background: var(--amber); }
.overall[data-status="down"] .overall-main { background: var(--red); }
.overall[data-status="maintenance"] .overall-main { background: var(--blue); }
.connection-error { margin-top: 14px; padding: 13px 16px; background: var(--amber-tint); border: 1px solid #e9d9bc; border-radius: 5px; color: #755020; font-size: 13px; }

.services-section { margin-top: 25px; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 20px; min-height: 53px; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: 14px; font-weight: 600; }
.period-label { color: var(--faint); font-size: 12px; }
.service { padding: 16px 20px 11px; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: none; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; min-height: 22px; }
.service-identity { display: flex; align-items: center; gap: 9px; }
.service-icon { width: 18px; height: 18px; color: var(--faint); display: grid; place-items: center; flex-shrink: 0; }
.service-icon svg { width: 18px; height: 18px; }
.service-icon[data-status="operational"] { color: var(--ok); }
.service-icon[data-status="degraded"] { color: var(--amber); }
.service-icon[data-status="down"] { color: var(--red); }
.service-icon[data-status="maintenance"] { color: var(--blue); }
.service h3 { font-size: 15px; letter-spacing: -.1px; font-weight: 600; }
.service-record { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: var(--faint); font-size: 12px; }
.uptime { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.uptime strong { color: var(--soft); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.service-state { color: var(--faint); font-size: 12px; font-weight: 500; white-space: nowrap; }
.service-state[data-status="operational"] { color: var(--ok); }
.service-state[data-status="degraded"] { color: var(--amber); }
.service-state[data-status="down"] { color: var(--red); }
.service-state[data-status="maintenance"] { color: var(--blue); }
.history { display: flex; gap: 3px; position: relative; height: 20px; border-radius: 2px; touch-action: pan-y; }
.history-bar { flex: 1; min-width: 0; display: block; background: var(--unknown); border-radius: 1px; transition: filter 100ms ease; }
.history-bar[data-status="operational"], .history-legend i[data-status="operational"] { background: var(--ok-bar); }
.history-bar[data-status="degraded"], .history-legend i[data-status="degraded"] { background: #c88b30; }
.history-bar[data-status="down"], .history-legend i[data-status="down"] { background: #cf6872; }
.history-bar[data-status="maintenance"], .history-legend i[data-status="maintenance"] { background: #6b8fbf; }
.history-bar[data-status="unknown"], .history-legend i[data-status="unknown"] { background: var(--unknown); }
.history-bar[data-selected="true"] { filter: brightness(.8); }
.history-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 17px; margin-top: 6px; }
.history-axis { width: 100%; display: flex; justify-content: space-between; gap: 14px; color: var(--faint); font-size: 12px; }
.history-detail { position: absolute; z-index: 3; bottom: calc(100% + 10px); width: max-content; max-width: min(260px, 100%); padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--white); box-shadow: 0 4px 16px rgb(11 16 22 / 10%); font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.history-detail:empty { display: none; }
.history-detail-date { display: block; color: var(--ink-secondary); font-weight: 600; }
.history-detail-status { display: block; color: var(--soft); margin-top: 2px; }
.services-footer { border-top: 1px solid var(--line); padding: 13px 20px 14px; }
.history-legend { display: flex; flex-wrap: wrap; gap: 8px 17px; font-size: 12px; color: var(--soft); }
.history-legend span { display: inline-flex; align-items: center; gap: 5px; }
.history-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 1px; }
.history-note { margin-top: 7px; color: var(--faint); font-size: 12px; }

.maintenance-section { margin-top: 20px; }
.maintenance-notice { padding: 18px 20px; border: 1px solid #c7d5e8; border-radius: 6px; background: var(--white); }
.maintenance-notice + .maintenance-notice { margin-top: 12px; }
.notice-label { color: var(--blue); font-size: 12px; font-weight: 600; }
.maintenance-notice h3 { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.15; letter-spacing: -.2px; margin: 7px 0; }
.maintenance-notice p { color: var(--soft); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-windows { margin: 13px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; list-style: none; }
.notice-windows li + li { margin-top: 5px; }
.notice-zone { margin-top: 6px; color: var(--faint) !important; font-size: 12px !important; }

.incidents-section { margin-top: 34px; }
.incident-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.incident-section-heading h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.45px; line-height: 1.2; }
.timezone-label { color: var(--faint); font-size: 12px; white-space: nowrap; }
.empty { display: flex; align-items: center; gap: 12px; padding: 24px 0 29px; }
.empty-mark { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; color: var(--faint); }
.empty-mark svg { width: 21px; height: 21px; }
.empty h3 { font-size: 14px; font-weight: 500; color: var(--ink-secondary); }
.empty p { color: var(--faint); font-size: 12px; margin-top: 3px; }
.incident { padding: 22px 0; border-bottom: 1px solid var(--line); }
.incident:last-child { border-bottom: none; }
.incident-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 9px 20px; }
.incident h3 { font-size: 15px; font-weight: 600; color: var(--ink-secondary); }
.incident-date, .incident-services { color: var(--faint); font-size: 12px; }
.incident-services { margin-top: 4px; }
.incident-updates { padding: 0; margin: 17px 0 0 3px; list-style: none; }
.incident-update { border-left: 1px solid var(--line-strong); position: relative; padding: 0 0 20px 18px; }
.incident-update:last-child { padding-bottom: 0; }
.incident-update::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #8e9aa9; top: 7px; left: -3px; }
.update-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; }
.update-stage { color: var(--amber); font-weight: 600; }
.update-stage[data-stage="resolved"] { color: var(--ok); }
.update-stage[data-stage="monitoring"] { color: var(--blue); }
.update-time { color: var(--faint); }
.update-message { color: var(--soft); font-size: 13px; margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.loading { padding: 25px 20px; color: var(--faint); font-size: 13px; }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px 18px; padding: 20px 0 30px; color: var(--faint); font-size: 12px; }

@media (max-width: 680px) {
  .page, .header-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { min-height: 95px; gap: 15px; }
  .brand img { width: 156px; height: 52px; }
  .back-link { font-size: 13px; gap: 6px; }
  .intro { padding-top: 29px; padding-bottom: 22px; }
  h1 { font-size: 41px; }
  .intro p { font-size: 13px; margin-top: 9px; }
  .overall-main { min-height: 49px; padding: 13px 16px; gap: 9px; }
  .overall h2 { font-size: 15px; }
  .overall-body { padding: 14px 16px; }
  .overall-body > p { font-size: 13px; }
  .updated-row { font-size: 12px; }
  .services-section { margin-top: 22px; }
  .section-heading { padding: 14px 16px; }
  .service { padding: 16px 16px 11px; }
  .service-top { flex-direction: column; align-items: stretch; gap: 9px; margin-bottom: 11px; }
  .service h3 { font-size: 15px; }
  .service-record { justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; font-size: 12px; }
  .uptime strong, .service-state { font-size: 12px; }
  .history { height: 21px; gap: 2px; }
  .services-footer { padding: 13px 16px 14px; }
  .history-legend { font-size: 12px; gap: 7px 12px; }
  .history-note { font-size: 12px; }
  .incidents-section { margin-top: 29px; }
  .incident-section-heading h2 { font-size: 27px; }
  .timezone-label { font-size: 12px; }
  .maintenance-notice { padding: 17px; }
  .notice-windows { font-size: 12px; }
  footer { font-size: 12px; }
}
@media (max-width: 370px) {
  .page, .header-inner { padding-left: 15px; padding-right: 15px; }
  .brand img { width: 141px; height: 47px; }
  .back-link { font-size: 12px; }
  .history { gap: 1.5px; }
  .incident-section-heading { gap: 10px; }
  .timezone-label { max-width: 88px; white-space: normal; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
