:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #0b1935;
  background: #f4f6f9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --page-max: 1600px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #326fc2; outline-offset: 4px; }
.site-nav { max-width: calc(var(--page-max) + 32px); margin: 0 auto; padding: 16px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: .875rem; line-height: 1.5; color: #59657d; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: #24558e; text-decoration: underline; }
.site-nav-links { display: flex; align-items: center; gap: 12px; }
.site-nav .site-home-link { padding: 8px 12px; background: white; border: 1px solid #d1dbe7; border-radius: 7px; color: #294e7b; font-weight: 600; white-space: nowrap; }
.site-nav .site-home-link:hover { background: #edf3fa; border-color: #aebdd0; text-decoration: none; }
.site-breadcrumb { display: flex; align-items: center; gap: 16px; }
.site-breadcrumb > a { color: #17253c; font-weight: 600; }
.current-site { display: flex; gap: 16px; }
.current-site > span { color: #9aa6b7; }
.explorer-header { margin:0; }
.explorer-header h1 { text-wrap:balance; }
.explorer-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px 24px; margin-top:20px; padding-bottom:20px; border-bottom:1px solid #dde4ed; }
.explorer-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; width:min(100%,580px); padding:5px; border:1px solid #ced9e7; border-radius:12px; background:#edf2f8; }
.explorer-tabs a { display:flex; flex-direction:column; justify-content:center; gap:4px; min-width:0; padding:12px 18px; text-decoration:none; color:#294e7b; background:white; border:1px solid #d5dfeb; border-radius:8px; transition:background-color .15s,border-color .15s; }
.view-name { font-size:1rem; font-weight:700; line-height:1.25; }
.view-description { font-size:.8125rem; line-height:1.35; color:#59657d; }
.explorer-tabs a:hover { background:#e4edf8; border-color:#9ab4d5; }
.explorer-tabs a[aria-current="page"] { color:white; background:#172f52; border-color:#172f52; box-shadow:0 1px 3px #172f521a; }
.explorer-tabs a[aria-current="page"] .view-description { color:#dce8f8; }
.page { width: calc(100% - 32px); max-width: var(--page-max); margin: 0 auto 24px; padding: 24px; background: #fff; border: 1px solid #e0e6ee; border-radius: 12px; box-shadow: 0 2px 8px #172f5204; }
.snapshot-layout { display:grid; grid-template-columns:minmax(0,3fr) minmax(310px,1fr); gap:24px; }
.flow-panel { min-width: 0; }
h1 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.035em; margin: 0; font-weight: 750; }
.subtitle { color: #59657d; font-size: clamp(1rem, 1.15vw, 1.2rem); line-height: 1.4; margin: 10px 0 0; }
.interpretation { color: #59657d; font-size: .875rem; line-height: 1.5; margin: 8px 0 0; }
.view-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 24px; min-height:72px; padding:16px 0; color:#59657d; font-size:.875rem; }
.view-meta p { margin:0; }
.view-meta a { text-decoration:none; }
.view-meta a:hover { text-decoration:underline; }
.view-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; }
.view-meta .changes-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#24558e; font-weight:600; }
.snapshot-count { color:#17253c; font-size:1rem; }
.snapshot-count strong { font-size:1.4rem; font-weight:700; font-variant-numeric:tabular-nums; }
.source-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.repository-link { display:inline-flex; gap:10px; align-items:center; padding:8px 12px; color:#17253c; border:1px solid #c9d3e1; border-radius:7px; font-size:.875rem; font-weight:600; text-decoration:none; }
.repository-link:hover { background:#f4f7fb; }
#download-svg { padding: 9px 12px; border: 1px solid #e0e6ee; border-radius: 7px; }
#download-svg:hover { background: #f4f7fb; border-color: #aebdd0; }
.timeline { margin:0 0 24px; padding:14px 0; border-block:1px solid #dde4ed; }
.timeline-toolbar { --release-above: 22px; --release-below: 22px; display: grid; grid-template-columns: auto auto minmax(160px, 1fr) auto; gap: 12px; align-items: start; }
.timeline-toolbar > .play-button, .date-control, .speed-control { margin-top: calc(var(--release-above) - 10px); }
button, select, input { font: inherit; }
button, select { min-height: 40px; border: 1px solid #c9d3e1; border-radius: 7px; color: #17253c; background: white; }
select { appearance:none; -webkit-appearance:none; max-width:100%; min-height:44px; padding:10px 36px 10px 12px; border-color:#d0dbe8; border-radius:9px; background-color:#f6f8fc; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2353657d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 11px center; background-size:16px; box-shadow:0 1px 2px #172f5205; font-size:.875rem; line-height:1.25; font-weight:500; cursor:pointer; transition:background-color .15s,border-color .15s,box-shadow .15s; }
select:hover:not(:disabled) { background-color:#eef3fa; border-color:#9bb1cd; }
select:focus-visible { border-color:#3977bd; background-color:white; box-shadow:0 0 0 3px #3977bd1c; }
select option { background:white; color:#17253c; }
button { cursor: pointer; }
button:disabled, select:disabled { opacity: .45; cursor: default; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #326fc2; outline-offset: 3px; }
.play-button { min-width: 90px; padding: 8px 12px; background: #172f52; border-color: #172f52; color: white; font-weight: 600; }
.play-button:hover:not(:disabled) { background: #244874; border-color: #244874; }
.play-button:active:not(:disabled) { background: #102642; }
.date-control, .speed-control, .timeline-range { min-width: 0; }
.date-control select, .speed-control select { width:100%; }
.speed-control { min-width:76px; }
.date-control select { font-weight: 600; }
.timeline-track { position: relative; padding-block: var(--release-above) var(--release-below); }
#time-slider { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 20px; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
#time-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, #4276ac var(--progress, 100%), #dce4ee var(--progress, 100%)); }
#time-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border: 0; border-radius: 50%; background: #4276ac; }
#time-slider::-moz-range-track { height: 6px; border-radius: 3px; background: #dce4ee; }
#time-slider::-moz-range-progress { height: 6px; border-radius: 3px; background: #4276ac; }
#time-slider::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #4276ac; }
#time-slider:disabled { opacity: .45; cursor: default; }
.timeline-labels { display: flex; justify-content: space-between; gap: 12px; margin: 0 8px; color: #59657d; font-size: .8125rem; font-variant-numeric: tabular-nums; }
/* The 8px inset matches the slider thumb radius; zero y is the slider axis. */
.release-markers { position: absolute; inset-inline: 8px; top: calc(var(--release-above) + 10px); height: 0; pointer-events: none; }
.release-marker { position: absolute; width: 24px; min-height: 24px; height: 24px; padding: 0; transform: translateX(-50%); border: 0; background: transparent; border-radius: 4px; pointer-events: auto; }
.release-marker::before { content: ""; position: absolute; width: 1px; height: var(--stem-length); background: #98a6b8; top: calc(12px - var(--stem-length)); left: calc(50% - .5px); pointer-events: none; }
.release-marker[data-side="above"]::before { top: 12px; }
.release-marker::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #7d8da3; top: 9px; left: 9px; }
.release-marker:hover, .release-marker:focus-visible, .release-marker[aria-pressed="true"] { background: #eaf0f8; z-index: 2; }
.release-marker[aria-pressed="true"]::after { background: #24558e; }
.release-tooltip { display: none; position: absolute; z-index: 3; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 220px; padding: 7px 10px; border-radius: 5px; background: #172f52; color: white; font-size: .8125rem; line-height: 1.4; text-align: left; pointer-events: none; }
.release-tooltip time { display: block; color: #d9e6f7; }
.release-marker[data-side="below"] .release-tooltip { top: calc(100% + 5px); bottom: auto; }
.release-marker:hover .release-tooltip, .release-marker:focus-visible .release-tooltip { display: block; }
.release-marker[data-align="left"] .release-tooltip { left: 0; transform: none; }
.release-marker[data-align="right"] .release-tooltip { left: auto; right: 0; transform: none; }
.release-info { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .8125rem; line-height: 1.5; color: #59657d; }
.release-heading { font-weight: 600; }
#release-current a:first-child { color: #294e7b; }
.release-note { margin-left: 8px; }
[hidden] { display: none !important; }
.timeline-note { color: #59657d; font-size: .8125rem; line-height: 1.4; margin: 12px 0 0; }
#retry-history { margin-top: 8px; padding: 7px 12px; }
figure { margin: 0; }
.chart-scroll { width: 100%; overflow-x: auto; padding: 2px; }
.chart-scroll svg { display: block; width: 100%; min-width: 960px; height: auto; }
figcaption { color: #59657d; font-size: .875rem; line-height: 1.5; margin-top: 12px; }
.scroll-hint { display: none; color: #59657d; font-size: .875rem; }
.attributes { border-left: 2px solid #d9dee5; padding-left: 24px; }
h2 { font-size: clamp(1.25rem, 1.55vw, 1.8rem); line-height: 1.2; margin: 0 0 3px; letter-spacing: -.02em; }
.aside-intro { color: #59657d; font-size: 1rem; line-height: 1.35; margin: 0 0 12px; }
.metric-list { display: grid; gap: 9px; }
.metric { --accent: #a9b3bf; --tint: #eef0f3; --border: #d8dfe6; position: relative; overflow: hidden; padding: 10px 14px 11px 29px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(110deg, #ffffff55, transparent), var(--tint); }
.metric::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 16px; background: var(--accent); opacity: .72; }
.gold { --accent: #f4c24e; --tint: #fff5db; --border: #f9d982; }
.blue { --accent: #6cabee; --tint: #e4f0ff; --border: #aacffc; }
.green { --accent: #78cd98; --tint: #e5f5ec; --border: #b8e4c8; }
.purple { --accent: #ac87dd; --tint: #f0e8fa; --border: #d5bfee; }
.metric h3 { font-size: 1rem; line-height: 1.24; margin: 0 0 5px; font-weight: 700; }
.metric h3 a { text-decoration: none; }
.metric h3 a:hover { text-decoration: underline; }
.metric-body { display: flex; align-items: flex-start; gap: 14px; }
.metric-value { font-size: 2rem; line-height: 1.05; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.metric-description { color: #354560; font-size: .9375rem; line-height: 1.32; padding-top: 2px; }
.metric-description p { margin: 8px 0 0; }
footer { grid-column: 1 / -1; border-top: 1px solid #d9dee5; margin-top: 24px; padding-top: 14px; display: grid; gap: 6px; color: #59657d; font-size: .8125rem; line-height: 1.5; }
footer p { margin: 0; }
.continue-reading { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 14px; padding: 18px 20px; border-radius: 9px; background: #f4f7fb; font-size: .875rem; }
.continue-title { color: #17253c; font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.continue-reading a { color: #294e7b; font-weight: 600; text-decoration: none; white-space: nowrap; }
.continue-reading a:hover { text-decoration: underline; }
details { margin-top: 16px; color: #354560; font-size: .9375rem; border: 1px solid #e0e6ee; border-radius: 9px; }
summary { cursor: pointer; padding: 12px 16px; font-weight: 600; border-radius: 8px; }
summary::marker { color: #6d819b; }
summary:hover { background: #f4f7fb; }
details[open] > summary { border-bottom: 1px solid #e0e6ee; border-radius: 8px 8px 0 0; }
.table-scroll { overflow-x: auto; padding: 0 8px; }
.data-table { margin-top:24px; border:1px solid #e0e6ee; border-radius:9px; color:#354560; font-size:.9375rem; }
.data-table > h2 { margin:0; padding:14px 16px; border-bottom:1px solid #e0e6ee; font-size:1rem; font-weight:600; }
.table-caption { margin:0; padding:14px 16px 0; line-height:1.5; }
table { border-collapse: collapse; width: 100%; max-width: 960px; margin: 14px 0; }
caption { text-align: left; padding: 8px 0 16px; }
.table-guide { display: block; margin-top: 6px; color: #59657d; font-size: .875rem; }
.table-count, tfoot td [data-total] { color: #17253c; font-weight: 700; }
.percentage { color: #59657d; font-size: .9em; font-weight: 400; white-space: nowrap; }
td { white-space: nowrap; }
th, td { text-align: right; padding: 10px 14px; border-bottom: 1px solid #d9dee5; font-variant-numeric: tabular-nums; }
th:first-child { text-align: left; }
thead { background: #f6f8fb; }
thead th { font-size: .8125rem; font-weight: 600; }
tbody tr:hover, tbody tr:focus-within { background: #f4f7fb; }
tfoot th, tfoot td { border-bottom: 0; }
#text-summary tr > :nth-child(3) { border-left:2px solid #c7d3e2; padding-left:20px; }
#text-summary tr > :nth-child(2) { padding-right:20px; }
#text-summary th:first-child { white-space:nowrap; }
details p { max-width: 90ch; line-height: 1.5; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px; background: white; z-index: 1; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 750px) {
  .timeline-toolbar { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; }
  .timeline-toolbar > .play-button, .date-control, .speed-control { margin-top: 0; }
  .play-button { grid-column: 1; grid-row: 1; }
  .date-control { grid-column: 3; grid-row: 1; justify-self: end; }
  .speed-control { grid-column: 2; grid-row: 1; }
  .timeline-range { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1400px) {
  .snapshot-layout { grid-template-columns:minmax(0,1fr); }
  .attributes { border-left: 0; border-top: 1px solid #d9dee5; padding: 24px 0 0; }
  .metric-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 1050px) {
  .scroll-hint { display: block; }
}
@media (max-width: 600px) {
  .site-nav { padding: 14px 24px; }
  .current-site { display: none; }
  .site-nav-links { gap: 12px; }
  .site-nav-links > .methodology-link { display: none; }
  .page { width: calc(100% - 16px); padding: 22px 16px; margin-bottom: 16px; }
  .play-button { min-width: 80px; }
  .metric-list { grid-template-columns: minmax(0, 1fr); }
  .metric { padding: 14px 16px 14px 30px; }
  .metric-description { font-size: 1rem; }
  .explorer-toolbar { gap:8px 16px; }
  .explorer-tabs a { padding:11px 10px; }
  .view-name { font-size:.9375rem; }
}
@media (max-width: 360px) {
  .timeline-toolbar { grid-template-columns:auto minmax(0,1fr); }
  .speed-control { justify-self:start; }
  .date-control { grid-column:1/-1; grid-row:2; justify-self:stretch; }
  .timeline-range { grid-row:3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  select, .explorer-tabs a { transition:none; }
}
@media (forced-colors: active) {
  select { appearance:auto; background-image:none; }
}
@media print {
  @page { size: landscape; margin: 10mm; }
  :root { background: white; }
  .site-nav, .continue-reading { display: none; }
  .page { width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .snapshot-layout { grid-template-columns:minmax(0,3fr) minmax(220px,1fr); gap:16px; }
  .chart-scroll svg { min-width: 0; }
  .chart-scroll { overflow: visible; }
  .explorer-toolbar, .view-meta a, .scroll-hint, details, .skip-link, .timeline { display: none; }
  .attributes { border-left: 1px solid #d9dee5; border-top: 0; margin: 0; padding: 0 0 0 16px; }
  .metric-list { grid-template-columns: 1fr; gap: 6px; }
  .metric { break-inside: avoid; padding: 7px 10px 7px 24px; }
  .metric h3, .metric-description, .aside-intro { font-size: 10px; }
  .metric-value { font-size: 22px; }
  h1 { font-size: 29px; }
  h2 { font-size: 17px; }
  .subtitle { font-size: 14px; }
  footer, figcaption { font-size: 10px; }
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
