/* Charte alignée sur C2E : fintech sobre aux couleurs Avisofi.
   Ardoise #343B45 pour l'encre et les états actifs, orange #E66C2D réservé à l'action et au meilleur prix,
   fond gris froid, cartes blanches, filets discrets. Manrope hébergé en local (aucun appel externe). */
@font-face { font-family: Manrope; font-weight: 200 800; font-display: swap; src: url(/static/fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 200 800; font-display: swap; src: url(/static/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --page: #F6F7F9; --surface: #fff; --sunk: #F1F2F4; --ink: #343B45; --ink-2: #646B76; --ink-3: #8C929B;
  --line: #E4E6EA; --line-2: #D3D6DC;
  --ardoise: #343B45; --orange: #E66C2D; --orange-h: #D45E22; --orange-soft: #FDF1EA; --orange-clair: #F6983B;
  --vert: #18794E; --vert-soft: #E9F6EF; --rouge: #B8402F; --rouge-soft: #FBE9E6; --bleu: #2F6F9F; --bleu-soft: #E8F0F7;
  --ring: 0 0 0 3px rgba(230,108,45,.22);
  /* anciens noms, conservés pour les gabarits */
  --fond: var(--page); --creme: var(--orange-soft); --gris: #A6A599;
}
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.5 Manrope, "Century Gothic", system-ui, sans-serif; font-feature-settings: "tnum" 1; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: var(--orange); text-decoration: none; } a:hover { color: var(--orange-h); text-decoration: underline; text-underline-offset: 3px; }
main { max-width: 1440px; margin: 0 auto; padding: 20px max(2vw, 16px) 48px; }
h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; }
h3 { font-size: 12px; font-weight: 700; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }

/* En-tête */
.barre { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 22px; padding: 10px max(2vw, 16px); position: sticky; top: 0; z-index: 10; }
.barre a { color: var(--ink); } .barre a:hover { text-decoration: none; }
.marque { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.01em; font-size: 16px; }
.marque img { height: 34px; padding: 2px 6px; border-radius: 6px; background: #fff; }
.barre nav { display: flex; gap: 4px; flex: 1; }
.barre nav a { padding: 7px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.barre nav a:hover { background: var(--sunk); color: var(--ink); }
.moi { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); } .moi a { color: var(--ink-2); font-weight: 600; } .moi a:hover { color: var(--orange); }

/* Cartes et titres de page */
.carte { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 14px; }
.entete-page { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 4px 0 16px; flex-wrap: wrap; }
.etapes { display: flex; gap: 6px; flex-wrap: wrap; }
.etapes a { background: var(--surface); padding: 7px 14px; border-radius: 20px; color: var(--ink-2); font-size: 13px; font-weight: 600; border: 1px solid var(--line); }
.etapes a:hover { border-color: var(--orange); color: var(--ink); text-decoration: none; }
.discret { color: var(--ink-3); font-size: 12.5px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--sunk); text-decoration: none; color: var(--ink); }
.btn.principal { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; }
.btn.principal:hover { background: var(--orange-h); border-color: var(--orange-h); color: #fff; }
.btn.petit { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; } .btn.large { width: 100%; min-height: 52px; font-size: 16px; border-radius: 12px; }
.btn.actif { background: var(--ardoise); border-color: var(--ardoise); color: #fff; }
.btn:focus-visible, .lien:focus-visible { outline: none; box-shadow: var(--ring); }
.lien { background: none; border: none; color: var(--orange); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; padding: 0 4px; } .lien:hover { color: var(--orange-h); text-decoration: underline; text-underline-offset: 3px; }

/* Champs */
label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.lib { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
input, select, textarea { display: block; width: 100%; margin-top: 5px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
textarea { padding: 10px 12px; line-height: 1.5; }
select { appearance: none; padding-right: 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23646B76' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat; }
input::placeholder { color: #BCC1C8; font-weight: 400; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: var(--ring); }
input[readonly] { background: var(--sunk); color: var(--ink-2); }
input[type=checkbox], input[type=radio] { display: inline-block; width: 18px; min-height: 0; height: 18px; margin: 0 8px 0 0; padding: 0; accent-color: var(--ardoise); vertical-align: -3px; box-shadow: none; }
input.court { width: 84px; display: inline-block; }
.coche { display: inline-flex; align-items: center; margin: 0 16px 6px 0; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; min-height: 34px; }
.coche.fort { font-weight: 700; }
.grille { display: grid; gap: 6px 16px; } .g2 { grid-template-columns: 1fr 1fr; } .g4 { grid-template-columns: repeat(4, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); }
.l2 { grid-column: span 2; } .l4 { grid-column: span 4; }
.ligne-coches { display: flex; flex-wrap: wrap; margin: 6px 0 8px; }
.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .colonnes .coche { display: flex; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 8px; margin: 0 0 14px; }
legend { font-weight: 700; font-size: 14px; padding: 0 8px; }
.bloc-emp.inactif .contenu-emp { display: none; }
.risque { background: var(--sunk); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.resultat-analyse { font-size: 13px; margin-left: 8px; }

/* Tableaux */
table { border-collapse: collapse; width: 100%; }
.liste th, .liste td, .offres th, .offres td, .garanties th, .garanties td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.liste thead th, .offres thead th { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.garanties td, .garanties th { text-align: center; font-size: 13px; } .garanties td:first-child { text-align: left; }
.cliquable { cursor: pointer; } .cliquable:hover td { background: var(--page); }
.vide { color: var(--ink-3); text-align: center; padding: 24px; }
.offres td.num, .offres th.num { text-align: right; white-space: nowrap; }
.offres td.num b { font-weight: 800; letter-spacing: -.01em; }
.offres tr.manuel td { background: var(--bleu-soft); }
.offres tr:has(input[name=recommande]:checked) td { background: var(--orange-soft); }
.offres tr:has(input[name=recommande]:checked) td:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.tri { margin: 14px 0 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dots { white-space: nowrap; } .dots i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ardoise); margin-right: 2px; }
.dots i.on { background: var(--ardoise); } .dots.inconnu { color: var(--orange); font-weight: 700; }

/* Pastilles et alertes */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600; margin: 1px 2px; white-space: nowrap; background: var(--sunk); color: var(--ink-2); }
.badge.orange { background: var(--orange); color: #fff; font-weight: 700; } .badge.vert { background: var(--vert-soft); color: var(--vert); }
.badge.bleu { background: var(--bleu-soft); color: var(--bleu); } .badge.gris { background: var(--sunk); color: var(--ink-2); }
.badge.n-ok { background: var(--vert-soft); color: var(--vert); } .badge.n-attention { background: var(--orange-soft); color: #B65015; }
.badge.n-bloquant { background: var(--rouge-soft); color: var(--rouge); font-weight: 700; } .badge.n-inconnu { background: var(--sunk); color: var(--ink-2); }
.statut { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--sunk); color: var(--ink-2); vertical-align: middle; }
.s-cote { background: var(--bleu-soft); color: var(--bleu); } .s-propose { background: var(--vert-soft); color: var(--vert); }
.alerte { padding: 12px 16px; border-radius: 12px; margin: 10px 0; font-size: 14px; } .alerte ul { margin: 0; padding-left: 18px; }
.alerte.rouge { background: var(--rouge-soft); color: #8E2A1F; } .alerte.orange { background: var(--orange-soft); color: #8A4512; } .alerte.vert { background: var(--vert-soft); color: #165F3E; }
.encart { background: var(--sunk); border-radius: 12px; padding: 12px 16px; margin-top: 12px; font-size: 13.5px; line-height: 1.8; }
.barre-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.boutons-docs { display: flex; gap: 10px; flex-wrap: wrap; }
.depot { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; } .depot select, .depot input { width: auto; }
.inline { display: inline; }
details > summary { cursor: pointer; color: var(--ink); font-weight: 700; margin: 10px 0; }
.manuelle form { margin-top: 10px; }
pre { background: var(--surface); border: 1px solid var(--line); padding: 12px; border-radius: 10px; font-size: 12px; overflow: auto; max-height: 300px; }
.jauge { display: inline-block; width: 90px; height: 6px; background: var(--line); border-radius: 4px; vertical-align: middle; overflow: hidden; } .jauge span { display: block; height: 100%; background: var(--orange); }
select.st-exclu { color: var(--rouge); } select.st-rachat, select.st-etude { color: #B65015; } select.st-couvert, select.st-surprime { color: var(--vert); }
.connexion { max-width: 400px; margin: 72px auto; text-align: center; } .connexion form { text-align: left; margin-top: 18px; } .logo-connexion { height: 54px; margin-bottom: 8px; }
@media (max-width: 900px) { .g4, .g6 { grid-template-columns: 1fr 1fr; } .colonnes { grid-template-columns: 1fr; } .l4 { grid-column: span 2; } .barre { flex-wrap: wrap; } }

/* Recommandation auto, dépôt de pièces, conseils : même grammaire que les cartes C2E */
.reco-auto { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; box-shadow: 0 10px 28px -14px rgba(230,108,45,.28); }
.reco-titre { font-size: 15px; margin-bottom: 4px; } .reco-auto ul { margin: 4px 0 6px; padding-left: 20px; } .reco-auto li { margin: 2px 0; }
.prerempli { background: var(--orange-soft) !important; border-color: var(--orange-clair) !important; }
.depot-zone { border: 2px dashed var(--line-2); border-radius: 16px; padding: 40px 20px; text-align: center; background: var(--surface); transition: .15s; cursor: pointer; }
.depot-zone.survol { border-color: var(--orange); background: var(--orange-soft); }
.depot-zone .grand { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.liste-fichiers { list-style: none; padding: 0; margin: 12px 0; text-align: left; } .liste-fichiers li { padding: 8px 12px; background: var(--sunk); border-radius: 10px; margin-bottom: 4px; display: flex; justify-content: space-between; }
.types-docs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 12px 0 0; }
.ou { text-align: center; color: var(--ink-3); margin: 14px 0; }
.panneau-conseils { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: var(--surface); }
.panneau-conseils h3 { color: var(--orange); margin-top: 4px; }
.conseil { background: var(--page); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.conseil.n-fort { border-left: 4px solid var(--orange); } .conseil.n-utile { border-left: 4px solid var(--bleu); } .conseil.n-info { border-left: 4px solid var(--line-2); }
.conseil.applique { background: var(--vert-soft); }
.conseil-tete { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .conseil-tete .btn { margin-left: auto; }
.conseil-corps { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.55; }
.piece { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; background: var(--surface); }
.piece-tete { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .piece-tete .discret { margin-left: auto; }
.piece-lu { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Meilleur tarif CI et CRD, repris de C2E : sigle en pastille, deux chiffres clés, mensualités */
.duo-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 6px; }
@media (max-width: 760px) { .duo-cartes { grid-template-columns: 1fr; } }
.offre-carte { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.offre-carte.win { border: 2px solid var(--orange); padding: 17px 19px; box-shadow: 0 10px 28px -12px rgba(230,108,45,.3); }
.offre-carte.win::after { content: "Le moins cher"; position: absolute; top: -12px; right: 20px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 20px; }
.base { display: flex; align-items: center; gap: 12px; } .base b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; } .base p { margin: 1px 0 0; }
.sigle { flex: none; min-width: 52px; height: 52px; padding: 0 10px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .03em; }
.offre-carte.win .sigle { background: var(--orange); }
.ins { margin: 14px 0 0; font-size: 14.5px; }
.duo { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px 22px; margin: 8px 0 4px; }
.prix { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.d8 { padding-left: 22px; border-left: 1px solid var(--line); }
.mens3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 12px; background: var(--sunk); border-radius: 12px; padding: 10px 4px; }
.mens3.un { grid-template-columns: 1fr; }
.mens3 > div { padding: 0 12px; } .mens3 > div + div { border-left: 1px solid var(--line-2); }
.mens3 span { display: block; font-size: 12.5px; color: var(--ink-2); } .mens3 b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; }

/* complétude : questions fermées */
.etape-titre { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.progression { height: 6px; background: var(--sunk); border-radius: 6px; overflow: hidden; margin: 8px 0 18px; }
.progression > div { height: 100%; width: 0; background: var(--orange); transition: width .25s ease; }
.groupe-q { margin: 18px 0 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.q { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.2fr); gap: 8px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 0; }
.q .lib { font-weight: 600; } .q .aide { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.seg label { margin: 0; cursor: pointer; } .seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; min-height: 42px; padding: 0 16px; font-weight: 600; background: var(--surface); }
.seg label + label span { border-left: 1px solid var(--line-2); }
.seg input:checked + span { background: var(--ardoise); color: #fff; }
.seg input:focus-visible + span { box-shadow: var(--ring); }
.q select, .q input[type=text], .q input[type=date] { width: 100%; min-height: 42px; }
.q .detail { grid-column: 2; }
.bandeau-ok { display: flex; gap: 12px; align-items: center; }
.ecarts li { margin: 3px 0; }
.message-prerediger { width: 100%; min-height: 320px; font: inherit; line-height: 1.5; }
@media (max-width: 720px) { .q { grid-template-columns: 1fr; } .q .detail { grid-column: 1; } }


/* Fenêtre d'attente */
#attente { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(52,59,69,.45); backdrop-filter: blur(6px); animation: att-in .25s ease-out; }
.attente-carte { width: min(440px, 92vw); background: var(--surface); border-radius: 20px; padding: 34px 32px 26px; text-align: center; box-shadow: 0 24px 60px rgba(52,59,69,.28), 0 0 0 1px var(--line); }
.attente-carte h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 4px; }
.attente-sous { color: var(--ink-2); margin: 0 0 18px; font-size: 14px; }
.attente-rond { position: relative; width: 64px; height: 64px; margin: 0 auto; }
.attente-rond span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.attente-rond span:nth-child(1) { border-top-color: var(--orange); animation: att-tourne 1.1s cubic-bezier(.5,.1,.5,.9) infinite; }
.attente-rond span:nth-child(2) { inset: 9px; border-right-color: var(--orange-clair); animation: att-tourne 1.6s linear infinite reverse; }
.attente-rond span:nth-child(3) { inset: 22px; background: var(--orange-soft); border: 0; animation: att-pouls 1.4s ease-in-out infinite; }
.attente-etapes { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; display: grid; gap: 9px; }
.attente-etapes li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-3); transition: color .3s; }
.attente-etapes li i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .3s; position: relative; }
.attente-etapes li.en-cours { color: var(--ink); font-weight: 700; }
.attente-etapes li.en-cours i { border-color: var(--orange); border-top-color: transparent; animation: att-tourne .8s linear infinite; }
.attente-etapes li.fait { color: var(--ink-2); }
.attente-etapes li.fait i { background: var(--vert); border-color: var(--vert); }
.attente-etapes li.fait i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.attente-barre { height: 5px; border-radius: 5px; background: var(--sunk); overflow: hidden; }
.attente-barre div { height: 100%; width: 40%; border-radius: 5px; background: linear-gradient(90deg, var(--orange), var(--orange-clair)); animation: att-barre 1.6s ease-in-out infinite; }
.attente-note { color: var(--ink-3); font-size: 12px; margin: 12px 0 0; }
@keyframes att-tourne { to { transform: rotate(360deg); } }
@keyframes att-pouls { 50% { transform: scale(1.35); opacity: .6; } }
@keyframes att-barre { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes att-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .attente-rond span, .attente-barre div, .attente-etapes li.en-cours i { animation-duration: 3s; } #attente { animation: none; } }

.attente-etapes li.ignore { color: var(--ink-3); } .attente-etapes li.ignore i { border-style: dashed; }
.attente-etapes li.ignore em { font-style: normal; font-size: 12px; }
.attente-etapes li.erreur { color: var(--rouge); } .attente-etapes li.erreur i { border-color: var(--rouge); background: var(--rouge-soft); }
.attente-etapes li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attente-etapes li:not(.fait):not(.erreur):not(.ignore):not(.en-cours) i { opacity: .55; }
.attente-etapes { max-height: 38vh; overflow-y: auto; padding-right: 4px; }
.attente-barre.determinee div { animation: none; transform: none; transition: width .6s ease; }

.onglets { display: flex; gap: 6px; margin: 4px 0 8px; }
.onglet { border: 1px solid var(--line-2); background: var(--surface); padding: 9px 18px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.onglet.actif { background: var(--ardoise); color: #fff; border-color: var(--ardoise); }
.liste-pj { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.liste-pj .pj-manque { background: var(--orange-soft); border-radius: 10px; padding: 10px 12px; }
.liste-pj .pic { color: var(--orange); font-weight: 800; }
.zone-notices { margin-top: 6px; }
.liste-notices { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.liste-notices li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.liste-notices form { margin: 0 0 0 auto; }

.ligne-agence { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr auto; gap: 10px 14px; align-items: end; margin-bottom: 12px; }
.ligne-ajout { display: grid; grid-template-columns: 2fr 2fr 1fr auto; gap: 10px; margin-top: 10px; }
.agence-inactive { opacity: .6; }
table.liste td input, table.liste td select { width: 100%; }
table.liste td.actions { white-space: nowrap; display: flex; gap: 6px; }
@media (max-width: 900px) { .ligne-agence, .ligne-ajout { grid-template-columns: 1fr 1fr; } }

.non-tarifes summary{cursor:pointer}
.liste-simple{list-style:none;padding:0;margin:.5rem 0}
.liste-simple li{padding:.3rem 0;border-bottom:1px solid #eee}
.detail-tech{color:#A6A599;cursor:help;margin-left:.3rem}
