/* Lien-Parrainage-Tesla.fr — design system "Outil". Tokens: _chain/07-design.md. Prefix lp- */
@font-face {
  font-family: "Quicksand";
  src: url("/assets/fonts/quicksand-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "Quicksand";
  src: url("/assets/fonts/quicksand-var-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* metric-matched fallback so the swap does not reflow (CLS) */
@font-face {
  font-family: "Quicksand Fallback";
  src: local("Arial");
  size-adjust: 102%;
  ascent-override: 98%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  --lp-night: #0f1d44;
  --lp-night-2: #172a5c;
  --lp-on-night: #f4f6ff;
  --lp-mute-night: #b8c2e6;
  --lp-paper: #ffffff;
  --lp-mist: #f3f5fb;
  --lp-ink: #121a2e;
  --lp-ink-2: #4a5470;
  --lp-line: #d8deec;
  --lp-act: #4c5cff;
  --lp-act-hover: #3846e8;
  --lp-on-act: #ffffff;
  --lp-link: #2d3fd6;
  --lp-ok: #17784a;
  --lp-warn: #9a5a00;
  --lp-bad: #b42318;
  --lp-focus: #4c5cff;
  --lp-r: 16px;
  --lp-r-s: 12px;
  --lp-font: "Quicksand", "Quicksand Fallback", system-ui, sans-serif;
  --lp-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --refbar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font: 500 1.0625rem/1.6 var(--lp-font);
  padding-bottom: var(--refbar-h);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.22; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 5.4vw, 2.55rem); }
h2 { font-size: clamp(1.35rem, 3.6vw, 1.75rem); margin-top: 1.8em; }
h3 { font-size: 1.15rem; margin-top: 1.4em; }
p, ul, ol, dl { margin: 0 0 1em; }
a { color: var(--lp-link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--lp-focus); outline-offset: 3px; border-radius: 6px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
.lp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-mono, code { font-family: var(--lp-mono); font-size: .92em; overflow-wrap: anywhere; }
.lp-small { font-size: .88rem; color: var(--lp-ink-2); }
.lp-wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.lp-page { max-width: 800px; padding-top: 8px; padding-bottom: 48px; }
.lp-prose p, .lp-prose li, .lp-page > p { hyphens: auto; }
.lp-lede { font-size: 1.12rem; color: var(--lp-ink-2); }
.lp-skip { position: absolute; left: 12px; top: -60px; background: var(--lp-act); color: var(--lp-on-act); padding: 10px 14px; border-radius: 10px; z-index: 50; font-weight: 700; }
.lp-skip:focus { top: 10px; }

/* ── header ──────────────────────────────────────────────────────────────────────────── */
.lp-top { background: var(--lp-paper); border-bottom: 1px solid var(--lp-line); position: sticky; top: 0; z-index: 20; }
.lp-top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.lp-id { display: flex; flex-direction: column; gap: 2px; margin-right: auto; min-width: 0; flex: 1 1 0; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; color: var(--lp-ink); text-decoration: none; min-width: 0; align-self: flex-start; max-width: 100%; }
.lp-brand-t { min-width: 0; overflow-wrap: anywhere; }
.lp-indep { margin: 0; padding-left: 44px; font-size: .8rem; line-height: 1.3; font-weight: 600; color: var(--lp-ink-2); overflow-wrap: anywhere; }
.lp-mark { flex: none; }
.lp-nav { order: 3; flex-basis: 100%; min-width: 0; }
.lp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.lp-nav a { display: inline-block; padding: 7px 8px; border-radius: 999px; color: var(--lp-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-nav a:hover { background: var(--lp-mist); }
.lp-nav a[aria-current="page"] { background: var(--lp-mist); box-shadow: inset 0 0 0 2px var(--lp-line); }
.lp-jump { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: var(--lp-night); color: var(--lp-on-night); font-weight: 700; text-decoration: none; font-size: .95rem; }
.lp-jump:hover { background: var(--lp-night-2); }
.lp-show-s { display: inline; }
.lp-hide-s { display: none; }
@media (min-width: 900px) {
  .lp-nav { order: 2; flex-basis: auto; }
  .lp-jump { order: 3; }
  .lp-id { flex: 0 1 auto; }
  .lp-show-s { display: none; }
  .lp-hide-s { display: inline; }
}

/* ── buttons ─────────────────────────────────────────────────────────────────────────── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: var(--lp-r-s); border: 2px solid transparent; font: 700 1.05rem/1.2 var(--lp-font); cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.lp-btn-go { background: var(--lp-act); color: var(--lp-on-act); }
.lp-btn-go:hover { background: var(--lp-act-hover); }
.lp-btn-clip { background: var(--lp-paper); color: var(--lp-ink); border-color: var(--lp-ink); }
.lp-btn-clip:hover { background: var(--lp-mist); }
.lp-btn-clip[data-state="ok"] { border-color: var(--lp-ok); color: var(--lp-ok); }
.lp-btn-clip[data-state="err"] { border-color: var(--lp-bad); color: var(--lp-bad); }
.lp-btn-line { background: transparent; color: var(--lp-ink); border-color: var(--lp-line); }
.lp-btn-line:hover { border-color: var(--lp-ink); }
.lp-btn-s { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
.lp-ico { flex: none; }
.lp-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 14px; }
.lp-actions > * { min-width: 0; }
@media (min-width: 560px) { .lp-actions { grid-template-columns: 1fr 1fr; } .lp-actions-s { max-width: 520px; } }
.lp-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--lp-link); text-decoration: underline; cursor: pointer; }

/* ── the instrument (homepage #ref) ──────────────────────────────────────────────────── */
.lp-tool { background: var(--lp-night); color: var(--lp-on-night); --lp-focus: #c3caff; padding: 20px 0 30px; }
.lp-tool a:not(.lp-btn):not(.lp-chip) { color: #c3caff; }
.lp-tool-in { max-width: 760px; }
.lp-tool h1 { margin-bottom: .35em; }
.lp-tool-lede { color: var(--lp-mute-night); font-size: 1.08rem; }
.lp-tool-lede strong { color: var(--lp-on-night); }
.lp-models { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.lp-models legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.lp-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--lp-night-2); border-radius: 14px; padding: 5px; }
.lp-seg label { position: relative; min-width: 0; }
.lp-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lp-seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; font-weight: 700; text-align: center; padding: 4px 6px; color: var(--lp-mute-night); }
.lp-seg input:checked + span { background: var(--lp-paper); color: var(--lp-ink); }
.lp-seg input:focus-visible + span { outline: 3px solid #c3caff; outline-offset: 2px; }
.lp-store { margin-bottom: 14px; }
.lp-store-line { margin: 0 0 4px; min-height: 1.6em; }
.lp-store-how { color: var(--lp-mute-night); font-size: .95rem; }
.lp-store-q { margin: 0 0 6px; font-size: .95rem; color: var(--lp-mute-night); }
.lp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid currentColor; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; background: transparent; font-family: var(--lp-font); cursor: pointer; }
.lp-tool .lp-chip { color: var(--lp-on-night); border-color: #45589a; }
.lp-tool .lp-chip:hover { border-color: var(--lp-on-night); }
.lp-tool .lp-chip[aria-current="true"] { background: var(--lp-on-night); color: var(--lp-ink); border-color: var(--lp-on-night); }

.lp-printed { margin: 0 0 12px; background: var(--lp-paper); color: var(--lp-ink); border-radius: var(--lp-r-s); padding: 10px 14px; border: 2px solid var(--lp-line); }
.lp-printed-l { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-ink-2); }
.lp-url { display: block; font-family: var(--lp-mono); font-size: .98rem; line-height: 1.45; overflow-wrap: anywhere; word-break: break-all; min-height: 2.9em; }
.lp-printed-big { border-color: transparent; }
.lp-printed-big .lp-url { font-size: 1.05rem; min-height: 4.35em; }
@media (min-width: 420px) { .lp-printed-big .lp-url { min-height: 2.9em; } }
.lp-notes { min-height: 7.5em; }
.lp-benefit { min-height: 3.2em; }
.lp-benefit strong { color: #ffffff; }
.lp-model-note, .lp-same { color: var(--lp-mute-night); font-size: .98rem; }
.lp-tool .lp-disc { color: var(--lp-mute-night); margin-bottom: 14px; }
.lp-disc { font-size: .88rem; margin: 0; color: var(--lp-ink-2); }

/* ── bands, tables, steps ─────────────────────────────────────────────────────────────── */
.lp-band { padding: 40px 0 28px; }
.lp-band h2 { margin-top: 0; }
.lp-band-mist { background: var(--lp-mist); }
.lp-band > .lp-wrap { max-width: 900px; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.lp-split > * { min-width: 0; }
@media (min-width: 880px) { .lp-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.lp-scroll { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--lp-line); border-radius: var(--lp-r-s); background: var(--lp-paper); }
.lp-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .98rem; }
.lp-table caption { text-align: left; font-weight: 700; padding: 12px 14px 4px; }
.lp-table th, .lp-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--lp-line); }
.lp-table thead th { border-top: 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lp-ink-2); }
.lp-table tbody th { font-weight: 700; width: 30%; }
.lp-correct { border-left: 4px solid var(--lp-act); padding: 10px 14px; background: var(--lp-mist); border-radius: 0 var(--lp-r-s) var(--lp-r-s) 0; }
.lp-band-mist .lp-correct { background: var(--lp-paper); }
.lp-src { font-size: .86rem; color: var(--lp-ink-2); }

.lp-steps { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: none; }
.lp-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 2px solid var(--lp-line); }
.lp-step:first-child { border-top: 0; }
.lp-num { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lp-act); color: var(--lp-on-act); font-weight: 700; font-size: 1.35rem; }
.lp-step-b h3, .lp-step-b h2 { margin: 6px 0 .35em; font-size: 1.12rem; }
.lp-step-b p:last-child { margin-bottom: 0; }

.lp-fig { margin: 0 0 16px; }
.lp-fig .lp-svg { display: block; margin: 0 auto; width: 100%; max-width: 380px; }
.lp-fig figcaption { font-size: .9rem; color: var(--lp-ink-2); margin-top: 8px; }

.lp-check { list-style: none; padding: 0; }
.lp-check li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.lp-check li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--lp-act); border-bottom: 3px solid var(--lp-act); transform: rotate(-45deg); }

.lp-cards { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-cards-1 { grid-template-columns: minmax(0, 1fr); } }
.lp-cards a { display: block; height: 100%; padding: 16px 18px; border: 2px solid var(--lp-line); border-radius: var(--lp-r-s); background: var(--lp-paper); color: var(--lp-ink); text-decoration: none; }
.lp-cards a:hover { border-color: var(--lp-act); }
.lp-cards strong { display: block; margin-bottom: 4px; }
.lp-cards span { color: var(--lp-ink-2); font-size: .97rem; }

.lp-faq details { border-top: 1px solid var(--lp-line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { cursor: pointer; padding: 14px 36px 14px 0; font-weight: 700; position: relative; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.5rem; font-weight: 600; color: var(--lp-act); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq-a { padding: 0 0 8px; }

.lp-answer { background: var(--lp-mist); border-radius: var(--lp-r); padding: 16px 18px; margin: 0 0 20px; border: 2px solid var(--lp-line); }
.lp-answer-k, .lp-warn-k, .lp-next-k, .lp-toc-k { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--lp-ink-2); margin-bottom: 4px; }
.lp-answer p:last-child, .lp-warn p:last-child { margin-bottom: 0; }
.lp-warn { border: 2px solid var(--lp-warn); border-radius: var(--lp-r-s); padding: 14px 16px; margin: 0 0 18px; }
.lp-warn-k { color: var(--lp-warn); }

/* ── deep pages ──────────────────────────────────────────────────────────────────────── */
.lp-crumbs { max-width: 800px; margin: 0 auto; padding: 14px 16px 0; font-size: .92rem; }
.lp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.lp-crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--lp-ink-2); }
.lp-crumbs [aria-current] { color: var(--lp-ink-2); }
.lp-page h1 { margin-top: .5em; }
.lp-byline { color: var(--lp-ink-2); font-size: .95rem; }

.lp-cta-inline { background: var(--lp-night); color: var(--lp-on-night); --lp-focus: #c3caff; border-radius: var(--lp-r); padding: 18px 18px 16px; margin: 4px 0 28px; }
.lp-cta-inline .lp-disc, .lp-cta-foot .lp-disc { color: var(--lp-mute-night); }
.lp-cta-inline a:not(.lp-btn), .lp-cta-foot a:not(.lp-btn) { color: #c3caff; }
.lp-cta-h { font-weight: 700; font-size: 1.08rem; margin: 0 0 10px; }

.lp-toc { border: 2px solid var(--lp-line); border-radius: var(--lp-r-s); padding: 12px 16px; margin: 0 0 8px; }
.lp-toc ul { margin: 0; padding-left: 20px; }
.lp-matrix { display: grid; gap: 14px; margin-bottom: 20px; }
.lp-case { border: 2px solid var(--lp-line); border-radius: var(--lp-r); padding: 16px 18px; scroll-margin-top: 90px; }
.lp-case:target { border-color: var(--lp-act); }
.lp-case h3 { margin-top: 0; }
.lp-case-dl { display: grid; gap: 10px; margin: 0 0 8px; }
.lp-case-dl > div { min-width: 0; }
.lp-case-dl dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-ink-2); }
.lp-case-dl dd { margin: 2px 0 0; }
@media (min-width: 760px) { .lp-case-dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.lp-case .lp-src { margin: 0; }

.lp-next { border-top: 2px solid var(--lp-line); margin-top: 28px; padding-top: 14px; }
.lp-next ul { list-style: none; padding: 0; margin: 0; }
.lp-next li { margin-bottom: 8px; }
.lp-next a { font-weight: 700; }
.lp-next span { color: var(--lp-ink-2); }
.lp-log { padding-left: 20px; }
.lp-plain { padding-left: 20px; }
.lp-todo { background: #fff3c4; color: #5a3a00; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.lp-article h2 { margin-top: 1.6em; }

/* ── checker ─────────────────────────────────────────────────────────────────────────── */
.lp-checker { border: 2px solid var(--lp-ink); border-radius: var(--lp-r); padding: 18px; margin: 0 0 24px; }
.lp-label { display: block; font-weight: 700; font-size: 1.08rem; }
.lp-hint { font-size: .95rem; color: var(--lp-ink-2); margin: 2px 0 8px; }
.lp-input { display: block; width: 100%; font: 500 1rem/1.45 var(--lp-mono); padding: 12px; border: 2px solid var(--lp-ink-2); border-radius: var(--lp-r-s); margin: 0 0 12px; resize: vertical; min-height: 96px; background: var(--lp-paper); color: var(--lp-ink); }
.lp-input:focus-visible { border-color: var(--lp-focus); }
.lp-checker .lp-btn-clip, .lp-checker .lp-btn-line { border-color: var(--lp-ink-2); }
.lp-check-out { min-height: 64px; border-top: 2px solid var(--lp-line); padding-top: 12px; }
.lp-check-empty { color: var(--lp-ink-2); margin: 0; }
.lp-verdict { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.lp-verdict-ok { color: var(--lp-ok); }
.lp-verdict-warn { color: var(--lp-warn); }
.lp-verdict-bad { color: var(--lp-bad); }
.lp-res { list-style: none; padding: 0; margin: 0 0 10px; }
.lp-res li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--lp-line); }
.lp-res li:first-child { border-top: 0; }
.lp-res b { font-weight: 700; }
.lp-res .lp-i-ok { color: var(--lp-ok); }
.lp-res .lp-i-warn { color: var(--lp-warn); }
.lp-res .lp-i-bad { color: var(--lp-bad); }
.lp-res .lp-i { font-weight: 700; text-align: center; }
.lp-fix { background: var(--lp-mist); border-radius: var(--lp-r-s); padding: 10px 12px; margin: 0; }
.lp-fix a { overflow-wrap: anywhere; word-break: break-all; font-family: var(--lp-mono); }
.lp-examples { margin-top: 14px; font-size: .95rem; }
.lp-examples p { margin-bottom: 6px; color: var(--lp-ink-2); }
.lp-examples ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-examples li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.lp-examples .lp-chip { color: var(--lp-ink); border-color: var(--lp-ink-2); }
.lp-ex { font-size: .85rem; color: var(--lp-ink-2); min-width: 0; }
.lp-anat { margin: 0 0 16px; border: 2px solid var(--lp-line); border-radius: var(--lp-r); padding: 16px; }
.lp-anat-url { font-family: var(--lp-mono); font-size: 1.02rem; overflow-wrap: anywhere; word-break: break-all; margin: 0 0 12px; padding: 10px 12px; background: var(--lp-mist); border-radius: var(--lp-r-s); }
.lp-anat-url span { border-bottom: 3px solid; padding-bottom: 1px; }
.lp-a1 { border-color: #8a93ad !important; }
.lp-a2 { border-color: var(--lp-act) !important; }
.lp-a3 { border-color: #17784a !important; }
.lp-a4 { border-color: #9a5a00 !important; }
.lp-a5 { border-color: #121a2e !important; }
.lp-anat-list { padding-left: 0; list-style: none; margin: 0; }
.lp-anat-list li { margin-bottom: 8px; }
.lp-tag { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 3px solid; border-radius: 6px; font-family: var(--lp-mono); font-size: .8rem; font-weight: 700; margin-right: 4px; }

/* ── footer ──────────────────────────────────────────────────────────────────────────── */
.lp-foot { margin-top: 24px; }
.lp-cta-foot { background: var(--lp-night); color: var(--lp-on-night); --lp-focus: #c3caff; padding: 28px 0; }
.lp-foot-in { max-width: 760px; }
.lp-foot-legal { padding-top: 20px; padding-bottom: 28px; font-size: .92rem; color: var(--lp-ink-2); max-width: 900px; }
.lp-foot-nav { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; }
.lp-foot-nav a { display: inline-block; padding: 6px 0; color: var(--lp-ink); }
.lp-consent { border: 2px solid var(--lp-ink); border-radius: var(--lp-r-s); padding: 12px 14px; margin-bottom: 16px; color: var(--lp-ink); }
.lp-consent-b { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.lp-consent .lp-btn-line { min-height: 44px; padding: 8px 16px; border-radius: var(--lp-r-s); border: 2px solid var(--lp-ink); background: var(--lp-paper); font: 700 1rem var(--lp-font); color: var(--lp-ink); cursor: pointer; }

/* ── the one persistent surface: slim, dismissible bottom bar ────────────────────────── */
.lp-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; background: var(--lp-night); color: var(--lp-on-night); --lp-focus: #c3caff; box-shadow: 0 -4px 18px rgba(15, 29, 68, .25); transform: translateY(110%); transition: transform .2s ease-out; }
.lp-cta-bar[hidden] { display: none; }
.lp-cta-bar.is-in { transform: none; }
.lp-bar-t { margin: 0; flex: 1 1 auto; min-width: 0; font-size: .92rem; line-height: 1.3; }
.lp-bar-d { display: none; color: var(--lp-mute-night); }
@media (min-width: 760px) { .lp-bar-d { display: inline; } }
.lp-cta-bar .lp-btn { flex: none; }
.lp-cta-bar .lp-btn-clip { background: transparent; color: var(--lp-on-night); border-color: #6f7fc0; }
.lp-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--lp-on-night); cursor: pointer; }
.lp-x:hover { background: var(--lp-night-2); }
@media (max-width: 400px) { .lp-cta-bar .lp-btn-clip .lp-btn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lp-cta-bar .lp-btn-clip { padding: 8px 10px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .lp-cta-bar { transform: none; }
}
@media print { .lp-cta-bar, .lp-top, .lp-cta-foot { display: none; } }
