.record-page {
  --record-rule: #d4d1c3;
  --record-green: #40573f;
  --record-pad: clamp(18px, 2.55vw, 32px);
  color: var(--ink);
}
.record-hero {
  background: var(--atlas-ink);
  color: var(--white);
}
.record-hero-inner {
  min-height: 226px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
  align-items: center;
  gap: 30px;
  padding-block: clamp(28px, 3.2vw, 46px);
}
.record-hero-canary, .record-hero-transparency {
  background-image: linear-gradient(90deg, #171b17 10%, #171b17ed 40%, #171b1775 78%, #171b1799), var(--landscape);
  background-size: cover;
  background-position: center, center 47%;
}
.record-hero-transparency { background-position: center, center 76%; }
.record-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #d6d7cb; font-size: .79rem; }
.record-crumb a:hover { color: var(--gold); }
.record-crumb .icon { transform: rotate(-90deg); color: #b99a68; }
.record-hero h1 { font-size: clamp(2.55rem, 5.2vw, 4.5rem); line-height: 1.02; }
.record-hero-copy > p { margin-top: 13px; max-width: 61ch; color: #d5d8cd; font-size: clamp(.98rem, 1.18vw, 1.08rem); }
.record-map { position: relative; justify-self: end; width: min(100%, 335px); aspect-ratio: 500 / 241; }
.record-map img { width: 100%; height: 100%; }
.record-map span { position: absolute; padding: 2px 6px; border-radius: 4px; color: #f8d7a0; background: #192019e6; font: 600 .74rem/1.25 var(--display); white-space: nowrap; transform: translate(8px, -50%); }
.record-map span::before { position: absolute; top: 50%; left: -8px; width: 7px; height: 7px; content: ''; transform: translate(-50%, -50%); border-radius: 50%; background: #f4bd70; box-shadow: 0 0 0 4px #efbb6e30; }
.map-ams { left: 42.4%; top: 29.45%; }
.map-zrh { left: 56.96%; top: 83.29%; }
.record-stamp { justify-self: end; align-self: end; display: flex; gap: 12px; align-items: center; padding: 11px 17px; border: 1px solid #8e866e; border-radius: 6px; background: #191d17e6; }
.record-stamp .icon { color: var(--gold); }
.record-stamp small, .record-stamp strong { display: block; }
.record-stamp small { color: #ddd8c8; font-size: .72rem; }
.record-stamp strong { color: var(--white); font: 600 1.15rem/1.3 var(--display); }
.record-nav { background: #faf8f0; border-bottom: 1px solid var(--record-rule); }
.record-nav nav { display: flex; gap: clamp(18px, 3.5vw, 48px); }
.record-nav a { display: flex; align-items: center; min-height: 51px; padding-block: 8px; border-bottom: 3px solid transparent; color: var(--muted); text-decoration: none; font-weight: 590; font-size: .92rem; line-height: 1.25; }
.record-nav a[aria-current], .record-nav a:hover { color: var(--ink); border-color: #97682c; }
.record-body { display: grid; gap: clamp(28px, 4vw, 52px); padding-block: clamp(23px, 3.4vw, 43px) clamp(42px, 6vw, 74px); }
.record-body > *, .record-columns > *, .canary-spread > * { min-width: 0; }
.record-body h2 { font-size: clamp(1.63rem, 2.5vw, 2.32rem); }
.record-body h3 { font-size: clamp(1.16rem, 1.65vw, 1.45rem); }
.record-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.record-section-head > span, .record-meta, .history-key, .history-axis { color: var(--muted); font-size: .81rem; }
.record-section > h2, .record-section > .record-section-head { margin-bottom: 17px; }
.record-columns, .canary-spread { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); align-items: start; gap: clamp(20px, 3.3vw, 48px); }
.record-alert { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px 24px; padding: 15px var(--record-pad); background: #e8eddf; border: 1px solid #bdc9b4; border-radius: 9px; }
.record-alert > div { display: flex; align-items: center; gap: 12px; }
.record-alert h2 { color: #293d2b; font-size: clamp(1.1rem, 1.7vw, 1.47rem); }
.record-alert p { font-size: .83rem; color: #435443; }
.record-alert.is-watch { background: #f6e9cc; border-color: #d5b780; }
.record-alert.is-watch h2, .record-alert.is-watch p { color: #63451e; }
.record-indicator { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #507447; box-shadow: 0 0 0 4px #506e431c; }
.is-watch .record-indicator { background: #916224; box-shadow: 0 0 0 4px #91622424; }
.region-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.region-record, .record-card, .statement-paper, .record-table-scroll { border-radius: 11px; border: 1px solid var(--record-rule); background: var(--card); }
.region-record, .record-card { padding: var(--record-pad); }
.region-record header { display: flex; align-items: center; gap: 12px; }
.region-record header p { font-size: .86rem; margin-top: 2px; }
.region-record .flag { width: 33px; height: 23px; }
.region-record .flag-CH { width: 26px; height: 26px; }
.region-record h3 { font-size: 1.6rem; }
.region-record .site-code { margin-left: auto; padding: 2px 7px; border: 1px solid var(--record-rule); border-radius: 4px; color: var(--green); font: 650 .79rem/1.5 var(--display); letter-spacing: .07em; }
.region-metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 13px; border-block: 1px solid var(--record-rule); }
.region-metrics > div { display: block; min-width: 0; padding-block: 13px; border: 0; }
.region-metrics dt, .issuance dt { color: var(--muted); font-size: .82rem; }
.region-metrics dd { margin-top: 3px; color: var(--record-green); text-align: left; overflow-wrap: normal; font: 600 clamp(1.36rem, 2.45vw, 2rem)/1.25 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.component-list, .statement-lines { list-style: none; padding: 0; }
.component-list li, .content-figures dl > div, .issuance dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.component-list li { padding-block: 4px; font-size: .9rem; }
.component-list strong { display: inline-flex; align-items: baseline; gap: 6px; text-align: right; font-size: .82rem; font-weight: 590; }
.state-up { color: var(--record-green); }
.state-attention { color: #865318; }
.component-list strong::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex: none; background: currentColor; align-self: center; }
.availability-history { display: grid; grid-template-columns: repeat(90,minmax(0,1fr)); gap: clamp(1px,.13vw,2px); margin-top: 18px; }
.availability-history > *, .history-key i { background: #70906c; border-radius: 2px; }
.availability-history > * { height: 22px; display: block; }
.availability-history a { scroll-margin: 22px; }
.availability-history a:hover, .availability-history a:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 1; }
.availability-history .setup-delay, .history-key .setup-delay { background: #be862b; }
.availability-history .connection-loss, .history-key .connection-loss { background: #a6533b; }
.history-axis, .history-key, .history-key span { display: flex; align-items: center; }
.history-axis { justify-content: space-between; margin-top: 5px; }
.history-key { flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.history-key span { gap: 6px; }
.history-key i { width: 9px; height: 9px; }
.window-list, .incident-list, .issue-list { border-top: 1px solid var(--record-rule); }
.window-list article { display: grid; grid-template-columns: 54px 1fr; gap: 15px; padding-block: 16px; border-bottom: 1px solid var(--record-rule); }
.window-date { align-self: start; padding-block: 6px; text-align: center; background: #e9e6da; border: 1px solid #d1cbb9; border-radius: 6px; }
.window-date small, .window-date strong { display: block; font-family: var(--display); line-height: 1.12; }
.window-date small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.window-date strong { font-size: 1.48rem; }
.window-list h3 { margin-block: 3px 6px; }
.window-list article p:not(.record-meta), .record-card > p { font-size: .9rem; }
.record-card .component-list { margin-block: 12px; }
.record-card > .text-link { display: inline-block; margin-top: 12px; }
.incident-list details, .issue-list > div { border-bottom: 1px solid var(--record-rule); }
.incident-list details { scroll-margin-top: 18px; }
.incident-list summary { display: grid; grid-template-columns: minmax(77px,.28fr) minmax(0,1fr) auto 16px; gap: 12px; align-items: center; padding: 13px 4px; list-style: none; }
.incident-list summary::-webkit-details-marker { display: none; }
.incident-list summary:hover strong, .verify-record summary:hover { text-decoration: underline; }
.incident-list summary time, .incident-list small, .event-result { font-size: .84rem; }
.incident-list small { display: block; color: var(--muted); }
.incident-list details[open] summary > .icon { transform: rotate(180deg); }
.event-result { color: var(--record-green); text-align: right; }
.event-notes { padding: 0 12px 15px; }
.event-notes p { margin-top: 5px; font-size: .9rem; }
.event-notes strong { color: var(--ink); }
.notice-entry { padding-block: 14px; border-bottom: 1px solid var(--record-rule); }
.notice-entry small { color: var(--muted); }
.notice-entry h3 { margin: 3px 0 8px; }
.record-method { border-left: 3px solid #a98850; padding: 4px 0 4px 18px; }
.record-method h2 { font-size: 1.35rem; margin-bottom: 7px; }
.record-method p { max-width: 88ch; }
.statement-paper { padding: clamp(23px,3.3vw,44px); border-top: 3px solid #ad864e; }
.paper-mast { color: var(--record-green); display: flex; align-items: center; gap: 9px; margin-bottom: 22px; font: 600 .94rem/1.25 var(--display); }
.statement-paper h2 { margin-bottom: 11px; }
.statement-lines { margin-block: 17px 21px; }
.statement-lines li { display: flex; gap: 11px; padding-block: 10px; border-top: 1px solid var(--record-rule); }
.statement-lines .icon { margin-top: 4px; color: var(--record-green); }
.record-actions, .quarter-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.issuance { background: #edeadf; }
.issuance h2 { font-size: 1.55rem; }
.issuance dl { margin: 15px 0; }
.issuance dl > div { padding-block: 8px; border-bottom: 1px solid #cfcabb; }
.issuance dd { font-size: .91rem; font-weight: 610; text-align: right; }
.verify-record > p { max-width: 75ch; margin-bottom: 9px; }
.verify-record pre { padding: 17px 20px; border-radius: 7px; background: #242a22; color: #f5d6a2; white-space: pre-wrap; overflow-wrap: anywhere; font: .88rem/1.65 Consolas, monospace; }
.verify-record summary { font-size: .9rem; }
.record-digest { display: block; margin-top: 7px; overflow-wrap: anywhere; }
.issue-list > div { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 11px 2px; }
.issue-list > div > span { display: flex; align-items: center; gap: 10px; }
.issue-list .icon { color: var(--green); }
.issue-list a, .quarter-links a, .report-table a { font-size: .9rem; text-decoration-color: #987542; }
.quarter-summary { scroll-margin-top: 20px; }
.quarter-summary .record-meta { margin-bottom: 5px; }
.quarter-summary > .record-section-head { margin-bottom: 8px; }
.record-download { display: inline-flex; align-items: center; border: 1px solid #b4b2a2; border-radius: 6px; padding: 6px 13px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.record-download:hover { background: var(--sand); }
.report-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(10px,1.8vw,24px); margin-top: 19px; }
.report-totals article { position: relative; padding: var(--record-pad); background: var(--card); border: 1px solid var(--record-rule); border-top: 3px solid #9c8057; border-radius: 9px; }
.report-totals article:last-child { border-top-color: #72866a; }
.report-totals .icon { color: #836b45; margin-bottom: 8px; }
.report-totals h3 { font-size: 1.1rem; }
.report-totals strong { display: block; margin: 7px 0 8px; font: 600 clamp(2.5rem,4.5vw,4rem)/1 var(--display); letter-spacing: -.055em; }
.report-totals p, .content-figures p, .report-practice p { font-size: .93rem; }
.count-note { font-size: .83rem; margin: 12px 0 20px; }
.content-figures { padding: var(--record-pad); background: #eae8db; border-radius: 9px; align-items: center; }
.content-figures h3, .report-practice h3 { margin-bottom: 8px; }
.content-figures dl > div { border-bottom: 1px solid #cecab9; padding-block: 5px; font-size: .91rem; }
.content-figures dl > div:last-child { border-bottom: 0; }
.content-figures dd { font: 650 1.1rem var(--display); }
.quarter-links:not(:empty) { margin-top: 14px; }
.record-table-scroll { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th, .report-table td { text-align: right; padding: 10px clamp(10px,2vw,24px); font-variant-numeric: tabular-nums; }
.report-table thead { background: #eae8dd; }
.report-table thead th { font-size: .83rem; color: #46503f; }
.report-table td, .report-table tbody th { border-top: 1px solid var(--record-rule); }
.report-table th:first-child { text-align: left; }
.report-practice { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,3vw,40px); }
.report-practice article { display: flex; flex-flow: column; align-items: start; border-top: 1px solid #a4aa98; padding-top: 14px; }
.report-practice p { flex: 1; margin-bottom: 12px; }
.record-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .record-hero-inner { grid-template-columns: minmax(0,1fr) minmax(125px,.38fr); min-height: 195px; gap: 16px; }
  .record-stamp { padding: 8px 10px; gap: 8px; }
  .record-columns, .canary-spread { grid-template-columns: 1fr; }
  .record-card.issuance { max-width: none; }
  .report-practice { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .record-hero-inner { grid-template-columns: 1fr; gap: 16px; padding-block: 25px; }
  .record-hero-status .record-hero-inner { grid-template-columns: minmax(0,1fr) 90px; gap: 7px; }
  .record-hero-status .record-hero-copy { grid-column: 1 / -1; grid-row: 1; }
  .record-hero-status .record-crumb { padding-right: 92px; }
  .record-map { width: 86px; align-self: start; grid-column: 2; grid-row: 1; pointer-events: none; }
  .record-map span { font-size: 0; padding: 0; background: none; }
  .record-map span::before { width: 4px; height: 4px; box-shadow: 0 0 0 2px #efbb6e30; }
  .record-stamp { justify-self: start; align-self: auto; background: #171b17d6; }
  .record-stamp small, .record-stamp strong { display: inline; font-size: .81rem; }
  .record-stamp small { margin-right: 6px; }
  .record-stamp .icon { width: 16px; height: 16px; }
  .record-nav nav { gap: 0; justify-content: space-between; }
  .record-nav a { font-size: clamp(.72rem, 2.95vw, .88rem); min-height: 46px; }
  .region-board, .report-totals { grid-template-columns: 1fr; }
  .record-alert { padding: 14px 17px; }
  .incident-list summary { grid-template-columns: minmax(0,1fr) auto 15px; gap: 3px 9px; }
  .incident-list summary > time { grid-column: 1 / -1; }
  .issue-list > div { gap: 12px; font-size: .88rem; }
  .issue-list > div > span { gap: 5px; }
  .issue-list a { font-size: .82rem; }
  .report-totals article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 14px; padding: 14px 17px; }
  .report-totals .icon { display: none; }
  .report-totals h3 { grid-column: 1; }
  .report-totals strong { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; }
  .report-totals p { grid-column: 1; }
  .report-table th, .report-table td { padding: 8px; font-size: .8rem; }
  .report-table thead th { font-size: .73rem; }
}
