:root {
  color-scheme: light;
  --ink: #123a44;
  --body: #243f46;
  --muted: #50666d;
  --rule: #dce6e7;
  --surface: #fff;
  --focus: #006a83;
  --radius: 15px;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--body);
  background: #f9f9f9;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: #146378; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1, h2, h3, p, a, dd { overflow-wrap: anywhere; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 720; letter-spacing: -.055em; }
h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.037em; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 660; letter-spacing: -.018em; }
.shell { max-width: 1008px; padding: 22px 24px 30px; margin: 0 auto; }
.skip, .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { z-index: 5; top: 8px; left: 12px; width: auto; height: auto; clip-path: none; padding: 10px 16px; color: #fff; background: var(--ink); }
.mast {
  border-radius: var(--radius); box-shadow: 0 8px 24px #20444b0d;
  min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 21px 32px;
  background: url(header-pattern.svg) center/100% 100% no-repeat, linear-gradient(110deg,#6bcfe2,#77d4e5 58%,#6bcde0);
}
.brand { display: block; width: 231px; flex: 0 1 auto; }
.brand img { width: 100%; height: auto; display: block; }
.published { display: flex; align-items: center; gap: .75rem; color: #123b44; padding: 8px 0; line-height: 1.4; font-size: .84rem; font-weight: 650; }
.published > div > span { display: block; font-weight: 540; font-size: .74rem; }
.published abbr { border: 0; text-decoration: none; }
.clock-icon { width: 25px; height: 25px; border-radius: 50%; border: 1.75px solid currentColor; position: relative; flex: none; }
.clock-icon::before { content: ""; position: absolute; top: 4px; left: 10px; width: 5px; height: 7px; border-left: 1.75px solid; border-bottom: 1.75px solid; }
main { outline: none; margin-top: 24px; }
.overview {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; min-height: 64px; padding: 13px clamp(20px,2.5vw,32px);
  border-radius: var(--radius); background: var(--banner); color: white;
}
.overview-primary { display: flex; align-items: center; gap: 13px; }
.overview-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 7px; margin-inline-start: auto; padding: 0; list-style: none; }
.overview-tags li { display: flex; }
.overview h1 { margin: 0; color: inherit; font-size: clamp(1.17rem,2.2vw,1.55rem); letter-spacing: -.025em; }
.overview-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.7px solid currentColor; font-weight: 730; font-size: 1.07rem; line-height: 1; }
.panel-stack { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
.overview + .panel-stack { margin-top: 18px; }
.panel { min-width: 0; padding: clamp(21px,2.4vw,31px); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); box-shadow: 0 6px 18px #233b4205; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.services, .events, .timeline ol, .service-chips, .history-legend ul { list-style: none; padding: 0; }
.history-period { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.services { margin-top: 14px; }
.services > li { border-top: 1px solid var(--rule); padding: 13px 0 11px; }
.services > li:last-child { padding-bottom: 0; }
.service-line { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.service-line h3 { font-size: 1rem; line-height: 1.3; }
.service-chips { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px 7px; }
.service-chip {
  display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 13px;
  border: 1px solid #cfdee1; background: #f1f6f7; color: #2f525b;
  font-size: .8rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere;
}
.event .service-chips { margin-top: 7px; }
[data-tone] { --tone: #455965; --tint: #eef2f4; --bar: #bbc6cc; --banner: #425d66; }
[data-tone="operational"] { --tone: #185b3c; --tint: #e5f4e9; --bar: #2e9663; --banner: #18774d; }
[data-tone="degraded"] { --tone: #6c4b15; --tint: #fff4d8; --bar: #cc9a32; --banner: #856006; }
[data-tone="partial"] { --tone: #883b0e; --tint: #fff0e5; --bar: #d17a34; --banner: #984c20; }
[data-tone="major"] { --tone: #943041; --tint: #fbecef; --bar: #bf4b59; --banner: #a13846; }
[data-tone="maintenance"] { --tone: #424d8c; --tint: #edefFA; --bar: #7482b7; --banner: #4a5a91; }
.history-legend { position: relative; font-size: .78rem; }
.history-legend summary::-webkit-details-marker { display: none; }
.history-legend summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 7px; color: var(--muted); font-weight: 610; }
.history-legend summary:hover { color: var(--ink); text-decoration: underline; }
.history-legend summary::after { content: ""; display: inline-block; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); }
.history-legend[open] summary::after { transform: translateY(1px) rotate(225deg); }
.history-legend ul { position: absolute; top: 100%; right: 0; z-index: 2; margin-top: 5px; background: white; color: var(--ink); border: 1px solid var(--rule); border-radius: 9px; padding: 8px 12px; box-shadow: 0 6px 18px #25374016; width: max-content; }
.history-legend li { display: flex; align-items: center; gap: 7px; padding: 3px 0; }
.legend-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.history-strip { display: grid; grid-template-columns: repeat(90,minmax(0,1fr)); gap: clamp(1px,.2vw,3px); margin-top: 8px; }
.history-day, .legend-swatch { background-color: var(--bar); }
.history-day { height: 16px; border-radius: 2px; }
[data-tone="unknown"].history-day, [data-tone="unknown"] .legend-swatch { background-image: repeating-linear-gradient(135deg,transparent 0 3px,#8a9ca475 3px 4px); }
.history-strip[tabindex] { cursor: pointer; }
.history-strip:focus-visible, #history-popover button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.history-day.is-active { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 1; }
@media (hover: hover) {
  /* Bridge the four-pixel gap to the popup for a slow-moving pointer. */
  .history-day.is-active { position: relative; }
  .history-day.is-active::after { content: ""; position: absolute; inset: -4px 0; }
}
#history-popover {
  position: fixed; z-index: 10; width: min(19rem, calc(100vw - 16px)); max-height: min(22rem, calc(100vh - 16px));
  overflow-y: auto; overscroll-behavior: contain; padding: 13px 15px; border: 1px solid #cbdadc;
  border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 6px 24px #123a4426;
  font-size: .85rem; line-height: 1.4;
}
#history-popover[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  #history-popover:not([hidden]) { animation: history-popover-in 120ms ease-out; }
  @keyframes history-popover-in { from { opacity: 0; } to { opacity: 1; } }
}
.history-popover-date { display: block; padding-right: 28px; color: var(--muted); font-weight: 500; font-size: .8rem; }
.history-popover-close, .history-popover-paging button {
  display: grid; place-items: center; border: 0; border-radius: 6px;
  background: transparent; color: var(--muted); cursor: pointer; font: inherit;
}
.history-popover-close { position: absolute; top: 4px; right: 5px; width: 30px; height: 30px; font-size: 1.15rem; }
.history-popover-close:hover, .history-popover-paging button:hover { background: #eff5f6; color: var(--ink); }
.history-popover-events { display: grid; list-style: none; gap: 7px; padding: 0; margin: 8px 0 0; }
.history-popover-events li, .history-popover-status, .history-popover-empty { display: flex; align-items: baseline; gap: 8px; }
.history-popover-status, .history-popover-empty, .history-popover-group { margin-top: 8px; }
.history-popover-group { color: var(--muted); font-size: .76rem; font-weight: 650; }
.history-popover-events a { color: var(--ink); font-weight: 560; }
.history-popover-marker, .history-popover-indicator {
  display: inline-grid; place-items: center; flex: none; min-width: 15px; height: 15px;
  border-radius: 50%; color: var(--tone); background: var(--tint); font: 700 .72rem/1 system-ui, sans-serif;
}
.history-popover-paging { display: none; }
@media (pointer: coarse) {
  .history-strip[tabindex] { padding-block: 5px; }
  .history-popover-paging { display: flex; gap: 5px; justify-content: flex-end; margin-top: 8px; }
  .history-popover-paging button { min-width: 44px; min-height: 44px; border: 1px solid var(--rule); }
  .history-popover-paging button:disabled { opacity: .4; cursor: default; }
}
.history-scale { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .7rem; margin-top: 3px; font-variant-numeric: tabular-nums; }
.badge, .event-phase { color: var(--tone); background: var(--tint); font-size: .75rem; font-weight: 650; line-height: 1.3; border-radius: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; max-width: 11.5rem; flex-shrink: 0; }
.badge-symbol { display: inline-grid; place-items: center; flex: none; height: 13px; width: 13px; border: 1.35px solid currentColor; border-radius: 50%; font: 700 9px/1 system-ui,sans-serif; }
.empty-copy { color: var(--muted); margin-top: 12px; font-size: .93rem; }
.section-link,.back { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 670; text-decoration: none; padding: 5px 0; }
.section-link { margin-top: 14px; min-height: 44px; padding: 8px 14px; color: var(--ink); background: #eff9fb; border: 1px solid #9ec9d2; border-radius: 8px; }
.section-link:hover { background: #e1f2f5; }
.section-link span { font-size: 1.1em; }
.page-title { padding: 20px 0 26px; max-width: 82ch; }
.archive-title { margin: 16px 0 20px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.page-title > p:not(.event-phase) { color: var(--muted); margin-top: 10px; }
.event-title { padding-top: 14px; }
.event-title h1 { margin-top: 10px; }
.event-phase { width: fit-content; display: inline-block; padding: 4px 8px; }
.archive + .archive { margin-top: 14px; }
.archive .month::first-letter { text-transform: uppercase; }
.events { margin-top: 10px; }
.event { padding: 15px 0; border-top: 1px solid var(--rule); }
.event:last-child { padding-bottom: 0; }
.event-head, .timeline-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; }
.event time, .timeline time { font-size: .78rem; color: var(--muted); }
.event-link { display: inline-block; font-weight: 660; text-decoration: none; margin-top: 5px; }
.event-link > span { font-size: .8em; }
.timeline ol { margin-top: 20px; }
.timeline li { position: relative; padding: 0 0 23px 21px; border-left: 1px solid #b4d4db; margin-left: 4px; }
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #32798a; left: -5px; top: 5px; box-shadow: 0 0 0 3px var(--surface); }
.prose { margin-top: 12px; white-space: pre-line; color: var(--body); }
.facts dt { font-size: .8rem; color: var(--muted); font-weight: 580; margin: 17px 0 4px; }
.facts dd { color: var(--ink); }
footer { margin-top: 34px; padding: 18px 2px 0; border-top: 1px solid var(--rule); color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; font-size: .78rem; }
footer a { font-weight: 610; text-decoration: none; }
@media (max-width: 700px) {
  .shell { padding: 12px 14px 22px; }
  .mast { flex-direction: column; align-items: flex-start; min-height: auto; padding: 18px 21px; gap: 11px; }
  .brand { width: 185px; }
  .published { align-items: center; font-size: .78rem; gap: 6px; padding: 0; }
  .published > div > span { display: inline; margin-right: 5px; font-size: inherit; }
  .clock-icon { width: 15px; height: 15px; border-width: 1px; }
  .clock-icon::before { top: 2px; left: 6px; width: 3px; height: 5px; border-width: 1px; }
  main { margin-top: 15px; }
  .overview { min-height: 54px; padding: 12px 18px; }
  .overview-tags { flex-basis: 100%; margin-inline-start: 0; }
  .panel-stack { gap: 14px; }
  .overview + .panel-stack { margin-top: 14px; }
  .history-day { height: 17px; border-radius: 1px; }
}
@media (max-width: 460px) {
  .shell { padding: 10px 10px 21px; }
  .mast { padding-inline: 17px; }
  .service-panel { padding-inline: 15px; }
  .service-line { flex-wrap: wrap; }
  .history-strip { gap: 1px; }
  .published { flex-wrap: wrap; }
  .published > div > span { display: block; }
}
@media print {
  body, :root { background: #fff; }
  #history-popover, .history-legend, footer a, .skip { display: none; }
  .shell { padding: 0; }
  .overview, .mast { background: #fff; border: 1px solid #b8c9cd; }
  .overview h1, .overview-icon { color: var(--ink); }
  .services > li, .overview { break-inside: avoid; }
  .history-day { print-color-adjust: exact; }
}
