.reporting-reference { --ref-surface: var(--bg-card); --ref-subtle: var(--bg-elevated); }
.ref-main { max-width: 1152px; padding: 0 26px; margin: 0 auto; }
.ref-main a:not(.ref-button) { color: var(--accent-light); }
.ref-main a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ref-main :is(a, button, input, [tabindex]):focus-visible, .ref-skip:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
.ref-main [id] { scroll-margin-top: 94px; }
.ref-skip { position: fixed; top: -100px; left: 20px; z-index: 10000; background: var(--bg-primary); color: var(--text-primary); padding: 12px 18px; border: 2px solid var(--accent); }
.ref-skip:focus { top: 12px; }
.ref-hero { padding: 82px 0 48px; border-bottom: 1px solid var(--border-strong); }
.ref-eyebrow { font-size: 11px; letter-spacing: .15em; font-weight: 750; color: var(--accent-light); margin: 0 0 18px; }
.ref-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.055em; margin: 0 0 26px; max-width: 900px; }
.ref-hero h1 span { color: var(--text-secondary); }
.ref-intro { color: var(--text-secondary); font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 710px; line-height: 1.7; }
.ref-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-secondary); font-size: 12px; margin-top: 24px; }
.ref-actions { display: flex; gap: 18px 24px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.ref-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--accent); color: #fff; padding: 13px 20px; border: 1px solid var(--accent); border-radius: 8px; font-weight: 650; font-size: 14px; text-decoration: none; }
.ref-button:hover { filter: brightness(1.12); text-decoration: none !important; }
.ref-button-secondary { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.ref-text-link { font-size: 13px; font-weight: 600; }
.ref-metrics { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 24px; max-width: 750px; margin-top: 54px; }
.ref-metrics > div { border-left: 2px solid var(--border-strong); padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.ref-metrics strong { font-size: 29px; letter-spacing: -.04em; font-weight: 650; }
.ref-metrics span { font-size: 12px; color: var(--text-secondary); }
.ref-section { padding: 48px 0; border-bottom: 1px solid var(--border-strong); }
.ref-section h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); letter-spacing: -.035em; line-height: 1.25; max-width: 840px; margin: 0 0 22px; }
.ref-section h3 { line-height: 1.4; }
.ref-section-intro { max-width: 830px; color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.ref-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.ref-section-head > a { margin-bottom: 25px; flex-shrink: 0; }
.ref-findings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.ref-code { font-size: 11px; font-weight: 750; letter-spacing: .06em; color: var(--text-secondary); }
.ref-finding h3 { font-size: 15px; margin: 12px 0 8px; }
.ref-finding h3 a { color: var(--text-primary) !important; }
.ref-finding p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.ref-source-number { white-space: nowrap; font-size: 11px; }
.ref-filter { margin: 28px 0 20px; }
.ref-filter label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 9px; }
.ref-filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ref-filter input { width: min(460px, 100%); background: var(--ref-surface); border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text-primary); padding: 12px 15px; font: inherit; font-size: 14px; min-width: 0; }
.ref-filter input::placeholder { color: var(--text-secondary); }
.ref-reset { font: inherit; font-size: 12px; font-weight: 650; background: var(--ref-subtle); color: var(--text-primary); border: 1px solid var(--border-strong); border-radius: 7px; padding: 11px 14px; cursor: pointer; }
#ref-result-count { color: var(--text-secondary); font-size: 12px; margin-left: auto; }
.ref-table-wrap { overflow-x: auto; border: 1px solid var(--border-strong); border-radius: 12px; }
.ref-table { width: 100%; min-width: 710px; border-collapse: collapse; font-size: 13px; line-height: 1.5; text-align: left; }
.ref-table caption { text-align: left; padding: 14px 18px; font-size: 12px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.ref-table thead { background: var(--ref-subtle); }
.ref-table th, .ref-table td { padding: 16px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ref-table thead th { font-size: 11px; letter-spacing: .03em; font-weight: 650; color: var(--text-secondary); }
.ref-table tbody th { width: 23%; font-weight: 600; }
.ref-table tbody th a { color: var(--text-primary); display: flex; gap: 10px; align-items: baseline; }
.ref-table tbody td { color: var(--text-secondary); }
.ref-table td strong { font-weight: 500; color: var(--text-primary); }
.ref-table tr:last-child > * { border-bottom: 0; }
.ref-table tbody tr:hover { background: var(--ref-surface); }
.ref-cell-note { display: block; margin-top: 4px; color: var(--text-secondary); font-size: 11px; }
.ref-small { font-size: 12px; line-height: 1.65; color: var(--text-secondary); margin-top: 18px; }
.ref-country-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.ref-country { min-width: 0; border: 1px solid var(--border-strong); border-radius: 14px; padding: 26px; background: var(--ref-surface); }
.ref-country:target { border-color: var(--accent-light); box-shadow: 0 0 0 1px var(--accent-light); }
.ref-country-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.ref-permalink { font-size: 11px; }
.ref-country h3 { font-size: 19px; letter-spacing: -.025em; margin: 0 0 12px; }
.ref-country-answer { font-size: 14px; line-height: 1.7; color: var(--text-primary); margin: 0; }
.ref-period { font-size: 11px; line-height: 1.6; color: var(--text-secondary); padding: 14px 0; margin: 10px 0 0; border-bottom: 1px solid var(--border); }
.ref-country dl { margin: 20px 0; }
.ref-country dl > div { margin-top: 16px; }
.ref-country dt { font-size: 11px; font-weight: 750; letter-spacing: .04em; margin-bottom: 6px; }
.ref-country dd { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.ref-country-sources { border-top: 1px solid var(--border); padding-top: 17px; font-size: 11px; }
.ref-country-sources strong { font-weight: 650; }
.ref-country-sources ul { padding-left: 15px; margin: 9px 0; }
.ref-country-sources li { margin-bottom: 6px; line-height: 1.6; overflow-wrap: anywhere; }
.ref-country-sources p { color: var(--text-secondary); }
.ref-product-link { display: inline-block; font-size: 12px; font-weight: 600; padding-top: 8px; }
.ref-downloads { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; }
.ref-downloads > div > p:not(.ref-eyebrow) { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.ref-citation { padding: 26px; border: 1px solid var(--border-strong); border-radius: 12px; align-self: start; }
.ref-citation h3 { font-size: 14px; margin-top: 0; }
#ref-citation-text { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; user-select: all; }
#ref-copy-status { font-size: 12px; color: var(--text-secondary); padding-left: 12px; }
.ref-prose { max-width: 840px; }
.ref-prose p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; }
.ref-prose h3 { font-size: 17px; margin: 27px 0 10px; }
.ref-source-list { padding-left: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-top: 30px; }
.ref-source-list li { font-size: 12px; line-height: 1.7; padding-left: 4px; min-width: 0; overflow-wrap: anywhere; }
.ref-source-list li::marker { color: var(--text-secondary); }
.ref-source-list p { color: var(--text-secondary); margin: 6px 0 0; }
.ref-source-list .ref-small { font-size: 11px; }
.ref-empty { padding: 18px; background: var(--ref-surface); border-radius: 8px; color: var(--text-secondary); font-size: 14px; }
.ref-main [hidden] { display: none !important; }
[data-theme="light"] .reporting-reference { --accent-light: #4f46e5; }
@media (max-width: 900px) { .ref-findings { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ref-country { padding: 22px; } }
@media (max-width: 640px) {
  .ref-main { padding: 0 20px; }
  .ref-hero { padding-top: 44px; }
  .ref-hero h1 { font-size: clamp(2.25rem, 10.3vw, 3.7rem); }
  .ref-intro { font-size: 15px; }
  .ref-metrics { gap: 12px; margin-top: 38px; }
  .ref-metrics > div { padding-left: 10px; }
  .ref-metrics strong { font-size: 23px; }
  .ref-metrics span { font-size: 10px; line-height: 1.5; }
  .ref-section { padding: 36px 0; }
  .ref-section-head { display: block; }
  .ref-section-head > a { display: inline-block; margin: 0 0 10px; }
  .ref-findings { gap: 24px 20px; }
  .ref-finding h3 { font-size: 14px; }
  .ref-country-grid, .ref-downloads, .ref-source-list { grid-template-columns: 1fr; }
  .ref-country-grid { gap: 18px; }
  .ref-downloads { gap: 28px; }
  .ref-filter input { width: 100%; }
  #ref-result-count { margin-left: 0; }
  .ref-country { padding: 22px; }
  .ref-source-list { gap: 22px; }
}
@media print {
  .site-nav, .nav-mobile, .site-footer, .ref-filter, .ref-actions, .ref-permalink, .ref-product-link, #ref-copy-citation { display: none !important; }
  .reporting-reference { background: white; color: black; --text-primary: #111; --text-secondary: #444; --accent-light: #222; --ref-surface: white; --ref-subtle: #eee; --border: #ddd; --border-strong: #aaa; }
  .ref-main { max-width: none; padding: 0; }
  .ref-hero { padding-top: 0; }
  .ref-table-wrap { overflow: visible; }
  .ref-table { min-width: 0; font-size: 9px; }
  .ref-table th, .ref-table td { padding: 8px; }
  .ref-country-grid { display: block; }
  .ref-country { break-inside: avoid; margin-bottom: 18px; }
}
