:root {
  --paper: #f5f6f8;
  --surface: #fff;
  --ink: #242b35;
  --muted: #626c7a;
  --line: #dce1e8;
  --teal: #006fd6;
  --teal-soft: #eaf3ff;
  --graph: #f4f5f7;
  --graph-text: #242b35;
  --article: #4c8eda;
  --author: #8dcc93;
  --institution: #edc760;
  --journal: #bf8cc0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; padding-left: 56px; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; transition: background .15s, border-color .15s; }
button:disabled { cursor: default; opacity: .45; }
a { color: var(--teal); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #78b6f5; outline-offset: 2px; }
button, select, input { border-radius: 4px; }
button:hover:not(:disabled) { filter: brightness(.97); }
[hidden] { display: none !important; }
.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; }
.skip-link { position: absolute; left: 64px; top: -60px; padding: 10px; background: white; z-index: 100; }
.skip-link:focus { top: 10px; }
h1, h2, h3, h4, p { margin-top: 0; }
.app-rail { position: fixed; inset: 0 auto 0 0; width: 56px; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border-right: 1px solid var(--line); }
.rail-home { width: 56px; height: 59px; display: grid; place-items: center; color: var(--teal); font-size: 13px; font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.rail-link { width: 40px; height: 40px; display: grid; place-items: center; color: #606c7c; border-radius: 5px; }
.rail-link:hover, .rail-link:focus-visible { color: var(--teal); background: var(--teal-soft); }
.rail-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rail-docs { margin-top: auto; margin-bottom: 14px; }
.site-header { min-height: 59px; padding: 0 26px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); background: #fff; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 15px; line-height: 1.2; }
.brand-subtitle { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.brand-mark { position: relative; width: 29px; height: 31px; flex: none; }
.brand-mark:before, .brand-mark:after { content: ''; position: absolute; background: var(--teal); height: 1.5px; width: 23px; left: 3px; top: 13px; transform: rotate(-40deg); }
.brand-mark:after { transform: rotate(40deg); left: 1px; top: 22px; width: 24px; }
.brand-mark i { position: absolute; display: block; border: 1.5px solid var(--teal); background: white; border-radius: 50%; width: 9px; height: 9px; z-index: 1; left: 0; top: 11px; }
.brand-mark i:nth-child(2) { left: 21px; top: 0; background: var(--teal); }
.brand-mark i:nth-child(3) { left: 21px; top: 24px; }
.site-header nav { display: flex; align-items: stretch; gap: 25px; font-size: 12px; align-self: stretch; }
.site-header nav a { text-decoration: none; color: var(--muted); padding: 20px 0 17px; border-bottom: 3px solid transparent; }
.site-header nav a.active { color: var(--teal); font-weight: 600; border-bottom-color: var(--teal); }
main { max-width: 1920px; margin: auto; padding: 0 24px; }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 21px 0 18px; }
.eyebrow { font-size: 10px; color: var(--muted); font-weight: 500; }
h1 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; font-weight: 600; margin: 7px 0 6px; }
.intro p { font-size: 12px; color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.connection { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 270px; text-align: right; }
.connection-badge { font-size: 11px; background: #edf7f0; color: #2a6a43; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d0e9d9; border-radius: 4px; padding: 6px 9px; }
.connection-badge i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #4a9b62; }
.connection-badge.error { background: #fff0f0; color: #a33737; border-color: #f0d1d1; }
.snapshot-label { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.service-message { font-size: 12px; padding: 12px 16px; margin: 0 0 16px; border: 1px solid #e8d69d; background: #fffbeb; border-radius: 4px; line-height: 1.6; display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.service-message button { flex: none; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 21px; border: 1px solid var(--line); background: white; border-radius: 5px; }
.metric { padding: 14px 20px; position: relative; }
.metric:not(:last-child) { border-right: 1px solid var(--line); }
.metric>span { display: block; font-size: 11px; color: var(--muted); }
.metric strong { display: block; font-size: 25px; font-weight: 550; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 5px 0; }
.metric small { font-size: 10px; color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.section-heading .eyebrow { display: none; }
.section-heading h2 { font-weight: 600; font-size: 16px; margin: 0; }
.section-heading>p { font-size: 11px; color: var(--muted); margin: 0; }
.explorer-section, .overview-section { scroll-margin-top: 20px; }
.search-form { display: flex; align-items: stretch; gap: 8px; margin-bottom: 10px; }
.search-field { position: relative; flex: 1; min-width: 0; }
.search-icon { position: absolute; left: 13px; top: 5px; font-size: 25px; line-height: 1; color: var(--muted); }
.search-field input { width: 100%; height: 40px; border: 1px solid #bdc5d1; padding: 10px 14px 10px 39px; font-size: 12px; background: white; color: var(--ink); box-shadow: 0 1px 2px #172b4d08; }
.search-field input::placeholder { color: #737d8c; }
.kind-field select { height: 40px; width: 187px; padding: 8px 25px 8px 11px; color: var(--ink); font-size: 12px; background: white; border: 1px solid #bdc5d1; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--teal); color: white; border: 1px solid var(--teal); padding: 9px 17px; font-size: 12px; font-weight: 500; text-decoration: none; }
.primary-button span { font-size: 16px; line-height: 1; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; font-size: 11px; min-height: 30px; }
.filter-row>label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.filter-row select { border: 1px solid var(--line); background: white; padding: 6px 22px 6px 8px; max-width: 220px; color: var(--ink); font-size: 11px; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 280px; padding: 5px 8px; background: var(--teal-soft); color: #0055a6; border: 1px solid #c4def8; font-size: 10px; }
.filter-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-button { border: 0; background: none; color: var(--teal); font-size: 11px; padding: 6px; }
.identity-hint { margin-left: auto; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.info-button { border: 1px solid #a6b0bd; width: 19px; height: 19px; padding: 0; border-radius: 50%; background: white; font-size: 11px; color: var(--muted); }
.workspace-grid { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(350px,2.45fr) minmax(250px,1fr); gap: 0; align-items: stretch; border: 1px solid #cfd6e0; border-radius: 5px; overflow: hidden; background: white; }
.panel { border: 1px solid var(--line); border-radius: 5px; background: white; min-width: 0; }
.workspace-grid>.panel { border: 0; border-radius: 0; }
.panel-heading { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); min-height: 47px; }
.panel-heading h3 { font-size: 12px; font-weight: 600; line-height: 1.5; margin: 0; }
.subtle, .panel-caption { font-size: 10px; color: var(--muted); line-height: 1.6; }
.panel-caption { padding: 0 15px; margin: 10px 0; }
.results-panel { display: flex; flex-direction: column; overflow: hidden; }
.results-list { height: 510px; overflow: auto; flex: 1; min-height: 300px; scrollbar-width: thin; }
.result-button { display: block; text-align: left; width: 100%; border: 0; border-top: 1px solid #e9edf2; border-radius: 0; padding: 13px 15px; background: transparent; color: var(--ink); }
.result-button:hover { background: #f5f8fc; }
.result-button.selected { background: var(--teal-soft); border-left: 3px solid var(--teal); padding-left: 12px; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.record-id { font-size: 9px; color: var(--muted); letter-spacing: .025em; }
.notice-badge { font-size: 9px; border-radius: 3px; display: inline-block; line-height: 1.4; padding: 2px 6px; background: #fceaea; color: #9a4040; font-weight: 500; max-width: 130px; }
.notice-badge.concern { background: #fff4d6; color: #785c14; }
.notice-badge.correction { background: #eaf3ff; color: #245b96; }
.notice-badge.reinstatement { background: #e8f5ec; color: #346a46; }
.result-title { font-size: 12px; line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; margin: 0; }
.result-bottom { font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 7px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px; border-top: 1px solid var(--line); min-height: 49px; }
.pagination button { font-size: 10px; padding: 6px 7px; border: 1px solid var(--line); background: white; color: var(--ink); }
.pagination span { font-size: 9px; color: var(--muted); }
.empty-results { padding: 30px 17px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.empty-results strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.error-retry { margin-top: 10px; font-size: 12px; padding: 8px 10px; border: 1px solid #bdc5d1; background: white; color: var(--teal); }
.graph-panel { background: var(--graph); color: var(--graph-text); border-inline: 1px solid #cfd6e0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.graph-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); min-height: 62px; background: white; }
.graph-heading>div { min-width: 0; flex: 1; }
.graph-eyebrow { font-size: 9px; color: var(--muted); }
.graph-heading h3 { font-size: 12px; line-height: 1.4; font-weight: 550; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 4px 0 0; }
.graph-heading>span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.graph-stage { position: relative; min-height: 420px; flex: 1; }
#network { position: absolute; inset: 0; min-width: 0; }
.graph-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; pointer-events: none; }
.empty-constellation { font-size: 30px; color: #8da8c9; line-height: .75; margin-bottom: 16px; }
.graph-placeholder strong { font-size: 16px; font-weight: 500; }
.graph-placeholder>span:last-child { font-size: 12px; color: var(--muted); line-height: 1.7; max-width: 300px; }
.graph-loading { position: absolute; top: 14px; left: 14px; background: white; color: var(--teal); border: 1px solid #c5d7ed; border-radius: 4px; padding: 8px 12px; font-size: 11px; z-index: 4; box-shadow: 0 2px 8px #20334a0d; }
.graph-tooltip { position: absolute; z-index: 8; pointer-events: none; max-width: 240px; padding: 9px 12px; border: 1px solid #c6cdd8; background: white; color: var(--ink); border-radius: 4px; font-size: 11px; line-height: 1.5; box-shadow: 0 4px 16px #172b4d15; overflow-wrap: anywhere; }
.graph-legend { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 9px; color: #566171; pointer-events: none; background: #fffffff2; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.graph-legend>span { display: flex; gap: 5px; align-items: center; }
.graph-legend i { width: 9px; height: 9px; border-radius: 50%; }
.article-dot { background: var(--article); }
.author-dot { background: var(--author); }
.institution-dot { background: var(--institution); }
.journal-dot { background: var(--journal); }
.graph-toolbar { padding: 10px 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line); background: white; }
.graph-toolbar button, .graph-toolbar select { background: white; border: 1px solid #c5cdd8; color: #374151; padding: 7px 8px; font-size: 10px; max-width: 170px; }
.graph-toolbar button:first-child { background: var(--teal); color: white; border-color: var(--teal); }
.graph-toolbar select { min-width: 90px; flex: 1; width: 90px; overflow: hidden; text-overflow: ellipsis; }
.graph-status { font-size: 10px; color: var(--muted); background: white; margin: 0; padding: 0 12px 10px; line-height: 1.6; min-height: 37px; }
.graph-footnote { font-size: 10px; color: var(--muted); line-height: 1.8; margin: 11px 0 0; max-width: 1200px; }
.detail-panel { overflow: hidden; }
.detail-panel>.panel-heading { border-bottom: 2px solid var(--teal); }
.detail-symbol { font-size: 16px; color: var(--muted); }
.detail-content { padding: 15px 17px 20px; height: 575px; overflow: auto; scrollbar-width: thin; }
.detail-empty { padding: 90px 6px; text-align: center; }
.detail-empty-mark { font-size: 30px; color: #a3b0c1; display: block; margin-bottom: 15px; }
.detail-empty h4 { font-size: 16px; line-height: 1.4; font-weight: 500; margin-bottom: 12px; }
.detail-empty p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.detail-heading { font-size: 15px; line-height: 1.5; font-weight: 550; margin: 12px 0 13px; overflow-wrap: anywhere; }
.detail-label { font-size: 10px; font-weight: 600; color: #566171; display: block; margin: 19px 0 8px; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { font-size: 11px; line-height: 1.7; margin: 5px 0; overflow-wrap: anywhere; }
.name-button { font-family: inherit; color: var(--teal); }
.detail-list .name-button { background: none; text-align: left; border: 0; padding: 0; font-size: 11px; color: var(--teal); text-decoration: underline; text-decoration-color: #9fc2e8; text-underline-offset: 3px; border-radius: 0; }
.detail-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-block: 1px solid var(--line); padding: 12px 0; }
.detail-dates dt { font-size: 9px; color: var(--muted); margin-bottom: 4px; }
.detail-dates dd { font-size: 11px; margin: 0; line-height: 1.7; }
.detail-doi { display: block; overflow-wrap: anywhere; font-size: 11px; line-height: 1.8; }
button.detail-doi { background: white; border: 0; padding: 0; text-align: left; text-decoration: underline; }
.detail-note { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 14px 0; }
.detail-expand { width: 100%; font-size: 11px; margin-top: 13px; }
.detail-source { margin-top: 18px; font-size: 10px; color: var(--muted); }
.detail-source summary { cursor: pointer; }
.detail-source pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10px; line-height: 1.7; background: #f4f6f9; padding: 10px; border: 1px solid #e3e8ef; border-radius: 4px; }
.detail-neighbor-list { margin-top: 15px; }
.detail-neighbor-list button { display: block; width: 100%; font-size: 11px; padding: 9px 0; border: 0; border-top: 1px solid var(--line); text-align: left; color: var(--teal); background: transparent; border-radius: 0; line-height: 1.6; }
.overview-section { padding: 30px 0; }
.notice-panel { padding-bottom: 17px; margin-bottom: 14px; }
.notice-breakdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 18px 20px 0; }
.notice-item { border: 0; background: transparent; padding: 0; text-align: left; color: var(--ink); border-radius: 0; }
.notice-item .notice-track { display: block; height: 5px; width: 100%; background: #edf0f5; margin: 11px 0 8px; border-radius: 2px; overflow: hidden; }
.notice-item .notice-track i { height: 100%; display: block; min-width: 2px; }
.notice-item .notice-value { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; display: block; }
.notice-item .notice-label { font-size: 11px; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); line-height: 1.5; }
.notice-percent { font-variant-numeric: tabular-nums; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-panel { padding-bottom: 17px; }
.chart-panel .panel-heading { align-items: flex-start; }
.chart-unit { font-size: 10px; color: var(--muted); padding-top: 2px; }
.bar-chart { padding: 11px 18px 2px; }
.bar-row { border: 0; display: block; background: transparent; width: 100%; padding: 9px 0 8px; text-align: left; color: var(--ink); border-radius: 0; }
.bar-label { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; line-height: 1.5; }
.bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-value { font-variant-numeric: tabular-nums; flex: none; color: var(--muted); font-size: 10px; }
.bar-track { display: block; background: #edf1f7; height: 6px; margin-top: 7px; border-radius: 2px; overflow: hidden; }
.bar-fill { display: block; height: 6px; background: #4c8eda; min-width: 2px; }
.chart-panel:last-child .bar-fill { background: #a780bd; }
.site-footer { border-top: 1px solid var(--line); margin: auto; padding: 22px 24px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 10px; line-height: 1.8; background: white; }
.site-footer strong { font-size: 11px; font-weight: 550; color: var(--ink); }
.site-footer p { margin: 3px 0 0; }
.site-footer #provenance { max-width: 440px; overflow-wrap: anywhere; }
.site-footer>a { white-space: nowrap; font-size: 11px; }
dialog { border: 1px solid #c5cdd8; background: white; border-radius: 6px; padding: 30px; max-width: 480px; width: calc(100% - 36px); color: var(--ink); box-shadow: 0 20px 80px #152c4a30; }
dialog::backdrop { background: #1b2b4380; }
dialog h2 { font-size: 23px; font-weight: 550; line-height: 1.4; margin: 12px 0 18px; }
dialog p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.dialog-close { position: absolute; right: 15px; top: 12px; border: 0; background: none; color: var(--muted); font-size: 24px; padding: 3px; }
.loading-row { height: 108px; border-top: 1px solid #e9edf2; padding: 18px; }
.loading-row:before, .loading-row:after { content: ''; display: block; height: 9px; background: #edf1f6; border-radius: 4px; width: 85%; margin: 8px 0 17px; }
.loading-row:after { width: 55%; }
@media (min-width: 1500px) {
  .graph-stage { min-height: 480px; }
  .results-list { height: 570px; }
  .detail-content { height: 635px; }
}
@media (max-width: 1190px) {
  main { padding-inline: 18px; }
  .workspace-grid { grid-template-columns: 235px minmax(0,1fr); }
  .graph-panel { border-right: 0; }
  .detail-panel { grid-column: 1/-1; border-top: 1px solid var(--line) !important; }
  .detail-content { height: auto; max-height: 440px; }
  .detail-panel .detail-content:has(.detail-heading) { columns: 2; column-gap: 30px; }
  .detail-heading, .detail-dates, .detail-note, .detail-source, .detail-list { break-inside: avoid; }
  .detail-empty { padding: 25px; }
  .detail-expand { max-width: 260px; }
  .graph-stage { min-height: 440px; }
  .graph-heading>span { font-size: 9px; }
}
@media (max-width: 760px) {
  body { padding-left: 0; }
  .app-rail { display: none; }
  .site-header { padding: 0 16px; gap: 15px; }
  .site-header nav { gap: 16px; font-size: 11px; }
  .site-header nav a:last-child { display: none; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-mark { transform: scale(.85); width: 26px; }
  main { padding: 0 16px; }
  .intro { align-items: flex-start; flex-direction: column; gap: 13px; padding-top: 18px; }
  h1 { font-size: 23px; }
  .connection { align-items: center; text-align: left; max-width: 100%; flex-direction: row; }
  .snapshot-label { font-size: 9px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 19px; }
  .metric { padding: 13px 16px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric strong { font-size: 23px; }
  .metric small { font-size: 9px; }
  .section-heading>p { font-size: 10px; max-width: 140px; text-align: right; line-height: 1.6; }
  .search-form { flex-wrap: wrap; gap: 8px; }
  .search-field { flex-basis: 100%; }
  .kind-field { flex: 1; }
  .kind-field select { width: 100%; }
  .filter-row { gap: 8px; }
  .identity-hint { margin-left: 0; flex-basis: 100%; padding-top: 4px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .results-list { min-height: 0; height: 240px; max-height: 240px; }
  .graph-panel { border-inline: 0; border-top: 1px solid var(--line); }
  .detail-panel { grid-column: auto; }
  .detail-panel .detail-content:has(.detail-heading) { columns: auto; }
  .graph-stage { min-height: 420px; }
  .graph-heading>span { white-space: normal; text-align: right; max-width: 95px; }
  .graph-toolbar button, .graph-toolbar select { padding: 10px 9px; }
  .graph-toolbar select { max-width: none; flex-basis: 120px; }
  .detail-content { max-height: 550px; }
  .notice-breakdown { grid-template-columns: 1fr 1fr; gap: 20px 25px; }
  .chart-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 22px 16px; flex-direction: column; gap: 14px; }
  .overview-section { padding-top: 25px; }
  .service-message { align-items: flex-start; flex-direction: column; }
  .info-button { width: 26px; height: 26px; }
  .notice-item { min-height: 75px; }
  .bar-row { padding-block: 11px; }
  .text-button { padding: 10px; }
  .graph-legend { gap: 8px; font-size: 9px; max-width: 280px; }
  .graph-status { min-height: 50px; }
}
@media (max-width: 600px) {
  .site-header nav a:nth-child(2) { display: none; }
}
@media (max-width: 380px) {
  .site-header nav { gap: 12px; }
  .site-header, main { padding-inline: 12px; }
  .brand { font-size: 12px; }
  .metric { padding-inline: 12px; }
  .graph-heading { padding-inline: 12px; }
  .graph-heading>span { max-width: 60px; }
  .graph-legend { bottom: 10px; left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { transition: none !important; }
}
