/* AboutSharma Status
   Status colors were validated with the data-viz palette checks (all-pairs,
   CVD-simulated) in both modes: operational / degraded / unavailable /
   maintenance never rely on hue alone — every use carries an icon or label. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --bg-glow: #ffffff;
  --paper: #ffffff;
  --paper-2: #fafbfc;
  --ink: #141b26;
  --ink-2: #3d4a5c;
  --muted: #66748a;
  --faint: #98a3b3;
  --line: #e3e8ef;
  --line-soft: #eef1f5;
  --focus: #2857a3;
  --link: #2857a3;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 30px -12px rgba(16, 24, 40, .10);
  --shadow-lg: 0 24px 60px -24px rgba(16, 24, 40, .22);

  --ok: #12a17f;      --ok-ink: #0b6b55;   --ok-soft: #e8f6f1;   --ok-line: #bfe5d9;
  --warn: #e3a21a;    --warn-ink: #8a5800; --warn-soft: #fdf5e2; --warn-line: #f0d9a2;
  --bad: #c4352d;     --bad-ink: #a32a23;  --bad-soft: #fcefee;  --bad-line: #f1c8c4;
  --info: #4a7fe0;    --info-ink: #2b5bb6; --info-soft: #edf3fd; --info-line: #c8daf7;
  --none: #dde3ea;    --none-ink: #66748a; --none-soft: #f1f4f7; --none-line: #e3e8ef;
  --on-ok: rgba(255, 255, 255, .92); --on-warn: rgba(74, 44, 0, .78); --on-bad: rgba(255, 255, 255, .94);

  --radius: 14px;
  --radius-sm: 9px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0f17;
    --bg-glow: #111a27;
    --paper: #0f1620;
    --paper-2: #121a26;
    --ink: #e8edf4;
    --ink-2: #b9c4d2;
    --muted: #8794a8;
    --faint: #5b6879;
    --line: #1f2937;
    --line-soft: #18212d;
    --focus: #8fb4f7;
    --link: #9dbdf8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
    --ok: #22a888;    --ok-ink: #63d3b2;   --ok-soft: rgba(34, 168, 136, .12);  --ok-line: rgba(34, 168, 136, .32);
    --warn: #c4870f;  --warn-ink: #f0bd57; --warn-soft: rgba(196, 135, 15, .14); --warn-line: rgba(196, 135, 15, .38);
    --bad: #d4433f;   --bad-ink: #ff8f86;  --bad-soft: rgba(212, 67, 63, .14);  --bad-line: rgba(212, 67, 63, .4);
    --info: #5288ea;  --info-ink: #9dbdf8; --info-soft: rgba(82, 136, 234, .14); --info-line: rgba(82, 136, 234, .38);
    --none: #232d3b;  --none-ink: #8794a8; --none-soft: #151d29; --none-line: #1f2937;
    --on-ok: rgba(255, 255, 255, .9); --on-warn: rgba(255, 255, 255, .92); --on-bad: rgba(255, 255, 255, .94);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0f17;
  --bg-glow: #111a27;
  --paper: #0f1620;
  --paper-2: #121a26;
  --ink: #e8edf4;
  --ink-2: #b9c4d2;
  --muted: #8794a8;
  --faint: #5b6879;
  --line: #1f2937;
  --line-soft: #18212d;
  --focus: #8fb4f7;
  --link: #9dbdf8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
  --ok: #22a888;    --ok-ink: #63d3b2;   --ok-soft: rgba(34, 168, 136, .12);  --ok-line: rgba(34, 168, 136, .32);
  --warn: #c4870f;  --warn-ink: #f0bd57; --warn-soft: rgba(196, 135, 15, .14); --warn-line: rgba(196, 135, 15, .38);
  --bad: #d4433f;   --bad-ink: #ff8f86;  --bad-soft: rgba(212, 67, 63, .14);  --bad-line: rgba(212, 67, 63, .4);
  --info: #5288ea;  --info-ink: #9dbdf8; --info-soft: rgba(82, 136, 234, .14); --info-line: rgba(82, 136, 234, .38);
  --none: #232d3b;  --none-ink: #8794a8; --none-soft: #151d29; --none-line: #1f2937;
    --on-ok: rgba(255, 255, 255, .9); --on-warn: rgba(255, 255, 255, .92); --on-bad: rgba(255, 255, 255, .94);
}

/* Status → color roles. Anything with data-status / data-state inherits these. */
[data-status="operational"], [data-state="operational"] { --c: var(--ok); --c-ink: var(--ok-ink); --c-soft: var(--ok-soft); --c-line: var(--ok-line); }
[data-status="degraded"], [data-status="partial"], [data-state="partial"],
[data-status="restoring"], [data-status="recovering"], [data-state="recovering"] { --c: var(--warn); --c-ink: var(--warn-ink); --c-soft: var(--warn-soft); --c-line: var(--warn-line); }
[data-status="unavailable"], [data-status="major"], [data-state="major"] { --c: var(--bad); --c-ink: var(--bad-ink); --c-soft: var(--bad-soft); --c-line: var(--bad-line); }
[data-status="maintenance"], [data-state="maintenance"] { --c: var(--info); --c-ink: var(--info-ink); --c-soft: var(--info-soft); --c-line: var(--info-line); }
/* Phased out: a muted red that reads as retired, not as a current failure. */
[data-status="retired"] { --c: color-mix(in srgb, var(--bad) 50%, var(--faint)); --c-ink: color-mix(in srgb, var(--bad-ink) 62%, var(--muted)); --c-soft: color-mix(in srgb, var(--bad-soft) 60%, transparent); --c-line: color-mix(in srgb, var(--bad-line) 55%, var(--line)); }
/* Queued for restoration: known to be offline, no work started yet. Muted,
   and drawn hollow and dashed so it reads as pending rather than active. */
[data-status="queued"] { --c: color-mix(in srgb, var(--warn) 42%, var(--faint)); --c-ink: var(--muted); --c-soft: transparent; --c-line: color-mix(in srgb, var(--warn-line) 55%, var(--line)); }
[data-status="unknown"], [data-status="none"], [data-state="loading"], [data-state="unknown"], [data-state="stale"], [data-state="offline"] { --c: var(--faint); --c-ink: var(--none-ink); --c-soft: var(--none-soft); --c-line: var(--none-line); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sprite { display: none; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 48px, 62rem); margin-inline: auto; }
/* Header and footer belong to the whole viewport: they span it and only cap
   their inner width on very wide screens, while content keeps a readable
   measure. */
.chrome { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 56px); }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- top bar */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
/* The wordmark: the status mark sits directly on the bar (no tile), then
   "AboutSharma", a hairline divider, and "Status" as a quieter label on the
   same line and optical baseline. */
.brand { --mark-bg: var(--bg); display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap; }
/* The status mark: a planet and its orbit (the AboutSharma motif) with one
   satellite that carries the live network colour. */
.brand-mark { width: 32px; height: 32px; margin-right: 8px; display: grid; place-items: center; color: var(--ink); flex: none; }
.brand-mark .mark { width: 32px; height: 32px; overflow: visible; }
.brand-mark.small { width: 26px; height: 26px; margin-right: 8px; }
.brand-mark.small .mark { width: 26px; height: 26px; }
.mark-orbit { fill: none; stroke: currentColor; stroke-width: 2; opacity: .9; }
.mark-planet { fill: currentColor; }
.mark-sat { fill: var(--brand-sat, var(--ok)); stroke: var(--mark-bg, var(--bg)); stroke-width: 2.4; transition: fill .8s var(--ease); }
:root[data-network="partial"], :root[data-network="recovering"] { --brand-sat: var(--warn); }
:root[data-network="major"] { --brand-sat: var(--bad); }
:root[data-network="unknown"], :root[data-network="stale"], :root[data-network="offline"], :root[data-network="loading"] { --brand-sat: var(--faint); }
.brand:hover .mark-sat { animation: sat-blink 1.2s var(--ease); }
.brand-word { font-size: 16px; font-weight: 660; letter-spacing: -.025em; }
.brand-sub {
  display: inline-flex; align-items: center; height: 18px;
  margin-left: 11px; padding-left: 11px; border-left: 1px solid var(--line);
  color: var(--muted); font-size: 16px; font-weight: 480; letter-spacing: -.015em;
  transition: color .2s;
}
.brand:hover .brand-sub { color: var(--ink-2); }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { padding: 7px 11px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 520; text-decoration: none; transition: background .2s, color .2s; }
.topnav a:hover { background: var(--line-soft); color: var(--ink); }
.theme-toggle { width: 36px; height: 36px; margin-left: 6px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink-2); transition: transform .3s var(--ease), border-color .2s; }
.theme-toggle:hover { border-color: var(--faint); }
.theme-toggle:active { transform: rotate(-25deg) scale(.94); }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60rem 26rem at 78% 30%, color-mix(in srgb, var(--c) 13%, transparent), transparent 70%),
    radial-gradient(40rem 22rem at 8% 0%, var(--bg-glow), transparent 75%),
    var(--bg);
  transition: background .8s var(--ease);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .85fr); align-items: center; gap: 28px; }
.headline-row { display: flex; align-items: center; gap: 16px; }
.hero-glyph {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px;
  background: var(--c); color: #fff;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--c) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: background .6s var(--ease), box-shadow .6s var(--ease), transform .5s var(--ease);
}
.hero-glyph .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.hero[data-state="loading"] .hero-glyph, .hero[data-state="unknown"] .hero-glyph { background: var(--none); color: var(--muted); box-shadow: none; }
h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ellipsis { display: inline-block; animation: blink 1.4s steps(4, end) infinite; }
.lede { max-width: 36rem; margin-top: 16px; color: var(--ink-2); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  color: var(--ink-2); font-size: 13px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.meta-chip b { color: var(--ink); font-weight: 650; }
.meta-chip .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
/* A ring goes out from the dot each time a check cycle completes. */
.meta-chip .dot.beat::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--c); animation: ring 1.4s var(--ease) forwards; }
.checked-live { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

/* "Last checked" split-flap counter: three fixed cells, so nothing around it
   ever moves. Each cell is two halves; a changing digit flips over the
   horizontal midpoint like a station board, in the page's own materials. */
.flipclock { display: inline-flex; gap: 2px; font-variant-numeric: tabular-nums; }
.flip {
  --flip-bg: color-mix(in srgb, var(--ink) 7%, var(--paper));
  --flip-h: 20px;
  position: relative; width: 14px; height: var(--flip-h); border-radius: 4px;
  color: var(--ink); font-size: 12.5px; font-weight: 650; line-height: var(--flip-h); text-align: center;
  perspective: 90px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent);
}
.flip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; background: color-mix(in srgb, var(--paper) 70%, transparent); z-index: 4; }
.flip-half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: var(--flip-bg); }
.flip-half > span { position: absolute; left: 0; right: 0; height: var(--flip-h); }
.flip-top { top: 0; border-radius: 4px 4px 0 0; }
.flip-top > span { top: 0; }
.flip-bottom { bottom: 0; border-radius: 0 0 4px 4px; }
.flip-bottom > span { bottom: 0; }
.flip-flap { z-index: 3; backface-visibility: hidden; visibility: hidden; }
.flip-flap.flip-top { transform-origin: 50% 100%; }
.flip-flap.flip-bottom { transform-origin: 50% 0; }
.flip.run .flip-flap { visibility: visible; }
.flip.run .flip-flap.flip-top { animation: flap-top .22s cubic-bezier(.45, 0, .8, .4) forwards; }
.flip.run .flip-flap.flip-bottom { transform: rotateX(90deg); animation: flap-bottom .2s cubic-bezier(.2, .6, .35, 1) .2s forwards; }
.flip.run .flip-flap.flip-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ink) 12%, transparent)); animation: flap-shade .22s ease-in forwards; }
.swap { animation: swap-in .5s var(--ease); }

/* Orbit network map */
.orbit { position: relative; width: 100%; max-width: 390px; justify-self: end; aspect-ratio: 1; margin-right: -12px; }
.orbit-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.orbit .ring { fill: none; stroke: color-mix(in srgb, var(--ink) 13%, transparent); stroke-width: 1.2; }
.orbit .ring-faint { fill: none; stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 1.2; stroke-dasharray: 1 7; stroke-linecap: round; }
.orbit .planet { fill: var(--c); transition: fill .8s var(--ease); cursor: pointer; }
.orbit .planet-shine { fill: url(#planet-shine); pointer-events: none; }
.orbit .shine-a { stop-color: #fff; stop-opacity: .55; }
.orbit .shine-b { stop-color: #fff; stop-opacity: 0; }
.orbit .planet-glow { fill: var(--c); opacity: .16; transition: fill .8s var(--ease); pointer-events: none; }
.orbit .planet-band { fill: none; stroke: var(--paper); stroke-width: 2.2; opacity: .55; pointer-events: none; }
.orbit .sat { fill: var(--c); stroke: var(--paper); stroke-width: 2.5; transition: fill .8s var(--ease); cursor: pointer; }
.orbit .sat-hit { fill: transparent; cursor: pointer; }
.orbit .sat-halo { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: 0; pointer-events: none; }
.orbit .sat-halo.alert { animation: halo 2.4s var(--ease) infinite; }
.orbit .ping { fill: none; stroke: var(--c); stroke-width: 1.5; pointer-events: none; }
.orbit .sat.active { stroke: var(--ink); }
.hero[data-state="loading"] .orbit .sat { fill: var(--none); }
.hero[data-state="loading"] .orbit-svg { animation: breathe 2.2s ease-in-out infinite; }

/* ---------------------------------------------------------------- layout */

.content { padding-bottom: 72px; }
.section { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
h2 { font-size: 22px; line-height: 1.2; font-weight: 680; letter-spacing: -.03em; }
.card, .group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  color: var(--ink-2); font-size: 14px; box-shadow: var(--shadow-sm);
}
.notice .icon { margin-top: 1px; color: var(--warn-ink); }
.notice strong { color: var(--ink); font-weight: 650; }

.ghost-button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  color: var(--ink-2); font-size: 13px; font-weight: 560; box-shadow: var(--shadow-sm);
  transition: border-color .2s, color .2s;
}
.ghost-button:hover { border-color: var(--faint); color: var(--ink); }
.ghost-button .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.ghost-button[aria-pressed="true"] .icon { transform: rotate(180deg); }

/* ---------------------------------------------------------------- status pill */

.pill {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 4px 10px 4px 9px; border-radius: 999px;
  background: var(--c-soft); color: var(--c-ink); border: 1px solid var(--c-line);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.pill i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--c); transition: background .5s var(--ease); }
.pill[data-status="operational"] i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c);
  animation: soft-pulse 3.2s ease-out infinite; animation-delay: var(--pulse-delay, 0s);
}
.pill[data-status="unknown"] { background: transparent; }
/* Retired: a dash instead of a live dot. */
.pill[data-status="retired"] i { width: 8px; height: 2px; border-radius: 1px; }
.pill[data-status="queued"], .chips a[data-status="queued"] { border-style: dashed; }
.pill[data-status="queued"] i, .chips a[data-status="queued"] i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.group-state[data-status="queued"] .glyph { background: transparent; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); }
.orbit .sat-g[data-status="queued"] .sat { fill: var(--paper); stroke: var(--c); stroke-width: 2.2; }
.svc[data-status="retired"] .svc-name > span:first-child { color: var(--ink-2); }
.pill.changed { animation: flash 1.4s var(--ease); }

/* ---------------------------------------------------------------- active issues */

.active-list { display: grid; gap: 12px; }
.issue {
  position: relative; padding: 18px 20px 18px 22px; overflow: hidden;
  border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow);
}
.issue::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c); }
.issue-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.issue h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.015em; }
.issue p { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.issue-meta { color: var(--muted); font-size: 12.5px; }
.progress-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.progress-count b { color: var(--ink); font-weight: 650; }
.progress { position: relative; height: 6px; margin-top: 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, var(--line-soft)); overflow: hidden; }
.progress > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--c), var(--ok)); transition: width 1.2s var(--ease); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.issue .chip-label { margin-top: 14px; color: var(--ink-2); font-size: 12.5px; font-weight: 620; }
.issue .chip-label span { color: var(--muted); font-weight: 450; }
.chips a { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 9px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-soft); color: var(--ink); font-size: 13px; font-weight: 560; text-decoration: none; transition: border-color .2s; }
.chips a:hover { border-color: var(--c); }
.chips a i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.affected { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.affected li { display: flex; align-items: center; gap: 6px 12px; padding: 9px 12px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line-soft); font-size: 14px; }
.affected a { font-weight: 600; text-decoration: none; }
.affected a:hover { text-decoration: underline; }
.affected .since { color: var(--muted); font-size: 12.5px; margin-left: auto; font-variant-numeric: tabular-nums; }
.updates { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.updates li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 4px 16px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.updates li:last-child { border-bottom: 0; padding-bottom: 0; }
.updates time { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.updates b { display: block; color: var(--ink); font-weight: 620; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.updates p { margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- service groups */

.groups { display: grid; gap: 14px; }
.group { overflow: hidden; transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
.group[data-status="degraded"], .group[data-status="unavailable"] { border-color: var(--c-line); }
.group-head {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 16px 18px 14px 20px; border: 0; background: none; text-align: left;
}
.group-head:hover .group-chevron { color: var(--ink); background: var(--line-soft); }
.group-head:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.group-title { display: block; font-size: 16px; font-weight: 660; letter-spacing: -.02em; }
.group-desc { display: block; margin-top: 1px; color: var(--muted); font-size: 13px; }
.group-state { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.group-state .glyph { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; }
.group-state .glyph .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.group[data-status="unknown"] .group-state .glyph { background: var(--none); color: var(--muted); }
.group-chevron { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); transition: transform .35s var(--ease), background .2s, color .2s; }
.group-head[aria-expanded="true"] .group-chevron { transform: rotate(180deg); }

.svc-list { list-style: none; margin: 0; padding: 0 8px 8px; }
.svc { position: relative; padding: 0 12px; border-radius: 11px; transition: background .3s; }
.svc + .svc::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; border-top: 1px solid var(--line-soft); }
.svc.highlight { animation: highlight 2.2s var(--ease); }
.svc-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 9px 0; }
.svc-main { min-width: 0; flex: 1; }
.svc-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.tag { padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper-2); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.svc-host { display: inline-flex; align-items: center; gap: 3px; margin-top: 1px; color: var(--muted); font-size: 12.5px; text-decoration: none; overflow-wrap: anywhere; }
a.svc-host:hover { color: var(--link); text-decoration: underline; }
.svc-host .icon { width: 12px; height: 12px; opacity: .7; }
.svc-note { margin-top: 3px; color: var(--ink-2); font-size: 12.5px; }
.svc-response { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.svc-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.svc-detail > div { min-height: 0; overflow: hidden; }
.group.expanded .svc-detail { grid-template-rows: 1fr; }
.svc-detail-inner { padding: 0 0 16px; }
.strip { display: flex; gap: 2px; height: 30px; align-items: stretch; touch-action: pan-y; border-radius: 4px; }
.strip:focus-visible { outline-offset: 4px; }
.strip .bar { flex: 1 1 0; min-width: 2px; border-radius: 3px; background: var(--c); transform-origin: bottom; transition: background .5s, opacity .2s, transform .2s; }
.strip .bar[data-status="none"] { background: var(--none); }
.strip .bar.on { transform: scaleY(1.12); filter: brightness(1.08); }
.group.expanded .strip .bar { animation: grow .5s var(--ease) backwards; animation-delay: calc(var(--i) * 12ms); }
.strip-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.strip-axis b { color: var(--ink-2); font-weight: 620; }
/* Handoff timeline: one service across a change of infrastructure. The
   retired system (muted) ends where its successor begins; the hatched bands
   mark where a system was not in service, so the two never look concurrent. */
.handoff { display: grid; gap: 8px; }
.handoff-row, .handoff-axis { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); align-items: center; gap: 14px; }
.handoff-label { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.handoff-name { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.handoff-label .pill { font-size: 11.5px; padding: 2px 8px 2px 7px; }
.handoff-track, .handoff-scale { display: grid; grid-template-columns: var(--cols, 1fr 2px 1fr); column-gap: 6px; align-items: center; }
.handoff-bars { min-width: 0; }
.handoff-row[data-era="before"] .bar[data-status="operational"] { background: color-mix(in srgb, var(--ok) 45%, var(--paper)); }
.handoff-row[data-era="before"] .bar[data-status="unavailable"] { background: color-mix(in srgb, var(--bad) 65%, var(--paper)); }
.handoff-row[data-era="before"] .bar[data-status="degraded"] { background: color-mix(in srgb, var(--warn) 65%, var(--paper)); }
.handoff-na { display: grid; place-items: center; height: 30px; min-width: 0; overflow: hidden; border: 1px dashed var(--line); border-radius: 4px; background: repeating-linear-gradient(135deg, var(--line-soft) 0 5px, transparent 5px 10px); color: var(--faint); font-size: 11px; white-space: nowrap; }
.handoff-na span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 6px; }
.handoff-marker { align-self: stretch; width: 2px; margin-block: -6px; border-radius: 1px; background: color-mix(in srgb, var(--ink) 45%, transparent); }
.handoff-scale { align-items: start; color: var(--muted); font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.handoff-scale > :last-child { justify-self: end; }
.handoff-at { position: relative; height: 1.5em; }
.handoff-at > span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.handoff-at b { color: var(--ink-2); font-weight: 620; }
.handoff-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.handoff-legend span { display: block; }
.handoff-legend b { color: var(--ink-2); font-weight: 620; font-variant-numeric: tabular-nums; }
.handoff-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--ok); vertical-align: -1px; }
.handoff-legend i[data-era="before"] { background: color-mix(in srgb, var(--ok) 45%, var(--paper)); }
.svc-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.svc-stats b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.spark { display: inline-flex; align-items: center; gap: 8px; }
.spark svg { width: 120px; height: 26px; overflow: visible; cursor: crosshair; }
.spark .line { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.spark .area { fill: var(--muted); opacity: .08; }
.spark .cross { stroke: var(--faint); stroke-width: 1; }
.spark .marker { fill: var(--ink-2); stroke: var(--paper); stroke-width: 2; }

/* ---------------------------------------------------------------- network history */

.history-stat { color: var(--muted); font-size: 13.5px; }
.history-stat b { color: var(--ink); font-size: 15px; font-weight: 680; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.history-card { padding: 22px 22px 16px; }
/* Two months at a time: navigation, two calendar months, and what happened
   in them. */
.cal-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 20px; }
.cal-step {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink-2);
  font-size: 13px; font-weight: 560; transition: border-color .2s, color .2s, opacity .2s;
}
.cal-step:hover:not(:disabled) { border-color: var(--faint); color: var(--ink); }
.cal-step:disabled { opacity: .4; cursor: default; }
.cal-step .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
#cal-prev .icon { transform: rotate(90deg); margin-left: -3px; }
#cal-next .icon { transform: rotate(-90deg); margin-right: -3px; }
#cal-prev:hover:not(:disabled) .icon { transform: rotate(90deg) translateY(2px); }
#cal-next:hover:not(:disabled) .icon { transform: rotate(-90deg) translateY(2px); }
.cal-center { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; text-align: center; }
.cal-range { font-size: 15.5px; font-weight: 660; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.cal-latest { font-size: 12px; }
.cal-body { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 28px; align-items: stretch; }
.heatmap { position: relative; border-radius: 10px; touch-action: pan-y; }
.heatmap:focus-visible { outline-offset: 8px; }
.cal-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 640px; margin-inline: auto; }
.cal-months.from-left { animation: cal-from-left .34s var(--ease); }
.cal-months.from-right { animation: cal-from-right .34s var(--ease); }
.cal-months.enter .cal-day[data-i] { animation: cell-in .45s var(--ease) backwards; animation-delay: var(--d, 0ms); }
.cal-title { margin-bottom: 10px; font-size: 13.5px; font-weight: 640; letter-spacing: -.01em; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week { margin-bottom: 6px; color: var(--faint); font-size: 10.5px; font-weight: 600; text-align: center; }
.cal-day {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px;
  background: var(--c); color: var(--on-ok); font-size: 11px; font-weight: 620; font-variant-numeric: tabular-nums;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.cal-day[data-status="partial"] { color: var(--on-warn); }
.cal-day[data-status="major"] { color: var(--on-bad); }
.cal-day[data-status="none"] { background: var(--none); color: var(--muted); }
.cal-day.void, .cal-day.future { background: transparent; box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--faint); font-weight: 500; cursor: default; }
.cal-day.today::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-day.on { z-index: 1; transform: scale(1.14); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.cal-side { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.cal-side-title { color: var(--muted); font-size: 11.5px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; }
.cal-sum { margin-top: 6px; color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.cal-stats { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.cal-stats li { display: flex; align-items: center; gap: 8px; }
.cal-stats b { color: var(--ink); font-weight: 650; }
@keyframes cal-from-left { from { opacity: 0; transform: translateX(-14px); } }
@keyframes cal-from-right { from { opacity: 0; transform: translateX(14px); } }
.legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.legend-group { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 12.5px; }
.legend-group span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 11px; height: 11px; border-radius: 3px; background: var(--c); }
.sw-operational { background: var(--ok); }
.sw-partial { background: var(--warn); }
.sw-major { background: var(--bad); }
.sw-none { background: var(--none); }
.link-button { padding: 2px 0; border: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 560; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.link-button:hover { color: var(--ink); text-decoration-color: currentColor; }
.table-panel { overflow-x: auto; margin-top: 12px; font-size: 13px; animation: swap-in .35s var(--ease); }
.table-panel table { width: 100%; border-collapse: collapse; }
.table-panel th, .table-panel td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.table-panel th { color: var(--muted); font-size: 12px; font-weight: 600; }
.table-panel td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- incidents */

.incident-list { display: grid; gap: 12px; }
.incident { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 18px; padding: 20px 22px; }
.incident-date { color: var(--muted); font-size: 13px; font-weight: 560; font-variant-numeric: tabular-nums; }
.incident-date b { display: block; color: var(--ink); font-size: 22px; font-weight: 680; letter-spacing: -.03em; line-height: 1.15; }
.incident-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.incident h3 { font-size: 17px; font-weight: 660; letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--c-line); background: var(--c-soft); color: var(--c-ink); font-size: 11.5px; font-weight: 640; letter-spacing: .02em; }
.badge .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.incident p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 44rem; }
.incident-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--link); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.text-link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.empty-note { padding: 16px 20px; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- footer & tooltip */

.footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 55%, var(--bg)); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; min-height: 76px; padding-block: 18px; }
.footer-brand { --mark-bg: color-mix(in srgb, var(--paper) 55%, var(--bg)); }
.footer-brand .brand-word, .footer-brand .brand-sub { font-size: 14.5px; }
.footer-brand .brand-sub { height: 16px; margin-left: 9px; padding-left: 9px; }
.footer-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.footer-note p + p { margin-top: 3px; font-size: 12.5px; }
.footer-note a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer-note a:hover { color: var(--ink); text-decoration-color: currentColor; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; font-size: 13px; }
.footer-links a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.footer-links a:hover { background: var(--line-soft); color: var(--ink); }
.footer-links a:last-child { margin-right: -10px; }

.tooltip {
  position: fixed; z-index: 60; max-width: 260px; padding: 9px 12px; pointer-events: none;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow-lg);
  font-size: 12.5px; line-height: 1.5;
  animation: tip-in .18s var(--ease);
  transform-origin: 50% 100%;
}
.tooltip strong { display: block; color: var(--ink); font-weight: 650; font-size: 13px; }
.tooltip span { display: block; color: var(--ink-2); }
.tooltip span + span { color: var(--muted); }
.tooltip .key { display: inline-block; width: 12px; height: 3px; margin-right: 7px; border-radius: 2px; vertical-align: middle; background: var(--c); }

/* ---------------------------------------------------------------- skeletons */

.skeleton-card { padding: 20px; display: grid; gap: 12px; box-shadow: none; }
.skeleton-line, .skeleton-text {
  border-radius: 6px;
  background: linear-gradient(90deg, var(--line-soft) 0%, var(--line) 40%, var(--line-soft) 80%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.skeleton-line { height: 12px; }
.skeleton-text { color: transparent !important; }
.w30 { width: 30%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; }
.w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w100 { width: 100%; height: 90px; }
.heatmap-loading { display: grid; gap: 14px; }

/* ---------------------------------------------------------------- motion */

@keyframes ring { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes soft-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes halo { 0% { r: 7; opacity: .7; } 100% { r: 17; opacity: 0; } }
@keyframes blink { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 -10% 0 0); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
@keyframes swap-in { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes flap-top { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
@keyframes flap-bottom { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
@keyframes flap-shade { to { opacity: 1; } from { opacity: 0; } }
@keyframes sat-blink { 50% { opacity: .35; } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes grow { from { transform: scaleY(.25); opacity: 0; } }
@keyframes breathe { 50% { opacity: .55; } }
@keyframes tip-in { from { opacity: 0; transform: translateY(4px) scale(.97); } }
@keyframes cell-in { from { opacity: 0; transform: scale(.4); } }
@keyframes highlight { 0%, 40% { background: color-mix(in srgb, var(--c) 14%, transparent); } 100% { background: transparent; } }

@media (prefers-reduced-motion: reduce) {
  .flip.run .flip-flap { visibility: hidden; animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pill i::after, .meta-chip .dot::after, .sat-halo { display: none; }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 860px) {
  .hero { padding: 36px 0 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; }
  .lede { font-size: 16px; }
  .footer-inner { grid-template-columns: auto minmax(0, 1fr); }
  .footer-note { grid-column: 1 / -1; grid-row: 2; }
  .cal-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cal-side { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .topbar-inner { min-height: 58px; }
  .topnav a { display: none; }
  .hero { padding: 26px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { order: -1; max-width: 220px; justify-self: center; margin: -6px 0 -10px; }
  .headline-row { gap: 12px; margin-top: 12px; }
  .hero-glyph { width: 42px; height: 42px; border-radius: 13px; }
  .hero-glyph .icon { width: 22px; height: 22px; }
  .lede { font-size: 15.5px; margin-top: 12px; }
  .hero-meta { margin-top: 18px; }
  .meta-chip { font-size: 12.5px; }
  .section { margin-top: 38px; }
  h2 { font-size: 21px; }
  .group-head { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 14px 12px 16px; gap: 10px; }
  .group-desc { display: none; }
  .group-chevron { display: none; }
  .group-state { font-size: 12.5px; }
  .svc-list { padding: 0 4px 6px; }
  .svc { padding: 0 12px; }
  .svc-row { gap: 10px; min-height: 54px; }
  .svc-response { display: none; }
  .pill { font-size: 12px; padding: 3px 9px 3px 8px; }
  .history-card { padding: 16px 14px 14px; }
  .cal-nav { gap: 8px; margin-bottom: 16px; }
  .cal-step { padding: 0 10px; }
  .cal-step span { display: none; }
  .cal-step .icon { margin: 0 !important; }
  .cal-months { gap: 14px; }
  .cal-title { margin-bottom: 8px; font-size: 12.5px; }
  .cal-week, .cal-grid { gap: 3px; }
  .cal-week { font-size: 9.5px; }
  .cal-day { border-radius: 4px; font-size: 9.5px; }
  .cal-day.today::after { bottom: 2px; width: 3px; height: 3px; margin-left: -1.5px; }
  .brand-mark { width: 28px; height: 28px; margin-right: 8px; }
  .brand-mark .mark { width: 28px; height: 28px; }
  .brand-word, .brand-sub { font-size: 15px; }
  .brand-sub { height: 16px; margin-left: 9px; padding-left: 9px; }
  .legend { align-items: flex-start; }
  .incident { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .incident-date b { display: inline; font-size: 13px; color: var(--muted); font-weight: 560; letter-spacing: 0; }
  .updates li { grid-template-columns: 1fr; }
  .affected li { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .affected .since { grid-column: 1; grid-row: 2; margin-left: 0; }
  .affected .pill { grid-column: 2; grid-row: 1 / span 2; }
  .meta-chip { border-radius: 14px; }
  .flip { --flip-h: 19px; width: 13px; font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
  .handoff-row, .handoff-axis { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .handoff-label { flex-direction: row; align-items: center; gap: 8px; }
  .handoff-axis > span:first-child { display: none; }
  .handoff-at b { display: none; }
  .footer-note { grid-row: auto; }
  .footer-links { justify-content: flex-start; margin-left: -10px; }
  .footer-links a:last-child { margin-right: 0; }
}

@media (max-width: 400px) {
  .cal-day { font-size: 0; }
}

@media (forced-colors: active) {
  .pill, .badge, .issue, .group { border: 1px solid CanvasText; }
  .strip .bar, .cal-day, .sw, .orbit .sat { forced-color-adjust: none; }
}

@media print {
  .topbar, .theme-toggle, .ghost-button, .orbit, .tooltip, .link-button { display: none !important; }
  body { background: #fff; }
  .hero { background: none; padding: 16px 0; }
  .card, .group, .issue { box-shadow: none; break-inside: avoid; }
}

/* ---------------------------------------------------------------- incident history page */

.back-link { margin-bottom: 18px; }
.back-link:hover .icon { transform: translateX(-3px); }
.page-title { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.page-intro { max-width: 40rem; margin: -4px 0 22px; color: var(--ink-2); font-size: 15px; }
.page-intro a { color: var(--link); }
.incident-title { font-size: 17px; font-weight: 660; letter-spacing: -.02em; }
.incident .updates { margin-top: 14px; }
.more-link { margin-top: 4px; }
