:root {
  color-scheme: light;
  --ink: #212121;
  --muted: #526170;
  --blue: #0063c7;
  --brand: #0077ee;
  --rule: #dce3ea;
  --band-0: #aedbe9;
  --band-1: #69b6db;
  --band-2: #267faf;
  --band-3: #105083;
  --unknown: #bdc6d0;
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: #f8f9fb;
  -webkit-font-smoothing: antialiased;
}
*, *::after, *::before { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--blue); text-underline-offset: .16em; }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid #005eba; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 4; top: 6px; left: 8px; transform: translateY(-160%); background: white; padding: 8px 12px; }
.skip:focus { transform: none; }
.wrap { width: min(100%, 1450px); margin: auto; padding-inline: clamp(16px, 4.8vw, 68px); }
.mast { border-bottom: 1px solid var(--rule); background: white; }
.mast .wrap { min-height: 64px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.23rem; line-height: 1.1; letter-spacing: -.035em; font-weight: 720; text-decoration: none; }
main { padding-bottom: 40px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: clamp(28px,4.1vw,62px) 0 clamp(18px,2.3vw,32px); }
h1, h2 { line-height: 1.09; letter-spacing: -.04em; text-wrap: balance; }
h1 { max-width: 24ch; font-size: clamp(2.1rem,3.3vw + .4rem,3.65rem); }
.intro p { margin-top: .6rem; color: var(--muted); font-size: clamp(.98rem,.45vw + .85rem,1.15rem); }
.search-open { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-size: .96rem; font-weight: 650; }
.search-open:hover { background: #004e9e; }
.search-open svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.workspace { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); gap: clamp(15px,2vw,28px); align-items: start; }
.stage, .reading { border: 1px solid var(--rule); border-radius: 17px; }
.stage { background: radial-gradient(ellipse at 50% 39%, #f8fbff 0%, #edf4fa 64%, #e8f0f7 100%); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.map-tools { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 15px 0; }
.map-info { order: 1; }
.map-info summary { display: grid; place-items: center; width: 36px; height: 36px; list-style: none; border: 1px solid #bbcbd9; border-radius: 50%; background: white; color: #385673; font-weight: 700; cursor: pointer; }
.map-info summary::-webkit-details-marker { display: none; }
.map-info summary:hover, .map-info[open] summary { border-color: var(--blue); color: var(--blue); }
.map-info-body { position: absolute; z-index: 3; inset: calc(100% + 6px) 15px auto auto; max-width: calc(100% - 30px); width: 310px; padding: 12px 15px; border: 1px solid #c9d6e3; border-radius: 9px; background: white; box-shadow: 0 4px 14px #233a5121; font-size: .87rem; line-height: 1.45; overflow-wrap: anywhere; }
.map-info-body p + p { margin-top: 5px; }
.projections { display: inline-flex; border: 1px solid #c9d6e3; background: #e4ecf4; border-radius: 8px; padding: 2px; }
.projections button { min-height: 34px; border: 0; padding: 5px 12px; background: transparent; border-radius: 5px; color: #4b5e70; font-size: .83rem; font-weight: 650; }
.projections button[aria-pressed=true] { color: #004e9e; background: white; box-shadow: 0 1px 3px #19334a21; }
.map-canvas { position: relative; width: 100%; height: clamp(305px,33vw,470px); }
#world { display: block; width: 100%; height: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
#world.is-dragging { cursor: grabbing; }
#world.is-flat { cursor: default; }
#world .land, #world .minor { cursor: pointer; }
#world.is-dragging .land, #world.is-dragging .minor { cursor: grabbing; }
#world:focus-visible { outline-offset: -4px; }
#world .globe-label { font-size: 12px; font-weight: 650; fill: #153856; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 15px; padding: 10px 14px 16px; color: #425368; font-size: .83rem; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid #50617640; }
.band-0 { background: var(--band-0); }
.band-1 { background: var(--band-1); }
.band-2 { background: var(--band-2); }
.band-3 { background: var(--band-3); }
.band-range { background: repeating-linear-gradient(135deg,#aec3d2 0 3px,#506d83 3px 4px); }
.map-tip { pointer-events: none; position: absolute; z-index: 1; max-width: min(237px,95%); padding: 9px 12px; border-radius: 7px; box-shadow: 0 2px 10px #112d4a2b; border: 1px solid #c7d5e1; background: #fff; font-size: .83rem; line-height: 1.35; }
.map-tip strong { display: block; color: #144e7d; }
.map-tip span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; color: var(--muted); }
noscript :is(li,p,summary,dd) { overflow-wrap: anywhere; }
.unknown { background: var(--unknown); }
.reading { background: white; padding: clamp(19px,2.5vw,38px); overflow-wrap: anywhere; }
.area, .source p, dt { color: var(--muted); font-size: .87rem; }
.area { margin-bottom: .2rem; }
.area:empty { display: none; }
.reading h2 { font-size: clamp(1.8rem,2.6vw,2.75rem); }
.metric { margin-block: 20px 16px; padding-block: 17px 19px; border-block: 1px solid var(--rule); }
.metric p { color: #445467; font-size: .94rem; }
.metric strong { display: block; margin-top: 3px; color: #075295; font-variant-numeric: tabular-nums; font-weight: 720; font-size: clamp(2.3rem,4.3vw,4.45rem); line-height: 1.07; letter-spacing: -.05em; }
.metric strong.is-missing { font-size: clamp(1.55rem,2.35vw,2.45rem); color: var(--muted); letter-spacing: -.025em; }
.reading dl > div + div, .source { margin-top: 14px; }
dd { margin-top: 2px; }
.source a { display: inline-block; margin-top: 2px; font-weight: 600; text-decoration-color: #a0bedd; }
#extra-sources { margin: 3px 0 0; padding: 0; list-style: none; }
#extra-sources li + li { margin-top: 3px; }
.source a:hover { text-decoration-color: currentColor; }
#missing { color: var(--muted); }
dialog { color: var(--ink); width: min(450px, calc(100vw - 28px)); max-height: min(720px, 86vh); max-height: min(720px, 86dvh); padding: 18px; border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 12px 54px #17375433; }
dialog::backdrop { background: #16253666; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dialog-head h2 { font-size: 1.6rem; }
.close { width: 42px; height: 42px; border: 0; background: #eff3f7; border-radius: 8px; font-size: 1.6rem; line-height: 1; }
dialog label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .87rem; }
#query { width: 100%; min-height: 44px; border: 1px solid #98a9b8; border-radius: 8px; padding: 8px 10px; background: white; }
.results { overflow-y: auto; margin: 12px -4px 0; padding: 4px; max-height: min(45vh,380px); overscroll-behavior: contain; }
.results button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-bottom: 1px solid #e8edf2; color: var(--ink); background: white; text-align: left; }
.results button:is(:hover,:focus-visible) { background: #e6f1fd; }
.results small { color: var(--muted); font-size: .76rem; font-weight: 550; }
.results p { padding: 9px; color: var(--muted); }
.country-list { width: min(100%, 62rem); margin-top: clamp(34px, 4.5vw, 65px); scroll-margin-top: 16px; }
.list-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 15px; }
.list-header h2 { font-size: clamp(1.65rem, 2.4vw, 2.35rem); }
.list-sort { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; color: var(--muted); font-size: .88rem; font-weight: 550; }
.list-sort select { min-height: 42px; min-width: 0; max-width: 100%; padding: 6px 9px; border: 1px solid #98a9b8; border-radius: 8px; background: white; color: var(--ink); font-size: .95rem; cursor: pointer; }
.sort-note { margin: 0 0 12px; max-width: 78ch; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.country-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: white; border-radius: 12px; }
.country-table :is(th,td) { text-align: start; vertical-align: middle; padding-inline: clamp(12px,1.8vw,24px); border-bottom: 1px solid #e3e9ef; }
.country-table th:first-child { border-inline-start: 1px solid var(--rule); }
.country-table :is(th,td):last-child { border-inline-end: 1px solid var(--rule); text-align: end; }
.country-table thead th { position: sticky; inset-block-start: 0; z-index: 1; background: #eef3f8; padding-block: 10px; border-block: 1px solid var(--rule); color: #445568; font-size: .84rem; font-weight: 650; line-height: 1.35; }
.country-table thead th:last-child { width: clamp(125px, 33%, 310px); }
.country-table thead th:first-child { border-start-start-radius: 12px; }
.country-table thead th:last-child { border-start-end-radius: 12px; }
.country-table tbody tr:last-child th { border-end-start-radius: 12px; }
.country-table tbody tr:last-child td { border-end-end-radius: 12px; }
.country-table tbody tr:is(:hover,:focus-within) > * { background: #f2f7fc; }
.country-table tbody tr:has(.country-link[aria-current=true]) > * { background: #e6f1fd; }
.country-table th:has(.country-link[aria-current=true]) { box-shadow: inset 3px 0 var(--brand); }
.country-link { display: inline-flex; min-height: 43px; align-items: center; padding-block: 7px; color: var(--blue); font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.country-link:is(:hover,:focus-visible), .country-link[aria-current=true] { text-decoration: underline; text-underline-offset: .17em; }
.country-link[aria-current=true] { font-weight: 700; }
.share-cell { font-variant-numeric: tabular-nums; font-weight: 650; overflow-wrap: anywhere; line-height: 1.35; }
.share-cell > span:not(.unmeasured) { white-space: nowrap; }
.share-cell .unmeasured { color: var(--muted); font-size: .91rem; font-weight: 400; }
.share-cell a { display: block; margin-block: 3px; font-size: .8rem; font-weight: 500; }
@media (max-width: 800px) {
  .workspace { grid-template-columns: minmax(0,1fr); }
  .map-canvas { height: clamp(225px,55vw,355px); }
  .reading { scroll-margin-top: 10px; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 15px; }
  .mast .wrap { min-height: 53px; }
  .brand img { width: 29px; height: 29px; }
  .intro { display: block; }
  .search-open { margin-top: 14px; }
  .map-tools { padding: 8px 9px 0; }
  .projections button { min-height: 36px; }
  .legend { padding-block: 7px 11px; }
  .metric { margin-block: 14px; }
  .map-info-body { inset-inline-end: 9px; max-width: calc(100% - 18px); }
  .list-header { align-items: start; flex-direction: column; gap: 10px; }
  .list-sort { flex-wrap: wrap; }
  .country-table thead th:last-child { width: 43%; }
  .country-table :is(th,td) { padding-inline: 11px; }
}

.mast .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px}
.map-currency{font-size:.85rem;display:flex;gap:6px;align-items:center}.map-currency select{font:inherit;max-width:10rem;padding:5px}
#cash{font-size:clamp(1.25rem,2.6vw,2rem)}#annual-dossier{font-weight:700}
.country-table td:last-child{font-variant-numeric:tabular-nums}
@media(max-width:540px){.country-table th,.country-table td{padding:9px 5px}.map-currency select{max-width:6rem}}

.cash-scope{display:block;color:#495b70;max-width:32ch;font-size:.78rem;font-weight:400;line-height:1.3}
