/* ============================================================================
   AXT : THE CONFIGURATOR WINDOW (assets/vehicle-config.js). One module for
   every vehicle, 18 October 2026.

   The grammar of the site and nothing else: white, hairlines, ink for what is
   chosen, ONE red (the button that sends the build). Two states on the root,
   data-mode="look" (the vehicle large) and "options" / "specs" (a window over
   the panel, the vehicle steps back). Computer: the stage on the left, the
   panel on the right, and the panel widens. Phone and tablet: the stage on
   top, the panel under it, and the stage shrinks. The dock (the total and the
   red button) never leaves the screen.
============================================================================ */

@property --cf-tint{syntax:"<color>";inherits:true;initial-value:#d6d6d6}

html.cf-locked,html.cf-locked body{overflow:hidden}
/* the lock must not change the width of the page, or the picture that flies
   from the card into the window loses its flight halfway */
@media (min-width:1024px){html:has(.cf-dlg){scrollbar-gutter:stable}}

/* --------------------------------------------------------- the dialog */
.cf-dlg{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;
  background:none;color:inherit;overflow:visible}
.cf-dlg::backdrop{background:rgb(10 10 10 / .58)}
@media (min-width:1024px){
  .cf-dlg{--cf-in:clamp(14px,2.4vh,30px);inset:0;margin:auto;
    width:min(1480px,calc(100vw - 2 * var(--cf-in)));height:min(940px,calc(100dvh - 2 * var(--cf-in)))}
}

.cf{--cf-pw:clamp(400px,31vw,440px);--cf-sh:clamp(220px,38svh,460px);--cf-pad:20px;
  position:relative;height:100%;display:grid;overflow:hidden;background:#fff;color:var(--ink);
  grid-template-columns:minmax(0,1fr);grid-template-rows:var(--cf-sh) minmax(0,1fr);
  transition:grid-template-rows 620ms var(--ease),grid-template-columns 620ms var(--ease),--cf-tint 700ms var(--ease)}
.cf:focus{outline:none}
.cf:not([data-mode="look"]){--cf-sh:clamp(150px,25svh,280px)}
@media (min-width:600px) and (max-width:1023.98px){
  .cf{--cf-sh:clamp(280px,46svh,600px);--cf-pad:28px}
  .cf:not([data-mode="look"]){--cf-sh:clamp(190px,27svh,320px)}
}
@media (min-width:1024px){
  .cf{--cf-pad:32px;border-radius:10px;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) var(--cf-pw);
    box-shadow:0 30px 80px -30px rgb(0 0 0 / .45)}
  .cf:not([data-mode="look"]){--cf-pw:clamp(460px,42vw,620px)}
}

/* the way out: top right of the window, over the stage on a phone */
.cf-x{position:absolute;z-index:9;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;
  border:0;border-radius:50%;background:rgb(255 255 255 / .92);color:var(--ink);cursor:pointer;
  box-shadow:0 0 0 1px var(--line),0 2px 10px rgb(0 0 0 / .06);
  transition:background var(--t-fast) var(--ease),color var(--t-fast) var(--ease),transform 420ms var(--ease)}
.cf-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.cf-x:hover{background:var(--ink);color:#fff;transform:rotate(90deg)}
.cf-x:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (min-width:1024px){.cf-x{top:18px;right:18px}}

/* ----------------------------------------------------------- the stage */
.cf-stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:#fff;container-type:size;
  display:grid;place-items:center;touch-action:pan-y}
/* the frame of every picture: 3:2, the shape of the white views and of the
   inside photographs, as large as the stage allows, room kept for the
   thumbnails under it */
.cf-frame{--cf-ground:89.5%;position:relative;aspect-ratio:3/2;
  width:min(94cqw,calc((100cqh - 16px) * 1.5));margin-top:-2cqh}
.cf-stage.has-thumbs .cf-frame{width:min(94cqw,calc((100cqh - 66px) * 1.5));margin-top:-46px}
@media (min-width:1024px){
  .cf-frame{width:min(86cqw,calc((100cqh - 60px) * 1.5));margin-top:0}
  .cf-stage.has-thumbs .cf-frame{width:min(86cqw,calc((100cqh - 150px) * 1.5));margin-top:-40px}
}
.cf-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;user-select:none;-webkit-user-drag:none}
.cf-img.is-on{opacity:1}
.cf-frame:not(.is-cut) .cf-img{border-radius:var(--r-card);object-fit:cover}
.cf-frame.is-cut .cf-img{filter:brightness(1.035)}

/* the ground under the wheels: a soft shadow, warmed by the colour chosen.
   The pictures are opaque white, so it is laid OVER them and multiplied:
   white stays white, the floor darkens, the tyres barely move. */
.cf-floor{position:absolute;left:6%;right:6%;top:calc(var(--cf-ground) - 4.5%);height:9%;pointer-events:none;
  border-radius:50%;mix-blend-mode:multiply;opacity:0;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--cf-tint) 35%,#6b6b6b) 0%,
    color-mix(in srgb,var(--cf-tint) 20%,#cfcfcf) 45%,transparent 100%);
  transition:opacity 500ms var(--ease),top 400ms var(--ease)}
.cf-frame.is-cut .cf-floor{opacity:.42}

/* the light that runs over the body when the colour changes: overlay on
   white is white, so it only lights the vehicle */
.cf-shine{position:absolute;inset:0;pointer-events:none;opacity:0;mix-blend-mode:overlay;
  background:linear-gradient(105deg,transparent 38%,rgb(255 255 255 / .75) 50%,transparent 62%) no-repeat;
  background-size:260% 100%;background-position:130% 0}
.cf-shine.go{animation:cf-shine 1050ms var(--ease) both}
@keyframes cf-shine{0%{opacity:1;background-position:130% 0}100%{opacity:1;background-position:-30% 0}}

/* what a photograph shows that is not standard, said on it */
.cf-badge{position:absolute;right:12px;bottom:12px;z-index:2;padding:6px 11px;border-radius:999px;pointer-events:none;
  background:rgb(19 19 19 / .82);color:#fff;font-size:.8125rem;font-weight:600}

/* the thumbnails: the outside in the colour chosen, then the inside */
.cf-thumbs{position:absolute;left:0;right:0;bottom:10px;z-index:3;display:flex;justify-content:safe center;gap:6px;
  padding:0 16px;overflow-x:auto;scrollbar-width:none;transition:opacity 300ms var(--ease),transform 400ms var(--ease)}
.cf-thumbs::-webkit-scrollbar{display:none}
@media (min-width:1024px){.cf-thumbs{bottom:22px;gap:10px}}
.cf-th{flex:0 0 auto;width:48px;aspect-ratio:3/2;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--r);
  background:#fff;cursor:pointer;opacity:.62;
  transition:opacity var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease),box-shadow var(--t-fast) var(--ease),transform 300ms var(--ease)}
@media (min-width:600px){.cf-th{width:60px}}
@media (min-width:1024px){.cf-th{width:76px}}
.cf-th img{display:block;width:100%;height:100%;object-fit:cover}
.cf-th.is-cut img{object-fit:contain;padding:2px;filter:brightness(1.035)}
.cf-th:hover{opacity:1;transform:translateY(-2px)}
.cf-th[aria-current]{opacity:1;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.cf-th:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* the vehicle steps back: on a phone the thumbnails leave room */
@media (max-width:1023.98px){
  .cf:not([data-mode="look"]) .cf-thumbs{opacity:0;transform:translateY(10px);pointer-events:none}
  .cf:not([data-mode="look"]) .cf-stage.has-thumbs .cf-frame{width:min(94cqw,calc((100cqh - 16px) * 1.5));margin-top:0}
}
.cf-stage .cf-frame{transition:width 620ms var(--ease),margin 620ms var(--ease),transform 620ms var(--ease)}
@media (min-width:1024px){
  .cf:not([data-mode="look"]) .cf-frame{transform:scale(.94)}
}

/* ----------------------------------------------------------- the panel */
.cf-panel{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;
  border-top:1px solid var(--line);container:cf-panel/inline-size}
@media (min-width:1024px){.cf-panel{border-top:0;border-left:1px solid var(--line)}}
.cf-body{position:relative;flex:1 1 auto;min-height:0}
.cf-scroll{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:22px;
  padding:20px var(--cf-pad) 28px}
@media (min-width:1024px){.cf-scroll{padding-top:30px;gap:26px}}

.cf-head{display:grid;gap:12px}
@media (min-width:1024px){.cf-head>.cf-k,.cf-head>.cf-name{padding-right:52px}}
.cf-k{color:var(--ink-3)}
.cf-name{margin:-4px 0 0;font-size:clamp(2rem,1.55rem + 1.5vw,2.875rem);font-weight:600;letter-spacing:-.045em;line-height:.96}
.cf-name:focus{outline:none}
.cf-models{display:flex;flex-wrap:wrap;gap:6px}
.cf-model{height:36px;padding:0 13px;border:1px solid var(--line-2);border-radius:var(--r);background:#fff;color:var(--ink);
  cursor:pointer;font:inherit;font-size:.875rem;font-weight:600;
  transition:background var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease),color var(--t-fast) var(--ease)}
.cf-model:hover{border-color:var(--ink)}
.cf-model[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.cf-model:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* the three key figures, in the size of a panel; on a phone they come after
   the choices (order), so the colour is in reach without a scroll */
.cf-facts{display:grid;gap:12px;margin-top:-8px}
.cf .cf-figs{margin:0;padding-top:12px;container-type:inline-size}
.cf .cf-figs dd b{font-size:clamp(1.25rem,6.5cqi,1.625rem)}
/* a word in place of a figure ("On request") is set as on the card, or three
   of them run into each other (CampRex PR1, 29 October 2026) */
.cf .cf-figs dd.is-long b{font-size:clamp(1rem,4.6cqi,1.25rem);letter-spacing:-.02em;line-height:1.1}
.cf .cf-figs dt{font-size:.75rem}
.cf-note{display:grid;gap:10px}
.cf-note .vc-ask{margin:0}
@media (max-width:1023.98px){
  .cf-facts{order:1;margin-top:0}
  .cf-facts .cf-figs{padding-top:0;border-top:0}
  .cf-inv{order:2}
}

/* a section: its title left, what is chosen right, the swatches under */
.cf-sec{display:grid;gap:12px}
.cf-sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:14px;min-width:0}
.cf-sec-h h3{flex:0 0 auto;font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.cf-val{display:inline-flex;align-items:baseline;gap:8px;min-width:0;font-size:.9375rem}
.cf-val-n{font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-val-p{flex:0 0 auto;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap}
.cf-sec-n{margin-top:-4px;font-size:.8125rem;line-height:1.45;color:var(--ink-3)}
/* one colour, nothing to pick: the line says it, with its dot, and that is all */
.cf-sec.is-one{gap:0}
.cf-sec.is-one .cf-val-n{display:inline-flex;align-items:center;gap:8px}
.cf-sec.is-one .cf-val-n::before{content:"";flex:0 0 auto;width:14px;height:14px;border-radius:50%;background:var(--c,var(--line));
  box-shadow:inset 0 0 0 1px rgb(0 0 0 / .16)}
.cf-finish.is-one .cf-val-n::before{border-radius:4px}

.cf-sws{display:flex;flex-wrap:wrap;gap:8px}
.cf-sw{position:relative;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;
  background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.cf-sw i{display:block;width:36px;height:36px;border-radius:50%;background:var(--c,var(--line));
  box-shadow:inset 0 0 0 1px rgb(0 0 0 / .14),inset 0 -7px 10px rgb(0 0 0 / .14),inset 0 5px 8px rgb(255 255 255 / .2);
  transition:transform 380ms var(--ease)}
.cf-sw::before{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 2px var(--ink);
  opacity:0;transform:scale(.72);transition:opacity 200ms var(--ease),transform 460ms cubic-bezier(.34,1.56,.64,1)}
.cf-sw:hover i{transform:scale(1.08)}
.cf-sw[aria-pressed="true"]::before{opacity:1;transform:scale(1)}
.cf-sw[aria-pressed="true"] i{transform:scale(.9)}
.cf-sw:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* a finish is a square of material, not a paint */
.cf-sw.is-fin,.cf-sw.is-fin::before{border-radius:10px}
.cf-sw.is-fin i{border-radius:7px}

/* --------------------------------------------- the two rows that open */
.cf-rows{display:grid;border-top:1px solid var(--line)}
.cf-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;min-height:62px;
  margin:0;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;color:var(--ink);
  cursor:pointer;font:inherit;text-align:left}
.cf-row::before{content:"";position:absolute;inset:4px -10px;z-index:-1;border-radius:8px;background:var(--soft);opacity:0;
  transition:opacity var(--t-fast) var(--ease)}
.cf-row:hover::before{opacity:1}
.cf-rows{isolation:isolate}
.cf-row:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.cf-row-t{font-size:1.0625rem;font-weight:600;letter-spacing:-.015em}
.cf-row-v{display:inline-flex;align-items:center;gap:8px;font-size:.875rem;color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap}
.cf-row-v>span{color:var(--ink-2)}
.cf-row-c{display:grid;width:18px;height:18px;color:var(--ink-3);transition:transform 300ms var(--ease)}
.cf-row-c svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cf-row:hover .cf-row-c{transform:translateX(3px);color:var(--ink)}
.cf-pill{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--ink);
  color:#fff;font-size:.75rem;font-weight:600}

/* the Investor Plan, on a caravan: a quiet line and a switch, no figure */
.cf-inv{display:grid;gap:8px;padding:14px 16px 12px;border-radius:var(--r-card);background:var(--soft)}
.cf-inv-l{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;cursor:pointer}
.cf-inv-t{display:grid;gap:4px;min-width:0}
.cf-inv-k{display:flex;align-items:center;gap:8px;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.cf-inv-k i{width:7px;height:7px;border-radius:50%;background:var(--red)}
.cf-inv-s{font-size:.875rem;line-height:1.45;color:var(--ink-3);text-wrap:pretty}
.cf-inv input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.cf-switch{position:relative;width:42px;height:26px;border-radius:999px;background:var(--line-2);
  transition:background 260ms var(--ease)}
.cf-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px rgb(0 0 0 / .25);transition:transform 360ms cubic-bezier(.34,1.56,.64,1)}
.cf-inv input:checked + .cf-switch{background:var(--ink)}
.cf-inv input:checked + .cf-switch::after{transform:translateX(16px)}
.cf-inv input:focus-visible + .cf-switch{outline:2px solid var(--ink);outline-offset:2px}
.cf-inv-a{justify-self:start;font-size:.8125rem}

/* ------------------------------------------- the window over the panel */
.cf-drawer{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;background:#fff}
.cf-drawer[hidden]{display:none}
.cf-dr-h{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px var(--cf-pad);
  border-bottom:1px solid var(--line)}
@media (min-width:1024px){.cf-dr-h{min-height:78px;padding-top:18px;padding-right:76px}}
.cf-dr-t{flex:0 1 auto;min-width:0;font-size:1.25rem;font-weight:600;letter-spacing:-.025em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-dr-t:focus{outline:none}
.cf-dr-v{flex:1 1 auto;font-size:.875rem;color:var(--ink-3);white-space:nowrap}
.cf-done{flex:0 0 auto;height:40px;padding:0 18px;border:0;border-radius:var(--r-card);background:var(--ink);color:#fff;
  cursor:pointer;font:inherit;font-size:.875rem;font-weight:600;transition:background var(--t-fast) var(--ease),transform 200ms var(--ease)}
.cf-done:hover{background:#000}
.cf-done:active{transform:scale(.96)}
.cf-done:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.cf-dr-b{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px var(--cf-pad) 32px}

/* the options: a group title, then one line per option, the whole line taps */
.cf-grp{padding-top:20px}
.cf-grp-h{padding-bottom:8px;border-bottom:1px solid var(--line);font-size:.75rem;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-3)}
.cf-opts{display:grid;margin:0;padding:4px 0 0;list-style:none}
.cf-opts li+li .cf-opt{box-shadow:0 -1px 0 var(--soft)}
.cf-opt{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:4px 14px;
  margin:0 -10px;padding:13px 10px;border-radius:8px;cursor:pointer;transition:background 200ms var(--ease)}
.cf-opt:hover{background:var(--soft)}
.cf-opt:has(input:checked){background:#f7f7f7}
.cf-opt input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.cf-chk{display:grid;place-items:center;width:22px;height:22px;margin-top:-1px;border:1.5px solid var(--ink-4);border-radius:50%;
  background:#fff;transition:background 240ms var(--ease),border-color 240ms var(--ease)}
.cf-chk svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:14;stroke-dashoffset:14;transition:stroke-dashoffset 340ms var(--ease) 60ms}
.cf-opt input:checked + .cf-chk{background:var(--ink);border-color:var(--ink)}
.cf-opt input:checked + .cf-chk svg{stroke-dashoffset:0}
.cf-opt input:focus-visible + .cf-chk{outline:2px solid var(--ink);outline-offset:2px}
.cf-opt-t{display:grid;gap:3px;min-width:0}
.cf-opt-n{font-size:.9375rem;line-height:1.35;color:var(--ink);font-weight:500}
.cf-opt-w{font-size:.8125rem;line-height:1.45;color:var(--ink-3);text-wrap:pretty}
.cf-opt-p{font-size:.9375rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}

/* the specs reuse the register of the shop (shop.css): a little air here */
.cf-spec{display:grid;gap:18px;padding-top:16px}

/* ------------------------------------------------------------ the dock */
.cf-dock{position:relative;z-index:6;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:14px;padding:12px var(--cf-pad) calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
@media (min-width:1024px){.cf-dock{padding-top:18px;padding-bottom:20px}}
.cf-tot{display:grid;gap:1px;min-width:0}
.cf-tot-l{font-size:.6875rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.cf-tot-v{display:grid;overflow:hidden;font-size:clamp(1.3125rem,1rem + .6vw,1.625rem);font-weight:600;letter-spacing:-.035em;
  line-height:1.15;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.cf-tot-v>span{grid-area:1/1}
.cf-tot-n{font-size:.75rem;line-height:1.35;color:var(--ink-3);text-wrap:pretty}
.cf-send{height:52px;gap:10px;padding:0 20px}
.cf-send svg{width:20px;height:20px;fill:currentColor;flex:0 0 auto}
.cf-send:active{transform:scale(.97)}
/* a very narrow panel (a small phone): the total over the button, never cut */
@container cf-panel (max-width:359px){
  .cf-dock{grid-template-columns:minmax(0,1fr)}
  .cf-send{width:100%}
}

/* after the send: one line that says what happens next */
.cf-toast{position:absolute;left:var(--cf-pad);right:var(--cf-pad);bottom:calc(100% + 10px);z-index:7;display:flex;align-items:center;
  gap:10px;margin:0;padding:12px 14px;border-radius:8px;background:var(--ink);color:#fff;font-size:.875rem;line-height:1.4;
  box-shadow:0 12px 30px -12px rgb(0 0 0 / .45);opacity:0;transform:translateY(10px) scale(.98);pointer-events:none;
  transition:opacity 260ms var(--ease),transform 420ms var(--ease)}
.cf-toast.is-on{opacity:1;transform:none}
.cf-toast-i{display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:var(--gain)}
.cf-toast-i svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* --------------------------------------------------- open and close */
@media (prefers-reduced-motion:no-preference){
  .cf-dlg[open]::backdrop{animation:cf-fade 320ms ease-out both}
  .cf-dlg.is-closing::backdrop{animation:cf-fade 220ms ease-in reverse both}
  .cf-dlg[open]:not(.is-vt) .cf{animation:cf-in 560ms var(--ease) both}
  .cf-dlg.is-closing .cf{animation:cf-out 220ms ease-in both}
}
@keyframes cf-fade{from{opacity:0}}
@keyframes cf-in{from{opacity:0;transform:translateY(28px)}}
@keyframes cf-out{to{opacity:0;transform:translateY(16px)}}
@media (min-width:1024px){
  @keyframes cf-in{from{opacity:0;transform:translateY(18px) scale(.985)}}
  @keyframes cf-out{to{opacity:0;transform:translateY(10px) scale(.985)}}
}
::view-transition-group(cf-veh){animation-duration:560ms;animation-timing-function:cubic-bezier(.22,1,.36,1)}

@media (prefers-reduced-motion:reduce){
  .cf,.cf-frame,.cf-floor,.cf-thumbs,.cf-th,.cf-sw i,.cf-sw::before,.cf-row,.cf-row-c,.cf-chk,.cf-chk svg,.cf-switch,
  .cf-switch::after,.cf-toast,.cf-x,.cf-stage .cf-frame{transition:none}
  .cf-shine.go{animation:none}
}

/* ------------------------------------------------------------ a phone */
/* A phone is held in one hand and read at arm's length: the swatches on
   ONE line, the name and the total one size down, less air between the
   blocks, so the vehicle, its colour and the button share the screen
   (Arnaud, 18 October 2026: "la taille des boutons de couleurs sur
   telephone (...) beaucoup trop gros (...) pareil pour le texte"). */
@media (max-width:599.98px){
  .cf-scroll{gap:16px;padding-top:16px;padding-bottom:20px}
  .cf-head{gap:8px}
  .cf-name{font-size:1.625rem;letter-spacing:-.04em}
  .cf-k{font-size:.6875rem}
  .cf-sec{gap:8px}
  .cf-sec-h h3{font-size:.6875rem}
  .cf-val{font-size:.875rem;gap:6px}
  .cf-sws{flex-wrap:nowrap;gap:4px}
  .cf-sw{width:38px;height:38px}
  .cf-sw i{width:28px;height:28px}
  .cf-sw::before{box-shadow:inset 0 0 0 1.5px var(--ink)}
  .cf-sw.is-fin,.cf-sw.is-fin::before{border-radius:8px}
  .cf-sw.is-fin i{border-radius:6px}
  .cf-model{height:32px;padding:0 10px;font-size:.8125rem}
  .cf-row{min-height:52px}
  .cf-row-t{font-size:.9375rem}
  .cf-row-v{font-size:.8125rem}
  .cf-inv{padding:12px 14px 10px}
  .cf-inv-s{font-size:.8125rem}
  .cf .cf-figs dd b{font-size:1.25rem}
  .cf .cf-figs dd.is-long b{font-size:1rem}
  .cf-dock{gap:12px;padding-top:10px}
  .cf-tot-l{font-size:.625rem}
  .cf-tot-v{font-size:1.1875rem}
  .cf-tot-n{font-size:.6875rem}
  .cf-send{height:46px;padding:0 16px;font-size:.875rem;gap:8px}
  .cf-send svg{width:18px;height:18px}
  .cf-dr-h{min-height:56px}
  .cf-dr-t{font-size:1.0625rem}
  .cf-done{height:36px;padding:0 14px}
  .cf-opt{padding:11px 10px}
  .cf-opt-n,.cf-opt-p{font-size:.875rem}
  .cf-opt-w{font-size:.75rem}
}

/* --------------------------------------------- a phone held sideways */
/* the stage beside the panel, as on a computer, or the panel would be a
   strip under a picture */
@media (max-width:1023.98px) and (orientation:landscape) and (max-height:560px){
  .cf{--cf-pw:clamp(300px,46vw,400px);--cf-pad:18px;grid-template-rows:minmax(0,1fr);
    grid-template-columns:minmax(0,1fr) var(--cf-pw)}
  .cf:not([data-mode="look"]){--cf-pw:clamp(340px,58vw,520px)}
  .cf-panel{border-top:0;border-left:1px solid var(--line)}
  .cf-facts,.cf-inv{order:0}
  .cf-x{right:auto;left:12px}
}
