/* pa-marks.css · 30 Nov 2026 (Mikky: the movers view "is off", the grey columns "are off"). One mark for the period before, everywhere on screen:
   a thin line in the same hue as the value it belongs to, with white either side. Movers (C8), columns (C3), lines (C6), their legends and tips.
   Screen only: paper keeps css/pa-charts.css. Tokens only; every text is an existing text role, every mark 3:1 on white or beside its figure. */
body:not(.rp-body) { --pa-was: var(--color-lilac-500); }   /* 4.1:1 on white */

/* ── C8 movers: 0 → now, and where it was ── */
.pa-mvs.skmv { display: grid; grid-template-columns: minmax(88px, 28%) minmax(0, 1fr) auto minmax(64px, auto); column-gap: var(--space-4); }   /* one grid for every row: tracks and figures share their edges however long a figure is */
.pa-mvs > li, .pa-mvs.pa-rows .ovr { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
.pa-mvs .ovr { min-height: 44px; padding: 4px 0; color: inherit; text-decoration: none; }
.pa-mvs .ovr-t { position: relative; overflow: visible; }
.pa-mvs .ovr-t { --wl: color-mix(in oklab, var(--bi) 80%, var(--color-neutral-900)); }
.pa-mvs__w { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -2px; border-radius: 1px; background: var(--wl); box-shadow: 0 0 0 2px var(--color-bg-canvas); }
/* what was lost: white cuts the ruler ticks, then dots run up to the line */
.pa-mvs__d { position: absolute; top: 0; bottom: 0; background: radial-gradient(circle at 50% 50%, var(--wl) 1px, transparent 1.5px) 2px 50% / 6px 6px repeat-x, var(--color-bg-canvas); }
.pa-mvs .ovr-v { white-space: nowrap; }
.pa-mvs .ovr-v > .c { line-height: 18px; }
.pa-mvs .ovr-v > .pa-ovr-s { line-height: 16px; }
.pa-mvs--pts .ovr { min-height: 36px; }
.pa-mvs--pts .pa-mvs__c .pa-ovr-s { font-size: var(--font-size-12); }
@media (hover: hover) and (pointer: fine) { .pa-mvs a.ovr:hover .ovr-lt { text-decoration: underline; text-underline-offset: 3px; } }
/* key */
.pa-mvs__k { display: flex; gap: var(--space-4); margin: var(--space-3) 0 0; background: none !important; font-size: var(--font-size-12); color: var(--color-text-secondary); }
.pa-mvs__k.sw--ink { --bi: var(--color-neutral-600); --bw: var(--color-neutral-100); }
.pa-mvs__k span { display: inline-flex; align-items: center; gap: 6px; }
.pa-mvs__kb { width: 16px; height: 8px; border-radius: 1px; background: linear-gradient(var(--bi), var(--bi)) right / 2px 100% no-repeat, linear-gradient(90deg, var(--bi) 1px, transparent 1px) 0 0 / 4px 100% repeat-x, var(--bw); }
.pa-mvs__kw { width: 2px; height: 14px; border-radius: 1px; background: color-mix(in oklab, var(--bi) 80%, var(--color-neutral-900)); }
/* narrow: name and figures on one line, the bar under them at full width */
@container page (max-width: 560px) {
  .pa-mvs.skmv { grid-template-columns: minmax(0, 1fr) auto minmax(60px, auto); }
  body:not(.rp-body) .pa-mvs .ovr { grid-template-columns: subgrid; row-gap: 6px; padding: 10px 0; }
  .pa-mvs .ovr-l { grid-area: 1 / 1; } .pa-mvs .ovr-v { grid-area: 1 / 2; } .pa-mvs .ovr-v.pa-mvs__c { grid-area: 1 / 3; }
  .pa-mvs .ovr-t { grid-area: 2 / 1 / 3 / -1; }
}

/* ── C3 columns: one bar per bucket, the period before a line across it; its figure sits under the bucket's name with the same mark ── */
.pa-c3-was { position: absolute; left: 50%; width: calc(clamp(16px, 46%, 56px) + 12px); height: 2px; margin-bottom: -1px; border-radius: 1px; transform: translateX(-50%); background: var(--pa-was); box-shadow: 0 0 0 2px var(--color-bg-canvas); pointer-events: none; }
.pa-c3--was .ocv1-v { z-index: 1; }
.pa-c3--was .pa-sw-was, .ocv1-k .pa-sw-was { display: inline-block; flex: none; width: 12px; height: 2px; border-radius: 1px; background: var(--pa-was); }
.pa-c3--was .ocv1-x .pa-c3-wv { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.pa-c3--was .pa-c3-wv .pa-sw-was { width: 8px; }
.pa-short { display: none; }
@container page (max-width: 640px) {
  .pa-c3--was .pa-full { display: none; } .pa-c3--was .pa-short { display: inline; }
  .pa-c3--was .ocv1-v { font-size: var(--font-size-11); }
  .pa-c3-was { width: calc(clamp(16px, 46%, 56px) + 8px); }
}

/* ── C6 lines, legends, tips: the same hue ── */
body:not(.rp-body) .lc .ln--cmp { stroke: var(--pa-was); }
body:not(.rp-body) .lc .pt--cmp { fill: var(--pa-was); }
body:not(.rp-body) .pa-sw-dash { border-top-color: var(--pa-was); }
body:not(.rp-body) .pa-ovt .ovt-r i.sw--was { width: 8px; height: 2px; margin: 0 -1px; border-radius: 1px; background: var(--pa-was); }

/* ── 30 Nov: Share of traffic, change, as New registrations per day (pa-directory.js shareLines): one location, this period solid and the
   period before dashed, in the registrations chart's purples; the type colour is only on each chip's dot. ── */
body:not(.rp-body) .pa-shl__c0 { display: flex; flex-wrap: wrap; gap: 2px var(--space-1); margin: var(--space-3) 0 0; }
body:not(.rp-body) .pa-shl__c { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 32px; padding: 4px 10px 4px 8px; border: 1px solid transparent; border-radius: 6px; background: none; font: inherit; font-size: var(--font-size-13); color: var(--color-text-secondary); text-align: left; cursor: pointer; transition: background-color 120ms var(--motion-easing-out), border-color 120ms var(--motion-easing-out), transform 160ms var(--motion-easing-out); }
body:not(.rp-body) .pa-shl__c i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bi); }
body:not(.rp-body) .pa-shl__c span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body:not(.rp-body) .pa-shl__c b { flex: none; margin-left: -2px; font-weight: var(--font-weight-semibold); font-variant-numeric: tabular-nums; }
body:not(.rp-body) .pa-shl__c b.is-up { color: var(--color-status-success-fg); } body:not(.rp-body) .pa-shl__c b.is-dn { color: var(--color-status-danger-fg); }
body:not(.rp-body) .pa-shl__c[aria-checked="true"] { border-color: var(--color-border-default); background: var(--color-bg-canvas); color: var(--color-text-primary); }
body:not(.rp-body) .pa-shl__c:active { transform: scale(0.97); }
body:not(.rp-body) .pa-shl__c:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { body:not(.rp-body) .pa-shl__c[aria-checked="false"]:hover { background: var(--color-neutral-50); color: var(--color-text-primary); } }
@media (prefers-reduced-motion: reduce) { body:not(.rp-body) .pa-shl__c { transition: none; } body:not(.rp-body) .pa-shl__c:active { transform: none; } }
