.vf { --vf-h: clamp(540px,64vh,740px); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5, 24px); align-items: start; margin-top: var(--sp-5, 24px); }
@media (min-width: 1024px) {
  .vf { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); }
  .vf > .vf-stories { grid-column: 1; grid-row: 2; }
  .vf > .vf-rail { grid-column: 2; grid-row: 1; }
}
.an-kicker { margin: 0 0 var(--sp-2, 8px); font-size: var(--fs-chip, 11px); font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--navy, #313d7f); }
.an-deck { margin: 0 0 var(--sp-2, 8px); font-size: var(--fs-lg, 16px); line-height: 1.6; color: var(--ink, #39373a); }

.vf-lever { display: flex; align-items: center; gap: var(--sp-2, 8px); margin: 0 0 var(--sp-3, 12px); }
.vf-lever[hidden] { display: none; }
.vf-leverlabel { flex: 0 0 auto; font-size: var(--fs-chip, 11px); font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--mut, #6a6870); }
.vf-lever > .vf-measures, .vf-lever > .vf-arr { margin: 0; min-width: 0; }
.vf-measures { display: flex; flex-wrap: wrap; gap: var(--sp-2, 8px); margin: 0 0 var(--sp-3, 12px); }
.vf-measure { border: 1px solid var(--line, #e4ebd8); border-radius: var(--r-pill, 20px); background: var(--card-bg, #ffffff); color: var(--navy, #313d7f); padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.vf-measure:hover { background: var(--hair, #f4f7ee); }
.vf-measure[aria-pressed="true"] { background: var(--navy, #313d7f); color: var(--card-bg, #ffffff); border-color: var(--navy, #313d7f); }
.vf-measure:focus-visible { outline: 2px solid var(--navy, #313d7f); outline-offset: 2px; }

.vf-frame { --vf-ease: cubic-bezier(0.22, 0.9, 0.16, 1); --vf-tempo: 1.2; position: relative; height: var(--vf-h); border-radius: 16px; overflow: hidden; background: var(--card-bg, #ffffff); box-shadow: 0 1px 4px rgba(0,0,0,0.12); isolation: isolate; }
.vf-cells { position: absolute; inset: 0; }
.vf-cell { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; clip-path: var(--vf-clip); cursor: pointer; font: inherit; color: inherit; transform-origin: var(--vf-origin, 50% 50%); }
.vf-cell:focus { outline: none; }
.vf-cell.is-still { cursor: default; }

.vf-plates { position: absolute; inset: 0; }
.vf-plate { position: absolute; inset: 0; clip-path: var(--vf-clip); background: transparent; }
.vf-plate.is-solid { background: var(--vf-fill); }
.vf-plate.is-solid.is-hot { filter: brightness(1.06); }
.vf-dots { position: absolute; inset: 0; pointer-events: none; }
.vf-labels { position: absolute; inset: 0; pointer-events: none; }
.vf-label.is-focus b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vf-label.is-wrap { white-space: normal; max-width: var(--vf-w, none); }
.vf-label.is-beside { white-space: normal; max-width: 160px; text-align: left; transform: translate(0, -50%); }
.vf-label.is-beside.is-left { text-align: right; transform: translate(-100%, -50%); }
.vf-label.is-row { white-space: nowrap; text-align: left; transform: translate(0, -100%); font-size: var(--vf-fs, 18px); }
.vf-label.is-row b, .vf-label.is-row span { display: inline; }
.vf-label.is-row span { margin: 0 0 0 6px; }
.vf-arr { display: flex; flex-wrap: wrap; gap: var(--sp-2, 8px); margin: 0 0 var(--sp-3, 12px); }
.vf-arr[hidden] { display: none; }
.vf-arrbtn { border: 1px solid var(--line, #e4ebd8); border-radius: var(--r-pill, 20px); background: var(--card-bg, #ffffff); color: var(--navy, #313d7f); padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.vf-arrbtn:hover { background: var(--hair, #f4f7ee); }
.vf-arrbtn[aria-pressed="true"] { background: var(--green, #93d73b); color: var(--green-ink, #1a3300); border-color: var(--green, #93d73b); }
.vf-arrbtn[aria-pressed="true"]:hover { background: var(--green-h, #6b9d2b); color: var(--green-h-ink, #0f2400); border-color: var(--green-h, #6b9d2b); }
.vf-arrbtn:focus-visible { outline: 2px solid var(--navy, #313d7f); outline-offset: 2px; }
.vf-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2, 8px); margin: var(--sp-3, 12px) 0 0; }
.vf-chips[hidden] { display: none; }
.vf-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed var(--live-line, #d5e3be); border-radius: var(--r-pill, 20px); background: var(--hair, #f4f7ee); padding: 4px 12px; font-size: 16px; color: var(--mut, #666666); }
.vf-chip.is-excluded { border-style: dashed; border-color: var(--live-line, #d5e3be); }
.vf-chip.is-zero { border-style: solid; border-color: var(--ink, #39373a); }
.vf-chip b { font-weight: 600; color: var(--ink, #39373a); }
.vf-chip i { font-style: normal; }

.vf-stories { margin: 0; min-width: 0; }
.vf-stories[hidden] { display: none; }
.vf-status { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vf-stories-h { margin: 0 0 var(--sp-2, 8px); font-family: 'Rubik', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--navy, #313d7f); }
.vf-stories-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3, 12px); flex-wrap: wrap; margin: 0 0 var(--sp-2, 8px); }
.vf-stories-head > .vf-stories-h { margin: 0; flex: 1 1 12ch; }
.vf-stories-hide { flex: 0 0 auto; }
.vf-stories-hide .vf-hide-x { text-decoration: none; font-size: 18px; line-height: 1; margin-left: 4px; }
.vf-stories-rule { margin: 0 0 var(--sp-3, 12px); padding: 8px 12px; border-left: 3px solid var(--live-line, #d5e3be); background: var(--hair, #f4f7ee); font-size: 16px; line-height: 1.55; color: var(--ink, #39373a); }
.vf-stories .stories-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-4, 16px); }
.vf-stories-src { margin: var(--sp-3, 12px) 0 0; max-width: var(--say-measure, 68ch); }
.vf-stories-go-wrap { margin: var(--sp-3, 12px) 0 0; }
.vf-stories-go { border: 1px solid var(--green, #93d73b); border-radius: var(--r-pill, 20px); background: var(--card-bg, #ffffff); color: var(--navy, #313d7f); padding: 8px 14px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.vf-stories-go:hover { background: var(--green, #93d73b); color: var(--green-ink, #1a3300); }
.vf-stories-go:focus-visible { outline: 2px solid var(--navy, #313d7f); outline-offset: 2px; }
.vf-cell.is-still.is-press { cursor: pointer; }

.pe-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--hair, #f4f7ee); border: 1px solid var(--live-line, #d5e3be); border-radius: var(--r-pill, 20px); padding: 7px 14px; font-size: 13.5px; color: var(--navy, #313d7f); cursor: pointer; font-family: inherit; margin: 0 0 14px; }
.pe-caret { font-size: 15px; line-height: 1; color: var(--navy, #313d7f); }
.pe-body { background: var(--zebra, #fbfbfc); border: 1px solid var(--line, #e4ebd8); border-radius: var(--r-tile, 10px); padding: 16px 18px; margin: 0 0 16px; max-width: 860px; }
.pe-p { font-size: 16px; color: var(--ink, #39373a); line-height: 1.6; margin: 0 0 10px; }
.pe-p:last-child { margin: 0; }
.vf-label { position: absolute; left: var(--vf-x); top: var(--vf-y); transform: translate(-50%, -50%); text-align: center; pointer-events: none; color: var(--vf-ink, #39373a); line-height: 1.15; white-space: nowrap; padding: 3px 8px; border-radius: 6px; background: var(--card-bg, #ffffff); background: color-mix(in srgb, var(--card-bg, #ffffff) 86%, transparent); }
.vf-label b { display: block; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: var(--vf-fs, 18px); }
.vf-label span { display: block; font-family: 'JetBrains Mono', Menlo, monospace; font-size: max(16px, calc(var(--vf-fs, 18px) * 0.82)); margin-top: 2px; }
.vf-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.vf-edge { fill: none; stroke-width: 10px; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.9; }
.vf-line { fill: none; stroke: var(--card-bg, #ffffff); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke 0.16s ease, stroke-width 0.16s ease; }
.vf-line.is-hot { stroke: var(--navy, #313d7f); stroke-width: 5px; }
.vf-frame.is-swap .vf-plates, .vf-frame.is-swap .vf-cells, .vf-frame.is-swap .vf-lines { animation: vf-in calc(0.28s * var(--vf-tempo, 1)) ease-out; }
@keyframes vf-in { from { opacity: 0; } to { opacity: 1; } }
.vf-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--sp-5, 24px); text-align: center; color: var(--ink, #39373a); font-size: 15px; max-width: 100%; }
.vf-empty[hidden] { display: none; }

.vf-rail { min-width: 0; font-size: 16px; line-height: 1.55; color: var(--ink, #39373a); }
.vf-rail > * + * { margin-top: var(--sp-4, 16px); }
.vf-kicker { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy, #313d7f); margin: 0; }
.vf-total { margin: 0; }
.vf-total b { font-family: 'JetBrains Mono', Menlo, monospace; font-size: 28px; font-weight: 700; color: var(--navy, #313d7f); display: block; }
.vf-figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3, 12px); }
.vf-fig { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--live-line, #d5e3be); border-radius: var(--r-tile, 10px); padding: 12px 14px; min-width: 0; }
.vf-fig-l { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--mut, #666666); }
.vf-fig-v { display: block; margin-top: 4px; font-family: 'JetBrains Mono', Menlo, monospace; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; font-weight: 700; letter-spacing: -0.5px; color: var(--navy, #313d7f); overflow-wrap: anywhere; }
.vf-fig-of { display: block; font-size: 16px; line-height: 1.4; color: var(--mut, #666666); }
.vf-list { list-style: none; margin: 0; padding: 0; }
.vf-list li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line, #e4ebd8); font-size: 16px; }
.vf-list li:first-child { border-top: 0; }
.vf-sw { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 3px; background: var(--vf-fill, transparent); border: 1px solid var(--line, #e4ebd8); }
.vf-list .vf-pc { margin-left: auto; font-family: 'JetBrains Mono', Menlo, monospace; color: var(--mut, #666666); }
.vf-note { margin: 0; padding: 8px 12px; border-left: 3px solid var(--live-line, #d5e3be); background: var(--hair, #f4f7ee); font-size: 16px; }
.vf-src { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mut, #666666); }
details.vf-sourcefold > summary.pub-foldlabel { font-size: 16px; }
.vf-rail .cat-pop-h, .vf-rail .cat-pop-t { font-size: 16px; }
.vf-back, .vf-stories-hide { border: 0; background: none; padding: 0; margin: 0; font: inherit; font-weight: 600; color: var(--navy, #313d7f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vf-back:focus-visible, .vf-stories-hide:focus-visible { outline: 2px solid var(--navy, #313d7f); outline-offset: 2px; }
.vf-rail #premium-explainer-btn { margin: 0; }
.vf-rail #premium-explainer { max-width: none; }

details.vf-sourcefold { margin: var(--sp-3, 12px) 0 0; }
details.vf-sourcefold > p, details.vf-sourcefold [data-vf-sources] > p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--mut, #666666); max-width: var(--say-measure, 68ch); }
details.vf-sourcefold > p.an-src { border-left: 0; padding-left: 0; color: var(--mut, #666666); }
details.vf-sourcefold [data-vf-sources]:empty { display: none; }

.vf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vf-sr table { border-collapse: collapse; }
.vf.is-fallback .vf-frame, .vf.is-fallback .vf-lever { display: none; }
.vf.is-fallback .vf-sr { position: static; width: auto; height: auto; clip: auto; white-space: normal; overflow: auto; font-size: 14px; }
.vf.is-fallback .vf-sr th, .vf.is-fallback .vf-sr td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line, #e4ebd8); }

.map-topten { display: none; position: absolute; left: 16px; top: 156px; z-index: 1002; width: min(340px, 42vw); max-height: calc(100% - 156px - 120px); overflow: auto; background: var(--card-bg, #ffffff); border-radius: var(--r-tile, 10px); box-shadow: 0 2px 12px rgba(0,0,0,0.18); padding: 8px 10px 10px; }
.map-topten #top-countries-container { display: none; }
.map-topten-row::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: var(--w, 0%); background: var(--hair, #f4f7ee); border-radius: 4px; z-index: -1; }
.map-topten-row > * { position: relative; }
body.map-fullscreen .map-topten { display: block; }
.map-topten-tab { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 6px 4px; font: inherit; font-size: 13px; font-weight: 700; color: var(--navy, #313d7f); cursor: pointer; text-align: left; }
.map-topten-tab:focus-visible { outline: 2px solid var(--navy, #313d7f); outline-offset: 2px; }
.map-topten-body[hidden] { display: none; }
.map-topten-hint { margin: 4px 0 8px; font-size: 12px; color: var(--mut, #666666); }
.map-topten-list { list-style: none; margin: 8px 0 0; padding: 0; }
.map-topten-row { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; border-top: 1px solid var(--line, #e4ebd8); background: none; padding: 7px 4px; font: inherit; font-size: 13px; color: var(--ink, #39373a); cursor: pointer; text-align: left; position: relative; isolation: isolate; }
.map-topten-row b { font-family: 'JetBrains Mono', Menlo, monospace; font-weight: 700; color: var(--navy, #313d7f); }
.map-topten-row:hover, .map-topten-row:focus-visible { background: var(--hair, #f4f7ee); outline: none; }
.map-topten-src { margin: 8px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--mut, #666666); }

@media (prefers-reduced-motion: reduce) {
  .vf-frame.is-swap .vf-plates, .vf-frame.is-swap .vf-cells, .vf-frame.is-swap .vf-lines { animation: none; }
  .vf-line { transition: none; }
}
@media (max-width: 767px) {
  .vf-figs { grid-template-columns: 1fr 1fr; }
  .vf-label b { font-size: max(16px, calc(var(--vf-fs, 18px) * 0.8)); }
}


.vf-m-short { display: none; }

@media (max-width: 767px) {
  .vf-lever { display: block; }
  .vf-leverlabel { display: block; margin: 0 0 var(--sp-1, 4px); }
  .vf-lever > .vf-measures {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px;
    margin: -4px -2px 0;
  }
  .vf-measures::-webkit-scrollbar { display: none; }
  .vf-measure {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .vf-m-long { display: none; }
  .vf-m-short { display: inline; }

  .vf-measures.is-scrollable:not(.is-at-end) {
    -webkit-mask-image: linear-gradient(to right, currentColor calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, currentColor calc(100% - 24px), transparent);
  }
}

@media (max-width: 520px) {
  .vf-measures { gap: 5px; }
  .vf-measure {
    font-size: 13px;
    padding: 7px;
  }
}
