
:root {
  color-scheme: light dark;
  --ground: #f7f7f8;
  --surface: #ffffff;
  --text: #0b0b0d;
  --muted: #55555c;
  --border: #e3e3e7;
  --link: #0E69F1;
  --focus: #0E69F1;
  --operational: #15803d;
  --degraded: #a16207;
  --down: #b91c1c;
  --unknown: #6b6b73;
  --bar-unknown: #8c8c94;
  --bar-pad: #ececef;
  --tint-operational: #f0fbf3;
  --tint-degraded: #fff8e8;
  --tint-down: #fff1f1;
  --tint-unknown: #f3f3f5;
  --radius-panel: 32px;
  --radius-row: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b0b0d;
    --surface: #141417;
    --text: #f4f4f6;
    --muted: #a7a7b0;
    --border: #2a2a30;
    --link: #7FA9F7;
    --focus: #7FA9F7;
    --operational: #4ade80;
    --degraded: #fbbf24;
    --down: #f87171;
    --unknown: #9a9aa3;
    --bar-unknown: #5d5d66;
    --bar-pad: #222227;
    --tint-operational: #0f1f15;
    --tint-degraded: #231c0b;
    --tint-down: #2a1212;
    --tint-unknown: #1b1b1f;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--text); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; padding: 0.5rem 1rem; border-radius: 999px; corner-shape: round; background: var(--surface); border: 1px solid var(--border); z-index: 1; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.site { border-bottom: 1px solid var(--border); }
.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: 4rem; }
.brand { font-weight: 600; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px; font-size: 1.0625rem; }
.mark { width: 1.75rem; height: 1.75rem; flex: none; }
main { flex: 1; padding: 2.5rem 0 4rem; }
h1 { font-size: 1.875rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 1.5rem; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; margin: 2.5rem 0 1rem; }
h3, h4 { font-size: 1rem; font-weight: 600; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.tabular { font-variant-numeric: tabular-nums; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-panel); padding: 1.5rem; }
.overall { display: flex; gap: 0.875rem; align-items: flex-start; }
.overall h2 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.overall .icon { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.125rem; }
.overall p + p { margin-top: 0.5rem; }
.delayed { font-weight: 500; }
.tint-operational { background: var(--tint-operational); }
.tint-degraded { background: var(--tint-degraded); }
.tint-down { background: var(--tint-down); }
.tint-unknown { background: var(--tint-unknown); }
.level-operational { color: var(--operational); }
.level-degraded { color: var(--degraded); }
.level-down { color: var(--down); }
.level-unknown { color: var(--unknown); }
.badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.125rem 0.625rem 0.125rem 0.5rem; border-radius: 999px; corner-shape: round; border: 1px solid currentColor; font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.badge .icon { width: 1rem; height: 1rem; }
.badge-text { color: var(--text); }
.group { margin-top: 1rem; padding: 0.5rem; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 1rem; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.row { border-radius: var(--radius-row); padding: 0.875rem 1rem; background: var(--ground); }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.row-name { font-weight: 500; }
.row .impact { margin-top: 0.25rem; font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin: 2.5rem 0 1rem; }
.section-head h2 { margin: 0; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.legend li { display: inline-flex; align-items: center; gap: 0.375rem; }
.swatch { width: 4px; height: 0.875rem; border-radius: 999px; corner-shape: round; }
.history { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; align-items: center; margin-top: 0.875rem; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 3px; height: 2.125rem; }
.strip li { display: flex; }
.strip .pad { border-radius: 999px; corner-shape: round; background: var(--bar-pad); }
.bar { position: relative; flex: 1; border-radius: 999px; corner-shape: round; transition: opacity 150ms ease; }
.day-operational { background: var(--operational); }
.day-degraded { background: var(--degraded); }
.day-down { background: var(--down); }
.day-unknown { background: var(--bar-unknown); }
.strip:has(.bar:hover, .bar:focus) .bar:not(:hover, :focus) { opacity: 0.45; }
.bar:focus { outline: none; }
.bar:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bar::after { content: attr(aria-label); display: none; position: absolute; z-index: 2; bottom: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%); width: max-content; max-width: 16rem; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 6px 20px rgb(0 0 0 / 0.14); font-size: 0.8125rem; line-height: 1.4; white-space: pre-line; font-variant-numeric: tabular-nums; pointer-events: none; }
.bar:hover::after, .bar:focus::after { display: block; }
.strip li:nth-child(-n+24) .bar::after { left: 0; transform: none; }
.strip li:nth-last-child(-n+24) .bar::after { left: auto; right: 0; transform: none; }
.uptime { font-size: 0.875rem; font-weight: 600; min-width: 4rem; text-align: right; }
.strip-scale { display: flex; justify-content: space-between; margin-top: 0.375rem; }
.manual { margin-top: 0.5rem; }
.narrow { display: none; }
@media (max-width: 40rem) {
  .strip { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; }
  .strip li:nth-last-child(n+31) { display: none; }
  .strip li:nth-last-child(n+23) .bar::after { left: 0; right: auto; transform: none; }
  .strip li:nth-last-child(-n+22):nth-last-child(n+9) .bar::after { left: 50%; right: auto; transform: translateX(-50%); }
  .wide { display: none; }
  .narrow { display: inline; }
}
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.post-card h3 a { color: var(--text); }
.post-card .meta { margin-top: 0.25rem; }
.post-card .latest { margin-top: 0.5rem; }
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.timeline li { border-left: 2px solid var(--border); padding-left: 1rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.375rem 1rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.body { margin-top: 1.5rem; }
.body p + p, .body ul, .body ol { margin-top: 0.75rem; }
.foot { border-top: 1px solid var(--border); padding: 1.5rem 0 2rem; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 0.5rem; padding: 0; }
.foot a { display: inline-flex; align-items: center; min-height: 24px; }
@media (pointer: coarse) { .foot a, .post-card h3 a { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
