:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #070b1a;
  color: #ecf1ff;
  font-synthesis: none;
  --muted: #a2aec8;
  --border: #222d47;
  --state-color: #acb8ce;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: #081126; }
a { color: #a7c2ff; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
a:focus-visible { outline: 2px solid #78a4ff; outline-offset: 5px; border-radius: 3px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 2; padding: 12px; background: #0d142b; }
.skip-link:focus { top: 12px; }
.page-header, main, .page-footer { width: min(100% - 48px, 880px); margin-inline: auto; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--border); }
.page-header img { display: block; width: 156px; height: auto; object-fit: contain; }
.app-link { font-size: 14px; font-weight: 600; white-space: nowrap; }
main { padding-block: 48px 32px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.3; font-weight: 650; }
.public-label { color: var(--muted); font-size: 13px; }
.overall { display: flex; align-items: center; gap: 20px; padding-block: 0 40px; }
.overall-indicator { flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; color: var(--state-color); }
.overall-indicator .status-dot { width: 14px; height: 14px; }
.overall h2 { font-size: 20px; line-height: 1.45; font-weight: 600; color: var(--state-color); }
.overall p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.65; }
[data-state="operational"] { --state-color: #67dda5; }
[data-state="slow"] { --state-color: #f3c66b; }
[data-state="down"] { --state-color: #ff9393; }
[data-state="unknown"] { --state-color: #acb8ce; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--state-color); }
.list-heading { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.list-heading h2 { font-size: 14px; font-weight: 600; }
.list-heading > span { font-size: 12px; color: var(--muted); }
.services { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.service-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.service-copy { min-width: 0; }
.service-copy h3 { font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.service-copy p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 3px; }
.service-reading { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 130px; }
.service-state { display: inline-flex; align-items: center; justify-content: flex-end; gap: 9px; color: var(--state-color); font-size: 13px; font-weight: 600; white-space: nowrap; }
.response-time { color: var(--muted); font-size: 12px; line-height: 1.5; }
.observation { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.observation time { color: #c8d5ee; }
.scope-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 26px; max-width: 720px; }
.notice { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 6px; line-height: 1.7; font-size: 14px; background: #0d142b; }
.page-footer { padding-block: 22px 32px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .page-header, main, .page-footer { width: calc(100% - 40px); }
  .page-header { padding-block: 22px; gap: 16px; }
  .page-header img { width: 126px; }
  main { padding-block: 30px 28px; }
  h1 { font-size: 25px; }
  .title-row { margin-bottom: 28px; }
  .public-label { display: none; }
  .overall { gap: 14px; align-items: flex-start; padding-bottom: 32px; }
  .overall-indicator { flex-basis: 36px; width: 36px; height: 36px; }
  .overall h2 { font-size: 17px; }
  .overall p { font-size: 13px; }
  .service-item { gap: 12px; padding-block: 21px; }
  .service-reading { min-width: 112px; max-width: 128px; }
  .service-copy h3 { font-size: 14px; }
  .service-copy p, .response-time { font-size: 11px; }
  .service-state { gap: 6px; font-size: 11px; }
  .response-time { text-align: right; }
  .list-heading > span { font-size: 11px; }
}
