/* Login screen of the redesigned modules (compte, cuisine, sport, information, vehicules).
 *
 * Loaded by security/login.html.twig AFTER login.css, only for those modules. The body
 * carries `.login-v2 .login-scene--{module}` (not `.login-scene`, whose dark glass scene
 * stays for the other modules). Markup: `.ld` (bar, stage, quote); the stage holds the
 * module art (desktop column, partial security/login/_{module}.html.twig part=art), the
 * phone hero (part=hero) and the form panel `.ld-panel.login-card`.
 *
 * Desktop (≥ 768 px) mirrors the module's desktop design ({module}-desktop.css); phone
 * (< 768 px) mirrors its dark installed-app look (media query at the end of {module}.css).
 * Each part lives in its own media query so neither leaks into the other.
 * Bootstrap is loaded AFTER this sheet: form controls and the button are restyled with a
 * higher specificity (`.login-v2 .login-card …`) and through `--bs-btn-*`.
 */

/* ── Self-hosted fonts (same files as the module sheets, OFL) ─────────── */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600 900; font-display: swap; src: url("../fonts/nunito-latin-c23Eawv.woff2") format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-RssxsJZ.woff2") format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-condensed-600-KpluqB9.woff2") format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-condensed-700-obj43ym.woff2") format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-AcnlIJe.woff2") format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/overpass-latin-5yqlOnj.woff2") format('woff2'); 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: 'Overpass'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/overpass-latin-ext-FoviS9D.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Overpass Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/overpass-mono-latin-w3tszWO.woff2") format('woff2'); 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: 'Overpass Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/overpass-mono-latin-ext-CDGEk4w.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/courier-prime-400-jScH4Yw.woff2") format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/courier-prime-700-LbKuU8O.woff2") format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-latin-u4wvMPu.woff2") format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-Wa7z_Iw.woff2") format('woff2'); }
@font-face { font-family: 'Kalam'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/kalam-400-latin-em-yt7K.woff2") format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-600-latin-uhfYm1a.woff2") format('woff2'); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/saira-condensed-700-Wot0WK7.woff2") format('woff2'); }
@font-face { font-family: 'VT Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-var-latin-Gz7AlRl.woff2") format('woff2'); }
@font-face { font-family: 'VT Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url("../fonts/oswald-var-latin-AiTymPB.woff2") format('woff2'); }
@font-face { font-family: 'Saira Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/saira-condensed-800-FKywnCh.woff2") format('woff2'); }

/* ════════════════════════════════════════════════════════════════════════
   Shared skeleton — every look only swaps the --ld-* tokens below.
   ════════════════════════════════════════════════════════════════════════ */
.login-v2 {
    --ld-bg: #f1f1ef;
    --ld-bar-bg: transparent;
    --ld-ink: #1d1f23;
    --ld-muted: #5c6068;
    --ld-faint: #8a8d94;
    --ld-line: #dcdcd8;
    --ld-panel: #fff;
    --ld-radius: 16px;
    --ld-panel-shadow: none;
    --ld-panel-line: transparent;
    --ld-field-bg: #fff;
    --ld-field-line: #cfcfcf;
    --ld-field-ink: var(--ld-ink);
    --ld-field-ph: var(--ld-faint);
    --ld-field-radius: 10px;
    --ld-focus: var(--ld-accent);
    --ld-focus-ring: rgba(0, 0, 0, .12);
    --ld-accent: #22303f;
    --ld-btn-bg: var(--ld-accent);
    --ld-btn-image: none;
    --ld-btn-hover: var(--ld-accent);
    --ld-btn-fg: #fff;
    --ld-btn-radius: 12px;
    --ld-link: var(--ld-accent);
    --ld-err-bg: #fbe6e3;
    --ld-err-line: #f1c0b9;
    --ld-err-ink: #8f2a22;
    --ld-title-font: system-ui, 'Segoe UI', sans-serif;
    --ld-ui-font: system-ui, 'Segoe UI', sans-serif;
    --ld-label-font: var(--ld-ui-font);

    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--ld-bg);
    color: var(--ld-ink);
    font-family: var(--ld-ui-font);
    -webkit-font-smoothing: antialiased;
}
.login-v2 .ld { display: flex; flex-direction: column; min-height: 100vh; }
/* Low specificity on purpose: the module rules of the media queries show them. */
:where(.login-v2) .ld-art,
:where(.login-v2) .ld-hero { display: none; }
.login-v2 .ld-bar__brand { display: inline-flex; align-items: center; gap: 10px; }
.login-v2 .ld-bar__module .bi { margin-right: 6px; }

/* Panel: also resets the glass `.login-card` of login.css (kept for the E2E selector). */
.login-v2 .ld-panel.login-card {
    width: 100%;
    max-width: none;
    padding: 30px 32px;
    background: var(--ld-panel);
    border: 1px solid var(--ld-panel-line);
    border-radius: var(--ld-radius);
    box-shadow: var(--ld-panel-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--ld-ink);
}
.ld-head :is(p, h1) { margin: 0; }
.login-v2 .ld-tag { font-family: var(--ld-label-font); }
.login-v2 .ld-kicker { color: var(--ld-muted); font-family: var(--ld-label-font); }
.login-v2 .ld-title { color: var(--ld-ink); font-family: var(--ld-title-font); line-height: 1.1; }
.login-v2 .ld-sub { margin-top: 8px !important; color: var(--ld-muted); font-size: 14.5px; line-height: 1.5; }

.login-v2 .ld-form { display: grid; gap: 16px; margin-top: 24px; }
.login-v2 .login-card .form-label {
    margin-bottom: 6px;
    color: var(--ld-muted);
    font-family: var(--ld-label-font);
    font-weight: 600;
    letter-spacing: normal;
}
.login-v2 .login-card .form-control {
    min-height: 44px;
    background-color: var(--ld-field-bg);
    border: 1px solid var(--ld-field-line);
    border-radius: var(--ld-field-radius);
    color: var(--ld-field-ink);
    font-family: var(--ld-ui-font);
    box-shadow: none;
}
.login-v2 .login-card .form-control::placeholder { color: var(--ld-field-ph); opacity: 1; }
.login-v2 .login-card .form-control:focus {
    background-color: var(--ld-field-bg);
    border-color: var(--ld-focus);
    color: var(--ld-field-ink);
    box-shadow: 0 0 0 .2rem var(--ld-focus-ring);
}
.login-v2 .login-card .form-control:-webkit-autofill {
    -webkit-text-fill-color: var(--ld-field-ink);
    box-shadow: 0 0 0 40px var(--ld-field-bg) inset;
}
.login-v2 .login-card .form-check-input {
    background-color: var(--ld-field-bg);
    border-color: var(--ld-field-line);
}
.login-v2 .login-card .form-check-input:checked { background-color: var(--ld-accent); border-color: var(--ld-accent); }
.login-v2 .login-card .form-check-input:focus { border-color: var(--ld-focus); box-shadow: 0 0 0 .2rem var(--ld-focus-ring); }
.login-v2 .login-card .form-check-label { color: var(--ld-muted); }
.login-v2 .ld-check { margin: 2px 0 6px; }

.login-v2 .login-card .btn.ld-btn {
    --bs-btn-bg: var(--ld-btn-bg);
    --bs-btn-color: var(--ld-btn-fg);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: var(--ld-btn-hover);
    --bs-btn-hover-color: var(--ld-btn-fg);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--ld-btn-hover);
    --bs-btn-active-color: var(--ld-btn-fg);
    --bs-btn-active-border-color: transparent;
    --bs-btn-focus-box-shadow: 0 0 0 .25rem var(--ld-focus-ring);
    min-height: 46px;
    background-image: var(--ld-btn-image);
    border-radius: var(--ld-btn-radius);
    font-weight: 700;
}

.login-v2 .ld-links { margin-top: 18px; text-align: center; font-size: 13.5px; }
.login-v2 .ld-links a { color: var(--ld-link); text-underline-offset: 3px; }
.login-v2 .ld-links__sep { margin: 0 8px; color: var(--ld-faint); }

.login-v2 .login-card .alert {
    margin: 20px 0 0;
    padding: 10px 14px;
    background: var(--ld-err-bg);
    border: 1px solid var(--ld-err-line);
    border-radius: var(--ld-field-radius);
    color: var(--ld-err-ink);
    font-size: 14px;
}

.login-v2 .ld-quote {
    margin: 0;
    padding: 0 20px 26px;
    color: var(--ld-faint);
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

/* ════════════════════════════════════════════════════════════════════════
   DESKTOP (≥ 768 px) — the module's desktop design
   ════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .login-v2 .ld-bar { display: flex; align-items: center; min-height: 60px; padding: 0 clamp(20px, 3vw, 40px); background: var(--ld-bar-bg); }
    .login-v2 .ld-stage {
        flex: 1;
        display: grid;
        grid-template-columns: minmax(0, 440px);
        justify-content: center;
        align-content: center;
        align-items: center;
        gap: 40px;
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        padding: 40px clamp(20px, 3vw, 40px);
    }
    .login-v2 .ld-title { font-size: 32px; }
    .login-v2 .ld-quote { padding-top: 4px; }

    /* ── Compte « Cartes + Flux » ─────────────────────────────────────── */
    .login-scene--compte {
        --ld-bg: #ecebe8;
        --ld-ink: #23262c;
        --ld-muted: #555963;
        --ld-faint: #8a8d94;
        --ld-line: #e3e1dc;
        --ld-radius: 22px;
        --ld-panel-shadow: 0 1px 2px rgba(40, 32, 20, .06), 0 6px 18px -8px rgba(40, 32, 20, .14);
        --ld-field-bg: #f7f6f4;
        --ld-field-line: #d6d3cd;
        --ld-field-radius: 12px;
        --ld-focus: #22303f;
        --ld-focus-ring: rgba(34, 48, 63, .14);
        --ld-accent: #22303f;
        --ld-btn-hover: #141c26;
        --ld-link: #22303f;
        --ld-err-bg: #fbe6e3;
        --ld-err-line: #f2c6c0;
        --ld-err-ink: #b8322a;
        --ld-title-font: 'Nunito', 'Segoe UI', system-ui, sans-serif;
        --ld-ui-font: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
        --ld-label-font: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    }
    .login-scene--compte .ld-bar { padding-top: 18px; }
    .login-scene--compte .ld-bar__logo {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #22303f;
        color: #fff;
        font: 900 16px/1 var(--ld-title-font);
    }
    .login-scene--compte .ld-bar__name { font: 900 20px/1 var(--ld-title-font); letter-spacing: -.01em; }
    .login-scene--compte .ld-bar__module {
        padding: 4px 12px;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 1px 2px rgba(40, 32, 20, .08);
        font: 800 13.5px/1.4 var(--ld-title-font);
    }
    .login-scene--compte .ld-tag { display: none; }
    .login-scene--compte .ld-kicker { color: var(--ld-faint); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .login-scene--compte .ld-title { margin-top: 4px !important; font-weight: 900; }
    .login-scene--compte .login-card .form-label { color: var(--ld-ink); font-weight: 800; font-size: 13.5px; }
    .login-scene--compte .login-card .btn.ld-btn { font-family: var(--ld-title-font); font-weight: 800; font-size: 15.5px; }
    .login-scene--compte .ld-links a { font-weight: 600; }

    .cpl-art { gap: 18px; }
    .cpl-total,
    .cpl-list {
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 1px 2px rgba(40, 32, 20, .06), 0 6px 18px -8px rgba(40, 32, 20, .14);
    }
    .cpl-total { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; padding: 22px 24px; }
    .cpl-label { display: block; margin-bottom: 6px; color: #23262c; font: 800 13px/1.3 'Nunito', sans-serif; }
    .cpl-amount { display: block; color: #23794c; font: 900 38px/1.1 'Nunito', sans-serif; letter-spacing: .02em; white-space: nowrap; }
    .cpl-note { display: block; margin-top: 6px; color: #8a8d94; font-size: 12.5px; }
    .cpl-note .bi { margin-right: 4px; }
    .cpl-bar { display: flex; gap: 4px; height: 9px; margin: 10px 0 12px; }
    .cpl-bar i { border-radius: 99px; }
    .cpl-bar__a { flex: 1; background: #2f6f86; }
    .cpl-bar__b { flex: 4; background: #6aa77c; }
    .cpl-bar__c { flex: 2.3; background: #c99a3a; }
    .cpl-legend { display: flex; align-items: center; gap: 8px; color: #555963; font-size: 12.5px; line-height: 1.9; }
    .cpl-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
    .cpl-dot--a { background: #2f6f86; }
    .cpl-dot--b { background: #6aa77c; }
    .cpl-dot--c { background: #c99a3a; }
    .cpl-list { overflow: hidden; }
    .cpl-list__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px 12px; border-bottom: 1px solid #e3e1dc; }
    .cpl-list__head b { font: 900 17px/1.3 'Nunito', sans-serif; }
    .cpl-list__head span { color: #8a8d94; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
    .cpl-row {
        display: grid;
        grid-template-columns: 32px 38px minmax(0, 1fr) auto 84px;
        align-items: center;
        gap: 12px;
        padding: 11px 22px;
        border-bottom: 1px solid #f0eeea;
    }
    .cpl-row:last-child { border-bottom: 0; }
    .cpl-ord { padding: 3px 0; border-radius: 99px; background: #f0eeea; color: #8a8d94; font: 800 11px/1.2 'Nunito', sans-serif; text-align: center; }
    .cpl-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; font: 900 13.5px/1 'Nunito', sans-serif; }
    .cpl-badge--t0 { background: #13795f; }
    .cpl-badge--t3 { background: #b4691f; }
    .cpl-badge--t4 { background: #6a4fb3; }
    .cpl-badge--t5 { background: #2f6f86; }
    .cpl-name { min-width: 0; color: #23262c; font: 800 15px/1.25 'Nunito', sans-serif; }
    .cpl-name small { display: block; color: #8a8d94; font: 400 12px/1.4 'IBM Plex Sans', sans-serif; }
    .cpl-state { padding: 2px 9px; border: 1px solid transparent; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
    .cpl-state--pend { background: #fbf4dc; border-color: #eedfa6; color: #7a5a06; }
    .cpl-state--ok { background: #e7f1e7; border-color: #c8dfc9; color: #2a6a40; }
    .cpl-state--review { background: #ece8f6; color: #54457a; }
    .cpl-mask { justify-self: end; width: 72px; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #e4e2de, #efedea); }
    .cpl-row:nth-child(3) .cpl-mask { width: 60px; }
    .cpl-row:nth-child(4) .cpl-mask { width: 80px; }
    .cpl-row:nth-child(5) .cpl-mask { width: 66px; }

    /* ── Cuisine « Brigade » ──────────────────────────────────────────── */
    .login-scene--cuisine {
        --ld-bg: #dde1e5 linear-gradient(180deg, #e9ecef, #dde1e5);
        --ld-bar-bg: linear-gradient(180deg, #2b3137, #1c2025);
        --ld-ink: #1a1e23;
        --ld-muted: #5c656f;
        --ld-faint: #88919b;
        --ld-line: #c8ced4;
        --ld-radius: 4px;
        --ld-panel-line: #c8ced4;
        --ld-panel-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 14px 26px -16px rgba(16, 20, 24, .45);
        --ld-field-bg: #f5f6f7;
        --ld-field-line: #b5bcc4;
        --ld-field-radius: 3px;
        --ld-focus: #e2561d;
        --ld-focus-ring: rgba(226, 86, 29, .18);
        --ld-accent: #e2561d;
        --ld-btn-hover: #c64512;
        --ld-btn-radius: 4px;
        --ld-link: #c64512;
        --ld-err-bg: #fde8de;
        --ld-err-line: #f4b99e;
        --ld-err-ink: #9a3412;
        --ld-title-font: 'IBM Plex Sans Condensed', 'IBM Plex Sans', 'Arial Narrow', sans-serif;
        --ld-ui-font: 'IBM Plex Sans', system-ui, 'Segoe UI', sans-serif;
        --ld-label-font: 'IBM Plex Sans Condensed', 'IBM Plex Sans', sans-serif;
    }
    .login-scene--cuisine .ld-bar { min-height: 54px; border-bottom: 1px solid #0b0d0f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
    .login-scene--cuisine .ld-bar__logo,
    .login-scene--cuisine .ld-bar__module .bi { display: none; }
    .login-scene--cuisine .ld-bar__brand { gap: 6px; }
    .login-scene--cuisine .ld-bar__name { color: #fff; font: 600 17px/1 var(--ld-ui-font); }
    .login-scene--cuisine .ld-bar__module { color: #9aa3ad; font: 400 17px/1 var(--ld-ui-font); }
    .login-scene--cuisine .ld-bar__module::before { content: '/ '; }
    .login-scene--cuisine .ld-panel.login-card { padding: 0 30px 28px; border-left: 4px solid #e2561d; }
    .login-scene--cuisine .ld-tag {
        display: flex;
        justify-content: space-between;
        margin: 0 -30px 22px !important;
        padding: 10px 30px;
        background: #262b31;
        color: #e7eaed;
        font: 500 12px/1.4 'JetBrains Mono', monospace;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .login-scene--cuisine .ld-tag::after { content: 'Brigade'; color: #e2561d; }
    .login-scene--cuisine .ld-kicker { color: #e2561d; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
    .login-scene--cuisine .ld-title { margin-top: 4px !important; font-size: 36px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
    .login-scene--cuisine .ld-sub { font-size: 13.5px; }
    .login-scene--cuisine .login-card .form-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
    .login-scene--cuisine .login-card .form-control { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; }
    .login-scene--cuisine .login-card .btn.ld-btn { font-family: var(--ld-title-font); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }

    .bzl-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        background: linear-gradient(#f5f6f7, #e7eaed);
        border: 1px solid #c8ced4;
        border-radius: 4px 4px 0 0;
        color: #1a1e23;
        font: 700 14px/1.3 'IBM Plex Sans Condensed', sans-serif;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .bzl-head .bi { margin-right: 6px; }
    .bzl-head__sig { display: inline-flex; align-items: center; gap: 7px; color: #e2561d; font: 500 11.5px/1 'JetBrains Mono', monospace; letter-spacing: .06em; }
    .bzl-head__sig::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e2561d; box-shadow: 0 0 0 3px rgba(226, 86, 29, .2); }
    .bzl-board { padding: 18px 0 30px; background: #e7eaed; border: 1px solid #c8ced4; border-top: 0; border-radius: 0 0 4px 4px; box-shadow: 0 14px 26px -18px rgba(16, 20, 24, .45); }
    .bzl-rail { height: 12px; margin: 0 14px; border-radius: 6px; background: linear-gradient(#fbfcfc, #b5bcc4 55%, #8e969f); box-shadow: 0 2px 3px rgba(0, 0, 0, .25); }
    .bzl-tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -3px; padding: 0 24px; }
    .bzl-ticket {
        position: relative;
        min-height: 168px;
        padding: 16px 13px 18px;
        background: #dcc69c;
        color: #2a2216;
        font: 400 12.5px/1.45 'JetBrains Mono', monospace;
        box-shadow: 0 12px 16px -10px rgba(0, 0, 0, .55);
        transform: rotate(-1.2deg);
        transform-origin: top center;
    }
    .bzl-ticket:nth-child(2) { transform: rotate(.5deg); }
    .bzl-ticket:nth-child(3) { transform: rotate(1.4deg); }
    .bzl-ticket::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        width: 34px;
        height: 14px;
        border-radius: 2px;
        background: linear-gradient(#eef0f2, #9aa2ab);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
        transform: translateX(-50%);
    }
    .bzl-ticket::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -5px;
        height: 5px;
        background: conic-gradient(from 135deg at 50% 0, #dcc69c 90deg, transparent 0) 0 0 / 10px 5px repeat-x;
    }
    .bzl-ticket.is-today { box-shadow: 0 0 0 2px #e2561d, 0 12px 16px -10px rgba(0, 0, 0, .55); }
    .bzl-ticket.is-today::after { display: none; }
    .bzl-ticket__top { display: flex; justify-content: space-between; margin-bottom: 9px; padding-bottom: 6px; border-bottom: 1px dashed rgba(42, 34, 22, .45); font-weight: 700; }
    .bzl-ticket.is-today .bzl-ticket__top span { color: #e2561d; }
    .bzl-ticket p { margin: 0 0 7px; }
    .bzl-ticket p .bi { margin-right: 3px; opacity: .7; }
    .bzl-ticket__flag {
        position: absolute;
        right: 10px;
        bottom: 10px;
        padding: 1px 7px;
        border: 1.5px solid #e2561d;
        border-radius: 2px;
        color: #e2561d;
        font-size: 10.5px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        transform: rotate(-4deg);
    }
    .bzl-slip {
        display: flex;
        gap: 22px;
        margin-top: 16px;
        padding: 11px 16px;
        background: #fff;
        border: 1px solid #c8ced4;
        border-left: 4px solid #262b31;
        border-radius: 4px;
        color: #5c656f;
        font: 400 12px/1.4 'JetBrains Mono', monospace;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
    .bzl-slip__sig { margin-left: auto; color: #e2561d; font-weight: 700; }

    /* ── Sport « Topo » ───────────────────────────────────────────────── */
    .login-scene--sport {
        --ld-bg: #eceee6 url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'640'%20height%3D'420'%20viewBox%3D'0%200%20640%20420'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23b9c0ad'%20stroke-width%3D'1'%3E%3Cpath%20d%3D'M210%2060C300%2055%20360%20120%20350%20190C340%20270%20280%20320%20200%20315C120%20310%2060%20260%2070%20180C80%20110%20140%2065%20210%2060Z'%20transform%3D'translate(210%20188)%20scale(1.25)%20translate(-210%20-188)'%2F%3E%3Cpath%20d%3D'M210%2060C300%2055%20360%20120%20350%20190C340%20270%20280%20320%20200%20315C120%20310%2060%20260%2070%20180C80%20110%20140%2065%20210%2060Z'%20transform%3D'translate(210%20188)%20scale(1)%20translate(-210%20-188)'%2F%3E%3Cpath%20d%3D'M210%2060C300%2055%20360%20120%20350%20190C340%20270%20280%20320%20200%20315C120%20310%2060%20260%2070%20180C80%20110%20140%2065%20210%2060Z'%20transform%3D'translate(210%20188)%20scale(0.8)%20translate(-210%20-188)'%2F%3E%3Cpath%20d%3D'M210%2060C300%2055%20360%20120%20350%20190C340%20270%20280%20320%20200%20315C120%20310%2060%20260%2070%20180C80%20110%20140%2065%20210%2060Z'%20transform%3D'translate(210%20188)%20scale(0.6)%20translate(-210%20-188)'%2F%3E%3Cpath%20d%3D'M210%2060C300%2055%20360%20120%20350%20190C340%20270%20280%20320%20200%20315C120%20310%2060%20260%2070%20180C80%20110%20140%2065%20210%2060Z'%20transform%3D'translate(210%20188)%20scale(0.4)%20translate(-210%20-188)'%2F%3E%3Cpath%20d%3D'M210%2060C300%2055%20360%20120%20350%20190C340%20270%20280%20320%20200%20315C120%20310%2060%20260%2070%20180C80%20110%20140%2065%20210%2060Z'%20transform%3D'translate(210%20188)%20scale(0.2)%20translate(-210%20-188)'%2F%3E%3Cpath%20d%3D'M500%20190C580%20195%20620%20250%20610%20310C600%20370%20540%20400%20480%20395C420%20390%20380%20340%20390%20285C400%20230%20440%20186%20500%20190Z'%20transform%3D'translate(500%20292)%20scale(1)%20translate(-500%20-292)'%2F%3E%3Cpath%20d%3D'M500%20190C580%20195%20620%20250%20610%20310C600%20370%20540%20400%20480%20395C420%20390%20380%20340%20390%20285C400%20230%20440%20186%20500%20190Z'%20transform%3D'translate(500%20292)%20scale(0.75)%20translate(-500%20-292)'%2F%3E%3Cpath%20d%3D'M500%20190C580%20195%20620%20250%20610%20310C600%20370%20540%20400%20480%20395C420%20390%20380%20340%20390%20285C400%20230%20440%20186%20500%20190Z'%20transform%3D'translate(500%20292)%20scale(0.5)%20translate(-500%20-292)'%2F%3E%3Cpath%20d%3D'M500%20190C580%20195%20620%20250%20610%20310C600%20370%20540%20400%20480%20395C420%20390%20380%20340%20390%20285C400%20230%20440%20186%20500%20190Z'%20transform%3D'translate(500%20292)%20scale(0.25)%20translate(-500%20-292)'%2F%3E%3Cpath%20d%3D'M0%2030C160%2010%20300%2060%20460%2025S600%2020%20640%2030'%2F%3E%3Cpath%20d%3D'M0%208C150%20-6%20320%2036%20470%206S610%200%20640%208'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 0 / 640px 420px;
        --ld-bar-bg: #2f4724;
        --ld-ink: #212820;
        --ld-muted: #6a7065;
        --ld-faint: #93988c;
        --ld-line: #d6dacd;
        --ld-panel: #f8f9f5;
        --ld-radius: 6px;
        --ld-panel-line: #d6dacd;
        --ld-panel-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 16px 30px -20px rgba(33, 40, 32, .45);
        --ld-field-bg: #fff;
        --ld-field-line: #cfd4c5;
        --ld-field-radius: 4px;
        --ld-focus: #466536;
        --ld-focus-ring: rgba(70, 101, 54, .18);
        --ld-accent: #466536;
        --ld-btn-hover: #2f4724;
        --ld-btn-radius: 4px;
        --ld-link: #466536;
        --ld-err-bg: #f7e1df;
        --ld-err-line: #ebbcb8;
        --ld-err-ink: #a3241f;
        --ld-title-font: 'Overpass', system-ui, 'Segoe UI', sans-serif;
        --ld-ui-font: 'Overpass', system-ui, 'Segoe UI', sans-serif;
        --ld-label-font: 'Overpass Mono', ui-monospace, Consolas, monospace;
    }
    .login-scene--sport .ld-bar__logo {
        width: 16px;
        height: 10px;
        overflow: hidden;
        border-radius: 1px;
        background: linear-gradient(#fff 0 50%, #c8322b 50% 100%);
        font-size: 0;
    }
    .login-scene--sport .ld-bar__name { color: #eef2e6; font: 800 17px/1 var(--ld-title-font); letter-spacing: -.01em; }
    .login-scene--sport .ld-bar__module .bi { display: none; }
    .login-scene--sport .ld-bar__module {
        padding: 3px 9px 2px;
        border: 1px solid rgba(238, 242, 230, .35);
        border-radius: 3px;
        color: #eef2e6;
        font: 700 11px/1.3 var(--ld-label-font);
        letter-spacing: .12em;
        text-transform: uppercase;
    }
    .login-scene--sport .ld-tag { display: flex; align-items: center; gap: 8px; color: #c8322b; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .login-scene--sport .ld-tag::before { content: ''; width: 16px; height: 10px; border-radius: 1px; background: linear-gradient(#fff 0 50%, #c8322b 50% 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
    .login-scene--sport .ld-kicker { margin-top: 14px !important; color: #466536; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .login-scene--sport .ld-title { margin-top: 4px !important; font-weight: 800; letter-spacing: -.01em; }
    .login-scene--sport .login-card .form-label { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
    .login-scene--sport .login-card .btn.ld-btn { font-weight: 800; font-size: 15.5px; }
    .login-scene--sport .ld-quote { color: #6a7065; }

    .tpl-art { gap: 18px; }
    .tpl-card { padding: 18px 20px; background: #f8f9f5; border: 1px solid #d6dacd; border-radius: 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 16px 30px -22px rgba(33, 40, 32, .45); }
    .tpl-card__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
    .tpl-card__head b { color: #212820; font-size: 16px; font-weight: 800; }
    .tpl-card__head span { color: #6a7065; font-size: 12.5px; }
    .tpl-ridge { display: block; width: 100%; height: auto; overflow: visible; }
    .tpl-ridge__grid path { fill: none; stroke: #d6dacd; stroke-dasharray: 3 4; }
    .tpl-ridge__line { fill: none; stroke: #2f4724; stroke-width: 2; stroke-linejoin: round; }
    .tpl-ridge__lead { fill: none; stroke: #212820; stroke-dasharray: 2 3; }
    .tpl-ridge__pts circle { fill: #fff; stroke: #c8322b; stroke-width: 2; }
    .tpl-ridge__top { fill: #c8322b; stroke: #fff; stroke-width: 2.5; }
    .tpl-ridge__label { fill: #212820; font: 700 13px 'Overpass', sans-serif; }
    .tpl-route { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 8px 0 0; padding: 0; list-style: none; }
    .tpl-st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
    .tpl-st__d { height: 18px; color: #6a7065; font-size: 12px; font-weight: 700; white-space: nowrap; }
    .tpl-st__now { height: 16px; color: #c8322b; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
    .tpl-st__m { position: relative; z-index: 1; width: 18px; height: 18px; border: 3px solid #2f4724; border-radius: 50%; background: #f8f9f5; }
    .tpl-st.is-future .tpl-st__m { border-style: dashed; border-color: #7b7f76; }
    .tpl-st.is-today .tpl-st__m { border-color: #fff; background: #c8322b; box-shadow: 0 0 0 2px #c8322b; }
    .tpl-st::before,
    .tpl-st::after { content: ''; position: absolute; top: 32px; width: 50%; height: 6px; border-radius: 1px; }
    .tpl-st::before { left: 0; }
    .tpl-st::after { right: 0; }
    .tpl-st:first-child::before,
    .tpl-st:last-child::after { display: none; }
    .tpl-st.is-past::before,
    .tpl-st.is-past::after,
    .tpl-st.is-today::before { background: linear-gradient(#fff 0 50%, #c8322b 50% 100%); box-shadow: 0 0 0 1px rgba(200, 50, 43, .35); }
    .tpl-st.is-future::before,
    .tpl-st.is-future::after,
    .tpl-st.is-today::after { top: 34px; height: 2px; background: repeating-linear-gradient(90deg, #7b7f76 0 8px, transparent 8px 14px); box-shadow: none; }

    /* ── Information « Classeur » ─────────────────────────────────────── */
    .login-scene--information {
        --ld-bg: linear-gradient(180deg, #e9e6de, #dedad0);
        --ld-bar-bg: linear-gradient(#617168, #4c5a53);
        --ld-ink: #25292b;
        --ld-muted: #53595c;
        --ld-faint: #777c79;
        --ld-line: #d5e3ee;
        --ld-panel: #fffdf6;
        --ld-radius: 2px;
        --ld-panel-line: #d8cfb5;
        --ld-panel-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 18px -10px rgba(60, 45, 10, .5);
        --ld-field-bg: transparent;
        --ld-field-line: #c9d8e4;
        --ld-field-radius: 0;
        --ld-focus: #c4473b;
        --ld-focus-ring: transparent;
        --ld-accent: #45524b;
        --ld-btn-hover: #38433d;
        --ld-btn-fg: #fbf8ee;
        --ld-btn-radius: 3px;
        --ld-link: #c4473b;
        --ld-err-bg: #fbeee9;
        --ld-err-line: #c4473b;
        --ld-err-ink: #a8382d;
        --ld-title-font: 'Courier Prime', 'Courier New', monospace;
        --ld-ui-font: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
        --ld-label-font: 'Courier Prime', 'Courier New', monospace;
    }
    .login-scene--information .ld-bar {
        position: relative;
        min-height: 66px;
        border-bottom: 3px solid #3a453f;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 14px -8px rgba(0, 0, 0, .4);
    }
    .login-scene--information .ld-bar::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120px;
        height: 14px;
        border-radius: 99px;
        background: linear-gradient(#eef0ee, #9ea6a0);
        box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2), 0 2px 3px rgba(0, 0, 0, .35);
        transform: translate(-50%, -50%);
    }
    .login-scene--information .ld-bar__brand {
        gap: 0;
        padding: 6px 16px;
        background: #fbf8ee;
        border: 1px solid #c5bea9;
        border-radius: 1px;
        box-shadow: 0 0 0 4px #c3c8c4, 0 0 0 5px #8e958f, 0 2px 4px 5px rgba(0, 0, 0, .25);
        font: 400 15px/1.3 var(--ld-title-font);
        letter-spacing: .12em;
        text-transform: uppercase;
    }
    .login-scene--information .ld-bar__logo,
    .login-scene--information .ld-bar__module .bi { display: none; }
    .login-scene--information .ld-bar__module { color: #c4473b; }
    .login-scene--information .ld-bar__module::before { content: '\00a0·\00a0'; color: #25292b; }
    .login-scene--information .ld-stage {
        position: relative;
        flex: 0 0 auto;
        width: calc(100% - 64px);
        max-width: 1060px;
        margin: 76px auto 32px;
        padding: 34px;
        background: #ecd59f;
        border: 1px solid #c2a462;
        border-radius: 0 6px 6px 6px;
        box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 22px 34px -22px rgba(60, 45, 10, .6);
    }
    .login-scene--information .ld { justify-content: space-between; }
    .login-scene--information .ld-panel.login-card { position: relative; padding: 26px 30px 26px; }
    .login-scene--information .ld-head { margin: 0 -30px; padding: 0 30px 14px; border-bottom: 1.5px solid #c4473b; }
    .login-scene--information .ld-tag { color: var(--ld-faint); font-size: 11px; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
    .login-scene--information .ld-kicker { color: #c4473b; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .login-scene--information .ld-title { margin-top: 6px !important; font-size: 27px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
    .login-scene--information .ld-sub { font-size: 14.5px; }
    .login-scene--information .ld-field { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: end; gap: 10px; }
    .login-scene--information .login-card .form-label { margin: 0; padding-bottom: 9px; color: var(--ld-muted); font-size: 11.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
    .login-scene--information .login-card .form-control {
        min-height: 38px;
        padding: 6px 2px;
        border-width: 0 0 1px;
        font-family: 'Courier Prime', monospace;
        font-size: 16.5px;
    }
    .login-scene--information .login-card .form-control:focus { box-shadow: 0 1px 0 #c4473b; }
    .login-scene--information .login-card .form-check-input { border-color: #777c79; border-radius: 0; }
    .login-scene--information .login-card .btn.ld-btn { font-weight: 600; font-size: 15.5px; letter-spacing: .02em; }
    .login-scene--information .ld-links { font-family: var(--ld-title-font); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
    .login-scene--information .ld-links a { text-decoration: none; }
    .login-scene--information .login-card .alert { border-style: dashed; font-family: var(--ld-title-font); }
    .login-scene--information .ld-quote { font-family: var(--ld-title-font); font-style: normal; letter-spacing: .06em; }

    .cll-tabs { position: absolute; bottom: 100%; left: -1px; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
    .cll-tabs li {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 8px 14px 6px;
        background: #dcc183;
        border: 1px solid #c2a462;
        border-bottom: 0;
        border-radius: 6px 6px 0 0;
        color: #5a4a26;
        font: 700 12px/1.3 'Courier Prime', monospace;
        letter-spacing: .08em;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .cll-tabs li.is-active { position: relative; z-index: 1; margin-bottom: -1px; padding-bottom: 7px; background: #ecd59f; color: #25292b; }
    .cll-dot { width: 8px; height: 8px; border-radius: 50%; }
    .cll-dot--a { background: #4e6f8a; }
    .cll-dot--b { background: #6a5a9a; }
    .cll-dot--c { background: #4f7a5f; }
    .cll-dot--d { background: #8a6a3a; }
    .cll-panel { margin-bottom: 18px; overflow: hidden; background: #fffdf6; border-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 18px -12px rgba(0, 0, 0, .35); }
    .cll-panel:last-child { margin-bottom: 0; }
    .cll-panel__title { margin: 0; padding: 12px 16px 9px; border-bottom: 1.5px solid #c4473b; color: #25292b; font: 700 12.5px/1.3 'Courier Prime', monospace; letter-spacing: .12em; text-transform: uppercase; }
    .cll-panel__body { padding: 16px; }
    .cll-panel__body p { margin: 0; color: #53595c; font-size: 14px; line-height: 1.5; }
    .cll-stamp {
        display: inline-block;
        margin: 6px 0 16px 6px;
        padding: 7px 14px;
        border: 3px double #c4473b;
        border-radius: 4px;
        color: #c4473b;
        font: 700 17px/1.2 'Courier Prime', monospace;
        letter-spacing: .12em;
        text-transform: uppercase;
        opacity: .9;
        transform: rotate(-4deg);
    }
    .cll-log { width: 100%; border-collapse: collapse; font-size: 13.5px; }
    .cll-log th,
    .cll-log td { height: 34px; padding: 0 16px; border-bottom: 1px solid #d5e3ee; }
    .cll-log th { color: #53595c; font-weight: 400; text-align: left; }
    .cll-log td { color: #2c6a52; font-family: 'Courier Prime', monospace; font-weight: 700; text-align: right; }
    .cll-log tr:last-child th,
    .cll-log tr:last-child td { border-bottom: 0; }

    /* ── Véhicules « Tableau de bord clair » (vehicules-desktop.css) ─── */
    .login-scene--vehicules {
        --ld-bg: #f2f3f5;
        --ld-bar-bg: #14171c;
        --ld-ink: #14171c;
        --ld-muted: #5d6470;
        --ld-faint: #5d6470;
        --ld-line: #e1e4e8;
        --ld-panel: #fff;
        --ld-panel-line: #e1e4e8;
        --ld-radius: 22px;
        --ld-field-bg: #fff;
        --ld-field-line: #d5d9df;
        --ld-field-ph: #6b7280;
        --ld-field-radius: 10px;
        --ld-focus: #ffb020;
        --ld-focus-ring: rgba(255, 176, 32, .35);
        --ld-accent: #ffb020;
        --ld-btn-hover: #ffc04d;
        --ld-btn-fg: #14171c;
        --ld-btn-radius: 10px;
        --ld-link: #b35900;
        --ld-err-bg: #fdecea;
        --ld-err-line: #f1bdb6;
        --ld-err-ink: #9b1c12;
        --ld-title-font: 'VT Oswald', 'Oswald', 'Arial Narrow', sans-serif;
        --ld-ui-font: 'VT Inter', 'Inter', system-ui, sans-serif;
        --ld-label-font: 'VT Inter', 'Inter', system-ui, sans-serif;
    }
    .login-scene--vehicules .ld-bar { min-height: 64px; }
    .login-scene--vehicules .ld-bar__brand { align-items: baseline; gap: 10px; }
    .login-scene--vehicules .ld-bar__logo { display: none; }
    .login-scene--vehicules .ld-bar__name { color: #fff; font: 600 22px/1 var(--ld-title-font); }
    .login-scene--vehicules .ld-bar__module .bi { display: none; }
    .login-scene--vehicules .ld-bar__module { color: #b8bec8; font: 600 11px/1 var(--ld-ui-font); letter-spacing: .14em; text-transform: uppercase; }
    .login-scene--vehicules .ld-tag { display: none; }
    .login-scene--vehicules .ld-kicker { color: #5d6470; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
    .login-scene--vehicules .ld-title { margin-top: 2px !important; font-size: 40px; font-weight: 600; }
    .login-scene--vehicules .ld-panel.login-card { padding: 34px 36px; }
    .login-scene--vehicules .login-card .form-label { font-size: 13px; }
    .login-scene--vehicules .login-card .btn.ld-btn { font-size: 15px; }
    .login-scene--vehicules .ld-links a { font-weight: 600; text-decoration: none; }

    /* Art: one dashboard card of the garage, as on the desktop module. */
    .vdk-art { align-self: center; }
    .vdk-kicker { margin: 0; color: #5d6470; font: 700 12px/1.3 var(--ld-ui-font); letter-spacing: .14em; text-transform: uppercase; }
    .vdk-h { margin: 2px 0 18px; color: #14171c; font: 600 44px/1.1 var(--ld-title-font); }
    .vdk-card { display: grid; gap: 18px; padding: 22px 24px; border: 1px solid #e1e4e8; border-radius: 20px; background: #fff; }
    .vdk-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
    .vdk-name { display: block; color: #14171c; font: 600 28px/1.15 var(--ld-title-font); }
    .vdk-card__top small { color: #5d6470; font-size: 14px; }
    .vdk-plate { display: inline-flex; overflow: hidden; border: 2px solid #14171c; border-radius: 6px; color: #14171c; font: 600 20px/1.3 var(--ld-title-font); white-space: nowrap; }
    .vdk-plate i { display: flex; align-items: flex-end; padding: 0 5px 2px; background: #2448b3; color: #fff; font-size: 11px; font-style: normal; }
    .vdk-plate span { padding: 1px 10px; letter-spacing: .06em; }
    .vdk-cluster { display: flex; align-items: center; gap: 22px; }
    .vdk-gauge { flex: none; width: 112px; height: 112px; }
    .vdk-gauge circle { fill: none; stroke-width: 12; stroke-linecap: round; }
    .vdk-gauge__track { stroke: #e6e8ec; }
    .vdk-gauge__value { stroke: #e08a00; }
    .vdk-gauge text { fill: #14171c; font: 600 32px var(--ld-title-font); text-anchor: middle; }
    .vdk-gauge .vdk-gauge__unit { fill: #5d6470; font: 700 11px var(--ld-ui-font); letter-spacing: .06em; }
    .vdk-next { display: flex; flex-direction: column; gap: 4px; }
    .vdk-next small { color: #5d6470; font-size: 13px; }
    .vdk-next b { margin-bottom: 6px; color: #8a4b00; font-size: 17px; }
    .vdk-odo { display: inline-flex; gap: 4px; }
    .vdk-odo i { padding: 0 7px; border-radius: 5px; background: #14171c; color: #fff; font: 600 21px/1.35 var(--ld-title-font); font-style: normal; }
    .vdk-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .vdk-tiles span { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; background: #f2f3f5; }
    .vdk-tiles small { color: #5d6470; font-size: 13px; }
    .vdk-tiles b { color: #14171c; font: 600 24px/1.2 var(--ld-title-font); }
}

/* Narrow desktop: form only, the folder / booklet hugs it. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .login-scene--information .ld-stage { max-width: 510px; }
    .login-scene--vehicules .ld-stage { max-width: 440px; }
}

/* Two columns (art + form) once there is room for both. */
@media (min-width: 992px) {
    .login-v2 .ld-stage { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: 48px; }
    .login-v2 .ld-art { display: block; }
    .login-v2 .cpl-art,
    .login-v2 .tpl-art { display: grid; }
    .login-scene--information .ld-stage { gap: 34px; }
}

/* ════════════════════════════════════════════════════════════════════════
   PHONE (< 768 px) — the module's dark installed-app look
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .login-v2 {
        --ld-radius: 22px;
        --ld-field-radius: 14px;
        --ld-btn-radius: 16px;
        --ld-err-bg: rgba(127, 29, 29, .38);
        --ld-err-line: rgba(252, 165, 165, .35);
        --ld-err-ink: #fecaca;
        color-scheme: dark;
    }
    .login-v2 .ld-bar {
        display: flex;
        align-items: center;
        min-height: 60px;
        padding: 10px 16px;
        background: var(--ld-bar-bg);
        border-bottom: 1px solid var(--ld-line);
    }
    .login-v2 .ld-bar__logo,
    .login-v2 .ld-bar__module .bi { display: none; }
    .login-v2 .ld-bar__brand { flex-direction: column; align-items: flex-start; gap: 3px; }
    .login-v2 .ld-bar__name { color: var(--ld-ink); font: 800 22px/1 var(--ld-title-font); }
    .login-v2 .ld-bar__module { color: var(--ld-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; line-height: 1; text-transform: uppercase; }
    .login-v2 .ld-stage { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 16px; }
    :where(.login-v2) .ld-hero { display: block; }
    .login-v2 .ld-panel.login-card { padding: 22px 18px 20px; border-color: var(--ld-line); }
    .login-v2 .ld-tag { display: none; }
    .login-v2 .ld-kicker { color: var(--ld-accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .login-v2 .ld-title { margin-top: 4px !important; font-size: 30px; font-weight: 800; }
    .login-v2 .ld-sub { font-size: 14.5px; }
    .login-v2 .ld-form { margin-top: 20px; }
    .login-v2 .login-card .form-control { min-height: 50px; padding-inline: 14px; font-size: 16px; }
    .login-v2 .login-card .btn.ld-btn { min-height: 54px; font-size: 16.5px; }
    .login-v2 .ld-quote { padding: 4px 24px 24px; }

    /* ── Compte : « portefeuille » vert profond ───────────────────────── */
    .login-scene--compte {
        --ld-bg: #0b1512;
        --ld-bar-bg: #0f1a16;
        --ld-ink: #ecfdf5;
        --ld-muted: #8fb3a4;
        --ld-faint: #6f9585;
        --ld-line: #1f3530;
        --ld-panel: #12201b;
        --ld-field-bg: #0b1512;
        --ld-field-line: #1f3530;
        --ld-field-ph: #5d8274;
        --ld-focus: #34d399;
        --ld-focus-ring: rgba(52, 211, 153, .2);
        --ld-accent: #34d399;
        --ld-btn-hover: #6ee7b7;
        --ld-btn-fg: #022c22;
        --ld-link: #6ee7b7;
        --ld-title-font: 'Nunito', 'Segoe UI', system-ui, sans-serif;
        --ld-ui-font: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    }
    .login-scene--compte .ld-title { font-weight: 900; }
    .login-scene--compte .login-card .btn.ld-btn { font-family: var(--ld-title-font); font-weight: 900; }
    .cpl-hero { padding: 18px; background: #022c22; border: 1px solid #0f3d30; border-radius: 22px; }
    .cpl-hero__label { display: block; color: #a7f3d0; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .cpl-hero__amount { display: block; margin-top: 4px; color: #fff; font: 900 34px/1.1 'Nunito', sans-serif; letter-spacing: .04em; }
    .cpl-hero__note { display: block; margin-top: 2px; color: #fcd34d; font-size: 13.5px; }
    .cpl-hero__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
    .cpl-hero__tiles > span { padding: 9px 10px; background: #0a3a2d; border-radius: 14px; color: #a7f3d0; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .cpl-hero__tiles b { display: block; margin-top: 2px; color: #ecfdf5; font: 900 16px/1.2 'Nunito', sans-serif; }

    /* ── Cuisine : « Carnet de nuit » ─────────────────────────────────── */
    .login-scene--cuisine {
        --ld-bg: #17120e repeating-linear-gradient(180deg, transparent 0 39px, rgba(255, 240, 220, .035) 39px 40px);
        --ld-bar-bg: #120e0b;
        --ld-ink: #f3e9d6;
        --ld-muted: #c9b597;
        --ld-faint: #a8957a;
        --ld-line: #3a2d22;
        --ld-panel: #221a14;
        --ld-field-bg: #17120e;
        --ld-field-line: #3a2d22;
        --ld-field-ph: #7a6650;
        --ld-focus: #e8764f;
        --ld-focus-ring: rgba(232, 118, 79, .22);
        --ld-accent: #e8764f;
        --ld-btn-hover: #f29a79;
        --ld-btn-fg: #17120e;
        --ld-link: #e8764f;
        --ld-title-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
    }
    .login-scene--cuisine .ld-bar__name { font-style: italic; font-weight: 700; }
    .login-scene--cuisine .ld-bar__module { font-family: var(--ld-title-font); font-style: italic; letter-spacing: .1em; }
    .login-scene--cuisine .ld-title { font-size: 34px; font-weight: 700; }
    .czl-hero { display: flex; align-items: center; gap: 16px; padding: 18px; background: linear-gradient(135deg, #2c2219, #221a14); border: 1px solid #3a2d22; border-radius: 18px; }
    .czl-hero__badge { display: flex; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 92px; height: 92px; border: 2px solid #e8764f; border-radius: 50%; color: #f3e9d6; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
    .czl-hero__badge .bi { color: #e8764f; font-size: 26px; line-height: 1; }
    .czl-hero__text { min-width: 0; color: #c9b597; font-size: 14.5px; line-height: 1.45; }
    .czl-hero__text b { display: block; margin-bottom: 2px; color: #f3e9d6; font: 700 30px/1.1 Georgia, 'Times New Roman', serif; }
    .czl-hero__text strong { color: #f3e9d6; }

    /* ── Sport : « Nuit de trail » ────────────────────────────────────── */
    .login-scene--sport {
        --ld-bg: #0b1220;
        --ld-bar-bg: #080d18;
        --ld-ink: #e8eef7;
        --ld-muted: #8a9bb5;
        --ld-faint: #6b7c96;
        --ld-line: #22304a;
        --ld-panel: #131c2e;
        --ld-field-bg: #0f1727;
        --ld-field-line: #22304a;
        --ld-field-ph: #56688a;
        --ld-focus: #fb923c;
        --ld-focus-ring: rgba(251, 146, 60, .22);
        --ld-accent: #fb923c;
        --ld-btn-image: linear-gradient(135deg, #fb923c, #ef4444);
        --ld-btn-hover: #f97316;
        --ld-btn-fg: #0b1220;
        --ld-link: #fb923c;
        --ld-title-font: 'Saira Condensed', system-ui, sans-serif;
    }
    .login-scene--sport .ld-bar__name { font-weight: 800; letter-spacing: .01em; }
    .login-scene--sport .ld-title { font-size: 36px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
    .login-scene--sport .login-card .btn.ld-btn { font-family: var(--ld-title-font); font-size: 19px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .tpl-hero { position: relative; height: 150px; overflow: hidden; background: linear-gradient(180deg, #0f1727 0%, #1e1b2e 55%, #4a1f14 100%); border: 1px solid #22304a; border-radius: 18px; }
    .tpl-hero__sky { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
    .tpl-hero__far { fill: #1e293b; }
    .tpl-hero__near { fill: #0b1220; }
    .tpl-hero__trail { fill: none; stroke: #fde68a; stroke-dasharray: 5 5; stroke-opacity: .55; stroke-width: 1.5; }
    .tpl-hero__week { position: absolute; top: 14px; left: 16px; color: #e8eef7; }
    .tpl-hero__week small { display: block; color: #8a9bb5; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
    .tpl-hero__week b { display: block; font: 800 52px/1 'Saira Condensed', sans-serif; }
    .tpl-hero__stats { position: absolute; top: 16px; right: 16px; display: grid; gap: 2px; color: #8a9bb5; font-size: 12px; text-align: right; }
    .tpl-hero__stats b { color: #fb923c; font: 700 17px/1.1 'Saira Condensed', sans-serif; }

    /* ── Information : « Velours de nuit » ────────────────────────────── */
    .login-scene--information {
        --ld-bg: radial-gradient(120% 50% at 50% 0%, #2b1843 0%, #140a22 70%) #140a22;
        --ld-bar-bg: #0e0619;
        --ld-ink: #f4ecdf;
        --ld-muted: #b3a3c9;
        --ld-faint: #8d7da6;
        --ld-line: #3a2456;
        --ld-panel: #211234;
        --ld-field-bg: #140a22;
        --ld-field-line: #3a2456;
        --ld-field-ph: #6f5d8c;
        --ld-focus: #f2b84b;
        --ld-focus-ring: rgba(242, 184, 75, .22);
        --ld-accent: #f2b84b;
        --ld-btn-image: linear-gradient(135deg, #f8d38a, #e09a2e);
        --ld-btn-hover: #f2b84b;
        --ld-btn-fg: #140a22;
        --ld-link: #f8d38a;
        --ld-title-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
        --ld-ui-font: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    }
    .login-scene--information .ld-title { font-weight: 700; }
    .ivl-hero { display: flex; flex-direction: column; align-items: center; padding: 6px 16px 4px; text-align: center; }
    .ivl-hero__lock { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid #f2b84b; border-radius: 50%; background: radial-gradient(circle, rgba(242, 184, 75, .18), rgba(242, 184, 75, .02) 70%); box-shadow: 0 0 30px rgba(242, 184, 75, .18); color: #f2b84b; font-size: 25px; }
    .ivl-hero__state { margin-top: 12px; color: #f2b84b; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
    .ivl-hero__hint { margin-top: 4px; color: #b3a3c9; font-size: 14px; }

    /* ── Véhicules : « Tableau de bord » noir + ambre ─────────────────── */
    .login-scene--vehicules {
        --ld-bg: radial-gradient(70% 40% at 90% 0%, rgba(255, 176, 32, .12), transparent 70%) #07090c;
        --ld-bar-bg: #05070a;
        --ld-ink: #e6edf5;
        --ld-muted: #8b97a8;
        --ld-faint: #6b7686;
        --ld-line: #1e252f;
        --ld-panel: #10141a;
        --ld-field-bg: #0b0f14;
        --ld-field-line: #2b3442;
        --ld-field-ph: #566173;
        --ld-focus: #ffb020;
        --ld-focus-ring: rgba(255, 176, 32, .22);
        --ld-accent: #ffb020;
        --ld-btn-hover: #ffc04d;
        --ld-btn-fg: #07090c;
        --ld-link: #ffb020;
        --ld-title-font: 'Archivo', system-ui, sans-serif;
        --ld-ui-font: system-ui, 'Segoe UI', sans-serif;
    }
    .login-scene--vehicules .ld-bar__name,
    .login-scene--vehicules .ld-title,
    .login-scene--vehicules .login-card .btn.ld-btn { font-family: var(--ld-title-font); font-stretch: 72%; }
    .login-scene--vehicules .ld-bar__name { font-size: 25px; font-weight: 700; }
    .login-scene--vehicules .ld-bar__module { font-family: var(--ld-title-font); font-stretch: 80%; font-weight: 700; }
    .login-scene--vehicules .ld-title { font-size: 36px; font-weight: 700; }
    .login-scene--vehicules .login-card .btn.ld-btn { font-size: 19px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .vdl-hero { padding: 18px; background: #10141a; border: 1px solid #1e252f; border-radius: 22px; }
    .vdl-hero__kicker { display: block; margin-bottom: 10px; color: #8b97a8; font: 700 13px/1 'Archivo', sans-serif; font-stretch: 75%; letter-spacing: .3em; text-transform: uppercase; }
    .vdl-plate { display: inline-flex; height: 42px; overflow: hidden; border: 2px solid #05070a; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
    .vdl-plate__eu,
    .vdl-plate__dep { display: flex; align-items: flex-end; justify-content: center; width: 22px; padding-bottom: 4px; background: #2453d6; color: #fff; font: 700 10px/1 'Archivo', sans-serif; }
    .vdl-plate__num { display: flex; align-items: center; padding: 0 14px; background: #f4f4f0; color: #111; font: 700 25px/1 'Archivo', sans-serif; font-stretch: 72%; letter-spacing: .05em; }
    .vdl-hero__row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
    .vdl-gauge { flex: none; width: 86px; height: 86px; }
    .vdl-gauge path { fill: none; stroke-linecap: round; stroke-width: 8; }
    .vdl-gauge__track { stroke: #1e252f; }
    .vdl-gauge__fill { stroke: #ffb020; filter: drop-shadow(0 0 4px rgba(255, 176, 32, .45)); }
    .vdl-gauge text { fill: #e6edf5; font: 700 24px 'Archivo', sans-serif; text-anchor: middle; }
    .vdl-gauge .vdl-gauge__unit { fill: #8b97a8; font-size: 8.5px; letter-spacing: 1px; }
    .vdl-hero__next { min-width: 0; color: #8b97a8; }
    .vdl-hero__next small { display: block; font-size: 13px; }
    .vdl-hero__next b { display: block; margin: 1px 0 8px; color: #ffb020; font: 700 19px/1.1 'Archivo', sans-serif; font-stretch: 75%; }
    .vdl-odo { display: flex; align-items: center; gap: 4px; }
    .vdl-odo i { display: grid; place-items: center; width: 21px; height: 28px; background: #05070a; border: 1px solid #2b3442; border-radius: 4px; color: #e6edf5; font: 700 17px/1 'Archivo', sans-serif; font-stretch: 75%; font-style: normal; }
    .vdl-odo small { margin-left: 4px; font-size: 12.5px; }
}
