/* ═══════════════════════════════════════════════════════════════════
   EXUSIA · core.css
   The shared system under all four sites. Each site's theme.css sets the
   palette, type and personality; this file sets structure and behaviour.
   Radii carry hierarchy: slabs 36 > panels 28 > cards 22 > fields 14 > pills.
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Tokens (defaults; theme.css overrides) ───────────────────── */
:root {
  --bg: #F4F6F8;
  --bg-2: #EBEEF2;
  --surface: #FFFFFF;
  --surface-2: #F2F4F7;
  --surface-3: #E6EAEF;
  --line: rgba(15, 23, 42, .09);
  --line-2: rgba(15, 23, 42, .16);
  --ink: #0E1620;
  --ink-2: #44505E;
  --ink-3: #6B7684;
  --brand: #1F6FEB;
  --brand-2: #1859C2;
  --brand-ink: #FFFFFF;
  --brand-soft: rgba(31, 111, 235, .10);
  --accent: #F2A33A;
  --accent-ink: #1A1205;
  --ok: #138A4B;
  --ok-soft: rgba(19, 138, 75, .12);
  --warn: #A86A0B;
  --warn-soft: rgba(214, 140, 20, .14);
  --bad: #C2341D;
  --bad-soft: rgba(194, 52, 29, .10);
  --wa: #1FA855;
  --slab: #0E1620;          /* dark feature sections in light mode */
  --slab-ink: #EEF2F6;
  --slab-ink-2: #A9B4C0;
  --slab-line: rgba(255, 255, 255, .10);
  --slab-surface: rgba(255, 255, 255, .05);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(15, 23, 42, .08);
  --island: rgba(17, 24, 33, .86);
  --island-ink: #F3F6F9;
  --island-ink-2: rgba(243, 246, 249, .62);
  --island-on: rgba(255, 255, 255, .14);

  --f-display: system-ui, sans-serif;
  --f-body: system-ui, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --display-weight: 700;
  --display-track: -0.035em;
  --display-stretch: 100%;

  --r-slab: 36px;
  --r-panel: 28px;
  --r-card: 22px;
  --r-field: 14px;
  --r-chip: 999px;

  --sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 1px rgba(15, 23, 42, .03);
  --sh-2: 0 12px 32px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .05);
  --sh-float: 0 18px 50px -18px rgba(8, 14, 24, .35), 0 4px 14px rgba(8, 14, 24, .08);

  --wrap: 1240px;
  --wrap-n: 800px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(56px, 8vw, 112px);
  --hd-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  /* Aliases so content written for the previous build still resolves. */
  --n0: var(--surface); --n1: var(--surface-2); --n2: var(--surface-2); --n3: var(--line-2); --n4: var(--ink-3);
  --ink2: var(--ink-2); --ink3: var(--ink-3); --ink-mute: var(--ink-3); --ink-light: var(--ink-3); --ink-soft: var(--ink-2); --ink-dim: var(--ink-3);
  --night: var(--slab); --night2: var(--slab); --night3: var(--slab-line);
  --paper: var(--bg); --mute: var(--ink-3); --dim: var(--ink-3);
  --r-s: 12px; --r-m: var(--r-field); --r-l: var(--r-card);
  --f-sans: var(--f-body); --f-serif: var(--f-display);
  --green: var(--ok); --amber: var(--warn); --clay: var(--bad); --clay-w: var(--bad-soft); --amber-w: var(--warn-soft);
  --shadow-lg: var(--sh-2); --rule: var(--line); --rule-2: var(--line-2);
  color-scheme: light;
}
[data-theme="dark"] { color-scheme: dark; }

/* ── 2. Reset and base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 28px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:where(main a:not([class])) { color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); }
:where(main a:not([class])):hover { text-decoration-color: currentColor; }
:where(main h1, main h2, main h3, main h4) a:not([class]) { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); }
hr { border: 0; height: 1px; background: var(--line); margin: 32px 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
main { display: block; outline: 0; }
.sr, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 3. Type ───────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.4rem + 3.3vw, 4rem); line-height: 1.02; letter-spacing: var(--display-track); }
h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.75rem); line-height: 1.06; letter-spacing: calc(var(--display-track) * .85); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: .82em; }
strong, b { font-weight: 650; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
.lead { font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.micro { font-size: .8rem; line-height: 1.5; color: var(--ink-3); }
.money, .num, .v, .tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }

/* Kicker above a heading: sentence case, coloured, never shouty. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .86rem/1.2 var(--f-body); letter-spacing: 0; text-transform: none;
  color: var(--brand); margin: 0 0 14px;
}
.eyebrow .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; flex: 0 0 auto; }
.sec-label { font: 600 .86rem/1.2 var(--f-body); color: var(--brand); margin-bottom: 12px; text-transform: none; letter-spacing: 0; }

/* ── 4. Layout ─────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap-n, .wrap.wrap-n, .wrap-narrow { max-width: calc(var(--wrap-n) + var(--gut) * 2); }
.wrap .wrap { padding-inline: 0; }
.sec { padding-block: var(--sec); position: relative; }
.sec + .sec:not(.night):not(.slab) { padding-top: calc(var(--sec) * .55); }
.sec-hd { max-width: 760px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.sec-hd > :last-child { margin-bottom: 0; }
.sec-hd .lead { margin-top: 14px; }
.sec-h { margin-bottom: 12px; }
.sec-sub { color: var(--ink-2); max-width: 62ch; }
.grid { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mt { margin-top: 16px; } .mt2 { margin-top: 32px; } .mb0 { margin-bottom: 0 !important; }
.wide { width: 100%; }
.center { text-align: center; }

/* Feature slab: a rounded, inset, dark section. The signature surface. */
.sec.night, .slab {
  --ink: var(--slab-ink); --ink-2: var(--slab-ink-2); --ink-3: color-mix(in srgb, var(--slab-ink-2) 80%, transparent);
  --line: var(--slab-line); --line-2: color-mix(in srgb, var(--slab-ink) 22%, transparent);
  --surface: var(--slab-surface); --surface-2: color-mix(in srgb, var(--slab-ink) 7%, transparent);
  background: var(--slab); color: var(--slab-ink);
  margin-inline: clamp(8px, 1.6vw, 20px); border-radius: var(--r-slab);
  isolation: isolate; overflow: hidden;
}
.sec.night + .sec.night, .slab + .slab { margin-top: 12px; }
.sec.night .btn-ghost, .slab .btn-ghost { --btn-line: var(--line-2); color: var(--slab-ink); }

/* ── 5. Buttons ────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--brand); --btn-ink: var(--brand-ink); --btn-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-chip);
  background: var(--btn-bg); color: var(--btn-ink); border: 1.5px solid var(--btn-line);
  font: 600 .95rem/1.1 var(--f-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .18s var(--ease), box-shadow .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { --btn-bg: var(--brand-2); }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn .i { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { }
.btn-ghost, .btn-outline { --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line-2); }
.btn-ghost:hover, .btn-outline:hover { --btn-bg: var(--surface-2); --btn-line: var(--ink-3); }
.btn-quiet { --btn-bg: var(--surface-2); --btn-ink: var(--ink); }
.btn-quiet:hover { --btn-bg: var(--surface-3); }
.btn-wa { --btn-bg: var(--wa); --btn-ink: #fff; }
.btn-wa:hover { --btn-bg: color-mix(in srgb, var(--wa) 86%, #000); }
.btn-accent, .btn-amber, .btn-gold { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); }
.btn-accent:hover, .btn-amber:hover, .btn-gold:hover { --btn-bg: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: .86rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn.is-arrow::after, .lnk::after {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto;
  background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat;
  transition: transform .2s var(--ease);
}
.btn.is-arrow:hover::after, .lnk:hover::after { transform: translateX(3px); }
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); text-decoration: none; }

/* Icon button (round) */
.ib, .ico, .icobtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink);
  text-decoration: none; transition: background .2s, transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent; padding: 0; font-size: 1rem; line-height: 1;
}
.ib:hover, .ico:hover, .icobtn:hover { background: var(--surface-3); }
.ib:active, .ico:active, .icobtn:active { transform: scale(.92); }
.ib .i, .ico svg, .icobtn svg { width: 20px; height: 20px; }
.ib-wa, .ico.wa { background: var(--wa); color: #fff; }
.ib-wa:hover, .ico.wa:hover { background: color-mix(in srgb, var(--wa) 86%, #000); }
.th-moon { display: none; }
[data-theme="dark"] .th-sun { display: none; }
[data-theme="dark"] .th-moon { display: inline; }
.th-sun, .th-moon { line-height: 0; }

/* ── 6. Cards, panels, chips ───────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(18px, 2vw, 26px); position: relative; min-width: 0;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .4em; }
.card-t { font: 600 .82rem/1.3 var(--f-body); color: var(--ink-3); margin-bottom: 10px; letter-spacing: 0; text-transform: none; }
a.card { text-decoration: none; display: block; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
a.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--sh-2); }
.panel, .note {
  border-radius: var(--r-card); padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 24px);
  background: var(--brand-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  font-size: .95rem;
}
.panel > :last-child, .note > :last-child { margin-bottom: 0; }
.panel.warn, .note.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.panel.info { }
.panel.bad, .note.bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 22%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip, .spec-chip, .pill, .badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px;
  border-radius: var(--r-chip); background: var(--surface-2); color: var(--ink-2);
  font: 600 .76rem/1.2 var(--f-body); white-space: nowrap; border: 0;
}
button.chip, a.chip { cursor: pointer; text-decoration: none; min-height: 36px; padding: 6px 14px; font-size: .85rem; transition: background .2s, color .2s; }
button.chip:hover, a.chip:hover { background: var(--surface-3); color: var(--ink); }
.chip[aria-pressed="true"], .chip.on, .chip[aria-current] { background: var(--ink); color: var(--bg); }
.badge.b-live, .badge.ok, .b-green { background: var(--ok-soft); color: var(--ok); }
.b-amber { background: var(--warn-soft); color: var(--warn); }
.b-blue { background: var(--brand-soft); color: var(--brand); }
.b-grey { background: var(--surface-2); color: var(--ink-3); }
.assure { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--ink-2); }
.tk {
  display: inline-grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px;
  border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: .72rem; font-weight: 800; line-height: 1;
}
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); }

/* Key/value rows */
.erow, .prow, .mr, .tierrow, .bp-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.erow:last-child, .prow:last-child, .mr:last-child { border-bottom: 0; }
.erow .k, .prow .k, .mr .l { color: var(--ink-2); }
.erow .v, .prow .v, .mr .v { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.prow .v.ok, .v.ok { color: var(--ok); }

/* ── 7. Tables ─────────────────────────────────────────────────────── */
.tbl-w { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--surface-2); font: 600 .8rem/1.3 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 600; color: var(--ink-2); width: 38%; }
.tbl td { font-variant-numeric: tabular-nums; }
.tbl.wide { min-width: 640px; }
.tbl a { color: var(--brand); font-weight: 600; }

/* ── 8. Forms ──────────────────────────────────────────────────────── */
.fld, .f-group { margin-bottom: 16px; position: relative; }
.lbl, .f-label { display: block; font: 600 .88rem/1.3 var(--f-body); margin-bottom: 7px; color: var(--ink); }
.f-req, .req { color: var(--bad); }
.inp, .f-ctrl, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: var(--r-field); border: 1.5px solid var(--line-2); background: var(--surface);
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
textarea.inp, textarea.f-ctrl { min-height: 110px; resize: vertical; line-height: 1.5; }
select.inp, select.f-ctrl {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23778' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.inp::placeholder, .f-ctrl::placeholder { color: var(--ink-3); opacity: .8; }
.inp:hover, .f-ctrl:hover { border-color: var(--ink-3); }
.inp:focus, .f-ctrl:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.inp[aria-invalid="true"], .f-ctrl[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.err, .f-error { display: none; font-size: .8rem; color: var(--bad); margin-top: 6px; font-weight: 600; }
.err.on, .f-error.on { display: block; }
.hint, .f-hint { font-size: .8rem; color: var(--ink-3); margin: 6px 0 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.status { display: none; margin-top: 12px; padding: 12px 16px; border-radius: var(--r-field); font-size: .9rem; font-weight: 500; }
.status.on { display: block; }
.status.busy { background: var(--surface-2); color: var(--ink-2); }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.err { background: var(--bad-soft); color: var(--bad); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); width: 18px; height: 18px; }
input[type="range"] { accent-color: var(--brand); width: 100%; }

/* Segmented control (tabs, filters) */
.tabs, .seg, .form-tabs, .cust-toggle {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r-chip);
  background: var(--surface-2); max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
.tab, .seg button, .form-tab, .cust-btn {
  border: 0; background: transparent; color: var(--ink-2); white-space: nowrap;
  min-height: 40px; padding: 0 18px; border-radius: var(--r-chip); font: 600 .9rem/1 var(--f-body);
  transition: background .2s, color .2s, box-shadow .2s;
}
.tab:hover, .seg button:hover { color: var(--ink); }
.tab[aria-selected="true"], .seg button[aria-pressed="true"], .seg button.on, .form-tab.on, .form-tab[aria-selected="true"], .cust-btn.on, .cust-btn[aria-pressed="true"] {
  background: var(--surface); color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px var(--line);
}
[role="tabpanel"] { margin-top: 18px; }

/* Accordion */
details.acc { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
details.acc[open] { border-color: var(--line-2); }
details.acc > summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font: 600 1rem/1.4 var(--f-body);
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease);
}
details.acc[open] > summary::after { transform: rotate(45deg); }
details.acc .ab { padding: 0 22px 18px; color: var(--ink-2); font-size: .95rem; }
details.acc .ab > :last-child { margin-bottom: 0; }

/* Pager */
.pager, .pgn { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 28px; }
.pg-btn, .pgn-btn, .pg-num { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-chip); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); }
.pg-btn[aria-current], .pg-num[aria-current], .pg-btn.cur, .pg-num.cur, .pgn-btn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pg-gap { color: var(--ink-3); padding: 0 4px; }

/* ── 9. Header (desktop capsule, phone top bar) ────────────────────── */
.hd { position: sticky; top: 0; z-index: 60; padding: 12px var(--gut) 0; pointer-events: none; }
.hd-bar {
  pointer-events: auto; position: relative;
  max-width: var(--wrap); margin-inline: auto; height: var(--hd-h);
  display: flex; align-items: center; gap: 14px; padding: 0 10px 0 22px;
  border-radius: var(--r-chip); background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: var(--sh-1);
  transition: box-shadow .3s, background .3s, height .3s var(--ease);
}
.hd.is-scrolled .hd-bar { box-shadow: var(--sh-float); }
.hd-brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.hd-brand img { height: 30px; width: auto; }
.hd-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.hd-nav a {
  position: relative; padding: 9px 14px; border-radius: var(--r-chip);
  font: 550 .92rem/1 var(--f-body); color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: color .2s, background .2s;
}
.hd-nav a:hover { color: var(--ink); background: var(--surface-2); }
.hd-nav a[aria-current] { color: var(--ink); background: var(--surface-2); }
.hd-nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); }
.hd-act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hd-nav + .hd-act { margin-left: 0; }
.hd-cta { margin-left: 4px; }
.hd .ib { width: 40px; height: 40px; flex-basis: 40px; background: transparent; }
.hd .ib:hover { background: var(--surface-2); }
.hd .ib-wa { background: var(--wa); color: #fff; }
.hd .ib-wa:hover { background: color-mix(in srgb, var(--wa) 86%, #000); }
.hd-menu { display: none; }
.ib .count, .hd-count {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font: 700 .68rem/18px var(--f-body); text-align: center;
}
.ib { position: relative; }
@media (max-width: 1180px) {
  .hd-nav a { padding: 9px 10px; font-size: .88rem; }
}
@media (max-width: 1080px) {
  .hd-nav { display: none; }
  .hd-menu { display: inline-grid; }
  .hd-nav + .hd-act { margin-left: auto; }
}
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .ib { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (max-width: 960px) {
  :root { --hd-h: 58px; }
  .hd { padding: 0; }
  .hd-bar {
    border-radius: 0 0 var(--r-card) var(--r-card); border-width: 0 0 1px; padding: 0 8px 0 16px;
    padding-top: env(safe-area-inset-top); height: calc(var(--hd-h) + env(safe-area-inset-top));
  }
  .hd-brand img { height: 26px; }
  .hd-cta, .hd-menu, .hide-sm { display: none !important; }
}

/* ── 10. Floating tab island (phones) ──────────────────────────────── */
.island { display: none; }
@media (max-width: 960px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .island {
    display: block; position: fixed; z-index: 70; left: 0; right: 0;
    bottom: calc(12px + env(safe-area-inset-bottom)); padding: 0 12px; pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s;
  }
  .island-in {
    pointer-events: auto; margin: 0 auto; max-width: 460px; height: 68px; padding: 6px;
    display: flex; align-items: stretch; gap: 2px;
    border-radius: 26px; background: var(--island); color: var(--island-ink);
    -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px);
    box-shadow: var(--sh-float), inset 0 0 0 1px rgba(255, 255, 255, .08);
  }
  .it {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: transparent; color: var(--island-ink-2); border-radius: 20px; text-decoration: none;
    font: 600 .68rem/1 var(--f-body); letter-spacing: .01em; padding: 0 2px;
    -webkit-tap-highlight-color: transparent; transition: color .2s, background .25s var(--ease), transform .18s var(--ease);
  }
  .it:active { transform: scale(.92); }
  .it .i { width: 22px; height: 22px; }
  .it-l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .it[aria-current] { color: var(--island-ink); background: var(--island-on); }
  .it[aria-current] .it-ic { color: var(--brand-on-island, var(--island-ink)); }
  .it-primary { color: var(--brand-ink); background: var(--brand); }
  .it-primary[aria-current] { background: var(--brand); color: var(--brand-ink); }
  .it-primary .it-ic, .it-primary[aria-current] .it-ic { color: var(--brand-ink); }
  body.sheet-open .island, body.drawer-open .island { transform: translateY(140%); opacity: 0; }
  /* Things that used to sit at the bottom edge now sit above the island. */
  .tray { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
}

/* ── 11. Sheet (More) ──────────────────────────────────────────────── */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(6, 10, 16, .46); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; max-height: 88dvh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink); border-radius: var(--r-panel) var(--r-panel) 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .35);
  transform: translateY(102%); transition: transform .42s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 2px; flex: 0 0 auto; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 10px 22px; flex: 0 0 auto; }
.sheet-top strong { font: 700 1.1rem/1.2 var(--f-display); }
.sheet-body { overflow-y: auto; padding: 4px 16px 28px; overscroll-behavior: contain; }
.sheet-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 6px; }
.sq {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 12px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font: 600 .74rem/1 var(--f-body); text-decoration: none;
}
.sq .i { width: 22px; height: 22px; color: var(--brand); }
.sq:first-child .i { color: var(--wa); }
.sheet-group { margin-top: 18px; }
.sheet-group h3 { font: 600 .8rem/1 var(--f-body); color: var(--ink-3); margin: 0 0 8px 8px; letter-spacing: 0; }
.sheet-group ul { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.sheet-group li { margin: 0; }
.sheet-group li + li { border-top: 1px solid var(--line); }
.sheet-group li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; text-decoration: none; font-weight: 550; }
.sheet-group li a[aria-current] { color: var(--brand); }
.sheet-group .sg-i { width: 16px; height: 16px; color: var(--ink-3); transform: rotate(-90deg); }
.sheet-group a[target] .sg-i { transform: none; }
.fam { display: grid; gap: 8px; }
.fam-i { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.fam-i b { display: block; font-size: .95rem; }
.fam-i small { color: var(--ink-3); }
.fam-dot, .ff-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; background: var(--fam, #888); }
.fam-ene, .ff-ene { --fam: conic-gradient(#E3B505 0 25%, #D9381E 0 50%, #3E9BEA 0 75%, #4CAF50 0); }
.fam-ene .fam-dot, .ff-ene .ff-dot { background: var(--fam); }
.fam-green, .ff-green { --fam: #7FA31B; }
.fam-mobility, .ff-mobility { --fam: #3A9BEF; }
.fam-digital, .ff-digital { --fam: #F39318; }
@media (min-width: 961px) {
  .sheet-panel {
    left: auto; top: 12px; right: 12px; bottom: 12px; width: 420px; max-height: none;
    border-radius: var(--r-panel); transform: translateX(110%);
  }
  .sheet-grab { display: none; }
  .sheet-top { padding-top: 16px; }
}

/* ── 12. Drawers (quote cart, enquiry) and scrim ───────────────────── */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(6, 10, 16, .46); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.qd, .drawer {
  position: fixed; z-index: 85; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px));
  display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  border-radius: var(--r-panel); box-shadow: var(--sh-float); overflow: hidden;
  transform: translateX(calc(100% + 24px)); visibility: hidden;
  transition: transform .42s var(--ease), visibility 0s linear .42s;
}
.qd.on, .drawer.on { transform: none; visibility: visible; transition: transform .42s var(--ease), visibility 0s; }
.qd-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 22px; border-bottom: 1px solid var(--line); }
.qd-hd strong { font: 700 1.15rem/1.2 var(--f-display); }
.qd-bd { flex: 1 1 auto; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.qd-ft { padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
@media (max-width: 640px) {
  .qd, .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92dvh; border-radius: var(--r-panel) var(--r-panel) 0 0; transform: translateY(102%); }
}

/* Old in-page bottom bar is replaced by the island; keep it off phones' island zone. */
.sticky { display: none !important; }

/* ── 13. Crumbs ────────────────────────────────────────────────────── */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 0; padding: 0; font-size: .82rem; color: var(--ink-3); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: .5; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
.crumbs a { text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs + .sec, .crumbs + section { padding-top: clamp(22px, 3vw, 40px); }

/* ── 14. Footer ────────────────────────────────────────────────────── */
.ft { padding: clamp(40px, 6vw, 80px) 0 calc(20px + env(safe-area-inset-bottom)); }
.ft-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-slab); padding: clamp(24px, 4vw, 52px); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); }
.ft-brand img { height: 34px; width: auto; }
.ft-about p { color: var(--ink-2); font-size: .95rem; margin: 16px 0 18px; max-width: 40ch; }
.ft-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.ft-h { font: 600 .82rem/1 var(--f-body); color: var(--ink-3); margin: 6px 0 14px; letter-spacing: 0; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin: 0 0 9px; }
.ft li a { text-decoration: none; color: var(--ink); font-size: .93rem; display: inline-flex; align-items: center; gap: 4px; }
.ft li a:hover { color: var(--brand); }
.ft .ext { width: 14px; height: 14px; opacity: .6; }
.ft-fam { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.ff { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-chip); background: var(--surface-2); font: 600 .84rem/1 var(--f-body); text-decoration: none; color: var(--ink-2); }
.ff:hover { color: var(--ink); background: var(--surface-3); }
.ff.is-here { background: var(--ink); color: var(--bg); }
.ft-reg { margin-top: 22px; font-size: .78rem; line-height: 1.7; color: var(--ink-3); }
.ft-reg b { color: var(--ink-2); font-weight: 600; }
.ft-reg a { color: inherit; }
.ft-fine { margin: 16px 0 0; font-size: .74rem; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr; } }

/* ── 15. 404 ───────────────────────────────────────────────────────── */
.nf { text-align: center; padding-block: clamp(30px, 8vw, 90px); }
.nf-code { font: 800 clamp(5rem, 18vw, 11rem)/.9 var(--f-display); letter-spacing: -.06em; color: var(--brand); margin-bottom: 8px; }
.nf .lead { margin-inline: auto; }
.nf .btn-row { justify-content: center; margin-top: 24px; }

/* ── 16. Motion ────────────────────────────────────────────────────── */
.theme-anim, .theme-anim * { transition: background-color .3s, color .3s, border-color .3s !important; }
@keyframes ex-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ── 17. Print ─────────────────────────────────────────────────────── */
@media print {
  .hd, .island, .sheet, .ft, .scrim, .qd, .drawer, .tray, .sticky { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .sec.night, .slab { background: #fff; color: #000; margin: 0; }
}

/* ── 18. Page-to-page transitions (supporting browsers) ────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.hd-bar { view-transition-name: exusia-header; }
.island-in { view-transition-name: exusia-island; }

/* ── 19. Platform features (v2): forms, consent, search, track, pay ───
   Everything uses the tokens above, so each theme restyles it for free.
   Class prefixes: .ex- (form states), .cc- (cookie choices), .xp- (built-in pages). */

/* Form states from window.EX.submit */
.btn.is-loading { position: relative; pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ex-spin .7s linear infinite; flex: 0 0 auto; }
@keyframes ex-spin { to { transform: rotate(360deg); } }
.ex-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sh-2); outline: 0; }
.ex-done:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent), var(--sh-2); }
.ex-done-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); margin-bottom: 14px; }
.ex-done-ic svg { width: 26px; height: 26px; }
.ex-done-t { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); margin: 0 0 8px; }
.ex-done p { color: var(--ink-2); }
.ex-done .btn-row { margin-top: 18px; }
.ex-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 10px 14px; border-radius: var(--r-field); background: var(--surface-2); color: var(--ink-2); width: fit-content; max-width: 100%; }
.ex-ref b { font: 700 1.08rem/1.2 var(--f-mono); letter-spacing: .04em; color: var(--ink); }
.ex-copy { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); border-radius: var(--r-chip); padding: 4px 12px; min-height: 32px; font: 600 .8rem/1 var(--f-body); cursor: pointer; }
.ex-copy:hover { color: var(--ink); border-color: var(--ink-3); }
.ex-again { margin-top: 14px; background: none; border: 0; padding: 8px 0; cursor: pointer; font: inherit; font-weight: 600; }
.ex-fail { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-field); background: var(--bad-soft); border: 1px solid color-mix(in srgb, var(--bad) 22%, transparent); color: var(--ink); }
.ex-fail p { margin: 0 0 8px; } .ex-fail p:last-child { margin-bottom: 0; }
.ex-fail b { color: var(--bad); }
.ex-fail .micro { color: var(--ink-2); }
.ex-ts { margin: 4px 0 14px; min-height: 0; }
.xp-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.xp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }
input[type="file"].inp { padding: 10px 12px; min-height: 0; line-height: 1.4; }
input[type="file"].inp::file-selector-button { border: 0; border-radius: var(--r-chip); background: var(--surface-3); color: var(--ink); font: 600 .84rem/1 var(--f-body); padding: 9px 14px; margin-right: 12px; cursor: pointer; }

/* Cookie choices (fixed, visible without scrolling; above the phone island) */
.cc { position: fixed; z-index: 120; left: 12px; right: 12px; bottom: 12px; margin-inline: auto; max-width: 720px; color: var(--ink); }
.cc[hidden] { display: none; }
.cc-in { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: var(--sh-float); padding: 16px 18px; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.cc-t { margin: 0 0 12px; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.cc-t b { color: var(--ink); }
.cc-t a { color: var(--ink); font-weight: 600; }
.cc-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-acts .btn { flex: 1 1 auto; min-width: 120px; }
.cc-btn { --btn-bg: var(--ink); --btn-ink: var(--bg); }
.cc-btn:hover { --btn-bg: color-mix(in srgb, var(--ink) 85%, var(--bg)); }
.cc-panel { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 6px; }
.cc-panel[hidden] { display: none; }
.cc-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc-row:last-of-type { border-bottom: 0; }
.cc-row span { display: grid; gap: 3px; font-size: .9rem; }
.cc-row small { color: var(--ink-3); font-size: .8rem; line-height: 1.45; }
.cc-row input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--brand); }
.cc-panel .cc-acts { margin-top: 10px; }
@media (max-width: 960px) { .cc { bottom: calc(92px + env(safe-area-inset-bottom)); } }
@media (max-width: 480px) { .cc { left: 8px; right: 8px; } .cc-in { padding: 14px; } .cc-acts .btn { min-width: 0; flex: 1 1 calc(50% - 8px); } .cc-acts .btn-ghost { flex-basis: 100%; } }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: .8rem; }
.ft-legal a, .ft-cookie { color: var(--ink-2); text-decoration: none; font: inherit; }
.ft-legal a:hover, .ft-cookie:hover { color: var(--ink); text-decoration: underline; }
.ft-cookie { background: none; border: 0; padding: 0; cursor: pointer; min-height: 24px; }
.blk-consent { padding-block: 12px; }
.blk-consent-note { text-align: center; }
.blk-consent-note .lnk { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* Built-in pages share these */
.xp-card { padding: clamp(22px, 4vw, 40px); }
.xp-card h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: 12px; }
.xp-k { color: var(--ink-2); font-size: .92rem; }
.xp-k b { font-family: var(--f-mono); color: var(--ink); letter-spacing: .03em; }
.xp-test { display: inline-block; background: var(--warn-soft); color: var(--warn); border-radius: var(--r-chip); padding: 4px 12px; font-size: .8rem; font-weight: 700; margin: 0 0 12px; }
.xp-card .btn-row, .xp-status .btn-row { margin-top: 20px; }

/* /track/ */
.xp-form { padding: clamp(20px, 3vw, 32px); }
.xp-form .btn { margin-top: 4px; }
.xp-help { margin-top: 16px; }
.xp-status { padding: clamp(20px, 3vw, 34px); outline: 0; }
.xp-now { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin: 6px 0 6px; }
.xp-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.xp-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding-bottom: 18px; position: relative; }
.xp-steps li::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: -2px; width: 2px; background: var(--line-2); }
.xp-steps li:last-child { padding-bottom: 0; }
.xp-steps li:last-child::before { display: none; }
.xp-steps .xp-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); border: 2px solid var(--line-2); margin-top: 1px; }
.xp-steps li.is-now .xp-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.xp-steps li > span:last-child { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.xp-steps time { color: var(--ink-3); font-size: .86rem; }

/* /search/ */
.xp-sform { display: flex; gap: 10px; margin-bottom: 26px; }
.xp-sform .inp { flex: 1 1 auto; min-width: 0; }
.xp-sform .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .xp-sform .btn { padding-inline: 16px; } }
.xp-count { margin-bottom: 18px; }
.xp-group { margin-bottom: 30px; }
.xp-gh { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.xp-gh small { margin-left: auto; color: var(--ink-3); font: 600 .8rem/1 var(--f-body); }
.xp-list { list-style: none; margin: 0; padding: 0; }
.xp-r { padding: 14px 0; border-bottom: 1px solid var(--line); }
.xp-r a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; text-decoration: none; color: var(--ink); }
.xp-r a:hover .xp-t { color: var(--brand); text-decoration: underline; }
.xp-t { font-weight: 650; font-size: 1.02rem; }
.xp-meta { color: var(--ink-3); font-size: .8rem; }
.xp-s { margin: 6px 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.xp-s mark, .xp-r mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Payments */
.xp-pay { display: grid; gap: 10px; max-width: 460px; }
.xp-pay .fld { margin-bottom: 4px; }
.xp-pay-note { margin: 0; }
.xp-pay-success { border-color: color-mix(in srgb, var(--ok) 30%, var(--line)); }

/* Map block (OpenStreetMap) */
.blk-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.blk-embed iframe, .blk-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blk-osm { aspect-ratio: 4 / 3; }
.blk-map.split { align-items: stretch; }
.blk-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.blk-map:not(.split) .blk-places { margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.blk-places .card { margin: 0; }
.blk-place-t { font-size: 1.02rem; margin-bottom: 4px; }
.blk-place-a { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; }
.blk-video { width: 100%; border-radius: var(--r-card); background: #000; }
