/* pa-map.css · C12 pixel-dot map across the whole card (30 Nov 2026). One colour, our lilac; land is a quiet grey. */
.pa-geo { position: relative; container-type: inline-size; margin: var(--space-3) 0 0; }
.pa-geo__m { display: block; width: 100%; height: auto; overflow: visible; }
.pa-geo svg.pa-geo__m :is(path, circle, text) { stroke: none; }
.pa-geo svg.pa-geo__m .pa-geo__land { fill: var(--color-neutral-100); }
.pa-geo svg.pa-geo__m .pa-geo__home { fill: var(--color-neutral-100); }
.pa-geo svg.pa-geo__m .s1 .c { fill: var(--color-lilac-200); }
.pa-geo svg.pa-geo__m .s2 .c { fill: var(--color-lilac-400); }
.pa-geo svg.pa-geo__m .s3 .c { fill: var(--color-lilac-700); }
.pa-geo svg.pa-geo__m .pa-geo__p .w { fill: var(--color-neutral-0); stroke: var(--color-neutral-300); stroke-width: .1; }
.pa-geo__k { flex: none; width: 10px; height: 10px; margin-right: 4px; border-radius: 50%; background: var(--color-neutral-200); box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .18); }
/* the figures: one strip under the map, equal cells, hairline between */
.pa-geo__l { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: var(--space-5); border-top: 1px solid var(--color-border-subtle); }
.pa-geo__r { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: baseline; gap: 2px 6px; min-height: 64px; padding: var(--space-3) var(--space-3) var(--space-2); border-radius: var(--radius-xs); font-size: var(--font-size-16); font-variant-numeric: tabular-nums; }
.pa-geo__r + .pa-geo__r { border-left: 1px solid var(--color-border-subtle); border-radius: 0; }
.pa-geo__r:first-child { padding-left: 0; }
.pa-geo__r .n { grid-column: 1 / -1; font-size: var(--font-size-12); line-height: 16px; }
.pa-geo__r .s { text-align: left !important; }
.pa-geo__r .n { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--color-text-secondary); }
.pa-geo__r .n > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-geo__r b { font-weight: var(--font-weight-semibold); }
.pa-geo__r .s { text-align: right; font-size: var(--font-size-12); color: var(--color-text-tertiary); }
.pa-geo.is-on .pa-geo__r:not(.is-hot) { opacity: .45; }
@media (prefers-reduced-motion: no-preference) { .pa-geo__r { transition: opacity 120ms var(--motion-easing-out); } }
.pa-geo__r:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: -2px; }
.pa-geo.is-on .pa-geo__p:not(.is-hot) { opacity: .22; }
@media (prefers-reduced-motion: no-preference) { .pa-geo__p { transition: opacity 120ms var(--motion-easing-out); } }
/* narrow card: the strip becomes rows */
@container (max-width: 860px) {
  .pa-geo__l { grid-auto-flow: row; grid-auto-columns: auto; margin-top: var(--space-3); border-top: 0; }
  .pa-geo__r, .pa-geo__r:first-child { grid-template-columns: minmax(0, 1fr) auto 36px; align-items: center; min-height: 32px; padding: 0; font-size: var(--font-size-13); }
  .pa-geo__r + .pa-geo__r { border-left: 0; border-top: 1px solid var(--color-border-subtle); }
  .pa-geo__r .n { grid-column: auto; font-size: var(--font-size-13); }
  .pa-geo__r .s { text-align: right !important; }
}
/* no "Show the numbers" on screen: the table is the chart's text alternative, for screen readers only */
body:not(.rp-body) .pa-card .pa-dtable { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body:not(.rp-body) .pa-card .pa-dtable > summary { display: none; }
body:not(.rp-body) .pa-card { position: relative; }

/* partner colours (30 Nov). Our ramps; red stays for falls. The last two are DS gaps: the ramps have no teal or pink */
.sw--p0 { --bi: var(--color-lilac-700); --bw: var(--color-lilac-100); background: var(--bi); }
.sw--p1 { --bi: var(--color-green-400); --bw: var(--color-green-50); background: var(--bi); }
.sw--p2 { --bi: var(--color-amber-700); --bw: var(--color-amber-100); background: var(--bi); }
.sw--p3 { --bi: var(--color-blue-600); --bw: var(--color-blue-50); background: var(--bi); }
.sw--p4 { --bi: var(--color-lilac-400); --bw: var(--color-lilac-50); background: var(--bi); }
.sw--p5 { --bi: var(--color-green-700); --bw: var(--color-green-50); background: var(--bi); }
.sw--p6 { --bi: var(--color-amber-500); --bw: var(--color-amber-50); background: var(--bi); }
.sw--p7 { --bi: var(--color-blue-300); --bw: var(--color-blue-50); background: var(--bi); }
.sw--p8 { --bi: #0E8A8A; --bw: #E3F5F5; background: var(--bi); }
.sw--p9 { --bi: #C2418F; --bw: #FCEAF4; background: var(--bi); }
.pa-geo__k.s3 { background: var(--color-lilac-700); } .pa-geo__k.s2 { background: var(--color-lilac-400); } .pa-geo__k.s1 { background: var(--color-lilac-200); }
body:not(.rp-body) .pa-ovr-p { margin-right: 6px; font-weight: 400; color: var(--color-text-tertiary); }

/* columns with a comparison: two bars side by side, previous light grey, this period lilac; each label sits on its own bar (30 Nov) */
.pa-c3-cv { display: none; }
body:not(.rp-body) .pa-c3--2 .ocv1-c { --bw: min(44px, 44%); }
body:not(.rp-body) .pa-c3--2 .ocv1-b { left: calc(50% + 2px); width: var(--bw); transform: none; }
body:not(.rp-body) .pa-c3--2 .pa-c3-cmp { left: auto; right: calc(50% + 2px); width: var(--bw); transform: none; border: 0; background: var(--color-neutral-200); }
body:not(.rp-body) .pa-c3--2 :is(.ocv1-v, .pa-c3-cv) { left: calc(50% + 2px + var(--bw) / 2); right: auto; width: max-content; transform: translateX(-50%); }
body:not(.rp-body) .pa-c3--2 .pa-c3-cv { display: block; position: absolute; left: calc(50% - 2px - var(--bw) / 2); font-size: var(--font-size-12); color: var(--color-text-tertiary); font-variant-numeric: tabular-nums; }
body:not(.rp-body) .pa-c3--2 .pa-sw-cmp { border: 0; background: var(--color-neutral-200); }
@container page (max-width: 640px) { body:not(.rp-body) .pa-c3--2 .pa-c3-cv { display: none; } body:not(.rp-body) .pa-c3--2 .ocv1-v { left: 50%; bottom: calc(var(--top) + 4px) !important; font-size: var(--font-size-11); } }
@media (hover: hover) and (pointer: fine) { body:not(.rp-body) .pa-c3--2 .ocv1-c:hover .pa-c3-cmp { background: var(--color-neutral-300); } }

/* Partnerships (30 Nov, "fix the alignment so they all match"): two equal halves on one top and one bottom line, one strip across both */
@container page (min-width: 901px) {
  body:not(.rp-body) .pa-prow__g { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 var(--space-12); align-items: stretch; margin-top: var(--space-4); }
  body:not(.rp-body) .pa-prow__l, body:not(.rp-body) .pa-prow__l > .pa-gauge { display: contents; }
  body:not(.rp-body) .pa-prow__l .ovgg { grid-area: 1 / 1; align-self: end; max-width: 300px; margin: 0 auto; }
  body:not(.rp-body) .pa-prow__l .pa-pace--mid { grid-area: 2 / 1; justify-content: center; margin: var(--space-5) 0 0; }
  body:not(.rp-body) .pa-prow__r { grid-area: 1 / 2 / 3 / 3; display: flex; flex-direction: column; min-width: 0; position: relative; }
  body:not(.rp-body) .pa-prow__r::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--space-12) / -2); width: 1px; background: var(--se-line); }
  body:not(.rp-body) .pa-prow__r > .pa-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin: var(--space-2) 0 0; }
  body:not(.rp-body) .pa-prow__r > .pa-sub__h { margin: 0; line-height: 20px; }
  body:not(.rp-body) .pa-prow__l .ovpb { grid-area: 3 / 1 / 4 / 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); width: auto; margin: var(--space-5) 0 0 !important; }
  body:not(.rp-body) .pa-prow__l .ovpb:has(.ovpb-b:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body:not(.rp-body) .pa-prow__l .ovpb:not(:has(.ovpb-b:nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body:not(.rp-body) .pa-prow__l .ovpb-b--ic:first-child { padding-left: 0; }
  body:not(.rp-body) .pa-prow__l .ovpb-b--ic { column-gap: 12px; }
  body:not(.rp-body) .pa-prow__l > .pa-allp { grid-area: 4 / 1 / 5 / 3; }
}
body:not(.rp-body) .pa-prow__f { display: none; }

/* the info button never shows the browser button (30 Nov) */
body:not(.rp-body) button.pa-i { border: 0; padding: 0; appearance: none; }

/* Overview: eight headline numbers, 4 × 2 (2 × 4 on a phone); the tiles draw their own hairlines */
body:not(.rp-body) .pad > .pa-tiles.pa-tiles--8 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@container page (max-width: 760px) { body:not(.rp-body) .pad > .pa-tiles.pa-tiles--8 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } body:not(.rp-body) .pa-tiles--8 > .pa-tile { grid-column: auto !important; } }
body:not(.rp-body) .pad > .pa-tiles.pa-tiles--8.dt.dt--do > .pa-tile:is(:first-child, :last-child, :nth-child(n)) { grid-column: auto !important; }

/* directory pages: the list first (tiles + table), then the charts, joined the same way */
body:not(.rp-body) .pad > .pa-dir { border-radius: var(--radius-sm); }
body:not(.rp-body) .pad > .pa-dir + .pa-dirgrid { margin-top: 0 !important; }
body:not(.rp-body) .pad > .pa-dir:has(+ .pa-dirgrid) { border-bottom: 0 !important; }
body:not(.rp-body) .pad > .pa-dir + .pa-dirgrid > .ovc { box-shadow: 1px 0 0 var(--se-line), 0 1px 0 var(--se-line); }

/* Directory tiles and toolbar to the standard (30 Nov; DESIGN-SYSTEM 7.5 and 7.6, Creators v2 Directory): icon + label, figure, 2px ink under the
   picked one; the caption is in the tip and the spoken label. One quiet 40px toolbar row, search as plain text with the pixel glass */
body:not(.rp-body) .pa-dir > .pa-tiles .pa-tile.pa-ftile { grid-row: span 2; padding: 12px 16px 12px; min-height: 0; }
body:not(.rp-body) .pa-dir > .pa-tiles .pa-ftile > .dt-v { margin-top: 6px; }
body:not(.rp-body) .pa-dir > .pa-tiles .pa-ftile .dt-n { font-size: var(--font-size-24); line-height: 28px; }
body:not(.rp-body) .pa-dir__bar { min-height: 41px; padding: 4px 16px; gap: 0 var(--space-4); }
body:not(.rp-body) .pa-dir__bar .search { height: 32px; padding: 0; gap: 8px; border: 0; border-radius: 0; box-shadow: none !important; background: none; }
body:not(.rp-body) .pa-dir__bar .search img { width: 16px; height: 16px; flex: none; image-rendering: pixelated; }
body:not(.rp-body) .pa-dir__bar .search input { width: 220px; font-size: var(--font-size-13); }
body:not(.rp-body) .pa-dir__bar .search input::placeholder { color: var(--color-text-secondary); opacity: 1; }
body:not(.rp-body) .pa-dir__bar .search:focus-within { box-shadow: 0 1px 0 var(--color-text-primary) !important; }
body:not(.rp-body) .pa-dir__bar .b { height: 28px; }
@media (max-width: 760px) { body:not(.rp-body) .pa-dir__bar .search, body:not(.rp-body) .pa-dir__bar .b { height: 40px; } body:not(.rp-body) .pa-dir__bar .search input { font-size: 16px; } }

/* seven or eight tiles: one row when it fits; never an empty grey cell */
@container page (min-width: 1150px) { body:not(.rp-body) .pa-ftiles .pa-tiles[style*="--n:7"] { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; } }
@container page (min-width: 761px) and (max-width: 1149px) { body:not(.rp-body) .pa-ftiles .pa-tiles[style*="--n:7"] > .pa-tile:last-child { grid-column: span 2 !important; } }

/* Table headers (30 Nov, "easy to use and access"): one short line on the values' edge; the arrow shows on the sorted column and on hover, to the
   left of a number's name so the name and its figures end on the same line */
body:not(.rp-body) .pa-tbl thead th { height: 41px; padding-top: 0; padding-bottom: 0; white-space: nowrap; vertical-align: middle; font-size: var(--font-size-12); font-weight: var(--font-weight-medium); color: var(--color-text-secondary); }
body:not(.rp-body) .pa-tbl thead .pa-sort { gap: 4px; height: 28px; margin: 0 -6px; padding: 0 6px; max-width: none !important; width: auto !important; white-space: nowrap !important; font-size: var(--font-size-12); }
body:not(.rp-body) .pa-tbl thead th.r .pa-sort { flex-direction: row-reverse; margin-right: -6px; }
body:not(.rp-body) .pa-tbl thead .pa-sort svg { width: 10px; height: 10px; opacity: 0 !important; transition: opacity 120ms ease; }
body:not(.rp-body) .pa-tbl thead .pa-sort.is-on { color: var(--color-text-primary); font-weight: var(--font-weight-semibold); }
body:not(.rp-body) .pa-tbl thead .pa-sort.is-on svg { opacity: 1 !important; stroke-width: 1.75; }
@media (hover: hover) and (pointer: fine) { body:not(.rp-body) .pa-tbl thead .pa-sort:hover { background: var(--color-bg-surface); color: var(--color-text-primary); } body:not(.rp-body) .pa-tbl thead .pa-sort:not(.is-on):hover svg { opacity: .6 !important; } }
body:not(.rp-body) .pa-dir .pa-tw > .pa-ssort { display: none !important; }   /* the toolbar's Sort does it */
body:not(.rp-body) .mnu { max-height: min(70vh, 480px); }

/* 30 Nov: no arrows in the header at all; the sorted column is bold, the toolbar's Sort says which way */
body:not(.rp-body) .pa-tbl thead .pa-sort svg { display: none !important; }
@media (hover: hover) and (pointer: fine) { body:not(.rp-body) .pa-tbl thead .pa-sort:hover { background: none; color: var(--color-text-primary); text-decoration: underline; text-decoration-color: var(--color-border-strong); text-underline-offset: 4px; } }
/* tiles inside a card, narrow: an even two-column grid, an odd last one takes the row */
@container page (max-width: 760px) {
  body:not(.rp-body) .pa-card__b > .pa-tiles.dt.dt--do { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body:not(.rp-body) .pa-card__b > .pa-tiles.dt.dt--do > .pa-tile:is(:first-child, :last-child, :nth-child(n)) { grid-column: auto !important; }
  body:not(.rp-body) .pa-card__b > .pa-tiles.dt.dt--do > .pa-tile:last-child:nth-child(odd) { grid-column: 1 / -1 !important; }
}

/* the letter tile is the tick (30 Nov) */
body:not(.rp-body) .pa-lead--sel { position: relative; }
body:not(.rp-body) .pa-lead--sel > .pa-lead__tick { position: absolute; left: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; z-index: 1; opacity: 0; border-radius: var(--radius-xs); }
body:not(.rp-body) .pa-lead--sel > .pa-lead__tick::after { inset: -8px -5px -8px -12px; }
body:not(.rp-body) .pa-lead--sel > .pa-lead__tick:focus-within, body:not(.rp-body) .pa-tbl:has(.pa-tick:checked) .pa-lead--sel > .pa-lead__tick { opacity: 1; }
body:not(.rp-body) .pa-lead--sel > .pa-lead__tick:focus-within + .pa-ini, body:not(.rp-body) .pa-tbl:has(.pa-tick:checked) .pa-lead--sel > .pa-lead__tick + .pa-ini { visibility: hidden; }
@media (hover: hover) and (pointer: fine) { body:not(.rp-body) .pa-lead--sel > .pa-lead__tick:hover { opacity: 1; } body:not(.rp-body) .pa-lead--sel > .pa-lead__tick:hover + .pa-ini { visibility: hidden; } }
