:root{color-scheme:dark;--bg:#0e1116;--panel:#171b22;--line:#2a3039;--txt:#f5f7fa;--muted:#9da8b6;--blue:#4f8cff;--green:#27c46b;--orange:#ff9b45}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--txt)}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line);background:#11151b;position:sticky;top:0;z-index:10}
.topbar h1{font-size:20px;margin:0 0 4px}.topbar p{margin:0;color:var(--muted);font-size:13px}.badge{padding:7px 11px;border-radius:999px;background:#193326;color:#8df3b7;font-size:12px;font-weight:700}
.layout{display:grid;grid-template-columns:minmax(360px,520px) minmax(360px,1fr);gap:18px;padding:18px;max-width:1600px;margin:auto}.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden}.controls{padding:18px}.grid2,.grid3{display:grid;gap:12px;margin-bottom:12px}.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:1fr 1fr 1fr}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#c8d0da;font-weight:600}input,select,textarea{width:100%;background:#0f1319;color:#fff;border:1px solid #303844;border-radius:10px;padding:10px 11px;font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:#5f8fff}textarea{height:420px;resize:vertical;line-height:1.45;font-family:Consolas,monospace;font-size:13px;margin-bottom:12px}.actions{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0}button{border:1px solid #39414d;background:#202630;color:#fff;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}button:hover{filter:brightness(1.08)}button.primary{background:#2f6fff;border-color:#2f6fff}.accent{background:#0b8d68;border-color:#0b8d68}.accent2{background:#a95d18;border-color:#a95d18}.status{margin-top:12px;padding:10px 12px;background:#0e1319;border:1px solid #2a323c;border-radius:10px;color:#cbd5e1;font-size:13px}.note{margin-top:12px;color:#9aa6b5;font-size:12px;line-height:1.5}.previewPanel{display:flex;flex-direction:column;min-height:650px}.previewToolbar{display:flex;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px;color:#b9c3d0}.canvasWrap{display:flex;align-items:flex-start;justify-content:center;padding:18px;overflow:auto;background:#0a0d12;min-height:0;flex:1}canvas{display:block;max-width:100%;height:auto;max-height:calc(100vh - 145px);box-shadow:0 24px 80px rgba(0,0,0,.45);background:#fff}
@media(max-width:1000px){.layout{grid-template-columns:1fr}.previewPanel{min-height:500px}.canvasWrap canvas{max-height:80vh}}
@media(max-width:620px){.grid2,.grid3{grid-template-columns:1fr}.layout{padding:10px}.topbar{padding:14px}.topbar h1{font-size:16px}.topbar p{display:none}.controls{padding:12px}}
input[type="range"]{width:100%;accent-color:#2563eb}.miniHelp{font-size:12px;color:#667085}

#codecInfo{white-space:pre-wrap;max-height:150px;overflow:auto}.controls select,.controls input,.controls textarea{background:#fff!important;color:#111827!important;-webkit-text-fill-color:#111827!important}.controls select option{background:#fff;color:#111827}.controls input::placeholder,.controls textarea::placeholder{color:#6b7280!important;-webkit-text-fill-color:#6b7280!important}.badge{white-space:nowrap}


/* ==========================================================
   LOIS ABSURDES — WORKFLOW
========================================================== */

.la-workflow{
    display:flex;
    align-items:center;
    width:100%;
    margin:0 0 24px;
    padding:15px 18px;

    background:#fffdf9;
    border:1px solid #34261c;
    border-radius:16px;

    overflow-x:auto;
}

.la-workflow-step{
    display:flex;
    align-items:center;
    gap:9px;

    color:#806f62;
    text-decoration:none;
    font-size:13px;
    font-weight:800;

    white-space:nowrap;
}

.la-workflow-step small{
    display:block;
    margin-top:1px;
    color:#705c4d;
    font-size:10px;
}

.la-workflow-number{
    display:flex;
    align-items:center;
    justify-content:center;

    width:29px;
    height:29px;

    flex:0 0 29px;

    border-radius:50%;

    background:#241b15;
    border:1px solid #493323;

    color:#8e7766;
}

.la-workflow-step.done{
    color:#d9c6b7;
}

.la-workflow-step.done .la-workflow-number{
    background:#26351f;
    border-color:#49643b;
    color:#b8e09f;
}

.la-workflow-step.current{
    color:#fff7ed;
}

.la-workflow-step.current .la-workflow-number{
    color:white;
    border-color:#f97316;

    background:
        linear-gradient(
            135deg,
            #fb923c,
            #c2410c
        );

    box-shadow:
        0 0 0 4px
        rgba(249,115,22,.10);
}

.la-workflow-line{
    width:34px;
    height:1px;
    margin:0 11px;
    flex:0 0 34px;
    background:#3a2a20;
}


/* ===== FIX LOGO SIDEBAR ===== */

.la-sidebar-logo{
    display:block !important;
    width:180px !important;
    max-width:180px !important;
    height:auto !important;
    max-height:110px !important;
    object-fit:contain !important;
    margin:0 auto 12px auto !important;
}


/* ==========================================================
   BRANDING SIDEBAR — LOIS ABSURDES
========================================================== */

.la-brand{
    display:flex;
    align-items:center;
    gap:12px;
    padding:18px 16px;
}

.la-brand-mark{
    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;
    flex:0 0 42px;

    border-radius:12px;

    background:linear-gradient(135deg,#f97316,#84cc16);
    color:#090807;

    font-size:27px;
    font-weight:900;
    line-height:1;
}

.la-brand-copy{
    min-width:0;
}

.la-brand-title{
    color:#fff7ed;
    font-size:16px;
    font-weight:900;
    line-height:1.05;
    letter-spacing:.3px;
}

.la-brand-title span{
    color:#f97316;
}

.la-brand-subtitle{
    margin-top:5px;
    color:#8d7969;
    font-size:9px;
    font-weight:800;
    letter-spacing:1.8px;
}



/* ===== ETSI COSMIC GLOBAL ===== */

:root{
    --etsi-bg:#070916;
    --etsi-bg2:#0a0d1e;
    --etsi-panel:#10142a;
    --etsi-panel2:#141936;

    --etsi-line:#252c56;
    --etsi-line-soft:rgba(129,140,248,.14);

    --etsi-text:#f5f7ff;
    --etsi-muted:#8993ba;

    --etsi-cyan:#67e8f9;
    --etsi-cyan2:#22d3ee;

    --etsi-indigo:#6366f1;
    --etsi-violet:#8b5cf6;
    --etsi-purple:#a855f7;

    --etsi-green:#34d399;
    --etsi-red:#fb7185;
}


/* FOND ==================================================== */

body{
    background:
        radial-gradient(
            circle at 82% 0%,
            rgba(99,102,241,.10),
            transparent 31rem
        ),
        radial-gradient(
            circle at 45% 110%,
            rgba(168,85,247,.07),
            transparent 34rem
        ),
        #070916 !important;

    color:var(--etsi-text) !important;
}


/* MAIN ==================================================== */

.la-main{
    background:transparent !important;
}


/* TITRES ================================================== */

.la-title,
.la-header h1{
    color:#f8faff !important;
    letter-spacing:-.5px;
}

.la-subtitle,
.la-muted,
.la-field-help{
    color:var(--etsi-muted) !important;
}


/* CARTES ================================================== */

.la-card{
    background:
        linear-gradient(
            145deg,
            rgba(20,25,54,.96),
            rgba(12,15,34,.97)
        ) !important;

    border:1px solid var(--etsi-line-soft) !important;

    box-shadow:
        0 14px 42px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.la-section{
    border-color:rgba(129,140,248,.13) !important;
}

.la-section h3{
    color:#e9edff !important;
}


/* INPUTS ================================================== */

.la-input,
.la-select,
.la-textarea{
    background:#0a0e22 !important;
    border-color:#29305b !important;
    color:#f4f6ff !important;
    -webkit-text-fill-color:#f4f6ff !important;
}

.la-input::placeholder,
.la-textarea::placeholder{
    color:#59658f !important;
    -webkit-text-fill-color:#59658f !important;
}

.la-input:focus,
.la-select:focus,
.la-textarea:focus{
    border-color:var(--etsi-cyan2) !important;

    box-shadow:
        0 0 0 3px rgba(34,211,238,.09),
        0 0 22px rgba(99,102,241,.08) !important;
}


/* LABELS ================================================== */

.la-label{
    color:#b7c0e0 !important;
}


/* BOUTON PRINCIPAL ======================================== */

.la-button{
    color:#ffffff !important;

    border:1px solid rgba(103,232,249,.24) !important;

    background:
        linear-gradient(
            135deg,
            #0891b2 0%,
            #4f46e5 52%,
            #7c3aed 100%
        ) !important;

    box-shadow:
        0 8px 24px rgba(79,70,229,.18),
        inset 0 1px 0 rgba(255,255,255,.15) !important;

    transition:
        transform .16s ease,
        filter .16s ease,
        box-shadow .16s ease !important;
}

.la-button:hover{
    transform:translateY(-1px);
    filter:brightness(1.08);

    box-shadow:
        0 10px 30px rgba(79,70,229,.25),
        0 0 20px rgba(34,211,238,.07) !important;
}


/* PETITS BOUTONS ========================================== */

.la-small{
    background:#111631 !important;
    border-color:#2c3566 !important;
    color:#bcc5e5 !important;
}

.la-small:hover{
    background:#171d3e !important;
    border-color:#48558d !important;
    color:#ffffff !important;
}


/* TABLE =================================================== */

.la-table{
    color:#e8ebfa !important;
}

.la-table th{
    color:#7884b1 !important;
    border-color:#252c52 !important;
}

.la-table td{
    border-color:#1f2548 !important;
}

.la-table tbody tr:hover{
    background:rgba(99,102,241,.055) !important;
}

.la-id{
    color:var(--etsi-cyan) !important;
}


/* BADGE THEME ============================================= */

.la-theme-badge{
    background:
        linear-gradient(
            135deg,
            rgba(34,211,238,.10),
            rgba(99,102,241,.15),
            rgba(168,85,247,.12)
        ) !important;

    border:1px solid rgba(103,232,249,.13);

    color:#c9d8ff !important;
}


/* WORKFLOW ================================================ */

.la-workflow{
    background:
        linear-gradient(
            135deg,
            rgba(17,21,45,.98),
            rgba(10,13,30,.98)
        ) !important;

    border-color:rgba(129,140,248,.15) !important;
}

.la-workflow-step{
    color:#66719b !important;
}

.la-workflow-step small{
    color:#525d88 !important;
}

.la-workflow-number{
    background:#111633 !important;
    border-color:#303968 !important;
    color:#7e89b4 !important;
}

.la-workflow-step.done{
    color:#aab4d6 !important;
}

.la-workflow-step.done .la-workflow-number{
    background:rgba(52,211,153,.10) !important;
    border-color:rgba(52,211,153,.35) !important;
    color:#6ee7b7 !important;
}

.la-workflow-step.current{
    color:#ffffff !important;
}

.la-workflow-step.current .la-workflow-number{
    color:#ffffff !important;

    border-color:#67e8f9 !important;

    background:
        linear-gradient(
            135deg,
            #0891b2,
            #4f46e5,
            #7c3aed
        ) !important;

    box-shadow:
        0 0 0 4px rgba(103,232,249,.08),
        0 0 20px rgba(99,102,241,.15) !important;
}

.la-workflow-line{
    background:#29315d !important;
}


/* SCROLLBAR =============================================== */

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track{
    background:#080b1a;
}

::-webkit-scrollbar-thumb{
    background:#282f58;
    border-radius:20px;
    border:2px solid #080b1a;
}

::-webkit-scrollbar-thumb:hover{
    background:#3b467c;
}


/* SELECTION =============================================== */

::selection{
    background:rgba(103,232,249,.25);
    color:#ffffff;
}


/* ==========================================================
   ETSI — DA VIOLET / ORANGE / VERT FLUO — TEST
========================================================== */

:root{
    --etsi-bg:#0d0714;
    --etsi-bg2:#13091e;

    --etsi-panel:#180d24;
    --etsi-panel2:#21102f;

    --etsi-line:#3b2350;
    --etsi-line-soft:rgba(168,85,247,.18);

    --etsi-text:#faf7ff;
    --etsi-muted:#a99bb7;

    --etsi-violet:#8b3dff;
    --etsi-violet2:#6d28d9;

    --etsi-orange:#ff7a18;
    --etsi-orange2:#ff9a3d;

    --etsi-green:#b7ff3c;
    --etsi-green2:#8cff00;
}


/* FOND */

body{
    background:
        radial-gradient(
            circle at 88% -5%,
            rgba(139,61,255,.14),
            transparent 32rem
        ),
        radial-gradient(
            circle at 45% 110%,
            rgba(255,122,24,.06),
            transparent 34rem
        ),
        #0d0714 !important;

    color:var(--etsi-text) !important;
}


/* CARTES */

.la-card{
    background:
        linear-gradient(
            145deg,
            rgba(31,15,45,.97),
            rgba(17,9,27,.98)
        ) !important;

    border-color:rgba(168,85,247,.18) !important;

    box-shadow:
        0 14px 42px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.la-section{
    border-color:rgba(168,85,247,.14) !important;
}


/* TITRES */

.la-title,
.la-header h1{
    color:#faf7ff !important;
}

.la-section h3{
    color:#f5efff !important;
}

.la-subtitle,
.la-muted,
.la-field-help{
    color:#a99bb7 !important;
}


/* INPUTS */

.la-input,
.la-select,
.la-textarea{
    background:#100818 !important;
    border-color:#3a2350 !important;
    color:#faf7ff !important;
    -webkit-text-fill-color:#faf7ff !important;
}

.la-input::placeholder,
.la-textarea::placeholder{
    color:#725f80 !important;
    -webkit-text-fill-color:#725f80 !important;
}

.la-input:focus,
.la-select:focus,
.la-textarea:focus{
    border-color:#b7ff3c !important;

    box-shadow:
        0 0 0 3px rgba(183,255,60,.08),
        0 0 20px rgba(139,61,255,.10) !important;
}

.la-label{
    color:#cbbdd6 !important;
}


/* BOUTON PRINCIPAL = ORANGE */

.la-button{
    color:#160a04 !important;

    background:
        linear-gradient(
            135deg,
            #ff9a3d,
            #ff7a18
        ) !important;

    border-color:#ff9a3d !important;

    box-shadow:
        0 8px 25px rgba(255,122,24,.20),
        inset 0 1px 0 rgba(255,255,255,.25) !important;
}

.la-button:hover{
    filter:brightness(1.08) !important;

    box-shadow:
        0 10px 30px rgba(255,122,24,.30),
        0 0 22px rgba(255,122,24,.08) !important;
}


/* PETITS BOUTONS */

.la-small{
    background:#21102f !important;
    border-color:#4a2b61 !important;
    color:#cbbdd6 !important;
}

.la-small:hover{
    background:#2b153d !important;
    border-color:#8b3dff !important;
    color:#ffffff !important;
}


/* TABLEAU */

.la-table{
    color:#eee8f5 !important;
}

.la-table th{
    color:#9685a5 !important;
    border-color:#352046 !important;
}

.la-table td{
    border-color:#2a1838 !important;
}

.la-table tbody tr:hover{
    background:rgba(139,61,255,.07) !important;
}


/* ID = VERT FLUO */

.la-id{
    color:#b7ff3c !important;
}


/* BADGES THEMES */

.la-theme-badge{
    background:
        linear-gradient(
            135deg,
            rgba(139,61,255,.18),
            rgba(255,122,24,.07)
        ) !important;

    border:1px solid rgba(183,255,60,.17) !important;

    color:#d9ffc0 !important;
}


/* WORKFLOW */

.la-workflow{
    background:
        linear-gradient(
            135deg,
            #1b0d28,
            #100817
        ) !important;

    border-color:#3a224c !important;
}

.la-workflow-step{
    color:#806d8f !important;
}

.la-workflow-step small{
    color:#695675 !important;
}

.la-workflow-number{
    background:#21102f !important;
    border-color:#4a2a60 !important;
    color:#9a86aa !important;
}


/* ETAPE TERMINEE = VERT */

.la-workflow-step.done{
    color:#c8d9b6 !important;
}

.la-workflow-step.done .la-workflow-number{
    background:rgba(183,255,60,.09) !important;
    border-color:rgba(183,255,60,.35) !important;
    color:#b7ff3c !important;
}


/* ETAPE ACTIVE = ORANGE */

.la-workflow-step.current{
    color:#ffffff !important;
}

.la-workflow-step.current .la-workflow-number{
    color:#160a04 !important;

    border-color:#ff9a3d !important;

    background:
        linear-gradient(
            135deg,
            #ff9a3d,
            #ff7a18
        ) !important;

    box-shadow:
        0 0 0 4px rgba(255,122,24,.09),
        0 0 22px rgba(255,122,24,.18) !important;
}

.la-workflow-line{
    background:#422651 !important;
}


/* SELECTION */

::selection{
    background:#b7ff3c;
    color:#13091e;
}


/* SCROLLBAR */

::-webkit-scrollbar-track{
    background:#0d0714;
}

::-webkit-scrollbar-thumb{
    background:#3b2350;
    border:2px solid #0d0714;
}

::-webkit-scrollbar-thumb:hover{
    background:#61327d;
}


/* ==========================================================
   ET SI — LABORATOIRE DE L'IMPOSSIBLE
   Graphite / Ivoire / Corail / Glacier
========================================================== */

:root{
    --es-ink:#0b0d10;
    --es-ink2:#111419;
    --es-panel:#15191f;
    --es-panel2:#191e25;

    --es-line:#292f37;
    --es-line2:#353c46;

    --es-white:#f5f1e8;
    --es-muted:#8e969f;

    --es-coral:#ff5c4d;
    --es-coral2:#ff806f;

    --es-ice:#9ee7f5;
}


/* PAGE */

html,
body{
    background:#0b0d10 !important;
}

body{
    background:
        radial-gradient(
            ellipse at 75% -10%,
            rgba(255,92,77,.055),
            transparent 520px
        ),
        linear-gradient(
            180deg,
            #0d0f12,
            #090b0e
        ) !important;

    color:var(--es-white) !important;
}


/* CONTENU */

.la-main{
    background:transparent !important;
}


/* TITRES */

.la-title,
.la-header h1{
    color:var(--es-white) !important;
    letter-spacing:-.7px !important;
}

.la-subtitle,
.la-muted,
.la-field-help{
    color:var(--es-muted) !important;
}

.la-section h3{
    color:#eeeae2 !important;
}


/* CARTES */

.la-card{
    background:
        linear-gradient(
            145deg,
            #171b21,
            #12161b
        ) !important;

    border:1px solid #292f37 !important;

    box-shadow:
        0 18px 45px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.la-section{
    border-color:#292f37 !important;
}


/* CHAMPS */

.la-label{
    color:#c5c2bc !important;
}

.la-input,
.la-select,
.la-textarea{
    background:#0d1014 !important;
    border:1px solid #303740 !important;

    color:#f5f1e8 !important;
    -webkit-text-fill-color:#f5f1e8 !important;
}

.la-input::placeholder,
.la-textarea::placeholder{
    color:#626a73 !important;
    -webkit-text-fill-color:#626a73 !important;
}

.la-input:focus,
.la-select:focus,
.la-textarea:focus{
    border-color:#ff6b5d !important;

    box-shadow:
        0 0 0 3px rgba(255,92,77,.09) !important;
}


/* ACTION PRINCIPALE */

.la-button{
    color:#fff !important;

    background:#ff5c4d !important;

    border:1px solid #ff7164 !important;

    box-shadow:
        0 8px 22px rgba(255,92,77,.18) !important;
}

.la-button:hover{
    background:#ff6b5d !important;
    transform:translateY(-1px);

    box-shadow:
        0 11px 28px rgba(255,92,77,.25) !important;
}


/* ACTION SECONDAIRE */

.la-small{
    background:#1a1f26 !important;
    border:1px solid #343b44 !important;
    color:#bfc5cb !important;
}

.la-small:hover{
    background:#222831 !important;
    border-color:#59616b !important;
    color:#fff !important;
}


/* TABLE */

.la-table{
    color:#e6e3dd !important;
}

.la-table th{
    color:#777f88 !important;
    border-color:#292f37 !important;
}

.la-table td{
    border-color:#242a31 !important;
}

.la-table tbody tr:hover{
    background:rgba(255,255,255,.025) !important;
}


/* IDENTIFIANTS */

.la-id{
    color:#9ee7f5 !important;
    font-weight:800 !important;
}


/* THEMES */

.la-theme-badge{
    background:#20252b !important;
    border:1px solid #343b43 !important;
    color:#d7d4ce !important;
}


/* WORKFLOW */

.la-workflow{
    background:#11151a !important;
    border:1px solid #292f37 !important;
}

.la-workflow-step{
    color:#727a83 !important;
}

.la-workflow-step small{
    color:#59616a !important;
}

.la-workflow-number{
    background:#1b2026 !important;
    border-color:#343b43 !important;
    color:#7f8790 !important;
}

.la-workflow-line{
    background:#30363e !important;
}


/* TERMINE = BLEU GLACIER */

.la-workflow-step.done{
    color:#b9cbd0 !important;
}

.la-workflow-step.done .la-workflow-number{
    background:rgba(158,231,245,.07) !important;
    border-color:rgba(158,231,245,.30) !important;
    color:#9ee7f5 !important;
}


/* ETAPE ACTIVE = CORAIL */

.la-workflow-step.current{
    color:#f5f1e8 !important;
}

.la-workflow-step.current .la-workflow-number{
    background:#ff5c4d !important;
    border-color:#ff8074 !important;
    color:#fff !important;

    box-shadow:
        0 0 0 4px rgba(255,92,77,.08) !important;
}


/* SELECTION */

::selection{
    background:#ff5c4d;
    color:white;
}


/* SCROLLBAR */

::-webkit-scrollbar-track{
    background:#0b0d10 !important;
}

::-webkit-scrollbar-thumb{
    background:#343a42 !important;
    border:2px solid #0b0d10 !important;
}

::-webkit-scrollbar-thumb:hover{
    background:#4b535d !important;
}


/* ==========================================================
   ET SI — LIGHT EDITORIAL
   Ivoire / Corail / Glacier / Graphite
========================================================== */

html,
body{
    background:#f2efe8 !important;
}

body{
    background:
        radial-gradient(
            circle at 82% 0%,
            rgba(255,92,77,.07),
            transparent 500px
        ),
        radial-gradient(
            circle at 55% 100%,
            rgba(96,190,211,.055),
            transparent 550px
        ),
        #f2efe8 !important;

    color:#24262a !important;
}


/* TITRES */

.la-title,
.la-header h1{
    color:#202226 !important;
}

.la-subtitle,
.la-muted,
.la-field-help{
    color:#777b80 !important;
}

.la-section h3{
    color:#292b2f !important;
}


/* CARTES */

.la-card{
    background:rgba(255,253,249,.92) !important;
    border:1px solid #ddd8cf !important;

    box-shadow:
        0 12px 35px rgba(48,42,35,.055),
        inset 0 1px 0 rgba(255,255,255,.8) !important;
}

.la-section{
    border-color:#e0dbd2 !important;
}


/* LABELS */

.la-label{
    color:#55585c !important;
}


/* CHAMPS */

.la-input,
.la-select,
.la-textarea{
    background:#ffffff !important;
    border:1px solid #d6d1c8 !important;

    color:#292b2f !important;
    -webkit-text-fill-color:#292b2f !important;

    box-shadow:inset 0 1px 2px rgba(0,0,0,.025);
}

.la-input::placeholder,
.la-textarea::placeholder{
    color:#a3a09a !important;
    -webkit-text-fill-color:#a3a09a !important;
}

.la-input:focus,
.la-select:focus,
.la-textarea:focus{
    border-color:#ff6b5d !important;

    box-shadow:
        0 0 0 3px rgba(255,92,77,.09) !important;
}


/* BOUTON PRINCIPAL */

.la-button{
    background:#ff5c4d !important;
    border-color:#ff5c4d !important;
    color:#ffffff !important;

    box-shadow:
        0 7px 18px rgba(255,92,77,.17) !important;
}


/* PETITS BOUTONS */

.la-small{
    background:#f5f2ec !important;
    border-color:#d8d3ca !important;
    color:#55595e !important;
}

.la-small:hover{
    background:#ffffff !important;
    border-color:#aeb1b4 !important;
    color:#222428 !important;
}


/* TABLE */

.la-table{
    color:#34363a !important;
}

.la-table th{
    color:#85827c !important;
    border-color:#ddd8cf !important;
}

.la-table td{
    border-color:#e5e0d8 !important;
}

.la-table tbody tr:hover{
    background:#faf7f2 !important;
}


/* ID — GLACIER PLUS SOUTENU POUR FOND CLAIR */

.la-id{
    color:#168ba5 !important;
}


/* THEMES */

.la-theme-badge{
    background:#f1eee8 !important;
    border:1px solid #dcd7ce !important;
    color:#53565a !important;
}


/* WORKFLOW */

.la-workflow{
    background:rgba(255,253,249,.94) !important;
    border:1px solid #ddd8cf !important;

    box-shadow:0 8px 25px rgba(48,42,35,.04) !important;
}

.la-workflow-step{
    color:#92908b !important;
}

.la-workflow-step small{
    color:#aaa7a1 !important;
}

.la-workflow-number{
    background:#f0ede7 !important;
    border-color:#d7d2c9 !important;
    color:#85827d !important;
}

.la-workflow-line{
    background:#ddd8d0 !important;
}


/* TERMINÉ — GLACIER */

.la-workflow-step.done{
    color:#56808a !important;
}

.la-workflow-step.done .la-workflow-number{
    background:#e6f5f7 !important;
    border-color:#9ed7e2 !important;
    color:#168ba5 !important;
}


/* ACTIF — CORAIL */

.la-workflow-step.current{
    color:#292b2f !important;
}

.la-workflow-step.current .la-workflow-number{
    background:#ff5c4d !important;
    border-color:#ff5c4d !important;
    color:#ffffff !important;

    box-shadow:
        0 0 0 4px rgba(255,92,77,.09) !important;
}


/* SCROLLBAR */

::-webkit-scrollbar-track{
    background:#eeeae3 !important;
}

::-webkit-scrollbar-thumb{
    background:#c7c2b9 !important;
    border:2px solid #eeeae3 !important;
}

::-webkit-scrollbar-thumb:hover{
    background:#aaa59d !important;
}


/* SELECTION */

::selection{
    background:#ff796d;
    color:#ffffff;
}


/* ==========================================================
   ET SI — LIGHT EDITORIAL
   Ivoire / Corail / Glacier / Graphite
========================================================== */

html,
body{
    background:#f2efe8 !important;
}

body{
    background:
        radial-gradient(
            circle at 82% 0%,
            rgba(255,92,77,.07),
            transparent 500px
        ),
        radial-gradient(
            circle at 55% 100%,
            rgba(96,190,211,.055),
            transparent 550px
        ),
        #f2efe8 !important;

    color:#24262a !important;
}


/* TITRES */

.la-title,
.la-header h1{
    color:#202226 !important;
}

.la-subtitle,
.la-muted,
.la-field-help{
    color:#777b80 !important;
}

.la-section h3{
    color:#292b2f !important;
}


/* CARTES */

.la-card{
    background:rgba(255,253,249,.92) !important;
    border:1px solid #ddd8cf !important;

    box-shadow:
        0 12px 35px rgba(48,42,35,.055),
        inset 0 1px 0 rgba(255,255,255,.8) !important;
}

.la-section{
    border-color:#e0dbd2 !important;
}


/* LABELS */

.la-label{
    color:#55585c !important;
}


/* CHAMPS */

.la-input,
.la-select,
.la-textarea{
    background:#ffffff !important;
    border:1px solid #d6d1c8 !important;

    color:#292b2f !important;
    -webkit-text-fill-color:#292b2f !important;

    box-shadow:inset 0 1px 2px rgba(0,0,0,.025);
}

.la-input::placeholder,
.la-textarea::placeholder{
    color:#a3a09a !important;
    -webkit-text-fill-color:#a3a09a !important;
}

.la-input:focus,
.la-select:focus,
.la-textarea:focus{
    border-color:#ff6b5d !important;

    box-shadow:
        0 0 0 3px rgba(255,92,77,.09) !important;
}


/* BOUTON PRINCIPAL */

.la-button{
    background:#ff5c4d !important;
    border-color:#ff5c4d !important;
    color:#ffffff !important;

    box-shadow:
        0 7px 18px rgba(255,92,77,.17) !important;
}


/* PETITS BOUTONS */

.la-small{
    background:#f5f2ec !important;
    border-color:#d8d3ca !important;
    color:#55595e !important;
}

.la-small:hover{
    background:#ffffff !important;
    border-color:#aeb1b4 !important;
    color:#222428 !important;
}


/* TABLE */

.la-table{
    color:#34363a !important;
}

.la-table th{
    color:#85827c !important;
    border-color:#ddd8cf !important;
}

.la-table td{
    border-color:#e5e0d8 !important;
}

.la-table tbody tr:hover{
    background:#faf7f2 !important;
}


/* ID — GLACIER PLUS SOUTENU POUR FOND CLAIR */

.la-id{
    color:#168ba5 !important;
}


/* THEMES */

.la-theme-badge{
    background:#f1eee8 !important;
    border:1px solid #dcd7ce !important;
    color:#53565a !important;
}


/* WORKFLOW */

.la-workflow{
    background:rgba(255,253,249,.94) !important;
    border:1px solid #ddd8cf !important;

    box-shadow:0 8px 25px rgba(48,42,35,.04) !important;
}

.la-workflow-step{
    color:#92908b !important;
}

.la-workflow-step small{
    color:#aaa7a1 !important;
}

.la-workflow-number{
    background:#f0ede7 !important;
    border-color:#d7d2c9 !important;
    color:#85827d !important;
}

.la-workflow-line{
    background:#ddd8d0 !important;
}


/* TERMINÉ — GLACIER */

.la-workflow-step.done{
    color:#56808a !important;
}

.la-workflow-step.done .la-workflow-number{
    background:#e6f5f7 !important;
    border-color:#9ed7e2 !important;
    color:#168ba5 !important;
}


/* ACTIF — CORAIL */

.la-workflow-step.current{
    color:#292b2f !important;
}

.la-workflow-step.current .la-workflow-number{
    background:#ff5c4d !important;
    border-color:#ff5c4d !important;
    color:#ffffff !important;

    box-shadow:
        0 0 0 4px rgba(255,92,77,.09) !important;
}


/* SCROLLBAR */

::-webkit-scrollbar-track{
    background:#eeeae3 !important;
}

::-webkit-scrollbar-thumb{
    background:#c7c2b9 !important;
    border:2px solid #eeeae3 !important;
}

::-webkit-scrollbar-thumb:hover{
    background:#aaa59d !important;
}


/* SELECTION */

::selection{
    background:#ff796d;
    color:#ffffff;
}


/* === ETSI WORKFLOW FINAL === */

.etsi-workflow{
    display:flex;
    align-items:center;

    width:100%;
    margin:20px 0 26px;
    padding:15px 18px;

    overflow-x:auto;

    background:#fffdf9;
    border:1px solid #e2ddd4;
    border-radius:16px;

    box-shadow:0 8px 25px rgba(48,42,35,.04);
}


.etsi-workflow-step{
    display:flex;
    align-items:center;
    gap:9px;

    flex:0 0 auto;

    color:#92908b;
    text-decoration:none;
    font-size:13px;
    font-weight:700;

    white-space:nowrap;

    transition:
        color .18s ease,
        transform .18s ease;
}


.etsi-workflow-step:hover{
    color:#4f4d49;
}


.etsi-workflow-step small{
    display:block;
    margin-top:2px;

    color:#aaa7a1;

    font-size:10px;
    font-weight:600;
}


.etsi-workflow-number{
    display:flex;
    align-items:center;
    justify-content:center;

    width:30px;
    height:30px;

    flex:0 0 30px;

    border-radius:50%;

    background:#f0ede7;
    border:1px solid #d7d2c9;

    color:#85827d;

    font-size:12px;
    font-weight:800;
}


/* ETAPE TERMINEE — GLACIER */

.etsi-workflow-step.done{
    color:#56808a;
}

.etsi-workflow-step.done .etsi-workflow-number{
    background:#e6f5f7;
    border-color:#9ed7e2;
    color:#168ba5;
}


/* ETAPE ACTIVE — CORAIL
   Placée après DONE pour qu'une étape terminée + active
   reste visuellement l'étape courante.
*/

.etsi-workflow-step.current{
    color:#292b2f;
}

.etsi-workflow-step.current .etsi-workflow-number{
    background:#ff5c4d;
    border-color:#ff5c4d;
    color:#ffffff;

    box-shadow:
        0 0 0 4px rgba(255,92,77,.10),
        0 5px 14px rgba(255,92,77,.16);
}


/* CONNECTEUR */

.etsi-workflow-line{
    width:30px;
    height:1px;

    margin:0 10px;

    flex:0 0 30px;

    background:#ddd8d0;
}


/* MOBILE */

@media(max-width:800px){

    .etsi-workflow{
        padding:13px 14px;
        margin:15px 0 20px;
    }

    .etsi-workflow-line{
        width:20px;
        flex-basis:20px;
        margin:0 7px;
    }

    .etsi-workflow-number{
        width:28px;
        height:28px;
        flex-basis:28px;
    }
}


/* ==========================================================
   ETSI — NORMALISATION CLAIRE FINALE
   Neutralise les anciens composants sombres hérités de LA.
   ========================================================== */

:root{
    color-scheme:light !important;

    --bg:#f2efe8 !important;
    --panel:#fffdf9 !important;
    --line:#e2ddd4 !important;
    --txt:#292b2f !important;
    --muted:#85827d !important;
}


/* PAGE */

body{
    background:#f2efe8 !important;
    color:#292b2f !important;
}


/* BARRE HAUTE */

.topbar{
    background:#fffdf9 !important;
    border-color:#e2ddd4 !important;
    color:#292b2f !important;
}

.topbar p{
    color:#85827d !important;
}


/* PANNEAUX / CARTES */

.panel{
    background:#fffdf9 !important;
    border-color:#e2ddd4 !important;
    color:#292b2f !important;

    box-shadow:
        0 8px 25px rgba(48,42,35,.04) !important;
}


/* LABELS */

label{
    color:#514f4a !important;
}


/* CHAMPS */

input,
select,
textarea{
    background:#ffffff !important;
    color:#292b2f !important;

    border-color:#d8d3ca !important;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#5fc1d6 !important;

    box-shadow:
        0 0 0 3px rgba(95,193,214,.10) !important;
}


/* PETITS BOUTONS HERITES */

.la-small{
    background:#f5f2ec !important;
    border-color:#d8d3ca !important;
    color:#4f4d49 !important;

    box-shadow:none !important;
}

.la-small:hover{
    background:#ffffff !important;
    border-color:#bdb7ae !important;
    color:#292b2f !important;
}


/* TABLEAUX */

.la-table{
    color:#292b2f !important;
}

.la-table th{
    background:#f5f2ec !important;
    color:#6f6c66 !important;
    border-color:#e2ddd4 !important;
}

.la-table td{
    background:#fffdf9 !important;
    color:#292b2f !important;
    border-color:#ebe6de !important;
}

.la-table tbody tr:hover td{
    background:#f8f6f1 !important;
}


/* BADGES THEMES */

.la-theme-badge{
    background:#edf7f8 !important;
    border-color:#c8e7ec !important;
    color:#357783 !important;
}


/* IDENTIFIANTS */

.la-id{
    color:#d94d41 !important;
}


/* STATUS / MESSAGES */

.status{
    background:#f5f2ec !important;
    border-color:#ddd8d0 !important;
    color:#5e5b56 !important;
}

.note,
.miniHelp{
    color:#85827d !important;
}


/* BARRE OUTILS PREVIEW */

.previewToolbar{
    background:#fffdf9 !important;
    border-color:#e2ddd4 !important;
    color:#68655f !important;
}


/*
IMPORTANT :
.canvasWrap volontairement non modifié.
Les fonds noirs utilisés derrière les aperçus images/vidéos
restent autorisés.
*/


/* ==========================================================
   ETSI WORKFLOW — 7 ETAPES
   ========================================================== */

.etsi-workflow{
    overflow-x:hidden;
    gap:0;
}

.etsi-workflow-step{
    flex:0 1 auto;
    min-width:0;
}

.etsi-workflow-line{
    width:auto;
    min-width:10px;
    max-width:30px;
    flex:1 1 30px;
    margin:0 8px;
}

@media(max-width:1100px){

    .etsi-workflow{
        overflow-x:auto;
    }

    .etsi-workflow-step{
        flex:0 0 auto;
    }

    .etsi-workflow-line{
        width:20px;
        min-width:20px;
        flex:0 0 20px;
        margin:0 6px;
    }
}

