/* ==========================================================================
   Azja Motors — 60: 3D CONFIGURATOR (views/configurator.ejs, views/configurator-index.ejs)
   Page-only stylesheet (head.ejs amStyles), plain unlayered rules like the other area files.
   Owner 2026-10-16: "styl Mercedesa, premium ale subtelny" — a light, quiet studio with the car large in the free part
   of the stage, hairline UI, one step at a time below it (the chosen option named on the left, the options on the
   right) and a bar that names the next step (no amounts). One selection style everywhere (1.5 px ink ring + check badge).
   Accent pill (--accent) only for the enquiry; the step button is the solid dark secondary (never hollow).
   The whole configurator fits one window under the sticky header on desktops and tablets (QA 2026-10-16).
   Owner 2026-10-23 ("układ samego konfiguratora weź stąd, pracowałem nad nim"): the layout, look and colours below are
   the owner's design session (azjamotors-konfigurator-design: studio split, the site header over the studio, the
   colour scheme "showroom lounge"); the P4 page keeps every function on it (the CN rows and order, status tags, rules,
   power kW (KM), English names, pictograms, no amounts, nothing clipped, the enquiry as the last step, no footer).
   ========================================================================== */

/* the configurator runs under the site header (the studio continues behind it), so the header is real glass */
.page--configurator { background: var(--page); margin-top: calc(-1 * var(--header-h)); }

/* ---------- the site header on the configurator pages (2026-10-22, the colour scheme "showroom lounge", below) ----------
   The site's own black as dense lacquer glass over the top of the studio: it renders #272623 at the top to #11100F at
   the foot (black, never the muddy taupe a thin tint over the light studio gave), a fine light top edge and a bronze
   hairline (the accent the site uses on dark surfaces, --cherry-on-dark), the white logo and text, a bronze mark under
   the current page, in every scroll state. Same text and height. body.page-configurator outweighs the state rules of
   12-chrome.css (.is-top-dark is in the markup at scroll 0) */
body.page-configurator .site-header { color: var(--on-dark); background: transparent; background-image: none; box-shadow: none; }
body.page-configurator .site-header::before { opacity: 1;
  background: linear-gradient(180deg, rgb(26 25 23 / .94) 0%, rgb(14 13 12 / .985) 100%);
  -webkit-backdrop-filter: saturate(1.4) blur(24px); backdrop-filter: saturate(1.4) blur(24px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 -1px 0 rgb(184 145 94 / .42); }
body.page-configurator .site-header .brand-logo__white { opacity: 1; }
body.page-configurator .site-header .brand-logo__ink { opacity: 0; }
body.page-configurator .site-header :is(.header-nav a, .header-phone, .lang-btn, .menu-btn, .phone-btn, .header-session__out):hover,
body.page-configurator .site-header .lang[open] > .lang-btn { background: rgb(255 255 255 / .09); }
body.page-configurator .site-header :is(.menu-btn, .phone-btn):active { background: rgb(255 255 255 / .16); }
body.page-configurator .site-header .header-nav a[aria-current="page"]::after { background: var(--cherry-on-dark); }
body.page-configurator .site-header .header-session__out { background: rgb(255 255 255 / .12); }
body.page-configurator .site-header .lang-btn .flag { box-shadow: 0 0 0 1px rgb(255 255 255 / .34); }
body.page-configurator .site-header .header-bar :focus-visible:not(:is(.popover, .drawer__panel) *) { outline-color: #fff; box-shadow: 0 0 0 5px rgb(0 0 0 / .55); }
/* no transparency wanted: the same black, solid */
@media (prefers-reduced-transparency: reduce) {
  body.page-configurator .site-header::before { background: linear-gradient(180deg, #1A1917 0%, #0E0D0C 100%); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Layout (design 2026-10-22, "studio split"): the options are never hidden or covered. Landscape screens put the
   studio on the left at full height and a column of options on the right (steps, a panel that scrolls on its own,
   the bar); portrait screens put the studio on top at a fixed height and the same column below it. The options wrap
   into grids (no sideways rails), the bar and the step row sit outside the scrolling panel, no text is clamped. The
   stage never changes size between steps (no refit of the car). */
.cfg {
  --cfg-ink-soft: rgb(26 25 23 / .62);
  --cfg-studio: #F2F0EC;
  --cfg-glass: rgb(255 255 255 / .66);
  --cfg-glass-dark: rgb(14 13 12 / .46);
  --cfg-side-w: clamp(380px, 120px + 22vw, 480px);
  --cfg-top: var(--header-h);   /* the stage runs under the glass header: its overlays start below it */
  --cfg-reveal: 0;   /* 1 where the page itself scrolls for the summary and the enquiry (am-configurator.js revealDock) */
  font-variant-numeric: proportional-nums lining-nums;   /* tabular figures leave a gap after a narrow 1 ("1 030 kW") */
  position: relative;
  display: grid; grid-template: "stage" minmax(0, 1fr) "dock" auto / minmax(0, 1fr);
  height: 100svh; min-height: 0;   /* the header (glass) lies over its top */
  background: var(--surface);
}
html:has(.cfg[data-configurator]) { overscroll-behavior-y: none; }   /* a page that does not scroll: no pull-to-refresh */

/* ---------- stage: the studio "3 Salon" (owner 2026-10-25 ~12:45; the canvas is transparent, the wall is CSS, the JS
   paints the same for the images: am-configurator.js paintStudio). A warm greige seamless cyclorama (no horizon line,
   nothing in perspective) with a cove of light behind the car and a soft floor glow; the logo panel (.cfg__backdrop)
   and the podium (am-configurator.js Studio) complete it. Inside the car and behind the 360° photo the windows show
   the light studio of before (below) ---------- */
/* overflow clip, not hidden: a hidden box is still a scroll container, and a keyboard focus on an on-car point that
   sits off the stage scrolled it sideways, leaving a blank band (QA LYNK-UX-01; P8 fix-r1: the 3D view and its pills
   moved up); hidden stays for older browsers */
.cfg__stage {
  grid-area: stage; --margin: clamp(16px, 2.8vw, 40px);   /* the overlays sit in from the stage edge, not the page margin */
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; min-height: 0;
  background:
    radial-gradient(70% 20% at 50% 66%, rgb(255 249 238 / .62) 0%, rgb(255 249 238 / 0) 72%),
    radial-gradient(64% 42% at 50% 84%, rgb(255 253 249 / .55) 0%, rgb(255 253 249 / 0) 70%),
    linear-gradient(180deg, #D3CBC0 0%, #DDD6CC 50%, #E7E1D8 66%, #E9E4DC 100%);
  color: var(--ink);
  /* the warmer, darker wall needs darker secondary text (muted 5.46:1, hint 5.40:1 on #D3CBC0) */
  --muted: #4F4A44; --cfg-ink-soft: rgb(26 25 23 / .72);
}
.cfg.is-interior .cfg__stage, .cfg.is-pano .cfg__stage { background:
  radial-gradient(62% 40% at 50% 80%, rgb(255 255 255 / .9) 0%, rgb(255 255 255 / 0) 70%),
  linear-gradient(180deg, #ECEAE6 0%, var(--cfg-studio) 58%, #EFECE7 100%); }
/* the logo: the dark Azja Motors logo etched into a soft back-lit panel, as halo-lit letters on a showroom wall (a soft
   warm light behind the letters, ::before, the white logo blurred; the letters themselves in a quiet dark bronze,
   ::after). One decorative layer behind the poster and the canvas, placed and faded by the viewer (Studio: --lx, --ly,
   width; is-placed, is-covered); never inside the car or over the 360° photo, so never through the glass */
.cfg__backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cfg__backdrop-logo { position: absolute; left: 0; top: 0; width: 0; aspect-ratio: 1211 / 312; opacity: 0; translate: var(--lx, 0) var(--ly, 0);
  transition: opacity 420ms cubic-bezier(.2, .7, .2, 1); will-change: opacity; }
.cfg__backdrop.is-placed .cfg__backdrop-logo { opacity: 1; }
.cfg__backdrop.is-covered .cfg__backdrop-logo { opacity: 0; }
.cfg.is-interior .cfg__backdrop, .cfg.is-pano .cfg__backdrop { display: none; }
.cfg__backdrop-logo::before, .cfg__backdrop-logo::after { content: ""; position: absolute; inset: 0; background: center / contain no-repeat; }
.cfg__backdrop-logo::before { background-image: url(/azja-motors-logo-biale.svg); filter: blur(16px); opacity: .8; transform: scale(1.05); }
.cfg__backdrop-logo::after { background: #5A4630; -webkit-mask: url(/azja-motors-logo-czarne.svg) center / contain no-repeat; mask: url(/azja-motors-logo-czarne.svg) center / contain no-repeat; opacity: .30; }
@media (prefers-reduced-motion: reduce) { .cfg__backdrop-logo { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .cfg__backdrop-logo::before { display: none; } }
@media (forced-colors: active) { .cfg__backdrop { display: none; } }
.cfg-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; outline: none;
  opacity: 0; transition: opacity 450ms var(--ease-out); }
.cfg-canvas:active { cursor: grabbing; }
/* keyboard focus on the car or the 360° photo: a ring over the picture. An inset shadow on the canvas is painted under
   its pixels, so the opaque 3D cabin and the photo hid it (P9b verify-r1: 0 pixels changed in the photo); a dark edge
   with a white line inside shows on the light studio, the dark cabin and white seats alike. Its top edge runs below
   the site header, which covers the stage's top */
.cfg__stage::after { content: ""; position: absolute; z-index: 2; inset: var(--cfg-top, 0px) 0 0; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 2px rgb(14 13 12 / .72), inset 0 0 0 4px #fff; }
.cfg__stage:has(> .cfg-canvas:focus-visible)::after { opacity: 1; }
@supports not selector(:has(*)) { .cfg-canvas:focus-visible { outline: 2px solid #fff; outline-offset: -4px; } }
.cfg.is-3d-ready .cfg-canvas { opacity: 1; }
.cfg__poster, .cfg__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cfg__poster { z-index: 0; transition: opacity 450ms var(--ease-out); }
.cfg__poster img { object-fit: cover; object-position: 50% 50%; }
.cfg.is-3d-ready .cfg__poster { opacity: 0; }
/* a poster that dissolves into the 3D picture (src/lib/configurator.js posterDissolve; perfect-r3 M3-04 / R3-01): the
   two fades above (the canvas in, the poster out, the same 450 ms) let up to a quarter of the wall through the car
   mid-way, a dark car went grey for a third of a second. Here the poster lies over the canvas, which is in at once
   under it, and only the poster fades: the car stays solid, the wall's logo and the contact shadow come in with the 3D
   picture. A changed configuration (is-poster-stale: only the soft silhouette) keeps the two fades */
.cfg--poster-dissolve:not(.is-poster-stale) .cfg__poster { z-index: 2; pointer-events: none; }
.cfg--poster-dissolve.is-3d-ready:not(.is-poster-stale) .cfg-canvas { transition: none; }
/* a shared or changed configuration while the 3D loads: the poster is the default car, so only its soft silhouette
   shows (QA P05: the black car first, then a jump to the chosen white one); it stays soft while the poster fades out
   over the 3D car; without the 3D it is shown as it is, with a note */
.cfg__poster img { transition: opacity 450ms var(--ease-out), filter 450ms var(--ease-out); }
.cfg.is-poster-stale:not(.is-3d-failed) .cfg__poster img { opacity: .22; filter: grayscale(1) blur(10px); }
.cfg__poster-note { position: absolute; z-index: 3; left: var(--margin); bottom: 22px; display: none; padding: 8px 14px; border-radius: var(--pill);
  font-size: .8125rem; color: var(--cfg-ink-soft); background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  box-shadow: inset 0 0 0 1px rgb(26 25 23 / .08); }
.cfg.is-3d-failed.is-poster-stale .cfg__poster-note { display: block; }
/* the stale state in the room (show-preload, owner 2026-11-08 ~17:51 "pamiętaj o preloaderze"): the soft silhouette lies
   over the room alone, shot from the poster's own camera (views/configurator.ejs cfg__poster-room, thumbs.json
   posterEmpty), as it lay over the studio of before; on the room's dark stage alone it was a faint grey patch on a
   gradient, and the room came in with the 3D. The room goes with the poster, both over the canvas as a poster that
   dissolves (the canvas in at once under them): the room stays where it is, only the silhouette gives way to the car */
.cfg__poster-room { display: none; }
.cfg.is-poster-stale:not(.is-3d-failed) .cfg__poster-room { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity 450ms var(--ease-out); }
.cfg__poster-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cfg.is-3d-ready .cfg__poster-room { opacity: 0; }
.cfg--poster-dissolve.is-poster-stale:has(.cfg__poster-room) :is(.cfg__poster-room, .cfg__poster) { z-index: 2; pointer-events: none; }
.cfg--poster-dissolve.is-3d-ready.is-poster-stale:has(.cfg__poster-room) .cfg-canvas { transition: none; }
.cfg__fade { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.cfg__fade.is-on { opacity: 1; }
.cfg__fade.is-fading { opacity: 0; transition: opacity 520ms var(--ease-out); }

.cfg__progress { position: absolute; top: var(--cfg-top); left: 0; right: 0; z-index: 4; height: 2px; background: rgb(26 25 23 / .06); transition: opacity 500ms var(--ease-out) 300ms; }
.cfg__progress span { display: block; height: 100%; width: calc(var(--cfg-progress, 0) * 100%); background: var(--ink); transition: width 300ms var(--ease-out); }
.cfg.is-3d-ready .cfg__progress, .cfg.is-3d-failed .cfg__progress { opacity: 0; }

/* loading / error: a small pill above the bottom band, never over the car's middle */
.cfg__status { position: absolute; z-index: 4; left: 50%; bottom: 96px; transform: translateX(-50%); width: max-content; max-width: min(46ch, calc(100% - 32px));
  padding: 8px 16px; border-radius: var(--pill); text-align: center; font-size: .8125rem; line-height: 1.4; color: var(--ink);
  background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .08);
  font-variant-numeric: tabular-nums; transition: opacity 400ms var(--ease-out); }
.cfg.is-3d-ready .cfg__status { opacity: 0; visibility: hidden; }
.cfg.is-3d-ready .cfg__status.is-on { opacity: 1; visibility: visible; }   /* a wheel set still downloading (QA UX06) */
.cfg.is-3d-failed .cfg__status { border-radius: var(--r); padding: 12px 16px; background: rgb(255 255 255 / .94); box-shadow: 0 8px 24px -12px rgb(26 25 23 / .35); }
/* the vault's reload offer once the car is shown (am-configurator.js offerReload: the page can no longer renew its pass):
   the pill of a failed load, over the car that stays */
.cfg.is-3d-ready .cfg__status.is-reload { opacity: 1; visibility: visible; }
.cfg__status.is-reload { border-radius: var(--r); padding: 12px 16px; background: rgb(255 255 255 / .94); box-shadow: 0 8px 24px -12px rgb(26 25 23 / .35); }
.cfg__retry { position: relative; margin-left: 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cfg__retry::before { content: ""; position: absolute; inset: -13px -10px; }   /* 44 px to tap on a phone (QA UX13) */
/* a calm note after a choice the car could not load (the page went back to what the car shows), a photo that did not
   load, or the reason of a disabled control tapped on a touch screen; never an automatic change of the rules (owner
   2026-10-24 ~15:05: those are made silently, said only in the visually hidden live region) */
.cfg__notice { position: absolute; z-index: 4; left: 50%; bottom: 96px; transform: translate(-50%, 6px); width: max-content; max-width: min(64ch, calc(100% - 32px));
  padding: 9px 16px; border-radius: 14px; text-align: center; font-size: .8125rem; line-height: 1.4; color: var(--ink);
  background: rgb(255 255 255 / .94); box-shadow: 0 8px 24px -12px rgb(26 25 23 / .35), inset 0 0 0 1px rgb(26 25 23 / .06);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s 260ms; }
.cfg__notice.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }

/* overlays: quiet, dark text on the light studio */
.cfg__head { position: absolute; z-index: 3; top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px)); left: var(--margin); width: max-content; max-width: min(560px, 60%); pointer-events: none; transition: opacity 500ms var(--ease-out); }
.cfg__title { font-family: var(--serif); font-stretch: 75%; font-weight: 400; color: var(--ink);
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); line-height: 1.04; letter-spacing: -0.01em; }
.cfg__subtitle { margin-top: 6px; font-size: .9375rem; color: var(--muted); min-height: 1.4em; }
.cfg.is-interior .cfg__head > :not(.cfg__caveat) { opacity: 0; }
.cfg__head > * { transition: opacity 500ms var(--ease-out); }
/* the chosen options our 3D does not show yet (8X Black Edition until P5, PLAN §9): a quiet line under the version;
   inside the car it stays, as a dark glass pill where the title was (P4 fix-r2, verify-r2 cn-parity) */
.cfg__caveat { display: flex; align-items: flex-start; gap: 8px; max-width: 46ch; margin-top: 8px; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
.cfg__caveat svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--cfg-ink-soft); }
.cfg__caveat[hidden] { display: none; }
/* inside the car the head keeps its widest box (min(560px, 60%); on phones the stage less its gutters on both sides),
   so the pill stays within it and clear of the hints on the right (QA fit: "spill out of header") */
.cfg.is-interior .cfg__head { width: calc(100% - 2 * var(--margin)); }
/* the pill lies over the faded title lines (a grid: the lines keep their places, no jump while they fade) and the head is
   at least as tall as the pill: on phones the design's head is the title alone, and a two- or three-line pill (ru
   390x844, 844x390) ran out of the box the viewer keeps clear (design merge fit check). The pill takes the extra
   height through the last, flexible row, so the title never moves */
.cfg.is-interior .cfg__head { display: grid; grid-template: auto 1fr / minmax(0, 1fr); align-items: start; }
.cfg.is-interior .cfg__title { grid-area: 1 / 1; }
.cfg.is-interior .cfg__subtitle { grid-area: 2 / 1; }
.cfg.is-interior .cfg__caveat { position: relative; z-index: 1; grid-area: 1 / 1 / 3 / 2; justify-self: start; width: max-content; max-width: min(46ch, 100%); margin: 0; padding: 8px 12px;
  border-radius: 14px; color: #fff; background: var(--cfg-glass-dark); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg.is-interior .cfg__caveat svg { color: rgb(255 255 255 / .8); }
/* the version's power beside its name (stage subtitle, enquiry) and under it (summary) */
.cfg__power:not([hidden])::before { content: " · "; }
.cfg__power[hidden] { display: none; }
/* the car turned under the title (free turns, zoom): a glass backing keeps it readable (QA R05; the step views keep
   the title clear, so it is not there) */
.cfg__head::before { content: ""; position: absolute; z-index: -1; inset: -12px -18px -10px; border-radius: 18px;
  background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .06);
  opacity: 0; transition: opacity 360ms var(--ease-out); }
.cfg.is-head-over:not(.is-interior) .cfg__head::before { opacity: 1; }

/* exterior / interior: a compact glass segmented control */
.cfg__views { position: absolute; z-index: 3; left: var(--margin); bottom: 22px; display: flex; gap: 2px; padding: 3px; border-radius: var(--pill);
  background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .08);
  transition: background-color var(--t-color) var(--ease-out); }
.cfg-view { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--pill); font-size: .8125rem; font-weight: 600;
  color: var(--cfg-ink-soft); white-space: nowrap; transition: color var(--t-color) var(--ease-out), background-color var(--t-color) var(--ease-out); }
.cfg-view:hover { color: var(--ink); }
.cfg-view[aria-pressed="true"] { color: #fff; background: var(--ink); }
.cfg-view:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the stage toolbar: the glass pill of the tools, then the full-view pill beside it */
.cfg__tools { position: absolute; z-index: 3; right: var(--margin); bottom: 22px; display: flex; align-items: center; gap: 8px; }
.cfg__tools-pill { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--pill);
  background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .08);
  transition: background-color var(--t-color) var(--ease-out); }
.cfg-tool { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 38px; height: 38px; padding: 0 9px; border-radius: var(--pill);
  font-size: .8125rem; font-weight: 600; color: var(--cfg-ink-soft); white-space: nowrap;
  transition: background-color var(--t-color) var(--ease-out), color var(--t-color) var(--ease-out); }
.cfg-tool svg { flex: none; width: 19px; height: 19px; stroke-width: 1.5; }
.cfg-tool__label { display: none; }
.cfg-tool--text .cfg-tool__label { display: inline; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.cfg-tool:hover { color: var(--ink); background: rgb(255 255 255 / .72); }
.cfg-tool[aria-pressed="true"] { color: #fff; background: var(--ink); }
.cfg-tool:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cfg__tools-sep { flex: none; width: 1px; height: 20px; margin-inline: 5px; background: rgb(26 25 23 / .14); }
.cfg__tools:not(:has(.cfg-tool--part:not([hidden]))) .cfg__tools-sep { display: none; }  /* no doors (no door data) */
/* wide stages: the parts are named, not only drawn */
@media (min-width: 1280px) {
  .cfg-tool--part { padding: 0 14px 0 11px; }
  .cfg-tool--part .cfg-tool__label { display: inline; }
}

/* action points on the car (doors, bonnet, boot, lamps, "enter"), placed by the script over the projected point of each
   part: a dark glass button with a white pictogram of what it does (owner 2026-10-19: "ikonki pokazujące co robią a nie
   puste kółko"; PLAN §2.5: a 16 px line icon, stroke 1.6, in the 30 px button), readable on white and black paint, on
   glass and on leather: the glass is dense enough that over white paint or white leather it stays about grey 100 under
   the white icon (fix-r1: at .42 it turned grey 125-155 there, under 3:1), and on a standard screen the stroke is a
   little heavier (1.6 units are 1.07 px at 16 px); it opens into a label on hover and keyboard focus (white, ink
   icon). Pressed = open: ink */
.cfg__hotspots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cfg-hotspot { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 30px; margin: -15px 0 0 -15px; padding: 0 7px; border-radius: var(--pill);
  color: #fff; background: rgb(20 19 18 / .66); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .72), 0 0 0 1px rgb(26 25 23 / .2), 0 6px 18px -8px rgb(26 25 23 / .6);
  opacity: 0; pointer-events: none; will-change: transform; touch-action: pan-y;   /* a finger drag that starts on a point turns the car as on the canvas (QA VFU-A11-05) */
  transition: opacity 220ms var(--ease-out), color 260ms var(--ease-out), background-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
.cfg-hotspot.is-visible { opacity: 1; pointer-events: auto; }
.cfg-hotspot__icon { position: relative; flex: none; display: grid; place-items: center; width: 16px; height: 16px; }
.cfg-hotspot__icon svg { display: block; width: 16px; height: 16px; overflow: visible; filter: drop-shadow(0 0 .5px rgb(14 13 12 / .5));
  transition: transform 260ms var(--ease-settle); }
@media (max-resolution: 1.49dppx) { .cfg-hotspot__icon svg { stroke-width: 1.9; } }
/* the ring breathes twice when a point appears (the source's dots pulse) */
.cfg-hotspot:not(.cfg-hotspot--icon) .cfg-hotspot__icon::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .85); opacity: 0; pointer-events: none; }
.cfg-hotspot.is-visible:not(.cfg-hotspot--icon) .cfg-hotspot__icon::after { animation: cfg-hotspot-breathe 2.8s var(--ease-out) 2 1s; }
@keyframes cfg-hotspot-breathe { 0% { opacity: .9; transform: scale(.7); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
.cfg-hotspot__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-size: .8125rem; font-weight: 600; line-height: 1; color: var(--ink);
  transition: max-width 380ms var(--ease-settle), margin 380ms var(--ease-settle), opacity 220ms var(--ease-out); }
.cfg-hotspot::before { content: ""; position: absolute; inset: var(--cfg-ring, -7px); border-radius: var(--pill); }   /* 44 px to tap */
/* less where a neighbour is nearer (Viewer.placeSpots sets --cfg-ring); a point under the pointer or the keyboard comes
   over its neighbours, so a click on its own label is its own (verify Z9-FUX-R2-05: the tailgate's "Zamknij" ran under
   the roof point's ring and the click worked the roof blind) */
.cfg-hotspot:is(:hover, :focus-visible, .is-told) { z-index: 2; }
.cfg-hotspot[aria-pressed="true"] { background: rgb(26 25 23 / .88); box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px rgb(26 25 23 / .25), 0 6px 18px -8px rgb(26 25 23 / .6); }
.cfg-hotspot:focus-visible { color: var(--ink); background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(26 25 23 / .08), 0 8px 22px -8px rgb(26 25 23 / .5); }
.cfg-hotspot:focus-visible .cfg-hotspot__icon svg { filter: none; }
.cfg-hotspot:focus-visible .cfg-hotspot__label { max-width: 240px; margin: 0 3px 0 8px; opacity: 1; }
/* a point without a pictogram yet (the new models' dot until am-cfg-models.js setIcon replaces it): a white dot */
.cfg-hotspot__dot { position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(26 25 23 / .28), 0 1px 4px rgb(26 25 23 / .45); }
.cfg-hotspot:is(:focus-visible, [aria-pressed="true"]) .cfg-hotspot__dot { background: var(--ink); box-shadow: 0 0 0 2px #fff; }
@media (hover: hover) {
  .cfg-hotspot:hover { color: var(--ink); background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(26 25 23 / .08), 0 8px 22px -8px rgb(26 25 23 / .5); }
  .cfg-hotspot:hover .cfg-hotspot__icon svg { filter: none; }
  .cfg-hotspot:hover .cfg-hotspot__label { max-width: 240px; margin: 0 3px 0 8px; opacity: 1; }
}
.cfg-hotspot.is-flip { flex-direction: row-reverse; translate: calc(-100% + 30px) 0; }
.cfg-hotspot.is-flip:is(:hover, :focus-visible) .cfg-hotspot__label { margin: 0 8px 0 3px; }
.cfg-hotspot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* the point in use draws over its neighbours (one stacking context): its open label is never under another dot (P4 fix-r4) */
.cfg-hotspot:is(:hover, :focus-visible, .is-told) { z-index: 2; }
/* (show-fix-page-r2, check-page a PGA-13) of overlapping points the one nearest the mouse (Viewer.nearSpot) is over the
   others, so the mouse on a point's own centre hovers and clicks that point */
.cfg-hotspot.is-near { z-index: 3; }
.cfg.is-interior .cfg__hotspots:not(.cfg__hotspots--cabin), .cfg:not(.is-interior) .cfg__hotspots--cabin, .cfg:not(.is-3d-ready) .cfg__hotspots { display: none; }

/* inside (S800): the same points on the moving parts of the cabin. While a part moves the point turns opaque white
   and an ink ring around its pictogram fills (it waits); a point that another open part keeps closed is dimmed and
   its label says why. Touch has no hover: a tap on a waiting point shows its label for a moment (is-told) */
.cfg-hotspot--cabin { background: rgb(14 13 12 / .66); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .62), 0 0 0 1px rgb(26 25 23 / .12), 0 6px 18px -8px rgb(26 25 23 / .55); }
.cfg-hotspot--cabin.is-told { color: var(--ink); background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(26 25 23 / .08), 0 8px 22px -8px rgb(26 25 23 / .5); }
.cfg-hotspot--cabin.is-told .cfg-hotspot__icon svg { filter: none; }
.cfg-hotspot--cabin.is-told .cfg-hotspot__label { max-width: 240px; margin: 0 3px 0 8px; opacity: 1; }
.cfg-hotspot--cabin.is-flip.is-told .cfg-hotspot__label { margin: 0 8px 0 3px; }
.cfg-hotspot--cabin[aria-disabled="true"] { cursor: default; }
.cfg-hotspot--cabin.is-locked .cfg-hotspot__icon { opacity: .5; }
.cfg-hotspot--cabin.is-locked .cfg-hotspot__label { color: var(--cfg-ink-soft); }
.cfg-hotspot--cabin .cfg-hotspot__icon::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; opacity: 0;
  background: conic-gradient(var(--ink) calc(var(--cfg-run, 0) * 1turn), rgb(26 25 23 / .16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  transition: opacity 260ms var(--ease-out); }
.cfg-hotspot--cabin.is-busy { color: var(--ink); background: rgb(255 255 255 / .92); }
.cfg-hotspot--cabin.is-busy .cfg-hotspot__icon::before { opacity: 1; }
.cfg-hotspot--cabin.is-busy .cfg-hotspot__icon svg { filter: none; transform: scale(.8); }
/* a door button inside that is out of view waits at the stage edge (model.json pinDoorButtons, verify Z9-FUX-05): a
   small arrow outside its ring points to where the door is */
.cfg-hotspot__edge { display: none; }
.cfg-hotspot.is-edge .cfg-hotspot__edge { position: absolute; top: 50%; display: flex; width: 12px; height: 12px; margin-top: -6px; color: #fff; filter: drop-shadow(0 1px 2px rgb(14 13 12 / .7)); pointer-events: none; }
.cfg-hotspot.is-edge-left .cfg-hotspot__edge { left: -15px; }
.cfg-hotspot.is-edge-right .cfg-hotspot__edge { right: -15px; transform: scaleX(-1); }
/* on dark leather an ink ring disappears: white with a dark edge, as the seat pill (QA UX13) */
.cfg-hotspot--cabin:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px rgb(14 13 12 / .55), 0 8px 22px -8px rgb(26 25 23 / .5); }

/* the full view (owner 2026-10-22: "pełny ekran powinien wyglądać inaczej, powinien chować się tylko ten panel i nie
   wchodzić w fullscreen i guzik do tego powinien być bardziej widoczny"). No browser fullscreen: the pill hides the
   options column (step tabs, option rows, the bar; beside the studio in the studio split, below it on a portrait
   screen) and the studio takes the whole window under the glass header; the
   title, the view, seat and tool pills and the points stay. A pill of its own beside the tools: dark glass with white
   text on the light studio (and over any paint), white with ink text inside the car, there with a dark edge that
   stays 3:1 over white leather (fix-r1); 44 px high. It always shows its text, the name of what it does: where the
   toolbar row has no room for it (a phone held upright) it stands alone in the top right corner of the stage */
.cfg__stage { container: cfg-stage / inline-size; }
.cfg-full { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 18px 0 14px;
  border-radius: var(--pill); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap;
  color: #fff; background: rgb(20 19 18 / .84); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 0 0 1px rgb(26 25 23 / .1), 0 10px 24px -12px rgb(14 13 12 / .6);
  transition: background-color var(--t-color) var(--ease-out), color var(--t-color) var(--ease-out), box-shadow var(--t-color) var(--ease-out), transform 160ms var(--ease-out); }
.cfg-full__state { display: inline-flex; align-items: center; gap: 8px; }
.cfg-full__state svg { flex: none; width: 19px; height: 19px; stroke-width: 1.7; }
.cfg-full__text { display: inline-block; max-width: 14em; overflow: hidden; white-space: nowrap; }
/* the state not shown is laid out out of sight (not read, not drawn): PanelView.place measures the longer text, so the
   pill keeps its place when it toggles */
.cfg-full__state--on, .cfg-full[aria-expanded="false"] .cfg-full__state--off { position: absolute; visibility: hidden; }
.cfg-full[aria-expanded="false"] .cfg-full__state--on { position: static; visibility: visible; }
.cfg-full:hover { background: rgb(14 13 12 / .96); }
.cfg-full:active { transform: scale(.97); }
/* the focus ring in two tones, seen on any background: white, ink, white (fix-r1: white on white leather was 1.2:1) */
.cfg-full:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 0 0 2px #fff, 0 0 0 5.5px #fff, 0 10px 24px -12px rgb(14 13 12 / .6); }
.cfg.is-interior .cfg-full { color: var(--ink); background: rgb(255 255 255 / .94); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .1), 0 0 0 2px rgb(14 13 12 / .72), 0 10px 24px -12px rgb(0 0 0 / .7); }
.cfg.is-interior .cfg-full:hover { background: #fff; }
.cfg.is-interior .cfg-full:focus-visible { outline-color: var(--ink); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .1), 0 0 0 2px rgb(14 13 12 / .72), 0 0 0 5.5px #fff, 0 10px 24px -12px rgb(0 0 0 / .7); }
/* no room for the text in the toolbar row (PanelView.place): the pill alone in the top right corner of the stage (below
   the seat pill or the title where they reach into it, --cfg-full-top), the tools pill keeps the corner below */
.cfg.is-full-top .cfg__tools { position: static; display: block; }
.cfg.is-full-top .cfg__tools-pill { position: absolute; z-index: 3; right: var(--margin); bottom: 22px; }
.cfg.is-full-top .cfg-full { position: absolute; z-index: 3; right: var(--margin); top: var(--cfg-full-top, calc(var(--cfg-top, 0px) + 20px)); }
/* ... where that corner has no room above the tools pill a row up (a phone's short stage under the seat pill and two
   rows of seat scenes; PanelView.place, fullSpot: is-full-low): beside the view switch or the tools, only its icon where
   its text has no room there (is-full-icon; the name stays for screen readers; camchk 2026-11-05 D9-R1-02) */
.cfg.is-full-top.is-full-low .cfg-full { top: var(--cfg-full-low); right: var(--cfg-full-right); }
.cfg.is-full-icon .cfg-full { width: 44px; padding: 0; }
.cfg.is-full-icon .cfg-full__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cfg.is-full-top .cfg__hint { display: none; }
/* the pills change place (PanelView.swapped, fix-r2): they fade in where they stand now, no jump */
.cfg.is-full-swap :is(.cfg-full, .cfg__tools-pill) { animation: cfg-full-in 220ms var(--ease-out) both; }
@keyframes cfg-full-in { from { opacity: 0; } to { opacity: 1; } }
/* (the corner on phones and in the studio split: in the layout blocks of the owner's design below) */
/* the panel hidden: the studio alone fills the window, the glass header over its top as always (the studio split's
   .cfg is the window's height; the column keeps its place in the page, so it comes back as it was). [data-configurator]
   outweighs the portrait summary and enquiry, where the page scrolls (height auto) */
.cfg.is-panel-collapsed[data-configurator] { display: grid; grid-template: "stage" minmax(0, 1fr) / minmax(0, 1fr); height: 100svh; min-height: 280px; }
.cfg.is-panel-collapsed .cfg__stage { height: auto; min-height: 0; }
.cfg.is-panel-collapsed:not(.is-panel-anim) .cfg__dock { display: none; }
/* on the way (am-cfg-ext.js PanelView sets the sizes frame by frame): the studio over the column (a portrait screen),
   or beside it (the studio split); the column keeps its inside layout and is cut at its edge, so it slides out and back */
.cfg.is-panel-anim[data-configurator] { display: block; height: auto; min-height: 0; }
.cfg.is-panel-anim.is-panel-side[data-configurator] { display: grid; grid-template: "stage dock" minmax(0, 1fr) / minmax(0, 1fr) auto; height: 100svh; min-height: 300px; }
.cfg.is-panel-anim .cfg__dock { overflow: hidden; overflow: clip; }
.cfg.is-panel-anim.is-panel-side .cfg__dock > * { width: var(--cfg-dock-w, auto); }
/* the pointer or the keyboard on the full-view pill: the panel is already the layer the move makes of it (PanelView
   prime; the same pixels, fix-r1) */
.cfg__dock.is-primed { opacity: .999; overflow: hidden; overflow: clip; }

/* tooltips: tools and colour chips name themselves on hover and keyboard focus */
@media (hover: hover) and (pointer: fine) {
  .cfg [data-tip] { position: relative; }
  @media (min-width: 1280px) { .cfg-tool--part[data-tip]::after { display: none; } }
  /* '/ ""': the tooltip is seen, not part of the element's name (the reason of a disabled control is its description,
     P9b verify-r1: "Wnętrze 360° Zdjęcia 360° są dostępne…" as the name); a browser without the alternative text
     syntax keeps the first declaration */
  .cfg [data-tip]::after { content: attr(data-tip); content: attr(data-tip) / ""; position: absolute; z-index: 6; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
    padding: 5px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
  .cfg [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0); }
  .cfg-tool[aria-pressed="true"]::after { background: var(--ink); }
  /* (show-fix-page-r2, check-page c PC2-08: "Widok początkowy", the last tool, stood 21-34 px out of the window at
     479-1024 px, centred over a button at the stage's right edge) the last tool's tip ends at its button's right edge */
  .cfg__tools-pill > [data-tip]:last-child::after { left: auto; right: 0; transform: translate(0, 4px); }
  .cfg__tools-pill > [data-tip]:last-child:is(:hover, :focus-visible)::after { transform: translate(0, 0); }
}

/* the drag hint sits in the empty upper right, never on the car */
.cfg__hint { position: absolute; z-index: 3; right: var(--margin); top: calc(var(--cfg-top) + clamp(24px, 3vw, 44px)); display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: var(--cfg-ink-soft); pointer-events: none; white-space: nowrap; transition: opacity 600ms var(--ease-out); }
.cfg__hint svg { width: 18px; height: 18px; }
.cfg__hint-in { display: none; }
.cfg.is-interior .cfg__hint-out { display: none; }
.cfg.is-interior .cfg__hint-in { display: inline; }
.cfg.is-interior .cfg__hint { padding: 6px 12px; border-radius: var(--pill); color: #fff; background: var(--cfg-glass-dark);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); }
.cfg.has-interacted .cfg__hint, .cfg:not(.is-3d-ready) .cfg__hint { opacity: 0; }
.cfg__zoom-hint { position: absolute; z-index: 4; left: 50%; bottom: 96px; transform: translate(-50%, 6px); padding: 7px 14px; border-radius: var(--pill);
  background: rgb(26 25 23 / .82); color: #fff; font-size: .8125rem; white-space: nowrap; pointer-events: none; opacity: 0;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.cfg__zoom-hint.is-on { opacity: 1; transform: translate(-50%, 0); }

.cfg:not(.is-3d-ready) :is(.cfg__views, .cfg__tools) { opacity: .45; pointer-events: none; }
.cfg.is-3d-failed :is(.cfg__views, .cfg__tools, .cfg__hint, .cfg__zoom-hint) { display: none; }
/* inside the car the controls sit on imagery: dark glass, denser than outside, and labels near white, so they keep
   4.5:1 over a white headliner or white seats (QA UX04: .46 glass and 76% labels came out at 3.4:1) */
.cfg.is-interior { --cfg-glass-dark: rgb(14 13 12 / .64); }
.cfg.is-interior .cfg__views { background: var(--cfg-glass-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg.is-interior .cfg-view { color: rgb(255 255 255 / .92); }
.cfg.is-interior .cfg-view[aria-pressed="true"] { color: var(--ink); background: #fff; }
.cfg.is-interior .cfg__tools-pill { background: var(--cfg-glass-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg.is-interior .cfg-tool { color: rgb(255 255 255 / .92); }
.cfg.is-interior .cfg-tool:hover { color: #fff; background: rgb(255 255 255 / .12); }
.cfg.is-interior .cfg-tool[aria-pressed="true"] { color: var(--ink); background: #fff; }
.cfg.is-interior .cfg__tools-sep { background: rgb(255 255 255 / .22); }
.cfg.is-interior :is([data-cfg-action="rotate"], [data-cfg-action="points"]) { position: absolute; visibility: hidden; pointer-events: none; }  /* no 360° and no points tool inside; laid out out of the row, unseen, so PanelView.place measures the pill as outside (fix-r2) */
/* the seat viewpoints (S800): the view switch's dark glass pill, where the title sits outside (hidden inside) */
.cfg__seats { position: absolute; z-index: 3; top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px)); left: var(--margin); display: none; gap: 2px; padding: 3px; border-radius: var(--pill);
  max-width: calc(100% - 2 * var(--margin)); scrollbar-width: none;
  background: var(--cfg-glass-dark); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg__seats::-webkit-scrollbar { display: none; }
/* the drag hint inside a cabin with seat viewpoints: under the seat pill, never on its end */
.cfg.is-interior:has(.cfg__seats) .cfg__hint { left: var(--margin); right: auto; top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px) + var(--cfg-seats-h, 44px) + 8px); }
/* ... and under the seat scenes where a cabin has them (D9/N9 .cfg__layouts, its height --cfg-layouts-h from
   am-cfg-models.js): it lay on "Kino w pierwszym rzędzie" for its first 6 s (INT fix-r1) */
.cfg.is-interior:has(.cfg__layouts:not([hidden])) .cfg__hint { left: var(--margin); right: auto; top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px) + var(--cfg-layouts-h, 50px) + 8px); }
.cfg.is-interior:has(.cfg__seats):has(.cfg__layouts:not([hidden])) .cfg__hint { top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px) + var(--cfg-seats-h, 44px) + 8px + var(--cfg-layouts-h, 50px) + 8px); }   /* the seat pill's height: am-configurator.js fitSeats */
.cfg.is-interior.is-3d-ready .cfg__seats { display: flex; }
/* a caveat pill inside the car (S800 roof and wood until P5) keeps its place: the seat pill and the hint go under it
   (StepUi.placeCaveat measures --cfg-caveat-room; P4 fix-r4) */
.cfg.is-interior .cfg__seats, .cfg.is-interior:has(.cfg__seats) .cfg__hint { translate: 0 var(--cfg-caveat-room, 0px); }
.cfg__seats .cfg-view { flex: none; }
.cfg__seats .cfg-view:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }   /* inside the pill: never cut off */
.cfg__seats .cfg-view[aria-pressed="true"]:focus-visible { outline-color: var(--ink); }
/* a pill wider than its stage keeps every seat whole (am-configurator.js fitSeats; wrap-fix-r2, owner: nothing clipped):
   first narrower buttons, then two rows, a column per row of the car with the left seat over the right one */
.cfg__seats.is-tight .cfg-view { padding: 0 8px; }
.cfg.is-interior.is-3d-ready .cfg__seats.is-grid { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: auto; width: max-content; border-radius: 22px; }
.cfg__seats.is-grid .cfg-view { justify-content: center; min-width: 0; white-space: normal; line-height: 1.2; text-align: center; }
/* a pill wider than the stage even so scrolls: the cut edge fades (QA UX05) */
.cfg__seats.has-next { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.cfg__seats.has-prev { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.cfg__seats.has-prev.has-next { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
/* a seat the source switches off while a part takes it (the passenger seat folds for the rear right recline) */
.cfg__seats .cfg-view[aria-disabled="true"] { color: rgb(255 255 255 / .5); cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .cfg__seats [data-tip]::after { top: calc(100% + 8px); bottom: auto; transform: translate(-50%, -4px); }   /* the pill sits at the top */
}

/* ---------- the options column: the step row, the panel of the step (it scrolls on its own), the bar ---------- */
/* one flex column wherever it sits (beside the stage or below it); the bar and the step row are outside the scroller,
   so they never cover an option. Spacing on the 4/8 scale */
.cfg__dock { grid-area: dock; position: relative; z-index: 5; display: flex; flex-direction: column; min-width: 0; min-height: 0;
  --margin: 24px; background: var(--surface); }

/* the step row: numbered tabs (52 px, SPEC tabs); wider than its column it scrolls sideways: a 56 px fade at a cut
   edge and round arrows that page whole tabs past it (am-configurator.js pageTabs, the same 56 px) */
.cfg-steps { position: relative; z-index: 1; flex: none; border-bottom: 1px solid var(--line); background: var(--surface);
  transition: box-shadow var(--t-color) var(--ease-out); }
.cfg-tabs { position: relative; display: flex; gap: 24px; padding-inline: var(--margin); overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--margin); }
.cfg-tabs::-webkit-scrollbar { display: none; }
.cfg-tabs.has-next { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.cfg-tabs.has-prev { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.cfg-tabs.has-prev.has-next { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.cfg-tab { position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 15px 0;
  font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--muted); white-space: nowrap; transition: color var(--t-color) var(--ease-out); }
.cfg-tab__num { display: inline-grid; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); font-variant-numeric: proportional-nums; }
.cfg-tab__num > * { grid-area: 1 / 1; }
.cfg-tab__num svg { width: 14px; height: 14px; stroke-width: 1.8; align-self: center; justify-self: center; opacity: 0; transform: translateY(1px); }
.cfg-tab.is-done .cfg-tab__digits { opacity: 0; }
.cfg-tab.is-done .cfg-tab__num svg { opacity: 1; color: var(--ink); }
.cfg-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--ease-settle); }
.cfg-tab:hover { color: var(--ink); }
.cfg-tab[aria-selected="true"] { color: var(--ink); }
.cfg-tab[aria-selected="true"]::after { transform: scaleX(1); }
.cfg-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; border-radius: 4px; }
.cfg-tab--enquiry .cfg-tab__label { color: inherit; }
.cfg-steps__arrow { position: absolute; z-index: 2; top: 50%; display: none; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 4px 12px -6px rgb(26 25 23 / .3);
  transition: box-shadow var(--t-color) var(--ease-out); }
.cfg-steps__arrow svg { width: 16px; height: 16px; }
.cfg-steps__arrow:hover { box-shadow: inset 0 0 0 1px var(--line-strong), 0 4px 12px -6px rgb(26 25 23 / .4); }
.cfg-steps__arrow--prev { left: 8px; }
.cfg-steps__arrow--next { right: 8px; }
@media (hover: hover) and (pointer: fine) {
  .cfg-tabs.has-prev ~ .cfg-steps__arrow--prev, .cfg-tabs.has-next ~ .cfg-steps__arrow--next { display: grid; }
  /* with the arrows: the label is hidden under and outside each arrow (0–44 px) and fades in over 44–76 px */
  .cfg-tabs.has-next { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 76px), transparent calc(100% - 44px)); mask-image: linear-gradient(90deg, #000 calc(100% - 76px), transparent calc(100% - 44px)); }
  .cfg-tabs.has-prev { -webkit-mask-image: linear-gradient(90deg, transparent 44px, #000 76px); mask-image: linear-gradient(90deg, transparent 44px, #000 76px); }
  .cfg-tabs.has-prev.has-next { -webkit-mask-image: linear-gradient(90deg, transparent 44px, #000 76px, #000 calc(100% - 76px), transparent calc(100% - 44px)); mask-image: linear-gradient(90deg, transparent 44px, #000 76px, #000 calc(100% - 76px), transparent calc(100% - 44px)); }
}

/* the panel of a step: the only scroller of the column (the summary and the enquiry too), from the top (a centred
   overflow could not be scrolled to its start). No fade over the options: while there is more to see, the step row
   or the bar casts a soft edge shadow onto the panel (owner 2026-10-22: nothing hidden or covered) */
.cfg-panels { flex: 1 1 auto; min-height: 0; min-width: 0; overflow: hidden; container: cfg-panels / inline-size; }
.cfg-panel:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-start; gap: 24px; height: 100%;
  padding: 24px var(--margin) 32px; overflow-y: auto; overscroll-behavior-y: contain; scroll-padding-block: 16px; scrollbar-gutter: stable;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; animation: cfg-panel-in 420ms var(--ease-settle) both; }
.cfg-panel:focus { outline: none; }
.cfg__dock:has(.cfg-panel.has-more-above:not([hidden])) .cfg-steps { box-shadow: 0 8px 12px -12px rgb(26 25 23 / .3); }
.cfg__dock:has(.cfg-panel.has-more-below:not([hidden])) .cfg-bar { box-shadow: 0 -8px 12px -12px rgb(26 25 23 / .3); }
@keyframes cfg-panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* a row: its title above the options, every option in a grid below; a wide column (tablets) puts the title and the
   chosen option beside the grid. In the narrow column the ringed card names the choice, so the row title says only
   what the row is (the chosen name stays for screen readers); the paint row keeps it (its chips have no text) */
.cfg-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; align-items: start; flex: none; min-width: 0; }
.cfg-row[hidden] { display: none; }
.cfg-panel--rows > :is(.cfg-row, .cfg-infos):not([hidden]) ~ :is(.cfg-row, .cfg-infos):not([hidden]) { padding-top: 24px; border-top: 1px solid var(--hair); }
.cfg-row__head { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.cfg-row__label { display: flex; align-items: center; gap: 8px; font-size: .8125rem; line-height: 1.3; color: var(--muted); }
/* the row's pictogram, drawn for that car (views/configurator.ejs rowArt / optionArt) */
.cfg-row__icon { display: grid; flex: none; place-items: center; width: 22px; height: 22px; color: inherit; }
.cfg-row__icon svg { width: 22px; height: 22px; }
.cfg-row__body { min-width: 0; }
.cfg-row__value { font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--ink);
  overflow-wrap: anywhere; transition: color var(--t-color) var(--ease-out); }
.cfg-row__value.is-preview { color: var(--cfg-ink-soft); }   /* the colour under the pointer, not chosen yet */
.cfg-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.cfg-row__meta > span:empty { display: none; }
.cfg-row:not(.cfg-row--colour) .cfg-row__meta { display: none; }   /* the ringed card shows the meta and the tag */
.cfg-row__range { margin-top: 4px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.cfg-row--colour .cfg-row__meta:has(> [data-cfg-current-meta]:empty):has(> .cfg-tag:not([hidden])) { margin-top: 4px; }
/* the check row (options) names how many are ticked: a quiet sans line at every width, never a serif title */
.cfg-row--check .cfg-row__value { font: 400 .8125rem/1.4 var(--sans); font-stretch: 100%; color: var(--muted); }
/* the layout (9X seats, 8X line): a segmented switch in the version row's head, each side with its pictogram */
.cfg-row__head > .cfg-row--segment { justify-self: stretch; margin-top: 4px; }
/* side by side while each side keeps 200 px (its name, a word joiner after the hyphen, never breaks), else one under the
   other like the design's two layout cards: the 200 px title column of a wide panel (834 x 1112) put both sides in
   92 px each and "5-Seater" ran out of its side (design merge fit check) */
.cfg-segment { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 4px; max-width: 100%; padding: 4px; border-radius: 14px; background: var(--panel); }
.cfg-seg { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 4px 12px 4px 4px; border-radius: 10px; text-align: left; color: var(--muted);
  transition: background-color var(--t-color) var(--ease-out), color var(--t-color) var(--ease-out), box-shadow var(--t-color) var(--ease-out); }
.cfg-seg[hidden] { display: none; }
.cfg-seg:hover { color: var(--ink); }
.cfg-seg[aria-checked="true"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cfg-seg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cfg-seg__art { display: grid; place-items: center; flex: none; width: 32px; height: 32px; }
.cfg-seg__art svg { width: 30px; height: 30px; }
.cfg-seg__text { display: grid; gap: 2px; min-width: 0; }
.cfg-seg__name { font-size: .875rem; font-weight: 600; line-height: 1.25; overflow-wrap: break-word; }
.cfg-seg__meta { font-size: .75rem; line-height: 1.3; color: var(--muted); }
.cfg-seg .cfg-card__reason { display: none; }
.cfg-pager { display: flex; align-items: center; gap: 4px; }
.cfg-pager[hidden] { display: none; }
.cfg-pager__btn { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cfg-pager__btn::before { content: ""; position: absolute; inset: -6px; }   /* 44 px to tap */
.cfg-pager__btn svg { width: 16px; height: 16px; }
.cfg-pager__btn:disabled { opacity: .32; cursor: default; }
.cfg-pager__count { min-width: 48px; text-align: center; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@container cfg-panels (max-width: 639px) {
  .cfg-row__label { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
  .cfg-segment { width: 100%; }
  .cfg-row:is(.cfg-row--version, .cfg-row--text, .cfg-row--kit, .cfg-row--image) .cfg-row__value {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cfg-row--check .cfg-row__value { font: 400 .8125rem/1.4 var(--sans); font-stretch: 100%; color: var(--muted); }
}
@container cfg-panels (min-width: 640px) {
  .cfg-panel > .cfg-row:not(.cfg-row--info) { grid-template-columns: 200px minmax(0, 1fr); column-gap: 32px; }
  .cfg-row__value { font-size: 1.375rem; line-height: 1.15; text-wrap: balance; }
  .cfg-row--check .cfg-row__value { font: 400 .8125rem/1.4 var(--sans); font-stretch: 100%; }
  .cfg-row--check .cfg-row__label { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
}

/* status tags: "W standardzie", "Opcja", "W cenie" (no amounts, owner 2026-10-19) */
/* One line is a pill; a tag longer than its card (ru "В стандартной комплектации" on a phone's wheel card) wraps
   inside it into a rounded box instead of spilling out (owner 2026-10-22 "nothing cut off", P4 fix-r1) */
.cfg-tag { display: inline-flex; align-items: center; align-self: flex-start; max-width: 100%; min-height: 20px; padding: 2px 8px; border-radius: 10px;
  font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: .02em; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); white-space: normal; overflow-wrap: anywhere; }
.cfg-tag[hidden] { display: none; }
.cfg-tag--quiet { min-height: 0; padding: 1px 8px; }

/* the options of a row: a grid that wraps (the old sideways rail; the element keeps its name for the script, which
   only scrolls it when it overflows, so here it never does) */
.cfg-rail-wrap { position: relative; min-width: 0; }
.cfg-rail { --cfg-card-min: 240px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--cfg-card-min)), 1fr)); gap: 8px; min-width: 0; }
.cfg-rail > * { min-width: 0; }
.cfg-row--image .cfg-rail { --cfg-card-min: 150px; }

/* colour chips: a dot with a paint sheen, six to a row; the chosen name is the row title, others name themselves on
   hover */
.cfg-row--colour .cfg-rail { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px 4px; }
.cfg-chip { position: relative; display: grid; justify-items: center; align-content: center; width: auto; padding: 4px 0; text-align: center; border-radius: 50%; }
.cfg-chip[hidden] { display: none; }
.cfg-chip__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cfg-chip__dot { position: relative; width: 48px; height: 48px; border-radius: 50%;
  background:
    radial-gradient(120% 90% at 30% 22%, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / 0) 42%),
    radial-gradient(100% 100% at 70% 90%, rgb(0 0 0 / .32) 0%, rgb(0 0 0 / 0) 60%),
    var(--swatch);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), 0 1px 2px rgb(0 0 0 / .12);
  transition: box-shadow var(--t-color) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.cfg-chip[data-finish="metallic"] .cfg-chip__dot {
  background:
    radial-gradient(120% 90% at 30% 22%, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / 0) 42%),
    radial-gradient(70% 50% at 66% 70%, rgb(255 255 255 / .16) 0%, rgb(255 255 255 / 0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='56' height='56' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(100% 100% at 70% 90%, rgb(0 0 0 / .32) 0%, rgb(0 0 0 / 0) 60%),
    var(--swatch); }
.cfg-chip[data-finish="matte"] .cfg-chip__dot { background: radial-gradient(100% 100% at 70% 90%, rgb(0 0 0 / .25) 0%, rgb(0 0 0 / 0) 60%), var(--swatch); }
.cfg-chip--duo .cfg-chip__dot {
  background:
    radial-gradient(120% 90% at 30% 22%, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / 0) 42%),
    radial-gradient(100% 100% at 70% 90%, rgb(0 0 0 / .28) 0%, rgb(0 0 0 / 0) 60%),
    linear-gradient(180deg, var(--swatch) 0 46%, var(--swatch-2) 46% 100%); }   /* [top, bottom] as in the data */
.cfg-chip:hover .cfg-chip__dot { transform: translateY(-1px); }
.cfg-chip[aria-checked="true"] .cfg-chip__dot { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), 0 0 0 3px var(--surface), 0 0 0 4.5px var(--ink); }
.cfg-chip:focus-visible { outline: none; }
.cfg-chip:focus-visible .cfg-chip__dot { outline: 2px solid var(--ink); outline-offset: 6px; }
/* a colour a rule keeps out: crossed out, its reason in the tooltip and the row title (on hover and focus) */
/* the only colour of a version (locked, "W standardzie": chosen and disabled, plan §2.1) stays as it is (P4) */
.cfg-chip[aria-disabled="true"] { cursor: default; }
.cfg-chip[aria-disabled="true"]:not([aria-checked="true"]) { cursor: not-allowed; }
.cfg-chip[aria-disabled="true"]:not([aria-checked="true"]) .cfg-chip__dot { opacity: .45; }
.cfg-chip[aria-disabled="true"]:not([aria-checked="true"]) .cfg-chip__dot::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; background: var(--ink); transform: rotate(45deg); }
/* the wide column (tablets, where touch has no hover names): every paint named under its dot */
@container cfg-panels (min-width: 640px) {
  .cfg-row--colour .cfg-rail { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 16px 4px; align-items: start; }
  .cfg-row--colour .cfg-chip { align-content: start; gap: 8px; border-radius: 12px; }
  .cfg-row--colour .cfg-chip__name { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal;
    font-size: .75rem; line-height: 1.3; color: var(--muted); overflow-wrap: break-word; hyphens: manual; }
  .cfg-row--colour .cfg-chip[aria-checked="true"] .cfg-chip__name { color: var(--ink); font-weight: 600; }
  .cfg-row--colour .cfg-chip__name [data-cfg-tag-sr] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@container cfg-panels (max-width: 420px) {
  .cfg-row--colour .cfg-rail { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); }
  .cfg-chip__dot { width: 44px; height: 44px; }
  /* the focus ring stays 6 px out, a second ring outside the chosen one (3-4.5 px): at 3 px it lay on it and a focused
     chip looked like an unfocused one (P4 fix-r4, verify-r4 ux, WCAG 2.4.7). It clears the next dot: >= 11.8 px apart */
}

/* cards: versions, trim, text, check, wheels and interiors (rendered images); one selection style with a check badge.
   They take the width of their grid cell and show all of their text (nothing clamped, owner 2026-10-22) */
.cfg-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: auto; min-width: 0; text-align: left; border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink);
  transition: box-shadow var(--t-color) var(--ease-out), background-color var(--t-color) var(--ease-out), opacity var(--t-color) var(--ease-out); }
.cfg-card[hidden] { display: none; }
.cfg-card:hover { box-shadow: inset 0 0 0 1px rgb(26 25 23 / .42), 0 6px 16px -12px rgb(26 25 23 / .4); }
.cfg-card[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cfg-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cfg-card__check { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: #fff; opacity: 0; transform: scale(.7); transition: opacity var(--t-color) var(--ease-out), transform var(--t-color) var(--ease-out); }
.cfg-card__check svg { width: 12px; height: 12px; stroke-width: 2; }
.cfg-card[aria-checked="true"] .cfg-card__check { opacity: 1; transform: none; }
/* the text never grows the card: its longest word or tag no longer sets a width wider than the card (P4 fix-r1) */
.cfg-card__text { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 4px; min-width: 0; max-width: 100%; }
/* cards of one grid row are equally tall: the text column fills the card and its tag sits at the foot, in line */
.cfg-card:where(:not(.cfg-card--version)) .cfg-card__text { flex: 1 1 auto; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cfg-card__name { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.cfg-card__meta { font-size: .8125rem; line-height: 1.4; color: var(--muted); }
/* the names are the maker's English ones on a Polish page: no hyphenation (it split "Whe-els"), a very long word
   still breaks */
.cfg-card__name, .cfg-card__meta, .cfg-card__reason { overflow-wrap: break-word; hyphens: manual; }
.cfg-card__caveat { color: var(--ink); }
.cfg-card:where(:not(.cfg-card--version)) .cfg-card__text::before { content: ""; order: 1; flex: none; margin-top: auto; }
.cfg-card:where(:not(.cfg-card--version)) .cfg-card__text > .cfg-tag { order: 1; }
.cfg-card:where(:not(.cfg-card--version)) .cfg-card__text > .cfg-card__reason { order: 2; }
/* the version's power under its name (owner 2026-10-22: "NNN kW (NNN KM)" from the CN spec sheet) */
.cfg-card__power { font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
/* an option our 3D does not show yet: the line says so, with the small info mark (views/configurator.ejs lacks3d) */
.cfg-card__caveat--no3d svg { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
/* a card's name is read as "name, power, meta, tag": a comma for screen readers only, nothing on screen (P4 fix-r1) */
.cfg-card :is(.cfg-card__power, .cfg-card__meta, .cfg-tag)::before, .cfg-seg__meta::before { content: "" / ", "; }
/* a card a rule keeps out (the CN configurators grey it): dimmed, with its reason; the keyboard still reaches it */
.cfg-card[aria-disabled="true"]:not([aria-checked="true"]) { cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--hair); background: var(--panel); }
.cfg-card[aria-disabled="true"]:not([aria-checked="true"]) :is(.cfg-card__name, .cfg-card__media, .cfg-card__trim, .cfg-card__art, .cfg-card__dot, .cfg-tag) { opacity: .5; }
.cfg-card[aria-disabled="true"][aria-checked="true"] { cursor: default; }   /* fixed by the version: ticked or the only choice */
.cfg-card__reason { display: flex; gap: 8px; align-items: flex-start; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
.cfg-card__reason[hidden] { display: none; }
.cfg-card__reason::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--accent); }

.cfg-card--version { min-height: 64px; padding: 16px 40px 16px 16px; justify-content: center; }

.cfg-card--kit { flex-direction: row; align-items: flex-start; gap: 12px; min-height: 64px; padding: 12px 40px 12px 16px; }
.cfg-card__trim { flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .16); background: var(--cfg-paint, #777); }
.cfg-card__trim[data-finish="satin-silver"] { background: linear-gradient(135deg, #DADAD7 0%, #B8B8B4 55%, #A3A3A0 100%); }
.cfg-card__trim[data-finish="gloss-black"] { background: radial-gradient(90% 70% at 32% 26%, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / 0) 40%), #111; }
.cfg-card__trim[data-finish="gloss-silver"] { background: radial-gradient(90% 70% at 32% 26%, rgb(255 255 255 / .95) 0%, rgb(255 255 255 / 0) 42%), linear-gradient(160deg, #F0F0EE, #C9C9C6); }
.cfg-card__trim[data-finish="body"] { background: radial-gradient(90% 70% at 32% 26%, rgb(255 255 255 / .45) 0%, rgb(255 255 255 / 0) 42%), var(--cfg-paint, #777);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .16), 0 0 0 2px var(--surface), 0 0 0 3px var(--line-strong); }   /* "follows the paint": a ring */

/* text cards (battery, driver assistance, screen, wood, roof …) and check cards (options) */
.cfg-card--text, .cfg-card--check { min-height: 64px; padding: 12px 40px 12px 16px; flex-direction: row; gap: 12px; }
.cfg-card__art { display: grid; flex: none; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 10px; background: var(--panel); color: var(--ink); }
.cfg-card__art svg { width: 40px; height: 40px; }
.cfg-card--text:has(> .cfg-card__art), .cfg-card--check:has(> .cfg-card__art) { padding-left: 12px; }
.cfg-card__dot { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.cfg-card__dot.cfg-chip--duo { background: linear-gradient(180deg, var(--swatch) 0 46%, var(--swatch-2) 46% 100%); }
/* a check card: a square box instead of the round badge, always there (empty when not ticked) */
.cfg-card--check .cfg-card__check { top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 5px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-input);
  color: transparent; opacity: 1; transform: none; }
.cfg-card--check[aria-checked="true"] .cfg-card__check { background: var(--ink); box-shadow: none; color: #fff; }
.cfg-card--check[aria-disabled="true"][aria-checked="true"] { cursor: default; }
.cfg-card--check[aria-disabled="true"][aria-checked="true"] .cfg-card__check { background: var(--muted); }

/* wheels and interiors: the rendered picture on top, then the name, the meta and the tag */
.cfg-card--image { padding: 4px 4px 12px; gap: 8px; }
.cfg-card__media { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #ECEAE6, #E1DED9); }
.cfg-card--wheel .cfg-card__media { aspect-ratio: 2 / 1; background: var(--cfg-studio); }   /* the wheel is round: a lower box, the same wheel size */
.cfg-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cfg-card__media.is-art { display: grid; place-items: center; background: var(--cfg-studio); color: rgb(26 25 23 / .5); }
.cfg-card__media.is-art svg { width: auto; height: 72%; }
/* materials: the trims as the vmall tiles show them (white piano lacquer, high-gloss and matte walnut) */
.cfg-mat { display: block; width: 100%; height: 100%; }
.cfg-mat[data-mat="piano-white"] { background:
  linear-gradient(162deg, rgb(255 255 255 / .95) 0%, rgb(255 255 255 / 0) 34%, rgb(255 255 255 / 0) 62%, rgb(255 255 255 / .55) 70%, rgb(255 255 255 / 0) 78%),
  linear-gradient(180deg, #F4F2EE 0%, #E3DFD8 100%); }
.cfg-mat[data-mat="walnut-gloss"], .cfg-mat[data-mat="walnut-matte"] { background:
  repeating-linear-gradient(93deg, rgb(32 18 10 / 0) 0 5px, rgb(32 18 10 / .34) 5px 6.2px, rgb(32 18 10 / 0) 6.2px 12px, rgb(32 18 10 / .2) 12px 13.6px, rgb(32 18 10 / 0) 13.6px 21px),
  repeating-linear-gradient(87deg, #6E4830 0 17px, #5C3B27 17px 29px, #77503A 29px 41px, #62402B 41px 56px); }
.cfg-mat[data-mat="walnut-gloss"] { background:
  linear-gradient(165deg, rgb(255 255 255 / .42) 0%, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0) 64%, rgb(255 255 255 / .22) 72%, rgb(255 255 255 / 0) 80%),
  repeating-linear-gradient(93deg, rgb(32 18 10 / 0) 0 5px, rgb(32 18 10 / .38) 5px 6.2px, rgb(32 18 10 / 0) 6.2px 12px, rgb(32 18 10 / .24) 12px 13.6px, rgb(32 18 10 / 0) 13.6px 21px),
  repeating-linear-gradient(87deg, #5A3520 0 17px, #4A2C1A 17px 29px, #63402A 29px 41px, #52311E 41px 56px); }
.cfg-mat[data-mat="walnut-matte"] { filter: saturate(.8) brightness(1.04); }
.cfg-card__media.is-empty { background: linear-gradient(135deg, var(--swatch, #dcdad6) 0 50%, var(--swatch-2, #ecebe8) 50% 100%); }
/* no render of this option yet (the 8X Black Edition forged wheels and its Black & Orange cabin): a quiet wheel drawing,
   or the trim colours as a disc like the paint chips, never a tile that reads as a broken picture */
.cfg-card--wheel .cfg-card__media.is-empty { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231A1917' stroke-opacity='.35' stroke-width='1.2'%3E%3Ccircle cx='24' cy='24' r='21'/%3E%3Ccircle cx='24' cy='24' r='15'/%3E%3Ccircle cx='24' cy='24' r='4'/%3E%3C/svg%3E") center / auto 72% no-repeat, var(--cfg-studio); }
.cfg-card--image:not(.cfg-card--wheel) .cfg-card__media.is-empty { position: relative; background: var(--cfg-studio); }
.cfg-card--image:not(.cfg-card--wheel) .cfg-card__media.is-empty::after { content: ""; position: absolute; left: 50%; top: 50%; height: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(120% 90% at 30% 22%, rgb(255 255 255 / .45) 0%, rgb(255 255 255 / 0) 42%), linear-gradient(180deg, var(--swatch, #3A3835) 0 46%, var(--swatch-2, #1C1B19) 46% 100%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), 0 6px 14px -8px rgb(0 0 0 / .5); }
.cfg-card--image .cfg-card__text { padding-inline: 8px; }
.cfg-card--image .cfg-card__name { font-size: .875rem; }
.cfg-card--image .cfg-card__check { top: 12px; right: 12px; box-shadow: 0 0 0 2px #fff; }
/* short windows (phones, phones held sideways): the picture beside the name, one card to a row, so a card is never
   taller than the panel */
@media (orientation: landscape) and (max-height: 540px), (orientation: portrait) and (max-width: 767px) {
  .cfg-row--image .cfg-rail { --cfg-card-min: 100%; }
  .cfg-card--image { flex-direction: row; align-items: center; gap: 12px; padding: 8px 40px 8px 8px; }
  .cfg-card--image .cfg-card__media { flex: none; width: 112px; }
  .cfg-card--image .cfg-card__text { align-self: center; padding: 4px 0; }
  .cfg-card--image .cfg-card__check { top: 10px; right: 10px; }
}
/* a picture row with a single card (one wheel, one cabin): it spans the column with the picture beside the name */
@media (orientation: landscape) and (min-height: 541px), (orientation: portrait) and (min-width: 768px) {
  .cfg-row--image .cfg-rail:not(:has(> :not([hidden]) ~ :not([hidden]))) { grid-template-columns: minmax(0, 1fr); }
  .cfg-row--image .cfg-rail:not(:has(> :not([hidden]) ~ :not([hidden]))) > .cfg-card--image { flex-direction: row; align-items: center; gap: 16px; padding: 4px 40px 4px 4px; }
  .cfg-row--image .cfg-rail:not(:has(> :not([hidden]) ~ :not([hidden]))) .cfg-card__media { flex: none; width: 44%; }
  .cfg-row--image .cfg-rail:not(:has(> :not([hidden]) ~ :not([hidden]))) .cfg-card__text { align-self: center; padding: 8px 0; }
}

/* read-only lines (drive, engine, S800 mirrors): what the version has, no choice. Drive and engine are a unit of the
   version step in the catalogue's place (after the battery, before the assistance; P4 fix-r3), side by side where the
   column is wide */
.cfg-infos { display: grid; align-content: start; gap: 8px; min-width: 0; }
.cfg-infos--strip { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.cfg-infos:not(:has(> .cfg-row:not([hidden]))) { display: none; }   /* a version without either line: no empty block */
.cfg-infos > .cfg-row { row-gap: 0; }
.cfg-info { display: grid; gap: 8px; min-width: 0; }
.cfg-info__item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 16px 8px 8px; border-radius: var(--r); background: var(--panel); }
.cfg-info__item[hidden] { display: none; }
.cfg-info__art { display: grid; flex: none; place-items: center; width: 40px; height: 40px; color: var(--ink); }
.cfg-info__art svg { width: 36px; height: 36px; }
.cfg-info__text { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; flex: 1 1 auto; min-width: 0; }
.cfg-info__label { flex-basis: 100%; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.cfg-info__name { flex-basis: 100%; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.cfg-info__meta { font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.cfg-info__text .cfg-tag { flex: none; }
.cfg-row--info .cfg-row__value, .cfg-row--info .cfg-row__meta { display: none; }   /* the line itself names it */

/* forced colours: the inset-shadow edges of the cards would vanish */
@media (forced-colors: active) {
  .cfg-card, .cfg-info__item { border: 1px solid CanvasText; }
  .cfg-card[aria-checked="true"] { border: 2px solid Highlight; }
}

/* ---------- the last step "Podsumowanie" (owner 2026-10-25: design B "Dwa etapy"): the summary and the enquiry in one
   panel, one stage at a time — 1 the summary (the lit studio's car fading into the graphite, the facts led by the power,
   the picture tiles, the ticked equipment, the specs), 2 the contact (a recap of the car, "Twoje dane", three fields),
   3 the thank-you. Without the script every stage shows (html.js hides the others) and the form sends itself; with it
   the hidden stages are also inert (StepUi.setEnquiryStage). Colours in the "showroom lounge" block below ---------- */
.cfg-anchor { position: absolute; top: 0; }
.cfg-panel--enquiry:not([hidden]) { position: relative; }
.cfg-enq { min-width: 0; }
.cfg-enq :where(h2, h3, p, dl, dd, figure, ol, li) { margin: 0; }
.cfg-enq [tabindex="-1"]:focus { outline: none; box-shadow: none; }
/* the progress: 1 Podsumowanie —— 2 Dane kontaktowe */
.cfg-enq__progress { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.cfg-enq__pstep { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.cfg-enq__num { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: .75rem; font-weight: 700;
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.cfg-enq__num > * { grid-area: 1 / 1; }
.cfg-enq__num svg { width: 14px; height: 14px; opacity: 0; }
.cfg-enq__pstep.is-done .cfg-enq__num span { opacity: 0; }
.cfg-enq__pstep.is-done .cfg-enq__num svg { opacity: 1; }
.cfg-enq__pline { position: relative; flex: 1 1 24px; min-width: 16px; height: 1px; overflow: hidden; }
.cfg-enq__pline::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-settle); }
.cfg-enq:not([data-stage="summary"]) .cfg-enq__pline::after { transform: scaleX(1); }
/* the stages share one cell: the shown one in the flow, the others out of it, invisible (and inert, by the script) */
.cfg-enq__viewport { position: relative; display: grid; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); overflow-x: clip; }
.cfg-enq__stage { grid-area: 1 / 1; min-width: 0; outline: none; }
html.js .cfg-enq[data-stage="summary"] .cfg-enq__stage:not([data-s="summary"]),
html.js .cfg-enq[data-stage="contact"] .cfg-enq__stage:not([data-s="contact"]),
html.js .cfg-enq[data-stage="done"] .cfg-enq__stage:not([data-s="done"]),
.cfg-enq__stage[inert] { position: absolute; top: 0; left: 0; right: 0; height: 0; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none; }
/* the new stage slides in (from the right; back to the summary from the left); none on the first paint */
.cfg-enq.is-live .cfg-enq__stage:not([inert]) { animation: cfg-enq-in 460ms var(--ease-settle) both; }
.cfg-enq.is-live.is-back .cfg-enq__stage--summary { --cfg-enq-from: -40px; }
@keyframes cfg-enq-in { from { opacity: 0; transform: translateX(var(--cfg-enq-from, 40px)); } to { opacity: 1; transform: none; } }
html:not(.js) .cfg-enq__stage + .cfg-enq__stage { margin-top: 40px; }   /* without the script: every stage, one after the other */
html:not(.js) .cfg-enq__viewport { display: block; }

/* stage 1: the lit bay fading into the graphite */
.cfg-enq__hero { position: relative; margin: 0 calc(-1 * var(--margin)); aspect-ratio: 16 / 9; overflow: hidden; background: #EEECE8;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, rgb(0 0 0 / .35) 80%, transparent 96%); mask-image: linear-gradient(180deg, #000 55%, rgb(0 0 0 / .35) 80%, transparent 96%); }
.cfg-enq__hero img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 360ms var(--ease-out), filter 360ms var(--ease-out); }
.cfg-enq__hero img.is-stale, .cfg-enq__recap-img img.is-stale { opacity: .3; filter: grayscale(1) blur(8px); }
.cfg-enq__caption { position: absolute; left: var(--margin); top: 12px; padding: 6px 12px; border-radius: var(--pill); font-size: .75rem; color: var(--cfg-ink-soft);
  background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); }
.cfg-enq__caption[hidden] { display: none; }
.cfg-enq__cap { position: relative; display: grid; gap: 6px; margin-top: -6px; }
.cfg-enq__eyebrow { font-size: .71875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cfg-enq__model { font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: clamp(2.125rem, 1.8rem + 1vw, 2.625rem); line-height: 1.02; overflow-wrap: anywhere; }
.cfg-enq__version { font-size: .9375rem; line-height: 1.45; }
.cfg-enq__caveat { display: flex; align-items: flex-start; gap: 8px; font-size: .8125rem; line-height: 1.4; }
.cfg-enq__caveat svg { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.cfg-enq__caveat[hidden] { display: none; }
/* the facts: two columns (one in a narrow column), the power across the top */
.cfg-enq__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; overflow: hidden; border-radius: 16px; }
.cfg-enq__fact { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-content: start;
  padding: 14px 14px 14px 12px; }
.cfg-enq__fact[hidden] { display: none; }
.cfg-enq__fact-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; }
.cfg-enq__fact-icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.cfg-enq__fact dt { font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; hyphens: auto; }
.cfg-enq__fact dd { font-size: .875rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; text-wrap: pretty; }
.cfg-enq__fact--power { grid-column: 1 / -1; }
.cfg-enq__fact--power dd { font-size: 1rem; }
/* an odd last fact spans the row (no hole in the grid; counted among the facts shown) */
.cfg-enq__facts > .cfg-enq__fact:not(.cfg-enq__fact--power):nth-child(even of :not([hidden])):nth-last-child(1 of :not([hidden])) { grid-column: 1 / -1; }
/* the picture tiles: two columns (three in a wide column) */
.cfg-enq__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.cfg-enq__tiles:not(:has(> .cfg-enq__tile:not([hidden]))) { display: none; }
.cfg-enq__tile { display: grid; grid-template-rows: auto 1fr; margin: 0; overflow: hidden; border-radius: 16px; }
.cfg-enq__tile[hidden] { display: none; }
.cfg-enq__tile-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; }
.cfg-enq__pic--img { position: absolute; inset: 0; }
.cfg-enq__pic--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cfg-enq__pic--mat { position: absolute; inset: 0; display: grid; }
.cfg-enq__pic--mat .cfg-mat { width: 100%; height: 100%; border-radius: 0; }
.cfg-enq__pic--art { display: grid; place-items: center; }
.cfg-enq__pic--art svg { width: 56px; height: 56px; stroke-width: 1.3; }
.cfg-enq__pic--dot { width: 64px; height: 64px; border-radius: 50%; background: var(--swatch); }
.cfg-enq__pic--dot.cfg-chip--duo { background: linear-gradient(180deg, var(--swatch) 0 46%, var(--swatch-2) 46% 100%); }
.cfg-enq__tile figcaption { display: grid; gap: 3px; align-content: start; padding: 12px 14px 14px; }
.cfg-enq__tile-label { font-size: .75rem; line-height: 1.35; }
.cfg-enq__tile-value { font-size: .875rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; text-wrap: pretty; }
/* an odd last tile (among those shown) spans the row, its picture and its text side by side */
.cfg-enq__tiles > .cfg-enq__tile:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
.cfg-enq__tiles > .cfg-enq__tile:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) figcaption { align-content: center; }
/* the equipment: one ticked option per line */
.cfg-enq__equip { margin-top: 28px; }
.cfg-enq__h { font-size: .71875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cfg-enq__equip-row { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid; }
.cfg-enq__equip-row[hidden] { display: none; }
.cfg-enq__equip dl { margin-top: 10px; }
.cfg-enq__equip-row dt { font-size: .8125rem; }
.cfg-enq__equip-row dd { font-size: .9375rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.cfg-enq__ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cfg-enq__ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.cfg-enq__ticks svg { width: 16px; height: 16px; margin-top: 3px; }
/* the specs, folded */
.cfg-enq__specs { margin-top: 20px; border-radius: 16px; }
.cfg-enq__specs > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; border-radius: 16px;
  list-style: none; cursor: pointer; font-size: .9375rem; font-weight: 600; }
.cfg-enq__specs > summary::-webkit-details-marker { display: none; }
.cfg-enq__specs > summary svg { flex: none; width: 18px; height: 18px; transform: rotate(90deg); transition: transform 240ms var(--ease-out); }
.cfg-enq__specs[open] > summary svg { transform: rotate(-90deg); }
.cfg-enq__specs > summary:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.cfg-enq__specs .cfg-specs__list { margin: 0; padding: 0 18px; }
.cfg-enq__specs .cfg-specs__note { margin: 0; padding: 12px 18px 16px; }
.cfg-enq__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 2px; font: inherit; font-size: .9375rem; font-weight: 600;
  background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cfg-enq__link svg { width: 18px; height: 18px; }
.cfg-enq__link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
/* the specs list (also on the stage of a model without the summary step: none today) */
/* the label wraps first; once even its longest word leaves no room, the value takes its own line on the right (P4
   fix-r2: ru 844x390 "Мощность электродвигателей" beside the unbreakable "1030 кВт (1400 л. с.)" ran out of the row) */
.cfg-specs__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 8px; border-top: 1px solid var(--hair); font-size: .875rem; line-height: 1.4; }
.cfg-specs__row dt { flex: 1 1 0; color: var(--muted); }
.cfg-specs__row dd { margin: 0 0 0 auto; flex: none; max-width: 55%; text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: proportional-nums; overflow-wrap: anywhere; text-wrap: pretty; }
.cfg-specs__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); }

/* stage 2: the recap of the car (a button back to the summary), "Twoje dane", the form */
/* (the window keeps its place while the stages change height; StepUi.enqToTop sets the rest; oc-fix-r2) */
.cfg-enq { overflow-anchor: none; }
.cfg-enq__recap { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 10px 16px 10px 10px;
  border: 0; border-radius: 16px; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--t-color) var(--ease-out), box-shadow var(--t-color) var(--ease-out); }
.cfg-enq__recap-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #EEECE8; }
.cfg-enq__recap-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cfg-enq__recap-text { display: grid; gap: 2px; min-width: 0; }
.cfg-enq__recap-model { font-family: var(--serif); font-stretch: 75%; font-size: 1.375rem; line-height: 1.1; overflow-wrap: anywhere; }
.cfg-enq__recap-version { font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.cfg-enq__pw { white-space: normal; }   /* its figures kept whole by no-break spaces (keepPower): breaks after a "+" only */
.cfg-enq__pw[hidden] { display: none; }
.cfg-enq__recap-change { font-size: .8125rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cfg-enq__recap--static { grid-template-columns: 96px minmax(0, 1fr); margin: 4px 0 20px; cursor: default; }
.cfg-enq__title { margin-top: 28px !important; font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: 2rem; line-height: 1.1; }
.cfg-enq__lead { margin: 8px 0 22px !important; font-size: .9375rem; line-height: 1.55; }
.cfg-enq .cfg-enquiry__alert { margin: 0 0 20px; }
.cfg-enq__fields { display: grid; gap: 16px; }
.cfg-enq__field { display: grid; gap: 7px; min-width: 0; }
.cfg-enq__field label { margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.35; }
.cfg-enq__opt { font-weight: 400; }
.cfg-enq__field .input { min-height: 52px; padding: 13px 16px; border-radius: 14px; font-size: 1rem; line-height: 1.4; }
.cfg-enq__field .input:focus-visible { border-radius: 14px; }
.cfg-enq__hint { margin: 0; font-size: .8125rem; line-height: 1.45; }
.cfg-enq__form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cfg-enq__form[aria-busy="true"] { opacity: .7; pointer-events: none; }
.cfg-enq__form .cfg-enquiry__consent { margin-top: 16px; font-size: .8125rem; line-height: 1.55; }
.cfg-enquiry__cookies { display: inline; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; background: none; border: 0; }
.cfg-enquiry__cookies:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.cfg-enquiry__alert { padding: 12px 16px; border-radius: var(--r); font-size: .875rem; font-weight: 600; }
.cfg-enquiry__alert:focus { outline: none; }   /* focused when the page comes back with it (the keyboard starts there) */
/* sent, waiting for the handler's answer: a second press does nothing (StepUi.guardSubmit, P4 fix-r2) */
.cfg-bar__inquire.is-sending { opacity: .6; cursor: progress; }

/* stage 3: the thank-you */
.cfg-enq__stage--done { display: grid; justify-items: start; align-content: start; padding-top: 8px; }
.cfg-enq__stage--done .cfg-enq__title { margin-top: 18px !important; }
.cfg-enq__done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; }
.cfg-enq__done-icon svg { width: 30px; height: 30px; }
.cfg-enq__status { margin-top: 8px !important; font-size: .9375rem; font-weight: 600; }
.cfg-enq__stage--done .cfg-enq__lead { margin: 4px 0 20px !important; }
.cfg-enq__again { min-height: 48px; gap: 10px; }
.cfg-enq__again:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@container cfg-panels (max-width: 400px) {
  .cfg-enq__facts { grid-template-columns: minmax(0, 1fr); }
  .cfg-enq__facts > .cfg-enq__fact:not(.cfg-enq__fact--power):nth-child(even of :not([hidden])):nth-last-child(1 of :not([hidden])) { grid-column: auto; }
}
@container cfg-panels (max-width: 360px) {
  .cfg-enq__recap { grid-template-columns: 76px minmax(0, 1fr); }
  .cfg-enq__recap-change { grid-column: 2; justify-self: start; }
  .cfg-enq__progress { gap: 8px; }
  .cfg-enq__pstep { gap: 7px; }
}
@container cfg-panels (min-width: 520px) {
  .cfg-enq__fields { grid-template-columns: 1fr 1fr; }
  .cfg-enq__field--name { grid-column: 1 / -1; }
}
@container cfg-panels (min-width: 560px) {
  .cfg-enq__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cfg-enq__tiles > .cfg-enq__tile:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) { grid-column: auto; grid-template-columns: none; grid-template-rows: auto 1fr; }
}
/* phones held sideways: the car is on the stage right beside the column; the picture gives way to the name */
@media (max-height: 540px) and (orientation: landscape) {
  .cfg-enq__hero { display: none; }
  .cfg-enq__cap { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cfg-enq *, .cfg-enq *::before, .cfg-enq *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
/* ---------- the bar: who gives the price (no amounts, owner 2026-10-19), back / next ---------- */
.cfg-bar { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 12px 24px; padding: 12px var(--margin) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--panel); transition: box-shadow var(--t-color) var(--ease-out);
  container: cfg-bar / inline-size; }   /* its width picks the narrow phone bar (below the phones' rules; wrap-fix-r1) */
.cfg-bar__info { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.cfg-bar__title { font-size: 1rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; color: var(--ink); overflow-wrap: anywhere; }
.cfg-bar__note { position: relative; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.cfg-bar__note-short { display: none; }
/* the version's power in the bar: only on phones (portrait and held sideways, below), where the stage shows the title
   alone; elsewhere the stage subtitle says it (owner 2026-10-22 "każde auto ma pokazywać moc"; P4 fix-r3) */
.cfg-bar__power { display: none; }
/* the Denza N9/D9 figure is the electric motors' sum: the phone bar shows "680 kW (925 KM)" and reads the basis out
   (the cards, the summary and the enquiry show it); the whole line ran under the back button (INT fix-r1). A Z9 GT
   version of several units shows its motors' sum there the same way ("850 kW (1156 KM)", "640 kW (870 KM)"; the owner's
   D9 precedent, views/configurator.ejs barPowerHtml; wrap-fix-r1) */
.cfg-bar__power-basis { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cfg-bar__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cfg-bar__back { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 16px; border-radius: var(--pill); font-weight: 600; color: var(--ink);
  transition: background-color var(--t-color) var(--ease-out), box-shadow var(--t-color) var(--ease-out); }
.cfg-bar__back:hover { background: var(--tint); }
.cfg-bar__back svg { width: 18px; height: 18px; }
.cfg-bar__back:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cfg-bar__next-step::before { content: ": "; }
.cfg-bar__next-step:empty { display: none; }
.cfg-bar__next-text { white-space: nowrap; }
.cfg-bar__next, .cfg-bar__inquire { white-space: nowrap; }
.cfg-bar__inquire-short { display: none; }
/* a control the keyboard reaches is scrolled clear of a sticky bar (the stacked summary and enquiry), not under it
   (WCAG 2.4.11; P4 fix-r1): --cfg-bar-h is the bar's height (StepUi.fitAll), StepUi.keepClearOfBar does the same where
   a browser ignores the scroll padding for focus */
html:has(.cfg-bar) { scroll-padding-bottom: calc(var(--cfg-bar-h, 76px) + 16px); }

/* ---------- layout: the studio split (landscape screens) ---------- */
@media (orientation: landscape) and (min-width: 900px), (orientation: landscape) and (max-height: 540px) {
  .cfg { grid-template: "stage dock" minmax(0, 1fr) / minmax(0, 1fr) var(--cfg-side-w); }
  .cfg__dock { padding-top: var(--cfg-top); border-left: 1px solid var(--line); }   /* the column starts below the glass */
  /* the pills stay inside the band the car is framed above */
  .cfg__views, .cfg__tools, .cfg__poster-note { bottom: 12px; }
  .cfg.is-full-top .cfg__tools-pill { bottom: 12px; }   /* the full-view pill in the corner: the tools keep this place */
  /* the bar in two rows: the note, then Back (round) and Next (wide, naming the next step) */
  .cfg-bar { display: grid; gap: 8px; }
  .cfg-bar__nav { margin-left: 0; }
  .cfg-bar__note-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* still read out */
  .cfg-bar__note-short { display: inline; }
  .cfg-bar__back { flex: none; width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; border-radius: 50%;
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .cfg-bar__back:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
  .cfg-bar__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cfg-bar__next, .cfg-bar__inquire { flex: 1 1 auto; min-height: 48px; padding: 8px 20px 8px 24px; justify-content: space-between; white-space: normal; text-align: left; }
  .cfg-bar__next-text { white-space: normal; }
}
/* desktops and tablets held sideways: the stage title right beside names the car and its version, the bar keeps the
   note and the buttons (the version stays for screen readers) */
@media (orientation: landscape) and (min-width: 900px) and (min-height: 541px) {
  .cfg-bar__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* short desktop windows (1280 x 720, 1024 x 768): a lighter title on the stage (a larger car), a lighter step row and
   bar, so the panel keeps its height */
@media (orientation: landscape) and (min-width: 900px) and (max-height: 820px) {
  .cfg__title { font-size: clamp(2rem, 1rem + 2.2vw, 2.75rem); }
  .cfg-tab { padding-block: 12px; }
  .cfg-panel:not([hidden]) { padding-block: 16px 24px; gap: 16px; }
  .cfg-panel--rows > :is(.cfg-row, .cfg-infos):not([hidden]) ~ :is(.cfg-row, .cfg-infos):not([hidden]) { padding-top: 16px; }
  .cfg-bar { padding-block: 8px calc(8px + env(safe-area-inset-bottom)); }
  .cfg-bar__back { width: 44px; height: 44px; min-height: 44px; }
  .cfg-bar__next, .cfg-bar__inquire { min-height: 44px; }
}
/* phones and small tablets held sideways: a narrower column, the header at its phone height on this page (16 px more
   for the options of a 390 px tall screen), 44 px tabs and buttons */
@media (orientation: landscape) and (max-height: 540px) {
  :root:has(.cfg[data-configurator]) { --header-h: 60px; }
  .cfg { --cfg-side-w: clamp(320px, 46vw, 400px); }
  .cfg__dock { --margin: 16px; }
  .cfg__head { top: calc(var(--cfg-top) + 12px); }
  .cfg__subtitle { display: none; }
  .cfg__title { font-size: 1.75rem; }
  .cfg-tabs { gap: 20px; }
  .cfg-tab { padding-block: 13px; font-size: .8125rem; }
  .cfg-panel:not([hidden]) { padding-block: 16px 24px; gap: 16px; }
  .cfg-panel--rows > :is(.cfg-row, .cfg-infos):not([hidden]) ~ :is(.cfg-row, .cfg-infos):not([hidden]) { padding-top: 16px; }
  .cfg-row { row-gap: 8px; }
  .cfg-row--colour .cfg-row__value { font: 600 .9375rem/1.4 var(--sans); font-stretch: 100%; }
  .cfg-bar { display: flex; gap: 6px; padding: 6px 16px calc(6px + env(safe-area-inset-bottom)); }
  .cfg-bar__model, .cfg-bar__next-step { display: none; }
  .cfg-bar__title { font-size: .9375rem; line-height: 1.25; }
  /* the power on a line of its own under the version, and the version on one line: the bar keeps one height for every
     step, version and language (an inline power wrapped on half of them, P4 fix-r3 bar probe; P4 fix-r4: 69 px at
     390 x 844, 66 px at 844 x 390). A version of several units (the Z9 GT: the PHEV's engine and three motors, the e³
     EV's three motors) shows its motors' sum in kW (KM), as the N9/D9 (views/configurator.ejs barPowerHtml; wrap-fix-r1:
     the units drawn short had no KM). A long version name ("e³ Flash Charge Performance EV") is set smaller, never under
     12 px, until it fits its line (am-configurator.js fitBarTitle); FINAL-polish. The narrowest bars: below */
  .cfg-bar__power:not([hidden]) { display: block; font-size: .8125rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: normal; }
  .cfg-bar__power:not([hidden])::before { content: none; }
  .cfg-bar__note { font-size: .75rem; line-height: 1.3; }
  .cfg-bar__nav { flex: none; gap: 6px; margin-left: auto; }
  .cfg-bar__back { width: 44px; height: 44px; min-height: 44px; }
  .cfg-bar__next, .cfg-bar__inquire { flex: none; min-height: 44px; padding-inline: 16px; }
  /* the longer "Zapytaj" (ru, de) keeps the version on one line (P4 fix-r4); with the 6 px gaps also the D9 "Flash
     Charge Luxury PHEV" in ru (INT fix-r1: 85 px on the summary) */
  .cfg-bar__inquire { padding-inline: 10px; }
  .cfg-bar__next svg, .cfg-bar__inquire svg { display: none; }   /* the room goes to the note and the version */
  .cfg-bar__inquire-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cfg-bar__inquire-short { display: inline; }
  .cfg__views, .cfg__poster-note { left: 12px; }
  .cfg-view { padding: 0 12px; }
  .cfg__tools { right: 12px; }
  .cfg.is-full-top .cfg__tools-pill { right: 12px; }
  .cfg.is-full-top .cfg-full { right: 12px; top: var(--cfg-full-top, calc(var(--cfg-top, 0px) + 12px)); }
  .cfg__hint { display: none; }   /* (the tools pill keeps its five tools: the same on every model and size) */
  .cfg__seats { top: calc(var(--cfg-top) + 12px); left: 12px; max-width: calc(100% - 24px); overflow-x: auto; }
  .cfg__seats .cfg-view { padding: 0 12px; }
}

/* ---------- layout: stacked (portrait screens): the studio on top at a fixed height, the options column below ---------- */
@media (orientation: portrait), (max-width: 899px) and (min-height: 541px) {
  .cfg { --cfg-stage-h: clamp(320px, min(46svh, 62.5vw), 600px);
    grid-template: "stage" calc(var(--cfg-stage-h) + var(--cfg-top)) "dock" minmax(0, 1fr) / minmax(0, 1fr); min-height: calc(var(--cfg-stage-h) + var(--cfg-top) + 400px); }
  .cfg__dock { --margin: clamp(16px, 4vw, 32px); border-top: 1px solid var(--line); }
  .cfg__hint { display: none; }
  /* the summary and the enquiry are long: the column grows, the page scrolls with the bar stuck to the bottom, the
     studio keeps its size (no refit, the snapshot stays sharp) */
  .cfg:is([data-step="summary"], [data-step="zapytanie"]) { --cfg-reveal: 1; height: auto; grid-template-rows: calc(var(--cfg-stage-h) + var(--cfg-top)) auto; }
  .cfg:is([data-step="summary"], [data-step="zapytanie"]) .cfg-panels { flex: 1 0 auto; overflow: visible; }
  /* a short summary (the AITO M9 on a portrait tablet) still lets the page bring the column up under the header
     (StepUi.revealDock; INT fix-r1: 103 px of the stage stayed between them); the panels take the extra room, so the
     bar stays at the foot of the column */
  .cfg:is([data-step="summary"], [data-step="zapytanie"]) .cfg__dock { min-height: calc(100vh - var(--cfg-top, 0px)); }
  .cfg:is([data-step="summary"], [data-step="zapytanie"]) .cfg-panel:not([hidden]) { height: auto; overflow: visible; }
  .cfg:is([data-step="summary"], [data-step="zapytanie"]) .cfg-bar { position: sticky; bottom: 0; z-index: var(--z-bottombar); box-shadow: 0 -8px 24px -16px rgb(26 25 23 / .3); }
  .cfg-bar__model { display: none; }   /* the stage title names the car; the version keeps the room */
  .cfg-bar__note-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* still read out */
  .cfg-bar__note-short { display: inline; }
}
/* phones: a lower studio, the title alone on it, a one-row bar with a round Back, 44 px tabs and buttons; the floor
   keeps the bar on screen in the small viewport of a real phone browser (390 x 664 on an iPhone) */
@media (max-width: 767px) and (orientation: portrait) {
  .cfg { --cfg-stage-h: clamp(240px, 37svh, 340px); min-height: calc(var(--cfg-stage-h) + var(--cfg-top) + 300px); }
  .cfg__head { top: calc(var(--cfg-top) + 16px); max-width: calc(100% - 32px); }
  .cfg__subtitle { display: none; }   /* the bar names the version and its power */
  .cfg__title { font-size: 1.75rem; }
  .cfg__views { left: 16px; bottom: 12px; }
  .cfg-view { padding: 0 14px; }
  .cfg__tools { right: 16px; bottom: 12px; }
  .cfg.is-full-top .cfg__tools-pill { right: 16px; bottom: 12px; }
  .cfg.is-full-top .cfg-full { right: 16px; top: var(--cfg-full-top, calc(var(--cfg-top, 0px) + 12px)); }
  /* (the tools pill keeps its five tools, as icons: the same on every model and size, owner 2026-10-25) */
  .cfg__seats { top: calc(var(--cfg-top) + 12px); left: 16px; max-width: calc(100% - 32px); overflow-x: auto; }
  .cfg__seats .cfg-view { padding: 0 12px; }
  .cfg__status, .cfg__zoom-hint, .cfg__notice { bottom: 72px; }
  .cfg__poster-note { left: 16px; bottom: 12px; }
  .cfg-tabs { gap: 24px; }
  .cfg-tab { padding-block: 12px 11px; }
  .cfg-panel:not([hidden]) { padding-block: 16px 24px; gap: 16px; }
  .cfg-panel--rows > :is(.cfg-row, .cfg-infos):not([hidden]) ~ :is(.cfg-row, .cfg-infos):not([hidden]) { padding-top: 16px; }
  .cfg-bar { flex-wrap: nowrap; gap: 6px; padding: 8px var(--margin) calc(8px + env(safe-area-inset-bottom)); }
  .cfg-bar__info { gap: 1px; }
  .cfg-bar__title { font-size: .9375rem; line-height: 1.25; }
  /* the power under the version, both on one line on every step and version (the phones held sideways above) */
  .cfg-bar__power:not([hidden]) { display: block; font-size: .8125rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: normal; }
  .cfg-bar__power:not([hidden])::before { content: none; }
  .cfg-bar__note { font-size: .75rem; line-height: 1.3; }
  .cfg-bar__note-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* still read out */
  .cfg-bar__note-short { display: inline; }
  .cfg-bar__nav { flex: none; gap: 6px; }
  .cfg-bar__next-step { display: none; }
  .cfg-bar__back { width: 44px; height: 44px; min-height: 44px; justify-content: center; padding: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .cfg-bar__back:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
  .cfg-bar__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cfg-bar__next, .cfg-bar__inquire { min-height: 44px; }
  /* 14 px more for the version in ru/de ("Далее", "Weiter"; with the 6 px gaps of the bar and the nav): the D9 "Flash
     Charge Luxury PHEV" broke over two lines and the bar grew to 88 px on every step but the first (INT fix-r1) */
  .cfg-bar__next { padding-inline: 14px 12px; gap: 6px; }
  /* the summary's "Zapytaj" (the short label, no arrow) never wider than "Dalej" in any language (ru "Запросить" 108
     against "Далее" 111 px): the version and the note keep their width, the bar one height on every step (P4 fix-r4,
     verify-r4 ux: 69 px, 85-104 px on the summary) */
  .cfg-bar__inquire { gap: 0; padding-inline: 12px; }
  .cfg-bar__inquire svg { display: none; }
  .cfg-bar__inquire-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* still the accessible name */
  .cfg-bar__inquire-short { display: inline; }
}
/* the narrowest phone bars (under 384 px: 375, 360 and 320 px phones, the column of a phone held sideways, 667 x 375 or
   780 x 360): Next and the last step's Back become round 44 px buttons with their arrow, their
   names still read out, so the version (never under 12 px), its power and the note keep one line each and the bar one
   height on every step, version and language (wrap-fix-r1: with the worded buttons the longest names, "e³ Flash Charge
   Performance EV", "Ultimate Pioneer 6-Seater EREV", and the Polish note wrapped, the bar 82 to 120 px high); under 340 px
   (320 px phones, 640 x 320) the bar's text starts 12 px from the edge and the buttons sit 4 px apart. (A container
   query measures the bar's content box: its width less the 2 x 16 px padding, 352 and 308 px.) */
@media (orientation: portrait) and (max-width: 767px), (orientation: landscape) and (max-height: 540px) {
  @container cfg-bar (max-width: 351.98px) {
    .cfg-bar :is(.cfg-bar__next, .cfg-bar__inquire), .cfg[data-step="zapytanie"] .cfg-bar .cfg-bar__back {
      flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; justify-content: center; border-radius: 50%; }
    .cfg-bar :is(.cfg-bar__next, .cfg-bar__inquire) svg { display: block; width: 20px; height: 20px; }
    .cfg-bar :is(.cfg-bar__next-text, .cfg-bar__inquire-long), .cfg[data-step="zapytanie"] .cfg-bar .cfg-bar__back span {
      position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .cfg-bar .cfg-bar__inquire-short { display: none; }
    /* the last step's "Wyślij" keeps its word (owner 2026-10-25: a "Wyślij" button), the arrow gives way; the bar keeps
       its one height: the note gives way to it, still read out (the panel says who gives the price) */
    .cfg[data-step="zapytanie"] .cfg-bar .cfg-bar__inquire { width: auto; padding: 0 14px; border-radius: var(--pill); font-size: .875rem; }
    .cfg[data-step="zapytanie"] .cfg-bar .cfg-bar__inquire svg { display: none; }
    .cfg[data-step="zapytanie"] .cfg-bar .cfg-bar__inquire-short { display: inline; }
    .cfg[data-step="zapytanie"] .cfg-bar__note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .cfg[data-step="zapytanie"] .cfg-bar__info::after { content: ""; height: calc(.75rem * 1.3); }   /* its line kept: one bar height */
  }
  @container cfg-bar (max-width: 307.98px) {
    .cfg-bar .cfg-bar__info { margin-left: -4px; }
    .cfg-bar .cfg-bar__nav { margin-right: -4px; gap: 4px; }
  }
}

/* touch: 44 px targets on the stage, no drag hint (the on-car points say it); touch tablets name the part buttons */
@media (pointer: coarse) {
  .cfg-view { min-height: 44px; }
  .cfg-tool { min-width: 44px; height: 44px; }
  .cfg__hint { display: none; }
}
@media (min-width: 768px) and (pointer: coarse) {
  .cfg-tool--part { padding: 0 14px 0 11px; }
  .cfg-tool--part .cfg-tool__label { display: inline; }
}

/* ==========================================================================
   COLOUR SCHEME "showroom lounge" (2026-10-22: "poszukaj kolorystycznie dla całego panelu czegoś super"; chosen from
   four schemes rendered on the page and judged on brand fit and on clarity). The site's dark rate-configurator panel
   (SPEC 4.6, the panel the owner loved) turned into the frame of the page: the site's black header on top and the same
   black bar at the foot of the column, a graphite column between them, the light studio the one lit bay for the car.
   White = what is chosen (the 1.5 px ring, the chip ring, the pressed stage pill: the rate panel's white segment).
   Bronze = the mark of a choice and the way forward: the check badge, ticked boxes, the step underline and done ticks,
   champagne tags, and the enquiry pill. Next stays the non-accent secondary (cream on black, the site's .btn--light),
   so "Zapytaj o ofertę" is the one bronze pill. Colours, surfaces, borders, shadows only; after the layout rules, so
   it wins at equal specificity. Contrast: text 6.5:1 or more, boundaries 3:1 or more.
   ========================================================================== */
.cfg {
  --k-col: #201F1D;            /* graphite column, L 11.8 */
  --k-black: #0E0D0C;          /* the bar = the site's header black (--header-dark), L 3.7 */
  --k-raise: #2E2C2A;          /* read-only blocks, round buttons, L 18.1 */
  --k-raise-2: #3A3835;        /* their hover */
  --k-hair: rgb(255 255 255 / .10);
  --k-line: rgb(255 255 255 / .17);         /* card edge */
  --k-line-strong: rgb(255 255 255 / .34);  /* card hover, round-button edge (4.2:1 on the bar) */
  --k-text: #FAFAF8;
  --k-muted: #A8A29A;          /* 6.5:1 on the column, 7.7:1 on the bar */
  --k-tab: #B7B1A8;            /* 7.7:1 */
  --k-control: #8A847C;        /* empty check box edge 4.4:1 */
  --k-bronze: #B8915E;         /* 5.7:1 on the column; #111 on it 6.5:1 */
  --k-bronze-h: #C9A574;
  --k-bronze-p: #A27E4E;
  --k-cream: #F4F1EC;
  --k-cream-h: #FBF9F5;        /* a soft step, not a jump to pure white */
  --k-cream-p: #E5E0D8;
  --k-field: #141312;
  --k-field-line: #7A756E;     /* 4.1:1 on the field */
  background: var(--k-col);
}

/* ---------- stage overlays: the same dark glass as the frame, the chosen one a white pill (the rate panel) ---------- */
.cfg__progress { background: rgb(26 25 23 / .08); }
.cfg__progress span { background: var(--cherry); }
.cfg__views, .cfg__tools-pill { background: rgb(18 17 16 / .86);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .10), 0 10px 24px -14px rgb(14 13 12 / .55); }
.cfg-view, .cfg-tool { color: rgb(250 250 248 / .84); }
.cfg-view:hover, .cfg-tool:hover { color: #fff; }
.cfg-tool:hover { background: rgb(255 255 255 / .12); }
.cfg-view[aria-pressed="true"], .cfg-tool[aria-pressed="true"] { color: var(--ink); background: #FAFAF8; }
.cfg-view:focus-visible, .cfg-tool:focus-visible { outline: 2px solid #fff; outline-offset: -3px; box-shadow: none; }
.cfg-view[aria-pressed="true"]:focus-visible, .cfg-tool[aria-pressed="true"]:focus-visible { outline-color: var(--ink); }
.cfg__tools-sep { background: rgb(255 255 255 / .22); }
/* phones: the pills sit just above the dark column; a lighter glass and a clearer rim keep them apart from it */
@media (orientation: portrait) and (max-width: 767px) {
  .cfg__views, .cfg__tools-pill { background: rgb(18 17 16 / .78);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 10px 24px -14px rgb(14 13 12 / .55); }
}

/* ---------- the column ---------- */
.cfg__dock { color: var(--k-text); background: var(--k-col); color-scheme: dark; }
.cfg__dock ::selection { background: var(--k-bronze); color: #111; }
@media (orientation: landscape) and (min-width: 900px), (orientation: landscape) and (max-height: 540px) {
  /* under the glass header the column shows the studio's own top (the salon wall's), so the glass is one even black
     across the width */
  .cfg__dock { border-left-color: var(--k-black);
    background: linear-gradient(180deg, #D3CBC0 0, #D3CBC0 var(--cfg-top), var(--k-col) var(--cfg-top)); }
}
@media (orientation: portrait), (max-width: 899px) and (min-height: 541px) {
  .cfg__dock { border-top-color: var(--k-black); }
}

/* step row */
.cfg-steps { background: var(--k-col); border-bottom-color: var(--k-hair); }
.cfg-tab { color: var(--k-tab); }
.cfg-tab__num { color: var(--k-muted); }
.cfg-tab:hover, .cfg-tab[aria-selected="true"] { color: var(--k-text); }
.cfg-tab[aria-selected="true"] .cfg-tab__num { color: var(--k-bronze); }
.cfg-tab::after { background: var(--k-bronze); }
.cfg-tab.is-done .cfg-tab__num svg { color: var(--k-bronze); }
.cfg-tab:focus-visible { outline-color: #fff; box-shadow: none; }
/* round arrows: the same raised graphite and 3:1 rim as the round Back in the bar (3.5:1 on the column) */
.cfg-steps__arrow { color: var(--k-text); background: var(--k-raise); box-shadow: inset 0 0 0 1px var(--k-line-strong), 0 4px 14px -4px rgb(0 0 0 / .75); }
.cfg-steps__arrow:hover { color: var(--k-bronze-h); background: var(--k-raise-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5), 0 4px 14px -4px rgb(0 0 0 / .85); }
.cfg-steps__arrow:focus-visible { outline-color: #fff; }

/* panel + edge shadows */
.cfg-panel:not([hidden]) { scrollbar-color: #4C4945 transparent; }
.cfg__dock:has(.cfg-panel.has-more-above:not([hidden])) .cfg-steps { box-shadow: 0 16px 16px -8px rgb(0 0 0 / .85); }
.cfg__dock:has(.cfg-panel.has-more-below:not([hidden])) .cfg-bar { box-shadow: 0 -16px 16px -8px rgb(0 0 0 / .85); }

/* rows */
.cfg-panel--rows > :is(.cfg-row, .cfg-infos):not([hidden]) ~ :is(.cfg-row, .cfg-infos):not([hidden]) { border-top-color: var(--k-hair); }
.cfg-row__label { color: var(--k-muted); }
.cfg-row__value { color: var(--k-text); }
.cfg-row__value.is-preview { color: rgb(250 250 248 / .62); }
.cfg-row__meta, .cfg-row__range { color: var(--k-muted); }
.cfg-row--check .cfg-row__value { color: var(--k-muted); }
@container cfg-panels (min-width: 640px) { .cfg-row--check .cfg-row__label { color: var(--k-text); } }
@container cfg-panels (min-width: 640px) { .cfg-row--colour .cfg-chip__name { color: var(--k-muted); } .cfg-row--colour .cfg-chip[aria-checked="true"] .cfg-chip__name { color: var(--k-text); } }
@container cfg-panels (max-width: 639px) {
  .cfg-row__label { color: var(--k-text); }
  .cfg-row--check .cfg-row__value { color: var(--k-muted); }
}

/* the P4 parts on graphite: the layout switch as the stage pills (the chosen one white-ringed), the pictogram tiles
   raised, the read-only lines' pictograms, the version's power, the pager */
.cfg-segment { background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--k-hair); }
.cfg-seg { color: var(--k-tab); }
.cfg-seg:hover { color: var(--k-text); background: rgb(255 255 255 / .04); }
.cfg-seg[aria-checked="true"] { color: var(--k-text); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1.5px var(--k-text); }
.cfg-seg:focus-visible { outline-color: var(--k-text); }
.cfg-seg__meta { color: var(--k-muted); }
.cfg-card__art { color: var(--k-text); background: var(--k-raise); }
.cfg-card[aria-checked="true"] .cfg-card__art { background: var(--k-raise-2); }
.cfg-card__power { color: var(--k-text); }
.cfg-info__art { color: var(--k-text); }
.cfg-info__label { color: var(--k-muted); }
.cfg-pager__btn { color: var(--k-text); background: var(--k-raise); box-shadow: inset 0 0 0 1px var(--k-line-strong); }
.cfg-pager__count { color: var(--k-muted); }

/* tags: champagne on graphite */
.cfg-tag { color: #DCC4A0; background: rgb(184 145 94 / .12); box-shadow: inset 0 0 0 1px rgb(184 145 94 / .32); }

/* colour chips */
.cfg-chip__dot { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), 0 1px 3px rgb(0 0 0 / .55); }
.cfg-chip[aria-checked="true"] .cfg-chip__dot { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), 0 0 0 3px var(--k-col), 0 0 0 4.5px var(--k-text); }
.cfg-chip:focus-visible { box-shadow: none; }
.cfg-chip:focus-visible .cfg-chip__dot { outline-color: var(--k-text); }
.cfg-chip[aria-disabled="true"]:not([aria-checked="true"]) .cfg-chip__dot::after { background: var(--k-text); }
.cfg__dock [data-tip]::after { background: #FAFAF8; color: var(--ink); }

/* cards: hairline on graphite; chosen = white ring + bronze badge + a faint lift (one style everywhere) */
.cfg-card { color: var(--k-text); background: transparent; box-shadow: inset 0 0 0 1px var(--k-line); }
.cfg-card:hover { background: rgb(255 255 255 / .035); box-shadow: inset 0 0 0 1px var(--k-line-strong), 0 10px 22px -16px rgb(0 0 0 / .9); }
.cfg-card[aria-checked="true"] { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1.5px var(--k-text); }
.cfg-card:focus-visible { outline-color: var(--k-text); }
.cfg-card__check { background: var(--k-bronze); color: #111; }
.cfg-card__meta { color: var(--k-muted); }
.cfg-card__caveat { color: var(--k-text); }
.cfg-card[aria-disabled="true"]:not([aria-checked="true"]) { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.cfg-card__reason { color: #E9E4DC; }
.cfg-card__reason::before { background: var(--k-bronze); }
.cfg-card__trim { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg-card__trim[data-finish="body"] { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }   /* no ring: it read as chosen */
.cfg-card__dot { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); }
.cfg-card--check .cfg-card__check { background: transparent; box-shadow: inset 0 0 0 1.5px var(--k-control); color: transparent; }
.cfg-card--check[aria-checked="true"] .cfg-card__check { background: var(--k-bronze); box-shadow: none; color: #111; }
/* a ticked box the user cannot change ("W standardzie"): quiet grey, apart from the user's bronze ticks */
.cfg-card--check[aria-disabled="true"][aria-checked="true"] .cfg-card__check { background: var(--k-muted); color: #111; }
/* on the light picture: the same bronze badge, set off by a graphite rim */
.cfg-card--image .cfg-card__check { background: var(--k-bronze); color: #111; box-shadow: 0 0 0 2px var(--k-col), 0 2px 6px rgb(0 0 0 / .35); }
/* short windows put the picture beside the name: the badge sits on the graphite */
@media (orientation: landscape) and (max-height: 540px), (orientation: portrait) and (max-width: 767px) {
  .cfg-card--image .cfg-card__check { background: var(--k-bronze); color: #111; box-shadow: none; }
}

/* read-only lines: a raised graphite block (no ring: not a choice) */
.cfg-info__item { background: var(--k-raise); }
.cfg-info__item > svg { color: var(--k-muted); }
.cfg-info__name { color: var(--k-text); }
.cfg-info__meta { color: var(--k-muted); }

/* the last step (design B "Dwa etapy"): graphite, the bronze progress and power, white text, champagne power figure */
.cfg-enq__pstep { color: var(--k-muted); }
.cfg-enq__num { color: var(--k-muted); box-shadow: inset 0 0 0 1px var(--k-line-strong); }
.cfg-enq__pstep:is(.is-current, .is-done) { color: var(--k-text); }
.cfg-enq__pstep.is-current .cfg-enq__num { color: #111; background: var(--k-bronze); box-shadow: none; }
.cfg-enq__pstep.is-done .cfg-enq__num { color: var(--k-bronze-h); box-shadow: inset 0 0 0 1px rgb(184 145 94 / .6); }
.cfg-enq__pline { background: var(--k-line); }
.cfg-enq__pline::after { background: var(--k-bronze); }
.cfg-enq__eyebrow { color: var(--k-bronze); }
.cfg-enq__model, .cfg-enq__title, .cfg-enq__status, .cfg-enq__caveat { color: var(--k-text); }
.cfg-enq__version, .cfg-enq__caveat svg, .cfg-enq__h, .cfg-enq__equip-row dt, .cfg-enq__tile-label, .cfg-enq__fact dt, .cfg-enq__recap-version, .cfg-enq__opt, .cfg-enq__hint { color: var(--k-muted); }
.cfg-enq__facts { background: var(--k-hair); box-shadow: inset 0 0 0 1px var(--k-hair); }
.cfg-enq__fact { background: var(--k-col); }
.cfg-enq__fact-icon { color: var(--k-muted); }
.cfg-enq__fact dd, .cfg-enq__tile-value, .cfg-enq__equip-row dd { color: var(--k-text); }
.cfg-enq__fact--power { background: linear-gradient(90deg, rgb(184 145 94 / .14), rgb(184 145 94 / .04)), var(--k-col); }
.cfg-enq__fact--power .cfg-enq__fact-icon { color: var(--k-bronze-h); }
.cfg-enq__fact--power dd { color: #F1E3CC; }
.cfg-enq__tile { background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--k-hair); }
.cfg-enq__tile-media { color: var(--k-text); background: radial-gradient(70% 90% at 50% 30%, #2C2A27 0%, #161514 100%); }
.cfg-enq__tile--img .cfg-enq__tile-media { background: var(--cfg-studio); }
.cfg-enq__pic--dot { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), inset -8px -10px 18px rgb(0 0 0 / .35), inset 8px 8px 14px rgb(255 255 255 / .18), 0 10px 22px -8px rgb(0 0 0 / .8); }
.cfg-enq__equip-row { border-top-color: var(--k-hair); }
.cfg-enq__ticks svg { color: var(--k-bronze); }
.cfg-enq__specs { box-shadow: inset 0 0 0 1px var(--k-hair); }
.cfg-enq__specs > summary { color: var(--k-text); }
.cfg-enq__specs > summary svg { color: var(--k-muted); }
.cfg-enq .cfg-specs__row { border-top-color: var(--k-hair); }
.cfg-enq .cfg-specs__row dt, .cfg-enq .cfg-specs__note { color: var(--k-muted); }
.cfg-enq .cfg-specs__row dd { color: var(--k-text); }
.cfg-enq__link { color: var(--k-text); text-decoration-color: rgb(255 255 255 / .4); }
.cfg-enq__link:hover { color: var(--k-bronze-h); }
.cfg-enq__recap { color: var(--k-text); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--k-hair); }
button.cfg-enq__recap:hover { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px var(--k-line-strong); }
button.cfg-enq__recap:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cfg-enq__pw { color: #E9D7BA; }
.cfg-enq__recap-change { color: var(--k-text); text-decoration-color: rgb(255 255 255 / .4); }
.cfg-enq__lead { color: #BEB8AF; }
.cfg-enq__done-icon { color: #111; background: var(--k-bronze); box-shadow: 0 0 0 8px rgb(184 145 94 / .14); }
.cfg-enq__again { --bg: var(--k-cream); --bg-h: var(--k-cream-h); --bg-p: var(--k-cream-p); --fg: var(--ink); }
.cfg-enq__caption { color: var(--cfg-ink-soft); }
/* the form on graphite: dark lacquer fields, labels above */
.cfg-enquiry__form .field label { color: var(--k-text); }
.cfg-enquiry__form .hint, .cfg-enquiry__consent { color: var(--k-muted); }
.cfg-enquiry__consent a, .cfg-enquiry__cookies { color: var(--k-text); }
.cfg-enquiry__consent a:hover, .cfg-enquiry__cookies:hover { color: var(--k-bronze-h); }
.cfg-enquiry__form .input { color: var(--k-text); background-color: var(--k-field); border-color: var(--k-field-line); }
.cfg-enquiry__form .input::placeholder { color: #8F8981; }
.cfg-enquiry__form .input:hover { border-color: var(--k-muted); }
.cfg-enquiry__form .input:focus-visible { border-color: var(--k-text); box-shadow: 0 0 0 3px rgb(255 255 255 / .16); }
.cfg-enquiry__form .field.is-invalid .input, .cfg-enquiry__form .input[aria-invalid="true"] { border-color: #F0A0A8; }
.cfg-enquiry__form :is(.field .err, .aa-form-field-error) { color: #F4AEB5; }   /* form-validation.js injects small.aa-form-field-error */
.cfg-enquiry__alert { color: #F6C9CD; background: color-mix(in srgb, var(--danger) 24%, transparent); box-shadow: inset 0 0 0 1px rgb(240 160 168 / .4); }
/* ---------- the bar: the site's black, as the header; Next cream (secondary), the enquiry bronze (accent on black) ---------- */
.cfg-bar { background: var(--k-black); border-top-color: rgb(184 145 94 / .30); }   /* the header's bronze edge, mirrored: the column is bracketed */
.cfg-bar__title { color: var(--k-text); }
.cfg-bar__note { color: var(--k-muted); }
/* Back: a solid raised graphite button in every layout (never hollow), its rim 4.2:1 on the bar */
.cfg-bar__back { color: var(--k-text); background: var(--k-raise); box-shadow: inset 0 0 0 1px var(--k-line-strong); }
.cfg-bar__back:hover { background: var(--k-raise-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.cfg-bar__back:focus-visible { outline-color: #fff; }
@media (orientation: portrait), (max-width: 899px) and (min-height: 541px) {
  .cfg:is([data-step="summary"], [data-step="zapytanie"]) .cfg-bar { box-shadow: 0 -10px 24px -14px rgb(0 0 0 / .7); }
}
.cfg-bar__next { --bg: var(--k-cream); --bg-h: var(--k-cream-h); --bg-p: var(--k-cream-p); --fg: var(--ink); }
.cfg-bar__inquire { --bg: var(--k-bronze); --bg-h: var(--k-bronze-h); --bg-p: var(--k-bronze-p); --fg: #111;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22); }   /* a faint lacquer edge on the one bronze pill */
.cfg__dock .btn:is(:active, .is-pressed) { box-shadow: inset 0 0 0 2px rgb(0 0 0 / .16); }
.cfg__dock :is(.btn, .consent a):focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px rgb(0 0 0 / .6); }

/* ---------- the narrowest stages (360 px phones): the view switch and the toolbar share the bottom row without
   touching, while the full-view pill is in that row (in the top right corner it leaves the row room enough; every tap
   target keeps 44 px) ---------- */
@container cfg-stage (max-width: 379px) {
  .cfg:not(.is-full-top) :is(.cfg__views, .cfg__poster-note) { left: 10px; }
  .cfg:not(.is-full-top) .cfg__views .cfg-view { padding: 0 9px; font-size: .75rem; }
  .cfg:not(.is-full-top) .cfg__tools { right: 10px; }
}
@container cfg-stage (max-width: 359px) {   /* the side-by-side stage of a small phone held sideways (667 x 375) */
  .cfg:not(.is-full-top) :is(.cfg__views, .cfg__poster-note) { left: 8px; }
  .cfg:not(.is-full-top) .cfg__views .cfg-view { padding: 0 8px; }
  .cfg:not(.is-full-top) .cfg__tools { right: 8px; }
}

/* ---------- index: the configurators first, then a quiet list of the models coming in 3D ---------- */
.cfg-index__section + .cfg-index__section { margin-top: clamp(48px, 7vw, 96px); }
.cfg-index__title { margin-bottom: 20px; font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.375rem); line-height: 1.1; color: var(--ink); }
.cfg-index__lead { max-width: 60ch; margin: -8px 0 24px; color: var(--muted); }
.cfg-index__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gutter); }
.cfg-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface);
  transition: box-shadow var(--t-color) var(--ease-out), transform var(--t-panel) var(--ease-settle); }
.cfg-tile:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.cfg-tile:has(.cfg-tile__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.cfg-tile__link:focus-visible { outline: none; }
.cfg-tile__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #ECEAE6 0%, #F2F0EC 58%, #EFECE7 100%); }
.cfg-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-settle); }
.cfg-tile:hover .cfg-tile__media img { transform: scale(1.03); }
.cfg-tile__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.cfg-tile__brand { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cfg-tile__name { font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: 1.875rem; line-height: 1.1; color: var(--ink); }
.cfg-tile__meta { font-size: .9375rem; color: var(--muted); }
.cfg-tile__foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; }
.cfg-tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.cfg-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 var(--gutter); border-top: 1px solid var(--line); }
.cfg-soon__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.cfg-soon__brand { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cfg-soon__name { font-family: var(--serif); font-stretch: 75%; font-weight: 400; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.cfg-soon__meta { font-size: .875rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .cfg-full, .cfg-full__state, .cfg-full__text { transition: none; }
  .cfg.is-full-swap :is(.cfg-full, .cfg__tools-pill) { animation: none; }
  .cfg-tile:hover, .cfg-tile:hover .cfg-tile__media img { transform: none; }
  .cfg-panel:not([hidden]) { animation: none; }
}

/* ---------- the new models' viewer features (plan N1, public/design/am-cfg-models.js) ---------- */
/* seat layouts of a cabin (D9 / N9): a radio group in the seat pill's dark glass, under it */
.cfg__layouts { position: absolute; z-index: 3; top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px) + var(--cfg-seats-h, 44px) + 8px); left: var(--margin); display: none; gap: 2px; padding: 3px; border-radius: var(--pill);
  max-width: calc(100% - 2 * var(--margin)); overflow-x: auto; scrollbar-width: none;
  background: var(--cfg-glass-dark); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg__layouts::-webkit-scrollbar { display: none; }
.cfg:not(:has(.cfg__seats)) .cfg__layouts { top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px)); }
.cfg.is-interior.is-3d-ready .cfg__layouts { display: flex; }
.cfg__layouts .cfg-view { flex: none; }
.cfg.is-interior .cfg__layouts .cfg-view[aria-checked="true"] { color: var(--ink); background: #fff; }
.cfg__layouts .cfg-view:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.cfg__layouts .cfg-view[aria-checked="true"]:focus-visible { outline-color: var(--ink); }
.cfg__layouts.is-busy .cfg-view { cursor: progress; }
.cfg__layouts.is-busy .cfg-view:not([aria-checked="true"]) { opacity: .55; }
/* narrow stages (phones, landscape phones), and any stage the names do not fit in one row (am-cfg-models.js fitLayouts:
   .is-grid; the Russian names on a portrait tablet): the seat scenes in two rows of two, every name whole and in view
   (verify N9-FX-08: the one-row scroller cut the third name with nothing to say it scrolls) */
.cfg.is-interior.is-3d-ready .cfg__layouts.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100% - 2 * var(--margin), 520px); overflow: visible; border-radius: 22px; }
.cfg__layouts.is-grid .cfg-view { justify-content: center; min-width: 0; min-height: 40px; padding: 4px 10px; white-space: normal; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
@media (orientation: portrait) and (max-width: 767px), (orientation: landscape) and (max-height: 540px) {
  .cfg.is-interior.is-3d-ready .cfg__layouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100% - 28px, 400px); overflow: visible; border-radius: 22px; }
  .cfg__layouts .cfg-view { justify-content: center; min-width: 0; min-height: 40px; padding: 4px 10px; white-space: normal; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
}
/* landscape phones: under the seat pill (50 px tall on touch screens) with a little air, on its left edge */
@media (orientation: landscape) and (max-height: 540px) {
  .cfg__layouts { top: calc(var(--cfg-top) + 18px + var(--cfg-seats-h, 50px)); left: 12px; max-width: calc(100% - 24px); }
  .cfg:not(:has(.cfg__seats)) .cfg__layouts { top: calc(var(--cfg-top) + 12px); }
}
/* ... where the scenes wait behind one "Układ siedzeń" pill in the top right corner, beside the seat pill, and open as
   a list under it (am-cfg-models.js .is-menu / .is-open), so the low stage keeps more than half its height free
   (verify N9-UX-R2-11: two rows of two under the seat pill took 88 px of 314) */
.cfg__layouts-toggle { display: none; }
@media (orientation: landscape) and (max-height: 540px) {
  .cfg.is-interior.is-3d-ready .cfg__layouts-toggle { position: absolute; z-index: 3; top: calc(var(--cfg-top) + 12px); right: 12px; display: inline-flex; gap: 6px; min-height: 50px; padding: 0 14px 0 16px;
    color: rgb(255 255 255 / .92); background: var(--cfg-glass-dark); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
  .cfg__layouts-toggle svg { flex: none; transition: transform var(--t-color) var(--ease-out); }
  .cfg__layouts-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .cfg__layouts-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .cfg.is-interior.is-3d-ready .cfg__layouts.is-menu { display: grid; grid-template-columns: minmax(0, 1fr); top: calc(var(--cfg-top) + 68px); right: 12px; left: auto; width: max-content; max-width: calc(100% - 24px);
    overflow: visible; border-radius: 22px; }
  .cfg.is-interior.is-3d-ready .cfg__layouts.is-menu:not(.is-open) { display: none; }
  .cfg__layouts.is-menu.is-open { z-index: 4; }   /* the open list over the full-view pill under its toggle (INT fix-r1) */
  .cfg__layouts.is-menu .cfg-view { justify-content: flex-start; min-height: 44px; padding: 0 16px; white-space: nowrap; text-align: left; }
  .cfg:has(.cfg__layouts.is-menu:not([hidden])) .cfg__seats { max-width: calc(100% - 32px - var(--cfg-layouts-toggle-w, 150px)); }   /* no scene of the trim: no toggle beside it */
}

/* the cabin's own buttons in the tools pill (model.json cabinToggles, the N9's ambient light): an icon on every stage,
   phones included (verify N9-FX-02); named on wide stages and touch tablets, as the part buttons are */
@media (min-width: 1280px) {
  .cfg-tool--toggle { padding: 0 14px 0 11px; }
  .cfg-tool--toggle .cfg-tool__label { display: inline; }
}
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) { .cfg-tool--toggle[data-tip]::after { display: none; } }
@media (min-width: 768px) and (pointer: coarse) {
  .cfg-tool--toggle { padding: 0 14px 0 11px; }
  .cfg-tool--toggle .cfg-tool__label { display: inline; }
}
/* ... in a glass pill of their own just before the tools pill (owner 2026-10-25: the tools pill is the same on every
   model): the cabin's dark glass; where the tools pill stands alone (.is-full-top) beside it, at its width
   (--cfg-tools-w, am-cfg-models.js prepareToggles) */
.cfg__cabin-pill { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--pill);
  background: var(--cfg-glass-dark); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg__cabin-pill[hidden] { display: none; }
.cfg__cabin-pill .cfg-tool { color: rgb(255 255 255 / .92); }
.cfg__cabin-pill .cfg-tool[aria-pressed="true"] { color: var(--ink); background: #fff; }
.cfg.is-full-top .cfg__cabin-pill { position: absolute; z-index: 3; right: calc(var(--margin) + var(--cfg-tools-w, 0px) + 8px); bottom: 22px; }
@media (orientation: landscape) and (min-width: 900px), (orientation: landscape) and (max-height: 540px) {
  .cfg.is-full-top .cfg__cabin-pill { bottom: 12px; }
}
@media (orientation: landscape) and (max-height: 540px) { .cfg.is-full-top .cfg__cabin-pill { right: calc(12px + var(--cfg-tools-w, 0px) + 8px); } }
@media (max-width: 767px) and (orientation: portrait) { .cfg.is-full-top .cfg__cabin-pill { right: calc(16px + var(--cfg-tools-w, 0px) + 8px); bottom: 12px; } }

/* the tools pill a row up where even alone it has no room beside the view switch (am-cfg-ext.js PanelView.place:
   is-tools-up; phones held upright and small phones held sideways), every model the same way; the notes above it */
.cfg.is-tools-up.is-full-top :is(.cfg__tools-pill, .cfg__cabin-pill) { bottom: 72px; }
@media (orientation: landscape) and (min-width: 900px), (orientation: landscape) and (max-height: 540px), (max-width: 767px) and (orientation: portrait) {
  .cfg.is-tools-up.is-full-top :is(.cfg__tools-pill, .cfg__cabin-pill) { bottom: 62px; }
}
@media (orientation: portrait) and (max-width: 767px) {
  .cfg.is-tools-up .cfg__note3d { bottom: 112px; }
  .cfg.is-tools-up :is(.cfg__status, .cfg__zoom-hint, .cfg__notice, .cfg-pano__status) { bottom: 122px; }
}
/* the loading line while the 3D loads, on a phone held upright and in a narrow window: under the title, where the
   poster's car is not (X-EYE2-SU7-06, X-EYE2-YU7-04: at the bottom band it lay over the car's middle, the YU7's front
   bumper and wheel, and at 480 x 645 over its side). --cfg-head-b: the foot of the title block (am-configurator.js
   StepUi.headFoot), else the phone's one title line (1.04 x 1.75rem). It keeps that place while it fades out with the
   poster; a wheel set's or a photo's loading line (is-on), the reload offer and a failed load keep theirs */
@media (orientation: portrait) and (max-width: 767px) {
  .cfg:not(.is-3d-failed) .cfg__status:not(.is-on, .is-reload) { top: var(--cfg-head-b, calc(var(--cfg-top) + 16px + 1.82rem + 8px)); bottom: auto; left: var(--margin); transform: none; }
}
/* (show-fix-page-r2, check-page a PGA-16: while a phone loads, until the configurator's script laid the pills out, the
   row under the poster drew the tools pill over the view switch, "Na zewnątrz ⊕⊕ | 360°rze 360° | Pełny widok", 330 ms on
   a phone at 4x CPU and 7.3 s on Slow 4G (production the same), then snapped into place, the loading pill 30-50 px up
   with it) where the script may lay them out otherwise (narrow windows, phones upright or small ones held sideways) the
   view switch and the tools wait for it (am-cfg-ext.js PanelView.place: is-laid); on a phone upright the loading pill
   stands from the first paint where the tools pill a row up leaves it (all-20261109 merge: the 3D's own loading line
   stands under the title from the first paint, the rule above; this place is the other lines' until the layout) */
@media (max-width: 767.98px), (orientation: landscape) and (max-height: 540px) {
  .cfg:not(.is-laid) :is(.cfg__views, .cfg__tools) { visibility: hidden; }
}
@media (orientation: portrait) and (max-width: 479.98px) {
  .cfg:not(.is-laid) .cfg__status { bottom: 122px; }
}

/* the 360° photo (am-cfg-pano.js): its own canvas over the 3D, under the pills; the points and the car tools go */
.cfg-pano { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; cursor: grab; outline: none; touch-action: none; }
.cfg-pano[hidden] { display: none; }
.cfg-pano:active { cursor: grabbing; }
.cfg-pano:focus-visible { box-shadow: inset 0 0 0 2px #fff; }
.cfg-pano__status { position: absolute; z-index: 4; left: 50%; bottom: 96px; transform: translateX(-50%); display: none; width: max-content; max-width: calc(100% - 32px);
  padding: 8px 14px; border-radius: var(--pill); font-size: .8125rem; font-weight: 600; color: #fff; background: var(--cfg-glass-dark);
  -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); }
.cfg-pano__status:not(:empty) { display: block; }
.cfg.is-pano :is(.cfg__hotspots, .cfg__seats, .cfg__layouts, .cfg__hint, .cfg__zoom-hint, .cfg-tool--part, .cfg__tools-sep, [data-cfg-action="rotate"], [data-cfg-action="close-all"], [data-cfg-action="points"]) { display: none; }
.cfg.is-pano .cfg__head { opacity: 0; }
.cfg.is-pano :is(.cfg__views, .cfg__tools-pill) { background: var(--cfg-glass-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg.is-pano :is(.cfg-view, .cfg-tool) { color: rgb(255 255 255 / .76); }
.cfg.is-pano .cfg-view[aria-pressed="true"] { color: var(--ink); background: #fff; }
/* the Voyah's way into and out of its photo (model.json pano.intro.stageAtCut, am-cfg-models.js stageIntro): the stage
   keeps the Salon while the car is outside and switches under the black; meanwhile the title, the tools and the hints
   rest, faded out with their layout kept (no stage inset changes before the black), and come back faded in */
.cfg.is-pano-cine :is(.cfg__head, .cfg__tools-pill, .cfg__hint, .cfg__zoom-hint, .cfg__note3d) { opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 240ms var(--ease-out), visibility 0s linear 240ms; }
.cfg.is-pano-cine-end :is(.cfg__tools-pill, .cfg__hint, .cfg__note3d) { animation: cfg-pano-cine-in 500ms var(--ease-out) backwards; }
@keyframes cfg-pano-cine-in { from { opacity: 0; } }
/* (all-fix-page-r1, check b B1-06) the full-view pill alone in the stage's corner (phones, narrow windows) rests with
   them: its place follows the seat pill, which the press of the way out hides, so it had jumped 37-55 px up in one frame
   and then turned from the cabin's white to the outside's dark. It fades out where it is seen (PanelView.place holds it
   there by a translate while its new place, and the stage's free area with it, are taken at once, under the cross-fade's
   still as before) and fades in at its place with the tools when the way has landed. On the way out the title's lines stay as
   hidden as inside until the title fades in with the step's view (they had faded in while the title faded out: a ghost
   of the car's name over the cabin for ~0.2 s) */
.cfg.is-full-top.is-pano-cine .cfg-full { opacity: 0; visibility: hidden; pointer-events: none; translate: var(--cfg-full-hold-x, 0px) var(--cfg-full-hold-y, 0px);
  transition: opacity 240ms var(--ease-out), visibility 0s linear 240ms, background-color var(--t-color) var(--ease-out), color var(--t-color) var(--ease-out), box-shadow var(--t-color) var(--ease-out); }
.cfg.is-full-top.is-pano-cine-end .cfg-full { animation: cfg-pano-cine-in 500ms var(--ease-out) backwards; }
.cfg.is-pano-cine-out .cfg__head > :not(.cfg__caveat) { opacity: 0; }

/* what the 3D shows of this choice ("Wizualizacja: …", model.json caveats; am-cfg-models.js showCaveats): a quiet
   caption over the view pill; a note about the cabin only inside, one about the body only outside. Its own class:
   .cfg__caveat is the line under the version of the main track (P4 fix-r2: the chosen options our 3D does not show) */
.cfg__note3d { position: absolute; z-index: 3; left: var(--margin); bottom: 76px; display: grid; gap: 2px; width: max-content; max-width: min(46ch, calc(100% - 2 * var(--margin)));
  padding: 7px 13px; border-radius: 14px; font-size: .75rem; line-height: 1.4; color: var(--cfg-ink-soft);
  background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(26 25 23 / .08); }
.cfg__note3d[hidden], .cfg:not(.is-3d-ready) .cfg__note3d, .cfg.is-pano .cfg__note3d { display: none; }
.cfg:has(:is(.cfg__notice.is-on, .cfg__status.is-on, .cfg__status.is-reload)) .cfg__note3d { visibility: hidden; }   /* a passing note goes first */
.cfg.is-interior .cfg__note3d-line[data-view="exterior"], .cfg:not(.is-interior) .cfg__note3d-line[data-view="interior"] { display: none; }
.cfg:not(.is-interior) .cfg__note3d:not(:has(.cfg__note3d-line:not([data-view="interior"]))),
.cfg.is-interior .cfg__note3d:not(:has(.cfg__note3d-line:not([data-view="exterior"]))) { display: none; }
.cfg.is-interior .cfg__note3d { color: rgb(255 255 255 / .86); background: var(--cfg-glass-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.cfg__views [data-cfg-view][aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
/* the studio split: the pills sit 12 px from the stage foot */
@media (orientation: landscape) and (min-width: 900px), (orientation: landscape) and (max-height: 540px) {
  .cfg__note3d { bottom: 70px; }
}

/* a version with a body of its own is loading: the progress line runs while the old car stays */
/* (the same line while the cabin parts held back at the start are loading and the view shows the cabin) */
.cfg.is-body-loading .cfg__progress, .cfg.is-cabin-loading .cfg__progress { opacity: 1; }
.cfg.is-body-loading .cfg__progress > span, .cfg.is-cabin-loading .cfg__progress > span { width: 30%; animation: cfg-body-loading 1.1s var(--ease-out) infinite; }
@keyframes cfg-body-loading { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
/* and, where the cabin is a file of its own, the glass pill with a small turning ring: the line alone was lost on the
   dark headliner of a phone that had not loaded the cabin yet (verify Z9-FUX-R2-04) */
.cfg .cfg__status--cabin { display: inline-flex; align-items: center; gap: 9px; opacity: 0; visibility: hidden; }
.cfg.is-3d-ready.is-cabin-loading .cfg__status--cabin { opacity: 1; visibility: visible; }
.cfg__spinner { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgb(26 25 23 / .18); border-top-color: var(--ink);
  animation: cfg-spin 900ms linear infinite; }
@keyframes cfg-spin { to { transform: rotate(1turn); } }

/* portrait phones (the redesign's stacked layout): the seat pill is 50 px tall here, at the top of the stage under the
   glass header */
@media (orientation: portrait) and (max-width: 767px) {
  .cfg__layouts { top: calc(var(--cfg-top) + 18px + var(--cfg-seats-h, 50px)); left: 16px; max-width: calc(100% - 32px); }
  .cfg:not(:has(.cfg__seats)) .cfg__layouts { top: calc(var(--cfg-top) + 12px); }
  .cfg__layouts .cfg-view { padding: 0 11px; }
  .cfg-pano__status { bottom: 72px; }
  .cfg__note3d { left: 16px; bottom: 62px; max-width: calc(100% - 32px); }
  /* a third view (the Lynk & Co 900 "Wnętrze 360°" beside "Wewnątrz", the AITO see-through "Przekrój") fills the
     phone's bottom row: the tools go up a row on the right, the note above them. Only where three view buttons really
     show: the Zeekrs' two ("Na zewnątrz" | "Wnętrze 360°", no 3D cabin, owner 2026-10-24 ~16:15) keep the tools on
     the same bottom row, as in the owner's design and on the other 2-view pages (GATE-LEAN zeekr-9x) */
  .cfg:has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__tools { bottom: 62px; }
  /* ... also where the full-view pill stands alone in the top corner (.is-full-top: the tools pill is the positioned
     one there, INT fix-r1: "Przekrój" / "Wnętrze 360°" lay under it) */
  .cfg.is-full-top:has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__tools-pill { bottom: 62px; }
  .cfg:has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d { bottom: 112px; }
  /* where the full-view pill stands under the seat pill and the seat scenes (the Denza D9/N9 cabins), the cabin's
     loading pill goes beside it, on the left of the same row, never over it (wrap-fix-r2: "Wczytujemy wnętrze…" lay on
     "Pełny widok" while the cabin loaded); half the stage leaves the pill its room in every language */
  .cfg.is-full-top:has(.cfg__layouts:not([hidden])) .cfg__status--cabin { top: var(--cfg-full-top, calc(var(--cfg-top) + 12px)); bottom: auto; left: 16px; transform: none;
    max-width: calc(50% - 24px); min-height: 44px; padding: 6px 12px; font-size: .75rem; line-height: 1.25; text-align: left; }   /* two lines in the pill's 44 px */
}
/* every stage but a portrait phone's, outside: the note goes small into the free top right corner of the stage, under
   the glass header, out of the car's way (verify N9-UX-R2-04: over the view pill it covered the front of the car and
   the headlamp and door points; the points also keep clear of it, am-configurator.js noteRects). The studio split
   leaves no room between the view pill and the tools for the centred caption of the full-width stage */
@media (orientation: landscape), (min-width: 768px) {
  .cfg:not(.is-interior) .cfg__note3d, .cfg:not(.is-interior):has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d {
    top: calc(var(--cfg-top) + clamp(20px, 3vw, 40px)); right: var(--margin); bottom: auto; left: auto; max-width: min(34ch, 44%); padding: 6px 11px; font-size: .6875rem; text-align: right; }
  /* ... under the full-view pill where that pill stands alone in the same corner (.is-full-top, PanelView.place; its
     top --cfg-full-top), never under it (wrap-fix-r2: the Denza N9 Flagship note on a phone held sideways) */
  .cfg.is-full-top:not(.is-interior) .cfg__note3d, .cfg.is-full-top:not(.is-interior):has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d { top: calc(var(--cfg-full-top, calc(var(--cfg-top, 0px) + 20px)) + 52px); }
}
/* ... under the drag hint where it shows (a mouse, the desktop split) */
@media (orientation: landscape) and (min-width: 900px) and (min-height: 541px) and (hover: hover) and (pointer: fine) {
  .cfg:not(.is-interior) .cfg__note3d, .cfg:not(.is-interior):has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d { top: calc(var(--cfg-top) + clamp(24px, 3vw, 44px) + 32px); }
}
@media (orientation: landscape) and (max-height: 540px) {
  .cfg:not(.is-interior) .cfg__note3d, .cfg:not(.is-interior):has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d { top: calc(var(--cfg-top) + 12px); right: 12px; max-width: min(34ch, 46%); }
  .cfg.is-full-top:not(.is-interior) .cfg__note3d, .cfg.is-full-top:not(.is-interior):has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d { top: calc(var(--cfg-full-top, calc(var(--cfg-top, 0px) + 12px)) + 52px); }   /* the 44 px pill and 8 px of air */
}
/* phones, upright and sideways: the note has no free room off the car, so it waits behind a small glass info button
   beside the title and opens under the top pills on a tap (am-cfg-models.js showCaveats; oc-fix-r2: three lines over
   the N9 Flagship and its points); tablets and desktops keep it in the corner, without the button */
.cfg__note3d-btn { display: none; }
@media (max-width: 767px) and (orientation: portrait), (orientation: landscape) and (max-height: 540px) {
  .cfg__note3d-btn:not([hidden]) { position: absolute; left: calc(100% + 8px); top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    color: var(--ink); background: var(--cfg-glass); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
    box-shadow: inset 0 0 0 1px rgb(26 25 23 / .1); pointer-events: auto; transition: background-color var(--t-color) var(--ease-out), color var(--t-color) var(--ease-out); }
  .cfg__note3d-btn::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; }   /* 44 px to tap */
  .cfg__note3d-btn[aria-expanded="true"] { color: #fff; background: var(--ink); }
  .cfg__note3d-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .cfg.is-interior .cfg__head > .cfg__note3d-btn { opacity: 1; }
  .cfg.is-interior .cfg__note3d-btn:not([data-views~="interior"]), .cfg:not(.is-interior) .cfg__note3d-btn:not([data-views~="exterior"]),
  .cfg.is-pano .cfg__note3d-btn, .cfg:not(.is-3d-ready) .cfg__note3d-btn { display: none; }
  .cfg:not(.is-note-open) .cfg__note3d { display: none; }
  .cfg.is-note-open .cfg__note3d, .cfg.is-note-open:not(.is-interior) .cfg__note3d, .cfg.is-note-open:not(.is-interior):has(.cfg__views [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden]) ~ [data-cfg-action="view"]:not([hidden])) .cfg__note3d {
    top: calc(var(--cfg-full-top, calc(var(--cfg-top, 0px) + 12px)) + 52px); right: 16px; bottom: auto; left: 16px; width: auto; max-width: none;
    padding: 8px 13px; font-size: .75rem; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(26 25 23 / .08), 0 10px 24px -14px rgb(26 25 23 / .45); }
}
@media (prefers-reduced-motion: reduce) {
  .cfg.is-body-loading .cfg__progress > span, .cfg.is-cabin-loading .cfg__progress > span { animation: none; width: 100%; opacity: .5; }
  .cfg__spinner { animation: none; border-color: var(--ink); border-right-color: transparent; }
}

/* pictograms on the on-car points of the new models (plan §2.5, am-cfg-models.js setIcon): the part's line drawing in
   white on the glass ring, ink on the white hover/focus pill; a pressed point (an open door, lights on) is a dark disc.
   Inside, the door buttons and the seat icons of the source; outside, the "enter the car" seat behind an open left door */
.cfg-hotspot--icon { padding: 0 6px; }
.cfg-hotspot--icon .cfg-hotspot__icon { position: relative; flex: none; display: grid; place-items: center; width: 18px; height: 18px; color: #fff;
  filter: drop-shadow(0 1px 1.5px rgb(26 25 23 / .6)); transition: color 260ms var(--ease-out), filter 260ms var(--ease-out); }
.cfg-hotspot--icon .cfg-hotspot__icon svg { display: block; width: 18px; height: 18px; filter: none; }
.cfg-hotspot--icon::after { content: ""; position: absolute; inset: -4px; border-radius: var(--pill); box-shadow: 0 0 0 1.5px rgb(255 255 255 / .85); opacity: 0; pointer-events: none; }
.cfg-hotspot--icon.is-visible::after { animation: cfg-hotspot-breathe 2.8s var(--ease-out) 2 1s; }
.cfg-hotspot--icon[aria-pressed="true"] { background: rgb(26 25 23 / .78); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55), 0 0 0 1px rgb(26 25 23 / .22), 0 6px 18px -8px rgb(26 25 23 / .55); }
.cfg-hotspot--icon[aria-pressed="true"] .cfg-hotspot__icon { color: #fff; }
/* hover and focus: the white pill with an ink drawing, also over a pressed point */
.cfg-hotspot--icon:focus-visible { background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(26 25 23 / .08), 0 8px 22px -8px rgb(26 25 23 / .5); }
.cfg-hotspot--icon:focus-visible .cfg-hotspot__icon { color: var(--ink); filter: none; }
@media (hover: hover) {
  .cfg-hotspot--icon:hover { background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(26 25 23 / .08), 0 8px 22px -8px rgb(26 25 23 / .5); }
  .cfg-hotspot--icon:hover .cfg-hotspot__icon { color: var(--ink); filter: none; }
}
.cfg-hotspot--cabin.cfg-hotspot--icon.is-told .cfg-hotspot__icon { color: var(--ink); filter: none; }
@media (prefers-reduced-motion: reduce) {
  .cfg-hotspot--icon.is-visible::after { animation: none; }
}
.cfg-hotspot--cabin.cfg-hotspot--icon:focus-visible { box-shadow: 0 0 0 7px rgb(14 13 12 / .55), 0 8px 22px -8px rgb(26 25 23 / .5); }

/* phones: smaller on-car pictograms, so the points of a door, its seat, the boot and the lamps fit side by side */
@media (max-width: 599px) {
  .cfg-hotspot.cfg-hotspot--icon { height: 28px; margin: -14px 0 0 -14px; padding: 0 5px; }
  .cfg-hotspot--icon .cfg-hotspot__icon, .cfg-hotspot--icon .cfg-hotspot__icon svg { width: 17px; height: 17px; }
  .cfg-hotspot--icon::after { inset: -3px; }
}

/* the hall's 隐藏 (model.json pointsTool, the Avatr): the points on the outside of the car hidden by their tool, the
   cabin's never; the tool is only outside (QA VFU2-A11-07) */
.cfg.is-points-hidden .cfg__hotspots:not(.cfg__hotspots--cabin) { visibility: hidden; }
.cfg.is-interior [data-cfg-action="points"] { display: none; }

/* ---------- "Wnętrze 360°" (PLAN §5, P9 part B): the third view and the cabin photo mode (Zeekr 9X, 8X) ----------
   The third segment of the owner's view switch, the same glass segment as "Na zewnątrz" / "Wewnątrz" (the chosen one
   white). Where the selection has no photo it is disabled with its reason (aria-disabled: the tooltip on hover, the
   note on a tap, the description for screen readers). In the photo the stage is the cabin: the controls keep the
   cabin's dark glass, the 3D's points, the doors button, the seat pill and the note about what the 3D cannot show go */
/* (.cfg__stage is the container cfg-stage, above) */
/* the photo's segment is named "Wnętrze 360°" at every width and on every model, beside the "360°" turn tool of the one
   tools pill (owner 2026-10-25: the pill and the segments laid out the same everywhere) */
.cfg-view__short { display: none; }
.cfg .cfg-view[aria-disabled="true"], .cfg .cfg-view[aria-disabled="true"]:hover { color: rgb(250 250 248 / .42); background: none; cursor: not-allowed; }
.cfg.is-interior .cfg-view[aria-disabled="true"] { color: rgb(255 255 255 / .46); }
.cfg.is-interior.is-pano :is(.cfg__hotspots, .cfg__seats, .cfg__caveat, .cfg-tool--part, .cfg__tools-sep, [data-cfg-action="close-all"], [data-cfg-action="points"]) { display: none; }

/* ---------- the stage's pills where the stage is short or narrow (camchk 2026-11-06: D9-R3-01, N9-R3-01, D9-R3-02,
   LYNK-R3-01) ---------- */
/* the seat scenes on a phone held upright whose short stage brings their two rows within 8 px of the pills at its foot
   (am-cfg-models.js fitLayouts: .is-fold; 320 x 568 to 414 x 715: they lay under the tools pill a row up and the
   cabin's own pill, a tap on "Komfort dla czterech" hit "Zamknij wszystko"): they wait behind their pill, as on a
   phone held sideways, in the place of their first row under the seat pill, and open as the same rows of two under it,
   over the pills below until a scene is chosen, Esc or a press elsewhere closes them. While the cabin loads, its
   loading pill stands in that place (the scenes wait for the cabin) */
@media (orientation: portrait) and (max-width: 767px) {
  .cfg.is-interior.is-3d-ready .cfg__layouts-toggle.is-fold { position: absolute; z-index: 3; top: calc(var(--cfg-top) + 18px + var(--cfg-seats-h, 50px)); left: 16px; display: inline-flex; gap: 6px; min-height: 50px; padding: 0 14px 0 16px;
    color: rgb(255 255 255 / .92); background: var(--cfg-glass-dark); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
  .cfg:not(:has(.cfg__seats)) .cfg__layouts-toggle.is-fold { top: calc(var(--cfg-top) + 12px); }
  .cfg__layouts-toggle.is-fold svg { flex: none; transition: transform var(--t-color) var(--ease-out); }
  .cfg__layouts-toggle.is-fold[aria-expanded="true"] svg { transform: rotate(180deg); }
  .cfg__layouts-toggle.is-fold:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .cfg.is-interior.is-3d-ready .cfg__layouts.is-fold:not(.is-open) { display: none; }
  .cfg__layouts.is-fold { z-index: 4; top: calc(var(--cfg-top) + 18px + var(--cfg-seats-h, 50px) + 58px); }
  .cfg:not(:has(.cfg__seats)) .cfg__layouts.is-fold { top: calc(var(--cfg-top) + 12px + 58px); }
  .cfg.is-cabin-loading .cfg__layouts-toggle.is-fold { visibility: hidden; }
  .cfg.is-full-top:has(.cfg__layouts.is-fold:not([hidden])) .cfg__status--cabin { top: calc(var(--cfg-top) + 18px + var(--cfg-seats-h, 50px)); }
}
@media (prefers-reduced-motion: reduce) { .cfg__layouts-toggle.is-fold svg { transition: none; } }
/* the view switch and the tools pill where their full form is wider than the stage between its margins
   (am-cfg-ext.js PanelView.place: .is-views-tight, .is-tools-tight; a small phone held sideways, 568 x 320: the Lynk &
   Co 900's three views, the AITO M9's three and the five tools ran past the edges of its 248 px stage; the Lynk's three
   views on a 320 px phone held upright): their compact form on the same margins. The views keep their whole names, in
   two lines where a name has a space and the room asks for it (never "360°" alone: that is the turn tool's name); the
   tools keep their order, their pill and their 44 px height, 40 px wide each */
.cfg.is-views-tight .cfg__views { max-width: var(--cfg-views-room, calc(100% - 24px)); }
.cfg.is-views-tight .cfg__views .cfg-view { justify-content: center; padding: 0 8px; font-size: .75rem; line-height: 1.15; white-space: normal; text-align: center; }
.cfg.is-tools-tight .cfg__tools-pill { gap: 0; }
.cfg.is-tools-tight .cfg-tool { min-width: 40px; padding: 0 5px; }
.cfg.is-tools-tight .cfg__tools-sep { margin-inline: 3px; }
/* ---------- the showroom B "Galeria" (owner 2026-11-08 ~02:00 "B ciemna galeria"; public/design/showroom/b, the room in
   3D) under its light ceiling L2 "Sufit świetlny" (owner ~17:51 "L2 najlepsze"; public/design/showroom/b-l2, the same
   room: am-configurator.js SHOWROOM_DEFAULT). views/configurator.ejs marks every configurator data-showroom="b-l2", so
   the stage has the room's own dark tones from the first paint: before the room has loaded and wherever the canvas draws
   nothing (the deep charcoal wall, the black stone floor), so the room fades in over its own colours; no CSS logo
   (the variant's wallLogo: false). B itself (?showroom=b, QA) keeps the same stage. Last in the file, as its own
   stylesheet was before: it wins over the stage's earlier rules of the same weight. ?showroom=none (QA) takes the mark
   away: the studio of before ---------- */
.cfg:is([data-showroom="b"], [data-showroom="b-l2"]) .cfg__stage {
  background:
    radial-gradient(46% 30% at 50% 34%, rgb(176 150 112 / .10) 0%, rgb(176 150 112 / 0) 70%),
    linear-gradient(180deg, #2b2825 0%, #221f1c 46%, #1b1917 58%, #131211 64%, #0e0d0c 100%);
}
/* the stage's words on the dark room: light ink, a dark glass backing when the car turns under the title (inside the
   car and over the 360-degree photo the page's own look stays) */
.cfg:is([data-showroom="b"], [data-showroom="b-l2"]):not(.is-interior):not(.is-pano) .cfg__stage {
  --ink: #F3EFE8; --muted: #CFC6BA; --cfg-ink-soft: rgb(243 239 232 / .78);
  --cfg-glass: rgb(22 20 18 / .58);
  color: var(--ink);
}
/* (L2, as its own stylesheet had it: the active pill of the view switch and the tools, light #FAFAF8 above, keeps the
   page's dark ink) */
.cfg[data-showroom="b-l2"]:not(.is-interior):not(.is-pano) .cfg__stage :is(.cfg-view, .cfg-tool)[aria-pressed="true"] { color: #1A1917; }
/* the pills on the room keep the page's ink, as on the studio of before: the chosen segment of the view switch ("Na
   zewnątrz", "Wnętrze 360°", "Wewnątrz") and a pressed tool are a white pill with the page's dark words, a tool's tip a
   dark plate under white words. The light ink above is for the words standing on the room; inside these pills it made
   the chosen "Na zewnątrz" light on white (1.1:1) and the tips white on light (1.15:1). For any variant of the room
   (data-showroom), its own stage tones included; ?showroom=none takes the mark away (the studio of before as it was) */
.cfg[data-showroom] { --cfg-page-ink: var(--ink); }
.cfg[data-showroom] .cfg__stage :is(.cfg__views, .cfg__tools) { --ink: var(--cfg-page-ink); }
/* ---------- the plates over the room keep their contrast (owner 2026-11-08 ~17:51, his screenshot 1: the door point's
   "Otwórz drzwi" near-white on its white pill over a dark car) ----------
   The room's light ink (above) is for the words that stand on the room: the title, the version, the drag hint, and the
   dark glass of the loading line, of the notes and of the head's backing. A plate with a light ground of its own keeps
   the page's dark ink, as on the studio of before: a point's white pill on hover and keyboard focus (its label,
   pictogram and dot; "Zamknij drzwi" over an open door too), the white note (a tapped control's reason, a wheel set
   that failed) and the white plate of a failed load or of the reload offer. What stands on the room itself takes the
   room's light ink where the studio's dark one was: a point's keyboard ring outside its pill, the open "i" of a phone's
   note, and the loading line in the column's accent (bronze, as on the graphite). For every room (data-showroom); the
   studio of before (?showroom=none) has no mark and keeps its look */
.cfg[data-showroom] .cfg__stage { --cfg-stage-ink: var(--ink); }
.cfg[data-showroom] .cfg__stage :is(.cfg__hotspots, .cfg__notice, .cfg__status.is-reload),
.cfg[data-showroom].is-3d-failed .cfg__stage .cfg__status { --ink: var(--cfg-page-ink); }
.cfg[data-showroom]:not(.is-interior):not(.is-pano) .cfg__hotspots .cfg-hotspot:focus-visible { outline-color: var(--cfg-stage-ink); }
.cfg[data-showroom]:not(.is-interior):not(.is-pano) .cfg__note3d-btn[aria-expanded="true"] { color: var(--cfg-page-ink); }
.cfg[data-showroom]:not(.is-interior):not(.is-pano) .cfg__hint { color: var(--cfg-stage-ink); }
.cfg[data-showroom]:not(.is-interior):not(.is-pano) .cfg__poster-note { color: var(--cfg-stage-ink); background: rgb(14 13 12 / .66); }
.cfg[data-showroom]:not(.is-interior):not(.is-pano) .cfg__progress { background: rgb(243 239 232 / .1); }
.cfg[data-showroom]:not(.is-interior):not(.is-pano) .cfg__progress span { background: var(--k-bronze); }
/* the words that stand on the room itself (the title, the version line, the caveat and the drag hint) keep their
   contrast where the light ceiling L2 lights the fluted wall behind them (light ink on the lit flutes, 1440x900: the
   title 4.5:1, the version line 4.3, the hint 2.9; the studio of before 11.3 / 5.7 / 5.5): a soft shadow of the room's
   own charcoal round their letters and pictograms (title 6.9, version line 6.6, hint 6.2 at the least; on a phone the
   title 4.2 -> 6.6). The same words, size and place; no plate. On the dark gallery B it changes nothing one can see */
.cfg:is([data-showroom="b"], [data-showroom="b-l2"]):not(.is-interior):not(.is-pano) .cfg__title {
  text-shadow: 0 0 2px rgb(14 13 12 / .45), 0 0 14px rgb(14 13 12 / .5), 0 0 34px rgb(14 13 12 / .35); }
.cfg:is([data-showroom="b"], [data-showroom="b-l2"]):not(.is-interior):not(.is-pano) :is(.cfg__subtitle, .cfg__caveat, .cfg__hint) {
  text-shadow: 0 0 1px rgb(14 13 12 / .65), 0 0 3px rgb(14 13 12 / .55), 0 0 8px rgb(14 13 12 / .5), 0 0 18px rgb(14 13 12 / .3); }
.cfg:is([data-showroom="b"], [data-showroom="b-l2"]):not(.is-interior):not(.is-pano) :is(.cfg__caveat, .cfg__hint) svg {
  filter: drop-shadow(0 0 1px rgb(14 13 12 / .6)) drop-shadow(0 0 4px rgb(14 13 12 / .5)); }

/* (show-fix-page-r1, check-page a PGA-04, b PB-09, c PC-06; owner 2026-11-08 ~17:51 "pamiętaj o preloaderze": no flash)
   In a room (views/configurator.ejs has-showroom) the page's first paint is the graphite of its column: the site's beige
   page (#E5E0D8) was the first frame on every phone load, ~100 ms over the whole window before the dark header, room
   and column (a light-to-dark change of ~150 levels). The page draws nothing of the body's own colour afterwards (no
   footer on the model pages, .cfg fills the window); the studio of before (?showroom=none) keeps the beige */
body.page-configurator.has-showroom { background: #201F1D; }
/* (show-fix-page-r1, check-page a PGA-12 / c PC-10) the summary picture's caption "Zdjęcie poglądowe – inna
   konfiguracja…" in the page's ink on its glass plate: at 62 % its glyphs read 3.2:1 over the room's dark picture (3.3
   over the studio's); the plate and its place stay */
.cfg-enq__caption { color: var(--ink); }
