
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]) { min-height: 2.25rem; }
      * { box-sizing: border-box; }
      :root {
        --bg: #e8eaec;
        --surface: #ffffff;
        --surface-2: #eef1ec;
        --ink: #12211c;
        --muted: #47564e;
        --line: #d8ded6;
        --accent: #0b6e4f;
        --accent-ink: #ffffff;
        --rust: #1e56a8;
        --blue: #dc2626;
        --teal: #0e7569;
        --debt: #b45309;
        --gold: #b07d10;
        --chip: #e7ece5;
        --shadow: 0 1px 2px rgba(18,33,28,.06), 0 8px 24px rgba(18,33,28,.06);
        --radius: 14px;
      }
      
       
      
      
      
      
       
      :root {
        --bg: #e8eaec; --surface: #ffffff; --surface-2: #e2ebf4; --ink: #16283d;
        --muted: #43546a; --line: #b9c2cc; --accent: #1d5fa3; --accent-ink: #ffffff;
        --rust: #1e56a8; --blue: #dc2626; --teal: #0e7569; --gold: #b07d10; --chip: #dce7f2;
        --shadow: 0 1px 2px rgba(22,40,61,.06), 0 8px 24px rgba(22,40,61,.07);
      }
      
      
      
       
      
      .themebar-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
      
      .themebtn:hover { background: var(--surface-2); }
      .themebtn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); border-color: var(--accent); background: var(--surface-2); }
      .themebtn .swatches { display: inline-flex; gap: 3px; }
      .themebtn .swatches i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(90,90,90,.35); display: block; }
      .themebar-note { font-size: 11.5px; color: var(--muted); margin-left: auto; line-height: 1.35; }
      @media (max-width: 620px) { .themebar-note { margin-left: 0; width: 100%; } }

      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "IBM Plex Sans", system-ui, sans-serif;
        font-size: 16px;
        line-height: 1.5;
      }
      .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
      a { color: var(--accent); }
      .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

       
      .topbar {
        position: sticky; top: 0; z-index: 40;
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
      }
      .topbar-in { display: flex; align-items: center; gap: 14px; min-height: 44px; flex-wrap: wrap; padding-top: 3px; padding-bottom: 3px; }
      .wordmark { font-family: "IBM Plex Serif", serif; font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
      .wordmark span { color: var(--accent); }
      
      nav.mainnav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
      nav.mainnav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 10px; border-radius: 8px; }
      nav.mainnav a:hover { background: var(--surface-2); }
      
      .nav-country { display: inline-grid; grid-template-columns: auto auto; column-gap: 6px; row-gap: 2px; align-items: center; font-size: 14px; font-weight: 500; white-space: nowrap; }
      .nav-country:has(> .nav-country-link:not([hidden])) { padding-top: 8px; margin-bottom: -8px; }
      .topbar-in:has(.nav-country-link:not([hidden])) { padding-bottom: 11px; }
      .nav-country-row { display: contents; }
      .nav-country select { font: inherit; font-size: 14px; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 168px; }
      nav.mainnav a.nav-country-link { grid-column: 2; font-size: 11px; line-height: 1.3; font-weight: 600; color: var(--accent); text-decoration: none; padding: 0; }
      nav.mainnav a.nav-country-link:hover { text-decoration: underline; background: transparent; }
      .nav-country-link[hidden] { display: none; }
      
      .combo-wrap { position: relative; display: inline-block; min-width: 0; vertical-align: middle; }
      .combo-wrap > select.combo-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
      .combo-wrap > input.combo-input { width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 24px 7px 8px; }
      .combo-wrap::after { content: "\25BE"; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 12px; }
      .nav-country .combo-wrap { max-width: 168px; }
      .nav-country .combo-wrap > input.combo-input { font-size: 14px; }
      .pulse-overlay .combo-wrap { min-width: 168px; }
      .pulse-overlay .combo-wrap > input.combo-input { font-size: 14.5px; font-weight: 600; padding: 7px 24px 7px 10px; border-radius: 9px; min-height: 38px; }
      .combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; max-height: 280px; overflow: auto; margin: 0; padding: 4px 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: 14px; text-align: left; }
      .combo-list li { padding: 7px 10px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      @media (max-width: 620px) {
         
        .combo-list { min-width: 260px; max-width: calc(100vw - 32px); }
        .combo-list li { white-space: normal; overflow: visible; text-overflow: clip; }
        .nav-country .combo-list { left: auto; right: 0; }
      }
      .combo-list li.active { background: var(--surface-2); }
      .combo-list li.disabled { color: var(--muted); cursor: not-allowed; opacity: .6; }
      .combo-list li.no-match { color: var(--muted); cursor: default; }
      .date-badge { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
      .date-badge strong { color: var(--ink); }

       
      .hero { padding: 10px 0 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; align-items: stretch; }
      .hero-left { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
       
      .hero > .takeaway { margin-top: 0; height: auto; align-self: end; justify-content: flex-start; padding-top: 10px; padding-bottom: 10px; }
      .hero h1 {
        font-family: "IBM Plex Serif", serif;
        font-size: clamp(24px, 3.1vw, 33px);
        line-height: 1.08; letter-spacing: -.015em;
        margin: 0 0 6px; font-weight: 700;
      }
      .hero p.lede { font-size: 14px; line-height: 1.4; color: var(--muted); margin: 0; }
      .takeaway {
        margin-top: 10px; background: var(--surface); border: 1px solid var(--line);
        border-left: 5px solid var(--accent); border-radius: 10px;
        padding: 10px 12px; box-shadow: var(--shadow); flex: 1 1 auto;
        display: flex; flex-direction: column; justify-content: center;
      }
      .takeaway .k { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
      .takeaway p { margin: 0; font-size: 14.5px; line-height: 1.45; }
      @media (max-width: 980px) { .hero { grid-template-columns: 1fr; } }
      @media (max-width: 620px) { .hero { padding-top: 8px; gap: 10px; } }

       
      .news { margin-top: 18px; padding: 15px 18px 13px; }
      .news-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
      .news-h h2 { font-family: "IBM Plex Serif", serif; font-size: 19px; margin: 0; font-weight: 700; }
      .sample-pill { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #1c1503; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
      .news-meta { font-size: 12.5px; color: var(--muted); margin-left: auto; }
      @media (max-width: 620px) { .news-meta { margin-left: 0; width: 100%; } }
      .newstabs { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 3px; flex-wrap: wrap; margin-top: 12px; }
      .newstabs button {
        border: 0; background: transparent; color: var(--ink); cursor: pointer;
        font: inherit; font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 8px; min-height: 40px;
      }
      .newstabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
      .news-list { margin-top: 6px; }
      .news-list[hidden] { display: none; }
      .news-item {
        display: flex; align-items: baseline; gap: 14px;
        padding: 10px 2px; border-bottom: 1px solid var(--line);
        text-decoration: none; color: var(--ink);
      }
      .news-item:last-child { border-bottom: 0; }
      .news-item:hover .news-title { color: var(--accent); text-decoration: underline; }
      .news-title { font-size: 15.5px; font-weight: 600; line-height: 1.4; flex: 1 1 auto; }
      .news-src { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-family: "IBM Plex Mono", monospace; }
      .news-arrow { color: var(--muted); font-size: 13px; flex: none; }
      @media (max-width: 620px) {
        .news-item { flex-wrap: wrap; gap: 2px 10px; }
        .news-title { flex-basis: 100%; }
      }
      .news-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 2px; max-width: 72em; }

       
      .pulse { margin-top: 18px; padding: 18px 20px 16px; }
      .pulse-head { display: flex; align-items: flex-start; gap: 14px 22px; flex-wrap: wrap; }
      .pulse-head-text { flex: 1 1 420px; min-width: 0; }
      .pulse-head h2 { font-family: "IBM Plex Serif", serif; font-size: 23px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
      .pulse-head .pulse-sub { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.45; max-width: 62em; }
      .pulse-controls { display: flex; align-items: end; gap: 10px 14px; flex-wrap: wrap; margin-left: auto; }
      .pulse-overlay label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
      .pulse-overlay label i { width: 22px; border-top: 3px dashed #e85d04; display: inline-block; flex: none; }
      .pulse-overlay select {
        font: inherit; font-size: 14.5px; font-weight: 600; padding: 7px 10px; border-radius: 9px;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 38px; min-width: 168px;
      }
      .pulse-exports { display: flex; gap: 8px; flex-wrap: wrap; }
      .pulse-exports .btn { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; }
      .pulse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; align-items: stretch; }
      .pulse-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px 11px; display: flex; flex-direction: column; min-width: 0; }
      .pulse-card-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
      .pulse-card-top .pm-name { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
      .pulse-card-top .pm-name i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
      .pulse-card-top .pm-unit { font-size: 11.5px; color: var(--muted); margin-left: auto; white-space: nowrap; }
      .pulse-big { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
      .pulse-big .pv-big { font-family: "IBM Plex Mono", monospace; font-size: 27px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
      .pulse-big .pv-cap { font-size: 12.5px; color: var(--muted); font-weight: 600; }
      .pulse-vintage { font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: 3px; }
      .takeaway p.takeaway-vintage { font-size: 11px; color: var(--muted); line-height: 1.3; margin: 4px 0 0; }
      .pulse-chart { margin-top: 6px; }
      .pulse-chart svg { width: 100%; height: auto; display: block; }
      .pulse-legend { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
      .pulse-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
      .pulse-legend .lg-solid { width: 20px; border-top: 3px solid var(--muted); display: inline-block; }
      .pulse-legend .lg-dash { width: 20px; border-top: 3px dashed #e85d04; display: inline-block; }
      .pulse-foot { margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.45; }
      .pulse-foot strong { color: var(--ink); }
      .pulse-board { margin-top: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 12px; }
      .pulse-board-head { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
      .pulse-board-head h3 { font-family: "IBM Plex Serif", serif; font-size: 18px; margin: 0; font-weight: 700; }
      .pulse-board-head .pb-scope { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
      @media (max-width: 400px) {
         
        .pulse-board-head .pb-scope { white-space: normal; text-align: left; font-size: 10.5px; padding: 3px 8px; line-height: 1.35; }
      }
      .pulse-board-head .pb-note { font-size: 12.5px; color: var(--muted); margin-left: auto; line-height: 1.4; }
      .pulse-board-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 34px; margin-top: 10px; }
      .pulse-board-row { display: grid; grid-template-columns: 26px minmax(86px, 118px) 1fr 58px 104px; gap: 9px; align-items: center; font-size: 13.5px; padding: 4px 0; min-width: 0; }
      .pulse-board-row .pb-rank { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 12.5px; color: var(--muted); text-align: right; }
      .pulse-board-row .pb-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .pulse-board-row .pb-track { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; height: 16px; overflow: hidden; }
      .pulse-board-row .pb-fill { height: 100%; background: var(--teal); border-radius: 4px; }
      .pulse-board-row .pb-val { font-family: "IBM Plex Mono", monospace; font-weight: 700; text-align: right; font-size: 13.5px; }
      .pulse-board-row .pb-pol { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
      .pulse-board-row.is-visitor { background: color-mix(in srgb, var(--gold) 16%, transparent); border-radius: 8px; }
      .pulse-board-foot { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; border-top: 1px solid var(--line); padding-top: 9px; }
      .pulse-board-foot strong { color: var(--ink); }
      .pulse-src { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
      @media (max-width: 1024px) { .pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
      @media (max-width: 980px) { .pulse-board-grid { grid-template-columns: 1fr; } .pulse-controls { margin-left: 0; } .pulse-board-head .pb-note { margin-left: 0; width: 100%; } }
      @media (max-width: 620px) {
        .pulse { padding: 15px 14px 13px; }
        .pulse-overlay, .pulse-overlay select { width: 100%; }
        .pulse-overlay .combo-wrap { width: 100%; min-width: 0; }
        .pulse-board-row { grid-template-columns: 24px minmax(78px, 100px) 1fr 54px; }
        .pulse-board-row .pb-pol { display: none; }
      }
      @media (max-width: 560px) { .pulse-grid { grid-template-columns: 1fr; } }

       
      .controls {
        margin-top: 12px; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); box-shadow: var(--shadow);
        padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: end;
      }
      .ctl-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
      .ctl-help { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.25; }
      .seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 3px; flex-wrap: wrap; }
      .seg button {
        border: 0; background: transparent; color: var(--ink); cursor: pointer;
        font: inherit; font-size: 14.5px; font-weight: 600; padding: 5px 12px; border-radius: 8px; min-height: 32px;
      }
      .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
      .seg button[disabled] { opacity: .45; cursor: not-allowed; }
      .seg button .dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; vertical-align: 1px; }
      .yearslider { flex: 1 1 300px; min-width: 230px; }
      .slider-head { display: flex; align-items: baseline; gap: 6px 8px; flex-wrap: nowrap; margin-bottom: 0; }
      .slider-head .ctl-label { margin-bottom: 0; flex: none; }
      .slider-head .ctl-help { flex: 1 1 auto; min-width: 0; white-space: normal; overflow: visible; }
      @media (max-width: 620px) { .slider-head { flex-wrap: wrap; } .slider-head .ctl-help { white-space: normal; overflow: visible; } }
      .slider-row { display: flex; align-items: center; gap: 12px; }
      .yearslider input[type="range"] { flex: 1; accent-color: var(--accent); min-height: 24px; }
      .slider-year { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 17px; min-width: 52px; text-align: right; }
      .slider-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-family: "IBM Plex Mono", monospace; margin-top: -2px; line-height: 1.2; }
      .exports { display: flex; gap: 8px; flex-wrap: wrap; }
       
      .citebox {
        margin-top: 14px; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); box-shadow: var(--shadow);
        padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
      }
      .citebox .cite-main { flex: 1 1 320px; min-width: 0; }
      .citebox .cite-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0; }
      .citebox .cite-preview { font-size: 13px; color: var(--muted); margin: 2px 0 0; line-height: 1.45; }
      .citebox .cite-status { width: 100%; font-size: 13px; color: var(--accent); font-weight: 600; margin: 0; }
      .citebox .cite-status:empty { display: none; }
       
      .rk-cite-row { flex: 1 1 100%; min-width: 0; }
      .rk-cite-preview { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
      .rk-cite-status { font-size: 13px; color: var(--accent); font-weight: 600; margin: 4px 0 0; line-height: 1.45; }
      .rk-cite-status:empty { display: none; }
      @media (max-width: 620px) { .citebox .cite-main { flex-basis: 100%; } }
      .btn {
        font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
        border-radius: 9px; padding: 6px 12px; min-height: 32px;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink);
      }
       
      .panel { position: relative; }
      .panel.has-share > .panel-h { padding-right: 52px; }
      
      .panel.pulse.has-share .pulse-head { padding-right: 52px; }
      .panel.canada.has-share .canada-head { padding-right: 40px; }
      .panel.tablewrap.has-share { padding-top: 4px; }
      .share-btn {
        position: absolute; top: 10px; right: 10px; z-index: 6;
        width: 32px; height: 32px; min-height: 32px; padding: 0;
        display: inline-flex; align-items: center; justify-content: center;
        border-radius: 999px; border: 1px solid #1e56a8;
        background: #1e56a8; color: #ffffff; cursor: pointer;
        box-shadow: 0 1px 3px rgba(30,86,168,.35), 0 4px 10px rgba(30,86,168,.18);
      }
      .share-btn:hover { color: #ffffff; border-color: #174584; background: #174584; }
      .share-btn:focus-visible { outline: 3px solid #1e56a8; outline-offset: 2px; }
      .share-btn svg { width: 16px; height: 16px; display: block; }
      .share-toast {
        position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(8px);
        z-index: 80; max-width: min(92vw, 480px); background: var(--ink); color: var(--bg);
        font-size: 13.5px; font-weight: 600; line-height: 1.4; text-align: center;
        padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow);
        opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
      }
      .share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
      .btn:hover { background: var(--surface-2); }
      .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
      .btn.primary:hover { filter: brightness(1.07); background: var(--accent); }

       
      .maingrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 18px; align-items: start; }
       
      #page-rankings .maingrid { align-items: stretch; }
      #page-rankings .maingrid > * { min-width: 0; min-height: 0; }
      #page-rankings .maingrid > .panel { display: flex; flex-direction: column; height: 100%; }
      #page-rankings .maingrid > .panel > .panel-b { flex: 1 1 auto; display: flex; flex-direction: column; }
      #page-rankings .maingrid > .panel > .panel-b > .mapnote { margin-top: auto; padding-top: 12px; }
      #page-rankings .rail { display: flex; flex-direction: column; gap: 18px; height: 100%; }
      #page-rankings .rail > .panel { display: flex; flex-direction: column; }
      #page-rankings .rail > .panel:last-child { flex: 1 1 auto; }
      @media (max-width: 980px) {
        #page-rankings .maingrid > .panel { height: auto; }
        #page-rankings .rail { height: auto; }
        #page-rankings .rail > .panel:last-child { flex: none; }
      }
       
      .map-full { margin-top: 12px; }
      .map-hint { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; margin-left: auto; }
      @media (max-width: 620px) { .map-hint { margin-left: 0; } }
       
      .below-map { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr); gap: 18px; margin-top: 14px; align-items: stretch; }
      .below-map > .panel { display: flex; flex-direction: column; height: 100%; }
      .below-map .panel-b { flex: 1 1 auto; display: flex; flex-direction: column; }
      .below-map #topNote { padding-top: 12px; margin-top: auto; }
      
      .below-map > #visitorCard { display: flex; flex-direction: column; height: 100%; min-height: 100%; }
      .below-map > #visitorCard > .panel.canada { flex: 1 1 auto; display: flex; flex-direction: column; height: 100%; }
      .below-map > #visitorCard > .panel.canada > .panel-b.canada-b { flex: 1 1 auto; }
       
      .top-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-top: 10px; flex: 0 1 auto; align-content: start; }
      .dual-col { display: grid; gap: 6px; align-content: start; }
      .dual-head { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-bottom: 5px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
      .below-map .bar-row { grid-template-columns: 30px 150px 1fr 54px; gap: 8px; font-size: 14px; min-height: 26px; }
       
      .below-map .bar-row .bn2 { padding-right: 8px; }
      .below-map .bar-row .rank-num { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 13px; color: var(--muted); text-align: right; }
      .below-map .bar-row.homerow .rank-num { color: var(--ink); }
      .below-map .bar-track { height: 18px; border-radius: 5px; }
      .below-map .bar-fill { border-radius: 5px; }
      .homerow-full { margin-top: 8px; }
      @media (max-width: 980px) { .below-map { grid-template-columns: 1fr; } .below-map > .panel { height: auto; } .below-map > #visitorCard { height: auto; min-height: 0; } .below-map > #visitorCard > .panel.canada { height: auto; } }
      @media (max-width: 620px) { .top-dual { grid-template-columns: 1fr; gap: 14px; } .below-map .bar-row { grid-template-columns: 30px 104px 1fr 50px; } .below-map .bar-row .bn2 { white-space: normal; } }
      .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
      .panel-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 15px 18px 4px; }
      
      .twocol > .panel:has(> .panel-b > .chartbox) > .panel-h { min-height: 77px; }
      .panel-h h2 { font-family: "IBM Plex Serif", serif; font-size: 19px; margin: 0; font-weight: 700; }
      .panel-h .sub { font-size: 13px; color: var(--muted); }
      .panel-b { padding: 10px 18px 18px; }

       
      .map-panel .panel-h { display: block; padding: 18px 20px 0; }
      .map-panel .panel-h h2 { font-size: 22px; }
      .map-panel .panel-h .sub { display: block; margin-top: 3px; font-size: 13.5px; }
      .map-panel .panel-b { padding: 12px 20px 18px; }
      .map-story {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
        border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        margin: 4px 0 14px;
      }
      .map-story .ms { padding: 10px 14px 10px 0; }
      .map-story .ms + .ms { border-left: 1px solid var(--line); padding-left: 14px; }
      .map-story .ms-k { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
      .map-story .ms-v { font-family: "IBM Plex Mono", monospace; font-size: 20px; font-weight: 600; line-height: 1.25; margin-top: 1px; }
      .map-story .ms-v span { font-family: "IBM Plex Sans", sans-serif; font-size: 13.5px; font-weight: 600; }
      .map-story .ms-n { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
      @media (max-width: 620px) {
        .map-story { grid-template-columns: 1fr; }
        .map-story .ms + .ms { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
      }
       
       
      .map-canvas {
        background: #d9e9f3;
        
        border: 0; border-radius: 10px;
        padding: clamp(10px, 2vw, 20px);
      }
      
      
      .tilemap { display: grid; grid-template-columns: repeat(26, 1fr); gap: 2px; }
      .tile {
        aspect-ratio: 4 / 3.4; border: 1.5px solid #ffffff; border-radius: 2px; cursor: pointer; padding: 0; box-shadow: none;
        font-family: "IBM Plex Mono", monospace; font-size: clamp(6.5px, 1vw, 10px); font-weight: 600; letter-spacing: .02em;
        display: flex; align-items: center; justify-content: center; color: #fff;
        min-height: 0; position: relative;
      }
      .tile:hover { outline: 2px solid var(--ink); outline-offset: 0; z-index: 3; }
      .tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; z-index: 4; }
      .tile.selected { outline: 2.5px solid var(--ink); outline-offset: 0; z-index: 4; }
      .tile.home { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 1.5px var(--gold); z-index: 2; }
      .tile.nodata { background: #b4babe !important; color: #3c454b; border-color: #ffffff; }
       
      .legend { margin-top: 14px; max-width: 640px; }
      .legend-head { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
      .legend-head .legend-title { font-weight: 700; color: var(--ink); font-size: 13px; }
      .legend-head .legend-nodata { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
      .legend-head .sw-nodata { width: 18px; height: 11px; border-radius: 2px; background: #b4babe; border: 1px solid var(--line); display: inline-block; flex: none; }
      .legend-bar { display: flex; height: 12px; border-radius: 3px; overflow: hidden; border: 1px solid rgba(22,40,61,.14); }
      .legend-bar i { flex: 1 1 0; display: block; }
      .legend-labels { display: flex; margin-top: 5px; font-size: 11.5px; color: var(--muted); font-family: "IBM Plex Mono", monospace; }
      .legend-labels span { flex: 1 1 0; text-align: center; white-space: nowrap; }
      .legend-labels span:first-child { text-align: left; }
      .legend-labels span:last-child { text-align: right; }
      @media (max-width: 620px) { .legend-labels span { font-size: 10px; } .legend { max-width: none; } }
      .mapnote { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
      
      .gloss { margin-top: auto; background: var(--chip); border-left: 4px solid var(--accent); border-radius: 8px; padding: 9px 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink); min-height: calc(3em + 18px); }
      .gloss strong { font-weight: 700; }
      .panel-b > .mapnote:has(+ .gloss) { margin-bottom: 10px; }
      @media (max-width: 980px) { .gloss { margin-top: 10px; min-height: 0; } .panel-b > .mapnote:has(+ .gloss) { margin-bottom: 0; } }
      
      .wm-coming-soon { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; line-height: 1.45; }
      .wm-coming-soon a { color: var(--accent); }
      .wm-coming-close { float: right; border: 0; background: none; font-size: 18px; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 6px; }
      
      .wm-figures .wm-fig-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
      .wm-figures .wm-fig-head strong { font-size: 17px; }
      .wm-figures .wm-fig-head span { font-size: 12.5px; color: var(--muted); }
      .wm-fig-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 10px 0; }
      .wm-fig-row { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
      .wm-fig-k { font-weight: 700; font-size: 13px; min-width: 110px; }
      .wm-fig-v { font-weight: 700; font-size: 16px; color: var(--accent); }
      .wm-fig-n { font-size: 12px; color: var(--muted); width: 100%; }
      @media (max-width: 620px) { .wm-fig-rows { grid-template-columns: 1fr; } }
      .map-source { font-size: 12px; color: var(--muted); margin-top: 4px; }

      
      .map-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; justify-content: space-between; margin: 0 0 12px; }
      .region-btns { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 3px; gap: 3px; flex-wrap: wrap; }
      .region-btns button { border: 0; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; min-height: 32px; }
      .region-btns button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
      .map-search { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
      .map-search label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 100%; }
      .map-search input { font: inherit; font-size: 14.5px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 36px; width: 210px; }
      .map-search-msg { font-size: 12.5px; color: var(--blue); font-weight: 600; }
      
      .map-viewport { position: relative; overflow: hidden; border-radius: 6px; background: #d9e9f3; }
      .tilemap { transition: transform .55s ease; transform-origin: 0 0; will-change: transform; }
      .tile { flex-direction: column; gap: 0; line-height: 1.1; }
      .tile-code { font-size: inherit; }
      .tile-num { display: none; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
      .tile-meta { display: none; font-size: 8.5px; font-weight: 600; white-space: nowrap; opacity: .92; }
      .tilemap.z1 .tile.show-num .tile-num, .tilemap.z2 .tile.show-num .tile-num { display: block; }
      .tilemap.z2 .tile.show-num .tile-meta { display: block; }
      .zoom-controls { position: absolute; top: 8px; right: 8px; z-index: 8; display: flex; flex-direction: column; gap: 4px; }
      .zoom-controls button { font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; }
      .zoom-controls .zbtn { width: 36px; height: 36px; min-height: 36px; font-size: 19px; font-weight: 700; line-height: 1; padding: 0; }
      .zoom-controls .zreset { min-height: 30px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
      .zoom-controls button:hover { background: var(--surface-2); }
      .zoom-controls button:disabled { opacity: .45; cursor: default; }
      .zoom-status { font-size: 12.5px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
      .zoom-status strong { color: var(--ink); }
       
      .play-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 62px; min-height: 26px; padding: 2px 8px; font-size: 12.5px; line-height: 1.2; border-radius: 999px; }
      .play-btn svg { flex: none; width: 8px; height: 9px; }
      .yearslider .slider-row { gap: 8px; }
       
      .slider-track-col { flex: 1 1 auto; min-width: 0; }
      .slider-track-col input[type="range"] { width: 100%; display: block; }
      .play-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
      @media (max-width: 620px) {
        .map-search input { width: 160px; }
         
        .zoom-controls { flex-direction: row; align-items: center; top: 6px; right: 6px; }
        .zoom-controls .zbtn { width: 32px; height: 32px; min-height: 32px; font-size: 17px; }
        .zoom-controls .zreset { min-height: 32px; }
      }
      @media (prefers-reduced-motion: reduce) { .tilemap { transition: none; } }

      
      .dstat { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
      .dstat .dl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
      .dstat .dv { font-family: "IBM Plex Mono", monospace; font-size: 19px; font-weight: 600; margin-top: 2px; }
      .dstat .dn { font-size: 12px; color: var(--muted); }

       
      .rail { display: grid; gap: 18px; }
      .canada { border-top: 5px solid var(--gold); overflow: hidden; }
      .canada-b { display: flex; flex-direction: column; height: 100%; }
      .canada-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
      .canada .flagrow { display: flex; align-items: center; gap: 11px; min-width: 0; }
      .pin { width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: #1c1503; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
      .canada h2 { font-family: "IBM Plex Serif", serif; font-size: 21px; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
      .canada .where { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
      .canada-date { flex: none; font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ink); background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; white-space: nowrap; margin-top: 2px; }
      .bigstats { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; flex: 1 1 auto; }
      .bigstat { flex: 1 1 0; display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: color-mix(in srgb, var(--surface-2) 48%, var(--surface)); border: 1px solid var(--line); border-radius: 12px; }
      .bigstat .bv { font-family: "IBM Plex Mono", monospace; font-size: 27px; font-weight: 600; letter-spacing: -.03em; line-height: 1; min-width: 92px; flex: none; font-variant-numeric: tabular-nums; }
      .bigstat .btext { min-width: 0; }
      .bigstat .bl { font-size: 13.5px; font-weight: 700; line-height: 1.25; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
      .bigstat .bl i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
      .bigstat .bn { font-size: 12.5px; color: var(--muted); display: block; font-weight: 400; line-height: 1.45; margin-top: 3px; }
      .stat-pill { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; padding: 4px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
      .realrate { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px 13px; margin-top: 12px; }
      .realrate-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
      .realrate .rk { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
      .realrate .rv { font-family: "IBM Plex Mono", monospace; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: var(--rust); font-variant-numeric: tabular-nums; }
      .realrate .rv small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
      .realrate-eq { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; font-family: "IBM Plex Mono", monospace; font-size: 12.5px; font-weight: 600; }
      .realrate-eq .eq-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 5px 8px; line-height: 1; }
      .realrate-eq .eq-op { color: var(--muted); }
      .realrate-eq .eq-result { background: var(--surface); border-color: color-mix(in srgb, var(--rust) 35%, var(--line)); color: var(--rust); }
      .realrate p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
      .realrate p strong { font-weight: 700; }
      .canada-cta { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px 12px 15px; background: var(--surface); transition: background .15s ease, border-color .15s ease; }
      .canada-cta:hover { background: var(--surface-2); border-color: var(--accent); }
      .canada-cta .cta-t { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--accent); }
      .canada-cta .cta-s { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
      .canada-cta .cta-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 17px; line-height: 1; }
      .textlink { display: inline-block; padding: 10px 0 2px; font-weight: 600; font-size: 14.5px; }
      @media (max-width: 620px) { .bigstat .bv { font-size: 24px; min-width: 82px; } .bigstat { padding: 11px 12px; } }

       
      .bars { display: grid; gap: 7px; margin-top: 8px; }
      .bar-row { display: grid; grid-template-columns: 96px 1fr 62px; gap: 10px; align-items: center; font-size: 13.5px; }
      .bar-row .bn2 { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .bar-track { background: var(--surface-2); border-radius: 5px; height: 16px; overflow: hidden; }
      .bar-fill { height: 100%; border-radius: 5px; transition: width .35s ease; }
      .bar-row .bval { font-family: "IBM Plex Mono", monospace; font-weight: 600; text-align: right; font-size: 13px; }
      .bar-row.homerow .bn2 { font-weight: 700; }
      .vintage { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: var(--muted); margin-left: 6px; vertical-align: 2px; }

       
      section.block { margin-top: 34px; }
      .sec-head { max-width: 720px; }
      .sec-head h2 { font-family: "IBM Plex Serif", serif; font-size: clamp(23px, 3vw, 30px); margin: 0 0 6px; letter-spacing: -.01em; }
      .sec-head p { color: var(--muted); margin: 0; font-size: 15.5px; }
       
      .twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 16px; align-items: stretch; }
      
      .twocol:has(> .panel:only-child) { grid-template-columns: 1fr; }
      
      #page-country .twocol:has(> .panel:only-child) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .twocol > * { min-width: 0; }
      .twocol > .panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
      .twocol > .panel > .panel-b { flex: 1 1 auto; display: flex; flex-direction: column; }
      .twocol > .panel > .panel-b > a.textlink { margin-top: auto; padding-top: 12px; }
      .twocol > .panel > .panel-b > div:has(a.textlink) { display: flex; flex-direction: column; flex: 1 1 auto; }
      .twocol > .panel > .panel-b > div:has(a.textlink) a.textlink { margin-top: auto; padding-top: 12px; }
      @media (max-width: 980px) { .twocol > .panel { height: auto; } }
      .chartbox { padding: 6px 4px 0; }
      .chartbox svg { width: 100%; height: auto; display: block; }
       
      .chart-m { display: none; }
      .chart-m[hidden] { display: none; }
      @media (max-width: 620px) {
        .chart-d { display: none; }
        .chart-d[hidden] { display: none; }
        .chart-m { display: block; }
      }
       
      .cs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 16px; align-items: stretch; }
      .cs-grid > .panel { display: flex; flex-direction: column; height: 100%; min-width: 0; }
      .cs-grid > .panel > .panel-b { flex: 1 1 auto; display: flex; flex-direction: column; }
      @media (max-width: 980px) { .cs-grid { grid-template-columns: 1fr; } .cs-grid > .panel { height: auto; } }
      .cs-head { display: flex; align-items: flex-start; gap: 10px; width: 100%; }
      .cs-num { flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--rust); color: #ffffff; font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
      .cs-tag { flex: none; margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--chip); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
      .cs-tag.live { background: var(--rust); border-color: var(--rust); color: #ffffff; }
      .cs-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 8px 0 2px; }
      .cs-caption { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
       
      .cs-switcher { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 2px 0 8px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
      .cs-switcher .cs-sw-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); width: 100%; }
      .cs-switcher .seg button { font-size: 13.5px; padding: 5px 10px; }
      .cs-switcher .cs-sw-note { font-size: 12.5px; color: var(--muted); line-height: 1.4; flex: 1 1 220px; min-width: 180px; }
       
      .freq-switch { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 2px 0 8px; }
       
      .freq-spacer { visibility: hidden; }
      .freq-switch .freq-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
      .freq-switch .seg button { font-size: 13.5px; padding: 5px 11px; }
      .freq-switch .freq-range { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
      .freq-note { font-size: 12.5px; font-weight: 600; color: var(--teal); margin: 6px 0 0; }
      .freq-note[hidden] { display: none; }
      .freq-switch[hidden] { display: none; }
       
      .calc-out { background: var(--surface-2); border-radius: 10px; padding: 14px 16px; margin-top: 12px; }
      .calc-out .cv { font-family: "IBM Plex Mono", monospace; font-size: 21px; font-weight: 600; }
      .calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; align-items: stretch; }
      .calc-grid > * { height: 100%; min-width: 0; }
      .calc-grid .dstat { background: var(--surface); border: 1px solid var(--line); }
       
      @media (max-width: 620px) { .dstat .dl { white-space: normal; } }
      label.flabel { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
      input[type="number"], select.country-sel {
        font: inherit; font-size: 15px; padding: 9px 11px; border-radius: 9px;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%;
      }
      input[type="range"].calc-range { width: 100%; accent-color: var(--accent); min-height: 36px; }

       
      .tablewrap { margin-top: 16px; }
      table.rank { width: 100%; border-collapse: collapse; font-size: 14.5px; }
      table.rank th, table.rank td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
      table.rank th { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
      table.rank td.num, table.rank th.num { text-align: right; font-family: "IBM Plex Mono", monospace; }
      table.rank th.num { font-family: "IBM Plex Sans", sans-serif; }
      table.rank tr.homerow td { background: color-mix(in srgb, var(--rust) 13%, transparent); font-weight: 600; }
      table.rank tbody tr { cursor: pointer; }
      table.rank tbody tr:hover td { background: var(--surface-2); }
      table.rank tbody tr.homerow:hover td { background: color-mix(in srgb, var(--rust) 20%, transparent); }
       
      .sort-hint { font-size: 12.5px; color: var(--muted); margin: 0; padding: 12px 18px 2px; }
      table.rank th.sortable-th { padding: 8px 12px; }
      .sort-btn {
        font: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
        font-weight: 700; color: inherit; background: transparent; border: 0; cursor: pointer;
        display: flex; width: 100%; align-items: center; gap: 5px; padding: 4px 0; min-height: 28px;
        border-radius: 6px; white-space: nowrap; text-align: inherit;
        justify-content: flex-start;
      }
      th.num .sort-btn { flex-direction: row; margin-left: 0; }
      th.num { text-align: right; }
      th.num .sort-btn { justify-content: flex-end; text-align: right; }
      .sort-btn:hover { color: var(--accent); background: var(--surface-2); }
      .sort-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
      .sort-ind { font-size: 10px; line-height: 1; color: var(--muted); flex: none; font-family: "IBM Plex Sans", sans-serif; letter-spacing: 0; }
      th[aria-sort="ascending"] .sort-ind, th[aria-sort="descending"] .sort-ind { color: var(--accent); font-size: 11px; }
      th[aria-sort="ascending"] .sort-btn, th[aria-sort="descending"] .sort-btn { color: var(--accent); }
       
      .panel.tablewrap.has-share table.rank thead th:last-child { padding-right: 12px; }
      .panel.tablewrap.has-share table.rank tbody td:last-child { padding-right: 12px; }
      .panel.tablewrap.has-share .sort-hint { padding-right: 52px; min-height: 48px; display: flex; align-items: center; box-sizing: border-box; }
       
      #page-home #rankings .panel.tablewrap { width: 100%; max-width: 100%; box-sizing: border-box; }
      .home-rank-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
      @media (max-width: 620px) {
        #page-home #rankings .panel.tablewrap { overflow: hidden; }
        #page-home #rankings .home-rank-scroll { overflow: hidden; }
        #page-home #rankings table.rank { width: 100%; max-width: 100%; font-size: 13px; }
        #page-home #rankings table.rank th, #page-home #rankings table.rank td { padding: 8px 6px; }
        #page-home #rankings table.rank th:first-child, #page-home #rankings table.rank td:first-child { padding-left: 10px; }
        #page-home #rankings table.rank th:last-child, #page-home #rankings table.rank td:last-child { padding-right: 10px; }
        #page-home #rankings table.rank th { font-size: 10.5px; letter-spacing: .04em; }
        #page-home #rankings table.rank th.sortable-th { padding: 6px 6px; }
        #page-home #rankings table.rank th:first-child { width: 42px !important; }
        #page-home #rankings table.rank .sort-btn { white-space: normal; line-height: 1.25; gap: 3px; }
        #page-home #rankings table.rank td:nth-child(2) { overflow-wrap: break-word; }
      }

       
      .teaser-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
      .teaser-stats .ts .tv { font-family: "IBM Plex Mono", monospace; font-size: 24px; font-weight: 600; }
      .teaser-stats .ts .tl { font-size: 12.5px; color: var(--muted); }

       
      .page { display: none; }
      .page.active { display: block; }
      nav.mainnav a.active { background: var(--ink); color: var(--bg); }
      .crumb { font-size: 13.5px; color: var(--muted); padding: 22px 0 0; }
      .crumb a { font-weight: 600; }
      .cp-head { padding: 18px 0 4px; }
      .cp-head h1 { font-family: "IBM Plex Serif", serif; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 8px; }
      .cp-head .lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 46em; margin: 0; }
       
      .meth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
      .meth-head .meth-head-text { flex: 1 1 auto; min-width: 0; }
      .cite-site-btn {
        flex: none; display: inline-flex; align-items: center; gap: 7px;
        font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
        border-radius: 999px; padding: 8px 16px; min-height: 38px;
        border: 1px solid #1e56a8; background: #1e56a8; color: #ffffff;
        box-shadow: 0 1px 3px rgba(30,86,168,.3); white-space: nowrap;
      }
      .meth-head .cite-site-btn { margin-top: 10px; }
      .cite-site-btn:hover { background: #174584; border-color: #174584; color: #ffffff; }
      .cite-site-btn:focus-visible { outline: 3px solid #1e56a8; outline-offset: 2px; }
      .cite-site-btn svg { width: 15px; height: 15px; flex: none; display: block; }
      @media (max-width: 620px) {
        .meth-head { flex-direction: column; gap: 12px; }
        .meth-head .cite-site-btn { margin-top: 0; align-self: flex-start; }
      }
       
      .howcite { margin-top: 18px; }
      .howcite-preview { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
      .howcite-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
      .howcite-note { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 14px 0 0; }
      .source-list { list-style: none; margin: 6px 0 0; padding: 0; }
      .source-list li { padding: 11px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; align-items: start; }
      .source-list .src-name { font-weight: 700; font-size: 14.5px; line-height: 1.4; }
      .source-list .src-desc { grid-column: 1; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
      .source-list .src-codes { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
      .src-code { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
      .source-list .src-link { grid-row: 1; grid-column: 2; font-size: 13.5px; font-weight: 600; white-space: nowrap; padding-top: 2px; }
      @media (max-width: 620px) {
        .source-list li { grid-template-columns: 1fr; }
        .source-list .src-link { grid-row: auto; grid-column: 1; }
      }
      .rankchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
      .rankchips .chip { background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
      .rankchips .chip strong { font-family: "IBM Plex Mono", monospace; }
      .rankchips .chip.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); border-color: var(--gold); }
      .narrative p { font-size: 16.5px; line-height: 1.65; margin: 0 0 12px; max-width: 62em; }
      .narrative p:last-child { margin-bottom: 0; }
      .statgrid4 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; align-items: stretch; }
      .statgrid4 > * { height: 100%; min-width: 0; }
      .statgrid4 .dstat { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px 16px; height: 100%; }
      .statgrid4 .dv { font-size: 26px; }
      .win { color: var(--accent); font-weight: 700; }
      .diff { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--muted); }
      details.faq { border-bottom: 1px solid var(--line); padding: 12px 2px; }
      details.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; }
      details.faq p { color: var(--muted); margin: 8px 0 2px; max-width: 62em; }
      .pagefoot { margin-top: 36px; border-top: 1px solid var(--line); padding: 18px 0 38px; color: var(--muted); font-size: 13.5px; }
      .pagefoot p { max-width: 62em; margin: 0 0 8px; }
      .linkrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
      .searchbox { max-width: 320px; }
      @media (max-width: 980px) { .statgrid4 { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 1100px) and (min-width: 981px) { .statgrid4 { grid-template-columns: repeat(3, 1fr); } }
      @media (max-width: 620px) { .statgrid4 { grid-template-columns: 1fr 1fr; } .statgrid4 .dv { font-size: 21px; } }

      footer { margin-top: 44px; border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--muted); font-size: 13.5px; }
      footer p { max-width: 62em; }
      .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

      @media (max-width: 980px) {
        .maingrid { grid-template-columns: 1fr; }
        .twocol { grid-template-columns: 1fr; }
      }
      @media (max-width: 620px) {
        .wrap { padding: 0 14px; }
        .tile { border-radius: 3px; font-size: 0; }
        .tilemap { gap: 2px; }
        .bar-row { grid-template-columns: 104px 1fr 54px; font-size: 12.5px; }
         
        .bar-row .bn2 { white-space: normal; }
        table.rank th.hide-m, table.rank td.hide-m { display: none; }
        .bigstat .bv { font-size: 21px; min-width: 88px; }
        nav.mainnav { margin-left: 0; }
        .nav-country select { max-width: 128px; }
        .nav-country .combo-wrap { max-width: 128px; }
      }
      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .bar-fill, .tile { transition: none; }
      }

      .footer-nav { display:flex; gap:8px 16px; flex-wrap:wrap; margin:14px 0 10px; font-size:14px; font-weight:600; }
      .footer-nav a { color: var(--accent); }
      .about-form { display:grid; gap:12px; margin-top:14px; max-width:640px; }
      .about-form label { font-size:13px; font-weight:600; display:block; margin-bottom:5px; }
      .about-form input, .about-form select, .about-form textarea { font:inherit; font-size:15px; padding:9px 11px; border-radius:9px; border:1px solid var(--line); background:var(--surface); color:var(--ink); width:100%; }
      .about-form textarea { min-height:130px; resize:vertical; }
      .source-links { list-style:none; margin:8px 0 0; padding:0; }
      .source-links li { padding:9px 0; border-top:1px solid var(--line); }

      .medallion { flex:none; width:42px; height:42px; border-radius:50%; background:#102E4D; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-family:"IBM Plex Serif", Georgia, serif; font-weight:700; font-size:15px; line-height:1; padding-top:2px; letter-spacing:.02em; text-decoration:none; }
      .medallion:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
      .med-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px; margin-top:16px; }
      .med-card .med-large { display:flex; align-items:center; gap:14px; }
      .med-headmock { display:flex; align-items:center; gap:9px; background:var(--surface-2); border:1px solid var(--line); border-radius:9px; padding:8px 10px; margin-top:12px; font-family:"IBM Plex Serif",serif; font-weight:700; }
      .med-share { margin-top:12px; border:1px solid var(--line); border-radius:9px; padding:10px 12px; background:#fff; color:#16283d; }
      .med-share .ms-t { font-weight:700; font-size:13px; margin-left:8px; vertical-align:middle; }
      .med-rowlabel { font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); margin-top:12px; }
    

.pulse-dataset-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 14px; line-height: 1.45; max-width: 62em; }

.map-placeholder { background: #d9e9f3; border: 0; border-radius: 10px;
  padding: clamp(18px, 3vw, 32px); min-height: 420px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 10px; }
.map-placeholder h3 { margin: 0; font-size: 20px; color: var(--ink); }
.map-placeholder p { margin: 0; max-width: 46em; color: var(--muted); font-size: 15px; line-height: 1.55; }

.chart-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 25, 45, .92);
  display: none; align-items: flex-start; justify-content: center; padding: 56px 12px 16px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; }
.chart-lightbox.open { display: flex; }
.chart-lightbox-inner { background: #ffffff; color: #16283d; border-radius: 12px; width: 100%;
  max-width: 860px; padding: 16px 16px 18px; box-sizing: border-box; }
.chart-lightbox-inner svg { width: 100%; height: auto; max-width: 100%; }
.chart-lightbox-inner .pulse-card { max-width: 100%; }

.chart-lightbox-inner .tap-hint { display: none; }
.chart-lightbox-title { font-size: 17px; font-weight: 700; margin: 0 0 10px; padding-right: 44px; }
.chart-lightbox-note { font-size: 14px; line-height: 1.5; color: #43546a; margin: 10px 0 0; }
.chart-lightbox-close { position: fixed; top: 10px; right: 10px; z-index: 201; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid #ffffff; background: #102e4d; color: #ffffff;
  font-size: 24px; line-height: 1; cursor: pointer; }
.tap-hint { display: block; font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
[data-chart-lightbox] { cursor: pointer; }
body.lightbox-open { overflow: hidden; }

.rank th .th-sub { display: block; font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.3; }

.sort-btn { white-space: normal; align-items: flex-start; }
.sort-btn .sort-text { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.sort-btn .sort-label { display: block; overflow-wrap: break-word; }
.sort-btn .th-sub { display: block; font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.3; overflow-wrap: break-word; }
.sort-btn .sort-ind { flex: none; margin-top: 2px; }
th.num .sort-btn .sort-text { align-items: flex-end; text-align: right; }

.share-menu { position: absolute; z-index: 150; min-width: 230px; background: #ffffff; color: #16283d;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px rgba(22, 40, 61, .22);
  padding: 6px; box-sizing: border-box; }
.share-menu button { display: flex; width: 100%; text-align: left; gap: 8px; align-items: center;
  background: none; border: 0; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14.5px;
  color: #16283d; cursor: pointer; }
.share-menu button:hover, .share-menu button:focus-visible { background: #e2ebf4; outline: 2px solid #1d5fa3; }
.share-menu .share-menu-note { font-size: 12px; color: #43546a; padding: 6px 12px 8px; line-height: 1.4; }
@media (max-width: 820px) {
  .share-menu.bottom-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; min-width: 0;
    border-radius: 16px 16px 0 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
}

main.page { display: block; }
 
html, body { overflow-x: clip; }

.map-placeholder { cursor: pointer; }
.map-placeholder:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.howcite-row { display: flex; gap: 10px; align-items: flex-start; }
.howcite-row .howcite-preview { flex: 1 1 auto; min-width: 0; }
.howcite-row .btn { flex: none; margin-top: 2px; }
@media (max-width: 620px) { .howcite-row { flex-direction: column; } .howcite-row .btn { align-self: flex-start; } }

section.block.cite-strip { margin-top: 18px; }
.cite-strip-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); box-shadow: var(--shadow); }
.cite-strip-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #102E4D; flex: none; }
.cite-strip-text { flex: 1 1 420px; min-width: 0; color: var(--muted); }
.cite-strip-actions { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
.cite-strip-copy { min-height: 0; padding: 3px 10px; border-radius: 999px; border: 1px solid #1e56a8; background: #1e56a8; color: #ffffff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cite-strip-copy:hover { background: #174584; border-color: #174584; }
.cite-strip-copy:focus-visible { outline: 3px solid #1e56a8; outline-offset: 2px; }
.cite-strip-sep { color: var(--muted); }

.cite-strip-sub { margin: 6px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 620px) {
   
  .cite-strip-line { padding: 8px 10px; }
  .cite-strip-text { flex-basis: 100%; overflow-wrap: anywhere; word-break: break-word; }
  .cite-strip-sub { overflow-wrap: anywhere; word-break: break-word; }
}

.src-group { font-size: 15px; font-weight: 700; color: #102E4D; margin: 16px 0 6px; }

 
#reuse .panel-b a, .source-list a { overflow-wrap: anywhere; word-break: break-word; }

.realrate-line { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.realrate-line strong { font-family: "IBM Plex Mono", monospace; font-size: 18px; font-weight: 600; color: var(--rust); }

.rankchips a.chip { color: inherit; text-decoration: none; }
.rankchips a.chip:hover, .rankchips a.chip:focus-visible { text-decoration: underline; }

 
 
.sort-btn { white-space: normal; flex-wrap: nowrap; align-items: flex-start; row-gap: 0; }
.sort-btn .sort-text { flex: 0 1 auto; min-width: 0; }
.sort-btn .sort-label { overflow-wrap: break-word; }
.sort-btn .th-sub { display: block; font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.3; overflow-wrap: break-word; }
.sort-btn .sort-ind { flex: 0 0 auto; margin-top: 2px; }
table.rank th .sort-btn { text-align: left; }
table.rank th.num .sort-btn { justify-content: flex-end; text-align: right; }

#page-country table.history-table { table-layout: fixed; width: 100%; }
#page-country table.history-table col.c-year { width: 7%; }
#page-country table.history-table col.c-inf { width: 15%; }
#page-country table.history-table col.c-unemp { width: 15%; }
#page-country table.history-table col.c-int { width: 15%; }
#page-country table.history-table col.c-debt { width: 14%; }
#page-country table.history-table col.c-real { width: 12%; }
#page-country table.history-table col.c-source { width: 22%; }
 
#page-country table.history-table th:last-child,
#page-country table.history-table td:last-child {
  text-align: right;
  padding-right: 14px;
}
#page-country table.history-table th, #page-country table.history-table td { padding: 10px 8px; }
#page-country table.history-table td { overflow-wrap: break-word; }
@media (max-width: 620px) {
   
  #page-country table.history-table col.c-unemp,
  #page-country table.history-table col.c-int,
  #page-country table.history-table col.c-debt,
  #page-country table.history-table col.c-source { display: none; }
  #page-country table.history-table col.c-year { width: 18%; }
  #page-country table.history-table col.c-inf { width: 44%; }
  #page-country table.history-table col.c-real { width: 38%; }
  #page-country table.history-table th { font-size: 10.5px; letter-spacing: .04em; }
  #page-country table.history-table .sort-btn { gap: 3px; }
}


html, body { overflow-x: clip; }
.panel, .card, .block { max-width: 100%; box-sizing: border-box; }
table.rank { max-width: 100%; }
img, svg, canvas, iframe { max-width: 100%; }
.news-via { font-size: 11.5px; color: var(--muted); }
