/* [PROS_2026-10-08] Socle visuel de l'écran Marchands en production : les règles .erp de erp.css (gestion, staging),
   sans #toast, #dlg, l'impression ni le bandeau : tout reste limité aux éléments .erp. */
/* [ERP_V1BIS_2026-10-02] Gestion (l'âme de Cardiff) DANS DeepStack : mêmes variables, même police,
   même densité, mêmes cartes et mêmes badges que le reste de l'outil. Rien ici ne redéfinit une
   couleur de fond ou de texte : tout vient des variables de index.html (--surface, --border,
   --primary…), donc le thème clair/sombre de DeepStack s'applique tout seul. Tout est limité à
   .erp, à la fenêtre #dlg et au message #toast. */
/* Dans la gestion, la zone de page ne montre que la gestion (pas les bandeaux propres aux autres pages). */
.erp{padding:0 0 72px;font-size:13px;line-height:1.45;color:var(--text);display:flex;flex-direction:column;gap:16px;max-width:1560px}
.erp a{color:inherit;text-decoration:none}
.erp h1{margin:0;font-size:20px;font-weight:700;letter-spacing:-.01em}
.erp h2{margin:0;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.erp .cache{display:none !important}
.erp [data-lucide]{width:15px;height:15px;flex:none}
.erp main{display:flex;flex-direction:column;gap:16px;padding:0;max-width:none;min-width:0}

/* ---------- Entête : rubriques, recherche, dossiers ouverts ---------- */
.erp-tete{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--border)}
.erp-rubriques{display:flex;gap:2px;overflow-x:auto;flex:1;min-width:0;scrollbar-width:none}
.erp-rubriques::-webkit-scrollbar{display:none}
.erp-rubriques a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px 10px;font-size:13px;font-weight:500;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer}
.erp-rubriques a:hover{color:var(--text)}
.erp-rubriques a.ici{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}
.erp-outils{display:flex;gap:8px;align-items:center;padding-bottom:6px}
.erp-outils select{height:32px;font-size:12px;padding:0 6px;max-width:150px}
.erp .rapide{position:relative;width:230px;max-width:100%}
.erp .rapide input{width:100%;height:32px;padding:0 10px 0 30px;font-size:13px;background:var(--surface)}
.erp .rapide [data-lucide]{position:absolute;left:9px;top:9px;color:var(--text-faint);width:14px;height:14px}
.erp .rapide .trouves{position:absolute;right:0;left:auto;width:380px;max-width:92vw;top:36px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);overflow:hidden;z-index:30}
.erp .rapide .trouves a{display:flex;flex-direction:column;gap:1px;padding:8px 12px;border-bottom:1px solid var(--border)}
.erp .rapide .trouves a:last-child{border:0}
.erp .rapide .trouves a:hover,.erp .rapide .trouves a.sel{background:var(--surface-2)}
.erp .rapide .trouves b{font-size:13px;font-weight:600}
.erp .rapide .trouves span{font-size:11.5px;color:var(--text-muted)}
.erp .ouverts{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.erp .ouverts:empty{display:none}
.erp .ouverts a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;height:28px;padding:0 4px 0 10px;border-radius:7px;border:1px solid var(--border);background:var(--surface);font-size:12px;color:var(--text-muted)}
.erp .ouverts a.ici{border-color:var(--primary);color:var(--primary);background:var(--primary-light);font-weight:600}
.erp .ouverts a button{border:0;background:none;width:20px;height:20px;border-radius:5px;color:inherit;font-size:14px;line-height:1;padding:0}
.erp .ouverts a button:hover{background:var(--border)}
.erp .vue-comme{background:var(--warning-light);color:var(--warning);border:1px solid var(--border);border-radius:var(--radius-sm);padding:7px 12px;font-size:12px;font-weight:500;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.erp .vue-comme button{border:1px solid currentColor;background:none;color:inherit;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:500}
.erp .tete-ecran{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.erp .tete-ecran .sous{color:var(--text-muted);font-size:13px;margin-top:2px}
.erp .tete-ecran .pousse{flex:1}

/* ---------- Pièces communes ---------- */
.erp .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 14px;border-radius:7px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:13px;font-weight:500;white-space:nowrap;line-height:1.3;cursor:pointer}
.erp .btn:hover{background:var(--surface-2)}
.erp .btn.plein{background:var(--primary);border-color:var(--primary);color:#fff}
.erp .btn.plein:hover{background:var(--primary-hover)}
.erp .btn.danger{color:var(--danger);border-color:var(--danger)}
.erp .btn.petit{padding:4px 10px;font-size:12px}
.erp .btn:disabled{opacity:.45;cursor:not-allowed}
.erp .carte{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.erp .carte.bloc{padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.erp .etat{display:inline-flex;align-items:center;padding:3px 10px;font-size:11px;font-weight:600;border-radius:6px;white-space:nowrap;letter-spacing:.01em}
.erp .ton-gris,.erp .ton-ardoise{background:#f0f0f2;color:#52525b}
.erp .ton-bleu{background:#eef0f9;color:#4a59b0}
.erp .ton-vert{background:#edf7f1;color:#2d7d56}
.erp .ton-orange,.erp .ton-alerte{background:#faf4ea;color:#9a6e2a}
.erp .ton-rouge{background:#faeaea;color:#a63c3c}
[data-theme="dark"] .erp .ton-gris,[data-theme="dark"] .erp .ton-ardoise{background:#27272a;color:#a1a1aa}
[data-theme="dark"] .erp .ton-bleu{background:#1e1b4b;color:#a5b4fc}
[data-theme="dark"] .erp .ton-vert{background:#022c22;color:#6ee7b7}
[data-theme="dark"] .erp .ton-orange,[data-theme="dark"] .erp .ton-alerte{background:#1c1917;color:#fcd34d}
[data-theme="dark"] .erp .ton-rouge{background:#1c1917;color:#fca5a5}
.erp .plaque{display:inline-flex;align-items:stretch;border:1px solid #18181b;border-radius:4px;overflow:hidden;background:#fff;vertical-align:middle}
.erp .plaque i{background:#1d3fa8;color:#fff;font-size:7px;font-weight:700;font-style:normal;padding:0 3px 1px;display:flex;align-items:flex-end}
.erp .plaque span{color:#18181b;font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;font-weight:600;font-size:11.5px;letter-spacing:.04em;padding:1px 6px}
.erp .plaque.grande span{font-size:14px;padding:3px 9px} .erp .plaque.grande i{font-size:9px;padding:0 4px 2px}
.erp .vide{color:var(--text-muted);padding:28px 10px;text-align:center}
.erp .champ{display:flex;flex-direction:column;gap:5px;min-width:0}
.erp .champ>span{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}
.erp .champ input,.erp .champ select{height:36px;padding:0 10px;font-size:13px;width:100%}
.erp .champ textarea{padding:8px 10px;min-height:76px;resize:vertical;font-size:13px;width:100%}
.erp .champ input:disabled,.erp .champ select:disabled,.erp .champ textarea:disabled{background:var(--surface-2);color:var(--text-muted);opacity:1;-webkit-text-fill-color:var(--text-muted)}
.erp .champ.modifie input,.erp .champ.modifie select{border-color:var(--primary);box-shadow:0 0 0 3px rgb(91 106 191 / .12)}
.erp .champ small{color:var(--text-muted);font-size:11.5px}
.erp .grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px 14px}
.erp .faits{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px 18px}
.erp .faits>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.erp .faits>div>span{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}
.erp .faits b{font-size:13px;font-weight:600;overflow-wrap:anywhere}

/* ---------- Aujourd'hui : les chiffres du métier (mêmes cartes que le tableau de bord) ---------- */
.erp .tuiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.erp .tuile{padding:16px 18px;display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:8px;min-height:92px;transition:box-shadow 300ms,transform 300ms cubic-bezier(.25,1,.5,1)}
.erp .tuile:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
.erp .tuile b{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.erp .tuile span{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}
.erp .tuile.t-alerte b{color:var(--warning)} .erp .tuile.t-orange b{color:var(--primary)}
.erp .tuile.zero b{color:var(--text-faint)}
.erp .raccourcis{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.erp .fil{display:flex;flex-direction:column}
.erp .fil .l{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid var(--border);align-items:baseline}
.erp .fil .l:last-child{border:0}
.erp .fil .q{color:var(--text-faint);font-size:11.5px;white-space:nowrap;flex:none;width:92px;font-variant-numeric:tabular-nums}
.erp .fil .t{flex:1;min-width:0;overflow-wrap:anywhere}
.erp .fil .p{color:var(--text-muted);font-size:11.5px;white-space:nowrap}

/* ---------- Liste ---------- */
.erp .ruban{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.erp .ruban::-webkit-scrollbar{display:none}
.erp .ruban a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 12px;border-radius:7px;border:1px solid var(--border);background:var(--surface);font-size:12px;font-weight:500;color:var(--text-muted)}
.erp .ruban a b{font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}
.erp .ruban a:hover{color:var(--text)}
.erp .ruban a.ici{border-color:var(--primary);background:var(--primary-light);color:var(--primary);font-weight:600} .erp .ruban a.ici b{color:var(--primary)}
.erp .outils{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.erp .outils input,.erp .outils select{height:34px;padding:0 10px;font-size:13px}
.erp .outils input{flex:1;min-width:180px;max-width:340px}
.erp .puce{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 10px;border-radius:6px;background:var(--warning-light);color:var(--warning);font-size:12px;font-weight:600}
.erp .puce a{width:20px;height:20px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:14px}
.erp .table{overflow-x:auto}
.erp table{width:100%;border-collapse:collapse;font-size:13px}
.erp th{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap}
.erp th a{display:inline-flex;gap:4px;align-items:center} .erp th a:hover{color:var(--text)}
.erp td{padding:7px 12px;border-bottom:1px solid var(--border);vertical-align:middle}
.erp tr:last-child td{border-bottom:0}
.erp tbody tr.clic{cursor:pointer;transition:background 150ms} .erp tbody tr.clic:hover{background:var(--surface-2)}
.erp td.n,.erp th.n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.erp td.n b{color:var(--primary);font-weight:600}
.erp td .v b{display:block;font-weight:600} .erp td .v span{color:var(--text-muted);font-size:11.5px;display:block;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.erp .vignette{width:50px;height:36px;border-radius:6px;object-fit:cover;background:var(--surface-2);display:block}
.erp .vignette.sans{display:flex;align-items:center;justify-content:center;color:var(--text-faint);font-size:0;border:1px dashed var(--border)}
.erp .vignette.sans::after{content:'—';font-size:12px}
.erp .age{font-weight:600;color:var(--success);font-variant-numeric:tabular-nums} .erp .age.a2{color:var(--warning)} .erp .age.a3{color:var(--danger)}
.erp .pages{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:10px 12px;color:var(--text-muted);font-size:12px;border-top:1px solid var(--border)}
.erp .cartes-liste{display:none}
.erp .selection{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 12px;border-color:var(--primary);background:var(--primary-light)}
.erp .selection b{margin-right:4px;color:var(--primary)}
.erp td input[type=checkbox],.erp th input[type=checkbox]{width:15px;height:15px;display:block}

/* ---------- Dossier ---------- */
.erp .bandeau{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 14px;border-radius:var(--radius);font-weight:700;font-size:12px;letter-spacing:.04em}
.erp .bandeau small{font-weight:500;font-size:12.5px;letter-spacing:0;opacity:.9}
.erp .bandeau .reserve{margin-left:auto;background:var(--surface);color:var(--text);padding:3px 10px;border-radius:6px;font-size:12px;font-weight:600;letter-spacing:0}
.erp .identite{padding:14px 16px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.erp .identite img,.erp .identite .sansphoto{width:112px;height:78px;border-radius:8px;object-fit:cover;background:var(--surface-2);flex:none}
.erp .identite .sansphoto{display:flex;align-items:center;justify-content:center;color:var(--text-faint);font-size:11.5px;border:1px dashed var(--border)}
.erp .identite .qui{flex:1;min-width:220px;display:flex;flex-direction:column;gap:5px}
.erp .identite .qui b{font-size:18px;font-weight:700;letter-spacing:-.01em}
.erp .identite .qui>span{color:var(--text-muted)}
.erp .identite .refs{display:flex;gap:6px 14px;flex-wrap:wrap;align-items:center;color:var(--text-muted);font-size:12px}
.erp .identite .refs code{font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;font-size:12px;color:var(--text)}
.erp .identite .prix{text-align:right;display:flex;flex-direction:column;gap:2px}
.erp .identite .prix b{font-size:22px;font-weight:700;color:var(--primary);font-variant-numeric:tabular-nums}
.erp .identite .prix span{color:var(--text-muted);font-size:12px}
.erp .dossier{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:16px;align-items:start}
.erp .onglets{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--border);padding:0 10px;scrollbar-width:none}
.erp .onglets::-webkit-scrollbar{display:none}
.erp .onglets a{white-space:nowrap;padding:11px 12px 10px;font-weight:500;font-size:13px;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.erp .onglets a:hover{color:var(--text)}
.erp .onglets a.ici{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}
.erp .onglets a .pt{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--warning);margin-left:6px;vertical-align:middle}
.erp .contenu{padding:18px;display:flex;flex-direction:column;gap:20px}
.erp .section{display:flex;flex-direction:column;gap:10px}
.erp .actions{position:sticky;top:12px;padding:14px;display:flex;flex-direction:column;gap:14px}
.erp .actions .groupe{display:flex;flex-direction:column;gap:6px}
.erp .actions .groupe .btn{width:100%;justify-content:flex-start;white-space:normal;text-align:left}
.erp .actions .groupe small{display:block;color:var(--text-faint);font-size:11px;line-height:1.3;padding:0 2px 2px}
.erp .actions .sorties{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--border);padding-top:12px}
.erp .actions .sorties .btn{width:100%}
.erp .actions .modifs{font-size:12px;color:var(--primary);font-weight:600;text-align:center}
.erp .afaire{display:flex;flex-direction:column;gap:6px}
.erp .afaire div{display:flex;gap:8px;align-items:center;padding:8px 12px;border-radius:8px;background:var(--warning-light);color:var(--warning);font-weight:500}
.erp .afaire div.ok{background:var(--success-light);color:var(--success)}
.erp .triple{display:inline-flex;border:1px solid var(--border);border-radius:7px;overflow:hidden}
.erp .triple button{border:0;background:var(--surface);padding:5px 11px;font-size:12px;font-weight:500;color:var(--text-muted);border-right:1px solid var(--border)}
.erp .triple button:last-child{border-right:0}
.erp .triple button.ici{background:var(--text);color:var(--surface)}
.erp .triple button.ici.recu{background:#2d7d56;color:#fff}
.erp .triple button.ici.attendu,.erp .triple button.ici.alerter{background:#c78f3d;color:#fff}
.erp .triple button.ici.bloquer{background:#a63c3c;color:#fff}
.erp .triple button:disabled{cursor:default}
.erp .ligne-papier{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border);flex-wrap:wrap}
.erp .ligne-papier:last-child{border:0}
.erp .travail{display:flex;gap:10px;align-items:center;padding:5px 0}
.erp .travail input[type=checkbox]{width:16px;height:16px;flex:none}
.erp .travail span{flex:1} .erp .travail.fait span{text-decoration:line-through;color:var(--text-faint)}
.erp .travail button{border:0;background:none;color:var(--text-faint);font-size:16px;width:28px;height:28px}
.erp .photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.erp .photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:var(--surface-2)}
.erp .total{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums}
.erp .total.fort{font-weight:700;font-size:14px;border-bottom:0}
.erp .barre-stat{display:grid;grid-template-columns:minmax(110px,180px) 1fr auto;gap:10px;align-items:center;padding:5px 0}
.erp .barre-stat i{display:block;height:8px;border-radius:4px;background:var(--primary);min-width:2px}
.erp .barre-stat em{font-style:normal;color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}
.erp .matrice td,.erp .matrice th{text-align:center} .erp .matrice td:first-child,.erp .matrice th:first-child{text-align:left}
.erp .matrice input{width:15px;height:15px}
.erp .matrice tr.famille td{background:var(--surface-2);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);text-align:left;padding:6px 12px}
.erp .barre-mobile{display:none}
.erp .pointage{display:flex;flex-direction:column;gap:10px}
.erp .pointage input{height:44px;border-radius:9px;border:1.5px solid var(--primary);padding:0 12px;font-size:17px;font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;text-transform:uppercase;width:100%}
.erp .pointage .trouve{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--border)}
.erp .pointage .trouve:last-child{border:0}

/* ---------- Documents à imprimer ---------- */
.erp .feuille{background:#fff;color:#111;max-width:820px;margin:0 auto;padding:36px 40px;border:1px solid var(--border);border-radius:6px;font-size:13px;line-height:1.5;width:100%}
.erp .feuille h1{font-size:19px;margin:22px 0 6px;color:#111}
.erp .feuille h2{color:#111;margin:18px 0 6px}
.erp .feuille .f-tete{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.erp .feuille .f-societe b{font-size:16px}
.erp .feuille .f-client{border:1px solid #999;border-radius:6px;padding:10px 14px;min-width:240px}
.erp .feuille .f-ligne{margin:8px 0}
.erp .feuille table{margin:14px 0;font-size:12.5px;color:#111}
.erp .feuille th{color:#333;border-bottom:1.5px solid #111;padding:6px 8px}
.erp .feuille td{border-bottom:1px solid #ccc;padding:6px 8px;vertical-align:top}
.erp .feuille td.n b{color:#111}
.erp .feuille tr.fort td{font-weight:700;border-top:1.5px solid #111;font-size:14px}
.erp .feuille .f-signatures{display:flex;gap:24px;margin-top:36px}
.erp .feuille .f-signatures div{flex:1;border:1px solid #999;border-radius:6px;min-height:110px;padding:8px 12px}
.erp .feuille .f-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:8px 0 14px}
.erp .feuille.affiche{text-align:center;padding:60px 40px}
.erp .affiche .a-marque{font-size:46px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.erp .affiche .a-version{font-size:20px;color:#444;margin-top:8px}
.erp .affiche .a-faits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:44px 0;text-align:left}
.erp .affiche .a-faits div{border-bottom:1px solid #bbb;padding-bottom:8px;display:flex;justify-content:space-between;gap:12px;font-size:19px}
.erp .affiche .a-faits span{color:#555}
.erp .affiche .a-prix{font-size:92px;font-weight:800;letter-spacing:-.03em;margin:30px 0}
.erp .affiche .a-pied{color:#555;font-size:14px}

/* ---------- Téléphone et tablette ---------- */
@media (max-width:1100px){
  .erp .dossier{grid-template-columns:minmax(0,1fr)}
  .erp .actions{position:static}
}
@media (max-width:860px){
  .erp{padding:0 0 140px;gap:12px}
  .erp .champ input,.erp .champ select,.erp .champ textarea,.erp .outils input,.erp .outils select,.erp .rapide input,.erp-outils select,.erp .pointage input{font-size:16px;height:42px}
  .erp .champ textarea{height:auto}
  .erp .btn{padding:10px 14px}
  .erp .btn.petit{padding:7px 10px}
  .erp .rapide{width:100%}
  .erp-outils{width:100%}
  .erp .tuiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .erp .tuile{padding:12px 14px;min-height:80px} .erp .tuile b{font-size:22px}
  .erp .table.liste{display:none}
  .erp .cartes-liste{display:flex;flex-direction:column}
  .erp .cartes-liste a{display:flex;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border);align-items:center}
  .erp .cartes-liste a:last-child{border:0}
  .erp .cartes-liste .vignette{width:76px;height:56px}
  .erp .cartes-liste .c{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
  .erp .cartes-liste .c>b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .erp .cartes-liste .c>span{color:var(--text-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .erp .cartes-liste .c>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--text-muted)}
  .erp .identite{padding:12px;gap:12px}
  .erp .identite img,.erp .identite .sansphoto{width:92px;height:66px}
  .erp .identite .qui{min-width:0;flex-basis:160px} .erp .identite .qui b{font-size:16px}
  .erp .identite .prix{text-align:left;flex-direction:row;gap:10px;align-items:baseline;width:100%}
  .erp .contenu{padding:14px 12px}
  .erp .grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  .erp .faits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .erp .actions{display:none}
  .erp .actions.ouverte{display:flex;position:fixed;left:0;right:0;top:auto;bottom:0;z-index:10020;border-radius:16px 16px 0 0;max-height:82vh;overflow-y:auto;padding:18px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgb(0 0 0 / .3)}
  .erp .barre-mobile{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:10000;background:var(--surface);border-top:1px solid var(--border);padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
  .erp .barre-mobile .btn{flex:1}
  .erp .fil .q{width:auto}
  .erp .fil .l{flex-wrap:wrap;gap:2px 10px}
  .erp .fil .t{flex-basis:100%;order:3}
  .erp .feuille{padding:20px 16px} .erp .affiche .a-prix{font-size:56px} .erp .affiche .a-marque{font-size:30px} .erp .affiche .a-faits{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:400px){ .erp .grille{grid-template-columns:minmax(0,1fr)} }
