.public-record {
  --record-surface: #0e1819;
  --record-edge: #30433d;
  --record-soft: #a4bcb5;
  --record-mint: #83d2ad;
  padding-bottom: clamp(3.2rem, 7vw, 6rem);
}
.record-crumb { display: flex; align-items: center; gap: .65rem; margin-block: 1.25rem 1rem; color: var(--muted-strong); font-size: .79rem }
.record-crumb a { color: var(--dim) }
.record-crumb a:hover, .record-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .22em }
.record-crumb span[aria-hidden] { color: var(--dim) }
.record-hero { position: relative; isolation: isolate; display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); overflow: hidden; border: 1px solid var(--record-edge); border-radius: var(--radius); background: var(--record-surface) }
.record-intro { align-self: center; min-width: 0; padding: clamp(1.65rem, 3.65vw, 3.25rem); padding-right: clamp(1.3rem, 2.8vw, 2.5rem) }
.record-intro h1 { font-size: clamp(2.6rem, 4.7vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em }
.record-intro > p { max-width: 49ch; margin-top: 1rem; line-height: 1.65; color: var(--muted-strong) }
.record-stamp { display: flex; align-items: center; flex-wrap: wrap; gap: .43rem; margin-top: 1.3rem; color: var(--record-soft); font: .78rem/1.5 var(--font-code); font-variant-numeric: tabular-nums }
.record-stamp .glyph { width: .98rem; height: .98rem }
.public-record .network-state { display: flex; align-items: center; gap: .58rem; margin-top: .9rem; color: var(--accent); font: 600 clamp(1.03rem, 1.7vw, 1.29rem)/1.4 var(--font-display) }
.network-state i, .region-state i { display: inline-block; flex: none; width: .52rem; height: .52rem; border-radius: 50%; background: currentColor }
.network-state i { box-shadow: 0 0 0 .24rem #86dfb51a; margin-inline: .18rem }
.public-record .state-warn { color: var(--alert) }
.network-map { position: relative; display: grid; align-content: center; margin: 0; min-height: 14rem; background: #0c1718; overflow: hidden }
.network-map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0 }
.network-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--record-surface), transparent 21%); pointer-events: none }
.record-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 1rem 2.85rem; padding: 1.3rem 0; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius) }
.record-stats > div { min-width: 0; padding: 0 clamp(1rem, 3vw, 2.4rem); display: grid; align-content: start; gap: .32rem }
.record-stats > div + div { border-inline-start: 1px solid var(--line) }
.record-stats > div > span { color: var(--muted); font-size: .85rem; font-weight: 550; line-height: 1.45 }
.record-stats strong { color: var(--ink); font: 600 clamp(1.72rem, 3vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums }
.record-stats small { color: var(--record-soft); font: 500 .53em var(--font-display); letter-spacing: -.01em }
.record-columns { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(15rem, 1fr); gap: clamp(1.75rem, 4vw, 3.35rem); align-items: start; margin-top: 2.5rem }
.record-primary, .record-section, .record-rail { min-width: 0 }
.record-section + .record-section, .statement-sheet + .record-section { margin-top: 2.7rem }
.public-record h2 { font-size: clamp(1.57rem, 2.7vw, 2.18rem); line-height: 1.15; letter-spacing: -.045em }
.public-record h3 { font-size: 1.12rem; letter-spacing: -.023em }
.record-heading, .ledger-heading { display: flex; align-items: center; justify-content: space-between; gap: .9rem; margin-bottom: .7rem }
.record-section > p, .ledger-heading p { max-width: 68ch; color: var(--muted); font-size: .94rem }
.record-switch { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: var(--control); padding: .18rem; background: var(--input) }
.record-switch a { display: grid; align-items: center; min-height: 2rem; padding: .2rem .72rem; color: var(--muted); font-size: .8rem; font-weight: 600; border-radius: .33rem }
.record-switch a:hover { color: var(--accent) }
.record-switch [aria-current] { background: #203d32; color: var(--accent-hover) }
.region-histories { margin-top: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised) }
.region-history { padding: 1.15rem clamp(.95rem, 2vw, 1.45rem) 1rem }
.region-history + .region-history { border-top: 1px solid var(--line) }
.history-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem }
.history-head h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .38rem .55rem }
.history-head h3 a { display: inline-flex; align-items: center; gap: .5rem }
.history-head h3 a:hover { color: var(--accent) }
.history-head h3 span:not(.flag) { color: var(--muted); font-size: .78rem; font-weight: 450; letter-spacing: 0 }
.history-head p { font-size: .77rem; margin-top: .28rem }
.region-state, .issue-state { color: var(--accent); display: inline-flex; align-items: center; gap: .46rem; font-size: .8rem; font-weight: 570 }
.region-state i { width: .39rem; height: .39rem }
.history-bars { display: flex; gap: 2px; margin: .87rem 0 .43rem }
.history-bars > * { flex: 1 1 0; min-width: 0; height: 1.1rem; border-radius: 2px; background: var(--record-mint) }
.history-bars .interrupt-day { background: repeating-linear-gradient(-50deg, #edc581 0 3px, #79603b 3px 5px) }
.interrupt-day:hover, .interrupt-day:focus-visible { outline: 2px solid var(--alert); outline-offset: 1px }
.history-ends, .chart-axis { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; color: var(--muted); font: .74rem/1.5 var(--font-code); font-variant-numeric: tabular-nums }
.public-record .record-note { margin-top: .75rem; font-size: .79rem }
.record-unit { color: var(--muted); font: .77rem/1.6 var(--font-code) }
.record-rail { display: grid; align-content: start; gap: 1.35rem }
.rail-section { padding-top: 1.15rem; border-top: 1px solid var(--line) }
.rail-section.rail-lead { padding: 1.35rem; background: var(--record-surface); border: 1px solid var(--record-edge); border-radius: var(--radius) }
.rail-lead > .glyph { width: 1.35rem; height: 1.35rem; color: var(--accent); margin-bottom: .8rem }
.public-record .rail-section h2 { font-size: 1.23rem; letter-spacing: -.025em }
.rail-section p { margin-top: .6rem; font-size: .86rem; line-height: 1.65 }
.rail-section .region-state, .rail-date { margin-top: .75rem }
.rail-date { display: block; font: 580 1.07rem/1.5 var(--font-display); color: var(--ink) }
.record-link { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; color: var(--accent); font-size: .87rem; font-weight: 600; line-height: 1.5 }
.record-inline { color: var(--accent); text-decoration: underline; text-underline-offset: .17em }
.rail-section .record-link, .policy-note .record-link { margin-top: .72rem }
.incident-entry { border-bottom: 1px solid var(--line) }
.incident-entry:first-of-type { border-top: 1px solid var(--line); margin-top: 1rem }
.incident-entry summary { display: flex; align-items: center; gap: .85rem; list-style: none; min-height: 4.4rem; padding: .68rem .15rem }
.incident-entry summary:hover .entry-title strong { color: var(--accent) }
.entry-date { min-width: 3.95rem; color: var(--muted); font: .8rem/1.4 var(--font-code) }
.entry-title { flex: 1; min-width: 0; line-height: 1.35 }
.entry-title strong { display: block; font-size: .94rem; font-weight: 600 }
.entry-title small { display: block; margin-top: .2rem; color: var(--muted); font-size: .76rem }
.entry-outcome { color: var(--accent); font-size: .77rem }
.incident-entry summary .glyph { width: .85rem; height: .85rem; color: var(--muted) }
.incident-entry[open] summary .glyph { transform: rotate(180deg) }
.incident-steps { display: grid; gap: .55rem; margin: 0 0 1.2rem 1.95rem; padding: .2rem 0 .15rem 1.2rem; border-left: 1px solid var(--record-edge); list-style: none }
.incident-steps li { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; gap: .7rem; color: var(--muted-strong); font-size: .83rem }
.incident-steps li::before { content: ''; position: absolute; left: -1.42rem; top: .48rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--record-mint) }
.incident-steps time { color: var(--muted); font: .76rem/1.8 var(--font-code) }

.canary-hero { background: #10191a }
.canary-hero .record-link { margin-top: 1.2rem }
.issue-cover { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.8vw, 2.7rem); padding: 2rem 1.25rem; background: linear-gradient(90deg, #10191a 0%, #0918159c 30%, #0c1a17bf), url('vault-hall.webp') center 53% / cover }
.issue-leaf { display: grid; align-items: center; min-width: 6rem; text-align: center; border: 1px solid #6b9785; border-radius: .42rem; background: #11241eea; box-shadow: 3px 3px 0 #162c22, 4px 4px 0 #496957 }
.issue-leaf > span { color: var(--accent); border-bottom: 1px solid #486456; padding: .3rem .6rem; font-family: var(--font-code); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem }
.issue-leaf strong { color: #e4f7eb; padding: .23rem .55rem 0; font: 560 3.2rem/1.1 var(--font-display); letter-spacing: -.07em }
.issue-leaf small { color: #b7cfc2; margin-bottom: .45rem; font: .77rem/1.4 var(--font-code) }
.issue-caption { color: var(--ink); font-size: .9rem; line-height: 1.55 }
.issue-caption .issue-state { margin-bottom: .22rem }
.issue-caption small { display: block; margin-top: .8rem; color: #c4d2cc; font-size: .79rem }
.statement-sheet { border: 1px solid var(--record-edge); border-radius: var(--radius); background: var(--record-surface); padding: clamp(1.1rem, 3vw, 2.2rem) }
.sheet-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--record-edge); margin-bottom: 1.45rem; padding-bottom: .8rem; color: var(--record-soft); font: .79rem/1.4 var(--font-code) }
.sheet-meta > span:first-child { display: inline-flex; align-items: center; gap: .5rem }
.sheet-meta .glyph { width: 1.05rem; height: 1.05rem; color: var(--accent) }
.statement-sheet h2 { font-size: clamp(1.58rem, 2.8vw, 2.3rem) }
.statement-sheet > p { margin-top: .6rem; font-size: .93rem }
.statement-lines { list-style: none; margin: 1.25rem 0; padding: 0; border-top: 1px solid var(--record-edge) }
.statement-lines li { display: flex; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--record-edge); line-height: 1.5; color: var(--muted-strong) }
.statement-lines li span:first-child { color: var(--accent); font: 550 1.65rem/1.1 var(--font-display); min-width: 1.45rem }
.statement-links, .ledger-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.25rem }
.record-download .glyph, .record-form button .glyph { width: 1rem; height: 1rem }
.checksum-section h2, .reporting-notes h2 { margin-bottom: .65rem }
.checksum { margin-top: 1rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--control); background: var(--raised) }
.checksum span { color: var(--muted); font: .76rem/1.5 var(--font-code) }
.checksum code { min-width: 0; color: var(--accent); font: .83rem/1.6 var(--font-code); overflow-wrap: anywhere; user-select: all }
.record-form { display: grid; gap: .4rem }
.rail-section .record-form { margin-top: 1.12rem }
.record-form label { font-size: .78rem; color: var(--muted-strong); font-weight: 580 }
.record-form select { width: 100%; min-width: 0; max-width: 100%; min-height: 2.65rem; font-size: .87rem }
.record-form .button, .record-download { min-height: 2.65rem; font-size: .84rem }
.rail-section .record-form button { margin-top: .22rem }

.transparency-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) }
.request-chart { align-self: center; min-width: 0; margin: 1rem clamp(1.55rem, 3.5vw, 3rem) 1rem .7rem }
.request-chart figcaption { color: var(--muted-strong); font-size: .81rem; font-weight: 600; margin-bottom: .7rem }
.chart-plot { display: grid; grid-template-columns: 2ch minmax(0, 1fr); gap: .45rem }
.chart-scale { display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); text-align: right; font: .7rem/1 var(--font-code) }
.chart-bars { height: 5.85rem; display: flex; gap: clamp(2px, .34vw, 5px); align-items: stretch; border-bottom: 1px solid #648174; background: repeating-linear-gradient(to top, transparent 0, transparent calc(33.333% - 1px), #263b32 calc(33.333% - 1px), #263b32 33.333%) }
.chart-bars a { display: block; flex: 1; min-width: 0; color: #73ad94 }
.chart-bars a:hover, .chart-bars a:focus-visible, .chart-bars a[aria-current] { color: var(--accent-hover) }
.chart-bars svg { display: block; width: 100%; height: 100%; fill: currentColor }
.chart-axis { margin: .45rem 0 0 calc(2ch + .45rem) }
.record-ledger { margin-top: 2.7rem }
.ledger-heading { align-items: flex-end; gap: 1rem; margin-bottom: 1.2rem }
.ledger-heading p { margin-top: .4rem }
.period-form > div { display: flex; align-items: stretch; gap: .45rem }
.period-form select { width: auto; min-width: 10.1rem }
.period-form button { white-space: nowrap }
.ledger-stats { margin: 0; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0 }
.request-table { width: 100%; min-width: 0; table-layout: fixed; border: 1px solid var(--line); border-collapse: collapse; font-variant-numeric: tabular-nums }
.request-table caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.request-table th:first-child { width: 57%; text-align: left }
.request-table th, .request-table td { padding: .78rem 1.25rem; text-align: right; line-height: 1.45 }
.request-table thead th { background: #14211e; color: var(--muted-strong); font-size: .78rem }
.request-table tbody th { color: var(--ink); font-size: .9rem; font-weight: 570 }
.request-table tbody tr:nth-child(even) { background: #0c1316 }
.request-table tbody small { display: block; color: var(--muted); margin-top: .1rem; font-size: .78rem; font-weight: 400 }
.request-table td { font: .91rem/1.45 var(--font-code); color: var(--muted-strong) }
.request-table tfoot th, .request-table tfoot td { color: var(--accent); background: #11231d; font-weight: 650 }
.ledger-foot { margin-top: 1rem }
.ledger-foot p { max-width: 66ch; font-size: .84rem }
.reporting-notes { margin-top: 3.2rem }
.policy-note { padding-block: 1.15rem; border-bottom: 1px solid var(--line) }
.policy-note p { margin-top: .45rem; font-size: .91rem; max-width: 69ch }

@media (max-width: 53rem) {
  .record-columns { grid-template-columns: minmax(0, 1.9fr) minmax(13rem, 1fr); column-gap: 1.4rem }
  .record-intro { padding: 1.65rem }
  .record-stats { margin-bottom: 2rem }
  .region-history { padding-inline: .9rem }
  .history-bars { gap: 1px }
  .rail-section.rail-lead { padding: 1.05rem }
  .record-stats.ledger-stats { margin-bottom: 0 }
  .request-table th, .request-table td { padding-inline: .75rem }
}
@media (max-width: 43rem) {
  .record-hero, .transparency-hero, .record-columns { grid-template-columns: minmax(0, 1fr) }
  .record-intro { padding: 1.5rem 1.25rem }
  .network-map { min-height: 9.5rem; max-height: 11rem }
  .network-map img { object-position: center 54%; object-fit: cover }
  .network-map::after { background: linear-gradient(180deg, #0e1819, transparent 16%) }
  .record-crumb { margin-block: .9rem .75rem }
  .record-columns { margin-top: 1.75rem; row-gap: 2rem }
  .record-stats { margin-block: .65rem 1.7rem; padding-block: .8rem }
  .record-stats > div { padding-inline: .65rem; gap: .4rem }
  .record-stats > div > span { font-size: .73rem }
  .public-record .network-state { margin-top: .7rem }
  .record-stamp { margin-top: .9rem }
  .record-rail { gap: 1rem }
  .record-section + .record-section, .statement-sheet + .record-section { margin-top: 1.9rem }
  .issue-cover { justify-content: flex-start; padding: 1.05rem 1.25rem 1.35rem; gap: 1.45rem; background-position: center, center 58% }
  .issue-leaf { min-width: 4.75rem }
  .issue-leaf strong { font-size: 2.45rem }
  .issue-caption small { margin-top: .35rem }
  .issue-caption small br { display: none }
  .issue-caption small time::before { content: ' ' }
  .request-chart { margin: 0 1.25rem 1.1rem }
  .chart-bars { height: 4rem }
  .ledger-heading { align-items: flex-start; flex-direction: column }
  .record-ledger { margin-top: 1.7rem }
  .period-form { width: 100% }
  .period-form select { flex: 1; min-width: 0 }
  .record-stats.ledger-stats { margin-top: .5rem }
  .request-table th:first-child { width: 45% }
  .request-table th, .request-table td { padding: .68rem .43rem }
  .request-table thead th { font-size: .7rem }
  .request-table tbody th, .request-table td { font-size: .84rem }
  .request-table tbody small { font-size: .71rem }
}
@media (max-width: 30rem) {
  .public-record .record-heading { flex-wrap: wrap }
  .record-switch a { padding-inline: .54rem }
  .history-head h3 { align-items: center }
  .history-head h3 span:not(.flag) { font-size: .72rem }
  .history-ends { flex-wrap: wrap; font-size: .68rem }
  .region-state { font-size: .72rem }
  .entry-date { min-width: 2.8rem; font-size: .73rem }
  .incident-entry summary { gap: .45rem }
  .entry-outcome { font-size: .69rem }
  .incident-steps { margin-left: .3rem; padding-left: .85rem }
  .incident-steps li::before { left: -1.06rem }
  .request-table th:first-child { width: 39% }
  .request-table thead th { font-size: .67rem }
  .request-table th, .request-table td { padding-inline: .29rem }
  .record-stats > div { padding-inline: .47rem }
}
@media (max-width: 23rem) {
  .request-table th:first-child { width: 35% }
  .request-table thead th:nth-child(2) { width: 21% }
  .request-table thead th:nth-child(3) { width: 26% }
}
@media (max-width: 19rem) {
  .period-form { min-width: 0; grid-template-columns: minmax(0, 1fr) }
  .period-form > div { display: grid; grid-template-columns: minmax(0, 1fr) }
  .period-form select { width: 100% }
  .request-table th:first-child { width: 32% }
  .request-table thead th:nth-child(2) { width: 19% }
  .request-table thead th:nth-child(3) { width: 24% }
  .request-table :is(th, td) { padding-inline: .2rem; overflow-wrap: anywhere }
}
