#statistics-app {
  color-scheme: light;
  --ink: #183744;
  --muted: #536a75;
  --teal: #007e9f;
  --edge: #d5e3e8;
  --series-color: #007e9f;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: transparent;
}
#statistics-app * { box-sizing: border-box; }
#statistics-app { margin: 0; }
#statistics-app a { color: var(--teal); text-decoration: none; }
#statistics-app a:hover { text-decoration: underline; }
#statistics-app button, #statistics-app select { font: inherit; }
#statistics-app button { cursor: pointer; }
#statistics-app button, #statistics-app a, #statistics-app select { -webkit-tap-highlight-color: transparent; }
#statistics-app :focus-visible { outline: 3px solid #138fa9; outline-offset: 3px; }
#statistics-app [hidden] { display: none !important; }
#statistics-app .sr-only, #statistics-app .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
#statistics-app .skip:focus { position: absolute; top: 6px; left: 6px; z-index: 4; padding: 12px; background: white; }
#statistics-app .icon { display: inline-block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#statistics-app .wrap { width: min(1220px, calc(100% - 9vw)); margin-inline: auto; }
#statistics-app .site-header { background: white; border-bottom: 1px solid var(--edge); }
#statistics-app .site-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
#statistics-app .brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
#statistics-app .emblem { width: 50px; height: 50px; }
#statistics-app .wordmark { width: 198px; height: auto; }
#statistics-app .site-nav { display: flex; gap: clamp(18px,2.4vw,36px); align-self: stretch; }
#statistics-app .site-nav a { position: relative; color: #415b64; font-size: 14px; display: flex; align-items: center; }
#statistics-app .site-nav a:hover { color: var(--teal); text-decoration: none; }
#statistics-app .site-nav a.current { color: #007591; font-weight: 700; }
#statistics-app .site-nav a.current::after { position: absolute; content: ''; bottom: 0; height: 3px; left: 0; right: 0; background: var(--teal); border-radius: 2px 2px 0 0; }
#statistics-app .menu-button { display: none; border: 1px solid var(--edge); border-radius: 7px; background: white; color: var(--ink); width: 42px; height: 42px; align-items: center; justify-content: center; }
#statistics-app .page { padding: 25px 0 38px; }
#statistics-app .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
#statistics-app .breadcrumb .icon { color: #849ba3; width: 12px; height: 12px; }
#statistics-app .breadcrumb a { color: #506b75; }
#statistics-app .intro { margin: 20px 0 26px; }
#statistics-app h1, #statistics-app h2, #statistics-app p { margin: 0; }
#statistics-app h1 { font-size: clamp(30px,3.1vw,44px); line-height: 1.1; font-weight: 700; letter-spacing: -.038em; }
#statistics-app .intro p { margin-top: 11px; font-size: clamp(15px,1.32vw,17px); line-height: 1.52; color: var(--muted); }
#statistics-app .dashboard { background: white; border: 1px solid #cfdee3; border-radius: 15px; box-shadow: 0 3px 12px #1b465809; overflow: hidden; }
#statistics-app .toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 30px; background: #eff6f8; border-bottom: 1px solid var(--edge); }
#statistics-app .filter { flex: 0 1 390px; min-width: 0; }
#statistics-app .filter label { display: block; font-size: 13px; line-height: 1.3; font-weight: 700; margin-bottom: 6px; color: #365661; }
#statistics-app .select-wrap { position: relative; }
#statistics-app .select-wrap select { display: block; width: 100%; appearance: none; min-height: 45px; padding: 9px 38px; font-weight: 600; line-height: 1.35; color: var(--ink); border: 1px solid #a5bec7; border-radius: 7px; background: white; cursor: pointer; text-overflow: ellipsis; }
#statistics-app .select-wrap select:hover { border-color: #668e9b; }
#statistics-app .series-dot { position: absolute; top: 50%; transform: translateY(-50%); left: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--series-color); pointer-events: none; }
#statistics-app .select-wrap .arrow { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #456874; }
#statistics-app .view-toggle { display: inline-flex; align-items: stretch; padding: 3px; gap: 3px; background: #e4edf0; border: 1px solid #d3e0e5; border-radius: 9px; }
#statistics-app .view-toggle button { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 35px; padding: 7px 13px; font-size: 14px; font-weight: 600; border: 1px solid transparent; border-radius: 6px; color: #506b75; background: transparent; }
#statistics-app .view-toggle button[aria-pressed=true] { color: #006982; background: white; border-color: #d1dfe3; box-shadow: 0 1px 3px #193b4710; }
#statistics-app .view-toggle button:hover { color: #005e77; }
#statistics-app .view-toggle .icon { width: 16px; height: 16px; }
#statistics-app .figure-top { padding: 26px 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
#statistics-app .figure-top h2 { font-size: clamp(21px,1.9vw,26px); line-height: 1.25; letter-spacing: -.033em; }
#statistics-app .legend { display: flex; flex-wrap: wrap; gap: 10px 20px; }
#statistics-app .legend span { display: inline-flex; align-items: center; gap: 5px; color: #395762; white-space: nowrap; font-size: 13px; }
#statistics-app .legend b { color: var(--muted); font-weight: 400; }
#statistics-app .legend-line { position: relative; width: 27px; height: 0; border-top: 2px solid var(--series-color); display: inline-block; margin-right: 3px; }
#statistics-app .legend-line::after { content: ''; position: absolute; left: 11px; top: -4px; height: 6px; width: 6px; background: var(--series-color); border-radius: 50%; }
#statistics-app .legend-line.forecast { border-top-style: dashed; }
#statistics-app .legend-line.forecast::after { background: white; border: 1.5px solid var(--series-color); box-sizing: border-box; }
#statistics-app .figure-body { padding: 22px 22px 6px; }
#statistics-app .unit { font-size: 12px; font-weight: 600; color: #526b76; margin-left: 8px; margin-bottom: 4px; }
#statistics-app .plot { position: relative; min-width: 0; }
#statistics-app #chart { display: block; max-width: 100%; overflow: visible; font-family: Arial,Helvetica,sans-serif; }
#statistics-app .chart-tooltip { position: absolute; z-index: 2; pointer-events: none; background: #1c3d49; color: white; font-size: 13px; line-height: 1.45; box-shadow: 0 3px 10px #122a382c; border-radius: 6px; padding: 7px 11px; white-space: nowrap; }
#statistics-app #comparison-key { display: grid; grid-template-columns: repeat(auto-fit,minmax(203px,1fr)); gap: 4px 12px; border-top: 1px solid var(--edge); margin: 6px 8px; padding-top: 12px; }
#statistics-app .key-button { display: flex; align-items: center; text-align: left; justify-content: flex-start; gap: 8px; background: white; border: 0; border-radius: 5px; min-height: 32px; padding: 5px; font-size: 12px; color: #39515d; }
#statistics-app .key-button:hover, #statistics-app .key-button:focus-visible { background: #eef4f6; }
#statistics-app .key-button i { height: 9px; width: 9px; border-radius: 50%; flex-shrink: 0; }
#statistics-app .chart-note { border-top: 1px solid #e4edef; display: flex; gap: 9px; align-items: center; padding: 12px 30px; font-size: 13px; line-height: 1.4; color: var(--muted); background: #fcfdfd; }
#statistics-app .chart-note .icon { color: #527682; width: 16px; height: 16px; }
#statistics-app .table-scroll { margin: 20px 30px 28px; border: 1px solid var(--edge); border-radius: 8px; overflow: auto; max-height: 455px; }
#statistics-app table { width: 100%; border-spacing: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
#statistics-app caption.sr-only { position: absolute; }
#statistics-app th, #statistics-app td { padding: 9px 16px; text-align: left; border-bottom: 1px solid #e3ecef; white-space: nowrap; }
#statistics-app thead th { position: sticky; top: 0; background: #ecf4f6; z-index: 1; color: #365661; font-size: 13px; }
#statistics-app tbody th { font-weight: 500; }
#statistics-app .number { text-align: right; }
#statistics-app .forecast-row { background: #f2f6fb; }
#statistics-app .forecast-start > * { border-top: 1px solid #9eb4c4; }
#statistics-app tbody tr:last-child > * { border-bottom: 0; }
#statistics-app tbody tr:hover { background: #eaf4f7; }
#statistics-app .compare-table th:first-child { position: sticky; left: 0; background: #f6f9fa; box-shadow: 1px 0 var(--edge); }
#statistics-app .compare-table thead th:first-child { z-index: 2; }
#statistics-app .source { display: flex; align-items: flex-start; gap: 14px; padding: 22px 2px 0; color: var(--muted); }
#statistics-app .source-icon { background: #e6eff0; width: 38px; height: 38px; border-radius: 10px; color: #40777c; display: grid; place-items: center; flex-shrink: 0; }
#statistics-app .source-icon .icon { width: 20px; height: 20px; }
#statistics-app .source-text { flex: 1; }
#statistics-app .source h2 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
#statistics-app .source p, #statistics-app .reference { font-size: 13px; line-height: 1.55; }
#statistics-app .reference { color: #667d85; }
#statistics-app .source .article-pdf { text-decoration: underline; text-underline-offset: 2px; }
#statistics-app .method-note { margin: 0; padding: 14px clamp(16px, 2.4vw, 30px); border-top: 1px solid var(--edge); font-size: 14px; line-height: 1.55; color: var(--muted); }
#statistics-app .method-note strong { color: var(--ink); }
#statistics-app .source-link { display: inline-flex; gap: 6px; align-items: center; color: #006f86; font-weight: 600; font-size: 13px; white-space: nowrap; margin-top: 2px; }
#statistics-app .source-link .icon { width: 14px; height: 14px; }
#statistics-app noscript { display: block; padding: 20px; }
@media (max-width: 800px) {
#statistics-app .wrap { width: calc(100% - 40px); }
#statistics-app .site-header-inner { min-height: 67px; }
#statistics-app .emblem { width: 42px; height: 42px; }
#statistics-app .wordmark { width: 165px; }
#statistics-app .menu-button { display: flex; }
#statistics-app .site-nav { display: none; }
#statistics-app .site-nav.open { position: absolute; z-index: 4; right: 0; top: calc(100% - 3px); min-width: 180px; background: white; border: 1px solid var(--edge); border-radius: 9px; box-shadow: 0 4px 18px #18374420; display: grid; gap: 0; padding: 6px; }
#statistics-app .site-nav a { min-height: 39px; padding: 8px 12px; border-radius: 5px; }
#statistics-app .site-nav a.current { background: #eef7f8; }
#statistics-app .site-nav a.current::after { display: none; }
#statistics-app .toolbar { padding: 16px 20px; }
#statistics-app .figure-top { padding: 21px 20px 0; }
#statistics-app .figure-body { padding: 19px 12px 5px; }
#statistics-app .chart-note { padding: 12px 20px; }
#statistics-app .table-scroll { margin: 16px 20px 22px; }
#statistics-app .page { padding-top: 20px; }
}
@media (max-width: 600px) {
#statistics-app .wrap { width: calc(100% - 28px); }
#statistics-app .intro { margin: 18px 0 20px; }
#statistics-app .intro p { font-size: 15px; }
#statistics-app .desktop-break { display: none; }
#statistics-app .toolbar { display: grid; gap: 13px; padding: 16px; }
#statistics-app .view-toggle { justify-self: start; }
#statistics-app .view-toggle button { min-height: 34px; padding: 6px 12px; }
#statistics-app .figure-top { padding: 20px 16px 0; gap: 10px; }
#statistics-app .legend { gap: 8px 15px; }
#statistics-app .legend span { font-size: 12px; }
#statistics-app .figure-body { padding: 17px 6px 4px; }
#statistics-app .unit { margin-left: 10px; }
#statistics-app .chart-note { padding: 11px 15px; align-items: flex-start; }
#statistics-app .chart-note .icon { margin-top: 2px; }
#statistics-app .dashboard { border-radius: 12px; }
#statistics-app .source { display: grid; grid-template-columns: 30px 1fr; gap: 7px 10px; padding: 18px 0 0; }
#statistics-app .source-icon { width: 30px; height: 30px; border-radius: 7px; }
#statistics-app .source-icon .icon { width: 17px; height: 17px; }
#statistics-app .source-link { grid-column: 2; justify-self: start; }
#statistics-app .table-scroll { margin: 15px 12px 18px; }
#statistics-app th, #statistics-app td { padding: 9px 10px; }
#statistics-app #comparison-key { grid-template-columns: 1fr; }
}
@media print {
#statistics-app { background: white; }
#statistics-app .wrap { width: 100%; }
#statistics-app .site-header-inner { min-height: 55px; }
#statistics-app .toolbar, #statistics-app .breadcrumb, #statistics-app .menu-button, #statistics-app .site-nav, #statistics-app .chart-note { display: none; }
#statistics-app .dashboard { box-shadow: none; break-inside: avoid; }
#statistics-app .chart-tooltip { display:none; }
#statistics-app .table-scroll { max-height: none; overflow: visible; }
}
/* Match the shared portal shell while keeping chart styles inside the app. */
body.statistics-site { font-family: Arial, sans-serif; }
.statistics-page { max-width: 1040px; padding: 0 24px 40px; margin: 0 auto; min-width: 0; }
#statistics-app { font-size: 16px; line-height: 1.5; min-width: 0; }
#statistics-app h1, #statistics-app h2 { font-family: inherit; font-weight: 700; color: var(--ink); }
#statistics-app .breadcrumb { background: transparent; padding: 0; margin: 0; border-radius: 0; flex-wrap: wrap; }
#statistics-app .source-text { min-width: 0; }
#statistics-app .source p { overflow-wrap: anywhere; }
#statistics-app .table-scroll table { margin-bottom: 0; }
#statistics-app .intro p { color: var(--muted); }
@media (max-width: 620px) {
  .statistics-page { padding: 0 1px 24px; }
}
@media print {
  .statistics-page { max-width: none; padding: 0; }
}
