@layer reset,tokens,base,chrome,components,utilities;/* [DESIGN-SYSTEM Task01 · 2026-07-02] Foundation layer — icon-sizing rule (giant-icon
   bug fix), dark/light flip model, data-honesty primitives, canonical card + button +
   score-gauge, per-vertical re-skin hook. @import here so it loads on EVERY page (every
   head builder links atlas-framework.css), before component CSS. Custom properties resolve
   at use-time so import-order relative to :root below is safe. */
@import url("atlas-design-system.css");

/* ============================================================================
   SSG ATLAS — SKI VERTICAL DESIGN SYSTEM
   Profile: worldwide-ski-resorts
   Theme:   light-alpine (NOT dark — clean, navy + white, professional)
   Version: 2.0.0
   Updated: 2026-04-30

   Architecture:
   - Generated from /design/ski-design-tokens.json
   - Universal naming (--atlas-*) — same variable names work in hot-springs
     theme, only the values differ. Engine CSS files reference --atlas-* only.
   - BEM-scoped component styles use these vars exclusively. No hard-coded
     hex values in component CSS.
   - Mobile-first. Breakpoints at 480 / 768 / 1024 / 1200 / 1440.

   A Data Terminal for Consumers — daylight edition.
   Authority through clarity, not darkness.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. ROOT TOKENS
   ---------------------------------------------------------------------------- */
@layer tokens {
:root {
  /* ---------- Color: neutrals (snow scale) ---------- */
  --atlas-white:     var(--c-ffffff,#ffffff);
  --atlas-snow-50:   var(--c-f8fafc,#f8fafc);
  --atlas-snow-100:  var(--c-f1f5f9,#f1f5f9);
  --atlas-snow-200:  var(--c-e2e8f0,#e2e8f0);
  --atlas-snow-300:  var(--c-cbd5e1,#cbd5e1);
  --atlas-snow-400:  var(--c-94a3b8,#94a3b8);
  --atlas-snow-500:  var(--c-64748b,#64748b);
  --atlas-snow-600:  var(--c-475569,#475569);
  --atlas-snow-700:  var(--c-334155,#334155);
  --atlas-snow-800:  var(--c-1e293b,#1e293b);
  --atlas-snow-900:  var(--c-0f172a,#0f172a);

  /* ---------- Color: brand primary (navy) ---------- */
  --atlas-navy-900:  var(--c-061a33,#061a33);
  --atlas-navy:      var(--c-0b2545,#0b2545);
  --atlas-navy-700:  var(--c-13315c,#13315c);
  --atlas-navy-500:  var(--c-1e3a5f,#1e3a5f);
  --atlas-navy-400:  var(--c-3b5b8a,#3b5b8a);
  /* [DARK-HEADING 2026-09-18] base heading colour: brand navy by day, the text colour by night (navy stays a brand/background token) */
  --atlas-heading:   var(--atlas-navy);
  --atlas-link:      var(--atlas-navy);
  /* [NAVY-SPLIT 2026-09-23] One name was doing two jobs (color: 562 · background: 369 · border: 76 across
     components + css + templates), which is why the brand navy could not be flipped at night without breaking
     the header (`--atlas-header-bg` reads it). The name is not flipped: the two jobs get two names, and only the
     ink one is given a night value. `--atlas-navy` itself is unchanged and stays the single place the brand value
     is written. See RESULT-DARKMODE-UNLOCK-PREP-20260923.md §2. */
  --atlas-navy-surface: var(--atlas-navy);   /* a box PAINTED brand navy  */
  --atlas-navy-ink:     var(--atlas-navy);   /* brand navy used as TEXT   */
  --atlas-accent-as-text:   var(--atlas-accent,#2563eb);   /* the accent used as TEXT (flips at night; the fill token --atlas-accent does not) */
  /* [TEXT-ROLES 2026-10-02] TEXT on a themed surface, one role per text colour that used to be a value-named primitive
     printed straight into `color:`. Day value = the SAME primitive (so a day page is unchanged, including the day AA
     override of --c-64748b below); night value = the lifted ink. Use for `color` only, never for a fill or border. */
  --atlas-ink-1:            var(--c-0f172a,#0f172a);
  --atlas-ink-2:            var(--c-1e293b,#1e293b);
  --atlas-ink-3:            var(--c-334155,#334155);
  --atlas-ink-4:            var(--c-475569,#475569);
  --atlas-ink-5:            var(--c-64748b,#64748b);
  --atlas-accent-bright-as-text: var(--atlas-accent-as-text);   /* [ZC3 2026-10-03] day value was #3b82f6 = 3.7:1 on white / 3.4 on the tint; the accent text role is 5.6 / 5.1. Night half below re-points it. */
  --atlas-violet-as-text:   var(--c-7c3aed,#7c3aed);
  --atlas-ok-as-text:       var(--atlas-ok-ink);   /* [ZC3] day: the AA success ink (5.0 on white, 4.6 on the success tint); night half below */
  --atlas-ok-ink:           var(--atlas-fill-ok);   /* [ZERO-COLOURS 2026-10-03] success TEXT that must reach 4.5:1 on white and on the success tint (5.0 / 4.6); night value below */
  --atlas-gold-as-text:     var(--c-d97706,#d97706);
  --atlas-warn-as-text:     var(--c-b45309,#b45309);
  --atlas-danger-as-text:   var(--c-dc2626,#dc2626);
  --atlas-chart-1-as-text:  var(--chart-color-1,#3b82f6);
  /* [R6 2026-10-03] roles the text-role map points at; day value = the primitive they replace, night value in the night block. */
  --atlas-snow-500-as-text: var(--c-64748b,#64748b);
  --atlas-snow-600-as-text: var(--c-475569,#475569);
  --atlas-snow-700-as-text: var(--c-334155,#334155);
  --atlas-gold-ink:         var(--c-9a5704,#9a5704);   /* gold used as TEXT (night: lifted). [ZC3 2026-10-03] day #9a5704: 5.6:1 on white, 5.1 on the gold tint (#d97706 was 3.2; the AA day override #ad5f05 was 4.76 on white but 4.3 on the tint, so the status pill and hub arrow still failed) */
  --atlas-gold-mark:        var(--c-a8761b,#a8761b);   /* [K30 2026-10-08] gold as a DATA FILL or an interactive-state border (chart segments, hatching, hover/pressed rings): 3.7:1 on white and the page ground, 3.5:1 on the tint - the >= 3:1 non-text contrast. --atlas-gold stays decoration only (rules, tints); --atlas-gold-ink is gold TEXT (>= 4.5:1). Night: one lifted value for all three. */
  --atlas-gold-as-text:     var(--atlas-gold-ink);
  /* [ZC3 2026-10-03] ON-DARK status inks: the same hues, lifted for a panel that is dark in BOTH modes (semantic sidebar, trip
     synthesizer, navy cards). Used through the dark-surface contract below; a component never names the hex. */
  --atlas-ok-on-dark:       var(--c-4ade80,#4ade80);
  --atlas-success-on-dark:  var(--atlas-ok-on-dark);   /* [WCAG-G18 2026-10-10] was referenced by .rel-ticker__label but never defined, so it fell back to the day-AA --atlas-success (3.7:1 on the ticker navy) */
  --atlas-warn-on-dark:     var(--c-fbbf24,#fbbf24);
  --atlas-orange-on-dark:   var(--c-fb923c,#fb923c);
  /* [PASS30 B30] THE brand accent as TEXT on a dark surface (rank labels, score numerals, "read report" links on the navy cards). The day
     accent/gold inks are tuned for light grounds (#9a5704 on navy = 2.4:1, unreadable); this is the lifted amber, 9.9:1 on the navy.
     Per-vertical token FILES override only this VALUE (>= 4.5:1 on --atlas-navy is the contract). A component never names a hex. */
  --atlas-accent-on-dark:   var(--c-fbbf24,#fbbf24);
  --atlas-danger-on-dark:   var(--c-f87171,#f87171);
  --atlas-danger-soft-on-dark: var(--c-fca5a5,#fca5a5);
  --atlas-faint-on-sidebar: var(--c-8fa9c8,#8fa9c8);   /* [ZC3 2026-10-03] faintest ink on the always-dark sidebar, BOTH modes (day was #6b8aaa = 4.28:1 on the navy; this is 6.9) */
  --atlas-on-chart-fill:    var(--c-fff,#fff);        /* text on a chart-coloured fill */
  --atlas-decor-opacity:    .7;                        /* decorative glyphs: dimmed by day, full strength at night */
  --atlas-faint-on-dark:    var(--atlas-text-on-dark-muted); /* [ZERO-COLOURS 2026-10-03] was alpha .35 = 3.17:1 on the footer navy; now the muted on-dark role (.72), >= 4.5 on every dark panel. Faintest text on a panel painted dark in both themes */
  /* [SURFACE-ROLES 2026-10-02] the same idea for a local palette's surfaces and lines: day value = the SAME primitive the
     alias printed, night value = the night surface. A scope alias (--ga-bg, --ice-50 ...) points here instead of at --c-fff. */
  --atlas-surface-1:        var(--c-ffffff,#ffffff);
  --atlas-surface-2:        var(--c-f8fafc,#f8fafc);
  --atlas-surface-3:        var(--c-f1f5f9,#f1f5f9);
  --atlas-line-1:           var(--c-e2e8f0,#e2e8f0);
  --atlas-line-2:           var(--c-cbd5e1,#cbd5e1);
  --atlas-navy-300:  var(--c-7591b8,#7591b8);
  --atlas-navy-100:  var(--c-dbe5f1,#dbe5f1);
  --atlas-navy-50:   var(--c-eef3fa,#eef3fa);

  /* ---------- Color: accents ---------- */
  --atlas-accent:        var(--c-1d58f5,#1d58f5);          /* alpine blue — primary CTA, scores [BRAND 2026-07-18: was var(--atlas-accent,#1d58f5)] */
  --atlas-accent-700:    var(--c-1d4ed8,#1d4ed8);
  --atlas-accent-500:    var(--c-3b82f6,#3b82f6);
  --atlas-accent-300:    var(--c-93c5fd,#93c5fd);
  --atlas-accent-100:    var(--c-dbeafe,#dbeafe);
  --atlas-accent-bg:     var(--cr-7e5c9d02,rgba(37, 99, 235, 0.08));
  --atlas-accent-glow:   var(--cr-7877e965,rgba(37, 99, 235, 0.18));
  /* [ACCENT-INK 2026-09-24] THE INK ON A SURFACE PAINTED --atlas-accent. Same split, same reason, as
     --atlas-header-ink (2026-09-23): --atlas-text-inverse is THEME-relative and flips to near-black under
     :root[data-theme="dark"], but a surface painted with the accent stays that accent in both themes — so
     a primary button styled with --atlas-text-inverse goes dark-on-blue at night. This name is the one
     place "text that sits ON the accent" is written, and it is deliberately NOT flipped in the dark block.
     A profile retunes it beside --atlas-accent when its accent is a light colour. */
  --atlas-accent-ink:    var(--c-ffffff,#ffffff);
  /* [FILL-INK 2026-10-03] THE RULE FOR TEXT ON A PAINTED FILL, written once. A painted fill (button, pill, badge, tile, chart
     bar) does not flip between day and night, so neither does its ink: the ink is whichever of the two below reaches the
     higher contrast on THAT fill (white on a deep fill, near-black on a bright one), >= 4.5:1 (3:1 for 24px, or 18.66px bold).
     Named families use the pair below; a data-driven fill (a score ramp, a --tile-color) takes BaseComponent::inkOnFill().
     Never an alpha (white at .85 on red is 3.8:1) and never a theme-relative text token (--atlas-text-inverse flips at night). */
  --atlas-on-fill-light: var(--c-ffffff,#ffffff);   /* ink on a DEEP fill  */
  --atlas-on-fill-dark:  var(--c-0f172a,#0f172a);   /* ink on a BRIGHT fill */
  --atlas-fill-gold:     var(--c-b45309,#b45309);   /* the CTA / badge gold as a FILL: white 5.0:1 in both modes (--atlas-gold stays the text/line gold: night #d97706 under white is 3.2:1) */
  --atlas-fill-ok:       var(--c-15803d,#15803d);   /* success fill, white 5.0:1 */
  --atlas-fill-danger:   var(--c-dc2626,#dc2626);   /* danger fill, white 4.8:1 */
  --atlas-fill-info:     var(--c-1d4ed8,#1d4ed8);   /* info fill, white 6.7:1 */
  /* [TOKEN-OWNER 2026-10-14 FRONT-CSS3] HUE FAMILY: the ONE source for every categorical / scale colour that PHP maps, templates and charts used to
     write as a raw hex. -hue-X is a FILL (theme-fixed; white ink --atlas-on-fill-light reaches >= 4.5:1 on every one); -hue-X-text is the same hue as TEXT
     (>= 4.5:1 on white and on the tints in day, lifted at night). A data-driven fill takes its ink from BaseComponent::inkOnFill(), which resolves these tokens. */
  --atlas-hue-red: var(--c-dc2626,#dc2626);
  --atlas-hue-red-text: var(--atlas-hue-red);
  --atlas-hue-orange: var(--c-c2410c,#c2410c);
  --atlas-hue-orange-text: var(--atlas-hue-orange);
  --atlas-hue-amber: var(--c-b45309,#b45309);
  --atlas-hue-amber-text: var(--atlas-hue-amber);
  --atlas-hue-yellow: var(--c-a16207,#a16207);
  --atlas-hue-yellow-text: var(--atlas-hue-yellow);
  --atlas-hue-lime: var(--c-4d7c0f,#4d7c0f);
  --atlas-hue-lime-text: var(--atlas-hue-lime);
  --atlas-hue-green: var(--c-15803d,#15803d);
  --atlas-hue-green-text: var(--atlas-hue-green);
  --atlas-hue-emerald: var(--c-047857,#047857);
  --atlas-hue-emerald-text: var(--atlas-hue-emerald);
  --atlas-hue-teal: var(--c-0f766e,#0f766e);
  --atlas-hue-teal-text: var(--atlas-hue-teal);
  --atlas-hue-cyan: var(--c-0e7490,#0e7490);
  --atlas-hue-cyan-text: var(--atlas-hue-cyan);
  --atlas-hue-sky: var(--c-0369a1,#0369a1);
  --atlas-hue-sky-text: var(--atlas-hue-sky);
  --atlas-hue-blue: var(--c-1d4ed8,#1d4ed8);
  --atlas-hue-blue-text: var(--atlas-hue-blue);
  --atlas-hue-indigo: var(--c-4338ca,#4338ca);
  --atlas-hue-indigo-text: var(--atlas-hue-indigo);
  --atlas-hue-violet: var(--c-6d28d9,#6d28d9);
  --atlas-hue-violet-text: var(--atlas-hue-violet);
  --atlas-hue-purple: var(--c-7e22ce,#7e22ce);
  --atlas-hue-purple-text: var(--atlas-hue-purple);
  --atlas-hue-pink: var(--c-be185d,#be185d);
  --atlas-hue-pink-text: var(--atlas-hue-pink);
  --atlas-hue-grey: var(--c-4b5563,#4b5563);
  --atlas-hue-grey-text: var(--atlas-hue-grey);
  /* [FRONT-CONTRAST 2026-10-14] THEME-FIXED hue text for a panel that does NOT flip: -on-dark = the hue as text on a surface painted dark in both themes
     (data-terminal cards, navy heroes, dark chart plates: >= 4.5:1 on #0f172a..#1e293b); -on-light = the hue as text on a surface painted light in both
     themes (a pale chip that stays pale at night: >= 4.5:1 on white and the 50-100 tints). Deliberately NOT redefined in the night block. */
  --atlas-hue-red-on-dark: var(--c-fca5a5,#fca5a5);
  --atlas-hue-red-on-light: var(--c-b91c1c,#b91c1c);
  --atlas-hue-orange-on-dark: var(--c-fdba74,#fdba74);
  --atlas-hue-orange-on-light: var(--c-c2410c,#c2410c);
  --atlas-hue-amber-on-dark: var(--c-fbbf24,#fbbf24);
  --atlas-hue-amber-on-light: var(--c-b45309,#b45309);
  --atlas-hue-yellow-on-dark: var(--c-fde047,#fde047);
  --atlas-hue-yellow-on-light: var(--c-a16207,#a16207);
  --atlas-hue-lime-on-dark: var(--c-bef264,#bef264);
  --atlas-hue-lime-on-light: var(--c-4d7c0f,#4d7c0f);
  --atlas-hue-green-on-dark: var(--c-4ade80,#4ade80);
  --atlas-hue-green-on-light: var(--c-15803d,#15803d);
  --atlas-hue-emerald-on-dark: var(--c-6ee7b7,#6ee7b7);
  --atlas-hue-emerald-on-light: var(--c-047857,#047857);
  --atlas-hue-teal-on-dark: var(--c-5eead4,#5eead4);
  --atlas-hue-teal-on-light: var(--c-0f766e,#0f766e);
  --atlas-hue-cyan-on-dark: var(--c-67e8f9,#67e8f9);
  --atlas-hue-cyan-on-light: var(--c-0e7490,#0e7490);
  --atlas-hue-sky-on-dark: var(--c-7dd3fc,#7dd3fc);
  --atlas-hue-sky-on-light: var(--c-0369a1,#0369a1);
  --atlas-hue-blue-on-dark: var(--c-93c5fd,#93c5fd);
  --atlas-hue-blue-on-light: var(--c-1d4ed8,#1d4ed8);
  --atlas-hue-indigo-on-dark: var(--c-a5b4fc,#a5b4fc);
  --atlas-hue-indigo-on-light: var(--c-4338ca,#4338ca);
  --atlas-hue-violet-on-dark: var(--c-c4b5fd,#c4b5fd);
  --atlas-hue-violet-on-light: var(--c-6d28d9,#6d28d9);
  --atlas-hue-purple-on-dark: var(--c-d8b4fe,#d8b4fe);
  --atlas-hue-purple-on-light: var(--c-7e22ce,#7e22ce);
  --atlas-hue-pink-on-dark: var(--c-f9a8d4,#f9a8d4);
  --atlas-hue-pink-on-light: var(--c-be185d,#be185d);
  --atlas-hue-grey-on-dark: var(--c-d1d5db,#d1d5db);
  --atlas-hue-grey-on-light: var(--c-4b5563,#4b5563);
  /* [FRONT-CONTRAST 2026-10-14] names components READ but nobody defined (each read fell to its own fallback: --atlas-declared -> muted grey 4.27:1 on the
     "declared" chip copied into 74 components; --atlas-text-primary -> inherited ink, 199 reads). Defined once as text roles that hold AA in both themes. */
  --atlas-text-primary: var(--atlas-text);
  --atlas-declared: var(--atlas-text-secondary);
  --atlas-measured: var(--atlas-hue-blue-text);
  --atlas-modelled: var(--c-92400e,#92400e);   /* amber 800: the chip text sits on a 16 % amber tint (amber 700 was 4.0:1 there) */
  /* [FRONT-CONTRAST 2026-10-14] SERIES COLOUR AS TEXT. --chart-color-N is each vertical's series FILL (ski blue, golf green ...); printed as text
     it fell to 1.1-3.4:1 on the card. The text variant keeps the vertical's series hue and mixes it into the live ink (navy by day, near-white at
     night): 40 % series + 60 % ink reaches >= 4.5:1 on the card and its tints for ANY series colour, white or navy, in both themes. */
  --chart-color-1-text: color-mix(in srgb, var(--chart-color-1, var(--atlas-chart-1, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-2-text: color-mix(in srgb, var(--chart-color-2, var(--atlas-chart-2, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-3-text: color-mix(in srgb, var(--chart-color-3, var(--atlas-chart-3, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-4-text: color-mix(in srgb, var(--chart-color-4, var(--atlas-chart-4, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-5-text: color-mix(in srgb, var(--chart-color-5, var(--atlas-chart-5, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-6-text: color-mix(in srgb, var(--chart-color-6, var(--atlas-chart-6, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-7-text: color-mix(in srgb, var(--chart-color-7, var(--atlas-chart-7, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  --chart-color-8-text: color-mix(in srgb, var(--chart-color-8, var(--atlas-chart-8, var(--atlas-hue-grey))) 40%, var(--atlas-ink-1));
  /* status aliases (ordinal good -> bad scale) */
  --atlas-status-excellent: var(--atlas-hue-emerald);
  --atlas-status-good: var(--atlas-hue-green);
  --atlas-status-fair: var(--atlas-hue-lime);
  --atlas-status-caution: var(--atlas-hue-yellow);
  --atlas-status-warn: var(--atlas-hue-amber);
  --atlas-status-poor: var(--atlas-hue-orange);
  --atlas-status-bad: var(--atlas-hue-red);
  --atlas-status-info: var(--atlas-hue-blue);
  --atlas-status-neutral: var(--atlas-hue-grey);
  --atlas-status-excellent-text: var(--atlas-hue-emerald-text);
  --atlas-status-good-text: var(--atlas-hue-green-text);
  --atlas-status-fair-text: var(--atlas-hue-lime-text);
  --atlas-status-caution-text: var(--atlas-hue-yellow-text);
  --atlas-status-warn-text: var(--atlas-hue-amber-text);
  --atlas-status-poor-text: var(--atlas-hue-orange-text);
  --atlas-status-bad-text: var(--atlas-hue-red-text);
  --atlas-status-info-text: var(--atlas-hue-blue-text);
  --atlas-status-neutral-text: var(--atlas-hue-grey-text);
  /* [FRONT-CONTRAST2 2026-10-14] THE RISK SCALE: --risk-* was read ~620 times by components and defined nowhere (every read fell to its own literal
     fallback: neon greens / reds, or no colour at all). It is the ordinal status scale under a risk name: fills pair with --atlas-on-status, -text roles
     read on the card in both themes, -bg / -border are tints of the fill. */
  --risk-none: var(--atlas-status-good);
  --risk-safe: var(--atlas-status-good);
  --risk-low: var(--atlas-status-good);
  --risk-moderate: var(--atlas-status-warn);
  --risk-caution: var(--atlas-status-warn);
  --risk-elevated: var(--atlas-status-warn);
  --risk-considerable: var(--atlas-status-poor);
  --risk-high: var(--atlas-status-poor);
  --risk-very-high: var(--atlas-status-bad);
  --risk-danger: var(--atlas-status-bad);
  --risk-extreme: var(--atlas-status-bad);
  --risk-safe-text: var(--atlas-status-good-text);
  --risk-low-text: var(--atlas-status-good-text);
  --risk-moderate-text: var(--atlas-status-warn-text);
  --risk-caution-text: var(--atlas-status-warn-text);
  --risk-high-text: var(--atlas-status-poor-text);
  --risk-danger-text: var(--atlas-status-bad-text);
  --risk-low-bg: color-mix(in srgb, var(--risk-low) 12%, transparent);
  --risk-low-border: color-mix(in srgb, var(--risk-low) 40%, transparent);
  --risk-moderate-bg: color-mix(in srgb, var(--risk-moderate) 12%, transparent);
  --risk-moderate-border: color-mix(in srgb, var(--risk-moderate) 40%, transparent);
  --risk-high-bg: color-mix(in srgb, var(--risk-high) 12%, transparent);
  --risk-high-border: color-mix(in srgb, var(--risk-high) 40%, transparent);
  --risk-safe-alpha: color-mix(in srgb, var(--risk-safe) 15%, transparent);
  --risk-caution-alpha: color-mix(in srgb, var(--risk-caution) 15%, transparent);
  --atlas-on-status: var(--atlas-on-fill-light);   /* the paired ink for every --atlas-status-* / --atlas-hue-* fill */
  /* [FRONT-CSS4A 2026-10-14] NIGHT PAIR: the hue family is the one fill family that DOES flip with the theme, together with its ink. A map colour is
     printed both as a FILL (chip, bar, tile: ink --atlas-on-status) and as TEXT on the card (score, label); no single colour can hold >= 4.5:1 under white
     ink AND on the night card (3.2-3.7:1 measured), so at night the fills lift to the 400 shade and --atlas-on-status flips to the deep ink. Every pair
     (fill/on-status, fill as text on day white and on the night card/tint/hover/navy/page surfaces, -text roles) is pinned by gate status-pair-contrast.
     PHP that picks an ink for a data-driven fill gets var(--atlas-on-status) for these tokens from BaseComponent::inkOnFill(). */
  --atlas-demo-bg:   var(--c-1a2332,#1a2332);   /* demo placeholder panel (dark, both themes) */
  --atlas-demo-line: var(--c-2a3f5f,#2a3f5f);
  --atlas-demo-ink:  var(--c-99b3d9,#99b3d9);   /* 6.5:1 on the demo panel */

  --atlas-ice:          var(--c-06b6d4,#06b6d4);          /* secondary data series */
  --atlas-ice-light:     var(--c-67e8f9,#67e8f9);
  --atlas-ice-bg:        var(--cr-2f5c79c4,rgba(6, 182, 212, 0.10));

  --atlas-summit:        var(--c-8b5cf6,#8b5cf6);          /* premium / luxury tier */
  --atlas-summit-bg:     var(--cr-5029069c,rgba(139, 92, 246, 0.10));

  --atlas-gold:          var(--c-d97706,#d97706);          /* synthesis callouts, awards */
  --atlas-gold-light:    var(--c-f59e0b,#f59e0b);
  --atlas-gold-bright:   var(--c-f59e0b,#f59e0b);          /* Claude Design "gold-bright" — brighter orange for nav active/hover bar */
  --atlas-gold-bg:       var(--cr-8a20504c,rgba(217, 119, 6, 0.10));
  --atlas-gold-700:      var(--c-b45309,#b45309);          /* darker amber — gold hover/pressed [BRAND 2026-07-18] */

  /* ROLE token, not a palette one [EYEBROW-ROLE 2026-09-23]. A hub-hero eyebrow says
     "catalogue" / "this figure is modelled"; it is NOT a winner cue. The compare family forbids
     --atlas-gold on a comparison surface precisely because gold reads as "this one won", and
     country-pill (which appears on both kinds of page) was naming the PALETTE token for a job
     that is about role. Same value, so the pixel is identical; the alias is what lets the
     eyebrow tone and the winner cue diverge later without hunting through component CSS.
     Aliases (not copies) so a dark-mode redefinition of the gold tokens flows through. */
  --atlas-eyebrow-accent:     var(--atlas-gold);
  --atlas-eyebrow-accent-bg:  var(--atlas-gold-bg);

  /* Snowterest live-data green — beginner/live signal token [BRAND 2026-07-18].
     Defines the already-hardcoded #22c55e used in components. Components will be
     repointed to this token in a later wave (not mass-rewritten tonight). */
  --sn-snow-live:        var(--c-22c55e,#22c55e);

  /* ---------- Color: semantic ---------- */
  --atlas-success:       var(--c-16a34a,#16a34a);
  --atlas-success-bg:    var(--c-dcfce7,#dcfce7);
  --atlas-success-text:  var(--c-14532d,#14532d);

  --atlas-warning:       var(--c-d97706,#d97706);
  --atlas-warning-500:   var(--c-d97706,#d97706);
  --atlas-warning-bg:    var(--c-fef3c7,#fef3c7);
  --atlas-warning-text:  var(--c-78350f,#78350f);

  --atlas-error:         var(--c-dc2626,#dc2626);
  --atlas-error-bg:      var(--c-fee2e2,#fee2e2);
  --atlas-error-text:    var(--c-7f1d1d,#7f1d1d);

  --atlas-info:          var(--c-0891b2,#0891b2);
  --atlas-info-bg:       var(--c-cffafe,#cffafe);
  --atlas-info-text:     var(--c-164e63,#164e63);

  /* ---------- Semantic callout tokens · Chat53 spec (7 callout types) ---------- */
  --callout-blue:         var(--c-3b82f6,#3b82f6);
  --callout-blue-bg:      var(--c-eff6ff,#eff6ff);
  --callout-blue-text:    var(--c-1e3a8a,#1e3a8a);
  --callout-blue-border:  var(--c-93c5fd,#93c5fd);

  --callout-green:        var(--c-22c55e,#22c55e);
  --callout-green-bg:     var(--c-f0fdf4,#f0fdf4);
  --callout-green-text:   var(--c-14532d,#14532d);
  --callout-green-border: var(--c-86efac,#86efac);

  --callout-orange:        var(--c-f97316,#f97316);
  --callout-orange-bg:     var(--c-fff7ed,#fff7ed);
  --callout-orange-text:   var(--c-7c2d12,#7c2d12);
  --callout-orange-border: var(--c-fdba74,#fdba74);

  --callout-amber:        var(--c-f59e0b,#f59e0b);
  --callout-amber-bg:     var(--c-fffbeb,#fffbeb);
  --callout-amber-text:   var(--c-78350f,#78350f);
  --callout-amber-border: var(--c-fcd34d,#fcd34d);

  --callout-red:          var(--c-ef4444,#ef4444);
  --callout-red-bg:       var(--c-fef2f2,#fef2f2);
  --callout-red-text:     var(--c-7f1d1d,#7f1d1d);
  --callout-red-border:   var(--c-fca5a5,#fca5a5);

  --callout-purple:        var(--c-8b5cf6,#8b5cf6);
  --callout-purple-bg:     var(--c-faf5ff,#faf5ff);
  --callout-purple-text:   var(--c-5b21b6,#5b21b6);
  --callout-purple-border: var(--c-c4b5fd,#c4b5fd);

  --callout-teal:         var(--c-0d9488,#0d9488);
  --callout-teal-bg:      var(--c-f0fdfa,#f0fdfa);
  --callout-teal-text:    var(--c-134e4a,#134e4a);
  --callout-teal-border:  var(--c-5eead4,#5eead4);

  /* ---------- Color: surfaces ---------- */
  --atlas-bg-page:       var(--c-ffffff,#ffffff);
  --atlas-bg-page-tint:  var(--c-f8fafc,#f8fafc);
  --atlas-bg-card:       var(--c-ffffff,#ffffff);
  --atlas-bg-card-tint:  var(--c-f8fafc,#f8fafc);
  /* [DESIGN-35B 2026-10-16] The picture-less media surface + its ink (core/image_placeholder.php). Declared HERE, at the root, so they resolve against the
     PAGE theme and are inherited as finished values: a dark box (.bh-champ, .on-dark ...) re-points --atlas-text to light ink for its own children, and
     the placeholder inside it kept a LIGHT card surface with that light ink (white caption on pale ridges, /best/ champion card in day mode). */
  --atlas-media-surface: var(--atlas-bg-card);
  --atlas-media-ink:     var(--atlas-text);
  --atlas-bg-card-hover: var(--c-f1f5f9,#f1f5f9);
  /* [PASS30 U30 item 14] SURFACE NESTING, owned once. Three roles that must differ from their parent: the SECTION ground is subtle, a CARD on it is
     the raised surface (white by day, the card navy by night), an INSET inside a card is subtle again. A section, a card and a box inside the card
     are never the same grey. They alias the flipping bg tokens, so night mode follows without a second definition. */
  --atlas-surface-section: var(--atlas-bg-page-tint);
  --atlas-surface-card:    var(--atlas-bg-card);
  --atlas-surface-inset:   var(--atlas-bg-card-tint);
  /* [DESIGN-2 2026-10-16] The generic surface names nobody defined. 180+ rules write `var(--atlas-surface, #fff)` (the guide elements:
     KPI box, finding callout, ...). With no definition the fallback WON in both themes: a white card under the night ink (#f1f5f9 on white,
     1.02:1: /verbier/hidden-gems/ at night). They alias the flipping card tokens exactly like the three roles above, so the fallback is never
     reached and night follows. Only names whose every fallback is a light surface are defined here; vertical token files that own their
     own --atlas-surface (golf, recovery) load after this sheet and keep theirs. */
  --atlas-surface:         var(--atlas-bg-card);
  --atlas-surface-muted:   var(--atlas-bg-card-tint);
  --atlas-surface-tint:    var(--atlas-bg-card-tint);
  --atlas-surface-subtle:  var(--atlas-bg-card-tint);
  --atlas-bg-subtle:       var(--atlas-bg-card-tint);   /* 45 rules write var(--atlas-bg-subtle, #f8fafc | #f0f7ff): the quick-answer source line, wow-kpi insight, route-cta plan button (light under night ink) */
  --atlas-overlay:      var(--cr-3a9260c7,rgba(11, 37, 69, 0.55));
  --atlas-scrim:         var(--cr-4acdce87,rgba(15, 23, 42, 0.04));

  /* ---------- Color: borders ---------- */
  --atlas-border:        var(--c-e2e8f0,#e2e8f0);
  --atlas-border-strong: var(--c-cbd5e1,#cbd5e1);
  --atlas-border-accent: var(--atlas-accent,#1d58f5);
  --atlas-divider:       var(--c-f1f5f9,#f1f5f9);
  /* [PASS29 2026-10-08 · owner findings 12 + 20] FORM-CONTROL tokens: the ONE source of the outline, fill, text and checked colour of every drawn
     checkbox / radio / switch and of the controls components restyle. The page border tokens (--atlas-border #e2e8f0, 1.2:1 on white) are far
     below the 3:1 non-text contrast a control outline needs: a checkbox drawn with them is invisible. Outline = the muted-text slate (4.7:1 on white). */
  --atlas-control-border:  var(--c-64748b,#64748b);
  --atlas-control-bg:      var(--atlas-bg-card);
  --atlas-control-text:    var(--atlas-text);
  --atlas-control-checked: var(--atlas-accent,#1d58f5);
  --atlas-control-ink:     var(--c-ffffff,#ffffff);

  /* ---------- Color: text ---------- */
  --atlas-text:          var(--c-0f172a,#0f172a);
  --atlas-text-secondary:var(--c-334155,#334155);
  --atlas-text-muted:    var(--c-64748b,#64748b);
  /* A11y: subtle-label text token darkened #94a3b8 (2.56:1 on white) -> #64748b (4.6:1, AA).
     Text-only token; palette/border/chart-axis tokens (--atlas-snow-400, --atlas-chart-axis) unchanged. */
  --atlas-text-subtle:   var(--c-64748b,#64748b);
  /* [WCAG-1.4.3 2026-09-23] --atlas-text-light was read 66 times across the component library and
     DEFINED in exactly one sheet (tokens-recovery.css). Everywhere else it resolved to nothing, so
     every one of those 66 reads fell through to its own hardcoded `,#94a3b8` fallback — a colour no
     palette could reach, and the largest single block of contrast failures left after the AA day
     palette landed. A var() fallback is a safety net, never a definition: define the name. */
  --atlas-text-light:    var(--c-94a3b8,#94a3b8);
  --atlas-text-inverse:  var(--c-ffffff,#ffffff);
  --atlas-text-link:     var(--c-1d4ed8,#1d4ed8);
  --atlas-text-link-hover: var(--c-0b2545,#0b2545);

  /* ---------- [X3 · CHROME-SINGLE-SOURCE 2026-09-22] Contextual link tokens ----------
     A link only ever has ONE resting colour in this system, and that colour is chosen for a
     light page surface. Drop the same link into a navy/accent/gradient box — the transit
     "Nearest stations" panel, a slot-D band, any dark card — and it becomes invisible
     (measured: --atlas-text-link #1d4ed8 on --atlas-navy #0b2545 = 1.9:1, far under AA 4.5).
     The cure is NOT a per-component override (that is override #49); it is a DARK-SURFACE
     CONTRACT: a box that paints itself dark re-points the link tokens for its own subtree,
     once, and every link inside it — present and future, from any component — follows.
     See the `[data-surface="dark"]` rule in the base layer below for the contract itself. */
  --atlas-link-on-dark:        var(--c-bfdbfe,#bfdbfe);   /* 8.6:1 on --atlas-navy */
  --atlas-link-on-dark-hover:  var(--c-fbbf24,#fbbf24);   /* gold-bright: same hover language as the light surface */
  --atlas-text-on-dark:        var(--c-f1f5f9,#f1f5f9);
  --atlas-text-on-dark-muted:  rgba(255,255,255,.72);
  /* [ENGINE-FOLLOWUPS 2026-09-23] The contract's missing third token. Ink and links already
     flip on a dark surface; a hairline did not, so any bordered element dropped into a navy
     box (a share button, a chip, a divider) drew a light-page border that either vanished or
     glared. One token, re-pointed by the same contract, instead of a per-component rule. */
  --atlas-border-on-dark:      rgba(255,255,255,.12);

  /* ---------- [X2/KN1 2026-09-22] Legibility shadow for text over photography ----------
     Hero text sits on an arbitrary photo. A scrim alone cannot cover a bright snow slope in
     the same band as the KPIs, so every hero text token also carries a shadow. Declared here
     (token owner) so the hero owner, the byline and any future over-image text share one value. */
  /* --atlas-shadow-ink-{60,80,90} are defined in atlas-primitives.css (palette source); composites only here. */
  --atlas-text-shadow-on-image:        0 1px 4px var(--atlas-shadow-ink-80);
  --atlas-text-shadow-on-image-strong: 0 1px 3px var(--atlas-shadow-ink-90), 0 2px 12px var(--atlas-shadow-ink-60);

  /* ---------- [SY3/CR2-A/WS1/TM3 2026-09-22] Text measure ----------
     A section lede is not an article: it introduces the components directly under it, and Ogi's
     rule is that it must be AS WIDE AS THEY ARE. Capping it at 60-66ch inside a 1180px container
     is what produced the "overview text stuck in the 50% grid" report on every hub, ranking,
     country and insights page. Two measures, one owner:
       --atlas-measure-lede  : section intro / hero lede / hub blurb  -> full content width
       --atlas-measure-prose : long-form running body copy            -> a real reading measure
     Change the value here and every lede on every vertical moves together. */
  --atlas-measure-lede:  var(--atlas-max-content, 1180px);
  --atlas-measure-prose: 72ch;

  /* [TM3/WS1 2026-09-22] "The first paragraph renders at full page width; subsequent paragraphs are in a
     narrower column." That happens when the MEASURE IS SET ON THE CHILDREN instead of on the container:
     the paragraphs that carry the capped class are narrow, the one that does not is full width, and the
     reader sees a ragged column. The rule below fixes the CLASS of bug rather than that page: the prose
     CONTAINER owns the measure, and no child re-caps it. One column, every paragraph, every template. */

  /* ---------- Color: data viz ---------- */
  --atlas-chart-1: var(--atlas-accent,#1d58f5);
  --atlas-chart-2: var(--c-0891b2,#0891b2);
  --atlas-chart-3: var(--c-16a34a,#16a34a);
  --atlas-chart-4: var(--c-d97706,#d97706);
  --atlas-chart-5: var(--c-8b5cf6,#8b5cf6);
  --atlas-chart-6: var(--c-db2777,#db2777);
  --atlas-chart-7: var(--c-0f172a,#0f172a);
  --atlas-chart-8: var(--c-64748b,#64748b);
  --atlas-chart-grid:  var(--c-e2e8f0,#e2e8f0);
  --atlas-chart-axis:  var(--c-94a3b8,#94a3b8);
  --atlas-chart-label: var(--c-64748b,#64748b);
  --atlas-chart-tooltip-bg: var(--c-0f172a,#0f172a);
  --atlas-chart-tooltip-fg: var(--c-f8fafc,#f8fafc);

  /* Score scale (0-10 / 0-100) */
  --atlas-score-exceptional: var(--c-16a34a,#16a34a);   /* 9.0+   "EXCEPTIONAL" */
  --atlas-score-good:        var(--c-65a30d,#65a30d);   /* 7.5–8.9 "GOOD" */
  --atlas-score-average:     var(--c-ca8a04,#ca8a04);   /* 6.0–7.4 "AVERAGE" */
  --atlas-score-below:       var(--c-ea580c,#ea580c);   /* 4.5–5.9 "BELOW AVERAGE" */
  --atlas-score-poor:        var(--c-dc2626,#dc2626);   /* 0–4.4   "POOR" */

  /* Ski difficulty (international) */
  --atlas-ski-beginner:     var(--c-16a34a,#16a34a);   /* green circle */
  --atlas-ski-intermediate: var(--atlas-accent,#1d58f5);   /* blue square */
  --atlas-ski-advanced:     var(--c-dc2626,#dc2626);   /* red — Europe */
  --atlas-ski-expert:       var(--c-0f172a,#0f172a);   /* black diamond */

  /* Avalanche risk */
  --atlas-avy-low:          var(--c-16a34a,#16a34a);
  --atlas-avy-moderate:     var(--c-ca8a04,#ca8a04);
  --atlas-avy-considerable: var(--c-ea580c,#ea580c);
  --atlas-avy-high:         var(--c-dc2626,#dc2626);
  --atlas-avy-extreme:      var(--c-7f1d1d,#7f1d1d);

  /* Lift status */
  --atlas-lift-open:    var(--c-16a34a,#16a34a);
  --atlas-lift-delayed: var(--c-d97706,#d97706);
  --atlas-lift-closed:  var(--c-dc2626,#dc2626);

  /* ---------- Typography ---------- */
  --atlas-font-heading: 'Inter','Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --atlas-font-body:    'Inter','Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --atlas-font-data:    'JetBrains Mono','JetBrains Mono Fallback', 'SF Mono', Monaco, 'Courier New', monospace;
  --atlas-font-serif:   'Cormorant Garamond','Cormorant Fallback', Georgia, 'Times New Roman', serif;   /* editorial serif (verdicts, quotes) — profile-overridable */

  --atlas-fw-regular:  400;
  --atlas-fw-medium:   500;
  --atlas-fw-semibold: 600;
  --atlas-fw-bold:     700;
  --atlas-fw-black:    800;

  /* [R2 row 128 · 2026-09-30] THE TYPE FLOOR: the smallest rung is 12px. It was 11px, and ~2,900
     literal sizes below it (9-11px) had crept into sheets and generators — readers saw "very small
     text" on compare-dna, snow-report. assert_font_tokens.php (floor_token + below_floor_* metrics)
     fails if this token drops under CssFontScanner::FLOOR_PX or a literal below it ships. */
  --atlas-fs-micro: 0.75rem;     /* 12px — the floor */
  --atlas-fs-svg-ring-label: 1.9px; /* SVG user units: ring labels of the 100-unit service map (renders ~12px) */
  --atlas-fs-tiny:  0.75rem;     /* 12px */
  --atlas-fs-sm:    0.875rem;    /* 14px */
  /* [FB-INK 2026-10-17 owner 35c part 3 item 1] THE READING FLOOR: running text (a sentence, a list item, a warning line) never sets below this
     rung; --atlas-fs-micro (12px) is the floor for LABELS only (eyebrows, chips, captions, sources). Gate: reading-floor. */
  --atlas-fs-body-floor: var(--atlas-fs-sm);
  --atlas-fs-base:  1rem;        /* 16px */
  --atlas-fs-lg:    1.125rem;    /* 18px */
  --atlas-fs-xl:    1.25rem;     /* 20px */
  --atlas-fs-2xl:   1.5rem;      /* 24px */
  --atlas-fs-3xl:   1.875rem;    /* 30px */
  --atlas-fs-4xl:   2.25rem;     /* 36px */
  /* short aliases used by older sheets — same scale, never a second value */
  --atlas-fs-card-placeholder: clamp(var(--atlas-fs-micro), 4.5cqi, var(--atlas-fs-base));   /* resort-name in a card image placeholder: scales with the box, never overflows */
  --atlas-fs-section-title: clamp(var(--atlas-fs-xl), 2.6vw, var(--atlas-fs-2xl));   /* hub/section heading: one fluid rung xl..2xl, defined once (font-tokens gate) */
  --atlas-fs-xs: var(--atlas-fs-micro);
  --atlas-fs-xxs: var(--atlas-fs-micro);   /* was undefined: 41 call sites silently used their .7rem fallback */
  --atlas-fs-2xs: var(--atlas-fs-micro);
  --atlas-fs-md: var(--atlas-fs-base);
  --atlas-fs-5xl:   3rem;        /* 48px */
  --atlas-fs-6xl:   3.75rem;     /* 60px */
  /* [A35 · TASK-M-TYPE-LADDER 2026-09-25] the ladder's top end, EXTENDED rather than snapped:
     4 legacy --fs-NN rungs (72/80/100/136px) sit 12-76px from --atlas-fs-6xl, 1-2 call sites
     each, all rare hero numerals — collapsing them into 6xl would be a real visual regression,
     so component-color-system.css aliases them here instead (css.md: "a size the ladder does
     not have is added to the ladder"). engine/scripts/lib/type_ladder.php is the map. */
  --atlas-fs-7xl:   4.5rem;      /* 72px */
  --atlas-fs-8xl:   5rem;        /* 80px */
  --atlas-fs-9xl:   6.25rem;     /* 100px */
  --atlas-fs-10xl:  8.5rem;      /* 136px */
  --atlas-fs-score: 1.375rem;   /* [FRONT-CSS 2026-10-13] hero score ring number (between xl and 2xl); was a literal in hero-unified.css */
  --atlas-fs-rem-0_76: 0.76rem;
  --atlas-fs-rem-0_86: 0.86rem;
  --atlas-fs-rem-0_92: 0.92rem;
  --atlas-fs-rem-4_2: 4.2rem;
  --atlas-fs-rem-0_98: 0.98rem;
  --atlas-fs-rem-1_02: 1.02rem;
  --atlas-fs-rem-1_2: 1.2rem;
  --atlas-fs-rem-1_35: 1.35rem;
  --atlas-fs-rem-1_55: 1.55rem;
  --atlas-fs-rem-1_5625: 1.5625rem;
  --atlas-fs-rem-1_65: 1.65rem;
  --atlas-fs-rem-1_7: 1.7rem;
  --atlas-fs-rem-1_8: 1.8rem;
  --atlas-fs-rem-1_85: 1.85rem;
  --atlas-fs-rem-1_9: 1.9rem;
  --atlas-fs-rem-1_95: 1.95rem;
  --atlas-fs-rem-2_1: 2.1rem;
  --atlas-fs-rem-2_125: 2.125rem;
  --atlas-fs-rem-2_2: 2.2rem;
  --atlas-fs-rem-2_3: 2.3rem;
  --atlas-fs-rem-2_4: 2.4rem;
  --atlas-fs-rem-2_6: 2.6rem;
  --atlas-fs-rem-2_8: 2.8rem;
  --atlas-fs-rem-2_85: 2.85rem;
  --atlas-fs-rem-2_875: 2.875rem;
  --atlas-fs-rem-3_1: 3.1rem;
  --atlas-fs-rem-3_125: 3.125rem;
  --atlas-fs-rem-3_2: 3.2rem;
  --atlas-fs-rem-3_375: 3.375rem;
  --atlas-fs-rem-3_4: 3.4rem;
  --atlas-fs-rem-3_5: 3.5rem;
  --atlas-fs-rem-3_6: 3.6rem;
  --atlas-fs-rem-3_625: 3.625rem;
  --atlas-fs-rem-3_8: 3.8rem;
  --atlas-fs-rem-4: 4rem;
  --atlas-fs-rem-4_125: 4.125rem;
  --atlas-fs-rem-4_625: 4.625rem;
  --atlas-fs-rem-5_5: 5.5rem;
  /* [FRONT-CSS3 2026-10-14] value-identical rem steps for every font-size that is not a ladder stop (zero drift, one place to change). Written by font_size_token_migrator.php; a new one is added by re-running it with --emit-tokens. */
  --atlas-fs-rem-0_1875: 0.1875rem;
  --atlas-fs-rem-0_375: 0.375rem;
  --atlas-fs-rem-0_4375: 0.4375rem;
  --atlas-fs-rem-0_5: 0.5rem;
  --atlas-fs-rem-0_52: 0.52rem;
  --atlas-fs-rem-0_5312: 0.5312rem;
  --atlas-fs-rem-0_54: 0.54rem;
  --atlas-fs-rem-0_55: 0.55rem;
  --atlas-fs-rem-0_56: 0.56rem;
  --atlas-fs-rem-0_5625: 0.5625rem;
  --atlas-fs-rem-0_58: 0.58rem;
  --atlas-fs-rem-0_5938: 0.5938rem;
  --atlas-fs-rem-0_6: 0.6rem;
  --atlas-fs-rem-0_62: 0.62rem;
  --atlas-fs-rem-0_625: 0.625rem;
  --atlas-fs-rem-0_64: 0.64rem;
  --atlas-fs-rem-0_65: 0.65rem;
  --atlas-fs-rem-0_6562: 0.6562rem;
  --atlas-fs-rem-0_66: 0.66rem;
  --atlas-fs-rem-0_68: 0.68rem;
  --atlas-fs-rem-0_6875: 0.6875rem;
  --atlas-fs-rem-0_7: 0.7rem;
  --atlas-fs-rem-0_7188: 0.7188rem;
  --atlas-fs-rem-0_72: 0.72rem;
  --atlas-fs-rem-0_74: 0.74rem;
  --atlas-fs-rem-0_78: 0.78rem;
  --atlas-fs-rem-0_7812: 0.7812rem;
  --atlas-fs-rem-0_7813: 0.7813rem;
  --atlas-fs-rem-0_8: 0.8rem;
  --atlas-fs-rem-0_8125: 0.8125rem;
  --atlas-fs-rem-0_82: 0.82rem;
  --atlas-fs-rem-0_825: 0.825rem;
  --atlas-fs-rem-0_8438: 0.8438rem;
  --atlas-fs-rem-0_85: 0.85rem;
  --atlas-fs-rem-0_88: 0.88rem;
  --atlas-fs-rem-0_9: 0.9rem;
  --atlas-fs-rem-0_9062: 0.9062rem;
  --atlas-fs-rem-0_9063: 0.9063rem;
  --atlas-fs-rem-0_9375: 0.9375rem;
  --atlas-fs-rem-0_95: 0.95rem;
  --atlas-fs-rem-0_9688: 0.9688rem;
  --atlas-fs-rem-0_975: 0.975rem;
  --atlas-fs-rem-1_05: 1.05rem;
  --atlas-fs-rem-1_0625: 1.0625rem;
  --atlas-fs-rem-1_1: 1.1rem;
  --atlas-fs-rem-1_15: 1.15rem;
  --atlas-fs-rem-1_1875: 1.1875rem;
  --atlas-fs-rem-1_3: 1.3rem;
  --atlas-fs-rem-1_3125: 1.3125rem;
  --atlas-fs-rem-1_375: 1.375rem;
  --atlas-fs-rem-1_4: 1.4rem;
  --atlas-fs-rem-1_4375: 1.4375rem;
  --atlas-fs-rem-1_6: 1.6rem;
  --atlas-fs-rem-1_625: 1.625rem;
  --atlas-fs-rem-1_6875: 1.6875rem;
  --atlas-fs-rem-1_75: 1.75rem;
  --atlas-fs-rem-2: 2rem;
  --atlas-fs-rem-2_35: 2.35rem;
  --atlas-fs-rem-2_375: 2.375rem;
  --atlas-fs-rem-2_5: 2.5rem;
  --atlas-fs-rem-2_625: 2.625rem;
  --atlas-fs-rem-2_75: 2.75rem;
  --atlas-fs-rem-3_25: 3.25rem;
  --atlas-fs-rem-8_125: 8.125rem;
  /* [FRONT-CSS2 2026-10-13] SVG user-unit scale tokens (viewBox geometry, allowlisted literals; svg_attr_migrator.php) */
  --atlas-svg-fs-3: 3px;
  --atlas-svg-fs-3_5: 3.5px;
  --atlas-svg-fs-4: 4px;
  --atlas-svg-fs-4_5: 4.5px;
  --atlas-svg-fs-4_6: 4.6px;
  --atlas-svg-fs-5: 5px;
  --atlas-svg-fs-5_4: 5.4px;
  --atlas-svg-fs-5_5: 5.5px;
  --atlas-svg-fs-5_6: 5.6px;
  --atlas-svg-fs-5_8: 5.8px;
  --atlas-svg-fs-6: 6px;
  --atlas-svg-fs-6_2: 6.2px;
  --atlas-svg-fs-6_3: 6.3px;
  --atlas-svg-fs-6_4: 6.4px;
  --atlas-svg-fs-6_5: 6.5px;
  --atlas-svg-fs-6_6: 6.6px;
  --atlas-svg-fs-6_8: 6.8px;
  --atlas-svg-fs-7: 7px;
  --atlas-svg-fs-7_2: 7.2px;
  --atlas-svg-fs-7_5: 7.5px;
  --atlas-svg-fs-8: 8px;
  --atlas-svg-fs-8_5: 8.5px;
  --atlas-svg-fs-9: 9px;
  --atlas-svg-fs-9_5: 9.5px;
  --atlas-svg-fs-10: 10px;
  --atlas-svg-fs-10_5: 10.5px;
  --atlas-svg-fs-11: 11px;
  --atlas-svg-fs-12: 12px;
  --atlas-svg-fs-13: 13px;
  --atlas-svg-fs-14: 14px;
  --atlas-svg-fs-15: 15px;
  --atlas-svg-fs-16: 16px;
  --atlas-svg-fs-17: 17px;
  --atlas-svg-fs-18: 18px;
  --atlas-svg-fs-19: 19px;
  --atlas-svg-fs-20: 20px;
  --atlas-svg-fs-22: 22px;
  --atlas-svg-fs-24: 24px;
  --atlas-svg-fs-25: 25px;
  --atlas-svg-fs-26: 26px;
  --atlas-svg-fs-27: 27px;
  --atlas-svg-fs-28: 28px;
  --atlas-svg-fs-30: 30px;
  --atlas-svg-fs-32: 32px;
  --atlas-svg-fs-34: 34px;
  --atlas-svg-fs-36: 36px;
  --atlas-svg-fs-38: 38px;
  --atlas-svg-fs-42: 42px;
  --atlas-svg-fs-56: 56px;
  --atlas-svg-fs-58: 58px;
  --atlas-svg-sw-0_3: 0.3;
  --atlas-svg-sw-0_4: 0.4;
  --atlas-svg-sw-0_5: 0.5;
  --atlas-svg-sw-_5: .5;
  --atlas-svg-sw-0_6: 0.6;
  --atlas-svg-sw-0_7: 0.7;
  --atlas-svg-sw-_7: .7;
  --atlas-svg-sw-0_75: 0.75;
  --atlas-svg-sw-0_8: 0.8;
  --atlas-svg-sw-_8: .8;
  --atlas-svg-sw-_9: .9;
  --atlas-svg-sw-0_9: 0.9;
  --atlas-svg-sw-1: 1;
  --atlas-svg-sw-1_1: 1.1;
  --atlas-svg-sw-1_2: 1.2;
  --atlas-svg-sw-1_3: 1.3;
  --atlas-svg-sw-1_4: 1.4;
  --atlas-svg-sw-1_5: 1.5;
  --atlas-svg-sw-1_6: 1.6;
  --atlas-svg-sw-1_7: 1.7;
  --atlas-svg-sw-1_75: 1.75;
  --atlas-svg-sw-1_8: 1.8;
  --atlas-svg-sw-1_9: 1.9;
  --atlas-svg-sw-2: 2;
  --atlas-svg-sw-2_2: 2.2;
  --atlas-svg-sw-2_4: 2.4;
  --atlas-svg-sw-2_5: 2.5;
  --atlas-svg-sw-2_6: 2.6;
  --atlas-svg-sw-2_8: 2.8;
  --atlas-svg-sw-3: 3;
  --atlas-svg-sw-3_2: 3.2;
  --atlas-svg-sw-3_4: 3.4;
  --atlas-svg-sw-3_5: 3.5;
  --atlas-svg-sw-3_6: 3.6;
  --atlas-svg-sw-4: 4;
  --atlas-svg-sw-5: 5;
  --atlas-svg-sw-6: 6;
  --atlas-svg-sw-7: 7;
  --atlas-svg-sw-8: 8;
  --atlas-svg-sw-9: 9;
  --atlas-svg-sw-10: 10;
  --atlas-svg-sw-11: 11;
  --atlas-svg-sw-12: 12;
  --atlas-svg-sw-13: 13;
  --atlas-svg-sw-14: 14;
  --atlas-svg-sw-15: 15;
  --atlas-svg-sw-16: 16;
  --atlas-svg-sw-18: 18;
  --atlas-svg-sw-20: 20;
  --atlas-svg-sw-22: 22;
  --atlas-svg-sw-24: 24;
  --atlas-svg-sw-25: 25;
  --atlas-svg-sw-28: 28;
  --atlas-svg-sw-30: 30;
  --atlas-svg-sw-40: 40;
  --atlas-svg-sw-86: 86;

  /* [A35 · TASK-M-TYPE-LADDER 2026-09-25] THE card-title token pair — one size, one weight,
     for every `.{block}__title` component heading. Measured, not guessed: a static CSS-parse
     census of every `__title` rule across engine/components/_core (7,044 rule blocks) found
     16px/700 the outright majority (2,789 rules on that exact combination before this fix, vs
     821 next-largest at 18px) — so the ladder is not inventing a new convention, it is naming
     the one that already won. Family is deliberately NOT part of this pair: components already
     overwhelmingly declare no family on their title rule (6,829 of 7,044) and inherit the page's
     heading font, which is correct and untouched; a component whose title is an intentional
     Cormorant DISPLAY heading (var(--atlas-font-serif)) is exempt from this pair entirely — see
     ssg_serif_title_components() in type_ladder.php — its size/weight stays whatever the design
     set gave it. */
  --atlas-fs-card-title: var(--atlas-fs-base);   /* 16px */
  --atlas-fw-card-title: var(--atlas-fw-bold);   /* 700 */

  --atlas-lh-tight:   1.15;
  --atlas-lh-snug:    1.3;
  --atlas-lh-normal:  1.5;
  --atlas-lh-relaxed: 1.65;
  --atlas-lh-data:    1.25;
  --atlas-lh-none:    1;

  --atlas-ls-tight:  -0.02em;
  --atlas-ls-normal: 0;
  --atlas-ls-wide:   0.025em;
  --atlas-ls-wider:  0.05em;
  --atlas-ls-widest: 0.1em;
  /* [FRONT-CSS4B 2026-10-14] ONE knob for chart data-line thickness (owner ss144/ss162): every series line reads
       its stroke-width token times this scale (calc); canvas lineWidth multiplies by it too */
  --atlas-chart-line-scale: 1.5;
  /* [FRONT-CSS4B] value-identical tokens for authored values OUTSIDE the lh/ls ladder (round-1 snap had clamped them) */
  --atlas-lh-num-0_72: 0.72;
  --atlas-lh-num-0_8: 0.8;
  --atlas-lh-num-0_82: 0.82;
  --atlas-lh-num-0_85: 0.85;
  --atlas-lh-num-1_9: 1.9;
  --atlas-lh-num-2_2: 2.2;
  --atlas-lh-num-2_25: 2.25;
  --atlas-lh-num-2_5: 2.5;
  --atlas-lh-num-3: 3;
  --atlas-ls-em-0_14: 0.14em;
  --atlas-ls-em-0_15: 0.15em;
  --atlas-ls-em-0_16: 0.16em;
  --atlas-ls-em-0_18: 0.18em;
  --atlas-ls-em-0_2: 0.2em;
  --atlas-ls-em-0_22: 0.22em;
  --atlas-ls-em-0_5: 0.5em;
  --atlas-ls-em-n0_1: -0.1em;
  --atlas-ls-em-n0_15: -0.15em;
  /* [WP4 2026-10-13] tokens for values the ladder lacked (restored component sheets) */
  --atlas-fs-em-5_4: 5.4em;
  --atlas-fs-em-5_6: 5.6em;
  --atlas-lh-px-1: 1px;
  /* [WP4 2026-10-13] tokens for values the ladder lacked (restored component sheets) */
  --atlas-fs-em-0_4: 0.4em;
  --atlas-fs-em-0_92: .92em;
  --atlas-fs-em-1_063: 1.0625em;
  --atlas-fs-em-1_3: 1.3em;
  --atlas-fs-em-1_4: 1.4em;
  --atlas-fs-em-1_8: 1.8em;
  --atlas-fs-em-2_2: 2.2em;
  --atlas-fs-em-4: 4em;
  --atlas-lh-px-16: 16px;
  /* [WP4 2026-10-13] tokens for values the ladder lacked (restored component sheets) */
  --atlas-fs-em-0_45: 0.45em;
  --atlas-fs-em-0_5: .5em;
  --atlas-fs-em-0_52: 0.52em;
  --atlas-fs-em-0_55: 0.55em;
  --atlas-fs-em-0_6: 0.6em;
  --atlas-fs-em-0_62: 0.62em;
  --atlas-fs-em-0_65: 0.65em;
  --atlas-fs-em-0_7: 0.7em;
  --atlas-fs-em-0_72: 0.72em;
  --atlas-fs-em-0_75: 0.75em;
  --atlas-fs-em-0_8: .8em;
  --atlas-fs-em-0_82: 0.82em;
  --atlas-fs-em-0_85: 0.85em;
  --atlas-fs-em-0_875: 0.875em;
  --atlas-fs-em-0_88: 0.88em;
  --atlas-fs-em-0_9: 0.9em;
  --atlas-fs-em-0_95: 0.95em;
  --atlas-fs-em-1_05: 1.05em;
  --atlas-fs-em-1_1: 1.1em;
  --atlas-fs-em-1_15: 1.15em;
  --atlas-fs-em-1_2: 1.2em;
  --atlas-fs-em-1_25: 1.25em;
  --atlas-fs-em-1_5: 1.5em;
  --atlas-fs-em-2: 2em;
  --atlas-fw-light: 300;
  --atlas-lh-loose: 2;
  --atlas-lh-px-18: 18px;
  --atlas-lh-px-20: 20px;
  --atlas-lh-px-22: 22px;
  --atlas-lh-px-24: 24px;
  --atlas-lh-px-26: 26px;
  --atlas-lh-px-28: 28px;
  --atlas-lh-px-32: 32px;
  --atlas-lh-px-44: 44px;
  --atlas-lh-rem-1_15: 1.15rem;
  --atlas-lh-rem-1_5: 1.5rem;
  --atlas-lh-rem-1_75: 1.75rem;
  --atlas-lh-rem-2: 2rem;
  --atlas-lh-rem-2_75: 2.75rem;
  --atlas-transform-capitalize: capitalize;
  --atlas-transform-lowercase: lowercase;

  /* ---------- Spacing (4px base) ---------- */
  --atlas-space-0:    0;
  --atlas-space-0_5:  0.125rem;  /* 2px */
  --atlas-space-1:    0.25rem;   /* 4px */
  --atlas-space-2:    0.5rem;    /* 8px */
  --atlas-space-3:    0.75rem;   /* 12px */
  --atlas-space-4:    1rem;      /* 16px */
  --atlas-space-5:    1.25rem;   /* 20px */
  --atlas-space-6:    1.5rem;    /* 24px */
  --atlas-space-8:    2rem;      /* 32px */
  --atlas-space-10:   2.5rem;    /* 40px */
  --atlas-space-12:   3rem;      /* 48px */
  --atlas-space-16:   4rem;      /* 64px */
  --atlas-space-20:   5rem;      /* 80px */
  --atlas-space-24:   6rem;      /* 96px */
  --atlas-space-32:   8rem;      /* 128px */

  --atlas-card-padding:           1.5rem;
  --atlas-card-padding-compact:   1rem;
  --atlas-card-padding-spacious:  2rem;
  --atlas-component-gap:          1.5rem;
  --atlas-section-gap:            3rem;
  --atlas-section-gap-lg:         5rem;
  --atlas-page-gutter:            1rem;
  --atlas-max-content:            1280px;
  --atlas-max-text:               70ch;
  /* [PL4 2026-09-22] --atlas-measure-wide was CONSUMED by 11 page templates (the
     .{prefix}-comps component bands on /best/, /seasons/, /insights/, /airports/,
     gateway, continent, range, accessible-skiing...) and DEFINED nowhere, so every
     one of them silently fell back to its 72rem = 1152px literal while the sections
     above and below used .atlas-container = 1280px. That 128px step is the "this
     section is narrower than the others" report. Defined once, here, as the same
     content width - the bands now line up with their neighbours everywhere. */
  --atlas-measure-wide:           var(--atlas-max-content);

  /* ---------- Borders ---------- */
  --atlas-radius-none:   0;
  --atlas-radius-sm:     4px;
  --atlas-radius-md:     8px;
  --atlas-radius-lg:     12px;
  --atlas-radius-xl:     16px;
  --atlas-radius-2xl:    20px;
  --atlas-radius-pill:   9999px;
  --atlas-radius-circle: 50%;
  --atlas-r:  var(--atlas-radius-md);   /* short aliases (human-design / genius sheets) */
  --atlas-rl: var(--atlas-radius-lg);
  --atlas-rx: var(--atlas-radius-xl);
  --atlas-rp: var(--atlas-radius-pill);

  --atlas-bw-1: 1px;
  --atlas-bw-2: 2px;
  --atlas-bw-3: 3px;
  --atlas-bw-4: 4px;

  /* ---------- Shadows ---------- */
  --atlas-shadow-xs:   0 1px 2px 0 var(--cr-4acdce87,rgba(15, 23, 42, 0.04));
  --atlas-shadow-sm:   0 1px 3px 0 var(--cr-77805373,rgba(15, 23, 42, 0.06)), 0 1px 2px -1px var(--cr-4acdce87,rgba(15, 23, 42, 0.04));
  --atlas-shadow-md:   0 4px 8px -2px var(--cr-79fa6196,rgba(15, 23, 42, 0.08)), 0 2px 4px -2px var(--cr-4acdce87,rgba(15, 23, 42, 0.04));
  --atlas-shadow-lg:   0 10px 20px -3px var(--cr-4f13ed0f,rgba(15, 23, 42, 0.10)), 0 4px 6px -4px var(--cr-1ad54a7f,rgba(15, 23, 42, 0.05));
  --atlas-shadow-xl:   0 20px 30px -5px var(--cr-b60aaf6e,rgba(15, 23, 42, 0.12)), 0 8px 10px -6px var(--cr-77805373,rgba(15, 23, 42, 0.06));
  --atlas-sh:    var(--atlas-shadow-sm);   /* short aliases */
  --atlas-sh-lg: var(--atlas-shadow-lg);
  --atlas-shadow-card: 0 1px 3px var(--cr-1ad54a7f,rgba(15, 23, 42, 0.05)), 0 1px 2px var(--cr-30f1ad50,rgba(15, 23, 42, 0.03));
  --atlas-shadow-card-hover: 0 8px 24px var(--cr-4f13ed0f,rgba(15, 23, 42, 0.10)), 0 2px 4px var(--cr-4acdce87,rgba(15, 23, 42, 0.04));
  --atlas-shadow-focus: 0 0 0 3px var(--cr-ed0aa9c2,rgba(37, 99, 235, 0.35));
  --atlas-shadow-inner: inset 0 2px 4px 0 var(--cr-4acdce87,rgba(15, 23, 42, 0.04));

  /* ---------- Interaction ---------- */
  /* WCAG 2.5.5 minimum touch target. Declared ONCE here so every interactive
     chrome control sizes from the same source instead of repeating 44px. */
  --atlas-tap-target: 44px;

  /* ---------- Motion ---------- */
  --atlas-transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --atlas-transition:      200ms cubic-bezier(0.4, 0, 0.2, 1);
  --atlas-transition-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --atlas-transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --atlas-hover-lift:        translateY(-2px);
  --atlas-hover-lift-strong: translateY(-4px);

  /* ---------- Z-index ---------- */
  --atlas-z-base:     0;
  --atlas-z-raised:   10;
  --atlas-z-dropdown: 100;
  --atlas-z-sticky:   200;
  /* Site header chrome. MUST outrank every page-level sticky bar: the header is the only
     sticky box that opens a dropdown (mega menu / "More"), and an equal z-index is decided
     by DOM order — the page bar always comes later, so it wins the tie and paints over the
     open menu. Measured 2026-09-24 on /glossary/: `.gl-controls{position:sticky;top:0;
     z-index:var(--atlas-z-sticky)}` = 200 = `.site-header`, so the "More" menu was clipped
     at the toolbar's top edge (review finding #22). Page sticky bars keep --atlas-z-sticky;
     ONLY the header uses this token, and nothing between 200 and 300 may be handed out. */
  --atlas-z-header:   250;
  --atlas-z-overlay:  300;
  --atlas-z-modal:    400;
  --atlas-z-toast:    500;
  --atlas-z-tooltip:  600;
}
}

/* Tablet+ — slightly more generous gutters */
@layer components {
@media (min-width: 768px) {
  :root {
    --atlas-page-gutter: 1.5rem;
  }
}

/* Desktop — full breathing room */
@media (min-width: 1200px) {
  :root {
    --atlas-page-gutter: 2rem;
  }
}
}

/* ═══ REGION FILTER — the ONE "filter by region" chip row (PASS26 2026-10-05) ═══
   Owner: engine/core/region_filter.php (ssg_region_filter_html). Replaces the three unstyled
   plain-text link rows (.fsp-continents / .nskp-continents / .vdp-continents) that looked like text.
   Chips with a visible border and hover, an active state, a count badge, and spacing from the hero
   and the list. Tokens only; no literal colours. */
@layer components {
.atlas-region-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--atlas-space-xs, 0.5rem);
  box-sizing: border-box;
  width: 100%;
  margin: var(--atlas-space-lg, 1.5rem) 0 var(--atlas-space-md, 1rem);
  padding: 0;
}
.atlas-region-filter__label {
  font-size: var(--atlas-fs-sm, 0.875rem);
  color: var(--atlas-text-muted);
  margin-right: var(--atlas-space-xs, 0.5rem);
}
.atlas-region-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--atlas-space-xs, 0.5rem);
  min-height: 44px;
  padding: 0 var(--atlas-space-md, 1rem);
  box-sizing: border-box;
  border: 1px solid var(--atlas-border);
  border-radius: 999px;
  background: var(--atlas-surface-2);
  color: var(--atlas-text);
  font-size: var(--atlas-fs-sm, 0.9375rem);
  font-weight: var(--atlas-fw-semibold);
  line-height: var(--atlas-lh-none);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.atlas-region-filter__chip:hover,
.atlas-region-filter__chip:focus-visible {
  border-color: var(--atlas-accent);
  text-decoration: none;
}
.atlas-region-filter__chip[aria-current="page"] {
  background: var(--atlas-accent);
  border-color: var(--atlas-accent);
  color: var(--atlas-text-on-dark, var(--atlas-surface));
}
.atlas-region-filter__count {
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-muted);
}
.atlas-region-filter__chip[aria-current="page"] .atlas-region-filter__count {
  color: inherit;
  opacity: .85;
}
}

/* ═══ GLOBAL NIGHT (dark) TOKEN SET — day/night toggle (#107, 2026-08-06) ═══
   MOVED here from atlas-content-system.css (its #73 birthplace) so it sits in ONE
   owner beside the DAY :root defaults above — and so it reaches 100% of pages
   (atlas-content-system.css is absent from /compare/, /glossary/ and a /tools/ page).
   The toggle in the shared header stamps data-theme="dark" (alias "night") on <html>;
   these VALUES flip the semantic surface/text/border/link/chart tokens site-wide.
   DELIBERATELY UNLAYERED, same as the day :root block directly above it: per the
   cascade spec an unlayered declaration beats ANY @layer declaration, so a night set
   inside @layer tokens can never beat the unlayered day defaults (measured in #73:
   a layered block produced zero flip). Unlayered-vs-unlayered the :root[data-theme]
   attribute selector out-specifies the plain :root day defs → night wins, no
   !important. Move BOTH blocks into @layer tokens together on the @layer flag-day.
   Initial theme = stored choice → prefers-color-scheme → day (see site-header.php). */
@layer tokens {
:root[data-theme="dark"], :root[data-theme="night"] {
    /* surfaces */
    --atlas-bg-page:       var(--c-0d1b2e,#0d1b2e);
    --atlas-bg-page-tint:  var(--c-0a1628,#0a1628);
    --atlas-bg-card:       var(--c-162033,#162033);
    --atlas-bg-card-tint:  var(--c-1a2840,#1a2840);
    --atlas-bg-card-hover: var(--c-1e2f4a,#1e2f4a);
    --atlas-scrim:         var(--cr-9558e96b,rgba(0,0,0,.3));
    /* borders */
    --atlas-border:        var(--cr-1f523d72,rgba(255,255,255,.08));
    --atlas-border-strong: var(--cr-28e9e123,rgba(255,255,255,.16));
    --atlas-divider:       var(--cr-5a23c2f3,rgba(255,255,255,.05));
    --atlas-control-border:  var(--c-94a3b8,#94a3b8);   /* 6.1:1 on the night card #162033 */
    /* text */
    --atlas-text:           var(--c-f1f5f9,#f1f5f9);
    --atlas-text-secondary: var(--c-cbd5e1,#cbd5e1);
    --atlas-text-muted:     var(--c-94a3b8,#94a3b8);
    --atlas-text-subtle:    var(--c-94a3b8,#94a3b8);
    --atlas-text-inverse:   var(--c-0f172a,#0f172a);
    --atlas-text-link:       var(--c-93c5fd,#93c5fd);
    --atlas-text-link-hover: var(--c-dbeafe,#dbeafe);
    /* [DARK-HEADING 2026-09-18] headings and the tint surface had no night value: navy headings on night cards, a light tint panel under night text */
    --atlas-heading:        var(--atlas-text);
    --atlas-link:           var(--atlas-text-link);
    /* [NAVY-SPLIT 2026-09-23] The night half of the split. --atlas-navy-surface is DELIBERATELY NOT re-pointed:
       a panel painted brand navy is already a dark surface and the dark-surface contract re-points the text on it;
       re-pointing it would turn every navy hero, the header bar and the footer light at night. --atlas-navy-ink IS
       re-pointed, with the alias names whose own role split is >= 90 % color: (census in DRYRUN-navy-split.md). */
    --atlas-navy-ink:      var(--atlas-text);          /* #f1f5f9 */
    /* [ZERO-COLOURS 2026-10-03] the pale navy tint is a light-mode surface; ink on it (navy-ink flips to #f1f5f9) was 1.02:1
       (atlas-callout--profile). At night the tint is the card-tint surface, so ink and panel flip together. */
    --atlas-navy-50:       var(--atlas-bg-card-tint);
    --atlas-accent-as-text:   var(--atlas-text-link);     /* #93c5fd */
    /* [TEXT-ROLES 2026-10-02] night half of the text roles (day half beside --atlas-accent-as-text). Each >= 4.5:1 on
       --atlas-bg-card #162033, --atlas-bg-card-tint #1a2840 and the navy card #12314f. */
    --atlas-ink-1:            var(--c-f1f5f9,#f1f5f9);
    --atlas-ink-2:            var(--c-e2e8f0,#e2e8f0);
    --atlas-ink-3:            var(--c-cbd5e1,#cbd5e1);
    --atlas-ink-4:            var(--c-cbd5e1,#cbd5e1);
    --atlas-ink-5:            var(--c-94a3b8,#94a3b8);
    --atlas-accent-bright-as-text: var(--c-93c5fd,#93c5fd);
    --atlas-violet-as-text:   var(--c-c4b5fd,#c4b5fd);
    --atlas-ok-as-text:       var(--c-4ade80,#4ade80);
    --atlas-ok-ink:           var(--c-4ade80,#4ade80);
    --atlas-gold-as-text:     var(--c-fbbf24,#fbbf24);
    --atlas-warn-as-text:     var(--c-fbbf24,#fbbf24);
    --atlas-danger-as-text:   var(--c-fca5a5,#fca5a5);
    --atlas-chart-1-as-text:  var(--c-93c5fd,#93c5fd);
    /* [FRONT-CSS4A 2026-10-14] hue FILLS at night: the 400 shade (indigo 300), >= 4.5:1 as text on every night surface and under the night ink below. */
    --atlas-hue-red: var(--c-f87171,#f87171);
    --atlas-hue-orange: var(--c-fb923c,#fb923c);
    --atlas-hue-amber: var(--c-fbbf24,#fbbf24);
    --atlas-hue-yellow: var(--c-facc15,#facc15);
    --atlas-hue-lime: var(--c-a3e635,#a3e635);
    --atlas-hue-green: var(--c-4ade80,#4ade80);
    --atlas-hue-emerald: var(--c-34d399,#34d399);
    --atlas-hue-teal: var(--c-2dd4bf,#2dd4bf);
    --atlas-hue-cyan: var(--c-22d3ee,#22d3ee);
    --atlas-hue-sky: var(--c-38bdf8,#38bdf8);
    --atlas-hue-blue: var(--c-60a5fa,#60a5fa);
    --atlas-hue-indigo: var(--c-a5b4fc,#a5b4fc);
    --atlas-hue-violet: var(--c-a78bfa,#a78bfa);
    --atlas-hue-purple: var(--c-c084fc,#c084fc);
    --atlas-hue-pink: var(--c-f472b6,#f472b6);
    --atlas-hue-grey: var(--c-9ca3af,#9ca3af);
    --atlas-on-status: var(--atlas-on-fill-dark);   /* the night ink on a lifted hue fill (>= 5.9:1 on every one) */
    /* [FRONT-CSS3] hue text roles at night (>= 4.5:1 on --atlas-bg-card / the card tint). */
    --atlas-hue-red-text: var(--c-fca5a5,#fca5a5);
    --atlas-hue-orange-text: var(--c-fdba74,#fdba74);
    --atlas-hue-amber-text: var(--c-fbbf24,#fbbf24);
    --atlas-hue-yellow-text: var(--c-fde047,#fde047);
    --atlas-hue-lime-text: var(--c-bef264,#bef264);
    --atlas-hue-green-text: var(--c-4ade80,#4ade80);
    --atlas-hue-emerald-text: var(--c-6ee7b7,#6ee7b7);
    --atlas-hue-teal-text: var(--c-5eead4,#5eead4);
    --atlas-hue-cyan-text: var(--c-67e8f9,#67e8f9);
    --atlas-hue-sky-text: var(--c-7dd3fc,#7dd3fc);
    --atlas-hue-blue-text: var(--c-93c5fd,#93c5fd);
    --atlas-hue-indigo-text: var(--c-a5b4fc,#a5b4fc);
    --atlas-hue-violet-text: var(--c-c4b5fd,#c4b5fd);
    --atlas-hue-purple-text: var(--c-d8b4fe,#d8b4fe);
    --atlas-hue-pink-text: var(--c-f9a8d4,#f9a8d4);
    --atlas-hue-grey-text: var(--c-d1d5db,#d1d5db);
    --atlas-modelled: var(--atlas-hue-amber-text);
    --atlas-snow-500-as-text: var(--c-94a3b8,#94a3b8);
    --atlas-snow-600-as-text: var(--c-cbd5e1,#cbd5e1);
    --atlas-snow-700-as-text: var(--c-cbd5e1,#cbd5e1);
    --atlas-gold-ink:         var(--c-fbbf24,#fbbf24);
    --atlas-gold-mark:        var(--c-fbbf24,#fbbf24);   /* [K30 2026-10-08] night: the lifted amber, 8.6:1 on a card */
    --atlas-decor-opacity:    1;
    --atlas-faint-on-sidebar: var(--c-8fa9c8,#8fa9c8);   /* faintest text on the always-dark semantic sidebar, night only (day keeps #6b8aaa) */
    --atlas-unlinked-opacity: 1;  /* the muted ink is already dim; .72 on top of it fell to 3.97:1 */
    /* [R6 2026-10-03] callout palette at night: a pale panel under the night text ink read 1.0:1 (callout__type). Tinted dark panel + lifted ink, >= 7:1. */
    --callout-blue-bg:   rgba(59,130,246,.14);  --callout-blue-text:   var(--c-dbeafe,#dbeafe);  --callout-blue-border:   rgba(147,197,253,.45);
    --callout-green-bg:  rgba(34,197,94,.13);   --callout-green-text:  var(--c-dcfce7,#dcfce7);  --callout-green-border:  rgba(134,239,172,.45);
    --callout-orange-bg: rgba(249,115,22,.14);  --callout-orange-text: var(--c-ffedd5,#ffedd5);  --callout-orange-border: rgba(253,186,116,.45);
    --callout-amber-bg:  rgba(245,158,11,.14);  --callout-amber-text:  var(--c-fef3c7,#fef3c7);  --callout-amber-border:  rgba(252,211,77,.45);
    --callout-red-bg:    rgba(239,68,68,.14);   --callout-red-text:    var(--c-fee2e2,#fee2e2);   --callout-red-border:    rgba(252,165,165,.45);
    --callout-purple-bg: rgba(139,92,246,.15);  --callout-purple-text: var(--c-ede9fe,#ede9fe);  --callout-purple-border: rgba(196,181,253,.45);
    --callout-teal-bg:   rgba(20,184,166,.14);  --callout-teal-text:   var(--c-ccfbf1,#ccfbf1);  --callout-teal-border:   rgba(94,234,212,.45);
    --atlas-faint-on-dark:    rgba(255,255,255,.62);
    --atlas-info-text:        var(--c-7dd3fc,#7dd3fc);
    --atlas-success-text:     var(--atlas-ok-as-text);
    --atlas-warning-text:     var(--atlas-warn-as-text);
    --atlas-error-text:       var(--atlas-danger-as-text);
    --atlas-surface-1:       var(--c-162033,#162033);
    --atlas-surface-2:        var(--c-1a2840,#1a2840);
    --atlas-surface-3:        var(--c-1e2f4a,#1e2f4a);
    --atlas-line-1:           var(--c-1e2f4a,#1e2f4a);
    --atlas-line-2:           var(--c-334155,#334155);
    --component-heading:   var(--atlas-navy-ink);      /* 1,637 color vs 14 background */
    --component-heading-color: var(--atlas-navy-ink);  /*    99 color vs  0 background */
    --component-title:     var(--atlas-navy-ink);      /*   183 color vs  0 background */
    --component-title-color:   var(--atlas-navy-ink);  /*    21 color vs  0 background */
    --ds-tx:               var(--atlas-navy-ink);      /*    25 color vs  0 background */
    --d4-text:             var(--atlas-navy-ink);      /*     9 color vs  0 background */
    --sn-heading:           var(--atlas-text);
    --atlas-bg-tint:        var(--c-1a2840,#1a2840);
    /* [X3 2026-09-22] at night the page itself is the dark surface, so the on-dark link IS the link */
    --atlas-link-on-dark:       var(--atlas-text-link);
    --atlas-link-on-dark-hover: var(--atlas-gold-light,#f59e0b);
    /* accents on dark (tint backgrounds go translucent) */
    --atlas-accent-bg:  var(--cr-8d792d51,rgba(37,99,235,.12));
    --atlas-gold-bg:    var(--cr-345338f3,rgba(217,119,6,.12));
    --atlas-success-bg: var(--cr-f778344c,rgba(22,163,74,.12));
    /* [PROBE-REGS 2026-10-18] the other status tints had no night value while their -text roles flip: light ink on a pale day tint */
    --atlas-error-bg:   rgba(248,113,113,.12);
    --atlas-warning-bg: rgba(251,191,36,.12);
    --atlas-info-bg:    rgba(34,211,238,.12);
    /* data viz */
    --atlas-chart-grid:  var(--atlas-border-on-dark);
    --atlas-chart-axis:  var(--c-94a3b8,#94a3b8);
    --atlas-chart-label: var(--c-94a3b8,#94a3b8);
    --atlas-chart-7:     var(--c-e2e8f0,#e2e8f0);
    --atlas-chart-tooltip-bg: var(--c-f8fafc,#f8fafc);
    --atlas-chart-tooltip-fg: var(--c-0f172a,#0f172a);
    /* elevation */
    --atlas-sh:    0 1px 6px var(--cr-9558e96b,rgba(0,0,0,.3)), 0 4px 20px var(--cr-0d740bdc,rgba(0,0,0,.25));
    --atlas-sh-lg: 0 4px 24px var(--cr-9558e96b,rgba(0,0,0,.3));
    /* [WCAG-1.4.3 2026-09-23] SURFACE tokens that had no night value. Measured with pa11y on 12 ski
       pages with prefers-color-scheme + data-theme=dark: light text (the night --atlas-text* set above)
       was landing on surfaces that stayed light because these names never flipped — 115 failures at
       #f1f5f9 on #f8fafc (ratio 1.05) alone. Every name below is a SURFACE by role (measured: 4,311 of
       4,888 --component-surface references are `background`), so flipping it is safe; a name that is
       predominantly `color:` (--atlas-white 334/437, --c-fff 2,622/3,264) is DELIBERATELY absent — see
       the remaining-work note in RESULT-WCAG-CONTRAST-TOKENS-20260923.md. */
    --component-surface:    var(--c-1a2840,#1a2840);
    --component-bg:         var(--c-162033,#162033);
    --component-bg-alt:     var(--c-1a2840,#1a2840);
    --component-bg-inset:   var(--c-1a2840,#1a2840);
    --color-surface:        var(--c-162033,#162033);
    --color-surface-subtle: var(--c-1a2840,#1a2840);
    --color-surface-inset:  var(--c-1a2840,#1a2840);
    --surface-tinted:       var(--c-1a2840,#1a2840);
    --surface-chart-tinted: var(--c-1a2840,#1a2840);
    --surface-subtle:       var(--c-1a2840,#1a2840);
    --surface-tint:         var(--c-1a2840,#1a2840);
    --bg-secondary:         var(--c-1a2840,#1a2840);
    --bg-inset:             var(--c-1a2840,#1a2840);
    --atlas-bg-surface:     var(--c-162033,#162033);
    --atlas-snow-50:        var(--c-162033,#162033);
    --atlas-snow-100:       var(--c-1a2840,#1a2840);
    --atlas-ice-50:         var(--c-1a2840,#1a2840);
    --sn-bg-card-tint:      var(--c-1a2840,#1a2840);
    --sn-bg-tint:           var(--c-1a2840,#1a2840);
    --en-surface-inset:     var(--c-1a2840,#1a2840);
    --en-surface-subtle:    var(--c-1a2840,#1a2840);
    --ga-ice-50:            var(--c-1a2840,#1a2840);
    --jn-ice-50:            var(--c-1a2840,#1a2840);
    --ap-ice-50:            var(--c-1a2840,#1a2840);
    --jn-bg:                var(--c-162033,#162033);
    --nvl-bg:               var(--c-162033,#162033);
    --arc-bg:               var(--c-162033,#162033);
    --ssr-bg:               var(--c-162033,#162033);
}

/* ═══ WCAG 2.1 AA DAY PALETTE — the contrast owner (2026-09-23) ═══════════════
   THE MEASUREMENT. pa11y 10 (HTML_CodeSniffer, WCAG2AA) over 12 ski pages: 869 colour-contrast
   failures in light mode, and ~92 % of every accessibility error the site has. They are not 869
   component bugs — they are FOURTEEN colour VALUES, each below 4.5:1 on the light surfaces it is
   printed on, reached through hundreds of aliases (--atlas-text-subtle, --ap-ice-300, --text-mute,
   --sdai-dim, --color-text-dimmed …) that all resolve to the same primitive.

   WHY THE FIX IS HERE AND NOT IN atlas-primitives.css. That file is the value owner, but it is
   MACHINE-REGENERATED (migrate-css-literals.php --gen rewrites it as one :root{} block), so a
   theme-scoped block placed there would be destroyed on the next regeneration. Its per-name VALUES
   are preserved by --gen, but a whole extra rule is not.

   WHY THE OVERRIDE IS DAY-SCOPED AND NOT A FLAT VALUE CHANGE. Each of these primitives serves BOTH
   polarities: --c-94a3b8 is "muted text on a light card" by day and "muted text on a dark card" at
   night (it is what the night block above points --atlas-text-muted at). Darkening the base value
   would fix 240 day failures and break every night one. :root:not([data-theme="dark"]) applies the
   AA value only while the page is in day, and the base value — untouched — is what night still reads.
   Specificity (0,3,0) beats the unlayered :root{} of the palette, so load order is irrelevant.

   Each value keeps its own HUE and saturation (HSL lightness lowered only) so no vertical loses its
   identity colour; the target surface is named per line. This block ships on every vertical, because
   the framework does. Ratios and the before/after per page: RESULT-WCAG-CONTRAST-TOKENS-20260923.md. */
:root:not([data-theme="dark"]):not([data-theme="night"]) {
  /* neutral muted text — 387 of 512 --c-94a3b8 references are `color:` */
  --c-94a3b8: #566884;   /* was #94a3b8 · 2.56:1 on white → 5.13:1 (4.54:1 on --atlas-bg-tint) */
  --c-64748b: #5a697e;   /* was #64748b · 4.76 → 5.11 (4.21 → 4.52 on the tint it kept failing on) */
  --c-6b7280: #5f6674;   /* was #6b7280 · 4.83 → 5.12 (4.28 → 4.53 on the tint) */
  --c-8895a3: #5b6b7d;   /* was #8895a3 · 3.05 → 4.52 */
  --c-888888: #6a6a6a;   /* was #888888 · 3.54 → 4.54 (the classic AA grey) */
  /* identity colours — hue kept, lightness lowered */
  --c-d97706: #9a5304;   /* brand amber · 3.19 → 4.76 on white; ALSO fixes white-on-gold buttons (symmetric) */
  --c-16a34a: #0f7a36;   /* success green · 3.30 → 4.72 */
  --c-22c55e: #137a3a;   /* success green 500 · 2.28 → 4.53 */
  --c-50c878: #217a3f;   /* chart green · 2.13 → 4.74 */
  --c-4a90d9: #2468b0;   /* chart blue · 3.34 → 4.93 */
  --c-0891b2: #057089;   /* chart cyan · 3.68 → 4.52 */
  --c-9b59b6: #8f4daa;   /* chart violet · 4.67 → 4.73 */
  --c-e76f51: #b34527;   /* terracotta · 3.09 → 4.60 */
  --c-ff6b6b: #c53333;   /* coral warning · 2.78 → 4.72 */
  /* PER-VERTICAL IDENTITY primitives. Measured one homepage per vertical: the shared neutrals above
     move ski, but winery / golf / hot-springs fail on their OWN brand tones, and each of these
     primitives is referenced by exactly ONE vertical's token sheet — so the contrast owner stays one
     block. A primitive shared by TWO verticals must NOT be added here: give it a day value inside
     that vertical's *-design-tokens.css instead, or the two identities drift together. */
  --c-b89878: #886848;   /* winery text-ghost · 2.69 → 5.10 on white (4.53 on the linen page bg) */
  --c-8a6a4a: #75573a;   /* winery text-soft · 4.95 → 6.60 — kept a step darker than ghost, ladder intact */
  --c-b08d57: #866a3f;   /* winery champagne (its --atlas-gold) · 3.09 → 5.06 */
  --c-6b7e6d: #5d6d5f;   /* golf ink-2 / muted · 4.35 → 5.50 */
  --c-8e8161: #7c7055;   /* golf snow-500 · 3.84 → 4.88 */
  --c-c17534: #a9662e;   /* hot-springs accent (its --atlas-gold) · 3.58 → 4.54, both polarities */
  /* [FRONT-CSS 2026-10-13 CSS2] tint margin: the values above were tuned to 4.5:1 on WHITE; the same text on a tinted card (#f2f5fb, #fef3c7, success/danger tints)
     measured 4.2-4.49 (adc-badge, atlas-finding__label, explore-nav__bar-count, llsm__era-badge, lb-chip, verdict-chip). Each is lowered a
     further step so it holds >= 4.5 on the lightest tint of its family. Day only: the base (night) values are untouched. */
  --c-2563eb: #1e55d9;   /* accent text on the accent tint 4.43 -> 5.4 (a.is-active in the explore nav) */
  --c-b45309: #a14808;   /* warn text on the warn tint 4.37 -> 5.1 */
  --c-15803d: #14753a;   /* success text/fill on the success tint 4.39 -> 5.0 */
  --c-dc2626: #c42323;   /* danger text on the danger tint 4.2 -> 4.9 */
}
}

/* ----------------------------------------------------------------------------
   2. RESET / NORMALIZE (lightweight — Pico-compatible additions)
   ---------------------------------------------------------------------------- */
@layer base {
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: var(--atlas-fs-base, 1rem);
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-base);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text);
  background: var(--atlas-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';   /* Inter stylistic alternates */
}
}

/* [X6 · CHROME-SINGLE-SOURCE 2026-09-22] This is the ONE `body` rule in the engine (the copies in
   ski-design-tokens.css and typography-and-navigation.css were deleted). The mobile step-down belongs to
   the same owner, so base type is answered in one place at every viewport. */
@layer components {
@media (max-width: 768px) {
  body { font-size: var(--atlas-fs-rem-0_9375); line-height: var(--atlas-lh-relaxed); }
}
}

@layer base {
img, svg, video { display: block; max-width: 100%; height: auto; }
}

/* CLS guard: reserve space before image dimensions are known */
/* [AB3 2026-09-22] The general guard for the "huge icon" class of bug. An inline `<svg viewBox="0 0 24 24">`
   with no width, no height and no class has NO intrinsic size: it takes its container's width and scales its
   height to the viewBox ratio. In a flex/grid cell that is the whole cell. It only looks right while some
   rule happens to give its parent a fixed box — so the day that rule loses a cascade fight (AB3:
   `.methodology-card__icon` declared in 3 sheets with two incompatible box models) the icon explodes.
   This caps the unclassed, unsized case at text size wherever it appears. It deliberately does NOT touch an
   svg that carries a class (a component sizing its own icon), attributes, or an explicit width/height. */
@layer components {
svg[viewBox]:not([width]):not([height]):not([class]) {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

/* [TM3/WS1 · CHROME-SINGLE-SOURCE 2026-09-22] THE PROSE CONTAINER OWNS THE MEASURE — see the token note.
   The container is capped once; its direct children are explicitly un-capped so a paragraph, a list or a
   blockquote cannot introduce a second, narrower column inside the first. Children that are genuinely a
   different kind of block (a figure, a table, an embedded component) keep their own sizing because they are
   not plain text-flow elements. */
.atlas-prose, .prose, .article-body, .topic-guide__body, .doc-body, .about-body, .static-prose {
  max-width: var(--atlas-measure-prose);
  margin-inline: auto;
}
.atlas-prose > :is(p, ul, ol, dl, h2, h3, h4, blockquote),
.prose > :is(p, ul, ol, dl, h2, h3, h4, blockquote),
.article-body > :is(p, ul, ol, dl, h2, h3, h4, blockquote),
.topic-guide__body > :is(p, ul, ol, dl, h2, h3, h4, blockquote),
.doc-body > :is(p, ul, ol, dl, h2, h3, h4, blockquote),
.about-body > :is(p, ul, ol, dl, h2, h3, h4, blockquote),
.static-prose > :is(p, ul, ol, dl, h2, h3, h4, blockquote) {
  max-width: none;
}
}

@layer base {
img:not([width]):not([height]) { aspect-ratio: 16 / 9; width: 100%; }
}

@layer components {
img.nearby-card__img, .nearby-card__media img { aspect-ratio: 4 / 3; width: 100%; }
img.gallery-card__img, img.video-card__thumbnail { aspect-ratio: 16 / 9; width: 100%; }

/* [X4/Q4 · CHROME-SINGLE-SOURCE 2026-09-22] The bare `a` / `a:hover` rules that used to sit here were
   DELETED, not edited. Three files declared the element selector `a` at identical specificity and all three
   were unlayered — this file, ski-design-tokens.css and typography-and-navigation.css — so which link
   colour and which hover a page got was decided by nothing but the order the bundle happened to put them
   in. That is the whole of "some pages underline card text in blue, others use orange" (X4), and it is why
   footer links looked wrong on one template and right on the next (ACA1).
   The single owner of the link contract is typography-and-navigation.css §Links. Do not re-declare a bare
   `a` here; change the owner, or change --atlas-link / --atlas-gold.
   `--atlas-text-link` / `--atlas-text-link-hover` stay defined above: they remain the tokens components
   use for scoped link colours, and the owner reads --atlas-link which resolves through them at night. */

/* == [FB-INK 2026-10-17 owner 35c part 3 item 1] THE READING-FLOOR CONTRACT ======================================================
   The avalanche checklist and its warning sentence (/verbier/snow/current-snow-report/) set at 12 px: the label rungs of the type ladder
   (--atlas-fs-micro / -tiny / -xs, all 12 px) were used for RUNNING TEXT. Measured on the 3 roster resorts at 1440: 1,860 running-text leaves
   below 14 px on 592 owner keys; 833 of them read --atlas-fs-tiny, 203 --atlas-fs-micro, the rest the -xs aliases.
   The cure is the ladder, not 592 component edits: inside a running-text element (a paragraph, a list item, a definition, a quote) the
   small rungs RESOLVE to the reading floor, so every component that sizes its sentences with a label rung reads at the floor, now and
   later. Labels keep 12 px: an element that is a note by role (source, footnote, caption, meta, stamp, method, provenance, eyebrow, legend,
   credit, disclaimer, hint, limits) is not re-pointed, and spans / divs (chips, badges, figures, axis labels) are not running text.
   It paints nothing and has zero specificity: a component that sets its own size with a body rung is untouched.
   Gate: reading-floor (served_reading_probe.js --measure=floor; the same note vocabulary, engine/config/reading-floor.json). */
@layer base {
  :where(main) :where(p, li, dd, blockquote):where(:not([class*="note"], [class*="source"], [class*="foot"], [class*="caption"], [class*="meta"], [class*="eyebrow"], [class*="kicker"], [class*="stamp"], [class*="prov"], [class*="method"], [class*="disclaim"], [class*="credit"], [class*="legend"], [class*="hint"], [class*="limits"], [class*="honesty"], [class*="trust"])) {
    --atlas-fs-micro: var(--atlas-fs-body-floor);
    --atlas-fs-tiny: var(--atlas-fs-body-floor);
    --atlas-fs-xs: var(--atlas-fs-body-floor);
    --atlas-fs-xxs: var(--atlas-fs-body-floor);
    --atlas-fs-2xs: var(--atlas-fs-body-floor);
    --font-xs: var(--atlas-fs-body-floor);
    --font-size-xs: var(--atlas-fs-body-floor);
    --text-xs: var(--atlas-fs-body-floor);
  }
}

/* == [X3 · CHROME-SINGLE-SOURCE 2026-09-22] THE DARK-SURFACE CONTRACT =========================
   One rule, in the base layer, that every dark box in the system opts into by carrying
   `data-surface="dark"` (or the legacy `.on-dark` / `.is-dark` class). It does not paint anything:
   it only re-points the link and text tokens for its own subtree, so a link dropped inside it by ANY
   component — including components written after today — is legible without that component knowing
   anything about the box. This is the alternative to 60 per-component link overrides.
   Anything that also flips --atlas-link locally (content-alternation.css slot D, the hero owner) is
   doing the same thing by hand; those are the same contract, not competitors.

   [ENGINE-FOLLOWUPS 2026-09-23] `.ic-card.dark` joins the legacy spellings. It is this house's
   name for "the navy rail card" and it is painted by SIX different stylesheets
   (atlas-content-system, dining-nightlife, lift-network-signature, route-ladder-signature,
   ski-school-signature, …). Adding it here — where the rule paints nothing and only re-points
   tokens — is one line that makes every link any component drops into any of those six boxes
   legible, instead of six copies of the same three declarations. The measured case: the
   classless "Le Châble TV" link in the Live-transit card on /{resort}/transportation/. */
/* [WCAG-1.4.3 2026-09-23] `.site-footer` joins, and the MUTED text names + --atlas-gold now re-point
   too. The AA day palette above is tuned for LIGHT surfaces; on a dark box the same greys go the wrong
   way — measured, the footer's muted line fell 5.9:1 → 3.4:1 (23 of the 49 new failures the day palette
   introduced, all of them in the footer). The cure is the contract, not a footer-local colour. */
/* [FB-INK 2026-10-17 owner 35c P2-1/3] the snow readout's navy boxes (season-shape chart, go verdict, readout hero) join: their month labels,
   captions, verdict line and donut score read --atlas-text and printed light-page ink on navy (1.16:1, ~20 leaves per snow page). The slopes
   gradient stage joins too: its shared chart frame (atlas-chart y-axis title) read the page ink on the navy stage (found by the extended probe). */
[data-surface="dark"], .on-dark, .is-dark, .ic-card.dark, .bh-champ, .champ, .clb-champ, .site-footer, .sil-pcard-head, .semantic-sidebar .ssb, .data-component, .split-data, .ovw .rc, .ov-score, .bucket-row[data-slot="D"], .oppm-card, .snow-mc :is(.seasonchart, .verdict, .snow-hero), .terrain-sig .gp-stage {
  /* [ZC3 2026-10-03] the contract now re-points the TEXT ROLES too (--atlas-ink-*, navy-ink, *-as-text, gold-ink), not only the
     text/link tokens: a component nested in an always-dark panel that reads a role (the sidebar cards)
     was dark-on-dark in light mode. `.ssb`, `.data-component`, `.split-data` join: each paints itself dark in both modes.
     [PASS28] `.tsyn` (trip synthesizer) LEFT the contract: it is an ordinary page surface now (light in light mode); `.sil-pcard-head`
     (the navy ski-pass card header) JOINED: a link inside it was link-blue on navy. */
  --atlas-chart-frame-bg:  transparent;                 /* [PROBE-REGS 2026-10-18] a chart frame takes the dark box it sits in, never a white card under on-dark ink */
  --text-primary:          var(--atlas-text-on-dark);   /* [DESIGN-2] the chart frame and svg labels read these: they must follow the box too */
  --text-secondary:        var(--atlas-text-on-dark-muted);
  --text-muted:            var(--atlas-text-on-dark-muted);
  --atlas-ink-1:           var(--atlas-text-on-dark);
  --atlas-ink-2:           var(--atlas-text-on-dark);
  --atlas-ink-3:           var(--atlas-text-on-dark-muted);
  --atlas-ink-4:           var(--atlas-text-on-dark-muted);
  --atlas-ink-5:           var(--atlas-text-on-dark-muted);
  --atlas-navy-ink:        var(--atlas-text-on-dark);
  --atlas-accent-as-text:  var(--atlas-link-on-dark);
  --atlas-accent-bright-as-text: var(--atlas-link-on-dark);
  --atlas-gold-ink:        var(--atlas-accent-on-dark);   /* [PASS30 B30] was gold-light (mid amber, 3.7:1 on the hot-springs brown); the on-dark accent is per-vertical AA */
  --atlas-gold-as-text:    var(--atlas-accent-on-dark);
  --atlas-ok-as-text:      var(--atlas-ok-on-dark);
  --atlas-ok-ink:          var(--atlas-ok-on-dark);
  --atlas-success-text:    var(--atlas-ok-on-dark);
  --atlas-warn-as-text:    var(--atlas-warn-on-dark);
  --atlas-warning-text:    var(--atlas-warn-on-dark);
  --atlas-danger-as-text:  var(--atlas-danger-on-dark);
  --atlas-error-text:      var(--atlas-danger-on-dark);
  --atlas-link:            var(--atlas-link-on-dark);
  --atlas-text-link:       var(--atlas-link-on-dark);
  --atlas-text-link-hover: var(--atlas-link-on-dark-hover);
  --atlas-heading:         var(--atlas-text-on-dark);
  --atlas-text:            var(--atlas-text-on-dark);
  --atlas-text-muted:      var(--atlas-text-on-dark-muted);
  --atlas-text-secondary:  var(--atlas-text-on-dark-muted);
  --atlas-text-subtle:     var(--atlas-text-on-dark-muted);
  --atlas-muted:           var(--atlas-text-on-dark-muted);
  --atlas-snow-400:        var(--atlas-text-on-dark-muted);
  /* [FRONT-CONTRAST 2026-10-14] the hue TEXT roles follow the box too: inside an always-dark box they take the theme-fixed on-dark shade */
  --atlas-hue-red-text: var(--atlas-hue-red-on-dark);
  --atlas-hue-orange-text: var(--atlas-hue-orange-on-dark);
  --atlas-hue-amber-text: var(--atlas-hue-amber-on-dark);
  --atlas-hue-yellow-text: var(--atlas-hue-yellow-on-dark);
  --atlas-hue-lime-text: var(--atlas-hue-lime-on-dark);
  --atlas-hue-green-text: var(--atlas-hue-green-on-dark);
  --atlas-hue-emerald-text: var(--atlas-hue-emerald-on-dark);
  --atlas-hue-teal-text: var(--atlas-hue-teal-on-dark);
  --atlas-hue-cyan-text: var(--atlas-hue-cyan-on-dark);
  --atlas-hue-sky-text: var(--atlas-hue-sky-on-dark);
  --atlas-hue-blue-text: var(--atlas-hue-blue-on-dark);
  --atlas-hue-indigo-text: var(--atlas-hue-indigo-on-dark);
  --atlas-hue-violet-text: var(--atlas-hue-violet-on-dark);
  --atlas-hue-purple-text: var(--atlas-hue-purple-on-dark);
  --atlas-hue-pink-text: var(--atlas-hue-pink-on-dark);
  --atlas-hue-grey-text: var(--atlas-hue-grey-on-dark);
  /* series text inside an always-dark box mixes toward the on-dark ink */
  --chart-color-1-text: color-mix(in srgb, var(--chart-color-1, var(--atlas-chart-1, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-2-text: color-mix(in srgb, var(--chart-color-2, var(--atlas-chart-2, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-3-text: color-mix(in srgb, var(--chart-color-3, var(--atlas-chart-3, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-4-text: color-mix(in srgb, var(--chart-color-4, var(--atlas-chart-4, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-5-text: color-mix(in srgb, var(--chart-color-5, var(--atlas-chart-5, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-6-text: color-mix(in srgb, var(--chart-color-6, var(--atlas-chart-6, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-7-text: color-mix(in srgb, var(--chart-color-7, var(--atlas-chart-7, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --chart-color-8-text: color-mix(in srgb, var(--chart-color-8, var(--atlas-chart-8, var(--atlas-hue-grey))) 40%, var(--atlas-text-on-dark));
  --sn-subtle:             var(--atlas-text-on-dark-muted);
  --atlas-gold:            var(--atlas-gold-light,#f59e0b);
  --atlas-border:          var(--atlas-border-on-dark);
  /* [CM1 2026-09-23] The vs medallion joins the contract rather than carrying a second
     theme of its own. Its disc is the navy end of the scale, which is invisible ON a navy
     band; inside a dark box the polarity flips and the ring drops, because there is no
     card edge to hold. Three lines here instead of a per-surface override on every
     compare hero. */
  --vs-disc:               var(--atlas-text-on-dark);
  --vs-ink:                var(--atlas-on-fill-dark);
  --vs-ring:               transparent;
}

:focus-visible {
  outline: none;
  box-shadow: var(--atlas-shadow-focus);
  border-radius: var(--atlas-radius-sm);
}

/* ----------------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------------------- */
.atlas-display {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-4xl);
  font-weight: var(--atlas-fw-black);
  line-height: var(--atlas-lh-tight);
  letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-text);
}
@media (min-width: 768px) {
  .atlas-display { font-size: var(--atlas-fs-5xl); }
}
@media (min-width: 1200px) {
  .atlas-display { font-size: var(--atlas-fs-6xl); }
}

.atlas-h1 {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-3xl);
  font-weight: var(--atlas-fw-bold);
  line-height: var(--atlas-lh-tight);
  letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-text);
  margin: 0 0 var(--atlas-space-4);
}
@media (min-width: 768px) { .atlas-h1 { font-size: var(--atlas-fs-4xl); } }

.atlas-h2 {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-2xl);
  font-weight: var(--atlas-fw-bold);
  line-height: var(--atlas-lh-snug);
  letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-text);
  margin: 0 0 var(--atlas-space-3);
}
@media (min-width: 768px) { .atlas-h2 { font-size: var(--atlas-fs-3xl); } }

.atlas-h3 {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-xl);
  font-weight: var(--atlas-fw-semibold);
  line-height: var(--atlas-lh-snug);
  color: var(--atlas-text);
  margin: 0 0 var(--atlas-space-3);
}
@media (min-width: 768px) { .atlas-h3 { font-size: var(--atlas-fs-2xl); } }

.atlas-h4 {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-lg);
  font-weight: var(--atlas-fw-semibold);
  line-height: var(--atlas-lh-snug);
  color: var(--atlas-text);
  margin: 0 0 var(--atlas-space-2);
}

.atlas-body { font-size: var(--atlas-fs-base); line-height: var(--atlas-lh-relaxed); color: var(--atlas-text); }
.atlas-body-sm { font-size: var(--atlas-fs-sm); line-height: var(--atlas-lh-normal); color: var(--atlas-text-secondary); }

.atlas-label {
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
  line-height: var(--atlas-lh-normal);
}

.atlas-muted   { color: var(--atlas-text-muted); }
.atlas-subtle  { color: var(--atlas-text-subtle); }
.atlas-link    { color: var(--atlas-text-link); }

/* Data-formatted numbers — JetBrains Mono with tabular figures */
.atlas-data {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
  font-weight: var(--atlas-fw-medium);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}
.atlas-data--xl  { font-size: var(--atlas-fs-4xl); font-weight: var(--atlas-fw-bold); line-height: var(--atlas-lh-none); letter-spacing: var(--atlas-ls-tight); }
.atlas-data--lg  { font-size: var(--atlas-fs-3xl); font-weight: var(--atlas-fw-bold); line-height: var(--atlas-lh-tight);  letter-spacing: var(--atlas-ls-tight); }
.atlas-data--md  { font-size: var(--atlas-fs-xl);  font-weight: var(--atlas-fw-semibold); }
.atlas-data--sm  { font-size: var(--atlas-fs-sm); }

.atlas-trend-up   { color: var(--atlas-ok-as-text); }
.atlas-trend-down { color: var(--atlas-danger-as-text); }
.atlas-trend-flat { color: var(--atlas-text-muted); }

/* ----------------------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------------------- */
/* [FB-INK 2026-10-17 owner 35c "no gap after the table"] the container centres itself (inline margins) and leaves its BLOCK margins to the one
   section-stack rhythm (main > block + block, chrome layer). `margin: 0 auto` zeroed them from the components layer, so every container that
   followed another block in <main> touched it (/night-skiing/ table -> distribution chart, /passes/ table -> spread chart: 0 px). */
.atlas-container {
  width: 100%;
  max-width: var(--atlas-max-content);
  margin-inline: auto;
  padding-left: var(--atlas-page-gutter);
  padding-right: var(--atlas-page-gutter);
}

.atlas-section { padding: var(--atlas-section-gap) 0; }
.atlas-section--lg { padding: var(--atlas-section-gap-lg) 0; }

/* Narrow reading-width block (~65ch / 680px) for editorial lede prose */
.atlas-container--narrow {
  width: 100%;
  max-width: var(--atlas-measure-lede);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--atlas-page-gutter);
  padding-right: var(--atlas-page-gutter);
}

/* Section image strip (injected by ImageService) */
.atlas-section-images {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.atlas-section-image {
  flex: 1 1 calc(33% - 0.75rem);
  min-width: 160px;
  max-width: 320px;
  margin: 0;
}
.atlas-section-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--atlas-radius, 6px);
  display: block;
}
.atlas-section-image figcaption {
  font-size: var(--atlas-fs-micro,0.75rem);
  color: var(--atlas-text-muted, #888);
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-stack > * + * { margin-top: var(--atlas-component-gap); }

.atlas-grid {
  display: grid;
  gap: var(--atlas-component-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .atlas-grid--2 { grid-template-columns: repeat(2, 1fr); }
                             .atlas-grid--3 { grid-template-columns: repeat(2, 1fr); }
                             .atlas-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .atlas-grid--3 { grid-template-columns: repeat(3, 1fr); }
                             .atlas-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------------------------------------------------------
   5. CARD — base for every data component
   ---------------------------------------------------------------------------- */
.atlas-card {
  background: var(--atlas-bg-card);
  border: var(--atlas-bw-1) solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-card-padding);
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition), border-color var(--atlas-transition);
  position: relative;
}

.atlas-card:hover {
  box-shadow: var(--atlas-shadow-card-hover);
  border-color: var(--atlas-border-strong);
  transform: var(--atlas-hover-lift);
}

.atlas-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--atlas-space-3);
  padding-bottom: var(--atlas-space-3);
  margin-bottom: var(--atlas-space-4);
  border-bottom: var(--atlas-bw-1) solid var(--atlas-divider);
}

.atlas-card__title {
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
  margin: 0;
}

.atlas-card__freshness {
  font-size: var(--atlas-fs-micro);
  color: var(--atlas-text-subtle);
  font-family: var(--atlas-font-data);
}

.atlas-card__body { font-size: var(--atlas-fs-base); color: var(--atlas-text-secondary); }

.atlas-card__value-primary {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-4xl);
  font-weight: var(--atlas-fw-bold);
  line-height: var(--atlas-lh-none);
  letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-text);
  display: block;
}

.atlas-card__value-secondary {
  font-size: var(--atlas-fs-base);
  color: var(--atlas-accent);
  font-weight: var(--atlas-fw-semibold);
  margin-top: var(--atlas-space-1);
}

.atlas-card__context {
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-muted);
  margin-top: var(--atlas-space-2);
  line-height: var(--atlas-lh-normal);
}

.atlas-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--atlas-space-3);
  margin-top: var(--atlas-space-4);
  padding-top: var(--atlas-space-3);
  border-top: var(--atlas-bw-1) solid var(--atlas-divider);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-muted);
}

/* Variant: card with accent left border (premium feel — score cards, hero data) */
.atlas-card--accent {
  border-left: var(--atlas-bw-3) solid var(--atlas-accent);
}
.atlas-card--accent-success { border-left: var(--atlas-bw-3) solid var(--atlas-success); }
.atlas-card--accent-warning { border-left: var(--atlas-bw-3) solid var(--atlas-warning); }
.atlas-card--accent-error   { border-left: var(--atlas-bw-3) solid var(--atlas-error); }

/* Variant: tinted (slightly grey) — for grouping nested cards */
.atlas-card--tinted { background: var(--atlas-bg-card-tint); }

/* Variant: compact — denser data tables, sidebar widgets */
.atlas-card--compact { padding: var(--atlas-card-padding-compact); }

/* Variant: spacious — hero data, AI explanation panels */
.atlas-card--spacious { padding: var(--atlas-card-padding-spacious); }

/* Variant: flat — no shadow, used inside other cards */
.atlas-card--flat { box-shadow: none; }
.atlas-card--flat:hover { box-shadow: none; transform: none; }

/* Variant: hero — full-width feature card with gradient top border */
.atlas-card--hero {
  padding: var(--atlas-card-padding-spacious);
  border-radius: var(--atlas-radius-xl);
  position: relative;
  overflow: hidden;
}
.atlas-card--hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--atlas-accent), var(--atlas-ice));
}

/* ----------------------------------------------------------------------------
   6. BADGE — inline indicators, status pills, chip-style data
   ---------------------------------------------------------------------------- */
.atlas-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--atlas-space-1);
  padding: var(--atlas-space-1) var(--atlas-space-3);
  border-radius: var(--atlas-radius-pill);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wide);
  line-height: var(--atlas-lh-normal);
  white-space: nowrap;
  vertical-align: middle;
  background: var(--atlas-snow-100);
  color: var(--atlas-text-secondary);
  border: var(--atlas-bw-1) solid var(--atlas-border);
}

.atlas-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.atlas-badge__icon { width: 14px; height: 14px; flex-shrink: 0; }

/* Semantic variants — soft tinted backgrounds, readable on white */
.atlas-badge--success { background: var(--atlas-success-bg); color: var(--atlas-success-text); border-color: transparent; }
.atlas-badge--warning { background: var(--atlas-warning-bg); color: var(--atlas-warning-text); border-color: transparent; }
.atlas-badge--error   { background: var(--atlas-error-bg);   color: var(--atlas-error-text);   border-color: transparent; }
.atlas-badge--info    { background: var(--atlas-info-bg);    color: var(--atlas-info-text);    border-color: transparent; }
.atlas-badge--accent  { background: var(--atlas-accent-bg);  color: var(--atlas-accent-700);   border-color: transparent; }
.atlas-badge--summit  { background: var(--atlas-summit-bg);  color: var(--atlas-summit);       border-color: transparent; }

/* Solid variant — for emphasis (hero badges, primary CTAs) */
.atlas-badge--solid { background: var(--atlas-navy-surface); color: var(--atlas-text-inverse); border-color: transparent; }
.atlas-badge--solid-accent { background: var(--atlas-accent); color: var(--atlas-text-inverse); border-color: transparent; }

/* Outline variant */
.atlas-badge--outline { background: transparent; }

/* Data badge — uses monospace for inline numbers (e.g. "127cm") */
.atlas-badge--data {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  letter-spacing: 0;
}

/* Size variants */
.atlas-badge--sm { padding: 2px var(--atlas-space-2); font-size: var(--atlas-fs-micro); }
.atlas-badge--lg { padding: var(--atlas-space-2) var(--atlas-space-4); font-size: var(--atlas-fs-sm); }

/* ----------------------------------------------------------------------------
   7. CHART CONTAINER — wraps Chart.js, D3, custom SVG
   ---------------------------------------------------------------------------- */
.atlas-chart {
  /* [PROBE-REGS 2026-10-18] the frame's card fill is a token the dark-surface contract clears: a chart inside an always-dark
     stage (terrain gp-stage) painted a white card under the contract's on-dark ticks (1.10:1). Light pages keep the card. */
  background: var(--atlas-chart-frame-bg, var(--atlas-bg-card));
  border: var(--atlas-bw-1) solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-card-padding);
  box-shadow: var(--atlas-shadow-card);
}

.atlas-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--atlas-space-3);
  margin-bottom: var(--atlas-space-4);
}

.atlas-chart__title {
  font-size: var(--atlas-fs-base);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text);
  margin: 0;
}

.atlas-chart__subtitle {
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-muted);
  margin-top: var(--atlas-space-1);
}

.atlas-chart__canvas {
  position: relative;
  width: 100%;
  height: 240px;
}

@media (min-width: 768px)  { .atlas-chart__canvas { height: 300px; } }
@media (min-width: 1200px) { .atlas-chart__canvas { height: 360px; } }

/* Tall variant — for histograms, time series with many years */
.atlas-chart__canvas--tall { height: 320px; }
@media (min-width: 1200px) { .atlas-chart__canvas--tall { height: 480px; } }

/* Square — for radar / spider charts */
.atlas-chart__canvas--square { aspect-ratio: 1 / 1; height: auto; max-height: 480px; }

.atlas-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--atlas-space-4);
  margin-top: var(--atlas-space-4);
  padding-top: var(--atlas-space-3);
  border-top: var(--atlas-bw-1) solid var(--atlas-divider);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-muted);
}

.atlas-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--atlas-space-2);
}

.atlas-chart__legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: var(--atlas-radius-sm);
  background: var(--atlas-chart-1);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------------------
   8. CALLOUT — Layer 2 synthesis, Layer 3 profile panel, alerts
   ---------------------------------------------------------------------------- */
.atlas-callout {
  display: flex;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-5);
  border-radius: var(--atlas-radius-md);
  border-left: var(--atlas-bw-4) solid var(--atlas-accent);
  background: var(--atlas-accent-bg);
  color: var(--atlas-text);
}

.atlas-callout__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--atlas-accent);
  margin-top: 0.15em;
}

.atlas-callout__body { flex: 1; min-width: 0; }

.atlas-callout__title {
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-accent-700);
  margin: 0 0 var(--atlas-space-2);
}

.atlas-callout__text {
  font-size: var(--atlas-fs-base);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text);
  margin: 0;
}

/* Layer 2 — Gold synthesis callout (one per section, top-of-section) */
.atlas-callout--synthesis {
  border-left-color: var(--atlas-gold);
  background: var(--atlas-gold-bg);
}
.atlas-callout--synthesis .atlas-callout__icon  { color: var(--atlas-gold); }
.atlas-callout--synthesis .atlas-callout__title { color: var(--atlas-gold-ink); }

/* Layer 3 — Navy traveler profile panel (full-width, bottom-of-section) */
.atlas-callout--profile {
  background: var(--atlas-navy-50);
  border-left-color: var(--atlas-navy);
  padding: var(--atlas-space-6);
}
.atlas-callout--profile .atlas-callout__icon  { color: var(--atlas-navy-ink); }
.atlas-callout--profile .atlas-callout__title { color: var(--atlas-navy-ink); }

/* Semantic variants */
.atlas-callout--success { border-left-color: var(--atlas-success); background: var(--atlas-success-bg); }
.atlas-callout--success .atlas-callout__icon, .atlas-callout--success .atlas-callout__title { color: var(--atlas-success-text); }

.atlas-callout--warning { border-left-color: var(--atlas-warning); background: var(--atlas-warning-bg); }
.atlas-callout--warning .atlas-callout__icon, .atlas-callout--warning .atlas-callout__title { color: var(--atlas-warning-text); }

.atlas-callout--error { border-left-color: var(--atlas-error); background: var(--atlas-error-bg); }
.atlas-callout--error .atlas-callout__icon, .atlas-callout--error .atlas-callout__title { color: var(--atlas-error-text); }

/* ----------------------------------------------------------------------------
   9. BUTTON — primary, secondary, ghost
   ---------------------------------------------------------------------------- */
.atlas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--atlas-space-2);
  padding: var(--atlas-space-3) var(--atlas-space-5);
  border-radius: var(--atlas-radius-md);
  border: var(--atlas-bw-1) solid transparent;
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-semibold);
  line-height: var(--atlas-lh-data);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--atlas-transition-fast), color var(--atlas-transition-fast),
              border-color var(--atlas-transition-fast), transform var(--atlas-transition-fast),
              box-shadow var(--atlas-transition-fast);
  white-space: nowrap;
}

.atlas-btn:hover { transform: var(--atlas-hover-lift); text-decoration: none; }
.atlas-btn:active { transform: translateY(0); }
.atlas-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.atlas-btn--primary {
  background: var(--atlas-accent);
  /* [ACCENT-INK 2026-09-24] on-accent ink, NOT the theme-relative --atlas-text-inverse (identical white by
     day; --atlas-text-inverse flips to near-black at night while this button stays accent-blue). */
  color: var(--atlas-accent-ink);
}
.atlas-btn--primary:hover { background: var(--atlas-accent-700); color: var(--atlas-accent-ink); }

.atlas-btn--secondary {
  background: var(--atlas-bg-card);
  color: var(--atlas-text);
  border-color: var(--atlas-border-strong);
}
.atlas-btn--secondary:hover { background: var(--atlas-bg-card-hover); color: var(--atlas-text); }

.atlas-btn--ghost {
  background: transparent;
  color: var(--atlas-accent);
}
.atlas-btn--ghost:hover { background: var(--atlas-accent-bg); color: var(--atlas-accent-700); }

.atlas-btn--navy {
  background: var(--atlas-navy-surface);
  color: var(--atlas-text-inverse);
}
.atlas-btn--navy:hover { background: var(--atlas-navy-700); color: var(--atlas-text-inverse); }

.atlas-btn--sm { padding: var(--atlas-space-2) var(--atlas-space-4); font-size: var(--atlas-fs-tiny); }
.atlas-btn--lg { padding: var(--atlas-space-4) var(--atlas-space-6); font-size: var(--atlas-fs-base); }
.atlas-btn--block { display: flex; width: 100%; }

/* ----------------------------------------------------------------------------
   10. SCORE RING — circular gauge (used by score-card components)
   ---------------------------------------------------------------------------- */
.atlas-score-ring {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.atlas-score-ring__svg { transform: rotate(-90deg); }
.atlas-score-ring__track { stroke: var(--atlas-border); fill: none; }
.atlas-score-ring__fill {
  stroke: var(--atlas-accent);
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 1200ms cubic-bezier(0.65, 0, 0.35, 1);
}

.atlas-score-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.atlas-score-ring__value {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-3xl);
  font-weight: var(--atlas-fw-bold);
  line-height: var(--atlas-lh-none);
  color: var(--atlas-text);
}

.atlas-score-ring__suffix {
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-muted);
  margin-top: 2px;
  letter-spacing: var(--atlas-ls-wide);
}

.atlas-score-ring__tier {
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
  margin-top: var(--atlas-space-2);
}

/* Score tier coloring (set by class on the ring container) */
.atlas-score-ring--exceptional .atlas-score-ring__fill { stroke: var(--atlas-score-exceptional); }
.atlas-score-ring--good        .atlas-score-ring__fill { stroke: var(--atlas-score-good); }
.atlas-score-ring--average     .atlas-score-ring__fill { stroke: var(--atlas-score-average); }
.atlas-score-ring--below       .atlas-score-ring__fill { stroke: var(--atlas-score-below); }
.atlas-score-ring--poor        .atlas-score-ring__fill { stroke: var(--atlas-score-poor); }

/* ----------------------------------------------------------------------------
   11. DATA TABLE — comparison rows, ranking lists
   ---------------------------------------------------------------------------- */
.atlas-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--atlas-radius-lg);
  border: var(--atlas-bw-1) solid var(--atlas-border);
  background: var(--atlas-bg-card);
}

.atlas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--atlas-fs-sm);
}

.atlas-table thead th {
  text-align: left;
  padding: var(--atlas-space-3) var(--atlas-space-4);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
  background: var(--atlas-bg-card-tint);
  border-bottom: var(--atlas-bw-1) solid var(--atlas-border);
  white-space: nowrap;
}

.atlas-table tbody td {
  padding: var(--atlas-space-3) var(--atlas-space-4);
  border-bottom: var(--atlas-bw-1) solid var(--atlas-divider);
  color: var(--atlas-text-secondary);
  vertical-align: middle;
}

.atlas-table tbody tr:last-child td { border-bottom: 0; }
.atlas-table tbody tr:hover { background: var(--atlas-bg-card-hover); }

.atlas-table__cell--num {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  text-align: right;
  color: var(--atlas-text);
  font-weight: var(--atlas-fw-medium);
}

.atlas-table__cell--rank {
  font-family: var(--atlas-font-data);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
  width: 1%;
  white-space: nowrap;
}

/* Sticky first column on mobile */
@media (max-width: 767px) {
  .atlas-table th:first-child,
  .atlas-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--atlas-bg-card);
    z-index: 1;
    box-shadow: 1px 0 0 var(--atlas-divider);
  }
  .atlas-table thead th:first-child { background: var(--atlas-bg-card-tint); }
}

/* ----------------------------------------------------------------------------
   12. UTILITIES (minimal — prefer semantic component classes)
   ---------------------------------------------------------------------------- */
.atlas-sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.atlas-flex      { display: flex; }
.atlas-flex-col  { display: flex; flex-direction: column; }
.atlas-items-center { align-items: center; }
.atlas-justify-between { justify-content: space-between; }
.atlas-gap-1 { gap: var(--atlas-space-1); }
.atlas-gap-2 { gap: var(--atlas-space-2); }
.atlas-gap-3 { gap: var(--atlas-space-3); }
.atlas-gap-4 { gap: var(--atlas-space-4); }

/* ----------------------------------------------------------------------------
   13. ACCESSIBILITY — reduced motion, high contrast
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .atlas-card:hover { transform: none; }
  .atlas-btn:hover  { transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --atlas-border:        var(--c-94a3b8,#94a3b8);
    --atlas-border-strong: var(--c-475569,#475569);
    --atlas-text-muted:    var(--c-334155,#334155);
  }
}

/* Print — keep it readable, drop shadows */
@media print {
  body { background: white; color: black; }
  .atlas-card { box-shadow: none; border: 1px solid var(--c-999,#999); break-inside: avoid; }
  .atlas-chart, .atlas-table-wrapper { break-inside: avoid; }
}

/* ============================================================================
   14. TRANSPORTATION MODULE (T07, T08)
   ========================================================================== */

/* ---------- Journey overview (3 anchor stops) ---------------------------- */
.journey-overview { margin-bottom: var(--atlas-space-8); }

.journey-stops {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 1024px) {
  .journey-stops {
    grid-template-columns: 1fr 60px 1fr 60px 1fr;
    align-items: stretch;
  }
}

.journey-stop {
  display: flex; align-items: center; gap: var(--atlas-space-3);
  padding: var(--atlas-space-4);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  box-shadow: var(--atlas-shadow-card);
}
.journey-stop--anchor {
  background: var(--atlas-navy-surface);
  border-color: var(--atlas-navy);
  color: var(--atlas-text-inverse);
}
.journey-stop--anchor .atlas-label,
.journey-stop--anchor .atlas-muted,
.journey-stop--anchor .atlas-body-sm { color: var(--cr-3d5e1fb3,rgba(255,255,255,0.75)); }
.journey-stop--anchor .journey-stop__name,
.journey-stop--anchor .atlas-data { color: var(--atlas-text-inverse); }

.journey-stop__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--atlas-snow-100); color: var(--atlas-accent);
  flex-shrink: 0;
}
.journey-stop__icon--anchor { background: var(--cr-760d5a35,rgba(255,255,255,0.15)); color: var(--atlas-white); }

.journey-stop__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.journey-stop__name { font-family: var(--atlas-font-heading); font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-lg); margin: 0; line-height: var(--atlas-lh-tight); }

.journey-stop__metrics { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.journey-stop__metrics .atlas-data { line-height: var(--atlas-lh-none); }

.journey-stop--connector {
  display: none; padding: 0; background: transparent; border: none; box-shadow: none;
  align-items: center; justify-content: center;
}
@media (min-width: 1024px) {
  .journey-stop--connector { display: flex; }
}
.journey-stop__line {
  width: 100%; height: 2px;
  background-image: linear-gradient(to right, var(--atlas-border-strong) 50%, transparent 0%);
  background-size: 8px 2px; background-repeat: repeat-x;
}

/* ---------- Mode tabs ---------------------------------------------------- */
.mode-tabs-section { margin-bottom: var(--atlas-space-8); }

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--atlas-space-2);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-space-2);
  margin-bottom: var(--atlas-space-6);
}
@media (min-width: 768px)  { .mode-tabs { grid-template-columns: repeat(5, 1fr); } }

.mode-tab {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--atlas-space-1);
  padding: var(--atlas-space-3) var(--atlas-space-2);
  border-radius: var(--atlas-radius-md);
  text-decoration: none; color: var(--atlas-text-secondary);
  text-align: center;
  border: 1px solid transparent;
  background: transparent;
  transition: background var(--atlas-transition-fast), border-color var(--atlas-transition-fast), color var(--atlas-transition-fast);
}
.mode-tab:hover { color: var(--atlas-text); background: var(--component-bg); border-color: var(--atlas-border); text-decoration: none; }
.mode-tab__icon { color: var(--atlas-text-muted); display: inline-flex; }
.mode-tab__name { font-weight: var(--atlas-fw-semibold); font-size: var(--atlas-fs-sm); color: inherit; }
.mode-tab__hint { font-size: var(--atlas-fs-tiny); margin-top: 2px; }

.mode-tab--active {
  background: var(--component-bg);
  border-color: var(--atlas-accent);
  box-shadow: var(--atlas-shadow-card);
  color: var(--atlas-accent);
}
.mode-tab--active .mode-tab__icon,
.mode-tab--active .mode-tab__name { color: var(--atlas-accent); }
.mode-tab--active .mode-tab__hint { color: var(--atlas-text-secondary); }

/* ---------- Mode panel --------------------------------------------------- */
.mode-panel { display: flex; flex-direction: column; gap: var(--atlas-space-5); }
.mode-panel--inactive { display: none; }
.mode-panel__head {
  display: flex; align-items: start; justify-content: space-between;
  flex-wrap: wrap; gap: var(--atlas-space-3);
  padding-bottom: var(--atlas-space-3);
  border-bottom: 1px solid var(--atlas-divider);
}
.mode-panel__head > div:first-child { display: flex; flex-direction: column; gap: var(--atlas-space-1); min-width: 0; }
.mode-panel__head h2 { margin: 0; }
.mode-panel__lede { margin: 0; font-size: var(--atlas-fs-base); }

/* ---------- Origin distance list ----------------------------------------- */

/* ---------- Status list (live road conditions) -------------------------- */
.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.status-list__row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: var(--atlas-space-3); align-items: center;
  padding: var(--atlas-space-2) 0;
  border-bottom: 1px dashed var(--atlas-divider);
}
.status-list__row:last-child { border-bottom: 0; }
.status-list__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-list__dot--ok   { background: var(--atlas-success); box-shadow: 0 0 0 3px var(--cr-267903e1,rgba(22, 163, 74, 0.12)); }
.status-list__dot--warn { background: var(--atlas-warning); box-shadow: 0 0 0 3px var(--cr-9a992df3,rgba(217, 119, 6, 0.15)); }
.status-list__dot--bad  { background: var(--atlas-error);   box-shadow: 0 0 0 3px var(--cr-9a5e8d12,rgba(220, 38, 38, 0.12)); }
.status-list__label { font-size: var(--atlas-fs-sm); color: var(--atlas-text); font-weight: var(--atlas-fw-medium); }

/* ---------- CO2 comparison ---------------------------------------------- */
.co2-card { padding: var(--atlas-space-6); }
.co2-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--atlas-space-3); }
.co2-bar {
  display: grid; grid-template-columns: 220px 1fr 70px;
  gap: var(--atlas-space-3); align-items: center;
}
@media (max-width: 640px) {
  .co2-bar { grid-template-columns: 1fr; gap: var(--atlas-space-1); }
  .co2-bar__value { text-align: right; }
}
.co2-bar__label { font-size: var(--atlas-fs-sm); color: var(--atlas-text); font-weight: var(--atlas-fw-medium); }
.co2-bar__track {
  position: relative; height: 24px;
  background: var(--atlas-snow-100);
  border-radius: var(--atlas-radius-pill);
  overflow: hidden;
}
.co2-bar__fill {
  display: block; height: 100%;
  border-radius: var(--atlas-radius-pill);
  transition: width 1000ms cubic-bezier(0.65, 0, 0.35, 1);
}
.co2-bar__fill--good { background: var(--atlas-score-good); }
.co2-bar__fill--ok   { background: var(--atlas-ski-beginner); }
.co2-bar__fill--warn { background: var(--atlas-warning); }
.co2-bar__fill--bad  { background: var(--atlas-score-poor); }
.co2-bar__value { text-align: right; color: var(--atlas-text); }

/* ---------- Affiliate cards --------------------------------------------- */
.affiliate-grid {
  display: grid; gap: var(--atlas-space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .affiliate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .affiliate-grid { grid-template-columns: repeat(4, 1fr); } }

.affiliate-card {
  display: flex; flex-direction: column; gap: var(--atlas-space-2);
  padding: var(--atlas-space-5);
  background: var(--atlas-navy-surface);
  color: var(--atlas-text-inverse);
  border-radius: var(--atlas-radius-lg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--atlas-transition), box-shadow var(--atlas-transition);
}
.affiliate-card:hover { transform: var(--atlas-hover-lift); box-shadow: var(--atlas-shadow-card-hover); text-decoration: none; color: var(--atlas-text-inverse); }
.affiliate-card .atlas-label,
.affiliate-card .atlas-muted,
.affiliate-card .atlas-body-sm { color: var(--cr-3d5e1fb3,rgba(255,255,255,0.75)); }
.affiliate-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--cr-cc5efe1d,rgba(255,255,255,0.1));
  border-radius: var(--atlas-radius-md);
  color: var(--atlas-accent-300);
  margin-bottom: var(--atlas-space-2);
}
.affiliate-card__title { font-family: var(--atlas-font-heading); font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-lg); margin: 0; line-height: var(--atlas-lh-data); color: var(--atlas-white); }
.affiliate-card__cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto; padding-top: var(--atlas-space-3);
  font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-accent-300);
}
.affiliate-card:hover .affiliate-card__cta { color: var(--atlas-white); }

/* ---------- Sidebar action list ----------------------------------------- */
.action-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

/* ---------- Sidebar checklist ------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--atlas-space-3); }

/* ---------- Mode sub-nav (T08) ------------------------------------------ */
.mode-subnav-wrapper {
  display: flex;
  margin-bottom: var(--atlas-space-6);
  padding-top: var(--atlas-space-3);
}
.mode-subnav {
  display: flex; gap: var(--atlas-space-2);
  flex: 1 1 auto;   /* [ROW-EMPTY 2026-10-20] the views share the row: a 4-pill strip is as wide as its row, not a left-hand cluster */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--atlas-space-1) 0;
}
.mode-subnav__item {
  display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto;
  padding: var(--atlas-space-2) var(--atlas-space-4);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text-secondary);
  text-decoration: none;
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-pill);
  white-space: nowrap;
  transition: all var(--atlas-transition-fast);
}
.mode-subnav__item:hover { color: var(--atlas-text); border-color: var(--atlas-border-strong); text-decoration: none; }
.mode-subnav__item--active {
  background: var(--atlas-navy-surface);
  border-color: var(--atlas-navy);
  color: var(--atlas-text-inverse);
}
.mode-subnav__item--active:hover { color: var(--atlas-text-inverse); background: var(--atlas-navy-700); border-color: var(--atlas-navy-700); }

/* ---------- Route list (T08 origin city rows) --------------------------- */
.route-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--atlas-space-3); }

.route-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-5);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), border-color var(--atlas-transition);
}
.route-row:hover { box-shadow: var(--atlas-shadow-card-hover); border-color: var(--atlas-border-strong); }
@media (min-width: 768px) {
  .route-row { grid-template-columns: 160px 140px 1fr auto; align-items: center; gap: var(--atlas-space-5); }
}

.route-row__header { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.route-row__title { font-family: var(--atlas-font-heading); font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-xl); margin: 0; line-height: var(--atlas-lh-tight); color: var(--atlas-text); }

.route-row__metric { display: flex; flex-direction: column; gap: 2px; }
.route-row__metric .atlas-data { line-height: var(--atlas-lh-none); color: var(--atlas-text); }

.route-row__detail { display: flex; flex-direction: column; gap: var(--atlas-space-2); min-width: 0; }
.route-row__detail p { margin: 0; line-height: var(--atlas-lh-normal); color: var(--atlas-text-secondary); }

.route-row__chips { display: flex; flex-wrap: wrap; gap: var(--atlas-space-1); list-style: none; margin: 0; padding: 0; }

.route-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px var(--atlas-space-2);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-pill);
}
.route-chip--good { color: var(--atlas-success-text); background: var(--atlas-success-bg); border-color: transparent; }

.route-row__action { display: flex; justify-content: flex-end; }

/* ---------- Pre-trip timeline (T08) ------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: var(--atlas-space-5); }
@media (min-width: 768px) {
  .timeline::before {
    content: ''; position: absolute;
    left: 23px; top: 12px; bottom: 12px;
    width: 2px; background: var(--atlas-divider);
  }
}

.timeline__step {
  display: grid; grid-template-columns: 48px 1fr;
  gap: var(--atlas-space-4); align-items: start;
}

.timeline__marker {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--atlas-bg-card);
  color: var(--atlas-accent);
  border: 2px solid var(--atlas-accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.timeline__body {
  display: flex; flex-direction: column; gap: var(--atlas-space-3);
  padding: var(--atlas-space-4) var(--atlas-space-5);
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  box-shadow: var(--atlas-shadow-card);
}
.timeline__title {
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  margin: 0; line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}
.timeline__body p { margin: 0; line-height: var(--atlas-lh-normal); color: var(--atlas-text-secondary); }
.timeline__body a { color: var(--atlas-text-link); }

/* ---------- Eco section (T08) ------------------------------------------- */
.eco-section .eco-grid {
  display: grid; gap: var(--atlas-space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 1100px) { .eco-section .eco-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.eco-section__source { margin: var(--atlas-space-3) 0 0; }

/* ---------- FAQ accordion (T08) ----------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--atlas-space-2); }
.faq-item {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  transition: border-color var(--atlas-transition-fast), box-shadow var(--atlas-transition-fast);
}
.faq-item[open] { border-color: var(--atlas-accent); box-shadow: var(--atlas-shadow-card); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-4) var(--atlas-space-5);
  font-family: var(--atlas-font-body);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
  cursor: pointer;
  list-style: none;
  transition: background var(--atlas-transition-fast);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: var(--atlas-bg-card-tint); }
.faq-item__q::after {
  content: ''; flex-shrink: 0;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform var(--atlas-transition);
}
.faq-item[open] .faq-item__q::after { transform: rotate(180deg); }
.faq-item__a {
  padding: 0 var(--atlas-space-5) var(--atlas-space-5);
  color: var(--atlas-text-secondary); line-height: var(--atlas-lh-relaxed);
  font-size: var(--atlas-fs-base);
  border-top: 1px solid var(--atlas-divider);
  margin-top: var(--atlas-space-1);
  padding-top: var(--atlas-space-4);
}
.faq-item__a p { margin: 0; }
.faq-item__a a { color: var(--atlas-text-link); }

/* ---------- Affiliate sidebar (T08) ------------------------------------- */
.sidebar-card--affiliate {
  background: var(--atlas-navy-surface);
  border-color: var(--atlas-navy);
  color: var(--atlas-text-inverse);
}
.sidebar-card--affiliate .sidebar-card__head { border-bottom-color: var(--cr-760d5a35,rgba(255,255,255,0.15)); }
.sidebar-card--affiliate .sidebar-card__title,
.sidebar-card--affiliate .atlas-data { color: var(--atlas-white); }
.sidebar-card--affiliate .atlas-label,
.sidebar-card--affiliate .atlas-muted,
.sidebar-card--affiliate .atlas-body-sm,
.sidebar-card--affiliate .kv-list li > span { color: var(--cr-3d5e1fb3,rgba(255,255,255,0.75)); }
.sidebar-card--affiliate .kv-list li { border-bottom-color: var(--cr-cc5efe1d,rgba(255,255,255,0.1)); }
.sidebar-card--affiliate .kv-list li > span:last-child { color: var(--atlas-white); }

/* ---------- Transport mobile refinements -------------------------------- */
@media (max-width: 767px) {
  .journey-stop__metrics { align-items: flex-start; }
  .mode-tab__hint { display: none; }
  .mode-tab { flex-direction: row; justify-content: flex-start; gap: var(--atlas-space-2); padding: var(--atlas-space-3); }
  .mode-tab__name { font-size: var(--atlas-fs-base); }
  .route-row { padding: var(--atlas-space-4); }
  .route-row__action { justify-content: flex-start; }
  .timeline::before { display: none; }
  .timeline__step { grid-template-columns: 1fr; gap: var(--atlas-space-3); }
  .timeline__marker { width: 40px; height: 40px; }
  .faq-item__q { padding: var(--atlas-space-3) var(--atlas-space-4); font-size: var(--atlas-fs-sm); }
  .faq-item__a { padding: var(--atlas-space-3) var(--atlas-space-4); font-size: var(--atlas-fs-sm); }
}

/* ---------- Transport print --------------------------------------------- */
@media print {
  .mode-tabs, .resort-tabs-wrapper, .affiliate-grid, .resort-body__sidebar { display: none; }
  .mode-panel, .mode-panel--inactive { display: block !important; }
  [hidden] { display: block !important; }
}
}

/* ============================================================================
   15. PARTIALS — Shared connective tissue (Chat 5)
   ========================================================================== */

/* ---------- Site Header + Site Nav --------------------------------------- */
/* [CHROME-SINGLE-SOURCE 2026-07-29 · #73 Stage 2] The base `.site-header` box rule
   was moved to the single authoritative owner (atlas-content-system.css @layer
   chrome). It had no competing base rule anywhere, so the applied box style is
   unchanged (proven zero-drift). The `.site-header__*` children below stay here as
   their own single source (not duplicated elsewhere). */
@layer chrome {
.site-header__bar {
  background: var(--atlas-navy-surface);
  /* [HEADER-INK 2026-09-23] on-dark ink, NOT the theme-relative --atlas-text-inverse
     (which flips to near-black at night while this bar stays dark). Token declared in
     the chrome block below; the whole bar inherits from here. */
  color: var(--atlas-header-ink, var(--c-fff,#fff));
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--atlas-space-4);
  padding-top: var(--atlas-space-3);
  padding-bottom: var(--atlas-space-3);
}

.site-header__brand {
  display: inline-flex; align-items: center; gap: var(--atlas-space-2);
  /* [HEADER-INK 2026-09-23] the wordmark — the rule this bug was reported against. */
  color: var(--atlas-header-ink, var(--c-fff,#fff));
  text-decoration: none;
}
.site-header__brand:hover { text-decoration: none; color: var(--atlas-header-ink, var(--c-fff,#fff)); }
.site-header__logo {
  width: 28px; height: 28px;
  color: var(--atlas-accent-300);
}
.site-header__wordmark {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-xl);
  font-weight: var(--atlas-header-brand-weight);   /* [DESIGN-35B] the brand's weight, not the page family's --atlas-fw-bold */
  letter-spacing: var(--atlas-ls-tight);
}
.site-header__wordmark span { font-weight: var(--atlas-fw-regular); opacity: 0.7; }

.site-header__finder { display: none; gap: var(--atlas-space-2); }
.site-header__finder-field select {
  background: var(--cr-7f2d1a15,rgba(255,255,255,0.08));
  border: 1px solid var(--cr-760d5a35,rgba(255,255,255,0.15));
  border-radius: var(--atlas-radius-md);
  /* [HEADER-INK 2026-09-23] on the dark bar — same reason as .site-header__brand. */
  color: var(--atlas-header-ink, var(--c-fff,#fff));
  padding: 6px var(--atlas-space-3);
  font-size: var(--atlas-fs-sm);
  font-family: inherit;
  cursor: pointer;
  min-width: 140px;
}
.site-header__finder-field select option { color: var(--atlas-text); }

/* ── Day/night toggle (#107, 2026-08-06) — SINGLE-SOURCE header chrome control ──
   Lives HERE, with its `.site-header__*` siblings, because (a) those children are
   already single-sourced in this file and (b) this file is the only stylesheet on
   100% of built pages. `.site-header__theme` is declared in NO other stylesheet —
   verify with: grep -rc 'site-header__theme' engine/assets/css/*.css → exactly 1.
   Unlayered, matching its siblings: an unlayered `button {}` elsewhere in the
   bundle would out-rank a layered rule regardless of specificity (#73's measured
   trap), so a layered variant here would need !important to win — forbidden.
   Tokens only; the glyph inherits currentColor, so it themes with the header. */
.site-header__theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  /* A11y SC 2.5.5 — 44x44 minimum touch target */
  width: var(--atlas-tap-target, 44px);
  height: var(--atlas-tap-target, 44px);
  padding: 0;
  border: 1px solid var(--cr-6252f354,rgba(255,255,255,0.16));
  border-radius: var(--atlas-radius-md);
  background: var(--cr-c0ae3b9d,rgba(255,255,255,0.07));
  /* NOT --atlas-text-inverse: that token FLIPS to near-black under
     :root[data-theme="dark"], but the header bar keeps its branded dark
     background (--atlas-header-bg) in BOTH themes — so the glyph would have gone
     dark-on-navy at night. [HEADER-INK 2026-09-23] This rule diagnosed the bug
     correctly but cured it with a literal, so only this one glyph was saved and the
     wordmark next to it still vanished. The cure is now a token every child of the
     bar reads; same computed white, one source. */
  color: var(--atlas-header-ink, var(--c-fff,#fff));
  cursor: pointer;
  transition: background var(--atlas-transition-fast),
              border-color var(--atlas-transition-fast);
}
.site-header__theme:hover {
  background: var(--cr-49ff92c2,rgba(255,255,255,0.35));
  border-color: var(--cr-1f523d72,rgba(255,255,255,0.08));
}
.site-header__theme:focus-visible {
  outline: none;
  box-shadow: var(--atlas-shadow-focus);
}
.site-header__theme svg { display: block; }
/* Exactly one glyph is shown, driven by the theme stamped on <html>. Day view
   offers the moon (the action: go night); night view offers the sun. */
.site-header__theme .site-header__theme-night { display: none; }
}

@layer tokens {
:root[data-theme="dark"]  .site-header__theme .site-header__theme-day,
:root[data-theme="night"] .site-header__theme .site-header__theme-day   { display: none; }
:root[data-theme="dark"]  .site-header__theme .site-header__theme-night,
:root[data-theme="night"] .site-header__theme .site-header__theme-night { display: block; }
}

/* Narrow screens: keep the control (it is the ONLY theme affordance on the page)
   but shrink it to the 40px the header bar can spare without pushing the search. */
@layer components {
@media (max-width: 480px) {
  .site-header__theme { width: 40px; height: 40px; }
}
}

/* [PASS29 2026-10-08 · QA S4] COMPACT MOBILE HEADER. At 390 px the header was ~311 px tall (bar 105 px with a wrapped search pill + a four-row
   primary nav standing open) on 124 of 134 page families, so the hero started below the fold. Below 768 px: ONE row - brand, search icon (the
   field and its scope pills belong to the search page / wider screens), theme toggle, menu button - and the primary nav folds behind the menu
   button (site-chrome.js toggles .is-menu-open; with JS off assets/css/no-js-chrome.css shows it open). The bar's height is a token
   (--atlas-header-bar-h-mobile). All in the chrome layer, after the desktop header rules, so source order decides: no unlayered rule, no !important. */
@layer chrome {
.site-header__menu {
  display: none;
  align-items: center; justify-content: center; flex: none;
  width: var(--atlas-tap-target, 44px); height: var(--atlas-tap-target, 44px);
  padding: 0; cursor: pointer;
  border: 1px solid var(--cr-6252f354,rgba(255,255,255,0.16));
  border-radius: var(--atlas-radius-md);
  background: var(--cr-c0ae3b9d,rgba(255,255,255,0.07));
  color: var(--atlas-header-ink, var(--c-fff,#fff));
}
.site-header__menu[aria-expanded="true"] { background: var(--cr-49ff92c2,rgba(255,255,255,0.35)); }
@media (max-width: 767px) {
  :root { --atlas-header-bar-h-mobile: 64px; }
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: var(--atlas-space-2);
    padding-top: var(--atlas-space-2); padding-bottom: var(--atlas-space-2);
    min-height: var(--atlas-header-bar-h-mobile);
  }
  .site-header__wordmark { font-size: var(--atlas-fs-lg); }
  .site-header__search.atlas-search { min-width: 0; width: auto; background: transparent; border: 0; overflow: visible; }
  .site-header__search .atlas-search__input,
  .site-header__search .atlas-search__scope-pill,
  .site-header__search .atlas-search__scope-divider,
  .site-header__search .atlas-search__submit-label { display: none; }
  .site-header__search .atlas-search__submit {
    min-width: var(--atlas-tap-target, 44px); min-height: var(--atlas-tap-target, 44px);
    justify-content: center; padding: 0; border-radius: var(--atlas-radius-md);
  }
  .site-header__menu { display: inline-flex; }
  .site-nav { display: none; max-height: calc(100vh - var(--atlas-header-bar-h-mobile)); overflow-y: auto; }
  .is-menu-open .site-nav { display: block; } /* .is-menu-open lives only on the header (site-chrome.js); the header selector stays single-source (gate A3) */
}
}

@layer chrome {
.site-header__search {
  display: flex;
  align-items: stretch;
  background: var(--atlas-white);
  border-radius: var(--atlas-radius-md);
  overflow: hidden;
  min-width: 280px;
}
.site-header__search-scope {
  background: var(--atlas-snow-100);
  border: 0;
  padding: 0 var(--atlas-space-3);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-secondary);
  border-right: 1px solid var(--atlas-border);
  cursor: pointer;
}
.site-header__search input {
  border: 0;
  padding: 8px var(--atlas-space-3);
  flex: 1;
  font-size: var(--atlas-fs-sm);
  /* Header bar is dark (navy) — light text needed for AA contrast (was --atlas-text #0f172a = 1.56:1) */
  color: var(--c-fff,#fff);
  background: transparent;
  min-width: 0;
}
.site-header__search input:focus { outline: none; box-shadow: none; }
.site-header__search-btn {
  border: 0;
  background: var(--atlas-accent);
  color: var(--atlas-text-inverse);
  padding: 0 var(--atlas-space-3);
  cursor: pointer;
  transition: background var(--atlas-transition-fast);
}
.site-header__search-btn:hover { background: var(--atlas-accent-700); }

/* [Design §5 · 2026-06-25] Universal header: ATLAS platform pill + search box (translucent
   input + gold Search button). Token-driven — every vertical's tokens drive the colours.
   These live here (loaded on every page) because the .atlas-search__* rules in
   content-alternation.css are NOT loaded on the static homepage → the search read as broken. */
.site-header__badge {
  display: inline-flex; align-items: center; align-self: center;
  font-family: var(--atlas-font-mono, ui-monospace, monospace);
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold); letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
  background: var(--atlas-gold); color: var(--c-fff,#fff);
  padding: 2px 5px; border-radius: 3px; line-height: var(--atlas-lh-none); margin-left: 2px;
}
.site-header__search.atlas-search {
  background: var(--cr-c0ae3b9d,rgba(255,255,255,0.07)); border: 1px solid var(--cr-6252f354,rgba(255,255,255,0.16)); border-radius: 10px; overflow: visible; min-width: 0; gap: 4px; align-items: center; padding: 3px 3px 3px 7px; flex: 1 1 auto; max-width: 560px;
}
/* [CHROME-SINGLE-SOURCE 2026-07-31 · #73] Scoped to .site-header__search so the HEADER
   search input always wins over the generic .atlas-search__input in content-alternation.css
   (a boxed variant: border + 6px/12px padding = ~12px taller). Without this scope, any
   page-type whose bundle loaded content-alternation.css got a taller header → the breadcrumb
   bar shifted down (the drift Ogi reported). Header search is chrome → deterministic here. */
.site-header__search .atlas-search__input {
  min-width: 130px; flex: 1 1 auto; padding: 7px 4px;
  border: none; border-radius: 0;
  background: transparent; color: var(--c-fff,#fff); font-size: var(--atlas-fs-rem-0_8438);
  font-family: inherit; outline: none;
}
/* [CHROME-SINGLE-SOURCE 2026-09-29] the search input's placeholder/focus belong with its chrome rule (were in components) */
.atlas-search__input::placeholder { color: var(--cr-49ff92c2,rgba(255,255,255,0.35)); }
.atlas-search__input:focus { background: transparent; outline: none; box-shadow: none; }
}

@layer components {
.atlas-search__submit {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 7px 14px; border: none; border-radius: 8px;
  background: var(--atlas-fill-gold); color: var(--atlas-on-fill-light); font-size: var(--fs-13,0.8125rem); font-weight: var(--atlas-fw-bold);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .14s ease;
}
/* [CTA-YELLOW rev 2026-07-03] Match the homepage "Find" button exactly: both are var(--atlas-gold)
   (#d97706) at rest, and both DARKEN to #b45309 on hover. The previous filter:brightness(1.06)
   pushed the gold toward a brighter/yellower tone on hover — the "off-yellow" Ogi flagged. */
.atlas-search__submit:hover { background: var(--atlas-gold-700); filter: none; color: var(--atlas-on-fill-light); }
.atlas-search__submit svg { width: 14px; height: 14px; }
/* [ZC 2026-10-03] Install banner (engine/assets/js/pwa-register.js builds the markup, NO inline colours any more): theme tokens, so it
   reads in both modes; --pwa-accent / --pwa-ink are the only two values the script computes (manifest brand accent + its FILL-INK). */
.atlas-pwa {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; padding: 16px; box-sizing: border-box;
  width: 360px; max-width: calc(100vw - 32px);
  background: var(--atlas-bg-card); color: var(--atlas-text);
  border: 1px solid var(--atlas-border-strong); border-radius: 14px;
  box-shadow: var(--atlas-sh-lg);
  font-family: var(--atlas-font-body, system-ui, sans-serif); font-size: var(--fs-13,0.8125rem); font-weight: var(--atlas-fw-regular); line-height: var(--atlas-lh-snug);
}
.atlas-pwa__head { display: flex; align-items: flex-start; gap: 11px; }
.atlas-pwa__title { font-size: var(--fs-15,0.9375rem); font-weight: var(--atlas-fw-bold); letter-spacing: var(--atlas-ls-tight); flex: 1; }
.atlas-pwa__tagline { font-size: var(--atlas-fs-tiny, 0.75rem); font-weight: var(--atlas-fw-regular); color: var(--atlas-text-muted); margin-top: 2px; }
.atlas-pwa__benefits { display: flex; flex-direction: column; gap: 7px; margin: 2px 0 4px; }
.atlas-pwa__benefit { display: flex; align-items: center; gap: 9px; font-size: var(--atlas-fs-tiny, 0.75rem); }
.atlas-pwa__tick {
  width: 17px; height: 17px; border-radius: 5px; flex: none; display: flex; align-items: center; justify-content: center;
  font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-micro, 0.75rem);
  background: var(--atlas-success-bg); color: var(--atlas-ok-as-text);
}
.atlas-pwa__actions { display: flex; gap: 9px; align-items: center; }
.atlas-pwa__yes, .atlas-pwa__no {
  padding: 12px; border: 0; border-radius: 10px; min-height: 44px; font-size: var(--fs-14,0.875rem); cursor: pointer; font-family: inherit;
}
.atlas-pwa__yes { flex: 2; background: var(--pwa-accent, var(--atlas-fill-gold)); color: var(--pwa-ink, var(--atlas-on-fill-light)); font-weight: var(--atlas-fw-bold); }
.atlas-pwa__no { flex: 1; background: transparent; color: var(--atlas-text-muted); font-weight: var(--atlas-fw-semibold); }
.atlas-search__scope {
  display: flex; align-items: center; gap: 5px; font-size: var(--atlas-fs-micro, 0.6875rem);
  color: var(--cr-f2c7aadf,rgba(255,255,255,0.6)); white-space: nowrap; cursor: pointer;
}
.atlas-search__scope input { margin: 0; }

/* [SCOPE PILL · Design rail-and-header-brief 2026-06-25] segmented in-bar scope toggle
   (replaces the old checkbox). Vertical-neutral: white-on-dark works on every vertical
   header. Wording + placeholder are data-driven server-side (never a hardcoded count). */
.atlas-search__scope-divider { width: 1px; height: 22px; background: var(--cr-615b42f5,rgba(255,255,255,0.14)); flex: none; }
.atlas-search__scope-pill { display: flex; align-items: center; flex: none; gap: 2px; padding: 0 1px; }
.atlas-search__scope-btn {
  font-size: var(--atlas-fs-tiny, 0.75rem); font-weight: var(--atlas-fw-semibold); padding: 5px 9px; border-radius: 7px;
  background: none; border: none; color: var(--atlas-text-on-dark-muted);
  cursor: pointer; white-space: nowrap; font-family: inherit; transition: background .15s, color .15s;
}
.atlas-search__scope-btn.is-active { background: var(--cr-760d5a35,rgba(255,255,255,0.15)); color: var(--c-fff,#fff); }
.atlas-search__scope-btn:hover:not(.is-active) { color: var(--atlas-text-on-dark); }
@media (max-width: 980px) { .atlas-search__scope-divider, .atlas-search__scope-pill { display: none; } }
}

@layer chrome {
.site-header__saved {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: var(--atlas-space-2);
  color: var(--atlas-text-inverse);
}
.site-header__saved:hover { color: var(--atlas-accent-300); }
.site-header__saved-count {
  position: absolute; top: 2px; right: 0;
  background: var(--atlas-accent);
  color: var(--atlas-text-inverse);
  border-radius: var(--atlas-radius-pill);
  font-size: var(--atlas-fs-micro);
  font-weight: var(--atlas-fw-bold);
  min-width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
}

/* [WCAG-1.4.3 2026-09-23] The `.site-nav` background declaration that stood here was the SECOND
   root declaration of the same chrome selector in this one file (the other is in §A Nav row, which
   also owns the border) — css.md rule 3. Deleted; §A is the single owner. */
@layer components {
.site-nav__inner { padding-top: var(--atlas-space-2); padding-bottom: var(--atlas-space-2); }
.site-nav__list {
  display: flex; flex-wrap: wrap;
  gap: var(--atlas-space-5);
  margin: 0; padding: 0; list-style: none;
}
.site-nav__link {
  display: inline-flex; align-items: center; gap: var(--atlas-space-2);
  padding: var(--atlas-space-2) var(--atlas-space-4);
  border-radius: var(--atlas-radius-md);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary);
  text-decoration: none;
  transition: background var(--atlas-transition-fast), color var(--atlas-transition-fast);
}
/* [NAV-VARIANT-C 2026-07-03] Stale hover/active neutralized — see the authoritative
   data-desk gold-tab block near end of file. Kept base link only. */
.site-nav__link:hover { text-decoration: none; }

/* "More" overflow group — keeps the primary bar to one line (≤8 items) */
.site-nav__more { position: relative; }
.site-nav__more-toggle {
  font-family: inherit; border: 0; background: transparent; cursor: pointer;
  line-height: var(--atlas-lh-data);
}
.site-nav__more-toggle svg { transition: transform var(--atlas-transition-fast); }
.site-nav__more.is-open .site-nav__more-toggle { background: var(--atlas-bg-card-hover); color: var(--atlas-text); }
.site-nav__more.is-open .site-nav__more-toggle svg { transform: rotate(180deg); }
.site-nav__more-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  min-width: 190px; margin: 0; padding: var(--atlas-space-2);
  list-style: none;
  background: var(--atlas-bg-card, #fff);
  border: 1px solid var(--atlas-border, #e5e7eb);
  border-radius: var(--atlas-radius-md);
  box-shadow: 0 12px 32px var(--cr-449d8a55,rgba(11,37,69,.16));
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--atlas-transition-fast), transform var(--atlas-transition-fast), visibility var(--atlas-transition-fast);
}
.site-nav__more.is-open .site-nav__more-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__more-link {
  display: block; padding: var(--atlas-space-2) var(--atlas-space-3);
  border-radius: var(--atlas-radius-sm);
  font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary); text-decoration: none; white-space: nowrap;
}
.site-nav__more-link:hover { background: var(--atlas-bg-card-hover); color: var(--atlas-text); }
/* [FB-NAV 2026-10-17 owner item 13] The page's own section inside the "More" dropdown: site-header.php marks it aria-current="page"
   (and lights the More toggle). Same language as the active top-level tab: gold tint fill + a gold bar, bold. */
.site-nav__more-link[aria-current="page"] {
  color: var(--atlas-navy-ink);
  font-weight: var(--atlas-fw-semibold);
  background: var(--cr-1e1373b2,rgba(217,119,6,.07));
  box-shadow: inset var(--atlas-space-1) 0 0 var(--atlas-gold-bright);
}
.site-nav__more-link[aria-current="page"]:hover { background: var(--atlas-bg-card-hover); }

/* Related links strip (page-bottom "see also" cards) ------------------------ */
.related-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--atlas-space-3, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: var(--atlas-space-3, 1rem) var(--atlas-space-4, 1.25rem);
  background: var(--atlas-bg-card, #fff);
  border: 1px solid var(--atlas-border, #e5e7eb);
  border-radius: var(--atlas-radius-md, 10px);
  text-decoration: none;
  color: var(--atlas-text, #0b2545);
  transition: border-color var(--atlas-transition-fast), box-shadow var(--atlas-transition-fast), transform var(--atlas-transition-fast);
}
.related-card:hover {
  border-color: var(--atlas-accent,#1d58f5);
  box-shadow: 0 8px 24px var(--cr-918e99c7,rgba(11, 37, 69, .10));
  transform: translateY(-2px);
}
.related-card .atlas-label {
  display: block;
  font-size: var(--atlas-fs-xs, .72rem);
  text-transform: var(--atlas-label-transform);
  letter-spacing: var(--atlas-ls-wider);
  color: var(--atlas-text-secondary, #6b7280);
}
.related-card strong {
  display: block;
  font-size: var(--atlas-fs-md, 1rem);
  font-weight: var(--atlas-fw-semibold, 600);
  line-height: var(--atlas-lh-snug);
}

@media (min-width: 1024px) {
  .site-header__finder { display: flex; }
}
/* [PASS29 2026-10-08] the below-768 header rules that stood here (3 columns, search min-width, hidden scope select) lived in the COMPONENTS layer, which
   outranks the chrome layer that owns .site-header__inner, so they won over any chrome-owned mobile rule. They moved into the compact mobile header
   block beside the header chrome (@layer chrome, "COMPACT MOBILE HEADER"): one owner. */

/* ---------- Site Footer: moved to its owner block (@layer chrome, "SITE FOOTER - THE ONE OWNER" below) ---------- */

/* Footer Grid (atlas-footer-* classes used in master.tonic.php) */
.atlas-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-6);
  padding: var(--atlas-space-4) 0;
}
@media (min-width: 768px) {
  .atlas-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.atlas-footer-col h4 {
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-snow-400);
  margin: 0 0 var(--atlas-space-3);
}
.atlas-footer-col--wide { grid-column: span 1; }
@media (min-width: 768px) {
  .atlas-footer-col--wide { grid-column: span 1; text-align: right; }
}
.atlas-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--atlas-space-2);
}
.atlas-footer-nav a {
  color: var(--atlas-snow-100);
  font-size: var(--atlas-fs-sm);
  text-decoration: none;
}
.atlas-footer-nav a:hover {
  color: var(--atlas-accent-300);
  text-decoration: underline;
}
.atlas-footer-brand {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-lg);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-white);
  margin: 0 0 var(--atlas-space-2);
}

/* ---------- Data Card Base ----------------------------------------------- */
.data-card {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding: var(--atlas-card-padding);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), border-color var(--atlas-transition);
}
.data-card:hover {
  box-shadow: var(--atlas-shadow-card-hover);
  border-color: var(--atlas-border-strong);
}
/* [CARD-LINK 2026-09-16] a card that IS a link (related guides, knowledge hub index): no underline bleed into its text */
.data-card--linked,
.data-card--linked:hover,
.data-card--linked:focus-visible { text-decoration: none; color: inherit; display: block; }
.data-card--linked * { text-decoration: none; }

.data-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-2);
  padding-bottom: var(--atlas-space-2);
  border-bottom: 1px solid var(--atlas-divider);
}
.data-card__label { color: var(--atlas-text-muted); }
.data-card__refresh { font-size: var(--atlas-fs-tiny); }

.data-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--atlas-radius-md);
  background: var(--atlas-bg-card-tint);
  color: var(--atlas-accent);
  flex-shrink: 0;
}

.data-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--atlas-space-3); }

.data-card__metric { display: flex; flex-direction: column; gap: var(--atlas-space-1); }
.data-card__metric .atlas-data { line-height: var(--atlas-lh-none); color: var(--atlas-text); }
.data-card__sub { font-size: var(--atlas-fs-tiny); color: var(--atlas-text-muted); }
.data-card__unit { font-size: var(--atlas-fs-em-0_4); color: var(--atlas-text-muted); margin-left: 2px; font-weight: var(--atlas-fw-medium); vertical-align: 0.5em; }

.data-card__footnote {
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-secondary);
  margin: 0;
  line-height: var(--atlas-lh-normal);
  padding-top: var(--atlas-space-1);
  border-top: 1px solid var(--atlas-divider);
}
.data-card__footnote strong { color: var(--atlas-text); font-weight: var(--atlas-fw-semibold); }

.data-card__ai-caption {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--atlas-space-2);
  padding: var(--atlas-space-3);
  margin: var(--atlas-space-2) calc(var(--atlas-card-padding) * -1) calc(var(--atlas-card-padding) * -1);
  background: var(--atlas-gold-bg);
  border-top: 1px solid var(--atlas-gold-border);
  border-radius: 0 0 var(--atlas-radius-lg) var(--atlas-radius-lg);
}
.data-card__ai-caption-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--atlas-gold);
  color: var(--atlas-white);
  flex-shrink: 0;
  margin-top: 2px;
}
.data-card__ai-caption-text {
  margin: 0;
  font-size: var(--atlas-fs-tiny);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text-secondary);
  font-style: italic;
}
.data-card__ai-caption-text strong {
  color: var(--atlas-text);
  font-style: normal;
  font-weight: var(--atlas-fw-semibold);
}

.data-card--feature { padding: calc(var(--atlas-card-padding) * 1.25); box-shadow: var(--atlas-shadow-card-hover); }
.data-card--quiet   { background: transparent; border: 0; box-shadow: none; padding: 0; }
.data-card--quiet:hover { box-shadow: none; border-color: transparent; }

/* ---------- Section Synthesis Callout (Layer 2) -------------------------- */
.atlas-callout__confidence {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-left: var(--atlas-space-2);
  vertical-align: middle;
}
.atlas-callout__confidence--high   { background: var(--atlas-success); }
.atlas-callout__confidence--medium { background: var(--atlas-warning); }
.atlas-callout__confidence--low    { background: var(--atlas-text-muted); }

.atlas-callout__sources {
  margin: var(--atlas-space-2) 0 0;
  padding-top: var(--atlas-space-2);
  border-top: 1px dashed var(--atlas-divider);
}

/* ---------- Traveler Profile Panel (Layer 3) ----------------------------- */
.traveler-profile-panel__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: var(--atlas-space-3);
  margin-bottom: var(--atlas-space-2);
}
.traveler-profile-panel__title { margin: 0; }

.profile-switcher {
  position: relative;
  flex-shrink: 0;
}
.profile-switcher__trigger {
  display: inline-flex; align-items: center; gap: var(--atlas-space-2);
  padding: var(--atlas-space-2) var(--atlas-space-3);
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-navy-ink);
  background: var(--atlas-white);
  border: 1px solid var(--atlas-navy-100);
  border-radius: var(--atlas-radius-pill);
  cursor: pointer;
  list-style: none;
  transition: all var(--atlas-transition-fast);
}
.profile-switcher__trigger::-webkit-details-marker { display: none; }
.profile-switcher__trigger:hover { background: var(--atlas-navy-surface); color: var(--atlas-text-inverse); border-color: var(--atlas-navy); }
.profile-switcher__trigger svg { transition: transform var(--atlas-transition-fast); flex-shrink: 0; }
.profile-switcher[open] .profile-switcher__trigger { background: var(--atlas-navy-surface); color: var(--atlas-text-inverse); border-color: var(--atlas-navy); }
.profile-switcher[open] .profile-switcher__trigger svg { transform: rotate(180deg); }

.profile-switcher__current { white-space: nowrap; }

.profile-switcher__list {
  position: absolute; right: 0; top: calc(100% + 4px);
  z-index: var(--atlas-z-overlay);
  min-width: 220px;
  margin: 0; padding: var(--atlas-space-2);
  list-style: none;
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  box-shadow: var(--atlas-shadow-xl);
  display: flex; flex-direction: column;
  gap: 2px;
}

.profile-switcher__item {
  display: inline-flex; align-items: center; gap: var(--atlas-space-2);
  padding: var(--atlas-space-2) var(--atlas-space-3);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary);
  text-decoration: none;
  border-radius: var(--atlas-radius-sm);
  transition: background var(--atlas-transition-fast), color var(--atlas-transition-fast);
}
.profile-switcher__item:hover { background: var(--atlas-bg-card-tint); color: var(--atlas-text); text-decoration: none; }
.profile-switcher__item svg { color: var(--atlas-text-muted); flex-shrink: 0; }
.profile-switcher__item:hover svg { color: var(--atlas-navy-ink); }
.profile-switcher__item--active { background: var(--atlas-navy-surface); color: var(--atlas-text-inverse); }
.profile-switcher__item--active:hover { background: var(--atlas-navy-700); color: var(--atlas-text-inverse); }
.profile-switcher__item--active svg { color: var(--atlas-text-inverse); }

@media (max-width: 480px) {
  .traveler-profile-panel__head { flex-direction: column; align-items: stretch; }
  .profile-switcher__list { left: 0; right: 0; min-width: 0; }
}

/* ---------- Booking CTA Widget ------------------------------------------- */
.booking-cta-widget__trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
  padding-top: var(--atlas-space-3);
  border-top: 1px solid var(--atlas-divider);
}
.booking-cta-widget__trust li {
  display: inline-flex; align-items: center; gap: var(--atlas-space-2);
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-secondary);
  font-weight: var(--atlas-fw-medium);
}
.booking-cta-widget__trust svg {
  color: var(--atlas-ok-as-text);
  flex-shrink: 0;
}

.booking-cta-widget__disclosure {
  display: inline-flex; align-items: flex-start; gap: 6px;
  margin: var(--atlas-space-1) 0 0;
  font-size: var(--atlas-fs-tiny);
  line-height: var(--atlas-lh-normal);
  padding: var(--atlas-space-2) 0 0;
}
.booking-cta-widget__disclosure svg {
  margin-top: 2px;
  flex-shrink: 0;
}
}

/* ---------- Breadcrumb --------------------------------------------------- */
/* [CHROME-SINGLE-SOURCE 2026-07-29 · #73 Stage 2] The base `.breadcrumb` rule was
   moved to the single authoritative owner (atlas-content-system.css @layer chrome),
   which now carries the full merged applied style. Removed here to stop the
   unlayered copy from competing. The BEM parts below (.breadcrumb__list/__link/…)
   are NOT chrome-duplicated elsewhere, so they stay as their own single source. */
@layer chrome {
.breadcrumb__list {
  display: flex; flex-wrap: wrap;
  gap: var(--atlas-space-2);
  margin: 0; padding: 0; list-style: none;
  font-size: var(--atlas-fs-sm);
}
.breadcrumb__link {
  color: var(--atlas-text-muted);
  text-decoration: none;
}
.breadcrumb__link:hover { color: var(--atlas-text); text-decoration: underline; }
.breadcrumb__sep { color: var(--atlas-text-muted); }
.breadcrumb__current { color: var(--atlas-text); font-weight: var(--atlas-fw-medium); }
}

/* ==========================================================================
   [DESIGN-11 CHROME · 2026-07-02] Global chrome refinement — Task-11 design
   (global-chrome-v1.html). Conservative, ADDITIVE overrides layered on top of
   the existing .site-header / .site-nav / .atlas-search / .site-footer /
   .breadcrumb rules above. Markup + BEM classes + all JS behavior are UNCHANGED
   (mega-menu toggle, More dropdown, scope-pill, search all keep working). This
   block only tightens the VISUAL to the Task-01 token system so the chrome reads
   identically on every page type (resort / silo / best / compare / search / geo
   / homepage). Vertical-agnostic: every colour resolves from --atlas-* tokens,
   which the per-vertical re-skin (winery / hot-springs) already overrides.
   Backup: atlas-framework.css.bak-design11-*.
   ========================================================================== */

/* Chrome-scoped tokens (Task-11 §A/§C). Fall back to Task-01 base tokens. */
@layer tokens {
:root {
  --atlas-header-bg:          var(--atlas-navy-surface); /* [NAVY-SPLIT] the header is a navy SURFACE — this is why --atlas-navy is never flipped at night */
  --atlas-header-border:      var(--cr-1f523d72,rgba(255,255,255,.08));
  /* [FRONT-CONTRAST 2026-10-14 · LEFTOVERS3 item 8] THE FOOTER CONTRACT. .site-footer is declared in ONE place (this sheet, @layer chrome);
     a vertical changes its footer only through these VALUES on :root[data-vertical=...] / [data-vertical=...]. The footer is a member of the
     dark-surface contract, so --footer-bg must stay a DARK surface (every ink below is an on-dark ink). */
  --footer-bg:          var(--atlas-navy-900);
  --footer-text:        var(--atlas-text-on-dark);
  --footer-muted:       var(--atlas-text-on-dark-muted);
  --footer-link:        var(--atlas-text-on-dark-muted);
  --footer-link-hover:  var(--atlas-text-on-dark);
  --footer-border:      var(--atlas-header-border);
  --footer-pad-y:       var(--atlas-space-12);
  --footer-gap-top:     var(--atlas-section-gap-lg);
  --footer-accent:      var(--atlas-accent);
  --footer-accent-ink:  var(--atlas-accent-ink);
  /* [HEADER-INK 2026-09-23] The ONE ink token for everything drawn ON the header bar.
     ROOT CAUSE it closes: the bar keeps its branded DARK background in both themes
     (--atlas-header-bg), but its children were painted with --atlas-text-inverse, which
     is a THEME-RELATIVE token — white by day, #0f172a at night (see the dark block near
     the top of this file). So at night the wordmark rendered as ink on the dark bar and
     vanished on EVERY site: measured snowterest rgb(15,23,42) on rgb(11,37,69), golfita
     rgb(15,23,42) on rgb(20,48,31). "Inverse of the page" was never the right idea here:
     the header is not the page, it is a fixed dark surface, so it needs an ON-DARK ink
     that does NOT flip. That is this token. It is declared once, in :root only, and is
     deliberately absent from every dark block — a night override would reintroduce the
     bug. A profile whose header bar is light overrides THIS token in its own token sheet;
     it must never re-point a child rule at --atlas-text-inverse.
     Siblings that previously pinned a literal white for exactly this reason
     (.site-header__theme, the search input, .atlas-search__submit) now read the token,
     so the header has one ink source instead of a literal per rule. */
  --atlas-header-ink:         var(--c-fff,#fff);
  /* [DESIGN-35B 2026-10-16] The brand ACCENT drawn ON the always-dark header bar / footer (wordmark's second half, the mark's bars).
     ROOT CAUSE: they read --sn-gold / --c-d97706, a LIGHT-surface primitive the day contrast palette darkens to #9a5304, so on the navy
     bar the accent went dull and low-contrast on every page that carried the day palette. Same family as --atlas-header-ink: an
     ON-DARK role that never flips with the theme. A vertical's token sheet may re-point it; nothing else should. */
  --atlas-header-accent:      var(--atlas-accent-on-dark);
  /* the wordmark's weight is the brand's, not the page's: 30 page sheets re-point --atlas-fw-black to 900 for their own headings, and the header followed them (insights calculators drew a heavier wordmark than every other page) */
  --atlas-header-brand-weight: 800;
  --atlas-header-text:        var(--cr-b793ae05,rgba(255,255,255,.80));
  --atlas-header-text-active: var(--atlas-header-ink);
  --atlas-crumb-scrim:        linear-gradient(to bottom,var(--cr-a94c77ce,rgba(6,26,51,.55)) 0%,var(--cr-f20a008d,rgba(6,26,51,0)) 100%);
  --atlas-crumb-on-dark:      var(--cr-daac4d76,rgba(255,255,255,.75));
  --atlas-crumb-sep-dark:     var(--cr-3ee7c353,rgba(255,255,255,.35));
}
}

/* ---- §A Header shell: unify the dark bar + brand + search ---------------- */
@layer chrome {
.site-header__bar { background: var(--atlas-header-bg); border-bottom: 1px solid var(--atlas-header-border); }
/* [HEADER-INK 2026-09-23] The brand MARK sits on the same dark bar as the wordmark, so it
   takes the same on-dark ink. Two faults were stacked here: (1) --sn-navy is #0b2545 on the
   ski profile, i.e. the header's OWN background colour, so a currentColor mark was navy on
   navy; (2) the fallback was the theme-relative --atlas-text-inverse, which went near-black
   at night on every profile that does not define --sn-navy. The built-in ski mark hid both
   because it carries its own fills, but the neutral default mark draws in currentColor. */
.site-header__logo { color: var(--atlas-header-ink, var(--c-fff,#fff)); }
.site-header__wordmark { font-weight: var(--atlas-fw-black, 800); letter-spacing: var(--atlas-ls-tight); }
/* Gold ATLAS platform pill — align radius + weight to design */
.site-header__badge {
  /* Badge-specific darker amber so white text meets AA (was --atlas-gold #d97706 = 2.28:1;
     #92400e = ~6.4:1). Targeted override only — does NOT change the shared --atlas-gold token. */
  background: var(--c-92400e,#92400e); color: var(--c-fff,#fff);
  border-radius: var(--atlas-radius-sm, 6px);
  letter-spacing: var(--atlas-ls-wider);
}
/* Search bar — pill shape, gold submit (Task-11 §A) */
.site-header__search.atlas-search {
  border-radius: var(--atlas-radius-pill, 99px);
  border-color: var(--cr-28e9e123,rgba(255,255,255,.16));
  background: var(--cr-0b109dbf,rgba(255,255,255,.10));
  /* [SEARCH-BTN-CLIP 2026-07-20 · nudge 2026-07-20b] The gold Search button is a
     pill (radius:pill) that nests concentrically inside this pill container, so an
     EQUAL inset on all sides keeps its rounded cap within the corner arc. The prior
     11px right inset left an uneven gap (bigger on the right than top/bottom); the
     button is nudged right to a 3px right inset that matches the 3px vertical inset.
     box-sizing:border-box; position:relative anchors the results dropdown, which
     lives OUTSIDE the box (top:100%+6px) so we must NOT use overflow:hidden here. */
  position: relative;
  box-sizing: border-box;
  /* Even inset around the button: right = top = bottom = 3px (concentric pills).
     Left stays tight (7px) — the input, not a rounded cap, sits there. */
  padding: 3px 3px 3px 7px;
  overflow: visible;
}
}

@layer components {
.atlas-search__submit {
  /* Pill cap sized to the inner content box: full-pill radius + the container's
     even 3px inset keeps every button corner concentric inside the arc. align-self:
     center + max-height:100% guarantee the button never grows past the inner height. */
  border-radius: var(--atlas-radius-pill, 99px);
  background: var(--atlas-fill-gold);
  align-self: center;
  box-sizing: border-box;
  max-height: 100%;
}
.atlas-search__scope-btn.is-active { background: var(--cr-c843a09e,rgba(255,255,255,.15)); color: var(--c-fff,#fff); }

/* ---- §A Nav row -----------------------------------------------------------
   [NAV-VARIANT-C 2026-07-03] The old gold-underline / border-radius pill states
   here caused the rounded-pill + clipped-bottom-border look. Neutralized: the
   authoritative data-desk gold-tab states live in the [NAV-VARIANT-C] block near
   the end of this file. Only the row background + base colour are kept here. */
/* [WCAG-1.4.3 2026-09-23] --atlas-bg-card, not --atlas-white: identical by day (#fff), but
   --atlas-white has no night value (it is a TEXT token by role — 334 of its 437 references are
   `color:`), so at night the nav bar stayed white under the flipped light nav-link colour:
   #cbd5e1 on #ffffff, 1.48:1, 122 failures across the 12-page sample. A surface token flips. */
.site-nav { position: relative; background: var(--atlas-bg-card); border-bottom: 1px solid var(--atlas-border); }   /* [CSS4B] position owned here (was redeclared in mega-menu*.css; golden A3) */
.site-nav__link {
  color: var(--atlas-text-secondary);
}
.site-nav__mega-trigger[aria-expanded="true"] { color: var(--atlas-navy-ink); }
}

/* ---- §C Breadcrumb — light variant polish + on-hover accent ------------- */
@layer chrome {
.breadcrumb__link:hover { color: var(--atlas-accent); }
.breadcrumb__list:empty { display: none; }

/* ---- §C Breadcrumb ON a dark hero (white text + scrim, contrast fix) -----
   Opt-in variant for any hero/dark header that places crumbs over imagery.
   The many existing *-hero__breadcrumb classes each roll their own colours;
   this shared class gives templates a token-driven option that is AA-legible
   over any photo (scrim from below), fixing the muted-navy-on-dark failure. */
.breadcrumb-on-hero {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--atlas-space-2);
  font-size: var(--atlas-fs-xs); font-weight: var(--atlas-fw-semibold, 600);
  color: var(--atlas-crumb-on-dark);
  background: var(--atlas-crumb-scrim);
  padding: var(--atlas-space-4) 0 var(--atlas-space-3);
}
.breadcrumb-on-hero a { color: var(--cr-b239cee8,rgba(255,255,255,.65)); transition: color .12s; }
.breadcrumb-on-hero a:hover { color: var(--c-fff,#fff); }
.breadcrumb-on-hero .sep,
.breadcrumb-on-hero .breadcrumb__sep { color: var(--atlas-crumb-sep-dark); }
.breadcrumb-on-hero .current,
.breadcrumb-on-hero .breadcrumb__current { color: var(--cr-822f8621,rgba(255,255,255,.9)); font-weight: var(--atlas-fw-bold, 700); }
.breadcrumb-on-hero:empty { display: none; }
}

/* ---- §F Footer: its values are now the --footer-* token defaults; the rules live in the footer owner block (@layer chrome) ---- */
@layer components {

/* [DESIGN-11 CHROME END] ================================================== */

}

/* ---------- Lead / intro paragraphs span their block: THE ONE OWNER (utilities layer) -------------------------------------------
   [PASS30 U30 item 6/12] The owner's report 'the first sentence sits in the left half of a 50/50 grid' came back because every component and page
   stylesheet carries its own `max-width: 58ch / 68ch / 600px` on its lede (70+ declarations; the 2026-09-22 sweep fixed the shared sheets once,
   new components copied the old habit). The measure is a token (--atlas-measure-lede, above) and it is applied HERE, once, in the top layer, so no
   component rule can narrow a lead again: a paragraph whose class names a lead / lede / intro / sub / subtitle is as wide as the block it opens.
   Not touched: the hero's own lede (hero owner), navigation, asides, figures and anything marked data-lead-narrow-ok. Gate: visual-defects
   text.lead_in_column (served tree) + fixture. */
@layer utilities {
  p:is([class*="lead"], [class*="lede"], [class*="intro"], [class*="__sub"], [class*="-sub"], [class*="subtitle"]):not(:is(.ov-hero, .hero, .hero-compact, header, nav, aside, figure, blockquote, [data-lead-narrow-ok]) *) { max-width: var(--atlas-measure-lede); }
}

/* ---------- Back-to-top: THE ONE OWNER (chrome layer) --------------------------
   [PASS30 U30 item 11] 65 stylesheets used to declare this button (framework twice, every vertical token sheet, the sc01/sc02/t0x
   sheets): whichever loaded last painted it, and a page's own link rule (.x-scope a{color}) turned the label blue on the navy disc
   (/passes/). It is declared HERE and nowhere else (gate golden-invariants A3 '.back-to-top', BLOCK); a vertical changes it only through
   TOKEN VALUES (--atlas-navy-surface, --atlas-navy-700, --atlas-text-on-dark). The label and the arrow carry the ink themselves, so a
   page rule that recolours <a> cannot reach them. */
@layer chrome {
.back-to-top {
  position: fixed; right: var(--atlas-space-4); bottom: var(--atlas-space-6);
  z-index: var(--atlas-z-overlay, 200);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 52px; height: 52px; box-sizing: border-box;
  background: var(--atlas-navy-surface); color: var(--atlas-text-on-dark);
  border-radius: 50%;
  font-size: var(--atlas-fs-micro, 10px); font-weight: var(--atlas-fw-semibold); letter-spacing: var(--atlas-ls-wider); text-transform: var(--atlas-label-transform);
  box-shadow: 0 4px 12px var(--cr-7dc03103,rgba(0,0,0,.18));
  text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--atlas-transition), transform var(--atlas-transition), visibility var(--atlas-transition), background 150ms;
}
.back-to-top:hover { background: var(--atlas-navy-700); color: var(--atlas-text-on-dark); text-decoration: none; }
.back-to-top:visited, .back-to-top:focus-visible { color: var(--atlas-text-on-dark); }
.back-to-top span, .back-to-top svg { color: var(--atlas-text-on-dark); }
@media (min-width: 768px) {
  .back-to-top { opacity: 1; visibility: visible; transform: translateY(0); }
  .back-to-top:hover { transform: translateY(-2px); }
}
}

/* ===== SITE FOOTER - THE ONE OWNER (css.md rule 3; LEFTOVERS3 item 8) ======================================================================
   Was declared in 32 sheets: 18 per-template mirrors + 9 *-design-tokens + golfita-brand painted it a LIGHT tint while the dark-surface contract
   re-pointed its inks to on-dark (light text on a light footer), and a second components-layer block here repainted it navy-900. One block,
   chrome layer, every value a --footer-* token (defaults beside --atlas-header-border). */
@layer chrome {

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: var(--footer-gap-top);
  padding-top: var(--footer-pad-y);
}
.site-footer__top {
  display: grid;
  gap: var(--atlas-space-8);
  grid-template-columns: 1fr;
  padding-bottom: var(--atlas-space-10);
}
@media (min-width: 1024px) {
  .site-footer__top { grid-template-columns: 320px 1fr; gap: var(--atlas-space-12); }
}

.site-footer__brand { max-width: 320px; }
.site-footer__logo {
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-xl);
  font-weight: var(--atlas-fw-bold);
  color: var(--footer-text);
  font-weight: var(--atlas-fw-black, 800);
  display: block;
  margin-bottom: var(--atlas-space-2);
}
.site-footer__logo span { font-weight: var(--atlas-fw-regular); opacity: 0.7; }
.site-footer__tagline {
  font-size: var(--atlas-fs-sm);
  color: var(--footer-muted);
  line-height: var(--atlas-lh-relaxed);
  margin: 0 0 var(--atlas-space-4);
}

.site-footer__social {
  display: flex; gap: var(--atlas-space-3);
  margin: 0; padding: 0; list-style: none;
}
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: color-mix(in srgb, var(--footer-text) 8%, transparent);
  color: var(--footer-text);
  border-radius: var(--atlas-radius-md);
  transition: background var(--atlas-transition-fast), color var(--atlas-transition-fast);
}
.site-footer__social a:hover { background: var(--footer-accent); color: var(--footer-accent-ink); text-decoration: none; }

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--atlas-space-6);
}
/* [HOME-FIXES 2026-10-07] Columns fill the row whatever their number (the cascade yields 4 to 6): a fixed 4-column grid wrapped the fifth column under the
   first, which then read as one 12-link column and made the footer tall. A lone last column on the 2-column phone grid takes the full row. */
@media (min-width: 768px)  { .site-footer__nav { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); } }
@media (max-width: 767px)  { .site-footer__nav > .site-footer__col:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.site-footer__col-title {
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--footer-muted);
  margin: 0 0 var(--atlas-space-3);
}
.site-footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
}
.site-footer__col a {
  color: var(--footer-link);
  font-size: var(--atlas-fs-sm);
  text-decoration: none;
}
.site-footer__col a:hover { color: var(--footer-link-hover); text-decoration: underline; }

.site-footer__bottom {
  padding: var(--atlas-space-4) 0;
  border-top: 1px solid var(--footer-border);
  display: flex; flex-direction: column; gap: var(--atlas-space-1);
}
.site-footer__bottom .atlas-muted { color: var(--footer-muted); }
/* [CHROME-UNIFY 2026-07-21] Footer legal lines: browser-default <p> margins opened a
   large gap between the "©…Updated" line and the "Affiliate disclosure…" line on pages
   whose footer emits them as two paragraphs (pages/partials/site-footer.php). Kill the
   margins (flex gap above already provides the 1-step rhythm) + one smaller size for
   both lines, matching the compact homepage legal line. */
.site-footer__bottom p { margin: 0; font-size: var(--atlas-fs-xs, .75rem); }
/* [WCAG-G18 2026-10-10] The footer owns its legal-line link ink. It used to come only from the base `a` rule in typography-and-navigation.css, which pages that do not link that sheet (/best/) never got: the UA blue #0000ee printed on the navy footer at 1.86:1. --atlas-link is the on-dark link ink inside this scope. */
.site-footer__bottom a { color: var(--atlas-link); }
/* [GEO CITE-LINE 2026-09-23] The visible "cite this page" line. Chrome, single-source, in the
   footer owner's own stylesheet — not an override appended to win by load order. Tokens only.
   A canonical URL is one long unbreakable string, so it is allowed to wrap inside the line.
   The flex `gap` on .site-footer__bottom already provides the vertical rhythm, so this adds no
   margin and needs no !important to beat `.site-footer__bottom p`. */
.site-footer__cite a { overflow-wrap: anywhere; word-break: break-word; }
.site-footer__cite-label { font-weight: var(--atlas-fw-semibold); }
.site-footer__cite-sep { opacity: .7; }
/* [PASS35-FIX-B] the page date is one value: it never breaks at its hyphens across two lines (visual-defects layout.short_value_wrap) */
.site-footer .page-last-updated time { white-space: nowrap; }
/* the split wordmark in the footer (moved from mega-menu.css, which keeps the header half) */
.site-footer .logo-snow { color: var(--footer-text); }
.site-footer .logo-terest { color: var(--atlas-header-accent); }
}

/* ---------- Partials Print & Accessibility ------------------------------- */
@layer chrome {
@media print {
  .site-nav, .back-to-top, .booking-cta-widget__disclosure { display: none; }
  .site-footer { background: transparent; color: var(--atlas-text); padding: 0; }
  .data-card { box-shadow: none; border: 1px solid var(--c-ccc,#ccc); break-inside: avoid; }
}
}

@layer components {
@media (prefers-reduced-motion: reduce) {
  .data-card, .profile-switcher__trigger, .profile-switcher__item, .back-to-top {
    transition: none !important;
  }
}

/* =============================================================================
   SECTION 16: T05 WEATHER — CURRENT CONDITIONS & FORECAST
   Elevation grid, forecast charts, AM/PM/Night table, freezing-line chart, wind bars
   ============================================================================= */

/* [FB-INK 2026-10-17 owner 35c P2-5] a weather section starts one step below the block before it too ("Right now" touched the verdict callout) */
.weather-section { margin-block: var(--atlas-space-8); display: flex; flex-direction: column; gap: var(--atlas-space-4); }
.section-header__actions { margin-left: auto; flex-shrink: 0; }

/* Pill toggle (elevation switcher) */
.atlas-pill-toggle {
  display: inline-flex;
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-pill);
  padding: 3px;
  gap: 2px;
}
.atlas-pill-toggle__btn {
  padding: 6px var(--atlas-space-3);
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--atlas-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--atlas-transition-fast), color var(--atlas-transition-fast);
}
.atlas-pill-toggle__btn:hover { color: var(--atlas-text); }
.atlas-pill-toggle__btn--active {
  background: var(--atlas-bg-card);
  color: var(--atlas-accent);
  box-shadow: var(--atlas-shadow-sm);
}

/* Elevation grid (Top / Mid / Base) */
.elevation-grid[hidden] { display: none; }
.elevation-grid {
  display: grid;
  gap: var(--atlas-space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .elevation-grid { grid-template-columns: repeat(3, 1fr); } }

.elevation-card {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding: var(--atlas-card-padding);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  box-shadow: var(--atlas-shadow-card);
  position: relative;
  overflow: hidden;
}
.elevation-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--atlas-accent);
}
.elevation-card--top::before  { background: var(--atlas-accent); }
.elevation-card--mid::before  { background: var(--atlas-ski-intermediate); }
.elevation-card--base::before { background: var(--atlas-text-muted); }

.elevation-card__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--atlas-space-2);
  padding-bottom: var(--atlas-space-2);
  border-bottom: 1px solid var(--atlas-divider);
}
.elevation-card__band {
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
}
.elevation-card__altitude { color: var(--atlas-text); }
.elevation-card__body { display: flex; flex-direction: column; gap: var(--atlas-space-4); }
.elevation-card__primary {
  display: flex; align-items: center;
  gap: var(--atlas-space-3);
}
.elevation-card__primary > div { display: flex; flex-direction: column; gap: 2px; }
.elevation-card__primary .atlas-data { line-height: var(--atlas-lh-none); color: var(--atlas-text); }
.elevation-card__icon { flex-shrink: 0; color: var(--atlas-accent); }
.elevation-card--mid .elevation-card__icon  { color: var(--atlas-ski-intermediate); }
.elevation-card--base .elevation-card__icon { color: var(--atlas-text-muted); }
.elevation-card__condition {
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text-secondary);
}
.elevation-card__details {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.elevation-card__details li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed var(--atlas-divider);
  gap: var(--atlas-space-3);
}
.elevation-card__details li:last-child { border-bottom: 0; }
.elevation-card__details .atlas-label { color: var(--atlas-text-muted); }
.elevation-card__details .atlas-data  { color: var(--atlas-text); }

/* Forecast chart */
.forecast-chart { position: relative; width: 100%; height: auto; padding: var(--atlas-space-3) 0; }

/* Wind bars */
.wind-bars { display: flex; flex-direction: column; gap: var(--atlas-space-3); }
.wind-bars__row { display: grid; grid-template-columns: 110px 1fr 80px; gap: var(--atlas-space-3); align-items: center; }
@media (max-width: 640px) {
  .wind-bars__row { grid-template-columns: 1fr; gap: var(--atlas-space-1); }
  .wind-bars__row > .atlas-data { text-align: right; }
}
.wind-bars__label { color: var(--atlas-text); }
.wind-bars__hours {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 4px; align-items: end; height: 70px;
}
.wind-bars__hours li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.wind-bars__bar {
  display: block; width: 100%;
  height: var(--h, 20%);
  background: var(--atlas-text-link);
  border-radius: 3px 3px 0 0;
  transition: height 600ms cubic-bezier(0.65, 0, 0.35, 1);
  min-height: 4px;
}
.wind-bars__bar--warn { background: var(--atlas-warning); }
.wind-bars__hour { font-family: var(--atlas-font-data); font-feature-settings: 'tnum'; font-size: var(--atlas-fs-micro,0.75rem); color: var(--atlas-text-muted); margin-top: 4px; }

/* =============================================================================
   SECTION 17: T06 WEATHER HISTORICAL — SNOW HISTORY & CLIMATE TRENDS
   Prose cards, snowhistory table, multi-year chart, summer table, climate trends
   ============================================================================= */

/* Prose card (intro narrative blocks) */
.prose-card {
  padding: var(--atlas-card-padding);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  box-shadow: var(--atlas-shadow-card);
}
.prose-card--inline { background: var(--atlas-bg-card-tint); box-shadow: none; border-style: dashed; }
.prose-card__title { margin: 0 0 var(--atlas-space-3); }
.prose-card p { margin: 0 0 var(--atlas-space-3); line-height: var(--atlas-lh-relaxed); color: var(--atlas-text-secondary); }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card strong { color: var(--atlas-text); }
.prose-card em { color: var(--atlas-text); font-weight: var(--atlas-fw-medium); font-style: normal; }

/* Snowhistory table */
.snowhistory-table th,
.snowhistory-table td { white-space: nowrap; }
.snowhistory-table__row--peak { background: var(--atlas-success-bg); }
.snowhistory-table__row--peak th,
.snowhistory-table__row--peak td { font-weight: var(--atlas-fw-semibold); }
.snowhistory-table__row--peak th .atlas-badge { margin-left: var(--atlas-space-2); vertical-align: middle; }

/* Multi-year snowhistory chart */

/* Climate trend grid */
.climate-trend-grid { display: grid; gap: var(--atlas-space-4); grid-template-columns: 1fr; margin-bottom: var(--atlas-space-4); }
@media (min-width: 768px) { .climate-trend-grid { grid-template-columns: repeat(3, 1fr); } }
.climate-summary p { margin: 0; line-height: var(--atlas-lh-relaxed); color: var(--atlas-text-secondary); }
.climate-summary strong { color: var(--atlas-text); }

/* Best weeks list (sidebar) */
.best-weeks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--atlas-space-3); }
.best-weeks li {
  display: grid; grid-template-columns: 32px 1fr; gap: var(--atlas-space-3);
  align-items: start; padding: var(--atlas-space-2) 0; border-bottom: 1px dashed var(--atlas-divider);
}
.best-weeks li:last-child { border-bottom: 0; }
.best-weeks__rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: var(--atlas-accent); color: var(--atlas-text-inverse);
  border-radius: 50%; font-family: var(--atlas-font-data); font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-sm); flex-shrink: 0;
}
.best-weeks li:nth-child(2) .best-weeks__rank { background: var(--atlas-text-secondary); }
.best-weeks li:nth-child(3) .best-weeks__rank { background: var(--atlas-text-muted); }
.best-weeks div strong { display: block; color: var(--atlas-text); font-size: var(--atlas-fs-sm); }
.best-weeks div p { margin: 2px 0 0; }

/* Nearby resorts strip */
.nearby-resorts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--atlas-space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .nearby-resorts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nearby-resorts { grid-template-columns: repeat(4, 1fr); } }
.nearby-resort {
  display: flex; flex-direction: column; gap: var(--atlas-space-1);
  padding: var(--atlas-space-4); background: var(--component-bg);
  border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg);
  text-decoration: none; color: var(--atlas-text);
  transition: box-shadow var(--atlas-transition), border-color var(--atlas-transition), transform var(--atlas-transition);
}
.nearby-resort:hover { text-decoration: none; color: var(--atlas-text); box-shadow: var(--atlas-shadow-card-hover); border-color: var(--atlas-accent); transform: var(--atlas-hover-lift); }
.nearby-resort__rank { display: inline-block; font-size: var(--atlas-fs-sm); color: var(--atlas-warn-as-text); letter-spacing: var(--atlas-ls-widest); margin-bottom: 2px; }
.nearby-resort__name { font-family: var(--atlas-font-heading); font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-lg); margin: 0; color: var(--atlas-text); }
.nearby-resort__metric { margin: var(--atlas-space-1) 0 0; font-size: var(--atlas-fs-sm); color: var(--atlas-text-secondary); }
.nearby-resort__metric strong { color: var(--atlas-text); font-weight: var(--atlas-fw-semibold); }

.sidebar-card--quiet { box-shadow: none; background: var(--atlas-bg-card-tint); }

/* Weather print & mobile refinements */
@media (max-width: 767px) {
  .elevation-card__primary { flex-direction: column; align-items: flex-start; }
  
  
}
@media print {
  .forecast-chart, .freezing-chart, .wind-bars, .snowhistory-chart { break-inside: avoid; }
  .atlas-pill-toggle { display: none; }
  .nearby-resorts { break-before: page; }
}

/* ============================================================================
   T09 — MEDIA GALLERY
   Featured asset · webcam grid · masonry photo grid · video grid · filter chips
   ========================================================================== */

/* Section wrapper */
.gallery-section { margin-bottom: var(--atlas-space-8); display: flex; flex-direction: column; gap: var(--atlas-space-4); }
.gallery-section__more { display: flex; justify-content: center; margin-top: var(--atlas-space-4); }

/* Generic image placeholder pattern */
.featured-asset__placeholder,
.webcam-card__placeholder,
.photo-tile__placeholder,
.video-card__placeholder {
  background: linear-gradient(135deg, var(--atlas-snow-100) 0%, var(--atlas-snow-200) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--atlas-space-2);
  color: var(--atlas-text-muted);
  width: 100%;
  position: relative;
}
.featured-asset__placeholder::after,
.webcam-card__placeholder::after,
.photo-tile__placeholder::after,
.video-card__placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, var(--cr-e2bd3e0e,rgba(255,255,255,0.4)) 25%, transparent 25%),
    linear-gradient(-45deg, var(--cr-e2bd3e0e,rgba(255,255,255,0.4)) 25%, transparent 25%);
  background-size: 32px 32px;
  background-position: 0 0, 0 16px;
  opacity: 0.18;
}

/* Featured asset */
.featured-asset {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  box-shadow: var(--atlas-shadow-card);
}
@media (min-width: 1024px) { .featured-asset { grid-template-columns: 1.6fr 1fr; } }

.featured-asset__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  text-decoration: none;
}
.featured-asset__placeholder { height: 100%; }
.featured-asset__overlay-badge {
  position: absolute; bottom: var(--atlas-space-3); left: var(--atlas-space-3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px var(--atlas-space-3);
  background: var(--cr-b76f79b5,rgba(11, 37, 69, 0.85));
  color: var(--atlas-text-inverse);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  border-radius: var(--atlas-radius-pill);
  z-index: 1;
}
.featured-asset__media:hover .featured-asset__overlay-badge { background: var(--atlas-accent); }

.featured-asset__meta {
  padding: var(--atlas-space-5);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
}
.featured-asset__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-xl);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}
.featured-asset__meta-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.featured-asset__meta-list li {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--atlas-space-3); align-items: baseline;
  padding: var(--atlas-space-2) 0;
  border-bottom: 1px dashed var(--atlas-divider);
}
.featured-asset__meta-list li:last-child { border-bottom: 0; }
.featured-asset__meta-list .atlas-label { color: var(--atlas-text-muted); }
.featured-asset__meta-list .atlas-data  { color: var(--atlas-text); text-align: right; }

/* Webcam grid */
.webcam-grid {
  display: grid;
  gap: var(--atlas-space-3);
  grid-template-columns: 1fr;
}
/* [CONTAINER-AWARE 2026-09-16] Column count follows the CONTAINER width, not the viewport: the grid
   sits inside the narrow main column on silo pages (6 fixed columns produced 42px thumbnails). */
@media (min-width: 480px)  { .webcam-grid { grid-template-columns: repeat(auto-fill, minmax(var(--atlas-webcam-card-min, 200px), 1fr)); } }
.webcam-card__link { display: block; text-decoration: none; color: inherit; }

.webcam-card {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  overflow: hidden;
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition);
}
.webcam-card:hover { box-shadow: var(--atlas-shadow-card-hover); transform: var(--atlas-hover-lift); }

.webcam-card__placeholder { height: 100%; }

}

@keyframes webcam-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@layer components {

.webcam-card__body {
  padding: var(--atlas-space-3);
  display: flex; flex-direction: column; gap: 2px;
}

/* Filter bar (chips) */
.filter-bar {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-4);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
}
@media (min-width: 768px) {
  .filter-bar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--atlas-space-5); }
}

.filter-bar__group { display: flex; flex-direction: column; gap: var(--atlas-space-2); min-width: 0; }
@media (min-width: 768px) { .filter-bar__group { flex-direction: row; align-items: center; gap: var(--atlas-space-3); } }
.filter-bar__label { color: var(--atlas-text-muted); white-space: nowrap; flex-shrink: 0; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 6px var(--atlas-space-3);
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--atlas-transition-fast);
}
.filter-chip:hover { border-color: var(--atlas-border-strong); color: var(--atlas-text); }
.filter-chip--active {
  background: var(--atlas-navy-surface);
  border-color: var(--atlas-navy);
  color: var(--atlas-text-inverse);
}

/* Photo masonry grid */

/* Video grid */
.video-grid {
  display: grid;
  gap: var(--atlas-space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }

.video-card {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  overflow: hidden;
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition);
}
.video-card:hover { box-shadow: var(--atlas-shadow-card-hover); transform: var(--atlas-hover-lift); }

.video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
}
.video-card__placeholder { height: 100%; }
.video-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cr-51bce67c,rgba(11, 37, 69, 0.18));
  color: var(--atlas-white);
  transition: background var(--atlas-transition);
}
.video-card:hover .video-card__play { background: var(--cr-b93c1b0c,rgba(11, 37, 69, 0.35)); }
.video-card__play svg {
  background: var(--cr-b76f79b5,rgba(11, 37, 69, 0.85));
  border-radius: 50%;
  padding: 8px;
}
.video-card__duration {
  position: absolute; bottom: var(--atlas-space-2); right: var(--atlas-space-2);
  padding: 3px 8px;
  background: var(--cr-b76f79b5,rgba(11, 37, 69, 0.85));
  color: var(--atlas-white);
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  border-radius: var(--atlas-radius-sm);
}

.video-card__body {
  padding: var(--atlas-space-3);
  display: flex; flex-direction: column; gap: 2px;
}
.video-card__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-base);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}

/* UGC sidebar card */
.sidebar-card--ugc {
  background: linear-gradient(135deg, var(--atlas-accent-bg), var(--atlas-bg-card-tint));
  border-color: var(--atlas-accent);
  border-style: dashed;
}

/* T09 Mobile refinements */
@media (max-width: 767px) {
  .featured-asset__title { font-size: var(--atlas-fs-lg); }
  
  .filter-chip { font-size: var(--atlas-fs-micro, 0.6875rem); padding: 5px 10px; }
}

/* T09 Print */
@media print {
  .webcam-grid, .photo-masonry, .video-grid { break-inside: avoid; }
  .filter-bar, .gallery-section__more { display: none; }
  .video-card__play, .webcam-card__live { display: none; }
}

/* ============================================================================
   T11 — ACCOMMODATION
   3-column layout: filter rail · property list · map peek
   Property cards · filter widgets · sort bar · pagination
   ========================================================================== */

/* Page layout */
.property-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-5);
  margin-bottom: var(--atlas-section-gap-lg);
  align-items: start;
}
@media (min-width: 768px)  { .property-layout { grid-template-columns: 240px 1fr; } }
@media (min-width: 1280px) { .property-layout { grid-template-columns: 240px 1fr 320px; } }

/* Filter rail */
.filter-rail {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-5);
  padding: var(--atlas-space-4);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  position: sticky;
  top: calc(var(--atlas-space-4) + 64px);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}
@media (max-width: 767px) { .filter-rail { position: static; max-height: none; } }

.filter-rail__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--atlas-space-3);
  border-bottom: 1px solid var(--atlas-divider);
}
.filter-rail__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
}
.filter-rail__clear {
  background: transparent;
  border: 0;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-accent);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--atlas-radius-sm);
  transition: background var(--atlas-transition-fast);
}
.filter-rail__clear:hover { background: var(--atlas-accent-bg); }

/* Filter group */
.filter-group {
  border: 0;
  margin: 0;
  padding: 0 0 var(--atlas-space-4);
  border-bottom: 1px solid var(--atlas-divider);
}
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-group__title {
  font-family: var(--atlas-font-body);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text);
  margin: 0 0 var(--atlas-space-2);
  padding: 0;
}
.filter-group__pricebar {
  display: flex; justify-content: space-between;
  margin: var(--atlas-space-1) 0;
}

/* Filter list (checkbox/radio rows) */
.filter-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}

.filter-checkbox,
.filter-radio {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: var(--atlas-space-2);
  align-items: center;
  padding: 6px 4px;
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-secondary);
  cursor: pointer;
  border-radius: var(--atlas-radius-sm);
  transition: background var(--atlas-transition-fast);
}
.filter-checkbox:hover,
.filter-radio:hover { background: var(--atlas-bg-card-tint); color: var(--atlas-text); }
.filter-checkbox input,
.filter-radio input {
  position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
}

.filter-checkbox__indicator,
.filter-radio__indicator {
  width: 16px; height: 16px;
  border: 2px solid var(--atlas-border-strong);
  background: var(--atlas-white);
  flex-shrink: 0;
  position: relative;
  transition: all var(--atlas-transition-fast);
}
.filter-checkbox__indicator { border-radius: 4px; }
.filter-radio__indicator    { border-radius: 50%; }

.filter-checkbox__indicator::after {
  content: '';
  position: absolute; top: 1px; left: 4px;
  width: 4px; height: 8px;
  border: solid var(--atlas-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--atlas-transition-fast);
}
.filter-checkbox input:checked + .filter-checkbox__indicator {
  background: var(--atlas-accent);
  border-color: var(--atlas-accent);
}
.filter-checkbox input:checked + .filter-checkbox__indicator::after { transform: rotate(45deg) scale(1); }

.filter-radio__indicator::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: var(--atlas-accent);
  transform: scale(0);
  transition: transform var(--atlas-transition-fast);
}
.filter-radio input:checked + .filter-radio__indicator { border-color: var(--atlas-accent); }
.filter-radio input:checked + .filter-radio__indicator::after { transform: scale(1); }

.filter-list__count {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-muted);
  font-weight: var(--atlas-fw-regular);
}

/* Price slider (visual only) */
.price-slider {
  position: relative;
  height: 32px;
  display: flex; align-items: center;
  margin: var(--atlas-space-2) 0;
}
.price-slider__track {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--atlas-snow-200);
  border-radius: var(--atlas-radius-pill);
  position: relative;
}
.price-slider__fill {
  position: absolute; top: 0; height: 100%;
  left: 18%; right: 24%;
  background: var(--atlas-accent);
  border-radius: var(--atlas-radius-pill);
}
.price-slider__track::before,
.price-slider__track::after {
  content: '';
  position: absolute; top: 50%;
  width: 16px; height: 16px;
  background: var(--atlas-bg-card);
  border: 2px solid var(--atlas-accent);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: var(--atlas-shadow-sm);
}
.price-slider__track::before { left: 18%; }
.price-slider__track::after  { right: 24%; transform: translate(50%, -50%); }

/* Sort bar */
.sort-bar {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-3) var(--atlas-space-4);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  margin-bottom: var(--atlas-space-4);
}
.sort-bar__count {
  display: flex; align-items: baseline; gap: var(--atlas-space-2);
  flex-wrap: wrap;
}
.sort-bar__count strong {
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
}
.sort-bar__controls { display: flex; align-items: center; gap: var(--atlas-space-3); flex-wrap: wrap; }
.sort-bar__label { display: inline-flex; align-items: center; gap: var(--atlas-space-2); }
.sort-bar__label .atlas-label { white-space: nowrap; }
.sort-bar__label select {
  padding: 6px var(--atlas-space-3);
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-sm);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  background: var(--atlas-bg-card);
  color: var(--atlas-text);
}

/* Property list */
.property-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
}

.property-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-4);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), border-color var(--atlas-transition);
}
.property-card:hover { box-shadow: var(--atlas-shadow-card-hover); border-color: var(--atlas-border-strong); }
@media (min-width: 640px) {
  .property-card { grid-template-columns: 240px 1fr 200px; gap: 0; align-items: stretch; }
}
.property-card--featured { border-color: var(--atlas-accent); border-width: 2px; }

.property-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
}
@media (min-width: 640px) { .property-card__media { aspect-ratio: auto; } }
.property-card__placeholder { position: absolute; inset: 0; height: 100%; }
.property-card__featured-badge {
  position: absolute; top: var(--atlas-space-2); left: var(--atlas-space-2);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  background: var(--atlas-gold);
  color: var(--atlas-white);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-bold);
  border-radius: var(--atlas-radius-sm);
}

.property-card__body {
  padding: var(--atlas-space-4);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
  min-width: 0;
}
.property-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-2);
  flex-wrap: wrap;
}
.property-card__stars {
  color: var(--atlas-warn-as-text);
  letter-spacing: var(--atlas-ls-widest);
  font-size: var(--atlas-fs-sm);
}
.property-card__name {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}
.property-card__location { margin: 0; color: var(--atlas-text-muted); }
.property-card__amenities {
  list-style: none; margin: var(--atlas-space-1) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.property-card__amenities li {
  padding: 3px 8px;
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-secondary);
  background: var(--atlas-bg-card-tint);
  border-radius: var(--atlas-radius-pill);
  white-space: nowrap;
}

.property-card__sidebar {
  padding: var(--atlas-space-4);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  background: var(--atlas-bg-card-tint);
  border-left: 1px solid var(--atlas-divider);
}
@media (max-width: 639px) { .property-card__sidebar { border-left: 0; border-top: 1px solid var(--atlas-divider); } }

.property-card__score {
  display: flex; flex-direction: column;
  gap: 2px;
  padding-bottom: var(--atlas-space-2);
  border-bottom: 1px solid var(--atlas-divider);
}
.property-card__score-num {
  display: inline-block;
  padding: 4px 10px;
  background: var(--atlas-navy-surface);
  color: var(--atlas-text-inverse);
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  border-radius: var(--atlas-radius-sm);
  align-self: flex-start;
}
.property-card__score-label {
  font-family: var(--atlas-font-body);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text);
}

.property-card__price { display: flex; flex-direction: column; gap: 2px; }
.property-card__price .atlas-data { color: var(--atlas-accent); line-height: var(--atlas-lh-none); }
.property-card__trust {
  text-align: center;
  margin: 0;
  color: var(--atlas-success-text);
  font-weight: var(--atlas-fw-medium);
}

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: var(--atlas-space-2);
  margin-top: var(--atlas-space-5);
  padding: var(--atlas-space-3);
}

/* Map peek (right rail) */
.map-peek {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-4);
  position: sticky;
  top: calc(var(--atlas-space-4) + 64px);
}
@media (max-width: 1279px) { .map-peek { position: static; } }

.map-peek__inner {
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
}
.map-peek__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--atlas-space-3) var(--atlas-space-4);
  border-bottom: 1px solid var(--atlas-divider);
}
.map-peek__head a {
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text-link);
  text-decoration: none;
}
.map-peek__head a:hover { text-decoration: underline; }

.map-peek__canvas {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--atlas-snow-100);
}

.map-peek__pin { cursor: pointer; }
.map-peek__pin:hover circle { stroke: white; stroke-width: 2; }

.map-peek__legend {
  display: flex; align-items: center; gap: var(--atlas-space-1);
  flex-wrap: wrap;
  margin: 0;
  padding: var(--atlas-space-2) var(--atlas-space-4);
  font-size: var(--atlas-fs-tiny);
}
.map-peek__dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 2px;
  vertical-align: middle;
}
.map-peek__dot--single  { background: var(--atlas-accent); }
.map-peek__dot--cluster { background: var(--atlas-gold); }

/* T11 Mobile refinements */
@media (max-width: 639px) {
  .property-card__head { flex-direction: column; align-items: flex-start; }
  .property-card__name { font-size: var(--atlas-fs-base); }
  .filter-rail__head { padding-bottom: var(--atlas-space-2); }
  
}
@media (max-width: 767px) {
  .filter-rail { order: 2; }
  .property-list-area { order: 1; }
}

/* T11 Print */
@media print {
  .filter-rail, .map-peek, .pagination, .sort-bar { display: none; }
  .property-layout { grid-template-columns: 1fr; }
  .property-card { break-inside: avoid; }
}

/* ============================================================================
   T12 — ACTIVITIES & EVENTS HUB
   Countdown banner · vertical event timeline · activity tile grid · competitions
   ========================================================================== */

/* ---------- Countdown banner -------------------------------------------- */
.countdown-section { margin-bottom: var(--atlas-space-5); }

.countdown-banner {
  display: grid;
  gap: var(--atlas-space-4);
  grid-template-columns: 1fr;
  align-items: center;
  padding: var(--atlas-space-5) var(--atlas-space-6);
  background: linear-gradient(135deg, var(--atlas-navy-surface) 0%, var(--atlas-navy-700) 100%);
  color: var(--atlas-text-inverse);
  border-radius: var(--atlas-radius-lg);
  position: relative;
  overflow: hidden;
}
.countdown-banner::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--atlas-accent-300) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  transform: translate(80px, -80px);
}
@media (min-width: 768px) {
  .countdown-banner { grid-template-columns: 1.4fr auto auto; gap: var(--atlas-space-6); }
}

.countdown-banner__intro { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.countdown-banner__intro .atlas-label { color: var(--atlas-accent-300); }
.countdown-banner__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-2xl);
  line-height: var(--atlas-lh-tight);
  color: var(--atlas-white);
}
.countdown-banner__intro p { color: var(--cr-3d5e1fb3,rgba(255,255,255,0.75)); }

.countdown-clock {
  display: flex; align-items: center;
  gap: var(--atlas-space-2);
  position: relative; z-index: 1;
}
.countdown-clock__unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px;
  padding: var(--atlas-space-2) var(--atlas-space-3);
  background: var(--cr-cc5efe1d,rgba(255,255,255,0.1));
  border: 1px solid var(--cr-6bcd48a9,rgba(255,255,255,0.18));
  border-radius: var(--atlas-radius-md);
}
.countdown-clock__num {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-3xl);
  line-height: var(--atlas-lh-none);
  color: var(--atlas-white);
}
.countdown-clock__label {
  font-size: var(--atlas-fs-tiny);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  color: var(--cr-c6e48f28,rgba(255,255,255,0.7));
  margin-top: 4px;
}
.countdown-clock__sep {
  font-size: var(--atlas-fs-2xl);
  font-weight: var(--atlas-fw-bold);
  color: var(--cr-e2bd3e0e,rgba(255,255,255,0.4));
  line-height: var(--atlas-lh-none);
}

.countdown-banner__cta {
  display: flex; flex-wrap: wrap; gap: var(--atlas-space-2);
  position: relative; z-index: 1;
}
.countdown-banner__cta .atlas-btn--ghost {
  background: var(--cr-cc5efe1d,rgba(255,255,255,0.1));
  border-color: var(--cr-6bcd48a9,rgba(255,255,255,0.18));
  color: var(--atlas-white);
}
.countdown-banner__cta .atlas-btn--ghost:hover {
  background: var(--cr-6bcd48a9,rgba(255,255,255,0.18));
  color: var(--atlas-white);
}

/* ---------- Event timeline ---------------------------------------------- */
.event-timeline {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: var(--atlas-space-4);
  position: relative;
}

.event-row {
  display: grid;
  grid-template-columns: 64px 32px 1fr;
  gap: var(--atlas-space-3);
  align-items: stretch;
}
@media (max-width: 540px) {
  .event-row {
    grid-template-columns: 1fr;
  }
  .event-row__connector { display: none; }
}

/* Date column */
.event-row__date {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: var(--atlas-space-2) 0;
}
.event-row__month {
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
}
.event-row__day {
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-2xl);
  line-height: var(--atlas-lh-none);
  color: var(--atlas-text);
  margin: 2px 0;
}
.event-row__weekday {
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-muted);
  font-weight: var(--atlas-fw-medium);
}

/* Connector column */
.event-row__connector {
  position: relative;
  display: flex; justify-content: center;
}
.event-row__connector::before {
  content: '';
  position: absolute; top: 0; bottom: -16px; left: 50%;
  width: 2px;
  background: var(--atlas-divider);
  transform: translateX(-50%);
}
.event-row:last-child .event-row__connector::before { bottom: 50%; }
.event-row:first-child .event-row__connector::before { top: 50%; }
.event-row__dot {
  position: relative;
  display: inline-block;
  width: 14px; height: 14px;
  margin-top: 12px;
  background: var(--atlas-bg-card);
  border: 3px solid var(--atlas-text-muted);
  border-radius: 50%;
  z-index: 1;
}
.event-row__dot--major {
  background: var(--atlas-accent);
  border-color: var(--atlas-accent);
  box-shadow: 0 0 0 4px var(--atlas-accent-bg);
}

/* Card column */
.event-row__card {
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-space-4);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), border-color var(--atlas-transition);
}
.event-row__card:hover { box-shadow: var(--atlas-shadow-card-hover); border-color: var(--atlas-border-strong); }
.event-row__card--major {
  border-color: var(--atlas-accent);
  border-width: 2px;
}

.event-row__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-2);
  flex-wrap: wrap;
}
.event-row__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}
.event-row__lede {
  margin: 0;
  font-size: var(--atlas-fs-sm);
  line-height: var(--atlas-lh-normal);
  color: var(--atlas-text-secondary);
}

.event-row__chips {
  display: flex; flex-wrap: wrap; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.event-chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary);
  background: var(--atlas-bg-card-tint);
  border-radius: var(--atlas-radius-pill);
}
.event-chip--type {
  background: var(--atlas-navy-surface);
  color: var(--atlas-text-inverse);
}

.event-row__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-2);
  margin-top: var(--atlas-space-1);
  padding-top: var(--atlas-space-2);
  border-top: 1px dashed var(--atlas-divider);
}

/* ---------- Activity tile grid ----------------------------------------- */
.activity-grid {
  display: grid;
  gap: var(--atlas-space-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .activity-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .activity-grid { grid-template-columns: repeat(4, 1fr); } }

.activity-tile {
  display: flex; flex-direction: column;
  gap: 2px;
  padding: var(--atlas-space-4);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  text-decoration: none;
  color: var(--atlas-text);
  transition: all var(--atlas-transition);
}
.activity-tile:hover {
  text-decoration: none;
  color: var(--atlas-text);
  border-color: var(--atlas-accent);
  box-shadow: var(--atlas-shadow-card);
  transform: var(--atlas-hover-lift);
}
.activity-tile__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--atlas-accent-bg);
  color: var(--atlas-accent);
  border-radius: var(--atlas-radius-md);
  margin-bottom: var(--atlas-space-2);
}
.activity-tile:hover .activity-tile__icon { background: var(--atlas-accent); color: var(--atlas-white); }
.activity-tile__name {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-base);
  line-height: var(--atlas-lh-data);
}
.activity-tile__meta { margin: 2px 0 0; }

/* ---------- Competition table ------------------------------------------ */
.competition-table tbody td {
  padding: var(--atlas-space-3) var(--atlas-space-2);
}
.competition-table tbody td strong { color: var(--atlas-text); font-weight: var(--atlas-fw-semibold); }

/* ---------- Event alerts form (sidebar) -------------------------------- */

/* ---------- T12 Mobile refinements ----------------------------------------- */
@media (max-width: 540px) {
  .event-row__date {
    flex-direction: row; align-items: baseline;
    gap: var(--atlas-space-2);
    padding: 0 0 var(--atlas-space-1);
  }
  .event-row__day { font-size: var(--atlas-fs-lg); }
  .countdown-banner { padding: var(--atlas-space-4); }
  .countdown-clock__unit { min-width: 52px; padding: var(--atlas-space-1) var(--atlas-space-2); }
  .countdown-clock__num { font-size: var(--atlas-fs-2xl); }
}

/* ---------- T12 Print ------------------------------------------------------- */
@media print {
  .countdown-banner, .filter-bar, .activity-grid { break-inside: avoid; }
  .event-row__connector { display: none; }
  .event-row { grid-template-columns: 60px 1fr; }
}

/* ============================================================================
   T13 — OFF-PISTE & BACKCOUNTRY
   Avalanche banner · EAWS 5-level scale · ATES tier breakdown
   Route detail visual · ATES pills · guide cards · emergency sidebar
   ========================================================================== */

/* ---------- Avalanche danger banner ------------------------------------- */
.avalanche-banner {
  background: linear-gradient(135deg, var(--c-fff7ed,#fff7ed), var(--c-fef3c7,#fef3c7));
  border: 2px solid var(--atlas-warning);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-space-5);
  margin-bottom: var(--atlas-space-6);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-4);
}

.avalanche-banner__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--atlas-space-3);
  flex-wrap: wrap;
}
.avalanche-banner__title-block { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.avalanche-banner__label { color: var(--atlas-warning-text); }
.avalanche-banner__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-2xl);
  line-height: var(--atlas-lh-tight);
  color: var(--atlas-text);
}
.avalanche-banner__level-name { color: var(--atlas-warn-as-text); }

/* EAWS 5-level danger scale */
.avalanche-scale {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.avalanche-scale__step {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: var(--atlas-space-3) var(--atlas-space-2);
  border-radius: var(--atlas-radius-md);
  text-align: center;
  opacity: 0.5;
  transition: opacity var(--atlas-transition);
}
.avalanche-scale__step--low          { background: var(--c-16a34a,#16a34a); color: var(--atlas-white); }
.avalanche-scale__step--moderate     { background: var(--c-facc15,#facc15); color: var(--c-422006,#422006); }
.avalanche-scale__step--considerable { background: var(--c-f97316,#f97316); color: var(--atlas-white); }
.avalanche-scale__step--high         { background: var(--c-dc2626,#dc2626); color: var(--atlas-white); }
.avalanche-scale__step--very-high    { background: var(--c-18181b,#18181b); color: var(--atlas-white); }
.avalanche-scale__step--very-high::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, var(--cr-1943c74c,rgba(220,38,38,0.6)) 0 4px, transparent 4px 8px);
  border-radius: var(--atlas-radius-md);
}
.avalanche-scale__step--active {
  opacity: 1;
  outline: 3px solid var(--atlas-text);
  outline-offset: 2px;
  transform: scale(1.05);
}
.avalanche-scale__num {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-2xl);
  line-height: var(--atlas-lh-none);
  position: relative; z-index: 1;
}
.avalanche-scale__name {
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  margin-top: 4px;
  position: relative; z-index: 1;
}
.avalanche-scale__marker {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
  white-space: nowrap;
}

/* Aspect/altitude breakdown */
.avalanche-banner__details {
  display: grid;
  gap: var(--atlas-space-3);
  grid-template-columns: 1fr;
  padding-top: var(--atlas-space-3);
  border-top: 1px solid var(--atlas-warning);
}
@media (min-width: 768px) { .avalanche-banner__details { grid-template-columns: repeat(3, 1fr); } }
.avalanche-banner__detail { display: flex; flex-direction: column; gap: 2px; }
.avalanche-banner__detail p {
  margin: 0;
  font-size: var(--atlas-fs-sm);
  line-height: var(--atlas-lh-normal);
  color: var(--atlas-text);
}

/* ---------- ATES terrain breakdown ------------------------------------- */
.ates-breakdown {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-4);
  padding-bottom: var(--atlas-space-3);
}
@media (min-width: 768px) { .ates-breakdown { grid-template-columns: repeat(3, 1fr); } }

.ates-tier {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-4);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  border-top: 4px solid var(--atlas-success);
}
.ates-tier--simple      { border-top-color: var(--atlas-success); }
.ates-tier--challenging { border-top-color: var(--atlas-warning); }
.ates-tier--complex     { border-top-color: var(--atlas-error); }

.ates-tier__head {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--atlas-space-3);
  align-items: center;
  padding-bottom: var(--atlas-space-2);
  border-bottom: 1px solid var(--atlas-divider);
}
.ates-tier__head > div { display: flex; flex-direction: column; }
.ates-tier__icon { color: var(--atlas-text-muted); }
.ates-tier--simple .ates-tier__icon      { color: var(--atlas-ok-as-text); }
.ates-tier--challenging .ates-tier__icon { color: var(--atlas-warn-as-text); }
.ates-tier--complex .ates-tier__icon     { color: var(--atlas-danger-as-text); }
.ates-tier__rating {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-text-muted);
}
.ates-tier__label {
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
}
.ates-tier__count { line-height: var(--atlas-lh-none); color: var(--atlas-text); }
.ates-tier--simple .ates-tier__count      { color: var(--atlas-ok-as-text); }
.ates-tier--challenging .ates-tier__count { color: var(--atlas-warn-as-text); }
.ates-tier--complex .ates-tier__count     { color: var(--atlas-danger-as-text); }

.ates-tier__desc {
  margin: 0;
  font-size: var(--atlas-fs-sm);
  line-height: var(--atlas-lh-normal);
  color: var(--atlas-text-secondary);
}

.ates-tier__examples {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.ates-tier__examples li {
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-secondary);
  padding: 4px 0;
  border-bottom: 1px dashed var(--atlas-divider);
}
.ates-tier__examples li:last-child { border-bottom: 0; }
.ates-tier__warning { color: var(--atlas-error-text); }
.ates-tier__warning strong { color: var(--atlas-danger-as-text); }

/* ATES pill (in routes table) */
.ates-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-white);
}
.ates-pill--1 { background: var(--atlas-success); }
.ates-pill--2 { background: var(--atlas-warning); }
.ates-pill--3 { background: var(--atlas-error); }

/* ---------- Featured route detail -------------------------------------- */
.route-detail {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  box-shadow: var(--atlas-shadow-card);
}
.route-detail__visual {
  position: relative;
  background: var(--atlas-snow-100);
  width: 100%;
}

.route-detail__body {
  padding: var(--atlas-space-5);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-4);
}

.route-detail__stats {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--atlas-space-3);
}
@media (min-width: 640px)  { .route-detail__stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .route-detail__stats { grid-template-columns: repeat(5, 1fr); } }
.route-detail__stats li {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--atlas-space-3);
  background: var(--atlas-bg-card-tint);
  border-radius: var(--atlas-radius-md);
}
.route-detail__stats .atlas-data { line-height: var(--atlas-lh-none); color: var(--atlas-text); }

.route-detail__description p {
  margin: 0;
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text-secondary);
}
.route-detail__description strong { color: var(--atlas-text); }

/* ---------- Routes table ----------------------------------------------- */
.routes-table th[scope="row"] strong { color: var(--atlas-text); }
.routes-table tbody td { vertical-align: middle; }

/* ---------- Guide cards ------------------------------------------------ */
.guide-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-4);
}
@media (min-width: 768px)  { .guide-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guide-list { grid-template-columns: repeat(3, 1fr); } }

.guide-card {
  display: flex; flex-direction: column;
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition);
}
.guide-card:hover { box-shadow: var(--atlas-shadow-card-hover); transform: var(--atlas-hover-lift); }
.guide-card__media {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.guide-card__media .webcam-card__placeholder { position: absolute; inset: 0; height: 100%; }
.guide-card__body {
  padding: var(--atlas-space-4);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
}
.guide-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-2);
}
.guide-card__name {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  color: var(--atlas-text);
  line-height: var(--atlas-lh-data);
}
.guide-card__body > .atlas-btn { margin-top: auto; }

/* ---------- Emergency sidebar card ------------------------------------- */

.emergency-list li { border-bottom-color: var(--cr-760d5a35,rgba(255,255,255,0.15)); color: var(--atlas-white); }
.emergency-list li > span { color: var(--cr-b18f30ff,rgba(255,255,255,0.85)); }
.emergency-list li > span:last-child { color: var(--atlas-white); font-weight: var(--atlas-fw-bold); }

/* ---------- T13 Mobile refinements ----------------------------------------- */
@media (max-width: 540px) {
  .avalanche-scale__step { padding: var(--atlas-space-2) 4px; }
  .avalanche-scale__num { font-size: var(--atlas-fs-lg); }
  .avalanche-scale__name { font-size: var(--atlas-fs-micro,0.75rem); }
  .avalanche-scale__marker { font-size: var(--atlas-fs-micro,0.75rem); top: -18px; }
  .avalanche-banner__title { font-size: var(--atlas-fs-xl); }
  .ates-tier__head { grid-template-columns: 32px 1fr auto; }
}

/* ---------- T13 Print ------------------------------------------------------- */
@media print {
  .avalanche-banner { background: white; border: 2px solid var(--c-000,#000); }
  .avalanche-scale__step { opacity: 1; }
  .ates-tier { break-inside: avoid; }
  .guide-card { break-inside: avoid; }
}

/* ============================================================================
   T14 — TERRAIN PARKS & FREESTYLE
   Skill progression stepper · feature pills · park cards · pill-toggle filter
   ========================================================================== */

/* ---------- Skill progression stepper (page signature) ----------------- */
.skill-progression {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-3);
  position: relative;
  counter-reset: skillstep;
}
@media (min-width: 768px) {
  .skill-progression {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--atlas-space-4);
  }
  /* Connector line between desktop steps */
  .skill-progression::before {
    content: '';
    position: absolute;
    top: 32px; left: 12.5%; right: 12.5%;
    height: 2px;
    background: var(--atlas-divider);
    z-index: 0;
  }
}

.skill-step {
  position: relative;
  display: flex;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-4);
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  border-top: 4px solid var(--atlas-text-muted);
  box-shadow: var(--atlas-shadow-card);
  z-index: 1;
}
@media (min-width: 768px) { .skill-step { flex-direction: column; } }

.skill-step--beginner     { border-top-color: var(--atlas-success); }
.skill-step--intermediate { border-top-color: var(--atlas-info, var(--atlas-accent)); }
.skill-step--advanced     { border-top-color: var(--atlas-warning); }
.skill-step--pro          { border-top-color: var(--atlas-gold); }

.skill-step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--atlas-space-1);
  flex-shrink: 0;
}
@media (min-width: 768px) { .skill-step__marker { flex-direction: row; gap: var(--atlas-space-2); } }

.skill-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-white);
  background: var(--atlas-text-muted);
}
.skill-step--beginner     .skill-step__num { background: var(--atlas-success); }
.skill-step--intermediate .skill-step__num { background: var(--atlas-accent); }
.skill-step--advanced     .skill-step__num { background: var(--atlas-warning); }
.skill-step--pro          .skill-step__num { background: var(--atlas-gold); }

.skill-step__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--atlas-radius-sm);
  background: var(--atlas-bg-card-tint);
  color: var(--atlas-text-muted);
}
.skill-step--beginner     .skill-step__icon { background: var(--atlas-success-bg, rgba(22,163,74,.1)); color: var(--atlas-ok-as-text); }
.skill-step--intermediate .skill-step__icon { background: var(--atlas-accent-bg);  color: var(--atlas-accent); }
.skill-step--advanced     .skill-step__icon { background: var(--atlas-warning-bg); color: var(--atlas-warn-as-text); }
.skill-step--pro          .skill-step__icon { background: var(--atlas-accent-bg);  color: var(--atlas-gold); }

.skill-step__body {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
  flex: 1;
  min-width: 0;
}
.skill-step__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}
.skill-step__lede {
  margin: 0;
  color: var(--atlas-text-secondary);
  line-height: var(--atlas-lh-normal);
}

.skill-step__features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.skill-step__features li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: var(--atlas-space-2);
  align-items: baseline;
  padding: 4px 0;
  font-size: var(--atlas-fs-tiny);
  border-bottom: 1px dashed var(--atlas-divider);
}
.skill-step__features li:last-child { border-bottom: 0; }
.skill-step__features li > span:last-child { color: var(--atlas-text); }

.skill-step__body > .atlas-btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature pills (in inventory table) ------------------------- */
.feature-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  border-radius: var(--atlas-radius-pill);
  color: var(--atlas-text-inverse);
  white-space: nowrap;
}
.feature-pill--rail { background: var(--atlas-navy-surface); }
.feature-pill--jump { background: var(--atlas-accent); }
.feature-pill--bank { background: var(--atlas-warning); color: var(--atlas-warning-text, #422006); }
.feature-pill--pipe { background: var(--atlas-gold); }

/* ---------- Pill toggle (filter selector in section header) ----------- */
.atlas-pill-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-pill);
  gap: 2px;
}
.atlas-pill-toggle__btn {
  padding: 6px var(--atlas-space-3);
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--atlas-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--atlas-transition-fast);
}
.atlas-pill-toggle__btn:hover { color: var(--atlas-text); }
.atlas-pill-toggle__btn--active {
  background: var(--atlas-bg-card);
  color: var(--atlas-text);
  box-shadow: var(--atlas-shadow-sm);
}

/* ---------- Park grid + cards ------------------------------------------ */
.park-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-4);
}
@media (min-width: 768px)  { .park-grid { grid-template-columns: repeat(3, 1fr); } }

.park-card {
  display: flex;
  flex-direction: column;
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  box-shadow: var(--atlas-shadow-card);
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition);
}
.park-card:hover { box-shadow: var(--atlas-shadow-card-hover); transform: var(--atlas-hover-lift); }

.park-card--family     { border-top: 4px solid var(--atlas-success); }
.park-card--forstmeile { border-top: 4px solid var(--atlas-accent); }
.park-card--marienberg { border-top: 4px solid var(--atlas-gold); }

.park-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.park-card__media .webcam-card__placeholder { position: absolute; inset: 0; height: 100%; }
.park-card__rating {
  position: absolute; top: var(--atlas-space-2); right: var(--atlas-space-2);
  padding: 4px 10px;
  background: var(--cr-b76f79b5,rgba(11, 37, 69, 0.85));
  color: var(--atlas-white);
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-wide);
  border-radius: var(--atlas-radius-sm);
}

.park-card__body {
  padding: var(--atlas-space-4);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
  flex: 1;
}
.park-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--atlas-space-2);
}
.park-card__name {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}

/* ---------- T14 Mobile refinements ----------------------------------------- */
@media (max-width: 767px) {
  .skill-step__features li { grid-template-columns: 60px 1fr; }
}

/* ---------- T14 Print ------------------------------------------------------- */
@media print {
  .skill-progression::before { display: none; }
  .skill-step, .park-card { break-inside: avoid; }
  .atlas-pill-toggle { display: none; }
}

/* ============================================================================
   T15 — NORDIC / CROSS-COUNTRY
   Trail map canvas · stacked distribution bar · XC pills
   ========================================================================== */

/* ---------- Trail map (SVG canvas + legend) ---------------------------- */
.trail-map {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  overflow: hidden;
  box-shadow: var(--atlas-shadow-card);
}
.trail-map__canvas {
  position: relative;
  background: var(--atlas-snow-100);
  width: 100%;
}

.trail-map__legend {
  list-style: none; margin: 0; padding: var(--atlas-space-3) var(--atlas-space-4);
  display: flex; flex-wrap: wrap;
  gap: var(--atlas-space-4);
  border-top: 1px solid var(--atlas-divider);
  background: var(--atlas-bg-card-tint);
}
.trail-map__legend li {
  display: inline-flex; align-items: center;
  gap: var(--atlas-space-2);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text-secondary);
}
.trail-map__legend-line {
  display: inline-block;
  width: 28px; height: 3px;
  border-radius: 2px;
}
.trail-map__legend-line--easy    { background: var(--c-16a34a,#16a34a); }
.trail-map__legend-line--medium  { background: var(--atlas-accent,#1d58f5); }
.trail-map__legend-line--hard    { background: var(--c-f97316,#f97316); }
.trail-map__legend-line--skating {
  background: repeating-linear-gradient(90deg, var(--c-d97706,#d97706) 0 6px, transparent 6px 10px);
}

/* ---------- Trail-difficulty distribution (stacked bar) --------------- */
.xc-distribution { display: flex; flex-direction: column; gap: var(--atlas-space-3); }
.xc-distribution__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
}

.xc-distribution__bar {
  display: flex;
  width: 100%;
  height: 36px;
  border-radius: var(--atlas-radius-md);
  overflow: hidden;
  border: 1px solid var(--atlas-border);
}
.xc-distribution__seg {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-white);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
  transition: filter var(--atlas-transition-fast);
}
.xc-distribution__seg:hover { filter: brightness(1.08); }

.xc-distribution__seg--easy        { background: var(--c-16a34a,#16a34a); }
.xc-distribution__seg--medium      { background: var(--atlas-accent,#1d58f5); }
.xc-distribution__seg--hard        { background: var(--c-f97316,#f97316); }
.xc-distribution__seg--skating     { background: var(--c-d97706,#d97706); }
.xc-distribution__seg--classic-only { background: var(--atlas-navy-surface); }
.xc-distribution__seg--combined     { background: var(--c-0ea5e9,#0ea5e9); }
.xc-distribution__seg--skating-only { background: var(--c-d97706,#d97706); }

/* Distribution legend (rows) */
.xc-distribution__legend {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 640px) { .xc-distribution__legend { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .xc-distribution__legend { grid-template-columns: repeat(4, 1fr); } }

.xc-distribution__legend li {
  display: grid;
  grid-template-columns: 12px 1fr auto auto;
  gap: var(--atlas-space-2);
  align-items: baseline;
  padding: 4px 0;
  font-size: var(--atlas-fs-tiny);
  color: var(--atlas-text-secondary);
  border-bottom: 1px dashed var(--atlas-divider);
}
.xc-distribution__legend li strong {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
}
.xc-distribution__legend li em {
  font-style: normal;
  color: var(--atlas-text-muted);
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
}

.xc-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 2px;
  align-self: center;
}
.xc-dot--easy    { background: var(--c-16a34a,#16a34a); }
.xc-dot--medium  { background: var(--atlas-accent,#1d58f5); }
.xc-dot--hard    { background: var(--c-f97316,#f97316); }
.xc-dot--skating { background: var(--c-d97706,#d97706); }
.xc-dot--classic-only { background: var(--atlas-navy-surface); }
.xc-dot--combined     { background: var(--c-0ea5e9,#0ea5e9); }
.xc-dot--skating-only { background: var(--c-d97706,#d97706); }

/* ---------- XC difficulty pills (in routes table) --------------------- */
.xc-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  border-radius: var(--atlas-radius-pill);
  color: var(--atlas-white);
  white-space: nowrap;
}
.xc-pill--easy    { background: var(--c-16a34a,#16a34a); }
.xc-pill--medium  { background: var(--atlas-accent,#1d58f5); }
.xc-pill--hard    { background: var(--c-f97316,#f97316); }
.xc-pill--skating { background: var(--c-d97706,#d97706); }

/* ---------- T15 Mobile refinements ----------------------------------------- */
@media (max-width: 540px) {
  .xc-distribution__bar { height: 28px; }
  .xc-distribution__seg { font-size: var(--atlas-fs-micro,0.75rem); }
}

/* ---------- T15 Print ------------------------------------------------------- */
@media print {
  .trail-map, .xc-distribution { break-inside: avoid; }
}

/* ============================================================================
   T20 — COLLECTION & RANKING PAGE
   Methodology callout · active filter chips · ranked list with score breakdown
   ========================================================================== */

/* ---------- Methodology card (page-defining for ranking pages) -------- */
.ranking-methodology { padding-bottom: var(--atlas-space-5); }

.methodology-card {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-5);
  background: var(--atlas-accent-bg);
  border: 1px solid var(--atlas-accent);
  border-left-width: 4px;
  border-radius: var(--atlas-radius-lg);
}
/* [B2 2026-09-22] Was `display:grid; grid-template-columns:36px 1fr auto`. That grid is only
   correct when the optional .methodology-card__icon is present (T20 / about pages). On the
   /best/ leaderboard the icon was removed, so the head's single child was auto-placed into the
   FIXED 36px track and the title "How Snowterest ranks ski resorts" wrapped one word per line
   while `1fr auto` sat empty. Flex sizes from the children that actually exist, so the head is
   correct with the icon and without it. */
.methodology-card__head {
  display: flex;
  gap: var(--atlas-space-3);
  align-items: center;
}
.methodology-card__head > * { min-width: 0; }
.methodology-card__head > :not(.methodology-card__icon) { flex: 1 1 auto; }
.methodology-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--atlas-accent);
  color: var(--atlas-white);
  border-radius: var(--atlas-radius-md);
}
.methodology-card__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-lg);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
}

.methodology-card__body {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding-top: var(--atlas-space-3);
  border-top: 1px dashed var(--atlas-accent);
}
.methodology-card__lede {
  margin: 0;
  font-size: var(--atlas-fs-sm);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text-secondary);
}
.methodology-card__lede a { font-weight: var(--atlas-fw-semibold); }
.methodology-card__footnote { margin: var(--atlas-space-1) 0 0; line-height: var(--atlas-lh-relaxed); }

/* Weight list (criterion · weight bar · pct) */
.weight-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 6px;
}
.weight-row {
  display: grid;
  grid-template-columns: 1fr 100px 40px;
  gap: var(--atlas-space-3);
  align-items: center;
  padding: 4px 0;
  font-size: var(--atlas-fs-sm);
  border-bottom: 1px dashed var(--atlas-divider);
}
@media (min-width: 768px) { .weight-row { grid-template-columns: 1fr 160px 40px; } }
.weight-row:last-child { border-bottom: 0; }
.weight-row__name { color: var(--atlas-text-secondary); font-weight: var(--atlas-fw-medium); }
.weight-row__bar {
  display: block;
  height: 8px;
  background: var(--atlas-snow-200);
  border-radius: var(--atlas-radius-pill);
  overflow: hidden;
}
.weight-row__fill {
  display: block;
  height: 100%;
  background: var(--atlas-accent);
  border-radius: var(--atlas-radius-pill);
}
.weight-row__pct {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
  text-align: right;
}

/* ---------- Active filter chip strip ---------------------------------- */
.active-filters {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--atlas-space-3);
  padding-bottom: var(--atlas-space-4);
}
.active-filters__label { color: var(--atlas-text-muted); flex-shrink: 0; }
.active-filters__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.active-filters__clear {
  background: transparent;
  border: 0;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-accent);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--atlas-radius-sm);
}
.active-filters__clear:hover { background: var(--atlas-accent-bg); }

.active-filter-chip {
  display: inline-flex; align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 10px;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  background: var(--atlas-navy-surface);
  color: var(--atlas-text-on-dark); /* [THEME-OWNER 2026-10-03] navy-surface is navy in both themes; -inverse flips near-black at night */
  border-radius: var(--atlas-radius-pill);
}
.active-filter-chip__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: var(--cr-6bcd48a9,rgba(255, 255, 255, 0.18));
  border: 0;
  border-radius: 50%;
  color: var(--atlas-white);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-bold);
  line-height: var(--atlas-lh-none);
  cursor: pointer;
  transition: background var(--atlas-transition-fast);
}
.active-filter-chip__close:hover { background: var(--cr-6165fc8a,rgba(255, 255, 255, 0.32)); }

/* ---------- Layout: filter rail + ranked list + right rail ----------- */
.ranking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-5);
  margin-bottom: var(--atlas-section-gap-lg);
  align-items: start;
}
@media (min-width: 768px)  { .ranking-layout { grid-template-columns: 240px 1fr; } }
@media (min-width: 1280px) { .ranking-layout { grid-template-columns: 240px 1fr 320px; } }

@media (max-width: 767px) {
  .ranking-layout .filter-rail { order: 2; }
  .ranking-list-area { order: 1; }
}

.ranking-rail {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
}
@media (min-width: 1280px) {
  .ranking-rail {
    position: sticky;
    top: calc(var(--atlas-space-4) + 64px);
  }
}

/* ---------- Ranked list ----------------------------------------------- */
.ranked-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: var(--atlas-space-4);
  counter-reset: rank;
}

/* Rank column */

/* Media column */

/* Body column */

/* Score breakdown (per-criterion bars within the card) */
.score-breakdown {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.score-breakdown__row {
  display: grid;
  grid-template-columns: 1fr 80px 32px;
  gap: var(--atlas-space-2);
  align-items: center;
  padding: 3px 0;
  font-size: var(--atlas-fs-tiny);
}
@media (min-width: 480px) {
  .score-breakdown__row { grid-template-columns: 1fr 120px 32px; }
}
.score-breakdown__name { color: var(--atlas-text-secondary); }
.score-breakdown__bar {
  display: block;
  height: 6px;
  background: var(--atlas-snow-200);
  border-radius: var(--atlas-radius-pill);
  overflow: hidden;
}
.score-breakdown__fill {
  display: block;
  height: 100%;
  background: var(--atlas-accent);
  border-radius: var(--atlas-radius-pill);
}
.score-breakdown__row--high .score-breakdown__fill { background: var(--atlas-success); }
.score-breakdown__row--low  .score-breakdown__fill { background: var(--atlas-warning); }
.score-breakdown__num {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
  text-align: right;
}

/* ---------- Related rankings (sidebar) ------------------------------- */
.related-rankings {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.related-rankings li { border-bottom: 1px dashed var(--atlas-divider); }
.related-rankings li:last-child { border-bottom: 0; }
.related-rankings a {
  display: flex; flex-direction: column;
  gap: 2px;
  padding: var(--atlas-space-2) 0;
  color: var(--atlas-text);
  text-decoration: none;
  transition: color var(--atlas-transition-fast);
}
.related-rankings a:hover { color: var(--atlas-text-link); text-decoration: none; }
.related-rankings strong {
  font-family: var(--atlas-font-body);
  font-weight: var(--atlas-fw-semibold);
  font-size: var(--atlas-fs-sm);
}

/* ---------- T20 Mobile refinements ----------------------------------------- */
@media (max-width: 540px) {
  
  
  
  .methodology-card { padding: var(--atlas-space-4); }
  .weight-row { grid-template-columns: 1fr 60px 36px; }
}

/* ---------- T20 Print ------------------------------------------------------- */
@media print {
  .filter-rail, .ranking-rail, .pagination, .sort-bar, .active-filters { display: none; }
  .ranking-layout { grid-template-columns: 1fr; }
  
  .methodology-card { break-after: avoid; }
}

/* ============================================================================
   T21 — RESORT vs RESORT COMPARISON
   Sticky duel header · metric rows with winner indicator · verdict card
   ========================================================================== */

/* ---------- Comparison hero ------------------------------------------- */
.vs-hero {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-4);
  padding-top: var(--atlas-space-4);
  padding-bottom: var(--atlas-space-3);
}

.vs-hero__actions {
  display: flex; flex-wrap: wrap;
  gap: var(--atlas-space-2);
}

/* ---------- Sticky duel header --------------------------------------- */

/* ---------- Metric duel ----------------------------------------------- */

/* WINNER STATE — green tint (page signature) */

/* ---------- Verdict card ---------------------------------------------- */

/* ---------- Alternative comparisons strip ---------------------------- */
.vs-alternatives {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-3);
}
@media (min-width: 640px)  { .vs-alternatives { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vs-alternatives { grid-template-columns: repeat(4, 1fr); } }

.vs-alt-card {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  overflow: hidden;
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition);
}
.vs-alt-card:hover { box-shadow: var(--atlas-shadow-card); transform: var(--atlas-hover-lift); }

.vs-alt-card__link {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-2);
  padding: var(--atlas-space-4);
  text-decoration: none;
  color: var(--atlas-text);
  height: 100%;
}
.vs-alt-card__link:hover { color: var(--atlas-text); text-decoration: none; }

.vs-alt-card__pair {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--atlas-space-1);
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
}
.vs-alt-card__name { font-size: var(--atlas-fs-base); color: var(--atlas-text); }
.vs-alt-card__divider {
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-wide);
  text-transform: var(--atlas-label-transform);
  color: var(--atlas-white);
  background: var(--atlas-accent);
  padding: 2px 6px;
  border-radius: var(--atlas-radius-pill);
}

.vs-alt-card__desc { margin: 0; color: var(--atlas-text-secondary); line-height: var(--atlas-lh-normal); }
.vs-alt-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--atlas-fs-tiny);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-accent);
}

/* ---------- T21 Mobile refinements ----------------------------------------- */

/* ---------- T21 Print ------------------------------------------------------- */
@media print {
  
  .vs-hero__actions, .atlas-pill-toggle { display: none; }
  .vs-row, .vs-verdict, .vs-alt-card { break-inside: avoid; }
  
}

/* ============================================================================
   T22 — TOPIC GUIDE / EDITORIAL
   Editorial hero · sticky TOC sidebar · long-form prose · inline data callouts
   ========================================================================== */

/* ---------- Article layout ------------------------------------------- */
.topic-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-5);
  margin-bottom: var(--atlas-section-gap-lg);
  align-items: start;
}
@media (min-width: 1024px) {
  .topic-layout {
    grid-template-columns: 220px minmax(0, 720px);
    gap: var(--atlas-space-8);
    justify-content: center;
  }
}

/* ---------- Sticky TOC ------------------------------------------------ */
.topic-toc {
  display: flex; flex-direction: column;
}
@media (min-width: 1024px) {
  .topic-toc {
    position: sticky;
    top: calc(64px + var(--atlas-space-3));
    align-self: start;
  }
}

.topic-toc__inner {
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
  padding: var(--atlas-space-4);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
}

.topic-toc__label { display: block; padding-bottom: var(--atlas-space-2); border-bottom: 1px solid var(--atlas-divider); }

.topic-toc__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 2px;
  counter-reset: tocstep;
}
.topic-toc__link {
  display: block;
  padding: 6px var(--atlas-space-2);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-medium);
  color: var(--atlas-text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all var(--atlas-transition-fast);
}
.topic-toc__link:hover {
  border-left-color: var(--atlas-border-strong);
  color: var(--atlas-text);
  background: var(--atlas-white);
  text-decoration: none;
}
.topic-toc__link--active {
  border-left-color: var(--atlas-accent);
  color: var(--atlas-accent);
  background: var(--atlas-white);
  font-weight: var(--atlas-fw-semibold);
}

.topic-toc__share {
  padding-top: var(--atlas-space-3);
  border-top: 1px solid var(--atlas-divider);
  display: flex; flex-direction: column; gap: var(--atlas-space-2);
}
.topic-toc__share-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--atlas-space-2);
}
.topic-toc__share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-sm);
  color: var(--atlas-text-secondary);
  cursor: pointer;
  transition: all var(--atlas-transition-fast);
}
.topic-toc__share-btn:hover {
  border-color: var(--atlas-accent);
  color: var(--atlas-accent);
}

/* ---------- Article prose -------------------------------------------- */
.topic-article {
  font-family: var(--atlas-font-body);
  color: var(--atlas-text);
  line-height: var(--atlas-lh-relaxed);
}

.topic-article__intro {
  font-size: var(--atlas-fs-lg);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text);
  margin: 0 0 var(--atlas-space-5);
  font-weight: var(--atlas-fw-regular);
  font-style: italic;
}

.topic-article__rule {
  border: 0;
  border-top: 1px solid var(--atlas-divider);
  margin: var(--atlas-space-6) 0;
}

.topic-article__section {
  margin-bottom: var(--atlas-space-8);
  scroll-margin-top: 80px;
}
/* [PROBE-REGS 2026-10-18 · gate component-rhythm] a topic section stacks component ROOTS directly (no .atlas-component wrapper, so the
   wrapper stack rule never reached them) and each root resets its own block margins: two components in one section touched at 0 px
   (35e: trip-readiness-score -> ski-group-suitability / solo confidence, day-and-weekend-plan -> trip-length calculator, full-cost-picture
   -> destination twin, snowpack calendar -> hut network). The section owns the gap between its stacked components: the same section rhythm
   token as the .atlas-component stack rule (--atlas-component-gap is not in the topic-page framework bundle: measured on 35e, it resolved
   empty and the margin to 0). */
.topic-article__section > [data-component] + [data-component] { margin-top: var(--atlas-section-gap); }

.topic-article__h2 {
  margin: 0 0 var(--atlas-space-3);
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-2xl);
  line-height: var(--atlas-lh-data);
  color: var(--atlas-text);
  padding-bottom: var(--atlas-space-2);
  border-bottom: 2px solid var(--atlas-divider);
}

.topic-article p {
  margin: 0 0 var(--atlas-space-3);
  font-size: var(--atlas-fs-base);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-text);
  max-width: 68ch;
}
.topic-article p strong { color: var(--atlas-text); font-weight: var(--atlas-fw-bold); }
.topic-article p a { color: var(--atlas-text-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.topic-article p a:hover { text-decoration-thickness: 2px; }

/* Article footer */
.topic-article__foot {
  margin-top: var(--atlas-space-6);
  padding-top: var(--atlas-space-4);
  border-top: 1px solid var(--atlas-divider);
}
.topic-article__byline-block {
  display: flex; flex-direction: column; gap: var(--atlas-space-2);
}

/* ---------- Inline data callouts (the editorial-data interleave) ------ */
.data-callout {
  margin: var(--atlas-space-5) 0;
  padding: var(--atlas-space-4) var(--atlas-space-5);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  border-left: 4px solid var(--atlas-accent);
  display: flex; flex-direction: column;
  gap: var(--atlas-space-3);
}
.data-callout__label { color: var(--atlas-accent); }
.data-callout__head { display: flex; flex-direction: column; gap: 2px; }
.data-callout__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
  line-height: var(--atlas-lh-data);
}
.data-callout__source {
  margin: 0;
  font-style: italic;
}

/* Variant: quickstat (3-up data row) */
.data-callout--quickstat .data-callout__quickstat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-4);
}
@media (min-width: 540px) { .data-callout--quickstat .data-callout__quickstat-grid { grid-template-columns: repeat(3, 1fr); } }
.data-callout--quickstat .data-callout__quickstat-grid > div {
  display: flex; flex-direction: column;
  gap: 2px;
}
.data-callout--quickstat .atlas-data { line-height: var(--atlas-lh-none); }

/* Variant: chart wrapper */
.data-callout__chart {
  background: var(--atlas-bg-card);
  border-radius: var(--atlas-radius-md);
  padding: var(--atlas-space-3);
  border: 1px solid var(--atlas-divider);
}
.data-callout__chart-svg { width: 100%; height: auto; display: block; }

/* Variant: bars (rank list) */
.data-callout--bars .data-callout__rank-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 6px;
}
.data-callout--bars .data-callout__rank-list li {
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  gap: var(--atlas-space-2);
  align-items: center;
  padding: 4px 0;
  font-size: var(--atlas-fs-sm);
}
.data-callout__rank-name { color: var(--atlas-text-secondary); font-weight: var(--atlas-fw-medium); }
.data-callout__rank-bar {
  display: block;
  height: 10px;
  background: var(--atlas-snow-200);
  border-radius: var(--atlas-radius-pill);
  overflow: hidden;
}
.data-callout__rank-fill {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--c-16a34a,#16a34a) 0%, var(--atlas-accent,#1d58f5) 50%, var(--c-f97316,#f97316) 100%);
  border-radius: var(--atlas-radius-pill);
}
.data-callout__rank-num {
  font-family: var(--atlas-font-data);
  font-feature-settings: 'tnum';
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
  text-align: right;
}

/* Variant: synthesis (gold-bordered, like the Atlas synthesis pattern) */
.data-callout--synthesis {
  border-left-color: var(--atlas-gold);
  background: var(--atlas-accent-bg);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--atlas-space-3);
  align-items: start;
}
.data-callout--synthesis .data-callout__icon { color: var(--atlas-gold); margin-top: 2px; }
.data-callout--synthesis .data-callout__title { color: var(--atlas-gold); margin-bottom: 4px; }

/* ---------- Related resorts strip (horizontal scroll on mobile) ------- */
.related-resorts-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--atlas-space-3);
}
@media (min-width: 640px)  { .related-resorts-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .related-resorts-strip { grid-template-columns: repeat(6, 1fr); } }

.related-resort-card {
  display: flex; flex-direction: column;
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--atlas-transition), transform var(--atlas-transition);
}
.related-resort-card:hover {
  box-shadow: var(--atlas-shadow-card);
  transform: var(--atlas-hover-lift);
  text-decoration: none;
}
.related-resort-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.related-resort-card__media img { width: 100%; height: 100%; object-fit: cover; }
.related-resort-card__media .webcam-card__placeholder { position: absolute; inset: 0; height: 100%; }
.related-resort-card__body {
  padding: var(--atlas-space-3);
  display: flex; flex-direction: column;
  gap: 2px;
}
.related-resort-card__name {
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-base);
  color: var(--atlas-text);
}

/* ---------- T22 Mobile refinements ----------------------------------------- */
@media (max-width: 1023px) {
  .topic-toc {
    margin-bottom: var(--atlas-space-4);
  }
  .topic-toc__inner { padding: var(--atlas-space-3); }
}
@media (max-width: 540px) {
  .topic-article__h2 { font-size: var(--atlas-fs-xl); }
  .topic-article__intro { font-size: var(--atlas-fs-base); }
  .data-callout { padding: var(--atlas-space-3); }
  .data-callout--bars .data-callout__rank-list li { grid-template-columns: 80px 1fr 50px; }
}

/* ---------- T22 Print ------------------------------------------------------- */
@media print {
  .topic-toc, .topic-toc__share, .related-resorts-strip { display: none; }
  .topic-layout { grid-template-columns: 1fr; }
  .data-callout { break-inside: avoid; }
  .topic-article__section { break-inside: avoid; }
}

/* ============================================================================
   RESORT HERO — Page Header Section (Phase 8 generated)
   ============================================================================ */
.resort-hero {
  padding: var(--atlas-space-4) 0 var(--atlas-space-6);
  background: var(--atlas-bg-page);
  margin-bottom: var(--atlas-space-6);
}
.resort-hero--photo {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-bottom: var(--atlas-space-8);
}
.resort-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--atlas-hero-overlay-start, rgba(0,0,0,.55)) 0%,
    var(--atlas-hero-overlay-end, rgba(0,0,0,.40)) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.resort-hero--photo .resort-hero__main,
.resort-hero--photo .resort-hero__locator { position: relative; z-index: 1; }
.resort-hero--photo .resort-hero__eyebrow { color: var(--atlas-text-inverse); opacity: .85; }
.resort-hero--photo .resort-hero__title,
.resort-hero--photo .resort-hero__title-suffix { color: var(--atlas-text-inverse); }
.resort-hero--photo .resort-hero__stats .atlas-label { color: var(--atlas-text-inverse); opacity: .7; }
.resort-hero--photo .resort-hero__stats .atlas-data   { color: var(--atlas-text-inverse); }
.resort-hero--photo .resort-hero__stats .atlas-muted  { color: var(--atlas-text-inverse); opacity: .65; }
.resort-hero__photo-credit {
  position: absolute;
  bottom: var(--atlas-space-2);
  right: var(--atlas-space-3);
  font-size: var(--atlas-fs-micro, 10px);
  color: var(--atlas-text-inverse);
  opacity: .7;
  z-index: 1;
}
.resort-hero__photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
}
.resort-hero__photo-credit a:hover { opacity: 1; text-decoration-color: currentColor; }

.resort-hero__main {
  width: 100%;
}

.resort-hero__heading {
  text-align: left;
}

.resort-hero__eyebrow {
  display: block;
  margin-bottom: var(--atlas-space-3);
  color: var(--atlas-accent);
}

.resort-hero__title {
  font-size: var(--atlas-fs-4xl);
  font-weight: var(--atlas-fw-black);
  line-height: var(--atlas-lh-tight);
  color: var(--atlas-navy-ink);
  margin: 0;
}

@media (min-width: 768px) {
  .resort-hero__title {
    font-size: var(--atlas-fs-5xl);
  }
}

@media (min-width: 1200px) {
  .resort-hero__title {
    font-size: var(--atlas-fs-6xl);
  }
}

.resort-hero__title-suffix {
  font-weight: var(--atlas-fw-regular);
  color: var(--atlas-text-muted);
  font-size: var(--atlas-fs-em-0_55);
  letter-spacing: 0;
  display: inline-block;
  vertical-align: middle;
  margin-left: var(--atlas-space-2);
}

/* Resort Hero - Stats Bar */
.resort-hero__stats-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--atlas-space-6);
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-space-5);
  margin-top: var(--atlas-space-6);
}
@media (max-width: 767px) {
  .resort-hero__stats-bar { grid-template-columns: 1fr; }
}
.resort-hero__stats {
  display: grid;
  gap: var(--atlas-space-4);
  grid-template-columns: repeat(3, 1fr);
  margin: 0; padding: 0; list-style: none;
  border-left: 1px solid var(--atlas-divider);
  padding-left: var(--atlas-space-6);
}
@media (max-width: 767px) {
  .resort-hero__stats { border-left: 0; padding-left: 0; padding-top: var(--atlas-space-4); border-top: 1px solid var(--atlas-divider); grid-template-columns: repeat(2, 1fr); }
}
.resort-hero__stats > li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.resort-hero__stats .atlas-data { line-height: var(--atlas-lh-none); color: var(--atlas-text); }

.resort-hero__score {
  display: flex;
  align-items: center;
  gap: var(--atlas-space-4);
}

.resort-hero__score-meta {
  display: flex;
  flex-direction: column;
  gap: var(--atlas-space-1);
}

.resort-hero__unit {
  font-size: var(--atlas-fs-lg);
  font-weight: var(--atlas-fw-regular);
  color: var(--atlas-text-muted);
}

/* Resort Hero - Score Ring */
.score-ring {
  position: relative;
  width: 80px;
  height: 80px;
}

.score-ring__value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--atlas-font-data);
  font-size: var(--atlas-fs-2xl);
  font-weight: var(--atlas-fw-black);
  color: var(--atlas-text);
}

.score-ring--exceptional .score-ring__value { color: var(--atlas-score-exceptional); }
.score-ring--good .score-ring__value { color: var(--atlas-score-good); }
.score-ring--average .score-ring__value { color: var(--atlas-score-average); }
.score-ring--below .score-ring__value { color: var(--atlas-score-below); }
.score-ring--poor .score-ring__value { color: var(--atlas-score-poor); }

/* Resort Hero - Locator Map */
.resort-hero__locator {
  display: none;
}

@media (min-width: 1024px) {
  .resort-hero {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--atlas-space-8);
    align-items: start;
  }

  .resort-hero__locator {
    display: block;
  }
}

.resort-hero__map {
  background: var(--atlas-bg-card-tint);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resort-hero__map-placeholder {
  text-align: center;
}

/* Resort body container */
/* Skip link — visually hidden until focused (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  position: fixed;
  top: var(--atlas-space-3);
  left: var(--atlas-space-3);
  width: auto;
  height: auto;
  padding: var(--atlas-space-2) var(--atlas-space-4);
  background: var(--atlas-accent);
  color: var(--atlas-white);
  font-weight: var(--atlas-fw-semibold);
  border-radius: var(--atlas-radius-md);
  text-decoration: none;
}

/* Resort body — 2-column grid at 1024px+ (matches design-preview T02) */
.resort-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-space-8);
  padding-bottom: var(--atlas-space-12);
}
@media (min-width: 1024px) {
  .resort-body {
    /* Companion column ≈32% of content width (bounded), per companion-sidebar
       design — the right rail is meant to pull real weight, not sit at ~25%. */
    grid-template-columns: minmax(0, 1fr) clamp(300px, 32%, 420px);
    gap: var(--atlas-space-10);
    align-items: start;
  }
}
.resort-body__main { min-width: 0; }
/* Sections that fall outside resort-body__main (template edge case) span both columns */
.resort-body > :not(.resort-body__main):not(.resort-body__sidebar) { grid-column: 1 / -1; }
.resort-body__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--atlas-space-4);
}
@media (min-width: 1024px) {
  .resort-body__sidebar {
    position: sticky;
    top: 168px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-right: 4px;
  }
}

/* Content section styling — AI prose sections rendered by renderSection()
   [SET185 2026-09-11] Upgraded from plain divider lines to subtle card treatment:
   left accent border + surface background makes AI-generated sections scannable
   and visually distinct from component cards without overwhelming them. */
.content-section {
  padding: var(--atlas-space-5) var(--atlas-space-5);
  border-bottom: none;
  background: var(--atlas-bg-surface, #fff);
  border: 1px solid var(--atlas-border, #e2e8f0);
  border-left: 3px solid var(--atlas-gold, #d97706);
  border-radius: 0 10px 10px 0;
  margin-bottom: var(--atlas-space-4, 1rem);
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section .atlas-h2 {
  font-size: var(--atlas-fs-rem-1_1);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-navy-ink);
  margin: 0 0 var(--atlas-space-3, 0.75rem);
  line-height: var(--atlas-lh-snug);
}

.content-section .atlas-body {
  color: var(--atlas-text, #0b2545);
  font-size: var(--atlas-fs-rem-0_9375);
  line-height: var(--atlas-lh-relaxed);
}

.content-section .atlas-body p {
  margin: 0 0 0.85rem;
}

.content-section .atlas-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================================
   TABBED CONTENT SECTIONS — set185 design pattern
   [SET185 2026-09-11] Icon-led tabs replacing text walls. Applied by JS (atlas-tabs.js)
   to any .content-section block carrying data-tabs or by renderSection() in the future.
   CSS classes: .atlas-tabs, .atlas-tabs-head, .atlas-tab-btn, .atlas-tab-body, .atlas-tab-pane
   ============================================================================ */
.atlas-tabs {
  background: var(--atlas-bg-surface, #fff);
  border: 1px solid var(--atlas-border, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 1px 3px var(--atlas-shadow-sm,rgba(11,37,69,.07)), 0 6px 20px var(--atlas-shadow-lg,rgba(11,37,69,.05));
  overflow: hidden;
  margin-bottom: var(--atlas-space-4, 1rem);
}

.atlas-tabs-head {
  display: flex;
  gap: 2px;
  background: var(--atlas-bg-page, #f8fafc);
  border-bottom: 1px solid var(--atlas-border, #e2e8f0);
  overflow-x: auto;
  padding: 6px 6px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.atlas-tabs-head::-webkit-scrollbar { display: none; }

.atlas-tab-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--atlas-text-muted, #64748b);
  font-family: inherit;
  font-size: var(--atlas-fs-rem-0_8125);
  font-weight: var(--atlas-fw-semibold);
  padding: 11px 16px;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: color .13s, background .13s;
  position: relative;
  white-space: nowrap;
}

.atlas-tab-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.atlas-tab-btn:hover {
  color: var(--atlas-navy-ink);
  background: var(--atlas-hover-tint,rgba(11,37,69,.03));
}

.atlas-tab-btn.on {
  color: var(--atlas-navy-ink);
  background: var(--atlas-bg-surface, #fff);
}

.atlas-tab-btn.on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  background: var(--atlas-gold, #d97706);
  border-radius: 3px;
}

.atlas-tab-body { padding: 20px 22px; }

.atlas-tab-pane { display: none; }
.atlas-tab-pane.on { display: block; animation: atlas-fade-in .25s both; }
}

@keyframes atlas-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@layer components {
.atlas-tab-pane h3 {
  font-size: var(--atlas-fs-rem-1_0625);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-navy-ink);
  margin: 0 0 0.6rem;
}

.atlas-tab-pane p {
  font-size: var(--atlas-fs-rem-0_9);
  color: var(--atlas-text, #0b2545);
  margin: 0 0 0.75rem;
  line-height: var(--atlas-lh-relaxed);
}

.atlas-tab-pane p:last-child { margin-bottom: 0; }

/* Stat strip inside a tab pane */
.atlas-pane-stats {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.atlas-pstat {
  flex: 1;
  min-width: 110px;
  background: var(--atlas-bg-page, #f8fafc);
  border: 1px solid var(--atlas-border, #e2e8f0);
  border-radius: 9px;
  padding: 10px 13px;
}

.atlas-pstat .v {
  font-family: var(--atlas-font-mono, monospace);
  font-size: var(--atlas-fs-rem-1_15);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-navy-ink);
}

.atlas-pstat .l {
  font-size: var(--atlas-fs-micro, 0.6875rem);
  color: var(--atlas-text-muted, #64748b);
  text-transform: var(--atlas-label-transform);
  letter-spacing: var(--atlas-ls-wide);
  margin-top: 2px;
}

/* Callout box inside a tab pane */
.atlas-tab-callout {
  background: var(--atlas-success-tint,rgba(80,200,120,.07));
  border-left: 3px solid var(--atlas-success,#16a34a);
  border-radius: 7px;
  padding: 10px 13px;
  font-size: var(--atlas-fs-sm, 0.875rem);
  margin-top: 6px;
  color: var(--atlas-text, #0b2545);
}

.atlas-tab-callout.warm {
  background: var(--atlas-gold-tint-07,rgba(217,119,6,.07));
  border-color: var(--atlas-gold, #d97706);
}

/* ============================================================================
   INTERACTIVE AFFORDANCE — set185 hint-chip pattern
   [SET185 2026-09-11] Shows users that a selector/stepper is interactive.
   Usage: add class="hint-chip" to a prompt label, or .atlas-hint on a button
   to get the pulse-ring animation on first load (3 cycles then stops).
   ============================================================================ */

}

@keyframes hint-nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

/* Pulse ring on interactive controls — add .atlas-hint class on first load,
   remove after user first interacts (JS: el.classList.remove('atlas-hint')) */
@layer components {
.atlas-hint { position: relative; }

.atlas-hint::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid var(--atlas-gold, #d97706);
  animation: atlas-hint-pulse 1.8s ease-out 3;
  pointer-events: none;
}
}

@keyframes atlas-hint-pulse {
  0%   { transform: scale(.92); opacity: .7; }
  100% { transform: scale(1.12); opacity: 0; }
}

@layer components {
@media (prefers-reduced-motion: reduce) {
  .hint-chip::before, .atlas-hint::after { animation: none; }
}

/* Component layout for two-column */
.component-layout-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--atlas-component-gap);
  margin-top: var(--atlas-space-8);
}

@media (min-width: 1024px) {
  .component-layout-two-col {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.component-layout-main {
  display: flex;
  flex-direction: column;
  gap: var(--atlas-component-gap);
}

.component-layout-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--atlas-component-gap);
}

@media (min-width: 1024px) {
  .component-layout-sidebar {
    position: sticky;
    top: var(--atlas-space-6);
  }
}

/* Component zones */
.component-zone {
  display: flex;
  flex-wrap: wrap;
  gap: var(--atlas-space-3);
}
/* [DESIGN-35B] two zones (or a zone and a component wrapper) that are siblings of one parent had NO gap between them: the flex gap above lives INSIDE a zone only
   (visual-defects layout.adjacent_component_gap: the snowfall chart touching the calendar heatmap, /verbier/snow/weather-forecast/). Same rhythm token as the stack rule below. */
.component-zone + .component-zone,
.atlas-component + .component-zone,
.component-zone + .atlas-component { margin-top: var(--atlas-component-gap); }

.hero_badge-zone {
  gap: var(--atlas-space-2);
}

.content-below-zone {
  margin-top: var(--atlas-space-8);
  /* [S6 STACK-RHYTHM 2026-08-04] Components in the below-content zone stacked with
     the generic 12px .component-zone gap (Ogi: "no vertical gap" on webcams).
     The zone inherits the ONE section rhythm token owned by atlas-content-system's
     :root (--atlas-section-gap, 30px fallback if that file isn't linked). */
  gap: var(--atlas-section-gap, 30px);
}

/* [F-419 2026-10-17] the SECONDARY zone ("more around the place"): section-generic components live here, visibly apart from the topic body
   (owner of the placement: TonicTemplateResolver::applyTopicRelevance). Same rhythm token as the below zone, a rule line above it. */
.content-secondary-zone {
  margin-top: var(--atlas-space-8);
  padding-top: var(--atlas-space-6);
  border-top: 1px solid var(--atlas-border);
  gap: var(--atlas-section-gap, 30px);
}
.content-secondary-zone > * { width: 100%; box-sizing: border-box; max-width: 100%; }

/* [PASS30 U30 item 4/14] ONE rhythm between the components a build injects into a page: they stacked with whatever margin each component
   carried (8px, 8px, 0, 24px on /airports/), so the gaps differed. The wrapper is a column with the section token as the gap and the
   components' own block margins are zeroed (a margin would add to the gap). Owner of the rhythm: --atlas-section-gap. */
.baked-components-wrap { display: flex; flex-direction: column; gap: var(--atlas-section-gap, 30px); }
.atlas-container.baked-components-wrap > * { margin-block: 0; }
/* [PASS35-FIX-B] components of one page that each sit in their OWN wrapper (hub pages) keep the same gap as components stacked inside one wrapper (visual-defects layout.adjacent_component_gap: /tools/ and /insights/ had 0 px between two cards) */
.baked-components-wrap + .baked-components-wrap { margin-top: var(--atlas-section-gap, 30px); }

/* [PASS30 P30 item 1] ONE section-stack rhythm for every page family. The rhythm token is --atlas-section-gap (the baked-component wrap, the
   below-content zone and .ov-main already use it); the hero-to-first-content gap is --atlas-hero-gap (alias of the same token unless a
   vertical's token file overrides it). Both are margin-top rules on adjacent siblings in normal flow, so a block's own margin collapses with
   them (max wins, never added) and hub / static / non-main-silo pages that stack bands or sections directly in <main> follow the same rhythm
   as the component stacks. Gates: visual-defects layout.hero_content_gap + layout.stack_gap_uneven. */
@layer chrome {
  /* the gap hangs on the hero's own bottom margin: a content container's `margin: 0 auto` (unlayered, everywhere) would beat any
     margin-top set on the next sibling, while the hero margin collapses with it (max wins). A hero directly followed by the silo
     nav bar keeps its flush join. */
  .ov-hero:not(:has(+ .ov-silo)):not(:has(+ nav)) { margin-bottom: var(--atlas-hero-gap, var(--atlas-section-gap, 30px)); }
}
/* [FRONT-CSS 2026-10-13 CSS3] an EMPTY mount div (data-traveler-selector before JS fills it) is not a block: it must not push the first real block 30px down (the blank band between the main menu and the breadcrumb)
   [PROBE-REGS 2026-10-18 · gate component-rhythm] the stack rule sits in this file's components layer, NOT in the `@layer chrome` block
   above: that block is nested inside the surrounding `@layer components { }` of this file, so it compiled to `components.chrome`, the
   lowest sub-layer, and every `.atlas-container { margin: 0 auto }` of the components layer (ski-design-tokens.css §4) beat it whatever
   its specificity. Measured on 35e: /night-skiing/ table -> distribution chart and /passes/ .sil-sec -> distribution chart at 0 px. Here
   its own specificity (0,3,1) decides against a container's one-class margin reset, so the one section rhythm holds on every family. */
main > :where(section, div, article):not(.ov-hero):not(.ov-crumb):not(:empty) + :where(section, div, article) { margin-top: var(--atlas-section-gap, 30px); }

/* [PASS30 P30 item 2] Link cards: the ONE look for a grid of navigation links with a title and one line of fact (the /guaranteed-snow/ month
   menu had no stylesheet at all and printed as a run-on paragraph of bold words). Real links, whole card clickable, 44px target. */
@layer components {
  .atlas-linkcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--atlas-space-4); margin: var(--atlas-space-4) 0 0; }
  .atlas-linkcard { display: flex; flex-direction: column; gap: var(--atlas-space-1); box-sizing: border-box; min-height: 44px; padding: var(--atlas-space-4); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg); background: var(--atlas-bg-card); color: var(--atlas-text); text-decoration: none; }
  .atlas-linkcard:hover, .atlas-linkcard:focus-visible { border-color: var(--atlas-accent); box-shadow: var(--atlas-shadow-card); text-decoration: none; }
  .atlas-linkcard__title { font-size: var(--atlas-fs-lg); font-weight: var(--atlas-fw-bold); color: var(--atlas-text); }
  .atlas-linkcard__meta { font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); line-height: var(--atlas-lh-normal); }
}

/* [S6 STACK-RHYTHM 2026-08-04] .atlas-component is the resolver's universal
   component wrapper (TonicTemplateResolver) and had NO layout owner in any
   stylesheet — stacks in non-flex parents rendered with zero vertical gap.
   This is its single-source stack rule: adjacent wrappers get the section
   rhythm, EXCEPT inside parents that already manage spacing via flex/grid gap
   (the zones + .ov-main), where a margin would ADD to the gap. */
:where(:not(.ov-main):not(.component-zone):not(.content-main-zone):not(.content-sidebar-zone):not(.component-layout-sidebar):not(.bucket-row))
  > .atlas-component + .atlas-component {
  margin-top: var(--atlas-section-gap, 30px);
}
/* [ALTERNATION-RHYTHM 2026-09-16] The content-alternation container interleaves AI prose sections
   (.content-section, which carries its own margin-bottom) with component wrappers (which carry
   none): a component followed by a section rendered with ZERO gap. Same owner, same rhythm. */
:where(:not(.ov-main):not(.component-zone):not(.content-main-zone):not(.content-sidebar-zone):not(.component-layout-sidebar):not(.bucket-row))
  > .atlas-component + .content-section,
:where(:not(.ov-main):not(.component-zone):not(.content-main-zone):not(.content-sidebar-zone):not(.component-layout-sidebar):not(.bucket-row))
  > .content-section + .atlas-component {
  margin-top: var(--atlas-section-gap, 30px);
}


/* ----------------------------------------------------------------------------
   DESIGN PARITY FIXES — Section Tabs, Score Ring, Status Badges
   ---------------------------------------------------------------------------- */

/* Section Tab Strip */
.atlas-section-tabs-wrapper {
  background: var(--atlas-bg-page);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--atlas-border);
  margin-bottom: var(--atlas-space-6);
}

.atlas-section-tabs {
  display: flex;
  gap: var(--atlas-space-2);
  padding: var(--atlas-space-3) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.atlas-section-tabs::-webkit-scrollbar { display: none; }

.atlas-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--atlas-space-1);
  padding: var(--atlas-space-2) var(--atlas-space-4);
  border-radius: var(--atlas-radius-full);
  background: var(--atlas-bg-card-tint);
  color: var(--atlas-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-medium);
  border: 1px solid var(--atlas-border);
  transition: background 150ms, color 150ms, border-color 150ms;
}

.atlas-tab:hover {
  background: var(--atlas-accent-100);
  color: var(--atlas-accent-700);
  border-color: var(--atlas-accent-300);
}

.atlas-tab.is-active {
  background: var(--atlas-accent);
  color: var(--atlas-white);
  border-color: var(--atlas-accent);
}

/* Status Badges row */
.atlas-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--atlas-space-2);
  margin-top: var(--atlas-space-3);
}

/* ---------- Resort section tab strip (matches design-preview T02) ---------- */
.resort-tabs-wrapper {
  position: sticky; top: 96px; z-index: var(--atlas-z-sticky, 20);
  background: var(--component-bg);
  border-top: 1px solid var(--atlas-border);
  border-bottom: 1px solid var(--atlas-border);
  margin-bottom: var(--atlas-space-8);
  box-shadow: 0 1px 0 var(--atlas-border);
}
@media (max-width: 767px) { .resort-tabs-wrapper { top: 56px; } }

.resort-tabs {
  /* [FB-SHELL 2026-10-17, owner pass 35c part 3 items 9/19] a tab strip wraps, never scrolls (/verbier/snow/weather-forecast/ at 390 px hid
     100 px of tabs behind a hidden scrollbar and scrolled 1 px vertically: the tabs overlap the strip border by -1 px) */
  display: flex; flex-wrap: wrap; gap: 0;
}
.resort-tabs::-webkit-scrollbar { display: none; }

/* Tab panels */
.tab-panel { display: flex; flex-direction: column; gap: var(--atlas-space-6); margin-bottom: var(--atlas-space-10); scroll-margin-top: 200px; }
.tab-panel__header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--atlas-space-3); border-bottom: 1px solid var(--atlas-border); padding-bottom: var(--atlas-space-4); margin-bottom: var(--atlas-space-2); }
.tab-panel__header h2 { margin: 0; }
.tab-panel__refreshed { display: inline-flex; align-items: center; gap: var(--atlas-space-2); }

.resort-tab {
  display: inline-flex; align-items: center; gap: var(--atlas-space-2);
  padding: var(--atlas-space-4) var(--atlas-space-5);
  font-family: var(--atlas-font-body);
  font-size: var(--atlas-fs-sm);
  font-weight: var(--atlas-fw-semibold);
  color: var(--atlas-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color var(--atlas-transition-fast, 150ms), border-color var(--atlas-transition-fast, 150ms), background var(--atlas-transition-fast, 150ms);
}
.resort-tab:hover { color: var(--atlas-text); background: var(--atlas-bg-card-tint); text-decoration: none; }
.resort-tab svg { color: var(--atlas-text-muted); transition: color var(--atlas-transition-fast, 150ms); }
.resort-tab:hover svg { color: var(--atlas-accent); }
.resort-tab--active {
  color: var(--atlas-accent);
  border-bottom-color: var(--atlas-accent);
  background: var(--atlas-accent-bg);
}
.resort-tab--active svg { color: var(--atlas-accent); }

/* Resort hero status badges use resort-hero__status wrapper */
.resort-hero__status {
  display: flex; flex-wrap: wrap; gap: var(--atlas-space-2); margin-top: var(--atlas-space-2);
}

/* Resort hero location mini-map */
.resort-hero__locator { display: flex; flex-direction: column; gap: var(--atlas-space-2); }
.resort-hero__map { width: 100%; max-width: 220px; height: auto; border-radius: var(--atlas-radius-lg); border: 1px solid var(--atlas-border); }

/* Pulse dot for live/open status */
.atlas-badge__dot--pulse {
  animation: atlas-dot-pulse 1.6s ease-in-out infinite;
}
}

@keyframes atlas-dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
@layer components {
@media (prefers-reduced-motion: reduce) {
  .atlas-badge__dot--pulse { animation: none; }
}
}

/* ============================================================================
   COMPONENT THEME SYSTEM — CSS variables consumed by all component CSS files
   Allows light/dark switching without touching individual component files.
   Components reference var(--component-bg) instead of hardcoded #111827.
   ============================================================================ */

@layer tokens {
:root {
  /* Light-mode defaults — matches atlas-framework light-alpine theme */
  --component-bg:           var(--atlas-bg-card);
  --component-bg-alt:       var(--atlas-bg-card-tint);
  --component-bg-inset:     var(--atlas-bg-page-tint);
  --component-text:         var(--atlas-text);
  --component-text-muted:   var(--atlas-text-muted);
  --component-text-subtle:  var(--atlas-text-subtle);
  --component-accent:       var(--atlas-accent);
  --component-border:       var(--atlas-border);
  --component-border-strong: var(--atlas-border-strong);

  /* Component layout shorthand — override in vertical design tokens for vertical-specific feel */
  --component-surface:      var(--atlas-bg-card-tint);
  --component-shadow:       var(--atlas-shadow-card);
  --component-radius:       var(--atlas-radius-lg);
  --component-padding:      var(--atlas-card-padding);

  /* Chart color series — vertical design tokens override these with palette-specific values */
  --chart-color-1: var(--atlas-chart-1,#1d58f5);
  --chart-color-2: var(--atlas-chart-2, #0891b2);
  --chart-color-3: var(--atlas-chart-3, #16a34a);
  --chart-color-4: var(--atlas-chart-4, #d97706);
  --chart-color-5: var(--atlas-chart-5, #8b5cf6);
  --chart-color-6: var(--atlas-chart-6, #db2777);
  --chart-color-7: var(--atlas-chart-7, var(--c-0f766e,#0f766e));

  /* ---------- [BADGE RARITY PALETTE · 2026-09-23 · SR2] ----------
     A badge marks something a place EARNED, so its colour may never borrow a semantic
     one: --atlas-danger, --atlas-warn and --atlas-success keep their real meanings
     site-wide and appear on no badge, on any surface. What the colour carries instead is
     RARITY — four steps of a real, measured number (share of the scored universe holding
     the award). The category is carried by the icon and the label, so the system stays
     legible in greyscale and to a colour-blind reader, which a hue can never promise.

     Four ALIASES, never four new literals: each step points at a token this sheet already
     owns, so every per-vertical palette override and the night set follow automatically
     and a badge can never drift out of a theme. Defined here because atlas-framework.css
     is the only stylesheet on 100% of built pages; a badge may render anywhere.
     The single markup owner is engine/core/badge_palette.php (PHP + its JS twin). */
  --badge-exceptional:  var(--atlas-gold);          /* rarest step */
  --badge-rare:         var(--chart-color-5);
  --badge-uncommon:     var(--chart-color-2);
  --badge-common:       var(--atlas-text-subtle);   /* everything else, deliberately quiet */

  /* ---------- [EDITORIAL TOKEN ALIASES · 2026-09-23] ----------
     The editorial kit (/insights/*, /knowledge/*) was designed against a shorter spelling of
     names this sheet already owns. Rather than let fourteen stylesheets fall back to their
     author's literal, the short names are defined ONCE here as aliases of the semantic token,
     so light mode, dark mode and every per-vertical palette override follow automatically.
     Adding an alias here is the only correct place; a component may never define its own. */
  --atlas-bg:            var(--atlas-bg-page);
  --atlas-bg-tint:       var(--atlas-bg-card-tint);
  --atlas-bg-elevated:   var(--atlas-bg-card-hover);
  --atlas-border-light:  var(--atlas-divider);
  --atlas-ink:           var(--atlas-text);
  --atlas-muted:         var(--atlas-text-muted);
  --atlas-warn:          var(--atlas-warning);
  --atlas-danger:        var(--atlas-error);
  --atlas-font-mono:     var(--atlas-font-data);
  --atlas-font-display:  var(--atlas-font-serif);

  /* Legacy aliases — many components use these non-atlas names with dark fallbacks.
     Defining them here ensures light theme wins even when fallback hex is dark. */
  --card-bg:                var(--atlas-bg-card);
  --card-background-color:  var(--atlas-bg-card);
  --bg-secondary:           var(--atlas-bg-card-tint);
  --bg-inset:               var(--atlas-bg-page-tint);
  --text-color:             var(--atlas-text);
  --text-primary:           var(--atlas-text);
  --text-secondary:         var(--atlas-text-secondary);
  --text-muted:             var(--atlas-text-muted);
  --muted-color:            var(--atlas-text-muted);
  --border-color:           var(--atlas-border);
  --card-border-color:      var(--atlas-border);
  --surface-color:          var(--atlas-bg-card);
  --bg-card:                var(--atlas-bg-card);
  --background-color:       var(--atlas-bg-page);
}
}

/* Dark theme override — use on [data-theme="dark"] wrapper */
@layer components {
[data-theme="dark"] {
  --component-bg:           var(--c-1e293b,#1e293b);
  --component-bg-alt:       var(--c-0f172a,#0f172a);
  --component-bg-inset:     var(--c-0a1220,#0a1220);
  --component-text:         var(--c-f1f5f9,#f1f5f9);
  --component-text-muted:   var(--c-94a3b8,#94a3b8);
  --component-text-subtle:  var(--c-64748b,#64748b);
  --component-accent:       var(--c-60a5fa,#60a5fa);
  --component-border:       var(--c-334155,#334155);
  --component-border-strong: var(--c-475569,#475569);
}
}

/* ============================================================================
   [CM1 · 2026-09-23] THE vs MEDALLION — three tokens, one owner, no media query
   ----------------------------------------------------------------------------
   The connective that joins two subjects on a comparison surface. It has to read
   on a light card, a dark card, a photographic hero and a drawn silhouette, in
   both themes. That is impossible with a pale fill on a pale ground, which is
   what it was: a 26 px tint disc with a tint border and muted ink.
   The cure is a FILLED disc plus a ring in the surrounding card colour, and the
   whole inversion happens HERE, in the token layer, so `.vs-medallion` itself
   carries no `prefers-color-scheme` block and can never be re-themed locally.
   Single-level var() only — a nested fallback chain is a second, undeclared
   palette and is what let the old colours survive the last migration.
   ============================================================================ */
@layer tokens {
:root {
  --vs-disc: var(--atlas-navy-surface);      /* the filled disc  */
  --vs-ink:  var(--atlas-on-fill-light);     /* the letters: a FILL ink, so it never flips against the disc (was --atlas-bg-card = 1.06:1 when only one of the pair flipped) */
  --vs-ring: var(--atlas-bg-card);   /* the halo that holds the edge over imagery */
}
:root[data-theme="dark"], :root[data-theme="night"] {
  --vs-disc: var(--atlas-text);
  --vs-ink:  var(--atlas-on-fill-dark);
  --vs-ring: var(--atlas-bg-card);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --vs-disc: var(--atlas-text);
    --vs-ink:  var(--atlas-on-fill-dark);
  }
}
}

/* ============================================================================
   [FB-INK 2026-10-17 owner 35c P1-10] SENTIMENT SURFACES - the ground of a card whose verdict is a sentiment
   (positive / mixed / mostly negative): green, yellow, light red. A component never mixes its own: the day
   value is a clear tint of the hue's bright shade, the night value a low tint of the same shade on the night
   card, so muted ink keeps AA on all three in both themes. Same three-block shape as the vs-medallion above.
   ============================================================================ */
@layer tokens {
:root {
  --atlas-surface-positive: color-mix(in srgb, var(--atlas-hue-green-on-dark) 18%, var(--atlas-bg-card));
  --atlas-surface-mixed:    color-mix(in srgb, var(--atlas-hue-yellow-on-dark) 26%, var(--atlas-bg-card));
  --atlas-surface-negative: color-mix(in srgb, var(--atlas-hue-red-on-dark) 24%, var(--atlas-bg-card));
}
:root[data-theme="dark"], :root[data-theme="night"] {
  --atlas-surface-positive: color-mix(in srgb, var(--atlas-hue-green-on-dark) 8%, var(--atlas-bg-card));
  --atlas-surface-mixed:    color-mix(in srgb, var(--atlas-hue-yellow-on-dark) 7%, var(--atlas-bg-card));
  --atlas-surface-negative: color-mix(in srgb, var(--atlas-hue-red-on-dark) 8%, var(--atlas-bg-card));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --atlas-surface-positive: color-mix(in srgb, var(--atlas-hue-green-on-dark) 8%, var(--atlas-bg-card));
    --atlas-surface-mixed:    color-mix(in srgb, var(--atlas-hue-yellow-on-dark) 7%, var(--atlas-bg-card));
    --atlas-surface-negative: color-mix(in srgb, var(--atlas-hue-red-on-dark) 8%, var(--atlas-bg-card));
  }
}
}

/* ============================================================================
   DATA CARD GRID — Auto-fit grid for component zones
   Used by TonicTemplateResolver to lay out content_main components.
   Matches design-preview data-grid pattern from T02 design.
   ============================================================================ */

@layer components {
.data-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--atlas-component-gap, 1.5rem);
  padding: var(--atlas-space-4, 1rem) 0;
  width: 100%;
}

/* Full-width — spans all columns (charts, maps, wide infographics) */
.data-card-grid > .component--full-width,
.data-card-grid > .data-card--span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .data-card-grid {
    grid-template-columns: 1fr;
  }
  .data-card-grid > .component--full-width,
  .data-card-grid > .data-card--span-2 {
    grid-column: span 1;
  }
}

/* Universal component width normalizer — CONTAINERS ONLY (task #56 root-cause fix).
   :where(...) = specificity 0: this is a DEFAULT — it can never beat a component's
   own class rule, regardless of bundle load order. Deterministic cascade by design.
   :not([class*="__"]) excludes BEM sub-elements: .x-card__score is a flex/badge item
   and must never be forced to 100% width (collapses siblings — geo-hub overlap bug).
   :not(.fa/.fa-solid/...) excludes Font Awesome (fa-calculator, fa-credit-card,
   fa-id-card contain the matched substrings). */
:where(
  [class*="-component"]:not([class*="__"]),
  [class*="-card"]:not([class*="__"]):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa-light):not(.fa-duotone),
  [class*="-calculator"]:not([class*="__"]):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa-light):not(.fa-duotone),
  [class*="-infographic"]:not([class*="__"])
) {
  width: 100%;
  box-sizing: border-box;
}

/* ============================================================================
   COMPONENT ZONE LAYOUT — Updated to work with data-card-grid
   ============================================================================ */

.content-main-zone {
  display: flex;
  flex-direction: column;
  gap: var(--atlas-space-4);
  width: 100%;
}

.content-main-zone > .data-card-grid {
  /* grid handles its own layout */
}

/* Width normalizer — all direct component children fill their container */
.content-main-zone > *,
.content-sidebar-zone > *,
.content-below-zone > * {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

/* =============================================================================
   VOICE SEARCH
   ============================================================================= */

.atlas-header-search {
  display: flex;
  align-items: center;
  gap: var(--atlas-space-1);
  margin-left: auto;
}

.atlas-search-input {
  padding: var(--atlas-space-2) var(--atlas-space-3);
  border: 1px solid var(--atlas-border-strong);
  border-radius: var(--atlas-radius-md);
  font-size: var(--atlas-fs-sm);
  color: var(--atlas-text);
  background: var(--atlas-bg-card);
  width: 200px;
  transition: border-color var(--atlas-transition-fast), box-shadow var(--atlas-transition-fast);
}
.atlas-search-input:focus {
  outline: none;
  border-color: var(--atlas-border-accent);
  box-shadow: 0 0 0 3px var(--atlas-accent-glow);
}

.atlas-voice-search {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--atlas-space-2);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: var(--atlas-fs-lg, 1.125rem);
  border-radius: 50%;
  line-height: var(--atlas-lh-none);
  transition: background var(--atlas-transition-fast);
  flex-shrink: 0;
}
.atlas-voice-search:hover {
  background: var(--atlas-snow-100);
}
.atlas-voice-search.listening {
  background: var(--cr-9f88c21d,rgba(220, 38, 38, 0.08));
  animation: atlas-voice-pulse 1s ease-in-out infinite;
}
}

@keyframes atlas-voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--cr-c16facec,rgba(220, 38, 38, 0.3)); }
  50%       { box-shadow: 0 0 0 6px var(--cr-abcf8986,rgba(220, 38, 38, 0)); }
}

/* ─── Split-row layout (content + commercial side by side) ─── */
@layer components {
.atlas-split-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}
.atlas-split-content,
.atlas-split-commercial { min-width: 0; }

@media (max-width: 768px) {
  .atlas-split-row { grid-template-columns: 1fr; }
}

/* ─── Anti-monotone layout breakers ─── */
.atlas-breaker {
  width: 100%;
  box-sizing: border-box;
  padding: 2rem 1.5rem;
  margin: 1rem 0;
  border-radius: var(--component-radius, 8px);
}
.atlas-breaker--ai-text {
  background: var(--component-bg, #f8f9fa);
  border-left: 4px solid var(--chart-color-1,#1d58f5);
}
.atlas-breaker--ai-text .atlas-breaker__narrative {
  font-size: var(--atlas-fs-rem-1_05);
  line-height: var(--atlas-lh-relaxed);
  color: var(--component-text, inherit);
  margin: 0;
}
.atlas-breaker--image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: transparent;
  padding: 0;
}
.atlas-breaker__image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--component-radius, 8px);
}
.atlas-breaker__image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.atlas-breaker__image figcaption {
  font-size: var(--atlas-fs-tiny, 0.75rem);
  color: var(--component-text-muted, #6b7280);
  padding: 0.4rem 0 0;
}
.atlas-breaker--ugc {
  background: var(--component-bg, #f8f9fa);
  border: 1px solid var(--component-border, #e5e7eb);
}
.atlas-breaker__quote {
  margin: 0;
  font-size: var(--atlas-fs-rem-1_1);
  font-style: italic;
  line-height: var(--atlas-lh-relaxed);
  color: var(--component-text, inherit);
}
.atlas-breaker--data-callout {
  background: var(--chart-color-1,#1d58f5);
  color: var(--c-fff,#fff);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.atlas-breaker__number {
  font-size: clamp(var(--atlas-fs-rem-2), 6vw, var(--atlas-fs-rem-3_5));
  font-weight: var(--atlas-fw-black);
  line-height: var(--atlas-lh-none);
}
.atlas-breaker__label {
  font-size: var(--atlas-fs-base, 1rem);
  opacity: 0.85;
}
@media (max-width: 768px) {
  .atlas-breaker--image-strip { grid-template-columns: 1fr; }
}

/* ─── Rich Layout Breakers v2 (Chat 48 design) ─── */

/* Breaker 1: AI Narrative */
.breaker-narrative {
  width: 100%;
  background: radial-gradient(circle at 0% 0%, var(--cr-82b3dc46,rgba(11,37,69,.07)) 0%, transparent 40%),
              radial-gradient(circle at 100% 100%, var(--cr-defff075,rgba(37,99,235,.08)) 0%, transparent 45%),
              var(--atlas-white);
  border-top: 1px solid var(--atlas-snow-200);
  border-bottom: 1px solid var(--atlas-snow-200);
  padding: 2.5rem 0;
  margin: 1.5rem 0;
  box-sizing: border-box;
}
.breaker-narrative__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .breaker-narrative__inner { grid-template-columns: 220px 1fr; }
}
.breaker-narrative__callout {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-snow-200);
  border-left: 4px solid var(--atlas-accent);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--cr-171cfbee,rgba(11,37,69,.08));
}
.breaker-narrative__callout-label {
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
  color: var(--atlas-snow-500);
}
.breaker-narrative__callout-number {
  font-family: var(--atlas-font-data, 'JetBrains Mono','JetBrains Mono Fallback', monospace);
  font-weight: var(--atlas-fw-bold);
  font-size: clamp(var(--atlas-fs-rem-2), 5vw, var(--atlas-fs-rem-2_75));
  color: var(--atlas-accent);
  line-height: var(--atlas-lh-none);
}
.breaker-narrative__callout-unit {
  font-weight: var(--atlas-fw-semibold); font-size: var(--atlas-fs-rem-0_8);
  letter-spacing: var(--atlas-ls-wider); text-transform: var(--atlas-label-transform);
  color: var(--atlas-navy-ink);
}
.breaker-narrative__callout-context {
  margin-top: 0.5rem;
  font-size: var(--atlas-fs-micro,0.75rem);
  color: var(--atlas-snow-500);
  line-height: var(--atlas-lh-normal);
}
.breaker-narrative__body { display: flex; flex-direction: column; gap: 0.75rem; }
.breaker-narrative__eyebrow {
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
  color: var(--atlas-navy-ink);
}
.breaker-narrative__lede {
  margin: 0;
  font-size: clamp(var(--atlas-fs-rem-1_05), 2.5vw, var(--atlas-fs-rem-1_3));
  line-height: var(--atlas-lh-normal); letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-snow-900);
  max-width: var(--atlas-measure-lede);
  font-style: italic;
  font-family: var(--atlas-font-serif, 'Cormorant Garamond','Cormorant Fallback', 'Georgia', serif);
}
.breaker-narrative__body p {
  margin: 0;
  font-size: var(--atlas-fs-rem-0_975);
  line-height: var(--atlas-lh-relaxed);
  color: var(--atlas-snow-700);
  max-width: 70ch;
}
.breaker-narrative__attribution {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--atlas-fs-rem-0_78); color: var(--atlas-snow-500);
}
.breaker-narrative__attribution-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--atlas-accent);
  flex-shrink: 0;
}

/* Breaker 2: Image strip */
.breaker-image-strip-v2 { padding: 1.5rem 0; margin: 1.5rem 0; }
.breaker-image-strip-v2__tiles {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  list-style: none;
}
@media (min-width: 768px) { .breaker-image-strip-v2__tiles { grid-template-columns: repeat(3, 1fr); } }
.breaker-image-strip-v2__tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--cr-918e99c7,rgba(11,37,69,.10));
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.breaker-image-strip-v2__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--cr-93e1d8e9,rgba(11,37,69,.15));
}
.breaker-image-strip-v2__tile-visual {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.breaker-image-strip-v2__tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--cr-2e1ee294,rgba(11,37,69,.45)) 65%, var(--cr-7f99e5a2,rgba(11,37,69,.85)) 100%);
}
.breaker-image-strip-v2__tile-content {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--c-fff,#fff);
}
.breaker-image-strip-v2__tile-label {
  display: inline-block; align-self: flex-start;
  padding: 3px 8px; margin-bottom: 4px;
  background: var(--cr-33d10731,rgba(255,255,255,.18)); backdrop-filter: blur(8px);
  color: var(--c-fff,#fff); border-radius: 999px;
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
}
.breaker-image-strip-v2__tile-stat {
  font-family: var(--atlas-font-data, 'JetBrains Mono','JetBrains Mono Fallback', monospace);
  font-weight: var(--atlas-fw-bold);
  font-size: clamp(var(--atlas-fs-2xl), 4vw, var(--atlas-fs-rem-2));
  color: var(--c-fff,#fff); line-height: var(--atlas-lh-none);
}
.breaker-image-strip-v2__tile-caption {
  font-size: var(--atlas-fs-rem-0_78);
  color: var(--cr-a2d7beec,rgba(255,255,255,.90));
  line-height: var(--atlas-lh-snug);
}

/* Breaker 3: Pull-quote */
.breaker-pull-quote {
  width: 100%;
  background: var(--atlas-snow-50);
  border-top: 1px solid var(--atlas-snow-200);
  border-bottom: 1px solid var(--atlas-snow-200);
  padding: 3rem 0; margin: 1.5rem 0;
  position: relative;
}
.breaker-pull-quote__inner {
  max-width: 840px;
  margin: 0 auto; padding: 0 1.5rem;
  text-align: center; position: relative;
}
.breaker-pull-quote__mark {
  position: absolute; top: -44px; left: 50%;
  transform: translateX(-50%);
  font-size: var(--atlas-fs-rem-8_125);
  color: var(--atlas-accent); opacity: .12;
  line-height: var(--atlas-lh-none); pointer-events: none; user-select: none;
}
.breaker-pull-quote__text {
  margin: 0;
  font-family: var(--atlas-font-serif, 'Cormorant Garamond','Cormorant Fallback', 'Georgia', serif);
  font-size: clamp(var(--atlas-fs-xl), 3.5vw, var(--atlas-fs-rem-2));
  line-height: var(--atlas-lh-snug); letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-navy-ink);
  font-style: italic;
  position: relative; z-index: 1;
}
.breaker-pull-quote__attribution {
  display: inline-flex; align-items: center;
  gap: 0.75rem; margin-top: 1.25rem;
  color: var(--atlas-snow-600);
}
.breaker-pull-quote__attribution::before {
  content: ''; display: inline-block;
  width: 36px; height: 1px;
  background: var(--atlas-navy-300);
}
.breaker-pull-quote__author {
  font-weight: var(--atlas-fw-bold); font-size: var(--atlas-fs-rem-0_85);
  color: var(--atlas-snow-900); letter-spacing: var(--atlas-ls-wide);
}
.breaker-pull-quote__meta {
  font-size: var(--atlas-fs-rem-0_8); color: var(--atlas-snow-500); font-style: italic;
}

/* Breaker 4: Comparison callout (dark navy) */
.breaker-comparison {
  width: 100%;
  background: linear-gradient(135deg, var(--atlas-navy-surface) 0%, var(--atlas-navy-900) 100%);
  color: var(--c-fff,#fff);
  padding: 2.5rem 0; margin: 1.5rem 0;
  overflow: hidden; position: relative;
}
.breaker-comparison::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--cr-cc3e9590,rgba(255,255,255,.04)) 1px, transparent 1px),
    linear-gradient(90deg, var(--cr-cc3e9590,rgba(255,255,255,.04)) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.breaker-comparison__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem; align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 768px) {
  .breaker-comparison__inner { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
}
.breaker-comparison__copy { display: flex; flex-direction: column; gap: 0.5rem; }
.breaker-comparison__eyebrow {
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
  color: var(--atlas-accent-300);
}
.breaker-comparison__title {
  margin: 0;
  font-size: clamp(var(--atlas-fs-rem-1_05), 2.5vw, var(--atlas-fs-rem-1_35));
  line-height: var(--atlas-lh-data); color: var(--c-fff,#fff); letter-spacing: var(--atlas-ls-tight); max-width: 32ch;
}
.breaker-comparison__sub {
  margin: 0;
  font-size: var(--atlas-fs-rem-0_82); color: var(--atlas-navy-100);
  line-height: var(--atlas-lh-relaxed); max-width: var(--atlas-measure-lede);
}
.breaker-comparison__numbers {
  display: flex; align-items: baseline;
  gap: 1.25rem; justify-content: center;
}
@media (min-width: 768px) { .breaker-comparison__numbers { justify-content: flex-end; } }
.breaker-comparison__stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
@media (min-width: 768px) { .breaker-comparison__stat { align-items: flex-end; } }
.breaker-comparison__stat-number {
  font-family: var(--atlas-font-data, 'JetBrains Mono','JetBrains Mono Fallback', monospace);
  font-weight: var(--atlas-fw-bold);
  font-size: clamp(var(--atlas-fs-rem-2_5), 7vw, var(--atlas-fs-7xl));
  line-height: var(--atlas-lh-none); letter-spacing: var(--atlas-ls-tight); color: var(--c-fff,#fff);
}
.breaker-comparison__stat--primary .breaker-comparison__stat-number {
  color: var(--atlas-accent-300);
  text-shadow: 0 0 28px var(--cr-6f1ace13,rgba(147,197,253,.30));
}
.breaker-comparison__stat-label {
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
  color: var(--atlas-navy-100);
}
.breaker-comparison__stat--primary .breaker-comparison__stat-label { color: var(--atlas-accent-300); }
.breaker-comparison__vs {
  font-size: var(--atlas-fs-rem-1_75); font-style: italic;
  font-weight: var(--atlas-fw-bold); color: var(--atlas-navy-300);
  line-height: var(--atlas-lh-none); align-self: center;
}

/* Breaker 5: POD product showcase */
.breaker-pod {
  width: 100%;
  background: var(--atlas-snow-50);
  border-top: 1px solid var(--atlas-snow-200);
  border-bottom: 1px solid var(--atlas-snow-200);
  padding: 2rem 0; margin: 1.5rem 0;
}
.breaker-pod__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
}
.breaker-pod__head {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .breaker-pod__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
}
.breaker-pod__title {
  margin: 0; font-size: var(--atlas-fs-rem-1_3); font-weight: var(--atlas-fw-bold);
  color: var(--atlas-snow-900); letter-spacing: var(--atlas-ls-tight);
}
.breaker-pod__sub { margin: 0; font-size: var(--atlas-fs-rem-0_82); color: var(--atlas-snow-500); }
.breaker-pod__products {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 0.875rem;
}
@media (min-width: 768px) { .breaker-pod__products { grid-template-columns: repeat(3, 1fr); } }
.pod-product-card {
  display: grid; grid-template-columns: 60px 1fr; gap: 0.875rem;
  padding: 1rem;
  background: var(--component-bg);
  border: 1px solid var(--atlas-snow-200); border-radius: 8px;
  text-decoration: none; color: var(--atlas-snow-900);
  transition: transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out;
}
.pod-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--cr-918e99c7,rgba(11,37,69,.10));
  border-color: var(--atlas-accent);
  text-decoration: none;
}
.pod-product-card__icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; flex-shrink: 0;
  background: var(--atlas-accent-bg); color: var(--atlas-accent);
}
.pod-product-card__icon--map    { background: var(--cr-82b3dc46,rgba(11,37,69,.07));       color: var(--atlas-navy-ink); }
.pod-product-card__icon--guide  { background: var(--atlas-accent-bg);   color: var(--atlas-accent); }
.pod-product-card__icon--checklist { background: var(--cr-1ee0a68f,rgba(59,130,246,.10));  color: var(--atlas-accent-700); }
.pod-product-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pod-product-card__cat {
  font-size: var(--atlas-fs-micro,0.75rem); font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform);
  color: var(--atlas-snow-500);
}
.pod-product-card__name {
  margin: 0; font-size: var(--atlas-fs-base, 1rem); font-weight: var(--atlas-fw-bold);
  color: var(--atlas-snow-900); line-height: var(--atlas-lh-data);
}
.pod-product-card__meta { font-size: var(--atlas-fs-rem-0_78); color: var(--atlas-snow-500); }
.pod-product-card__action {
  margin-top: 0.5rem;
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--atlas-accent); font-size: var(--atlas-fs-rem-0_8); font-weight: var(--atlas-fw-bold);
}
.pod-product-card:hover .pod-product-card__action { color: var(--atlas-accent-700); }

/* ============================================================================
   SIDEBAR CARDS — T02 resort overview sidebar (design-preview T02-resort-overview.html)
   ============================================================================ */

/* Base sidebar card */
.sidebar-card {
  background: var(--component-bg);
  border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg);
  padding: var(--atlas-space-5);
  display: flex; flex-direction: column; gap: var(--atlas-space-4);
  box-shadow: var(--atlas-shadow-card);
}
.sidebar-card__head { display: flex; flex-direction: column; gap: var(--atlas-space-1); padding-bottom: var(--atlas-space-3); border-bottom: 1px solid var(--atlas-divider); }
.sidebar-card__title { font-family: var(--atlas-font-heading); font-weight: var(--atlas-fw-bold); color: var(--atlas-text); margin: 0; font-size: var(--atlas-fs-lg); }
.sidebar-card__title .atlas-data { color: var(--atlas-accent); margin: 0 4px 0 0; }
.sidebar-card__per { font-weight: var(--atlas-fw-regular); font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); }

/* Companion grammar (companion-sidebar design): the lead card reads as the
   navy "primary slot" — the page's answer/action — and the closing card is the
   gold "next step". Score/verdict anchors the 32% column without repeating the
   same stack everywhere. */
.atlas-companion-card.companion__primary {
  background: var(--atlas-navy-surface);
  border-color: var(--atlas-navy, #0b2545);
  color: var(--atlas-white, #fff);
}
.atlas-companion-card.companion__primary .sidebar-card__head { border-bottom-color: var(--cr-760d5a35,rgba(255,255,255,0.15)); }
.atlas-companion-card.companion__primary .atlas-label { color: var(--cr-22c5667e,rgba(255,255,255,0.62)); }
.atlas-companion-card.companion__primary .atlas-data,
.atlas-companion-card.companion__primary .sidebar-card__title,
.atlas-companion-card.companion__primary .sidebar-card__title .atlas-data { color: var(--atlas-white, #fff); }
.atlas-companion-card.companion__primary .atlas-muted,
.atlas-companion-card.companion__primary .atlas-body-sm { color: var(--cr-7c83c563,rgba(255,255,255,0.74)); }
.atlas-companion-card.companion__next { border-left: 3px solid var(--atlas-gold, #d97706); }

/* Booking card emphasis */
.sidebar-card--book { border-color: var(--atlas-accent); border-width: 2px; }
.sidebar-card--book .sidebar-card__head { border-bottom-color: var(--atlas-accent-bg); }

/* Action buttons card */

/* Weather card */

/* ============================================================================
   BOOKING FORM
   ============================================================================ */
.booking-form { display: flex; flex-direction: column; gap: var(--atlas-space-3); }
.booking-form__field { display: flex; flex-direction: column; gap: 4px; }
.booking-form__field input,
.booking-form__field select {
  font-family: inherit; font-size: var(--atlas-fs-sm); color: var(--atlas-text);
  padding: var(--atlas-space-2) var(--atlas-space-3);
  border: 1px solid var(--atlas-border-strong); border-radius: var(--atlas-radius-md);
  background: var(--atlas-bg-card);
}
.booking-form__field input:focus,
.booking-form__field select:focus { outline: none; border-color: var(--atlas-accent); box-shadow: var(--atlas-shadow-focus); }
.booking-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--atlas-space-3); }
.booking-form__disclaimer { font-size: var(--atlas-fs-tiny); margin: 0; text-align: center; }

/* ============================================================================
   KV LIST — key/value pairs (quick facts, stats)
   ============================================================================ */
.kv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--atlas-space-2); }
.kv-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--atlas-space-2); font-size: var(--atlas-fs-sm); color: var(--atlas-text-secondary); }
.kv-list li > span:first-child { color: var(--atlas-text-muted); }
.kv-list li > span:last-child { color: var(--atlas-text); font-weight: var(--atlas-fw-semibold); text-align: right; }
.kv-list--full li { padding: var(--atlas-space-2) 0; border-bottom: 1px dashed var(--atlas-divider); }
.kv-list--full li:last-child { border-bottom: 0; }

/* ============================================================================
   WEATHER LIST — 5-day forecast rows
   ============================================================================ */
.weather-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.weather-list__row {
  display: grid; grid-template-columns: 56px 32px 1fr auto;
  gap: var(--atlas-space-2); align-items: center;
  padding: var(--atlas-space-3) 0; border-bottom: 1px dashed var(--atlas-divider);
}
.weather-list__row:last-child { border-bottom: 0; }
.weather-list__day { font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-semibold); color: var(--atlas-text); }
.weather-list__icon { color: var(--atlas-text-muted); display: inline-flex; }
.weather-list__row--highlight .weather-list__icon { color: var(--atlas-accent); }
.weather-list__temp { color: var(--atlas-text); white-space: nowrap; }
.weather-list__lo { color: var(--atlas-text-muted); font-size: var(--atlas-fs-em-0_75); font-weight: var(--atlas-fw-regular); margin-left: 4px; }
.weather-list__snow { color: var(--atlas-text-muted); text-align: right; min-width: 40px; }
.weather-list__snow--strong { color: var(--atlas-accent); font-weight: var(--atlas-fw-bold); }
.weather-list__source { margin: var(--atlas-space-1) 0 0; }

/* ============================================================================
   NEARBY GRID
   ============================================================================ */
.nearby-grid {
  display: grid; gap: var(--atlas-space-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .nearby-grid { grid-template-columns: repeat(4, 1fr); } }
.nearby-card {
  background: var(--component-bg); border: 1px solid var(--atlas-border);
  border-radius: var(--atlas-radius-lg); overflow: hidden;
  text-decoration: none; color: var(--atlas-text);
  display: flex; flex-direction: column;
  box-shadow: var(--atlas-shadow-card);
  transition: all var(--atlas-transition);
}
.nearby-card:hover { transform: var(--atlas-hover-lift); box-shadow: var(--atlas-shadow-card-hover); border-color: var(--atlas-border-strong); text-decoration: none; }
.nearby-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--atlas-snow-100); }
.nearby-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.nearby-card:hover .nearby-card__media img { transform: scale(1.05); }
.nearby-card__body { padding: var(--atlas-space-4); display: flex; flex-direction: column; gap: 4px; position: relative; }
.nearby-card__title { font-size: var(--atlas-fs-base); font-weight: var(--atlas-fw-semibold); margin: 0; color: var(--atlas-text); }
.nearby-card__country { margin: 0; font-size: var(--atlas-fs-tiny); }
.nearby-card .score-pill { position: absolute; top: var(--atlas-space-3); right: var(--atlas-space-4); }

/* ============================================================================
   SEMANTIC CALLOUT BOXES · Chat53 design spec
   7 colors, 7 non-overlapping meanings.
   Usage: <aside class="callout callout--blue" data-callout="info">
   ============================================================================ */
.callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid;
  border-left-width: 5px;
  margin: 1.25rem 0;
}
.callout__head {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: center;
}
.callout__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-fff,#fff);
  flex-shrink: 0;
}
.callout__type {
  display: block;
  font-size: var(--atlas-fs-micro,0.75rem);
  font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-widest);
  text-transform: var(--atlas-label-transform);
  line-height: var(--atlas-lh-snug);   /* [ZC3 2026-10-03] no opacity: .7 (took the gold/blue type label to 3:1 on its tint); hierarchy is the caps + tracking */
}
.callout__name {
  margin: 2px 0 0;
  font-size: var(--atlas-fs-rem-1_05);
  font-weight: var(--atlas-fw-bold);
  line-height: var(--atlas-lh-data);
}
.callout__body {
  margin: 0;
  font-size: var(--atlas-fs-rem-0_9375);
  line-height: var(--atlas-lh-normal);
  opacity: 0.92;
}
.callout__use-cases {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.callout__use-cases li {
  font-size: var(--atlas-fs-rem-0_85); line-height: var(--atlas-lh-normal);
  padding-left: 1rem; position: relative; opacity: 0.85;
}
.callout__use-cases li::before { content: "\f054"; font-family: var(--atlas-font-icon, "Font Awesome 6 Free"); position: absolute; left: 0; font-weight: var(--atlas-fw-bold); }
.callout__code {
  display: block;
  padding: 0.375rem 0.625rem;
  background: var(--cr-f2c7aadf,rgba(255,255,255,0.6));
  border-radius: 4px;
  font-family: var(--atlas-font-data, 'JetBrains Mono','JetBrains Mono Fallback', ui-monospace, monospace);
  font-size: var(--atlas-fs-rem-0_8);
  border: 1px dashed currentColor;
  overflow-x: auto;
}

/* Blue · Information */
.callout--blue {
  background: var(--callout-blue-bg);
  border-color: var(--callout-blue-border);
  border-left-color: var(--callout-blue);
  color: var(--callout-blue-text);
}
.callout--blue .callout__icon { background: var(--callout-blue); }

/* Green · Positive / verified / recommended */
.callout--green {
  background: var(--callout-green-bg);
  border-color: var(--callout-green-border);
  border-left-color: var(--callout-green);
  color: var(--callout-green-text);
}
.callout--green .callout__icon { background: var(--callout-green); }

/* Orange · Atlas editorial insider note */
.callout--orange {
  background: var(--callout-orange-bg);
  border-color: var(--callout-orange-border);
  border-left-color: var(--callout-orange);
  color: var(--callout-orange-text);
}
.callout--orange .callout__icon { background: var(--callout-orange); }

/* Amber · Caution / soft warning */
.callout--amber {
  background: var(--callout-amber-bg);
  border-color: var(--callout-amber-border);
  border-left-color: var(--callout-amber);
  color: var(--callout-amber-text);
}
.callout--amber .callout__icon { background: var(--callout-amber); }

/* Red · Danger / critical */
.callout--red {
  background: var(--callout-red-bg);
  border-color: var(--callout-red-border);
  border-left-color: var(--callout-red);
  color: var(--callout-red-text);
}
.callout--red .callout__icon { background: var(--callout-red); }

/* Purple · Atlas exclusive / premium data */
.callout--purple {
  background: var(--callout-purple-bg);
  border-color: var(--callout-purple-border);
  border-left-color: var(--callout-purple);
  color: var(--callout-purple-text);
}
.callout--purple .callout__icon { background: var(--callout-purple); }

/* Teal · Methodology / data source */
.callout--teal {
  background: var(--callout-teal-bg);
  border-color: var(--callout-teal-border);
  border-left-color: var(--callout-teal);
  color: var(--callout-teal-text);
}
.callout--teal .callout__icon { background: var(--callout-teal); }

/* [data-callout] attribute aliases (semantic HTML approach) */
[data-callout="info"]        { background: var(--callout-blue-bg);   border-color: var(--callout-blue-border);   border-left: 5px solid var(--callout-blue);   color: var(--callout-blue-text);   padding: 1rem; border-radius: 6px; margin: 1rem 0; }
[data-callout="positive"]    { background: var(--callout-green-bg);  border-color: var(--callout-green-border);  border-left: 5px solid var(--callout-green);  color: var(--callout-green-text);  padding: 1rem; border-radius: 6px; margin: 1rem 0; }
[data-callout="atlas-note"]  { background: var(--callout-orange-bg); border-color: var(--callout-orange-border); border-left: 5px solid var(--callout-orange); color: var(--callout-orange-text); padding: 1rem; border-radius: 6px; margin: 1rem 0; }
[data-callout="caution"]     { background: var(--callout-amber-bg);  border-color: var(--callout-amber-border);  border-left: 5px solid var(--callout-amber);  color: var(--callout-amber-text);  padding: 1rem; border-radius: 6px; margin: 1rem 0; }
[data-callout="danger"]      { background: var(--callout-red-bg);    border-color: var(--callout-red-border);    border-left: 5px solid var(--callout-red);    color: var(--callout-red-text);    padding: 1rem; border-radius: 6px; margin: 1rem 0; }
[data-callout="exclusive"]   { background: var(--callout-purple-bg); border-color: var(--callout-purple-border); border-left: 5px solid var(--callout-purple); color: var(--callout-purple-text); padding: 1rem; border-radius: 6px; margin: 1rem 0; }
[data-callout="methodology"] { background: var(--callout-teal-bg);   border-color: var(--callout-teal-border);   border-left: 5px solid var(--callout-teal);   color: var(--callout-teal-text);   padding: 1rem; border-radius: 6px; margin: 1rem 0; }

/* ============================================================================
   SECTION 16 · CHAT60 CALLOUT VARIANTS
   Four-variant system: blue (data insight) · gold (Atlas verdict) ·
   green (verified positive) · honest (honest disclosure / warning orange)
   Adds structured icon-circle + eyebrow heading pattern.
   ============================================================================ */

/* Override base for Chat60 callout variants (block layout, not flex row).
   [POC-UX 2026-10-10] Compound selector (0,2,0): the vertical token sheets (ski-design-tokens, hot-springs-design-tokens) re-declare
   `.atlas-callout{display:flex}` at (0,1,0) and load later, so the variants lost on load order and the head + body sat side by side:
   the body collapsed to 1px and the text pushed the page 43-79px wider than a phone (transportation, weather). Specificity, not order. */
.atlas-callout.atlas-callout--blue,
.atlas-callout.atlas-callout--gold,
.atlas-callout.atlas-callout--green,
.atlas-callout.atlas-callout--honest {
  display: block;
  padding: 1.25rem 1.5rem;
  border-left-width: 5px;
  border-radius: var(--atlas-radius-md);
  box-shadow: var(--atlas-shadow-card);
}

/* Internal head row: circle icon + eyebrow + h-title side by side */
.atlas-callout__head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.5rem;
}
.atlas-callout__head-text { flex: 1; }

/* Eyebrow label (uppercase · coloured by variant) */
.atlas-callout__eyebrow {
  display: block;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-widest);
  text-transform: var(--atlas-label-transform);
  margin-bottom: 0.25rem;
}

/* Circle icon container (Chat60 — replaces the legacy inline SVG icon) */
.atlas-callout__icon--circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-text-inverse);
  flex-shrink: 0;
}

/* Heading title inside callout (replaces old uppercase label) */
.atlas-callout--blue .atlas-callout__title,
.atlas-callout--gold .atlas-callout__title,
.atlas-callout--green .atlas-callout__title,
.atlas-callout--honest .atlas-callout__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-rem-1_0625);
  color: var(--atlas-text);
  line-height: var(--atlas-lh-data);
  letter-spacing: var(--atlas-ls-tight);
  text-transform: none;
  letter-spacing: normal;
}

/* Body paragraph inside callout */
.atlas-callout--blue .atlas-callout__body,
.atlas-callout--gold .atlas-callout__body,
.atlas-callout--green .atlas-callout__body,
.atlas-callout--honest .atlas-callout__body {
  margin: 0;
  color: var(--atlas-text);
  font-size: var(--atlas-fs-rem-0_95);
  line-height: var(--atlas-lh-relaxed);
}
.atlas-callout__body p { margin: 0; }
.atlas-callout__body p + p { margin-top: 0.5rem; }

/* BLUE · data insight */
.atlas-callout--blue {
  background: var(--atlas-accent-bg);
  border-left-color: var(--atlas-accent);
  border-color: var(--atlas-border);
}
.atlas-callout--blue .atlas-callout__icon--circle { background: var(--atlas-accent); }
/* [PROBE-REGS 2026-10-18 · served-contrast] eyebrow is TEXT: the as-text token (the fill token stayed 3.00:1 on the night callout) */
.atlas-callout--blue .atlas-callout__eyebrow      { color: var(--atlas-accent-as-text); }

/* GOLD · Atlas editorial verdict */
.atlas-callout--gold {
  background: var(--atlas-gold-bg);
  border-left-color: var(--atlas-gold);
  border-color: var(--atlas-border);
}
.atlas-callout--gold .atlas-callout__icon--circle { background: var(--atlas-gold); }
/* [PROBE-REGS 2026-10-18 · served-contrast] eyebrow is TEXT: the AA gold ink (flips at night), not the gold fill */
.atlas-callout--gold .atlas-callout__eyebrow      { color: var(--atlas-gold-ink); }

/* GREEN · verified positive finding */
.atlas-callout--green {
  background: var(--atlas-success-bg);
  border-left-color: var(--atlas-success);
  border-color: var(--atlas-border);
}
.atlas-callout--green .atlas-callout__icon--circle { background: var(--atlas-success); }
.atlas-callout--green .atlas-callout__eyebrow      { color: var(--atlas-ok-as-text); }
}

/* HONEST · honest negative finding (orange — distinct from amber warning) */
@layer tokens {
:root {
  --atlas-honest-orange:    var(--c-ea580c,#ea580c);
  --atlas-honest-orange-bg: var(--cr-e6b9319a,rgba(234, 88, 12, 0.08));
}
}

@layer components {
.atlas-callout--honest {
  background: var(--atlas-honest-orange-bg);
  border-left-color: var(--atlas-honest-orange);
  border-color: var(--atlas-border);
}
.atlas-callout--honest .atlas-callout__icon--circle { background: var(--atlas-honest-orange); }
.atlas-callout--honest .atlas-callout__eyebrow      { color: var(--atlas-honest-orange); }

/* ============================================================================
   SECTION 17 · TRANSPORTATION PAGE · CHAT60 FRAGMENT COMPONENTS
   journey-strip · mode-tabs__nav · data-card · status-pill · transit-card
   ============================================================================ */

/* ---------- Journey overview container (Chat60 card variant) --------------- */
.journey-overview {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: 12px;
  box-shadow: var(--atlas-shadow-card);
}
.journey-overview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--atlas-border);
  margin-bottom: 1.25rem;
}
.journey-overview__eyebrow {
  color: var(--atlas-accent);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-widest);
  text-transform: var(--atlas-label-transform);
}
.journey-overview__title {
  margin: 0.25rem 0 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-xl, 1.25rem);
  color: var(--atlas-text);
  letter-spacing: var(--atlas-ls-tight);
}
.journey-overview__source {
  color: var(--atlas-text-muted);
  font-family: var(--atlas-font-data);
  font-size: var(--atlas-fs-micro,0.75rem);
}

/* ---------- Journey strip — 5-col grid (3-stop default) ------------------- */
.journey-strip {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .journey-strip { grid-template-columns: 1fr; gap: 1rem; }
  .journey-strip__connector { display: none; }
}

/* Inside journey-strip, journey-stop is a centred text card (not flex row) */
.journey-strip .journey-stop {
  display: block;
  text-align: center;
  padding: 1rem;
}
.journey-strip .journey-stop--resort {
  background: var(--atlas-navy-surface);
  border-color: var(--atlas-navy-900);
  color: var(--atlas-text-inverse);
  transform: scale(1.06);
}

/* journey-stop sub-elements (Chat60) */
.journey-stop__type {
  display: block;
  color: var(--atlas-accent);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-widest);
  text-transform: var(--atlas-label-transform);
  margin-bottom: 0.25rem;
}
.journey-strip .journey-stop--resort .journey-stop__type { color: var(--atlas-gold-light); }

.journey-stop__meta {
  margin: 0.375rem 0 0;
  color: var(--atlas-text-muted);
  font-family: var(--atlas-font-data);
  font-size: var(--atlas-fs-tiny, 0.75rem);
}
.journey-strip .journey-stop--resort .journey-stop__meta { color: var(--atlas-accent-100); }

.journey-stop__iata {
  display: inline-block;
  margin-top: 0.375rem;
  padding: 2px 8px;
  background: var(--atlas-navy-surface);
  color: var(--atlas-text-on-dark); /* [THEME-OWNER 2026-10-03] navy-surface is navy in both themes; -inverse flips near-black at night */
  border-radius: var(--atlas-radius-pill);
  font-family: var(--atlas-font-data);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-wider);
}
.journey-strip .journey-stop--resort .journey-stop__iata {
  background: var(--atlas-gold);
  color: var(--atlas-navy-ink);
}

/* Connector between stops */
.journey-strip__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--atlas-text-muted);
  font-family: var(--atlas-font-data);
  font-size: var(--atlas-fs-micro,0.75rem);
}
.journey-strip__connector-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--atlas-border) 0%, var(--atlas-accent) 50%, var(--atlas-border) 100%);
}
.journey-strip__connector-time {
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-text);
}
.journey-strip__connector-mode {
  color: var(--atlas-text-muted);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
}

/* 4+ airports fallback grid */
.journey-airport-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ---------- Mode tabs · sticky anchored nav (Chat60) ----------------------- */
.mode-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  padding: 0.375rem;
  background: var(--atlas-navy-surface);
  border-radius: 10px;
  position: sticky;
  top: 0.5rem;
  z-index: var(--atlas-z-sticky);
}
.mode-tabs__nav-link {
  flex: 1;
  min-width: 100px;
  padding: 0.625rem 0.875rem;
  text-align: center;
  background: transparent;
  color: var(--atlas-accent-100);
  text-decoration: none;
  border-radius: 6px;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-rem-0_825);
  border: none;
  cursor: pointer;
  transition: background var(--atlas-transition-fast), color var(--atlas-transition-fast);
}
.mode-tabs__nav-link:hover {
  background: var(--atlas-navy-900);
  color: var(--atlas-text-inverse);
  text-decoration: none;
}
.mode-tabs__nav-link.is-active {
  background: var(--atlas-gold);
  color: var(--atlas-navy-ink);
}
@media (max-width: 640px) {
  .mode-tabs__nav-link { min-width: 80px; font-size: var(--atlas-fs-tiny, 0.75rem); padding: 0.5rem 0.5rem; }
}

/* Mode panel header + title (Chat60 anchored-panel pattern) */
.mode-panel__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mode-panel__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-2xl, 1.5rem);
  letter-spacing: var(--atlas-ls-tight);
  color: var(--atlas-text);
}
.mode-panel__verdict {
  color: var(--atlas-text-muted);
  font-size: var(--atlas-fs-sm);
  max-width: 60ch;
}

/* ---------- Data card (Chat60 compact card — not atlas-card) --------------- */
.data-card {
  padding: 1.25rem;
  background: var(--atlas-bg-card);
  border: 1px solid var(--atlas-border);
  border-radius: 10px;
  box-shadow: var(--atlas-shadow-card);
  min-width: 0; /* allow grid cell to shrink — prevents cramped 2nd column */
}
.data-card__label {
  display: block;
  color: var(--atlas-accent);
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-widest);
  text-transform: var(--atlas-label-transform);
  margin-bottom: 0.375rem;
}
.data-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-rem-1_0625);
  color: var(--atlas-text);
  letter-spacing: var(--atlas-ls-tight);
}
.data-card__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.data-card__rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap; /* [FIX 2026-09-11] prevent label+value collision at narrow widths */
  gap: 0.5rem 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--atlas-border);
  font-size: var(--atlas-fs-sm, 0.875rem);
}
.data-card__rows li:last-child { border-bottom: none; }
.data-card__rows .row-label { color: var(--atlas-text); font-weight: var(--atlas-fw-medium); flex-shrink: 0; }
.data-card__rows .row-value {
  font-family: var(--atlas-font-data);
  font-weight: var(--atlas-fw-bold);
  color: var(--atlas-navy-ink);
  flex-shrink: 0;
  text-align: right;
}
.data-card__summary {
  margin: 0 0 0.75rem;
  color: var(--atlas-text-muted);
  font-size: var(--atlas-fs-sm);
  line-height: var(--atlas-lh-normal);
}
.data-card__big-stat {
  font-family: var(--atlas-font-data);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-rem-1_75);
  color: var(--atlas-navy-ink);
  line-height: var(--atlas-lh-tight);
  margin-bottom: 0.25rem;
}
.data-card__big-stat-unit {
  color: var(--atlas-text-muted);
  font-family: var(--atlas-font-heading);
  font-size: var(--atlas-fs-tiny, 0.75rem);
  font-weight: var(--atlas-fw-semibold);
}

/* Data grid — 1→2→fluid responsive */
.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px)  { .data-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .data-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

/* ---------- Status pill (Chat60 · complements atlas-badge) ----------------- */
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--atlas-radius-pill);
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-micro,0.75rem);
  letter-spacing: var(--atlas-ls-wider);
}
.status-pill--ok   { background: var(--atlas-success-bg); color: var(--atlas-ok-ink); }
.status-pill--warn { background: var(--atlas-gold-bg);    color: var(--atlas-gold-ink); }
.status-pill--info { background: var(--atlas-accent-bg);  color: var(--atlas-accent-as-text); }
.status-pill--none { background: var(--atlas-snow-100);   color: var(--atlas-text-muted); }

/* ---------- Transit card (Fragment 4/5) ------------------------------------ */
.transit-card {
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--atlas-border);
  box-shadow: var(--atlas-shadow-card);
}
.transit-card--free {
  background: linear-gradient(135deg, var(--atlas-success-bg) 0%, var(--atlas-bg-card) 100%);
  border-left: 5px solid var(--atlas-success);
}
.transit-card--paid {
  background: var(--atlas-bg-card);
  border-left: 5px solid var(--atlas-accent);
}
.transit-card--limited {
  background: linear-gradient(135deg, var(--atlas-gold-bg) 0%, var(--atlas-bg-card) 100%);
  border-left: 5px solid var(--atlas-gold);
}
.transit-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.transit-card__title {
  margin: 0;
  font-family: var(--atlas-font-heading);
  font-weight: var(--atlas-fw-bold);
  font-size: var(--atlas-fs-xl, 1.25rem);
  color: var(--atlas-text);
  letter-spacing: var(--atlas-ls-tight);
}

/* ============================================================================
   COMPONENT WRAP — DARK (Chat64: night visualizations)
   Wraps aurora, star map, night sky, and other dark-background components.
   ============================================================================ */

.component-wrap--dark {
  background: var(--c-1a1a2e,#1a1a2e);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid var(--cr-cc5efe1d,rgba(255,255,255,0.1));
  box-shadow: 0 0 0 1px var(--cr-bba29c6c,rgba(255,255,255,0.05));
  margin-bottom: var(--atlas-space-4, 1rem);
}

.component-wrap--dark::before {
  content: 'Night visualization';
  display: block;
  color: var(--cr-5c615864,rgba(255,255,255,0.5));
  font-size: var(--atlas-fs-micro, 0.6875rem);
  padding: 4px 8px;
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
}

.component-wrap--dark > * {
  border-radius: 8px;
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   [SVG-SAFETY-NET · 2026-06-13 · TASK-PHASE8-CSS-HERO-DESIGN-PARITY]
   Defensive guard against giant component SVGs.

   Radar/gauge/donut/scatter components render their chart as an inline
   <svg ... width="100%">. A square (≈1:1) viewBox at width:100% fills the
   container's full width AND height, so these components rely ENTIRELY on a
   per-component size cap that lives in components-merged.css (e.g.
   `.swss__radar{max-width:180px}`, `.spgg-gauge-wrap{width:100px}`).

   That merged file only contains CSS for components that are profile-enabled or
   recorded in a Phase 3.7 manifest (see phase08_assembly/run.php). If a component
   is placed on a page by any other path — or simply not yet merged — its cap is
   absent and the square SVG balloons into a full-width, full-height "blob hero".

   This net caps the *height* of any inline SVG inside a rendered component. It
   sets no width and touches no other property, so it never conflicts with a
   component's own max-width rule and never distorts a chart's aspect ratio.
   Every healthy capped chart is already well under this ceiling, so this is a
   no-op in the normal case — it only engages when a component's scoped CSS is
   missing, turning a page-dominating giant into a contained widget.
   atlas-framework.css is loaded on 100% of generated pages, so the guard is
   always present even where components-merged.css is not.
   ───────────────────────────────────────────────────────────────────────────── */
.atlas-component svg,
.component-wrap svg,
.component svg {
  max-height: 420px;
}

/* ============================================================================
   GRID CONTAINMENT GUARD (2026-06-16)
   ----------------------------------------------------------------------------
   CSS grid (and flex) items default to min-width:auto, which lets wide content
   (long unbroken strings, <pre>, wide tables, oversized media) push a track
   past its 1fr share and blow the whole grid out of its container. These rules
   are the canonical, additive fix: zero out the implied minimum on grid/flex
   children and force long content to wrap rather than overflow. They set no
   colours, widths, or layout of their own, so they never override an intended
   design — they only stop the overflow failure mode. Loaded on 100% of pages.
   ──────────────────────────────────────────────────────────────────────────── */
.atlas-grid > *,
.atlas-grid--2 > *,
.atlas-grid--3 > *,
.atlas-grid--4 > * {
  min-width: 0;
}
.atlas-grid > *,
.atlas-grid--2 > *,
.atlas-grid--3 > *,
.atlas-grid--4 > * {
  overflow-wrap: break-word;
}
/* Wide atomic content inside any grid cell must scroll/shrink, never overflow. */
.atlas-grid img,
.atlas-grid svg,
.atlas-grid video,
.atlas-grid table {
  max-width: 100%;
}
.atlas-grid pre,
.atlas-grid table {
  overflow-x: auto;
}

/* ============================================================================
   [CHROME-CANONICAL 2026-07-01] Shared white-text-on-blue/navy-hero rule.
   Several bespoke page-type templates (geo hubs, best leaderboard, badge pages,
   compare hub) render a hero title band with a blue/navy background, but the
   global heading rule (typography-and-navigation.css h1/h2/h3 { color: navy })
   can win and produce dark-navy-on-navy = an unreadable hero title. This rule
   forces WHITE title/lede/breadcrumb text on the KNOWN blue-background hero
   containers so it's fixed everywhere at once (systemic, not per-template).
   Also honours an explicit opt-in: any element with data-hero-theme="dark".
   ========================================================================== */
.lbhero, .lbhero h1, .lbhero h2,
.bhub-hero, .bhub-hero h1, .bhub-hero h2,
.badge-page-hero, .badge-page-hero h1, .badge-page-hero h2,
.badge-page-hero__name,
.ghub-hero, .ghub-hero h1, .ghub-hero h2,
.ghub-hero__h1,
[data-hero-theme="dark"], [data-hero-theme="dark"] h1, [data-hero-theme="dark"] h2 {
    color: var(--c-fff,#fff);
}
/* Sub-text + breadcrumb on those dark heroes: legible translucent white,
   with links/current crumb readable against the navy. */
.lbhero p, .lbhero .ey,
.bhub-hero__lede, .bhub-hero__ey,
.badge-page-hero__criteria, .badge-page-hero__stat-label,
.ghub-hero__lede, .ghub-hero__badge,
[data-hero-theme="dark"] p {
    color: var(--cr-907d7569,rgba(255, 255, 255, 0.82));
}
}

@layer chrome {

}

/* ============================================================================
   [CHROME-UNIFY 2026-07-21] Extend the dark-hero canon to the remaining navy
   heroes whose H1 had NO class-level color, so the bare element rule
   `h1 { color: var(--sn-heading) }` (ski-design-tokens.css) painted the title
   near-black on navy:
     • .chero        — /compare/ start page (ski + hot-springs variants, all navy)
     • .hub-stub .hub-hero — /by-country/ (T_hub_stub inline navy hero)
   Scoped (NOT bare .hub-hero) because .hub-hero is also used as a LIGHT band by
   other verticals' hubs (spring planning/tradition) — never force white there.
   ========================================================================== */
@layer components {
.chero h1, .chero h2,
.hub-stub .hub-hero h1, .hub-stub .hub-hero .hub-hero__title {
    color: var(--c-fff,#fff);
}
/* /by-country/ (T_hub_stub) main column was pinned to an inline 940px while the
   rest of the fleet uses --atlas-max-content (1280px). Class-pair specificity
   beats the page's single-class inline rule regardless of order. */
.hub-stub .hub-page { max-width: var(--atlas-max-content, 1280px); }

/* [NAV-VARIANT-C 2026-07-03 rev2] Task 18 — data-desk gold-tab nav states (Ogi picked Variant C).
   Source of truth: DESIGN/…/task18-nav-states.html "Variant C". This is the AUTHORITATIVE
   nav-link state block; the two earlier .site-nav__link rule-sets (~L1709 pill, ~L2207 gold
   underline) were neutralized above. Shared across ALL pages.

   Key fix vs the old live nav (rounded pill + clipped bottom + white gap above/below the tab):
   the tab must FILL the full nav-row height so the 3px gold top-bar touches the dark row above
   and the tab has NO white gap top or bottom. To do that we (a) zero the inner row's vertical
   padding and (b) stretch the list + links to full height, moving the vertical centering into
   the link's own padding. Rectangular, adjacent tabs — no rounded corners, no bottom border. */

/* (a) Kill the vertical gap: the row's inner padding + list gap pushed the tab off the edges. */
.site-nav__inner{padding-top:0!important;padding-bottom:0!important}
.site-nav__list{gap:0;align-items:stretch}

/* (b) Base link fills the row height; vertical centering via internal padding only. */
.site-nav__link{
  position:relative;
  display:inline-flex;align-items:center;
  padding:14px 13px!important;
  margin:0!important;
  border:none!important;border-radius:0!important;
  background:transparent;
  color:var(--atlas-text-secondary);
  transition:background .15s ease,color .15s ease;
}
/* 3px gold bar at the TOP of the tab, flush to the row's top edge (touches the dark row above).
   [NAV rev4 2026-07-03] The bar uses --atlas-gold-bright (#f59e0b) — the brighter/lighter orange
   from the Claude Design (task18 --atlas-gold-bright), not the dark amber --atlas-gold (#d97706)
   which Ogi flagged as too dark. Falls back to #f59e0b if the token is absent. */
.site-nav__link::before{
  content:'';position:absolute;top:0;left:8px;right:8px;height:3px;
  border-radius:0 0 3px 3px;background:var(--atlas-gold-bright,#f59e0b);
  transform:scaleX(0);transform-origin:center top;
  transition:transform .20s cubic-bezier(.4,0,.2,1),background .3s ease;
}
/* Hover (non-active): subtle grey fill + partial grey top bar sliding from centre.
   [NAV rev4] The hover indicator bar starts as the bright orange then transitions to grey — the
   "orange→grey in <1s" behaviour Ogi described. On hover it snaps to scaleX(.55) grey via the
   background transition below. */
.site-nav__link:hover{color:var(--atlas-navy-ink);background:var(--cr-a0eb1c4c,rgba(11,37,69,.05))}
.site-nav__link:not(.site-nav__link--active):hover::before{transform:scaleX(.55);background:var(--cr-e51bbcad,rgba(11,37,69,.18))}
/* Active / current tab: light gold tint fill + full-width bright-orange top bar, bold. Rectangular. */
.site-nav__link--active,
.site-nav .site-nav__link[aria-current="page"]{
  color:var(--atlas-navy-ink)!important;
  font-weight:var(--atlas-fw-semibold,600);
  background:var(--cr-1e1373b2,rgba(217,119,6,.07))!important;
  border:none!important;border-radius:0!important;
}
.site-nav__link--active::before,
.site-nav .site-nav__link[aria-current="page"]::before{transform:scaleX(1);background:var(--atlas-gold-bright,#f59e0b)}
/* [NAV rev4] Hover on the ACTIVE tab: background turns GREY (not darker gold); the gold top bar STAYS. */
.site-nav__link--active:hover,
.site-nav .site-nav__link[aria-current="page"]:hover{background:var(--cr-171cfbee,rgba(11,37,69,.08))!important}
.site-nav__link--active:hover::before,
.site-nav .site-nav__link[aria-current="page"]:hover::before{transform:scaleX(1);background:var(--atlas-gold-bright,#f59e0b)}

/* [NAV-VARIANT-C 2026-07-03 rev3] FIX D — active/mega-trigger tab vertical alignment.
   The "Ski Resorts" tab is a native <button class="site-nav__link site-nav__mega-trigger">
   (with an inline chevron SVG), while every sibling tab is a plain <a>. Native <button>
   elements carry UA defaults — font-family "arial", line-height:normal, vertical-align:
   baseline, and intrinsic margins — none of which the base .site-nav__link rule resets.
   Result: the button's label baseline sits a hair HIGHER than the anchor tabs, so the
   active "Ski Resorts" tab looks misaligned vs the others. Force button nav-links to the
   SAME box metrics as anchor nav-links: inherit font + line-height, reset UA chrome,
   keep the identical Variant-C padding. Only the gold top-bar/fill differs, NOT position. */
button.site-nav__link,
.site-nav__mega-trigger,
.site-nav__more-toggle.site-nav__link{
  font:inherit;                    /* kill UA 13.33px Arial → match anchor typography */
  font-size:var(--atlas-fs-sm);
  font-weight:var(--atlas-fw-medium);
  line-height:inherit;             /* kill line-height:normal → match anchors */
  vertical-align:middle;
  margin:0!important;
  padding:14px 13px!important;     /* identical to the base .site-nav__link box */
  border:none!important;
  border-radius:0!important;
  background:transparent;
  color:var(--atlas-text-secondary);
  -webkit-appearance:none;appearance:none;   /* strip native button rendering */
  cursor:pointer;
}
/* Keep the chevron optically centred with the label (no extra vertical offset). */
.site-nav__mega-trigger svg{display:inline-block;vertical-align:middle;flex:none}
}

/* ============================================================================
   [A11Y 2026-07-04]  Global accessibility safety net — shared everywhere.
   Scope: WCAG 2.2 AA quick-wins that are safe to apply site-wide from shared
   CSS without touching any page template. Tokens only (navy/accent/gold).
   Rules here are appended LAST so they win the cascade over earlier defaults.
   ============================================================================ */

/* --- 2.4.7 Focus Visible / 1.4.11 Non-text Contrast ------------------------
   Replace the earlier outline:none + box-shadow-only focus with a REAL 2px
   accent outline + offset. An outline (unlike box-shadow) survives Windows
   High-Contrast Mode and forced-colors, so keyboard users always see focus.
   Keep the soft box-shadow as an additive glow for aesthetics.               */
@layer base {
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[role="link"]:focus-visible {
  outline: 2px solid var(--atlas-accent,#1d58f5);
  outline-offset: 2px;
  box-shadow: var(--atlas-shadow-focus);
  border-radius: var(--atlas-radius-sm);
}
}

/* Forced-colors (WHCM): let the OS pick the focus colour, keep the geometry. */
@layer components {
@media (forced-colors: active) {
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  summary:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

/* --- Screen-reader-only utility (name-from-content, visually-hidden text) ---
   Standard clip pattern. Use for icon-only control labels, section names, etc.
   `.visually-hidden` (and the `.sr-only` alias) are inert visually but read.  */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Allow a visually-hidden element to become visible on focus (skip-link style) */

/* --- 2.4.1 Bypass Blocks: skip-link (reinforce the existing .skip-link) -----
   The base .skip-link rule already exists above; this only guarantees the
   focused state sits above sticky headers and paints on-brand if a template
   starts emitting a skip link. No layout impact when no skip-link is present. */
.skip-link:focus {
  z-index: 10000;
  outline: 2px solid var(--atlas-white, #fff);
  outline-offset: 2px;
}

/* --- 2.5.8 Target Size (Minimum, WCAG 2.2 AA = 24px; we aim 44px) ----------
   Safety floor for icon-only / compact controls that opt in via .a11y-target
   or that are inline nav "More"/scope buttons. Kept opt-in-ish to avoid
   disturbing existing dense layouts; global min applies only to bare buttons
   and links styled as buttons that have no explicit smaller intent.          */
.a11y-target,
.atlas-btn,
.site-nav__scope-btn {
  min-height: 44px;
}

/* --- 2.3.3 / 2.3.1 Motion: global prefers-reduced-motion safety net --------
   Neutralises ALL animation + transition + smooth-scroll for users who ask
   for reduced motion — a backstop on top of the component-scoped blocks.     */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto !important;
  }
}
/* ===================== end [A11Y 2026-07-04] ============================== */

/* ============================================================================
   SILO SUB-NAV STRIP  [navfix 2026-07-09]
   Styles the ".atlas-subnav" sibling-navigation strip injected post-assembly by
   engine/core/classes/SiloNavigationBuilder.php (via the ski-school-subnav
   partial). Lives HERE — in the globally-linked framework sheet — because the
   partial's former inline <style> was emitted only once per batch PHP process,
   so every page after the first rendered the nav as an unstyled run-on text
   wall. Framework tokens only; no hard-coded palette, no dark-mode @media
   (light/dark handled by the token layer). Mobile: horizontal scroll + wrap.
   Structure: <nav.atlas-subnav> > <div.atlas-subnav__in> >
              <span.atlas-subnav__lbl> + N × <a.atlas-subnav__tab>
   ---------------------------------------------------------------------------- */
.atlas-subnav {
  position: sticky;
  top: var(--atlas-header-h, 62px);
  z-index: 40;
  margin: 0 auto 1rem;
  background: var(--component-bg, var(--atlas-white, #fff));
  border: 1px solid var(--component-border, var(--atlas-snow-200, #e2e8f0));
  border-top: none;
  box-shadow: 0 2px 8px var(--cr-cb65f323,rgba(11, 37, 69, 0.08));
}
.atlas-subnav__in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.atlas-subnav__lbl {
  flex: none;
  margin-right: 6px;
  padding-right: 10px;
  border-right: 1px solid var(--component-border, var(--atlas-snow-200, #e2e8f0));
  font-size: var(--atlas-fs-micro,0.75rem);
  font-weight: var(--atlas-fw-bold);
  letter-spacing: var(--atlas-ls-wider);
  text-transform: var(--atlas-label-transform);
  white-space: nowrap;
  color: var(--atlas-text-muted, var(--atlas-snow-500, #64748b));
}
.atlas-subnav__tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--atlas-fs-rem-0_8125);
  font-weight: var(--atlas-fw-semibold);
  line-height: var(--atlas-lh-data);
  white-space: nowrap;
  text-decoration: none;
  color: var(--atlas-text-muted, var(--atlas-snow-500, #64748b));
  background: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.atlas-subnav__tab:hover,
.atlas-subnav__tab:focus-visible {
  color: var(--atlas-navy-ink);
  background: var(--atlas-navy-50, rgba(11, 37, 69, 0.05));
  border-color: var(--component-border, var(--atlas-snow-200, #e2e8f0));
}
.atlas-subnav__tab[aria-current="true"] {
  color: var(--atlas-navy-ink);
  background: var(--atlas-accent-bg, rgba(37, 99, 235, 0.08));
  border-color: var(--atlas-accent-300, #93c5fd);
  font-weight: var(--atlas-fw-bold);
}
@media (prefers-reduced-motion: reduce) {
  .atlas-subnav__tab { transition: none; }
}
}

/* ===================== end [SILO SUB-NAV navfix] ========================== */

/* ============================================================================
   [CHROME-CONSISTENCY-GUARD 2026-07-23] Single-point layout guard.
   atlas-framework.css loads FIRST on EVERY page (silo, hub, tool, static, POI).
   Some hub/static/insights/legal templates HAND-ROLL their <head> and historically
   omitted atlas-content-system.css — the single source of the shared page grid
   (.ov-wrap → container max-width) and breadcrumb strip (.ov-crumb → navy bg + gold
   divider). Those pages rendered FULL-BLEED (stretched components) with an unstyled
   breadcrumb. This guard MIRRORS the safe, position-independent primitives here so
   NO page can stretch and EVERY breadcrumb carries the shared background — even if it
   never links atlas-content-system.css.
   Because this sheet loads first, pages that DO link atlas-content-system.css (or a
   hub skin) override these with identical/greater specificity → zero visual change,
   set129/set141 skins intact. Values are byte-mirrored from atlas-content-system.css
   §"Shared 2-column page grid" + §"Breadcrumb strip" (keep in sync if that changes).
   NOTE: position:absolute is intentionally NOT mirrored on .ov-crumb here — where the
   shared sheet loads it re-adds absolute-over-hero; where only this guard applies the
   crumb renders as an in-flow navy strip (no overlap on heroes that aren't relative). */
@layer tokens {
:root{--ov-max:var(--atlas-max-content,1280px)}
}

@layer components {
.ov-wrap{max-width:var(--ov-max);margin:0 auto;padding:24px var(--atlas-page-gutter,20px) 80px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.ov-main{min-width:0}
.ov-rail{display:flex;flex-direction:column;gap:13px;position:sticky;top:calc(52px + 16px);min-width:0}
@media (max-width:1024px){.ov-wrap{grid-template-columns:minmax(0,1fr)}.ov-rail{position:static}}
.ov-wrap--full{grid-template-columns:minmax(0,1fr)}
.ov-wrap--filters-left{grid-template-columns:280px minmax(0,1fr)}
@media (max-width:1024px){.ov-wrap--filters-left{grid-template-columns:1fr}}
}

/* [AC1/X4 · CHROME-SINGLE-SOURCE 2026-09-22] The `.ov-crumb*` MIRROR that stood here was deleted.
   It was added on 2026-07-30 with the instruction "keep byte-identical to the canonical in
   atlas-content-system.css", which is the definition of the problem css.md rule 3 forbids: a second
   unlayered copy of a chrome selector, kept in sync by hand, that wins on any bundle where it loads
   last. It had already drifted — the mirror's `.ov-crumb-in` carried a literal 0.8125rem while the
   owner's reads var(--fz2). One source now: atlas-content-system.css §Shared breadcrumb (.ov-crumb),
   which is in @layer chrome and ships in the framework bundle on every page, so the "framework-only
   bundle" the mirror was written for does not exist. */
/* ==================== end [CHROME-CONSISTENCY-GUARD] ====================== */

/* ============================================================================
   ATLAS BADGE PILL — the one inline badge, site-wide          [SR2 2026-09-23]
   ----------------------------------------------------------------------------
   Owner: this block. Markup owner: engine/core/badge_palette.php (ssg_badge_pill_html
   and its byte-identical JS twin ssg_badge_pill_js). Search cards, resort pages, the
   badge hub and the browse board all render THIS, so none of them can drift.

   Distinct from `.atlas-badge` in badge.css, which is the large medallion the badge hub
   draws as a hero. Two different objects, two different blocks, no shared selector and
   therefore no cascade fight.

   THE CONSTRUCTION IS LOAD-BEARING AND MUST NOT BE INVERTED. The label is --atlas-text
   on a 14% tint of the rarity token, with the token itself as the 3px left rule and the
   icon stroke. That yields ~14:1 text contrast in light and ~9.7:1 in dark, with icons
   over 3:1 in both. Coloured text on a coloured ground would not, and is how the palette
   this replaces ended up unreadable in half its steps.

   Zero literals: every value is a token. Colour encodes RARITY only. The category is the
   icon plus the label, which is always rendered as text, so the whole system survives
   greyscale, a colour-blind reader, and a stylesheet that fails to load.
   ============================================================================ */
@layer components {
  .atlas-badge-pill {
    --pill-c: var(--badge-common);
    display: inline-flex; align-items: center; gap: var(--atlas-space-2, 8px);
    min-height: 28px;
    padding: 2px var(--atlas-space-3, 12px) 2px var(--atlas-space-2, 8px);
    border: 1px solid var(--atlas-border, #d9e1ea);
    border-left: 3px solid var(--pill-c);
    border-radius: var(--atlas-radius-pill, 999px);
    background: var(--atlas-bg-card);
    color: var(--atlas-text);
    font-family: var(--atlas-font-body);
    font-size: var(--atlas-fs-xs, 0.75rem);
    font-weight: var(--atlas-fw-semibold); line-height: var(--atlas-lh-snug);
    white-space: nowrap; text-decoration: none; box-sizing: border-box;
  }
  /* The tint is the whole reason the text contrast is what it is. Where color-mix is
     unavailable the pill keeps the plain card surface above, which is still AA. */
  @supports (background: color-mix(in srgb, red 14%, white)) {
    .atlas-badge-pill {
      background: color-mix(in srgb, var(--pill-c) 14%, var(--atlas-bg-card));
      border-color: color-mix(in srgb, var(--pill-c) 34%, transparent);
    }
  }
  /* The tier-to-token map lives HERE and only here, so no renderer in any language needs a
     copy of it. A profile names its rarest tier in its own vocabulary ("very_rare"); the
     aliases below mean a payload can ship that name untranslated and still paint correctly.
     Anything the map does not know stays on the base step, which is the safe direction: an
     unknown tier reads as ordinary rather than borrowing the rarest colour. */
  .atlas-badge-pill[data-rarity="common"],
  .atlas-badge-pill[data-rarity="widely_earned"] { --pill-c: var(--badge-common); }
  .atlas-badge-pill[data-rarity="uncommon"]      { --pill-c: var(--badge-uncommon); }
  .atlas-badge-pill[data-rarity="rare"]          { --pill-c: var(--badge-rare); }
  .atlas-badge-pill[data-rarity="exceptional"],
  .atlas-badge-pill[data-rarity="very_rare"],
  .atlas-badge-pill[data-rarity="legendary"]     { --pill-c: var(--badge-exceptional); }
  .atlas-badge-pill > svg {
    width: 14px; height: 14px; flex: none;
    fill: none; stroke: var(--pill-c); stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .atlas-badge-pill__label { color: var(--atlas-text); }
  .atlas-badge-pill__count {
    font-family: var(--atlas-font-mono, var(--atlas-font-data));
    font-size: var(--atlas-fs-micro, 0.6875rem);
    font-weight: var(--atlas-fw-regular); color: var(--atlas-text-muted);
    font-feature-settings: 'tnum';
  }
  a.atlas-badge-pill:hover { border-color: var(--atlas-accent); }
  a.atlas-badge-pill:focus-visible { outline: 2px solid var(--atlas-accent); outline-offset: 2px; }
  /* Full size on the resort page and the badge hub, where nothing is capped. */
  .atlas-badge-pill--lg {
    min-height: 44px; font-size: var(--atlas-fs-sm, 0.875rem);
    padding-inline: var(--atlas-space-4, 16px);
  }
  .atlas-badge-pill--lg > svg { width: 18px; height: 18px; }
  /* The overflow control: a real 44px target, never a badge pretending to be one. */
  .atlas-badge-pill--more {
    --pill-c: var(--atlas-border-strong);
    min-height: 44px; padding-inline: var(--atlas-space-4, 16px);
    font-family: var(--atlas-font-mono, var(--atlas-font-data));
    font-weight: var(--atlas-fw-medium); color: var(--atlas-text-muted);
  }
  @media (max-width: 480px) {
    .atlas-badge-pill { max-width: 100%; }
    .atlas-badge-pill__label { overflow: hidden; text-overflow: ellipsis; }
  }

  /* ── ATLAS KIND MARK — every number says how it was arrived at ─────────────
     The provenance convention binds every component family: a figure is either
     MEASURED (a count of something real — round, solid), MODELLED (the output of
     a model we name — triangular) or DECLARED (a figure someone published, with
     the year — hollow, dotted). The shape carries it, not the colour, so the mark
     survives greyscale and a colour-blind reader exactly as the badge does.
     One definition, here, because the mark may appear beside any number. */
  .atlas-kind {
    display: inline-flex; align-items: center; gap: var(--atlas-space-1, 4px);
    font-family: var(--atlas-font-mono, var(--atlas-font-data));
    font-size: var(--atlas-fs-micro, 0.6875rem);
    color: var(--atlas-text-muted);
  }
  .atlas-kind::before { content: ""; width: 7px; height: 7px; flex: none; background: currentColor; }
  .atlas-kind[data-kind="measured"]::before { border-radius: 50%; }
  .atlas-kind[data-kind="modelled"]::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
  .atlas-kind[data-kind="declared"]::before {
    border-radius: 50%; background: transparent; border: 1.5px dotted currentColor;
  }
}

/* [R2 row 133 · 2026-09-30] THE pagination style, one owner. templates/partials/pagination-nav.php used to carry
   this as an inline <style> block, which the output normaliser strips, so every paginated listing
   (/insights/guides/page/N/, /best/*, ...) rendered bare links. It is tokens-only and looks exactly like the
   article-directory pager (components/_core/article-directory), so a reader sees ONE pagination everywhere. */
@layer components {
  .ssg-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--atlas-space-2); margin: var(--atlas-space-8) auto; padding: 0 var(--atlas-space-4); font-family: inherit; }
  .ssg-pagination__summary { flex-basis: 100%; text-align: center; margin-bottom: var(--atlas-space-2); font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); }
  .ssg-pagination__link, .ssg-pagination__current, .ssg-pagination__gap {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
    padding: 0 var(--atlas-space-3); border-radius: var(--atlas-radius-md); font-family: var(--atlas-font-mono);
    font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-semibold); line-height: var(--atlas-lh-none); box-sizing: border-box; text-decoration: none;
  }
  .ssg-pagination__link { color: var(--atlas-text); border: 1px solid var(--atlas-border); background: var(--atlas-bg-card); transition: border-color .15s ease, background .15s ease; }
  .ssg-pagination__link:hover { border-color: var(--atlas-accent); background: var(--atlas-accent-bg); }
  .ssg-pagination__current { color: var(--atlas-text); border: 1px solid var(--atlas-accent); background: var(--atlas-accent-bg); font-weight: var(--atlas-fw-bold); cursor: default; }
  .ssg-pagination__gap { color: var(--atlas-text-muted); min-width: auto; padding: 0 var(--atlas-space-1); }
  .ssg-pagination__edge { font-weight: var(--atlas-fw-bold); }
  .ssg-pagination__edge[aria-disabled="true"] { opacity: .4; pointer-events: none; }
  .ssg-pagination__mobile { display: none; }
  @media (max-width: 640px) {
    .ssg-pagination__num, .ssg-pagination__gap { display: none; }
    .ssg-pagination__mobile { display: inline-flex; align-items: center; padding: 0 var(--atlas-space-3); font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-semibold); color: var(--atlas-text-muted); }
  }
}

/* ═══ DIRECTORY PATTERNS - section-directory, entity-kpi-grid, services layer  [DESIGN-SET252-253 2026-10-06] ═══
   ONE owner: engine/core/directory_patterns.php (+ directory_services.php). Design contract:
   DESIGN/new_design_chat_set252_reply1/snowterest-directory-grid-services.html. Tokens only (no literal colour, font or size),
   light and dark through the tokens, no dark media query, no !important. Rules held by the markup + gate directory-patterns:
   a control that looks like a control is one (stats are flat readouts, never pills); only the name and the foot line of an
   entity card are links; the section tile is ONE link; one band maximum per grid; absent figures draw nothing. */
@layer components {
  /* ── 1 · section-directory ── */
  .section-directory { container-type: inline-size; display: grid; gap: var(--atlas-space-10); margin-top: var(--atlas-space-6); }
  .section-directory__group { display: grid; gap: var(--atlas-space-4); min-width: 0; }
  .section-directory__gh { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--atlas-space-3); padding-bottom: var(--atlas-space-2); border-bottom: 2px solid var(--atlas-gold); }
  .section-directory__gh h3 { margin: 0; font-family: var(--atlas-font-heading); font-size: var(--atlas-fs-xl); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-tight); color: var(--atlas-text); }
  .section-directory__gh span { font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform); color: var(--atlas-text-subtle); }
  .section-directory__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: var(--atlas-space-4); margin: 0; padding: 0; list-style: none; }
  .section-directory__li { display: flex; min-width: 0; margin: 0; padding: 0; }
  .section-directory__t { display: grid; grid-template-rows: auto 1fr; width: 100%; box-sizing: border-box; border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg); background: var(--atlas-bg-card); overflow: hidden; text-decoration: none; color: var(--atlas-text); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
  .section-directory__t:hover, .section-directory__t:focus-visible { transform: translateY(-3px); box-shadow: var(--atlas-shadow-lg); border-color: var(--atlas-gold); text-decoration: none; }
  .section-directory__t:focus-visible { outline: 2px solid var(--atlas-gold); outline-offset: 2px; }
  .section-directory__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--atlas-navy), var(--atlas-info)); }
  .section-directory__img--t1 { background: linear-gradient(135deg, var(--atlas-navy), var(--chart-color-2)); }
  .section-directory__img--t2 { background: linear-gradient(135deg, var(--chart-color-4), var(--atlas-navy)); }
  .section-directory__img--t3 { background: linear-gradient(135deg, var(--atlas-navy), var(--chart-color-6)); }
  .section-directory__img--t4 { background: linear-gradient(135deg, var(--chart-color-2), var(--chart-color-4)); }
  .section-directory__img--t5 { background: linear-gradient(135deg, var(--atlas-info), var(--chart-color-1)); }
  .section-directory__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .section-directory__key { position: absolute; right: var(--atlas-space-3); bottom: var(--atlas-space-3); padding: 2px var(--atlas-space-3); border-radius: var(--atlas-radius-pill); background: var(--atlas-bg-card); color: var(--atlas-text); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-bold); font-feature-settings: 'tnum'; box-shadow: var(--atlas-shadow-sm); }
  .section-directory__b { display: grid; gap: var(--atlas-space-2); align-content: start; padding: var(--atlas-space-4); }
  .section-directory__n { font-size: var(--atlas-fs-md); font-weight: var(--atlas-fw-bold); color: var(--atlas-text); }
  .section-directory__d { font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); }
  .section-directory__kids { display: flex; flex-wrap: wrap; gap: var(--atlas-space-1) var(--atlas-space-3); font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); color: var(--atlas-text-subtle); }
  /* [HOME-FIXES 2026-10-07] a tile whose children have their own pages is a card: the title link and each child link are siblings (never nested) */
  .section-directory__t--kids { grid-template-rows: 1fr auto; }
  .section-directory__t--kids:hover, .section-directory__t--kids:focus-within { transform: translateY(-3px); box-shadow: var(--atlas-shadow-lg); border-color: var(--atlas-gold); }
  .section-directory__tl { display: grid; grid-template-rows: auto 1fr; color: var(--atlas-text); text-decoration: none; }
  .section-directory__tl:hover, .section-directory__tl:focus-visible { text-decoration: none; }
  .section-directory__tl:focus-visible, .section-directory__kid:focus-visible { outline: 2px solid var(--atlas-gold); outline-offset: -2px; }
  .section-directory__kids--links { display: grid; gap: 0; padding: 0 var(--atlas-space-4) var(--atlas-space-3); font-family: var(--atlas-font-body); font-size: var(--atlas-fs-sm); }
  .section-directory__kid { display: flex; align-items: center; min-height: 2.75rem; border-top: 1px solid var(--atlas-border); color: var(--atlas-text-link); text-decoration: underline; text-underline-offset: 2px; }
  .section-directory__kid:hover { color: var(--atlas-gold-ink); }
  @container (max-width: 760px) {
    .section-directory__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--atlas-space-2); overscroll-behavior-x: contain; }
    .section-directory__li { scroll-snap-align: start; }
  }
  @media (prefers-reduced-motion: reduce) { .section-directory__t { transition: none; } .section-directory__t:hover, .section-directory__t:focus-visible { transform: none; } }

  /* ── 2 · entity-kpi-grid ── */
  .entity-kpi-grid { display: grid; gap: var(--atlas-space-4); min-width: 0; }
  .entity-kpi-grid__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--atlas-space-2); }
  .entity-kpi-grid__controls[hidden] { display: none; }
  /* [PASS30 U30 item 3] the compact toolbar: search + country select + live count on ONE row (the sorts sit under it), so the result list
     starts directly below. Owner of the pattern: core/directory_patterns.php ssg_dir_entity_grid_html(opts search/filters). */
  .entity-kpi-grid__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--atlas-space-3) var(--atlas-space-4); }
  .entity-kpi-grid__toolbar[hidden] { display: none; }
  .entity-kpi-grid__search { position: relative; display: flex; align-items: center; flex: 1 1 18rem; min-width: 0; }
  .entity-kpi-grid__search svg { position: absolute; left: var(--atlas-space-4); width: 18px; height: 18px; fill: none; stroke: var(--atlas-text-subtle); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
  .entity-kpi-grid__search input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 var(--atlas-space-4) 0 var(--atlas-space-10); border: 1px solid var(--atlas-border-strong); border-radius: var(--atlas-radius-pill); background: var(--atlas-bg-card); color: var(--atlas-text); font: inherit; font-size: var(--atlas-fs-sm); }
  .entity-kpi-grid__search input::placeholder { color: var(--atlas-text-subtle); }
  .entity-kpi-grid__search input:focus-visible { outline: 2px solid var(--atlas-gold); outline-offset: 2px; }
  .entity-kpi-grid__select { display: flex; align-items: center; gap: var(--atlas-space-2); }
  .entity-kpi-grid__select select { min-height: 44px; max-width: 14rem; padding: 0 var(--atlas-space-4); border: 1px solid var(--atlas-border-strong); border-radius: var(--atlas-radius-pill); background: var(--atlas-bg-card); color: var(--atlas-text); font: inherit; font-size: var(--atlas-fs-sm); }
  .entity-kpi-grid__count { margin-left: auto; font-family: var(--atlas-font-data); font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-bold); color: var(--atlas-text); }
  .entity-kpi-grid__count[data-empty="1"] { color: var(--atlas-text-muted); font-weight: var(--atlas-fw-medium); }
  .entity-kpi-grid__ctl-l { font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform); color: var(--atlas-text-subtle); }
  .entity-kpi-grid__controls button { min-height: 44px; padding: 0 var(--atlas-space-4); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-pill); background: var(--atlas-bg-card); color: var(--atlas-text); font: inherit; font-size: var(--atlas-fs-sm); cursor: pointer; }
  .entity-kpi-grid__controls button:hover { border-color: var(--atlas-border-strong); }
  .entity-kpi-grid__controls button[aria-pressed="true"] { border-color: var(--atlas-gold); background: color-mix(in srgb, var(--atlas-gold) 14%, var(--atlas-bg-card)); font-weight: var(--atlas-fw-bold); }
  .entity-kpi-grid__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: var(--atlas-space-4); margin: 0; padding: 0; list-style: none; }
  /* [PERF-LCP 2026-10-10] A hub grid holds hundreds of cards (airports: 683 = 37,000 DOM nodes, 2.6 MB, Style&Layout 9.1 s under the mobile profile,
     TBT 4.0 s). A card is skipped by style/layout/paint until it nears the viewport; `auto` remembers its real height after the first render, so
     scrolling back does not shift. The measured card is 33.5-39 rem tall, so the placeholder row is 35 rem. */
  .entity-kpi-grid__item { display: flex; min-width: 0; margin: 0; padding: 0; content-visibility: auto; contain-intrinsic-block-size: auto 35rem; }
  .entity-kpi-grid__item[hidden] { display: none; }
  .entity-kpi-grid__c { display: grid; grid-template-rows: auto 1fr auto; width: 100%; box-sizing: border-box; border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg); background: var(--atlas-bg-card); overflow: hidden; }
  .entity-kpi-grid__c:hover { border-color: var(--atlas-border-strong); }
  .entity-kpi-grid__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(140deg, var(--atlas-navy), var(--chart-color-2)); }
  .entity-kpi-grid__img--t1 { background: linear-gradient(140deg, var(--atlas-navy), var(--atlas-info)); }
  .entity-kpi-grid__img--t2 { background: linear-gradient(140deg, var(--chart-color-4), var(--atlas-navy)); }
  .entity-kpi-grid__img--t3 { background: linear-gradient(140deg, var(--atlas-navy), var(--chart-color-6)); }
  .entity-kpi-grid__img--t4 { background: linear-gradient(140deg, var(--chart-color-2), var(--chart-color-4)); }
  .entity-kpi-grid__img--t5 { background: linear-gradient(140deg, var(--atlas-info), var(--chart-color-1)); }
  .entity-kpi-grid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .entity-kpi-grid__place { position: absolute; left: var(--atlas-space-3); top: var(--atlas-space-3); padding: 1px var(--atlas-space-3); border-radius: var(--atlas-radius-sm); background: color-mix(in srgb, var(--atlas-bg-card) 90%, transparent); color: var(--atlas-text); font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); }
  .entity-kpi-grid__b { display: grid; gap: var(--atlas-space-3); align-content: start; padding: var(--atlas-space-4); }
  .entity-kpi-grid__n { margin: 0; font-size: var(--atlas-fs-lg); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-tight); color: var(--atlas-text); }
  .entity-kpi-grid__n a { display: inline-block; color: inherit; text-decoration: none; }
  .entity-kpi-grid__n a:hover, .entity-kpi-grid__n a:focus-visible { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--atlas-gold); }
  .entity-kpi-grid__stats { display: flex; flex-wrap: wrap; gap: var(--atlas-space-2); margin: 0; padding: 0; list-style: none; }
  .entity-kpi-grid__stat { display: inline-flex; align-items: center; gap: var(--atlas-space-2); margin: 0; padding: var(--atlas-space-2) var(--atlas-space-3); border-radius: var(--atlas-radius-sm); background: var(--atlas-bg-tint); color: var(--atlas-text-muted); font-size: var(--atlas-fs-xs); cursor: default; }
  .entity-kpi-grid__stat b { white-space: nowrap; color: var(--atlas-text); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-sm); font-feature-settings: 'tnum'; }
  .entity-kpi-grid__stat svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--atlas-text-subtle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .entity-kpi-grid__bands { display: grid; gap: 3px; min-height: 4.25rem; margin: 0; padding: 0; list-style: none; align-content: start; }
  .entity-kpi-grid__band { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 2.25rem; gap: var(--atlas-space-2); align-items: center; margin: 0; font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); color: var(--atlas-text-subtle); }
  .entity-kpi-grid__bar { display: block; width: 100%; height: 10px; }
  .entity-kpi-grid__bar-bg { fill: var(--atlas-bg-tint); }
  .entity-kpi-grid__bar-v--1 { fill: var(--atlas-gold); }
  .entity-kpi-grid__bar-v--2 { fill: var(--chart-color-2); }
  .entity-kpi-grid__bar-v--3 { fill: var(--atlas-text-subtle); }
  .entity-kpi-grid__band-n { text-align: right; color: var(--atlas-text); }
  .entity-kpi-grid__foot { margin: 0; font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); color: var(--atlas-text-subtle); }
  .entity-kpi-grid__cta { display: flex; align-items: center; min-height: 44px; padding: 0 var(--atlas-space-4); border-top: 1px solid var(--atlas-border-light); background: var(--atlas-bg-tint); color: var(--atlas-text); font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-semibold); text-decoration: none; }
  .entity-kpi-grid__cta:hover, .entity-kpi-grid__cta:focus-visible { color: var(--atlas-gold); text-decoration: underline; text-underline-offset: 3px; }

  /* ── 3 · services layer ── */
  .nearest-of-each { display: grid; gap: var(--atlas-space-3); padding: var(--atlas-space-4) var(--atlas-space-5); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg); background: var(--atlas-bg-card); box-sizing: border-box; }
  .nearest-of-each__q { margin: 0; font-family: var(--atlas-font-heading); font-size: var(--atlas-fs-lg); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-tight); color: var(--atlas-text); }
  .nearest-of-each__sub { margin: var(--atlas-space-1) 0 0; font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); }
  .nearest-of-each__row { display: flex; flex-wrap: wrap; gap: var(--atlas-space-2); margin: 0; padding: 0; list-style: none; }
  .nearest-of-each__li { display: flex; flex: 1 1 8rem; min-width: 0; margin: 0; }
  .nearest-of-each__i { display: grid; gap: 2px; align-content: start; width: 100%; box-sizing: border-box; padding: var(--atlas-space-3) var(--atlas-space-4); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-md); background: var(--atlas-bg-card); color: var(--atlas-text); text-decoration: none; }
  a.nearest-of-each__i:hover, a.nearest-of-each__i:focus-visible { border-color: var(--atlas-gold); }
  .nearest-of-each__v { font-family: var(--atlas-font-data); font-size: var(--atlas-fs-lg); font-weight: var(--atlas-fw-bold); font-feature-settings: 'tnum'; }
  .nearest-of-each__k { font-size: var(--atlas-fs-micro); letter-spacing: var(--atlas-ls-wide); text-transform: var(--atlas-label-transform); color: var(--atlas-text-subtle); }
  .nearest-of-each__s { font-size: var(--atlas-fs-xs); color: var(--atlas-text-muted); }

  .service-category-bar { display: flex; flex-wrap: wrap; gap: var(--atlas-space-2); }
  .service-category-bar__c { display: inline-flex; align-items: center; gap: var(--atlas-space-2); min-height: 44px; padding: 0 var(--atlas-space-4); box-sizing: border-box; border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-pill); background: var(--atlas-bg-card); color: var(--atlas-text); font-size: var(--atlas-fs-sm); text-decoration: none; cursor: pointer; }
  .service-category-bar__c b { font-family: var(--atlas-font-data); font-size: var(--atlas-fs-xs); color: var(--atlas-text-subtle); font-feature-settings: 'tnum'; }
  .service-category-bar__c:hover, .service-category-bar__c:focus-visible { border-color: var(--atlas-border-strong); text-decoration: none; }
  .service-category-bar__c[aria-pressed="true"] { border-color: var(--atlas-gold); background: color-mix(in srgb, var(--atlas-gold) 14%, var(--atlas-bg-card)); font-weight: var(--atlas-fw-bold); }
  .service-category-bar__c[aria-pressed="true"] b { color: var(--atlas-text); }

  .service-group { border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg); background: var(--atlas-bg-card); overflow: hidden; }
  .service-group[hidden] { display: none; }
  .service-group + .service-group { margin-top: var(--atlas-space-3); }
  .service-group__s { display: flex; align-items: center; gap: var(--atlas-space-3); min-height: 52px; padding: var(--atlas-space-3) var(--atlas-space-4); font-size: var(--atlas-fs-md); font-weight: var(--atlas-fw-bold); color: var(--atlas-text); cursor: pointer; list-style: none; }
  .service-group__s::-webkit-details-marker { display: none; }
  .service-group__s::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--atlas-text-subtle); border-bottom: 2px solid var(--atlas-text-subtle); transform: rotate(45deg); transition: transform .15s ease; }
  .service-group[open] > .service-group__s::after { transform: rotate(-135deg); }
  .service-group__ic { color: var(--c, var(--chart-color-2)); }
  .service-group__n { font-family: var(--atlas-font-data); font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-bold); color: var(--atlas-text-subtle); font-feature-settings: 'tnum'; }
  .service-group__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--atlas-space-3); margin: 0; padding: 0 var(--atlas-space-4) var(--atlas-space-4); list-style: none; }
  .service-group__li { display: flex; min-width: 0; margin: 0; }
  .service-group__li[hidden] { display: none; }
  .service-group__more { display: block; min-height: 44px; margin: 0 var(--atlas-space-4) var(--atlas-space-4); padding: 0 var(--atlas-space-4); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-pill); background: var(--atlas-bg-card); color: var(--atlas-text); font: inherit; font-size: var(--atlas-fs-sm); cursor: pointer; }
  .service-group__more:hover { border-color: var(--atlas-gold); }

  .service-item-card { display: grid; gap: var(--atlas-space-2); align-content: start; width: 100%; box-sizing: border-box; padding: var(--atlas-space-4); border: 1px solid var(--atlas-border); border-left: 3px solid var(--c, var(--chart-color-2)); border-radius: var(--atlas-radius-md); background: var(--atlas-bg-card); }
  .service-item-card__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--atlas-space-3); align-items: baseline; }
  .service-item-card__n { font-size: var(--atlas-fs-md); font-weight: var(--atlas-fw-bold); color: var(--atlas-text); overflow-wrap: anywhere; }
  .service-item-card__n small { display: block; font-size: var(--atlas-fs-xs); font-weight: var(--atlas-fw-regular); color: var(--atlas-text-subtle); }
  .service-item-card__d { font-family: var(--atlas-font-data); font-size: var(--atlas-fs-sm); font-weight: var(--atlas-fw-bold); white-space: nowrap; font-feature-settings: 'tnum'; color: var(--atlas-text); }
  .service-item-card__walk { margin: 0; font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); color: var(--atlas-text-subtle); }
  .service-item-card__notes { display: flex; flex-wrap: wrap; gap: var(--atlas-space-1) var(--atlas-space-3); margin: 0; font-size: var(--atlas-fs-xs); color: var(--atlas-text-muted); }
  .service-item-card__note--always, .service-item-card__note--listed { color: var(--atlas-ok-as-text); }
  .service-item-card__note--step { color: var(--atlas-info); }
  .service-item-card__host { display: block; font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); overflow-wrap: anywhere; }
  [data-cat-n="1"] { --c: var(--chart-color-2); }
  [data-cat-n="2"] { --c: var(--atlas-danger); }
  [data-cat-n="3"] { --c: var(--atlas-chart-6); }   /* [FB-NAV 2026-10-17] --chart-color-6 is the LAST step of the ski blue ramp (#f0f9ff): an invisible dot/key on the light map surface ("Banks and cash"); the framework categorical slot keeps contrast */
  [data-cat-n="4"] { --c: var(--atlas-gold); }
  [data-cat-n="5"] { --c: var(--chart-color-4); }
  [data-cat-n="6"] { --c: var(--chart-color-3); }
  [data-cat-n="7"] { --c: var(--atlas-info); }
  [data-cat-n="8"] { --c: var(--chart-color-5); }

  .service-map { margin: 0; display: grid; gap: var(--atlas-space-2); }
  .service-map__t { font-family: var(--atlas-font-mono); font-size: var(--atlas-fs-micro); letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform); color: var(--atlas-text-subtle); }
  .service-map__svg { display: block; width: 100%; height: auto; border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-md); background: var(--atlas-bg-tint); }
  .service-map__bg { fill: var(--atlas-bg-tint); }
  .service-map__ring { fill: none; stroke: var(--atlas-border-strong); stroke-width: .2; stroke-dasharray: 1 1; }
  .service-map__dot { fill: var(--c, var(--chart-color-2)); }
  .service-map__dot--nearest { stroke: var(--atlas-text); stroke-width: .15; }   /* [FB-NAV 2026-10-17] the nearest place of each kind */
  .service-map__dot.is-off { display: none; }
  .service-map__self { fill: var(--atlas-gold); }
  .service-map__c { margin: 0; font-size: var(--atlas-fs-xs); color: var(--atlas-text-subtle); }
  .service-map__guide { margin: 0; font-size: var(--atlas-fs-xs); color: var(--atlas-text-muted); }
  .service-map__rl { font-size: var(--atlas-fs-svg-ring-label); fill: var(--atlas-text-muted); paint-order: stroke; stroke: var(--atlas-bg-tint); stroke-width: .5px; }
  .service-map__key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--atlas-space-2) var(--atlas-space-4); font-size: var(--atlas-fs-xs); color: var(--atlas-text-muted); }
  .service-map__k { display: inline-flex; align-items: center; gap: var(--atlas-space-2); }
  .service-map__sw { width: .75rem; height: .75rem; border-radius: 50%; background: var(--c, var(--chart-color-2)); flex: none; }
  .service-map__sw--self { background: var(--atlas-gold); }
  /* [FB-NAV 2026-10-17] the key is the filter (shared pointmap contract): a category switched off keeps its colour as a ring only */
  .service-map__k[aria-pressed="false"] .service-map__sw { background: transparent; box-shadow: inset 0 0 0 2px var(--c, var(--chart-color-2)); }
  .service-directory-note { margin: 0; padding: var(--atlas-space-3) var(--atlas-space-4); border: 1px dashed var(--atlas-border-strong); border-radius: var(--atlas-radius-md); font-size: var(--atlas-fs-sm); color: var(--atlas-text-muted); }
  .service-directory { display: grid; gap: var(--atlas-space-5); min-width: 0; }
}

/* [D30 2026-10-08] THE one scrolling ticker (templates/partials/reliability-ticker.php): chrome, single owner.
   Replaces the homepage `.hp-ticker-strip` and the /discover/ `.dw-ticker-*` families. Tokens only. */
@layer chrome {
  .rel-ticker { position: relative; width: 100%; box-sizing: border-box; overflow: hidden; background: var(--atlas-navy-900); color: var(--atlas-text-on-dark-muted); }
  .rel-ticker__in { display: flex; align-items: center; height: var(--atlas-space-10, 2.5rem); padding: 0 var(--atlas-space-6, 1.5rem); box-sizing: border-box; }
  .rel-ticker__label { flex: none; display: inline-flex; align-items: center; gap: var(--atlas-space-2, 0.5rem); padding-right: var(--atlas-space-4, 1rem); margin-right: var(--atlas-space-4, 1rem); border-right: 1px solid var(--atlas-border-on-dark, currentColor); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-micro, 0.6875rem); font-weight: var(--atlas-fw-bold); letter-spacing: var(--atlas-ls-widest); text-transform: var(--atlas-label-transform); color: var(--atlas-success-on-dark, var(--atlas-success)); white-space: nowrap; }
  .rel-ticker__dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--atlas-success); animation: rel-ticker-blink 1.6s infinite; }
  .rel-ticker__track { flex: 1; min-width: 0; height: 100%; overflow: hidden; display: flex; align-items: center; white-space: nowrap; }
  .rel-ticker__scroll { display: inline-flex; align-items: center; animation: rel-ticker-scroll 82s linear infinite; will-change: transform; }
  .rel-ticker__scroll:hover { animation-play-state: paused; }
  .rel-ticker__run { display: inline-flex; align-items: center; }
  .rel-ticker__item { display: inline-flex; align-items: center; gap: var(--atlas-space-2, 0.5rem); padding: 0 var(--atlas-space-2, 0.5rem); white-space: nowrap; color: inherit; text-decoration: none; }
  .rel-ticker__name { font-size: var(--atlas-fs-sm, 0.8125rem); font-weight: var(--atlas-fw-semibold); color: var(--atlas-text-on-dark, inherit); }
  .rel-ticker__score { font-family: var(--atlas-font-data); font-size: var(--atlas-fs-sm, 0.8125rem); font-weight: var(--atlas-fw-bold); color: var(--atlas-gold-ink); }
  .rel-ticker__meta { font-family: var(--atlas-font-data); font-size: var(--atlas-fs-micro, 0.6875rem); font-weight: var(--atlas-fw-medium); color: var(--atlas-text-on-dark-muted); }
  .rel-ticker__sep { padding: 0 var(--atlas-space-1, 0.25rem); color: var(--atlas-text-on-dark-muted); opacity: .5; }
  @media (prefers-reduced-motion: reduce) { .rel-ticker__scroll { animation: none; flex-wrap: wrap; white-space: normal; } .rel-ticker__run[aria-hidden="true"] { display: none; } }
}
@keyframes rel-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes rel-ticker-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* [Z30 2026-10-08] THE static / legal page family (engine/core/static_page_shell.php). One width owner = .atlas-container (the
   shell's body wrapper); one legal-links block = .static-links; one body vocabulary = .lg-* inside .static-doc. Replaces the
   inline CSS of templates/pages/static/_legal_shell.php (760px column) and the compliance suite's dark token block + universal reset.
   Tokens only: light and dark come from the token layer. Gate: assert_static_page_family.php. */
@layer components {
  .static-links { margin: 0 0 var(--atlas-space-6, 1.5rem); }
  .static-links__list { display: flex; flex-wrap: wrap; gap: var(--atlas-space-2, 0.5rem); margin: 0; padding: 0; list-style: none; }
  .static-links__a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--atlas-space-4, 1rem); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-pill, 999px); background: var(--atlas-bg-card); color: var(--atlas-text-secondary); font-size: var(--atlas-fs-sm, 0.875rem); font-weight: var(--atlas-fw-semibold); text-decoration: none; box-sizing: border-box; }
  .static-links__a:hover { border-color: var(--atlas-accent); color: var(--atlas-accent-as-text, var(--atlas-accent)); }
  .static-links__a[aria-current="page"] { background: var(--atlas-accent-bg); border-color: var(--atlas-accent); color: var(--atlas-accent-as-text, var(--atlas-accent)); }
  .static-doc__meta { margin: 0 0 var(--atlas-space-6, 1.5rem); color: var(--atlas-text-muted); font-size: var(--atlas-fs-sm, 0.875rem); line-height: var(--atlas-lh-relaxed); }
  .static-doc__meta strong { color: var(--atlas-text); }
  .static-doc { width: 100%; box-sizing: border-box; color: var(--atlas-text-secondary); font-size: var(--atlas-fs-base, 1rem); line-height: var(--atlas-lh-relaxed); }
  .static-doc a { color: var(--atlas-text-link, var(--atlas-accent-as-text, var(--atlas-accent))); }
  .static-doc a:hover { color: var(--atlas-text-link-hover, var(--atlas-accent-as-text, var(--atlas-accent))); }
  .static-doc > :last-child { margin-bottom: 0; }

  .lg-section { margin: 0 0 var(--atlas-space-6, 1.5rem); padding: 0 0 var(--atlas-space-6, 1.5rem); border-bottom: 1px solid var(--atlas-divider); }
  .lg-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .lg-section h2 { margin: 0 0 var(--atlas-space-3, 0.75rem); color: var(--atlas-text); font-size: var(--atlas-fs-xl, 1.375rem); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-tight); line-height: var(--atlas-lh-data); }
  .lg-section h3 { margin: var(--atlas-space-5, 1.25rem) 0 var(--atlas-space-2, 0.5rem); color: var(--atlas-text); font-size: var(--atlas-fs-base, 1rem); font-weight: var(--atlas-fw-bold); }
  .lg-section p { margin: 0 0 var(--atlas-space-3, 0.75rem); color: var(--atlas-text-secondary); }
  .lg-section p:last-child { margin-bottom: 0; }
  .lg-section ul, .lg-section ol { margin: 0 0 var(--atlas-space-3, 0.75rem); padding-left: var(--atlas-space-5, 1.25rem); }
  .lg-section li { margin: 0 0 var(--atlas-space-2, 0.5rem); color: var(--atlas-text-secondary); }
  .lg-section code { padding: 2px 6px; border-radius: var(--atlas-radius-sm, 3px); background: var(--atlas-bg-card-tint); color: var(--atlas-text-secondary); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-xs, 0.8125rem); }
  .lg-section .lg-seealso, .static-doc .lg-seealso { margin-top: var(--atlas-space-3, 0.75rem); color: var(--atlas-text-muted); font-size: var(--atlas-fs-sm, 0.875rem); }
  .static-doc__block { margin-top: var(--atlas-section-gap); padding-top: var(--atlas-section-gap); border-top: 1px solid var(--atlas-divider); }
  .contact-disclosure.static-doc__block { padding-top: var(--atlas-space-4, 1rem); border-top: 0; }
  .static-doc__block-h { margin: 0 0 var(--atlas-space-4, 1rem); color: var(--atlas-text); font-size: var(--atlas-fs-xl, 1.25rem); font-weight: var(--atlas-fw-black); }
  .static-doc__row { display: flex; flex-wrap: wrap; gap: var(--atlas-space-4, 1rem); }
  .lg-lead { color: var(--atlas-text); font-size: var(--atlas-fs-lg, 1.125rem); }
  .lg-placeholder { color: var(--atlas-text-muted); font-style: italic; }
  .lg-list--plain { margin: 0; padding: 0; list-style: none; }
  .lg-callout, .lg-note { margin: var(--atlas-space-4, 1rem) 0; padding: var(--atlas-space-3, 0.75rem) var(--atlas-space-4, 1rem); border-left: 3px solid var(--atlas-accent); border-radius: 0 var(--atlas-radius-md, 6px) var(--atlas-radius-md, 6px) 0; background: var(--atlas-accent-bg); color: var(--atlas-text-secondary); line-height: var(--atlas-lh-relaxed); }
  .lg-note { border-left-color: var(--atlas-success); background: var(--atlas-bg-card-tint); }
  .lg-callout strong, .lg-note strong { color: var(--atlas-text); }
  .lg-table { width: 100%; margin: var(--atlas-space-2, 0.5rem) 0 var(--atlas-space-4, 1rem); border-collapse: collapse; font-size: var(--atlas-fs-sm, 0.875rem); }
  .lg-table th { padding: var(--atlas-space-2, 0.5rem) var(--atlas-space-3, 0.75rem); border-bottom: 1.5px solid var(--atlas-border); color: var(--atlas-text-muted); font-size: var(--atlas-fs-xs, 0.8125rem); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-widest); text-align: left; text-transform: var(--atlas-label-transform); }
  .lg-table td { padding: var(--atlas-space-2, 0.5rem) var(--atlas-space-3, 0.75rem); border-bottom: 1px solid var(--atlas-divider); color: var(--atlas-text-secondary); vertical-align: top; }
  .lg-table td:first-child { color: var(--atlas-text); font-weight: var(--atlas-fw-bold); }
  
  .lg-tag { display: inline-block; margin-left: var(--atlas-space-2, 0.5rem); padding: 2px var(--atlas-space-2, 0.5rem); border-radius: var(--atlas-radius-pill, 999px); font-size: var(--atlas-fs-xs, 0.8125rem); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-wider); text-transform: var(--atlas-label-transform); vertical-align: middle; }
  .lg-tag--req { background: var(--atlas-bg-card-tint); color: var(--atlas-ok-as-text); border: 1px solid var(--atlas-success); }
  .lg-tag--opt { background: var(--atlas-accent-bg); color: var(--atlas-accent-as-text, var(--atlas-accent)); border: 1px solid var(--atlas-accent); }
  .lg-contact { margin-top: var(--atlas-space-2, 0.5rem); padding: var(--atlas-space-4, 1rem); border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-md, 6px); background: var(--atlas-bg-card); }
  .lg-contact h3 { margin-top: 0; }
  .lg-contact div { margin-bottom: var(--atlas-space-1, 0.25rem); color: var(--atlas-text-secondary); }
  @media (max-width: 560px) { .lg-table { display: block; overflow-x: auto; } .lg-table th, .lg-table td { padding: var(--atlas-space-2, 0.5rem); } }

  /* /about/ brand page (phases/phase08_assembly/BrandPages.php + templates/pages/static/brand/about-*.html). Width = .atlas-container
     (the template's own :root token block, body rules, 840px stats band and 658px prose column are gone). Tokens only. */
  .about-stats + .about-sec { margin-top: var(--atlas-section-gap); }
  .about-sec + .about-sec { margin-top: var(--atlas-section-gap); }
  .about-sec__ey { color: var(--atlas-accent-as-text, var(--atlas-accent)); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-xs, 0.75rem); font-weight: var(--atlas-fw-bold); letter-spacing: var(--atlas-ls-wider); text-transform: var(--atlas-label-transform); }
  .about-sec__h { margin: var(--atlas-space-1, 0.25rem) 0 var(--atlas-space-3, 0.75rem); color: var(--atlas-text); font-size: var(--atlas-fs-2xl, 1.5rem); font-weight: var(--atlas-fw-black); letter-spacing: var(--atlas-ls-tight); }
  .about-prose { max-width: none; margin: 0; color: var(--atlas-text-secondary); font-size: var(--atlas-fs-base, 1rem); line-height: var(--atlas-lh-relaxed); }
  .about-prose p { margin: 0 0 var(--atlas-space-3, 0.75rem); }
  .about-prose b { color: var(--atlas-text); }
  .about-stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: var(--atlas-radius-lg, 12px); background: var(--atlas-navy); box-shadow: var(--atlas-shadow-md); }
  .about-stat { position: relative; padding: var(--atlas-space-4, 1rem); text-align: center; }
  .about-stat:not(:last-child)::after { content: ""; position: absolute; top: var(--atlas-space-4, 1rem); right: 0; bottom: var(--atlas-space-4, 1rem); width: 1px; background: var(--atlas-border-on-dark); }
  .about-stat__v { color: var(--atlas-text-on-dark); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-2xl, 1.5rem); font-weight: var(--atlas-fw-black); }
  .about-stat__v small { color: var(--atlas-accent-on-dark); font-size: var(--atlas-fs-sm, 0.875rem); }
  .about-stat__l { margin-top: var(--atlas-space-1, 0.25rem); color: var(--atlas-text-on-dark-muted); font-size: var(--atlas-fs-xs, 0.75rem); }
  .about-pipeline, .about-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--atlas-space-3, 0.75rem); }
  .about-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--atlas-space-3, 0.75rem); }
  .about-values { display: flex; flex-direction: column; gap: var(--atlas-space-3, 0.75rem); }
  .about-pstep, .about-member, .about-source, .about-value { border: 1px solid var(--atlas-border); border-radius: var(--atlas-radius-lg, 12px); background: var(--atlas-bg-card); box-shadow: var(--atlas-shadow-sm); }
  .about-pstep, .about-member { padding: var(--atlas-space-4, 1rem); }
  .about-pstep__n { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: var(--atlas-space-3, 0.75rem); border-radius: 50%; background: var(--atlas-accent-bg); color: var(--atlas-accent-as-text, var(--atlas-accent)); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-xs, 0.75rem); font-weight: var(--atlas-fw-black); }
  .about-pstep__h, .about-value__h { color: var(--atlas-text); font-size: var(--atlas-fs-base, 1rem); font-weight: var(--atlas-fw-bold); }
  .about-pstep__p, .about-value__p, .about-member__bio { margin-top: var(--atlas-space-1, 0.25rem); color: var(--atlas-text-muted); font-size: var(--atlas-fs-sm, 0.875rem); line-height: var(--atlas-lh-normal); }
  .about-source { display: flex; align-items: center; gap: var(--atlas-space-3, 0.75rem); padding: var(--atlas-space-3, 0.75rem) var(--atlas-space-4, 1rem); }
  .about-source__ico { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--atlas-radius-md, 8px); background: var(--atlas-accent-bg); color: var(--atlas-accent-as-text, var(--atlas-accent)); }
  .about-source__ico svg { width: 16px; height: 16px; }
  .about-source__n { color: var(--atlas-text); font-size: var(--atlas-fs-sm, 0.875rem); font-weight: var(--atlas-fw-bold); }
  .about-source__d { color: var(--atlas-text-muted); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-xs, 0.75rem); }
  .about-value { display: flex; gap: var(--atlas-space-3, 0.75rem); padding: var(--atlas-space-3, 0.75rem) var(--atlas-space-4, 1rem); }
  .about-value__ico { display: flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--atlas-success); color: var(--atlas-text-inverse); }
  .about-value__ico svg { width: 15px; height: 15px; }
  .about-disclosure { padding: var(--atlas-space-4, 1rem) var(--atlas-space-5, 1.25rem); border: 1px solid var(--atlas-gold); border-left-width: 3px; border-radius: 0 var(--atlas-radius-md, 8px) var(--atlas-radius-md, 8px) 0; background: var(--atlas-gold-bg); }
  .about-disclosure__h { display: flex; align-items: center; gap: var(--atlas-space-2, 0.5rem); margin-bottom: var(--atlas-space-2, 0.5rem); color: var(--atlas-text); font-size: var(--atlas-fs-base, 1rem); font-weight: var(--atlas-fw-bold); }
  .about-disclosure__h svg { width: 18px; height: 18px; color: var(--atlas-gold-ink); }
  .about-disclosure p { margin: 0 0 var(--atlas-space-3, 0.75rem); color: var(--atlas-text); font-size: var(--atlas-fs-sm, 0.875rem); line-height: var(--atlas-lh-relaxed); }
  .about-disclosure p:last-child { margin-bottom: 0; }
  .about-member { text-align: center; }
  .about-member__avatar { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto var(--atlas-space-3, 0.75rem); border-radius: 50%; background: var(--atlas-accent-bg); color: var(--atlas-accent-as-text, var(--atlas-accent)); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-lg, 1.125rem); font-weight: var(--atlas-fw-black); }
  .about-member__name { color: var(--atlas-text); font-size: var(--atlas-fs-base, 1rem); font-weight: var(--atlas-fw-bold); }
  .about-member__role { margin-top: 2px; color: var(--atlas-accent-as-text, var(--atlas-accent)); font-family: var(--atlas-font-data); font-size: var(--atlas-fs-xs, 0.75rem); font-weight: var(--atlas-fw-bold); letter-spacing: var(--atlas-ls-wide); text-transform: var(--atlas-label-transform); }
  .about-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--atlas-space-4, 1rem); padding: var(--atlas-space-5, 1.25rem); border-radius: var(--atlas-radius-lg, 12px); background: var(--atlas-navy); color: var(--atlas-text-on-dark); }
  .about-contact__t { font-size: var(--atlas-fs-lg, 1.125rem); font-weight: var(--atlas-fw-bold); }
  .about-contact__s { margin-top: var(--atlas-space-1, 0.25rem); color: var(--atlas-text-on-dark-muted); font-size: var(--atlas-fs-sm, 0.875rem); }
  .about-contact__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--atlas-space-5, 1.25rem); border-radius: var(--atlas-radius-md, 8px); background: var(--atlas-accent-on-dark); color: var(--atlas-navy-900); font-weight: var(--atlas-fw-bold); text-decoration: none; }
  @media (max-width: 720px) { .about-stats { grid-template-columns: 1fr 1fr; } .about-stat:nth-child(2)::after { display: none; } }
}
