/* Code-Promo-Tesla.fr — "Vérifié" design system. Newsprint ground, ink, red/green verdict stamps.
   Tokens are defined once here; see _chain/07-design.md for contrast values. */

@font-face {
  font-family: "Archivo Narrow";
  src: url(/assets/fonts/archivo-narrow-var-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url(/assets/fonts/archivo-narrow-var-latin-ext.woff2) format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cpv-paper: #eff1ed;
  --cpv-sheet: #fbfcfa;
  --cpv-ink: #121417;
  --cpv-ink-2: #3d434a;
  --cpv-ink-3: #565d65;
  --cpv-hair: #c4c9c1;
  --cpv-myth: #b42318;
  --cpv-myth-bg: #fbe9e6;
  --cpv-real: #136a41;
  --cpv-real-bg: #e3f1e8;
  --cpv-open: #7a4f00;
  --cpv-open-bg: #f8ecd2;
  --cpv-link: #123f8c;
  --cpv-focus: #1d5fd6;
  --cpv-head: "Archivo Narrow", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --cpv-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cpv-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --cpv-max: 1120px;
  --cpv-read: 68ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (min-width: 900px) { html { scroll-padding-top: 116px; } }
body {
  margin: 0;
  background: var(--cpv-paper);
  color: var(--cpv-ink);
  font: 400 1.0625rem/1.62 var(--cpv-text);
  overflow-wrap: break-word;
  hyphens: manual;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--cpv-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cpv-focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--cpv-head); line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 var(--s3); hyphens: manual; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 700; margin-top: var(--s7); }
h3 { font-size: 1.22rem; font-weight: 700; margin-top: var(--s5); }
p, ul, ol { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: var(--s2); }
strong { font-weight: 700; }
.cpv-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cpv-skip { position: absolute; left: var(--s2); top: -60px; background: var(--cpv-sheet); color: var(--cpv-ink); padding: var(--s2) var(--s3); z-index: 40; }
.cpv-skip:focus { top: var(--s2); }
.cpv-wrap { max-width: var(--cpv-max); margin: 0 auto; padding: 0 var(--s4); }

/* ---------- chrome: masthead band + in-chrome referral strip.
   Mobile: the masthead scrolls away, the strip stays (sticky, in flow, covers nothing).
   Desktop: masthead and strip stay together. */
.cpv-mast { background: var(--cpv-ink); color: var(--cpv-sheet); border-bottom: 3px double var(--cpv-sheet); position: relative; z-index: 21; }
.cpv-mast__in { display: flex; align-items: center; gap: var(--s3); height: 52px; }
.cpv-brand { display: flex; align-items: center; gap: var(--s2); color: inherit; text-decoration: none; font-family: var(--cpv-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; min-width: 0; }
.cpv-brand__mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 2px solid currentColor; font-size: 0.95rem; transform: rotate(-4deg); }
.cpv-brand em { font-style: normal; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.cpv-brand__txt { display: flex; flex-direction: column; min-width: 0; }
.cpv-brand__name { line-height: 1.12; }
/* trademark guardrail: always visible, wraps instead of overflowing (fixed 52px band, so no layout shift) */
.cpv-brand__aff { font: 400 0.7rem/1.2 var(--cpv-text); color: var(--cpv-hair); white-space: normal; letter-spacing: 0; }
.cpv-nav { margin-left: auto; min-width: 0; }
.cpv-nav ul { list-style: none; margin: 0; padding: 0; }
.cpv-nav li { margin: 0; }
.cpv-nav a { color: var(--cpv-sheet); text-decoration: none; display: block; padding: var(--s2) var(--s3); font-weight: 600; font-size: 0.95rem; }
.cpv-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cpv-nav a:focus-visible, .cpv-navact:focus-visible, .cpv-brand:focus-visible, .cpv-nav summary:focus-visible { outline-color: #8fb4ff; }
.cpv-nav__d { display: none; }
.cpv-nav__m summary { white-space: nowrap; cursor: pointer; list-style: none; padding: var(--s2) var(--s3); border: 1px solid #8a9096; font-weight: 600; font-size: 0.95rem; }
.cpv-nav__m summary::-webkit-details-marker { display: none; }
.cpv-nav__m[open] ul { position: absolute; left: 0; right: 0; top: 100%; background: var(--cpv-ink); border-bottom: 3px double var(--cpv-sheet); padding: var(--s2) var(--s4) var(--s4); max-height: 70vh; overflow: auto; }
.cpv-navact { color: var(--cpv-ink); background: var(--cpv-sheet); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 6px 10px; white-space: nowrap; border: 2px solid var(--cpv-sheet); }
.cpv-navact:hover { background: transparent; color: var(--cpv-sheet); }
.cpv-navact__short { display: none; }
@media (max-width: 479px) { .cpv-navact__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .cpv-navact__short { display: inline; } }
@media (max-width: 420px) {
  .cpv-mast__in { gap: var(--s2); }
  .cpv-brand { flex: none; }
  .cpv-brand__name { font-size: 0.92rem; }
  .cpv-brand__txt { width: min-content; }
  .cpv-brand__aff { font-size: 0.66rem; }
  .cpv-navact { font-size: 0.8rem; padding: 5px 7px; }
  .cpv-nav__m summary { padding: 6px 8px; }
}
@media (max-width: 359px) { .cpv-brand__mark { display: none; } }
@media (min-width: 900px) {
  .cpv-nav__m { display: none; }
  .cpv-nav__d { display: flex; flex-wrap: nowrap; }
  .cpv-mast { position: sticky; top: 0; }
  .cpv-strip { top: 55px; }
}

.cpv-strip { position: sticky; top: 0; z-index: 20; background: var(--cpv-sheet); border-bottom: 2px solid var(--cpv-ink); }
.cpv-strip__in { display: flex; align-items: center; gap: var(--s2); min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
.cpv-strip__txt { margin: 0; font-size: 0.86rem; line-height: 1.3; min-width: 0; flex: 1 1 auto; }
.cpv-strip__disc { color: var(--cpv-ink-3); }
.cpv-strip .cpv-btn { padding: 6px 10px; font-size: 0.82rem; min-height: 34px; }
@media (max-width: 560px) {
  .cpv-strip__in { min-height: 52px; gap: 6px; }
  .cpv-strip__txt { font-size: 0.8rem; }
  .cpv-strip__disc { display: block; font-size: 0.72rem; }
  .cpv-strip__nomob { display: none; }
  .cpv-strip .cpv-btn { padding: 5px 8px; font-size: 0.78rem; }
  .cpv-strip .cpv-btn--copy span { min-width: 6.9em; }
}

/* ---------- buttons */
.cpv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 16px; font: 700 0.95rem/1.1 var(--cpv-text); color: var(--cpv-sheet); background: var(--cpv-ink); border: 2px solid var(--cpv-ink); border-radius: 2px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.cpv-btn:hover { background: #2b3036; }
.cpv-btn--open { background: var(--cpv-sheet); color: var(--cpv-ink); }
.cpv-btn--open:hover { background: var(--cpv-paper); }
.cpv-btn[data-state="done"], .cpv-btn[data-state="again"] { background: var(--cpv-real); border-color: var(--cpv-real); }
.cpv-btn[data-state="fail"] { background: var(--cpv-open-bg); color: var(--cpv-open); border-color: var(--cpv-open); }
.cpv-btn--copy span { display: inline-block; min-width: 9.2em; text-align: center; }
.cpv-strip .cpv-btn--copy span { min-width: 7.6em; }

/* ---------- page */
.cpv-page { padding-top: var(--s5); padding-bottom: var(--s7); }
.cpv-page > * { min-width: 0; }
.cpv-crumbs ol { list-style: none; padding: 0; margin: 0 0 var(--s4); display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 0.86rem; color: var(--cpv-ink-3); }
.cpv-crumbs li { margin: 0; }
.cpv-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--cpv-hair); }
.cpv-read { max-width: var(--cpv-read); }
.cpv-kicker { font: 700 0.8rem/1.2 var(--cpv-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--cpv-ink-3); margin-bottom: var(--s2); }
.cpv-lead { font-size: 1.16rem; line-height: 1.55; color: var(--cpv-ink-2); }
.cpv-byline, .cpv-src { font: 400 0.8rem/1.45 var(--cpv-mono); color: var(--cpv-ink-3); overflow-wrap: anywhere; hyphens: none; }
.cpv-src a { color: var(--cpv-ink-2); }
.cpv-section { border-top: 2px solid var(--cpv-ink); margin-top: var(--s7); padding-top: var(--s2); }
.cpv-section > h2:first-child, .cpv-section > .cpv-kicker + h2 { margin-top: var(--s3); }

/* ---------- stamps */
.cpv-stamp { display: inline-flex; align-items: center; gap: 5px; font: 700 0.8rem/1 var(--cpv-head); text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 8px 4px; border: 3px double currentColor; border-radius: 3px; white-space: nowrap; vertical-align: middle; }
.cpv-stamp--mythe, .cpv-stamp--exclu { color: var(--cpv-myth); background: var(--cpv-myth-bg); }
.cpv-stamp--realite, .cpv-stamp--ouvert { color: var(--cpv-real); background: var(--cpv-real-bg); }
.cpv-stamp--nonverifie, .cpv-stamp--partiel { color: var(--cpv-open); background: var(--cpv-open-bg); }

/* ---------- verdict (homepage first screen) */
.cpv-verdict { display: grid; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 2px solid var(--cpv-ink); }
.cpv-verdict h1 { margin: 0; }
.cpv-verdict__stamp { display: inline-flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; padding: var(--s3) var(--s4); border: 4px double var(--cpv-myth); color: var(--cpv-myth); background: var(--cpv-myth-bg); transform: rotate(-1.2deg); max-width: 100%; }
.cpv-verdict__no { font: 700 2.4rem/1 var(--cpv-head); text-transform: uppercase; letter-spacing: 0.04em; }
.cpv-verdict__line { font: 700 1.2rem/1.25 var(--cpv-head); color: var(--cpv-ink); min-width: 0; hyphens: manual; }
.cpv-verdict__ptr { font-weight: 600; margin: 0; }
.cpv-verdict__facts { margin: 0; font-size: 0.95rem; color: var(--cpv-ink-2); }
.cpv-toc { list-style: none; padding: 0; margin: var(--s2) 0 0; counter-reset: m; display: grid; gap: 0; border-top: 1px solid var(--cpv-hair); }
.cpv-toc li { counter-increment: m; margin: 0; border-bottom: 1px solid var(--cpv-hair); }
.cpv-toc a { display: grid; grid-template-columns: 2.2em 1fr; gap: var(--s2); padding: 9px 0; color: var(--cpv-ink); text-decoration: none; }
.cpv-toc a::before { content: counter(m, decimal-leading-zero); font: 700 1rem/1.4 var(--cpv-head); color: var(--cpv-myth); }
.cpv-toc a:hover span { text-decoration: underline; }
.cpv-toc span { min-width: 0; }
@media (prefers-reduced-motion: reduce) { .cpv-verdict__stamp, .cpv-reg__gut .cpv-stamp { transform: none !important; } }
@media (min-width: 900px) {
  .cpv-verdict { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: var(--s7); align-items: start; }
  .cpv-verdict__main { grid-column: 1; }
  .cpv-verdict__side { grid-column: 2; padding-top: var(--s3); }
}

/* ---------- referral unit (#ref) */
.cpv-refunit { margin: var(--s6) 0; padding: var(--s5); background: var(--cpv-sheet); border: 2px solid var(--cpv-ink); box-shadow: 6px 6px 0 var(--cpv-ink); }
.cpv-refunit__kicker { font: 700 0.78rem/1.2 var(--cpv-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--cpv-real); margin: 0 0 var(--s2); }
.cpv-refunit__h { font-size: clamp(1.35rem, 3.2vw, 1.8rem); margin: 0 0 var(--s3); }
.cpv-refunit__lead { color: var(--cpv-ink-2); }
.cpv-refunit__gain { margin-bottom: var(--s4); }
.cpv-refunit__asof { font-size: 0.86rem; color: var(--cpv-ink-3); }
.cpv-refunit__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s3); }
.cpv-refunit__row > * { min-width: 0; }
.cpv-refunit__codewrap { display: grid; gap: 4px; }
.cpv-refunit__key { font-size: 0.78rem; color: var(--cpv-ink-3); }
.cpv-code { display: inline-block; inline-size: 14ch; max-inline-size: 100%; block-size: 44px; line-height: 40px; padding: 0 10px; font: 700 1rem/40px var(--cpv-mono); border: 2px solid var(--cpv-ink); background: var(--cpv-paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; hyphens: none; }
.cpv-refunit__dest { margin: var(--s3) 0 var(--s2); font-size: 0.86rem; color: var(--cpv-ink-2); min-height: 2.8em; }
.cpv-dest { font-family: var(--cpv-mono); overflow-wrap: anywhere; hyphens: none; }
.cpv-disc { font-size: 0.84rem; color: var(--cpv-ink-3); margin: 0; }
@media (max-width: 480px) {
  .cpv-refunit { padding: var(--s4); box-shadow: 4px 4px 0 var(--cpv-ink); }
  .cpv-refunit__row .cpv-btn { flex: 1 1 100%; }
  .cpv-refunit__codewrap { flex: 1 1 100%; }
  .cpv-code { inline-size: 100%; }
}

/* ---------- myth register: gutter (n° + stamp) · claim · reality */
.cpv-reg { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.cpv-reg__row { display: grid; gap: var(--s3); padding: var(--s5) 0; border-top: 1px solid var(--cpv-ink); margin: 0; }
.cpv-reg__row > * { min-width: 0; }
.cpv-reg__gut { display: flex; align-items: center; gap: var(--s3); }
.cpv-reg__n { font: 700 2rem/1 var(--cpv-head); color: var(--cpv-ink); }
.cpv-reg__label { font: 700 0.76rem/1.2 var(--cpv-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--cpv-ink-3); margin: 0 0 var(--s2); }
.cpv-reg__quote { font: 600 1.18rem/1.35 var(--cpv-head); margin: 0; color: var(--cpv-ink-2); text-decoration: line-through; text-decoration-color: var(--cpv-myth); text-decoration-thickness: 2px; }
.cpv-reg__real h3 { margin-top: 0; }
.cpv-reg__real { background: var(--cpv-sheet); border-left: 4px solid var(--cpv-real); padding: var(--s4); }
.cpv-reg__real p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .cpv-reg__row { grid-template-columns: 9.5rem minmax(0, 0.8fr) minmax(0, 1.4fr); column-gap: var(--s5); }
  .cpv-reg__gut { flex-direction: column; align-items: flex-start; }
  .cpv-reg__gut .cpv-stamp { transform: rotate(-3deg); }
}

/* ---------- notes, steps, checklists, figures, tables */
.cpv-note { border: 2px solid var(--cpv-ink); background: var(--cpv-sheet); padding: var(--s4); margin: var(--s5) 0; }
.cpv-note__t { font: 700 0.78rem/1.2 var(--cpv-mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--s2); }
.cpv-note--attention { border-color: var(--cpv-myth); }
.cpv-note--attention .cpv-note__t { color: var(--cpv-myth); }
.cpv-note--exemple { border-style: dashed; }
.cpv-note > :last-child { margin-bottom: 0; }
.cpv-steps { counter-reset: st; list-style: none; padding: 0; }
.cpv-steps li { counter-increment: st; position: relative; padding-left: 2.6em; min-height: 2em; }
.cpv-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 1.8em; height: 1.8em; display: grid; place-items: center; background: var(--cpv-ink); color: var(--cpv-sheet); font: 700 0.95rem/1 var(--cpv-head); }
.cpv-check { list-style: none; padding: 0; }
.cpv-check li { position: relative; padding-left: 1.8em; }
.cpv-check li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--cpv-real); }
.cpv-fig { margin: var(--s5) 0; }
.cpv-fig__scroll { overflow-x: auto; border: 1px solid var(--cpv-hair); background: var(--cpv-sheet); padding: var(--s3); }
.cpv-fig svg { display: block; min-width: 560px; width: 100%; height: auto; }
.cpv-fig figcaption { font-size: 0.88rem; color: var(--cpv-ink-2); margin-top: var(--s2); }
.cpv-tablewrap { overflow-x: auto; margin: var(--s4) 0 var(--s5); border: 2px solid var(--cpv-ink); background: var(--cpv-sheet); }
.cpv-tablewrap:focus-visible { outline: 3px solid var(--cpv-focus); }
.cpv-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.93rem; }
.cpv-table caption { text-align: left; font: 700 1rem/1.3 var(--cpv-head); padding: var(--s3) var(--s3) var(--s2); }
.cpv-table th, .cpv-table td { text-align: left; vertical-align: top; padding: 10px var(--s3); border-top: 1px solid var(--cpv-hair); overflow-wrap: break-word; hyphens: auto; }
.cpv-table thead th { font: 700 0.76rem/1.2 var(--cpv-mono); text-transform: uppercase; letter-spacing: 0.04em; border-top: 0; border-bottom: 2px solid var(--cpv-ink); }
.cpv-table tbody th { font-weight: 700; }
.cpv-table--narrow { min-width: 480px; }

/* ---------- savings teaser (homepage) */
.cpv-stack { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--cpv-ink); }
.cpv-stack li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--cpv-hair); margin: 0; }
.cpv-stack li > * { min-width: 0; margin: 0; }
.cpv-stack strong { font-family: var(--cpv-head); font-size: 1.12rem; }
@media (min-width: 760px) { .cpv-stack li { grid-template-columns: 11rem minmax(0, 1fr); align-items: start; } }

/* ---------- FAQ, next, news grid */
.cpv-faq details { border-top: 1px solid var(--cpv-ink); padding: var(--s3) 0; }
.cpv-faq details:last-child { border-bottom: 1px solid var(--cpv-ink); }
.cpv-faq summary { cursor: pointer; font: 700 1.08rem/1.35 var(--cpv-head); list-style-position: outside; }
.cpv-faq__a { padding-top: var(--s2); }
.cpv-next { margin-top: var(--s7); border-top: 2px solid var(--cpv-ink); }
.cpv-next ul { list-style: none; padding: 0; }
.cpv-next li { display: grid; gap: 2px; padding: var(--s3) 0; border-bottom: 1px solid var(--cpv-hair); margin: 0; }
.cpv-next a { font: 700 1.08rem/1.3 var(--cpv-head); }
.cpv-next span { color: var(--cpv-ink-2); font-size: 0.95rem; }
.cpv-news { display: grid; gap: var(--s3); margin: var(--s5) 0; }
.cpv-news > div { background: var(--cpv-sheet); border: 2px solid var(--cpv-ink); padding: var(--s4); min-width: 0; }
.cpv-news h3 { margin-top: 0; font-size: 1.05rem; }
.cpv-news p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .cpv-news { grid-template-columns: 1fr 1fr; } }
.cpv-dates { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font: 400 0.82rem/1.4 var(--cpv-mono); color: var(--cpv-ink-2); border-top: 1px solid var(--cpv-ink); border-bottom: 1px solid var(--cpv-ink); padding: var(--s2) 0; margin-bottom: var(--s4); }
.cpv-cards { list-style: none; padding: 0; display: grid; gap: var(--s4); }
.cpv-cards li { margin: 0; background: var(--cpv-sheet); border: 2px solid var(--cpv-ink); padding: var(--s4); min-width: 0; }
.cpv-cards h3 { margin-top: 0; }
.cpv-cards p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .cpv-cards { grid-template-columns: 1fr 1fr; } }
.cpv-placeholder { background: var(--cpv-open-bg); color: var(--cpv-open); font-weight: 700; padding: 0 4px; }

/* ---------- footer */
.cpv-foot { background: var(--cpv-ink); color: #e6e9e4; padding: var(--s6) 0 var(--s7); margin-top: var(--s7); }
.cpv-foot a { color: #ffffff; }
.cpv-foot__cols { display: grid; gap: var(--s5); margin-top: var(--s6); font-size: 0.92rem; }
.cpv-foot__cols > * { min-width: 0; }
.cpv-foot__brand { font: 700 1.3rem/1.2 var(--cpv-head); color: #ffffff; }
.cpv-foot__legal { color: #c6ccc4; font-size: 0.84rem; }
.cpv-foot ul { list-style: none; padding: 0; }
.cpv-foot a:focus-visible { outline-color: #8fb4ff; }
@media (min-width: 760px) { .cpv-foot__cols { grid-template-columns: 2fr 1fr; } }
.cpv-footref { background: var(--cpv-sheet); color: var(--cpv-ink); border: 2px solid #ffffff; padding: var(--s4); }
.cpv-footref__h { font: 700 1.15rem/1.2 var(--cpv-head); margin-bottom: var(--s3); }
.cpv-footref__row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-bottom: var(--s3); }
.cpv-footref__row > * { min-width: 0; }
.cpv-footref .cpv-disc { color: var(--cpv-ink-3); }
.cpv-footref a.cpv-btn--open { color: var(--cpv-ink); }
@media (max-width: 480px) { .cpv-footref__row .cpv-btn, .cpv-footref__row .cpv-code { flex: 1 1 100%; inline-size: 100%; } }

/* ---------- consent (only rendered when GA4 is configured) */
.cpv-consent { position: fixed; left: var(--s3); right: var(--s3); bottom: var(--s3); z-index: 30; max-width: 520px; background: var(--cpv-sheet); border: 2px solid var(--cpv-ink); padding: var(--s4); box-shadow: 4px 4px 0 var(--cpv-ink); font-size: 0.92rem; }
.cpv-consent[hidden] { display: none; }
.cpv-consent__btns { display: flex; gap: var(--s2); flex-wrap: wrap; }
.cpv-consent__btns .cpv-btn { flex: 1 1 10em; background: var(--cpv-sheet); color: var(--cpv-ink); }

@media print { .cpv-mast, .cpv-strip, .cpv-footref, .cpv-refunit, .cpv-consent { display: none !important; } body { background: #fff; } }
