:root {
  color-scheme: light;
  --ink: #212121;
  --muted: #536171;
  --line: #d9e1e9;
  --paper: #f8f9fb;
  --surface: #fff;
  --blue: #0063c7;
  --brand: #0077ee;
  --tint: #e6f1fd;
  --pale: #f2f7fd;
  --curve: 14px;
  --gutter: clamp(16px, 4.8vw, 72px);
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
:where(h1, h2, h3, p, ol, dl, dd, figure) { margin: 0; }
:where(h1, h2, h3) { text-wrap: balance; }
h1, h2, h3, strong { font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4vw + .6rem, 4.45rem); line-height: 1.035; letter-spacing: -.048em; }
h2 { font-size: clamp(1.65rem, 2.4vw + .5rem, 2.65rem); line-height: 1.13; letter-spacing: -.033em; }
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; }
small { font-size: .82rem; line-height: 1.45; }
button, select, input { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
a { color: var(--blue); text-decoration-color: #9ebee1; text-underline-offset: .16em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; color: #004a99; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:where(section, article, main, [id]) { scroll-margin-top: 1rem; }
.sx-wrap { width: min(100%, 1480px); margin-inline: auto; padding-inline: var(--gutter); }
.sx-skip { position: fixed; inset: 8px auto auto 8px; z-index: 5; padding: 10px 16px; background: white; border-radius: 6px; transform: translateY(-170%); }
.sx-skip:focus { transform: none; }
.sx-head { background: white; border-bottom: 1px solid var(--line); }
.sx-mast { min-height: 68px; display: flex; align-items: center; gap: clamp(12px, 3vw, 48px); }
.sx-brand, .sx-mast nav a, .sx-download { text-decoration: none; }
.sx-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.28rem; font-weight: 720; letter-spacing: -.035em; white-space: nowrap; }
.sx-brand img { width: 32px; height: 32px; }
.sx-mast nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.sx-mast nav a { display: inline-flex; min-height: 44px; align-items: center; color: #384653; font-size: .94rem; font-weight: 550; }
.sx-mast nav a:hover, .sx-brand:hover { color: var(--blue); }
.sx-download { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 40px; border-radius: 8px; margin-inline-start: auto; padding: 6px 15px; font-size: .9rem; font-weight: 650; background: var(--tint); }
.sx-download:hover { background: #d7eaff; }
.sx-kicker { display: block; margin-bottom: .85rem; color: var(--blue); font-size: .83rem; font-weight: 700; letter-spacing: .025em; }
.sx-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 5vw, 80px); padding-block: clamp(38px, 6.25vw, 92px) clamp(30px, 4vw, 62px); }
.sx-hero h1 { max-width: 16ch; }
.sx-deck { margin-top: 1.2rem; max-width: 45rem; color: #3c4957; font-size: clamp(1.04rem, .6vw + .8rem, 1.34rem); line-height: 1.48; }
.sx-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--curve); padding: clamp(17px, 2.15vw, 32px); }
.sx-figure figcaption > span { font-size: .83rem; font-weight: 700; color: var(--blue); }
.sx-figure h2 { margin: .35rem 0; font-size: clamp(1.3rem, 1.25vw + .7rem, 1.78rem); line-height: 1.15; max-width: 29ch; }
.sx-figure figcaption p, .sx-legend { color: var(--muted); font-size: .84rem; }
.sx-bars { --plot-height: clamp(140px, 13vw, 178px); --year-height: 24px; --axis: 33px; display: flex; align-items: end; gap: 0; position: relative; isolation: isolate; list-style: none; margin-top: 24px; padding: 0 0 0 var(--axis); font-variant-numeric: tabular-nums; }
.sx-bars::before { content: ''; position: absolute; z-index: -1; left: var(--axis); right: 0; top: 0; bottom: var(--year-height); border-block: 1px solid #c4d0df; background: linear-gradient(to bottom, transparent calc(50% - .5px), #d7e1ec calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)); }
.sx-bars::after { content: '50%\A 25%\A 0%'; position: absolute; left: 0; top: calc(var(--plot-height) / -4); height: var(--plot-height); white-space: pre; color: var(--muted); font-size: .64rem; line-height: calc(var(--plot-height) / 2); text-align: right; }
.sx-bars li { min-width: 0; flex: 1; }
.sx-bars a { display: block; color: var(--ink); text-align: center; text-decoration: none; border-radius: 4px; }
.sx-column { display: flex; align-items: flex-end; justify-content: center; height: var(--plot-height); }
.sx-column i { display: block; position: relative; width: 64%; max-width: 39px; background: var(--brand); border-radius: 3px 3px 0 0; font-style: normal; }
.sx-column b { position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: clamp(.64rem, .9vw, .82rem); line-height: 1; white-space: nowrap; letter-spacing: -.025em; }
.sx-bars small { display: block; height: var(--year-height); padding-top: 4px; font-size: clamp(.63rem, .8vw, .77rem); color: var(--muted); }
.sx-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin-top: 15px; }
.sx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sx-legend i { width: .8em; height: .8em; border-radius: 2px; background: var(--brand); }
.sx-bars .before i, .sx-legend span:first-child i { background: repeating-linear-gradient(-45deg, #5c7088 0 2px, #b6c5d5 2px 5px); }
.sx-bars a:is(:hover,:focus-visible) b, .sx-bars a:is(:hover,:focus-visible) small { color: var(--blue); text-decoration: underline; }
.sx-bars a:is(:hover,:focus-visible) i { outline: 2px solid var(--blue); }

.sx-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid var(--line); }
.sx-facts a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .3rem; padding: 17px clamp(14px, 2vw, 30px); color: var(--ink); text-decoration: none; }
.sx-facts a:first-child { padding-inline-start: 0; }
.sx-facts a + a { border-inline-start: 1px solid var(--line); }
.sx-facts a strong { font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.18; letter-spacing: -.04em; color: var(--blue); }
.sx-facts a span { font-size: .94rem; color: var(--muted); }
.sx-facts a:hover strong { text-decoration: underline; }
main > section, #measurements { margin-block-start: clamp(48px, 6vw, 92px); }
.sx-section-head { max-width: 57rem; margin-bottom: 22px; }
.sx-section-head p, .sx-cohort p, #method p { max-width: 76ch; color: #3d4a57; }
.sx-section-head p, .sx-cohort p, #method h3 + p { margin-top: .6rem; }
.sx-footnote, .sx-note { font-size: .91rem; line-height: 1.5; color: var(--muted); }
.sx-footnote { max-width: 83ch; margin-top: 12px; }
.sx-cohort, .sx-method-grid { margin-top: 20px; }
.sx-cohort { padding-left: 15px; border-inline-start: 3px solid #91bce8; }
.sx-method-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 240px),1fr)); gap: 16px; }
.sx-method-grid > div { border-top: 2px solid #b4cbe2; padding-top: 12px; }
.sx-scroll { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--curve); background: var(--surface); }
.sx-table { width: 100%; border-collapse: collapse; text-align: start; font-variant-numeric: tabular-nums; font-size: .96rem; }
.sx-table :is(th,td) { text-align: start; vertical-align: top; padding: 14px clamp(12px,1.5vw,22px); overflow-wrap: anywhere; }
.sx-table thead { background: #eef3f8; }
.sx-table thead th { color: #415162; font-size: .82rem; line-height: 1.34; font-weight: 650; }
.sx-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.sx-table tbody tr:hover { background: var(--pale); }
.sx-table small, .sx-sources small, .sx-citation small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.sx-table th a, .sx-table td > a { font-weight: 650; }
.sx-cell-label { display: none; }
.sx-directory { table-layout: fixed; }
.sx-directory thead th:nth-child(1) { width: 20%; }
.sx-directory thead th:nth-child(2) { width: 28%; }
.sx-missing { color: var(--muted); }
.sx-stat { display: grid; grid-template-columns: minmax(190px,.68fr) minmax(0,1.6fr); align-items: center; background: var(--tint); border-radius: var(--curve); padding: clamp(20px, 3vw, 36px); gap: clamp(18px, 3vw, 48px); }
.sx-stat > div:first-child { display: grid; gap: 2px; }
.sx-stat strong { color: #08467f; font-size: clamp(2.7rem, 4vw, 4.3rem); line-height: 1.1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.sx-stat small, .sx-stat span { color: #34546d; font-size: .86rem; }
.sx-stat p + p, .sx-accordion p + p { margin-top: .65rem; }
.sx-accordion { margin-top: 12px; background: white; border: 1px solid var(--line); border-radius: var(--curve); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; list-style: none; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: .58em; height: .58em; flex: none; margin: -.25em .15em 0 0; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
details[open] > summary::after { transform: rotate(225deg); margin-top: .25em; }
summary:hover { color: var(--blue); }
.sx-accordion > summary { padding: 14px 20px; }
.sx-accordion > div { padding: 0 20px 20px; }
.sx-accordion p { max-width: 79ch; }
.sx-accordion .sx-scroll { margin-block: 15px; }
#study-filters { display: flex; flex-wrap: wrap; gap: 12px 17px; align-items: end; }
#study-filters label { display: grid; gap: 5px; color: #415162; font-size: .86rem; font-weight: 650; }
#study-filters :is(input[type=search], select) { width: 100%; max-width: 100%; min-height: 44px; border: 1px solid #9cacbb; border-radius: 8px; background: white; color: var(--ink); padding: 8px 10px; font-size: 1rem; font-weight: 450; }
#study-filters label:first-child { flex: 1 1 175px; max-width: 260px; }
#study-filters .sx-check { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); cursor: pointer; font-size: .94rem; font-weight: 500; }
.sx-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
#sx-count { color: var(--muted); margin: 12px 0 8px; font-size: .86rem; }
#sx-count:empty { display: none; }
#sx-empty { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
#sx-reset, .sx-clear { min-height: 44px; padding: 4px 8px; border: 0; background: transparent; border-radius: 5px; color: var(--blue); font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: .15em; }
.sx-country { padding-block-start: clamp(24px, 4.2vw, 64px); }
.sx-back { display: inline-block; padding-block: 5px; margin-bottom: 14px; font-size: .9rem; font-weight: 600; }
.sx-scheme { margin-top: 10px; color: var(--muted); }
.sx-country-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: clamp(20px,3.6vw,54px); align-items: start; margin-top: clamp(28px,4.4vw,60px); }
.sx-country-grid h2, #measurements h2 { font-size: clamp(1.55rem,2.4vw,2.3rem); }
.sx-country-grid .sx-kicker { margin-bottom: 8px; }
.sx-finding { padding: clamp(17px, 2vw, 28px); border-radius: var(--curve); background: var(--tint); }
.sx-finding p { margin: .8rem 0; }
.sx-finding > a { display: inline-block; margin-top: 4px; font-weight: 650; }
.sx-def { margin-block: 18px; }
.sx-def > div { display: grid; grid-template-columns: minmax(118px, .85fr) minmax(0, 2fr); gap: 18px; padding-block: 12px; border-block-start: 1px solid var(--line); }
.sx-def > div:last-child { border-block-end: 1px solid var(--line); }
.sx-def dt { font-size: .92rem; font-weight: 650; color: #46586a; }
.sx-def dd, .sx-observation, .sx-sources { overflow-wrap: anywhere; }
.sx-note { margin: 1rem 0 1.3rem; }
.sx-sources { padding-left: 1.4rem; }
.sx-sources li { padding-left: 3px; margin-top: .7rem; }
.sx-sources li::marker { color: #66788b; font-size: .85rem; }
.sx-ref { font-weight: 600; }
.sx-series { margin-block: 24px 34px; }
.sx-series > h3 { max-width: 73ch; margin-bottom: 12px; }
.sx-observation { background: white; border: 1px solid var(--line); border-radius: var(--curve); padding: clamp(16px, 2vw, 25px); margin-block-start: 9px; max-width: 950px; }
.sx-observation:target { border-color: var(--brand); box-shadow: inset 4px 0 0 var(--brand); }
.sx-observation header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 12px; }
.sx-observation header small { color: var(--muted); }
.sx-observation header strong { font-size: clamp(1.6rem,3vw,2.45rem); color: #08467f; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sx-observation > p { margin-top: 8px; max-width: 74ch; }
.sx-observation details { margin: 9px 0; border-block: 1px solid var(--line); }
.sx-observation details p { max-width: 76ch; margin: 0 0 10px; }
.sx-citation { padding: 3px 0; }
.sx-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; margin-top: clamp(48px,7vw,100px); padding-block: 22px 35px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.sx-foot > span { margin-right: auto; }
.sx-foot a { display: inline-block; min-height: 32px; }

@media (max-width: 870px) {
  .sx-hero { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .sx-hero h1 { max-width: 22ch; }
  .sx-figure { max-width: 700px; }
  .sx-bars { --plot-height: 150px; }
  .sx-country-grid { grid-template-columns: minmax(0,1fr); }
  .sx-finding { grid-row: 1; }
}
@media (max-width: 700px) {
  .sx-mast { display: grid; grid-template-columns: 1fr auto; row-gap: 0; padding-top: 10px; }
  .sx-mast nav { grid-column: 1/-1; grid-row: 2; gap: max(13px,2.8vw); }
  .sx-mast nav a { font-size: .88rem; }
  .sx-download { grid-column: 2; grid-row: 1; margin: 0; }
  .sx-stat { grid-template-columns: 1fr; gap: 12px; }
  .sx-scroll:has(table[data-compact]) { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  table[data-compact], table[data-compact] tbody { display: block; }
  table[data-compact] thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table[data-compact] tbody tr { display: block; margin-bottom: 10px; padding: 4px 15px 8px; border: 1px solid var(--line); border-radius: var(--curve); background: var(--surface); }
  table[data-compact] tbody tr > * { display: grid; grid-template-columns: minmax(96px,.72fr) minmax(0,1fr); gap: 3px 12px; border: 0; padding: 8px 0; }
  table[data-compact] tbody tr > th { display: block; font-size: 1.08rem; padding: 10px 0; }
  table[data-compact] tbody tr > td { border-top: 1px solid #e5ebf1; }
  table[data-compact] tbody tr > td > .sx-cell-label { display: block; grid-column: 1; grid-row: 1/3; font-size: .81rem; font-weight: 600; line-height: 1.4; color: #4c5d6e; }
  table[data-compact] tbody td > * { grid-column: 2; }
  table[data-compact] small { margin-top: 1px; }
}
@media (max-width: 550px) {
  .sx-facts { grid-template-columns: 1fr; }
  .sx-facts a, .sx-facts a:first-child { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 13px; padding: 11px 0; }
  .sx-facts a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .sx-facts a strong { min-width: 2ch; }
  #study-filters { display: grid; align-items: stretch; gap: 10px; }
  #study-filters label:first-child { max-width: none; }
  #study-filters .sx-check, #study-filters .sx-clear { justify-self: start; }
  .sx-legend { font-size: .76rem; }
  .sx-accordion > summary { padding-inline: 14px; }
  .sx-accordion > div { padding-inline: 14px; }
  .sx-def > div { grid-template-columns: 1fr; gap: 2px; }
  .sx-foot > span { width: 100%; }
}
@media (max-width: 370px) {
  :root { --gutter: 12px; }
  .sx-mast { column-gap: 6px; }
  .sx-brand { gap: 6px; font-size: 1.12rem; }
  .sx-download { padding-inline: 10px; }
  .sx-figure { padding-inline: 12px; }
  .sx-bars { --axis: 25px; }
}
@media print {
  :root { --gutter: 0; color: black; background: white; }
  .sx-head nav, .sx-download, #study-filters, .sx-foot, .sx-back { display: none; }
  .sx-hero, .sx-country-grid { display: block; }
  .sx-figure, .sx-finding { margin-top: 16px; }
  .sx-figure, .sx-observation, tr { break-inside: avoid; }
  main > section { margin-top: 2rem; }
  .sx-column i, .sx-legend i { print-color-adjust: exact; }
}
