:root {
  --fond: #f6f5f2; --panneau: #fff; --texte: #1f1e1c; --discret: #6b6862; --ligne: #e3e0da;
  --vert: #2f7d4f; --rouge: #b3412e; --accent: #2c5d8a; --rayon: 8px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texte); background: var(--fond);
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; display: flex; flex-direction: column; gap: 24px; }
a { color: var(--accent); }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.9rem; margin: 0; }
h2 { font-size: 1.1rem; margin: 0 0 4px; }
h3 { font-size: .8rem; color: var(--discret); font-weight: 600; margin: 0 0 6px; text-transform: none; }
.discret { color: var(--discret); }
.petit { font-size: .85rem; }
.pos { color: var(--vert); } .neg { color: var(--rouge); }
.barre { display: flex; align-items: center; gap: 20px; padding: 12px 20px; background: var(--panneau); border-bottom: 1px solid var(--ligne); }
.barre a { text-decoration: none; color: var(--texte); }
.barre .marque { font-weight: 700; }
.droite { margin-left: auto; }
button, .bouton { font: inherit; background: var(--accent); color: #fff; border: 0; border-radius: var(--rayon); padding: 8px 14px; cursor: pointer; text-decoration: none; display: inline-block; }
button.lien { background: none; color: var(--accent); padding: 0; }
select, input { font: inherit; padding: 7px 9px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: #fff; }
label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--discret); }
.carte { background: var(--panneau); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px; }
.carte-fpc { background: linear-gradient(135deg, #f1faf4 0%, #e3f4e9 100%); border: 1.5px solid #2f7d4f; }
.carte-fpc h3 { color: #1e6b3d; }
.carte-fpc .gros { color: #1e7a46; font-weight: 700; }
.entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.entete p { margin: 6px 0 0; }
.synthese { max-width: 65ch; line-height: 1.5; color: var(--texte); }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.gros { font-family: Georgia, serif; font-size: 1.9rem; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.tuiles .petit { margin-top: 3px; font-variant-numeric: tabular-nums; }
.deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.deux ol, .deux ul { margin: 8px 0 0; padding-left: 1.3em; line-height: 1.7; font-variant-numeric: tabular-nums; }
.defile { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; background: var(--panneau); font-size: .85rem; font-variant-numeric: tabular-nums; }
.tableau th, .tableau td { padding: 8px 10px; border-bottom: 1px solid var(--ligne); text-align: right; white-space: nowrap; }
.tableau th:first-child, .tableau td:first-child { text-align: left; }
.tableau th { color: var(--discret); font-weight: 600; background: #faf9f7; }
.tableau tbody tr:hover { background: #faf9f7; }
.etiquette { display: inline-block; font-size: .7rem; padding: 0 6px; border: 1px solid var(--ligne); border-radius: 4px; color: var(--discret); }
.etiquette.cat-agent { background: #1f3a5f; border-color: #1f3a5f; color: #fff; font-weight: 600; }
.etiquette.cat-eurorepar { background: #e8730c; border-color: #e8730c; color: #fff; font-weight: 600; }
.etiquette.cat-mra { background: #f5c518; border-color: #f5c518; color: #3a2f00; font-weight: 600; }
.graphe { display: flex; flex-direction: column; gap: 4px; background: var(--panneau); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px; }
.g-ligne { display: grid; grid-template-columns: minmax(120px, 260px) 1fr 90px; align-items: center; gap: 10px; font-size: .82rem; }
.g-lib { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-barre { width: 100%; height: 18px; }
.g-val { text-align: right; font-variant-numeric: tabular-nums; }
.g-axe { stroke: var(--ligne); stroke-width: .6; }
.g-neg { fill: var(--rouge); } .g-pos { fill: var(--vert); }
.flash { margin: 0; padding: 10px 14px; border-radius: var(--rayon); background: #eef3f8; }
.flash-ok { background: #e9f4ee; } .flash-erreur { background: #f8e9e6; color: var(--rouge); } .flash-attention { background: #fbf3e2; }
.connexion { max-width: 360px; margin: 10vh auto 0; display: flex; flex-direction: column; gap: 12px; }
.connexion form { display: flex; flex-direction: column; gap: 12px; }
.journal { list-style: none; padding: 0; margin: 0; line-height: 1.7; }
details summary { cursor: pointer; }
@media (max-width: 640px) { .g-ligne { grid-template-columns: 110px 1fr 74px; } h1 { font-size: 1.5rem; } }
.objectif h2 { margin-bottom: 12px; }
.objectif-grille { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 24px; align-items: start; }
.objectif-form { display: flex; flex-direction: column; gap: 10px; }
.objectif-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 10px; }
.moyen { font-family: Georgia, serif; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.jauge { width: 100%; height: 14px; display: block; }
.jauge-fond { fill: var(--ligne); } .jauge-ok { fill: var(--vert); } .jauge-encours { fill: var(--accent); }
.jauge-rythme { stroke: var(--texte); stroke-width: .6; }
@media (max-width: 720px) { .objectif-grille { grid-template-columns: 1fr; } }

.barre .logo { height: 40px; width: auto; display: block; }
.barre .marque { padding-left: 14px; border-left: 1px solid var(--ligne); }
.connexion .logo { width: 100%; max-width: 320px; height: auto; margin: 0 auto 4px; display: block; }
@media (max-width: 640px) { .barre .logo { height: 28px; } .barre { gap: 12px; } }
@media (max-width: 640px) { .barre .marque { display: none; } .barre { flex-wrap: wrap; row-gap: 8px; } }
#pneus h2 { margin-bottom: 12px; }
.pn-tuiles { margin-bottom: 14px; }
.pn-compare { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 16px; }
.pn-ligne { display: grid; grid-template-columns: 170px 1fr 50px; gap: 10px; align-items: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.pn-ligne b { text-align: right; }
.pn-barre { width: 100%; height: 16px; display: block; }
.pn-fond { fill: var(--fond); } .pn-n { fill: var(--accent); } .pn-n1 { fill: #b9b4ab; }
.pn-titre { margin-top: 4px; }
.pn-hist { display: flex; gap: 14px; align-items: flex-end; overflow-x: auto; padding: 6px 0; }
.pn-col { text-align: center; min-width: 54px; }
.pn-mini { width: 40px; height: 60px; display: block; margin: 0 auto 4px; }
@media (max-width: 640px) { .pn-ligne { grid-template-columns: 110px 1fr 40px; } }
button.secondaire { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.lien-suppr { background: none; color: var(--rouge); padding: 0; font-size: .8rem; }
.lien-suppr:hover { text-decoration: underline; }
button.danger { background: var(--rouge); color: #fff; }
button.danger-txt { color: var(--rouge); border-color: var(--rouge); }
.voile { position: fixed; inset: 0; background: rgba(20, 20, 18, .45); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.dialogue { max-width: 460px; width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.dialogue h2 { margin-bottom: 8px; }
.dialogue-choix { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.dialogue-page { margin: 8vh auto 0; }
a.bouton.secondaire { background: #fff; color: var(--accent); border: 1px solid var(--accent); text-align: center; }
a.bouton.danger-txt { color: var(--rouge); border-color: var(--rouge); }
.form-profil { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: end; }
.barre .qui { margin-right: 12px; }
.barre form.droite { display: flex; align-items: center; }
.tableau.gauche th, .tableau.gauche td { text-align: left; }
.societes { display: flex; gap: 4px; background: var(--fond); border: 1px solid var(--ligne); border-radius: 999px; padding: 3px; }
.societes button { background: none; color: var(--discret); border-radius: 999px; padding: 5px 12px; font-size: .85rem; }
.societes button.actif { background: var(--accent); color: #fff; }
.logos-connexion { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 6px; }
.logos-connexion img { max-width: 280px; width: 100%; height: auto; }
.cases { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.cases legend { font-size: .85rem; color: var(--discret); padding: 0 4px; }
.case { flex-direction: row; align-items: center; gap: 6px; color: var(--texte); font-size: .9rem; }
.case input { width: auto; }
.societes button, .barre a, .barre .qui { white-space: nowrap; }
@media (max-width: 900px) { .barre .qui { display: none; } }
.tableau tr.total td { font-weight: 600; background: #faf9f7; }
.pile { display: flex; flex-direction: column; gap: 24px; }
.form-ligne { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.form-ligne label { min-width: 150px; }
.carte .tableau td:first-child, .carte .tableau td:nth-child(2) { white-space: normal; min-width: 140px; }

.recherche { display: flex; align-items: center; gap: 12px; margin: 4px 0 10px; flex-wrap: wrap; }
.recherche input { flex: 0 1 420px; min-width: 220px; padding: 8px 12px; font-size: .95rem; }

/* Fond : motifs de pièces automobiles (engrenages, disque, pneu, courroie, bougie, piston), très discrets */
body { background-color: var(--fond); background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22360%22 height=%22360%22 viewBox=%220 0 360 360%22%3E%3Cg fill=%22none%22 stroke=%22%231f3a5f%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 opacity=%220.07%22%3E%3Cpath d=%22M82.9 62.5 L81.7 68.5 L75.1 68.6 L72.7 72.8 L76.1 78.4 L71.6 82.6 L66.2 78.8 L61.8 80.7 L61.2 87.3 L55.1 88.0 L53.0 81.8 L48.3 80.8 L44.0 85.7 L38.6 82.7 L40.6 76.4 L37.4 72.9 L31.0 74.4 L28.4 68.8 L33.7 64.9 L33.2 60.1 L27.1 57.5 L28.3 51.5 L34.9 51.4 L37.3 47.2 L33.9 41.6 L38.4 37.4 L43.8 41.2 L48.2 39.3 L48.8 32.7 L54.9 32.0 L57.0 38.2 L61.7 39.2 L66.0 34.3 L71.4 37.3 L69.4 43.6 L72.6 47.1 L79.0 45.6 L81.6 51.2 L76.3 55.1 L76.8 59.9Z%22/%3E%3Ccircle cx=%2255%22 cy=%2260%22 r=%229.0%22/%3E%3Ccircle cx=%22250%22 cy=%2270%22 r=%2234%22/%3E%3Ccircle cx=%22250%22 cy=%2270%22 r=%2212.9%22/%3E%3Ccircle cx=%22257.5%22 cy=%2270.0%22 r=%221.6%22/%3E%3Ccircle cx=%22252.3%22 cy=%2277.1%22 r=%221.6%22/%3E%3Ccircle cx=%22243.9%22 cy=%2274.4%22 r=%221.6%22/%3E%3Ccircle cx=%22243.9%22 cy=%2265.6%22 r=%221.6%22/%3E%3Ccircle cx=%22252.3%22 cy=%2262.9%22 r=%221.6%22/%3E%3Ccircle cx=%22273.8%22 cy=%2270.0%22 r=%221.2%22/%3E%3Ccircle cx=%22270.6%22 cy=%2281.9%22 r=%221.2%22/%3E%3Ccircle cx=%22261.9%22 cy=%2290.6%22 r=%221.2%22/%3E%3Ccircle cx=%22250.0%22 cy=%2293.8%22 r=%221.2%22/%3E%3Ccircle cx=%22238.1%22 cy=%2290.6%22 r=%221.2%22/%3E%3Ccircle cx=%22229.4%22 cy=%2281.9%22 r=%221.2%22/%3E%3Ccircle cx=%22226.2%22 cy=%2270.0%22 r=%221.2%22/%3E%3Ccircle cx=%22229.4%22 cy=%2258.1%22 r=%221.2%22/%3E%3Ccircle cx=%22238.1%22 cy=%2249.4%22 r=%221.2%22/%3E%3Ccircle cx=%22250.0%22 cy=%2246.2%22 r=%221.2%22/%3E%3Ccircle cx=%22261.9%22 cy=%2249.4%22 r=%221.2%22/%3E%3Ccircle cx=%22270.6%22 cy=%2258.1%22 r=%221.2%22/%3E%3Ccircle cx=%22140%22 cy=%22210%22 r=%2240%22/%3E%3Ccircle cx=%22140%22 cy=%22210%22 r=%2224.8%22/%3E%3Ccircle cx=%22140%22 cy=%22210%22 r=%227.2%22/%3E%3Cline x1=%22174.4%22 y1=%22210.0%22 x2=%22180.0%22 y2=%22210.0%22/%3E%3Cline x1=%22171.8%22 y1=%22223.2%22 x2=%22177.0%22 y2=%22225.3%22/%3E%3Cline x1=%22164.3%22 y1=%22234.3%22 x2=%22168.3%22 y2=%22238.3%22/%3E%3Cline x1=%22153.2%22 y1=%22241.8%22 x2=%22155.3%22 y2=%22247.0%22/%3E%3Cline x1=%22140.0%22 y1=%22244.4%22 x2=%22140.0%22 y2=%22250.0%22/%3E%3Cline x1=%22126.8%22 y1=%22241.8%22 x2=%22124.7%22 y2=%22247.0%22/%3E%3Cline x1=%22115.7%22 y1=%22234.3%22 x2=%22111.7%22 y2=%22238.3%22/%3E%3Cline x1=%22108.2%22 y1=%22223.2%22 x2=%22103.0%22 y2=%22225.3%22/%3E%3Cline x1=%22105.6%22 y1=%22210.0%22 x2=%22100.0%22 y2=%22210.0%22/%3E%3Cline x1=%22108.2%22 y1=%22196.8%22 x2=%22103.0%22 y2=%22194.7%22/%3E%3Cline x1=%22115.7%22 y1=%22185.7%22 x2=%22111.7%22 y2=%22181.7%22/%3E%3Cline x1=%22126.8%22 y1=%22178.2%22 x2=%22124.7%22 y2=%22173.0%22/%3E%3Cline x1=%22140.0%22 y1=%22175.6%22 x2=%22140.0%22 y2=%22170.0%22/%3E%3Cline x1=%22153.2%22 y1=%22178.2%22 x2=%22155.3%22 y2=%22173.0%22/%3E%3Cline x1=%22164.3%22 y1=%22185.7%22 x2=%22168.3%22 y2=%22181.7%22/%3E%3Cline x1=%22171.8%22 y1=%22196.8%22 x2=%22177.0%22 y2=%22194.7%22/%3E%3Cline x1=%22148.0%22 y1=%22210.0%22 x2=%22164.0%22 y2=%22210.0%22/%3E%3Cline x1=%22142.5%22 y1=%22217.6%22 x2=%22147.4%22 y2=%22232.8%22/%3E%3Cline x1=%22133.5%22 y1=%22214.7%22 x2=%22120.6%22 y2=%22224.1%22/%3E%3Cline x1=%22133.5%22 y1=%22205.3%22 x2=%22120.6%22 y2=%22195.9%22/%3E%3Cline x1=%22142.5%22 y1=%22202.4%22 x2=%22147.4%22 y2=%22187.2%22/%3E%3Cg transform=%22translate(300 215) rotate(25)%22%3E%3Crect x=%22-4%22 y=%22-30%22 width=%228%22 height=%2212%22 rx=%222%22/%3E%3Crect x=%22-6%22 y=%22-18%22 width=%2212%22 height=%2210%22/%3E%3Cpath d=%22M-7 -8 h14 v8 h-14z%22/%3E%3Cpath d=%22M-5 0 v12 M5 0 v12 M-5 3 h10 M-5 7 h10 M-5 11 h10%22/%3E%3Cpath d=%22M0 12 v6 h5%22/%3E%3C/g%3E%3Cg transform=%22translate(60 250) rotate(-35)%22%3E%3Cpath d=%22M-3 -22 v40 a3 3 0 0 0 6 0 v-40%22/%3E%3Cpath d=%22M-3 -22 a10 10 0 1 1 6 0 M-3 -28 v-8 M3 -28 v-8%22/%3E%3C/g%3E%3Cg transform=%22translate(215 300) rotate(-12)%22%3E%3Crect x=%22-12%22 y=%22-20%22 width=%2224%22 height=%2218%22 rx=%223%22/%3E%3Cpath d=%22M-12 -15 h24 M-12 -11 h24%22/%3E%3Ccircle cx=%220%22 cy=%22-6%22 r=%222.5%22/%3E%3Cpath d=%22M-3 -4 L-4 18 M3 -4 L4 18%22/%3E%3Ccircle cx=%220%22 cy=%2222%22 r=%226%22/%3E%3Ccircle cx=%220%22 cy=%2222%22 r=%222.5%22/%3E%3C/g%3E%3Ccircle cx=%22270%22 cy=%22145%22 r=%2214%22/%3E%3Ccircle cx=%22270%22 cy=%22145%22 r=%224%22/%3E%3Ccircle cx=%22316%22 cy=%22127%22 r=%228%22/%3E%3Ccircle cx=%22316%22 cy=%22127%22 r=%222.5%22/%3E%3Cpath d=%22M264.0 132.3 L312.5 119.6 M275.7 157.8 L320.2 134.1%22/%3E%3Cpath d=%22M264.0 132.3 A14 14 0 1 0 275.7 157.8 M312.5 119.6 A8 8 0 0 1 320.2 134.1%22/%3E%3Cpath d=%22M345.8 327.8 L345.8 332.2 L342.1 333.2 L340.8 336.3 L342.8 339.7 L339.7 342.8 L336.3 340.8 L333.2 342.1 L332.2 345.8 L327.8 345.8 L326.8 342.1 L323.7 340.8 L320.3 342.8 L317.2 339.7 L319.2 336.3 L317.9 333.2 L314.2 332.2 L314.2 327.8 L317.9 326.8 L319.2 323.7 L317.2 320.3 L320.3 317.2 L323.7 319.2 L326.8 317.9 L327.8 314.2 L332.2 314.2 L333.2 317.9 L336.3 319.2 L339.7 317.2 L342.8 320.3 L340.8 323.7 L342.1 326.8Z%22/%3E%3Ccircle cx=%22330%22 cy=%22330%22 r=%225.1%22/%3E%3Cpath d=%22M31.8 151.9 L30.9 155.1 L28.0 154.9 L26.3 156.9 L27.0 159.7 L24.1 161.3 L22.1 159.1 L19.6 159.4 L18.1 161.8 L14.9 160.9 L15.1 158.0 L13.1 156.3 L10.3 157.0 L8.7 154.1 L10.9 152.1 L10.6 149.6 L8.2 148.1 L9.1 144.9 L12.0 145.1 L13.7 143.1 L13.0 140.3 L15.9 138.7 L17.9 140.9 L20.4 140.6 L21.9 138.2 L25.1 139.1 L24.9 142.0 L26.9 143.7 L29.7 143.0 L31.3 145.9 L29.1 147.9 L29.4 150.4Z%22/%3E%3Ccircle cx=%2220%22 cy=%22150%22 r=%223.8%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 360px 360px; background-attachment: fixed; }
body:has(.connexion) { min-height: 100vh; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22360%22 height=%22360%22 viewBox=%220 0 360 360%22%3E%3Cg fill=%22none%22 stroke=%22%231f3a5f%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 opacity=%220.13%22%3E%3Cpath d=%22M82.9 62.5 L81.7 68.5 L75.1 68.6 L72.7 72.8 L76.1 78.4 L71.6 82.6 L66.2 78.8 L61.8 80.7 L61.2 87.3 L55.1 88.0 L53.0 81.8 L48.3 80.8 L44.0 85.7 L38.6 82.7 L40.6 76.4 L37.4 72.9 L31.0 74.4 L28.4 68.8 L33.7 64.9 L33.2 60.1 L27.1 57.5 L28.3 51.5 L34.9 51.4 L37.3 47.2 L33.9 41.6 L38.4 37.4 L43.8 41.2 L48.2 39.3 L48.8 32.7 L54.9 32.0 L57.0 38.2 L61.7 39.2 L66.0 34.3 L71.4 37.3 L69.4 43.6 L72.6 47.1 L79.0 45.6 L81.6 51.2 L76.3 55.1 L76.8 59.9Z%22/%3E%3Ccircle cx=%2255%22 cy=%2260%22 r=%229.0%22/%3E%3Ccircle cx=%22250%22 cy=%2270%22 r=%2234%22/%3E%3Ccircle cx=%22250%22 cy=%2270%22 r=%2212.9%22/%3E%3Ccircle cx=%22257.5%22 cy=%2270.0%22 r=%221.6%22/%3E%3Ccircle cx=%22252.3%22 cy=%2277.1%22 r=%221.6%22/%3E%3Ccircle cx=%22243.9%22 cy=%2274.4%22 r=%221.6%22/%3E%3Ccircle cx=%22243.9%22 cy=%2265.6%22 r=%221.6%22/%3E%3Ccircle cx=%22252.3%22 cy=%2262.9%22 r=%221.6%22/%3E%3Ccircle cx=%22273.8%22 cy=%2270.0%22 r=%221.2%22/%3E%3Ccircle cx=%22270.6%22 cy=%2281.9%22 r=%221.2%22/%3E%3Ccircle cx=%22261.9%22 cy=%2290.6%22 r=%221.2%22/%3E%3Ccircle cx=%22250.0%22 cy=%2293.8%22 r=%221.2%22/%3E%3Ccircle cx=%22238.1%22 cy=%2290.6%22 r=%221.2%22/%3E%3Ccircle cx=%22229.4%22 cy=%2281.9%22 r=%221.2%22/%3E%3Ccircle cx=%22226.2%22 cy=%2270.0%22 r=%221.2%22/%3E%3Ccircle cx=%22229.4%22 cy=%2258.1%22 r=%221.2%22/%3E%3Ccircle cx=%22238.1%22 cy=%2249.4%22 r=%221.2%22/%3E%3Ccircle cx=%22250.0%22 cy=%2246.2%22 r=%221.2%22/%3E%3Ccircle cx=%22261.9%22 cy=%2249.4%22 r=%221.2%22/%3E%3Ccircle cx=%22270.6%22 cy=%2258.1%22 r=%221.2%22/%3E%3Ccircle cx=%22140%22 cy=%22210%22 r=%2240%22/%3E%3Ccircle cx=%22140%22 cy=%22210%22 r=%2224.8%22/%3E%3Ccircle cx=%22140%22 cy=%22210%22 r=%227.2%22/%3E%3Cline x1=%22174.4%22 y1=%22210.0%22 x2=%22180.0%22 y2=%22210.0%22/%3E%3Cline x1=%22171.8%22 y1=%22223.2%22 x2=%22177.0%22 y2=%22225.3%22/%3E%3Cline x1=%22164.3%22 y1=%22234.3%22 x2=%22168.3%22 y2=%22238.3%22/%3E%3Cline x1=%22153.2%22 y1=%22241.8%22 x2=%22155.3%22 y2=%22247.0%22/%3E%3Cline x1=%22140.0%22 y1=%22244.4%22 x2=%22140.0%22 y2=%22250.0%22/%3E%3Cline x1=%22126.8%22 y1=%22241.8%22 x2=%22124.7%22 y2=%22247.0%22/%3E%3Cline x1=%22115.7%22 y1=%22234.3%22 x2=%22111.7%22 y2=%22238.3%22/%3E%3Cline x1=%22108.2%22 y1=%22223.2%22 x2=%22103.0%22 y2=%22225.3%22/%3E%3Cline x1=%22105.6%22 y1=%22210.0%22 x2=%22100.0%22 y2=%22210.0%22/%3E%3Cline x1=%22108.2%22 y1=%22196.8%22 x2=%22103.0%22 y2=%22194.7%22/%3E%3Cline x1=%22115.7%22 y1=%22185.7%22 x2=%22111.7%22 y2=%22181.7%22/%3E%3Cline x1=%22126.8%22 y1=%22178.2%22 x2=%22124.7%22 y2=%22173.0%22/%3E%3Cline x1=%22140.0%22 y1=%22175.6%22 x2=%22140.0%22 y2=%22170.0%22/%3E%3Cline x1=%22153.2%22 y1=%22178.2%22 x2=%22155.3%22 y2=%22173.0%22/%3E%3Cline x1=%22164.3%22 y1=%22185.7%22 x2=%22168.3%22 y2=%22181.7%22/%3E%3Cline x1=%22171.8%22 y1=%22196.8%22 x2=%22177.0%22 y2=%22194.7%22/%3E%3Cline x1=%22148.0%22 y1=%22210.0%22 x2=%22164.0%22 y2=%22210.0%22/%3E%3Cline x1=%22142.5%22 y1=%22217.6%22 x2=%22147.4%22 y2=%22232.8%22/%3E%3Cline x1=%22133.5%22 y1=%22214.7%22 x2=%22120.6%22 y2=%22224.1%22/%3E%3Cline x1=%22133.5%22 y1=%22205.3%22 x2=%22120.6%22 y2=%22195.9%22/%3E%3Cline x1=%22142.5%22 y1=%22202.4%22 x2=%22147.4%22 y2=%22187.2%22/%3E%3Cg transform=%22translate(300 215) rotate(25)%22%3E%3Crect x=%22-4%22 y=%22-30%22 width=%228%22 height=%2212%22 rx=%222%22/%3E%3Crect x=%22-6%22 y=%22-18%22 width=%2212%22 height=%2210%22/%3E%3Cpath d=%22M-7 -8 h14 v8 h-14z%22/%3E%3Cpath d=%22M-5 0 v12 M5 0 v12 M-5 3 h10 M-5 7 h10 M-5 11 h10%22/%3E%3Cpath d=%22M0 12 v6 h5%22/%3E%3C/g%3E%3Cg transform=%22translate(60 250) rotate(-35)%22%3E%3Cpath d=%22M-3 -22 v40 a3 3 0 0 0 6 0 v-40%22/%3E%3Cpath d=%22M-3 -22 a10 10 0 1 1 6 0 M-3 -28 v-8 M3 -28 v-8%22/%3E%3C/g%3E%3Cg transform=%22translate(215 300) rotate(-12)%22%3E%3Crect x=%22-12%22 y=%22-20%22 width=%2224%22 height=%2218%22 rx=%223%22/%3E%3Cpath d=%22M-12 -15 h24 M-12 -11 h24%22/%3E%3Ccircle cx=%220%22 cy=%22-6%22 r=%222.5%22/%3E%3Cpath d=%22M-3 -4 L-4 18 M3 -4 L4 18%22/%3E%3Ccircle cx=%220%22 cy=%2222%22 r=%226%22/%3E%3Ccircle cx=%220%22 cy=%2222%22 r=%222.5%22/%3E%3C/g%3E%3Ccircle cx=%22270%22 cy=%22145%22 r=%2214%22/%3E%3Ccircle cx=%22270%22 cy=%22145%22 r=%224%22/%3E%3Ccircle cx=%22316%22 cy=%22127%22 r=%228%22/%3E%3Ccircle cx=%22316%22 cy=%22127%22 r=%222.5%22/%3E%3Cpath d=%22M264.0 132.3 L312.5 119.6 M275.7 157.8 L320.2 134.1%22/%3E%3Cpath d=%22M264.0 132.3 A14 14 0 1 0 275.7 157.8 M312.5 119.6 A8 8 0 0 1 320.2 134.1%22/%3E%3Cpath d=%22M345.8 327.8 L345.8 332.2 L342.1 333.2 L340.8 336.3 L342.8 339.7 L339.7 342.8 L336.3 340.8 L333.2 342.1 L332.2 345.8 L327.8 345.8 L326.8 342.1 L323.7 340.8 L320.3 342.8 L317.2 339.7 L319.2 336.3 L317.9 333.2 L314.2 332.2 L314.2 327.8 L317.9 326.8 L319.2 323.7 L317.2 320.3 L320.3 317.2 L323.7 319.2 L326.8 317.9 L327.8 314.2 L332.2 314.2 L333.2 317.9 L336.3 319.2 L339.7 317.2 L342.8 320.3 L340.8 323.7 L342.1 326.8Z%22/%3E%3Ccircle cx=%22330%22 cy=%22330%22 r=%225.1%22/%3E%3Cpath d=%22M31.8 151.9 L30.9 155.1 L28.0 154.9 L26.3 156.9 L27.0 159.7 L24.1 161.3 L22.1 159.1 L19.6 159.4 L18.1 161.8 L14.9 160.9 L15.1 158.0 L13.1 156.3 L10.3 157.0 L8.7 154.1 L10.9 152.1 L10.6 149.6 L8.2 148.1 L9.1 144.9 L12.0 145.1 L13.7 143.1 L13.0 140.3 L15.9 138.7 L17.9 140.9 L20.4 140.6 L21.9 138.2 L25.1 139.1 L24.9 142.0 L26.9 143.7 L29.7 143.0 L31.3 145.9 L29.1 147.9 L29.4 150.4Z%22/%3E%3Ccircle cx=%2220%22 cy=%22150%22 r=%223.8%22/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, #eef2f7 0%, #f6f5f2 55%, #f3ede4 100%); background-size: 360px 360px, cover; }
.connexion { box-shadow: 0 10px 30px rgba(31, 58, 95, .12); max-width: 480px; padding: 36px 40px; gap: 16px; margin-top: 8vh; }
.connexion h1 { font-size: 2rem; text-align: center; margin: 6px 0 4px; }
.connexion form { gap: 16px; }
.connexion label { font-size: 1rem; }
.connexion input { padding: 12px 14px; font-size: 1.05rem; }
.connexion button { padding: 13px 16px; font-size: 1.1rem; }
.connexion .logos-connexion { gap: 20px; margin-bottom: 10px; }
.connexion .logos-connexion img { max-width: 360px; }
@media (max-width: 560px) { .connexion { padding: 24px 20px; margin-top: 4vh; } }

/* Tuile « Reste à verser » : mise en valeur de l'argent */
.carte-argent { background: linear-gradient(135deg, #f1faf4 0%, #e3f4e9 100%); border: 1.5px solid #2f7d4f; position: relative; }
.carte-argent::after { content: ""; position: absolute; top: 12px; right: 12px; width: 56px; height: 56px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cg fill=%22none%22 stroke=%22%231e7a46%22 stroke-width=%223%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Crect x=%224%22 y=%2216%22 width=%2240%22 height=%2224%22 rx=%223%22 fill=%22%23d6f0df%22/%3E%3Ccircle cx=%2224%22 cy=%2228%22 r=%226%22/%3E%3Cpath d=%22M10 22v12M38 22v12%22/%3E%3Crect x=%2210%22 y=%2224%22 width=%2240%22 height=%2224%22 rx=%223%22 fill=%22%23e9f7ee%22/%3E%3Ccircle cx=%2230%22 cy=%2236%22 r=%226%22/%3E%3Cpath d=%22M16 30v12M44 30v12%22/%3E%3Ccircle cx=%2248%22 cy=%2246%22 r=%2211%22 fill=%22%23f5c518%22 stroke=%22%23b8860b%22/%3E%3Cpath d=%22M51.5 41.5a5 5 0 1 0 0 9M43 45h7M43 48h7%22 stroke=%22%238a6508%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.carte-argent h3 { color: #1e6b3d; margin-right: 64px; }
.carte-argent .gros { color: #1e7a46; font-weight: 700; margin-right: 60px; }

/* Top 3 / Flop 3 : couleurs et pictogrammes */
.carte-top, .carte-flop { position: relative; }
.carte-top { background: linear-gradient(135deg, #f0f8fe, #dcedfb); border: 1.5px solid #3b9ae0; }
.carte-flop { background: linear-gradient(135deg, #fdf3f1, #f9e3df); border: 1.5px solid #b3412e; }
.carte-top h3, .carte-flop h3 { display: flex; align-items: center; gap: 10px; }
.carte-top h3 { color: #1b6aa5; } .carte-flop h3 { color: #8f3020; }
.carte-top h3::before, .carte-flop h3::before { content: ""; flex: none; width: 30px; height: 30px; background: no-repeat center / contain; }
.carte-top h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%2222%22 fill=%22%233b9ae0%22/%3E%3Cpath d=%22M12 31l9-9 6 6 10-11%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M30 16h8v8%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.carte-flop h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%2222%22 fill=%22%23b3412e%22/%3E%3Cpath d=%22M12 17l9 9 6-6 10 11%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M30 32h8v-8%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); }
.carte-top ol, .carte-flop ol { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: rang; }
.carte-top li, .carte-flop li { counter-increment: rang; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 7px 0; border-top: 1px solid rgba(0,0,0,.06); }
.carte-top li:first-child, .carte-flop li:first-child { border-top: 0; }
.carte-top li::before, .carte-flop li::before { content: counter(rang); flex: none; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; align-self: center; }
.carte-top li::before { background: #3b9ae0; } .carte-flop li::before { background: #b3412e; }

/* Rémunération (argent versé au client) : même habillage que « Reste à verser » */
.bloc-argent { background: linear-gradient(135deg, #f1faf4 0%, #e3f4e9 100%); border: 1.5px solid #2f7d4f; border-radius: var(--rayon); padding: 10px 12px 10px 56px; position: relative; }
.bloc-argent::before { content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cg fill=%22none%22 stroke=%22%231e7a46%22 stroke-width=%223%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Crect x=%224%22 y=%2216%22 width=%2240%22 height=%2224%22 rx=%223%22 fill=%22%23d6f0df%22/%3E%3Ccircle cx=%2224%22 cy=%2228%22 r=%226%22/%3E%3Cpath d=%22M10 22v12M38 22v12%22/%3E%3Crect x=%2210%22 y=%2224%22 width=%2240%22 height=%2224%22 rx=%223%22 fill=%22%23e9f7ee%22/%3E%3Ccircle cx=%2230%22 cy=%2236%22 r=%226%22/%3E%3Cpath d=%22M16 30v12M44 30v12%22/%3E%3Ccircle cx=%2248%22 cy=%2246%22 r=%2211%22 fill=%22%23f5c518%22 stroke=%22%23b8860b%22/%3E%3Cpath d=%22M51.5 41.5a5 5 0 1 0 0 9M43 45h7M43 48h7%22 stroke=%22%238a6508%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.bloc-argent h3 { color: #1e6b3d; }
.bloc-argent .moyen { color: #1e7a46; font-weight: 700; }
.bloc-argent .moyen.discret { color: #3f8a5c; font-weight: 600; }
.section-argent { border: 1.5px solid #2f7d4f; background: linear-gradient(180deg, #f1faf4 0, #fff 90px); }
.section-argent > h2 { display: flex; align-items: center; gap: 12px; color: #1e6b3d; }
.section-argent > h2::before { content: ""; flex: none; width: 40px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cg fill=%22none%22 stroke=%22%231e7a46%22 stroke-width=%223%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Crect x=%224%22 y=%2216%22 width=%2240%22 height=%2224%22 rx=%223%22 fill=%22%23d6f0df%22/%3E%3Ccircle cx=%2224%22 cy=%2228%22 r=%226%22/%3E%3Cpath d=%22M10 22v12M38 22v12%22/%3E%3Crect x=%2210%22 y=%2224%22 width=%2240%22 height=%2224%22 rx=%223%22 fill=%22%23e9f7ee%22/%3E%3Ccircle cx=%2230%22 cy=%2236%22 r=%226%22/%3E%3Cpath d=%22M16 30v12M44 30v12%22/%3E%3Ccircle cx=%2248%22 cy=%2246%22 r=%2211%22 fill=%22%23f5c518%22 stroke=%22%23b8860b%22/%3E%3Cpath d=%22M51.5 41.5a5 5 0 1 0 0 9M43 45h7M43 48h7%22 stroke=%22%238a6508%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.section-argent .tableau tr.total td:last-child { color: #1e7a46; }
.section-argent .tableau tr.total:last-child td { background: #e3f4e9; font-weight: 700; }

/* Champs mot de passe : afficher / générer */
.mdp-boite { display: flex; gap: 6px; align-items: stretch; }
.mdp-boite input { flex: 1; min-width: 0; }
.mdp-boite button { padding: 6px 10px; font-size: .85rem; white-space: nowrap; }
.mdp-voir { background: #fff; color: var(--accent); border: 1px solid var(--ligne); }
.champ-mdp { grid-column: span 2; min-width: 320px; }

/* Tuile « CA cumulé » mise en avant (bleu marine) */
.carte-ca { background: linear-gradient(135deg, #1f3a5f 0%, #2c5d8a 100%); border: 0; color: #fff; position: relative; }
.carte-ca::after { content: ""; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Cg fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 opacity=%22.9%22%3E%3Cpath d=%22M6 40h36%22/%3E%3Crect x=%229%22 y=%2226%22 width=%226%22 height=%2214%22 rx=%221%22/%3E%3Crect x=%2221%22 y=%2218%22 width=%226%22 height=%2222%22 rx=%221%22/%3E%3Crect x=%2233%22 y=%2210%22 width=%226%22 height=%2230%22 rx=%221%22 stroke=%22%23f0a020%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.carte-ca h3 { color: #d5e2f0; margin-right: 52px; }
.carte-ca .gros { color: #fff; font-weight: 700; margin-right: 48px; }
.carte-ca .discret { color: #c3d4e6; }
.carte-ca .pos { color: #8fe3b0; }
.carte-ca .neg { color: #ffb4a6; }
.lien-fpc h3 { color: #1e6b3d; } .lien-fpc .moyen { color: #1e7a46; font-weight: 700; }

/* Focus CA TECHNIQUE : jaune avec pictogramme d'injecteur */
.carte-tech { background: linear-gradient(135deg, #fffbea 0%, #fdf0bf 100%); border: 1.5px solid #e0b100; position: relative; }
.carte-tech::after { content: ""; position: absolute; top: 8px; right: 10px; width: 42px; height: 56px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 64%22%3E%3Cg stroke=%22%236b4f00%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E %3Crect x=%229%22 y=%223%22 width=%2211%22 height=%227%22 rx=%221%22 fill=%22%236b4f00%22/%3E %3Crect x=%2218%22 y=%222%22 width=%2212%22 height=%2210%22 rx=%223%22 fill=%22%236b4f00%22/%3E %3Crect x=%2220%22 y=%2212%22 width=%228%22 height=%223%22 fill=%22%23fde68a%22/%3E %3Cpath d=%22M19 15h10v3H19z%22 fill=%22%23f5c518%22/%3E %3Cpath d=%22M17 18h14l7 3v4l-6 2-3 3h-10l-3-3-6-2v-3z%22 fill=%22%23f5c518%22/%3E %3Cg transform=%22rotate(-25 11 23)%22%3E%3Crect x=%227%22 y=%2220%22 width=%224%22 height=%226%22 fill=%22%23f5c518%22/%3E%3Crect x=%221%22 y=%2220.8%22 width=%226%22 height=%224.4%22 rx=%221%22 fill=%22%23fde68a%22/%3E%3Cpath d=%22M2.5 20.8v4.4M4 20.8v4.4M5.5 20.8v4.4%22 fill=%22none%22 stroke-width=%221%22/%3E%3C/g%3E %3Cpath d=%22M36 19v-7M38.5 19v-7%22 fill=%22none%22/%3E%3Crect x=%2235%22 y=%227%22 width=%225%22 height=%225%22 rx=%221%22 fill=%22%23fde68a%22/%3E %3Crect x=%2219.5%22 y=%2230%22 width=%229%22 height=%2214%22 rx=%221%22 fill=%22%23fde68a%22/%3E %3Cpath d=%22M19.5 35h9%22 fill=%22none%22/%3E %3Crect x=%2220%22 y=%2244%22 width=%228%22 height=%229%22 rx=%221%22 fill=%22%23a07a10%22/%3E %3Crect x=%2219.5%22 y=%2253%22 width=%229%22 height=%222%22 rx=%221%22 fill=%22%23d97706%22 stroke=%22%23b45309%22/%3E %3Cpath d=%22M22.5 55h3v6.5l-1.5 1.5-1.5-1.5z%22 fill=%22%23fde68a%22/%3E %3C/g%3E%3C/svg%3E ") no-repeat center / contain; }
.carte-tech h3 { color: #7a5b00; margin-right: 50px; }
.carte-tech .gros { color: #6b4f00; font-weight: 700; margin-right: 44px; }
.carte-ca .ecart-proj { margin-top: 4px; color: #d5e2f0; }
.carte-ca .ecart-proj b { color: #fff; }
.carte-top .pos { color: #1b6aa5; }

/* Focus pneus : pictogramme de pneu */
.focus-pneus > h2 { display: flex; align-items: center; gap: 12px; }
.focus-pneus > h2::before { content: ""; flex: none; width: 38px; height: 38px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%2222%22 fill=%22%232b2b2b%22/%3E%3Cpath d=%22M46.00 24.00 L45.78 27.10 L42.32 26.61 L42.50 24.00Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M44.92 30.80 L43.76 33.68 L40.61 32.14 L41.59 29.72Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M41.80 36.93 L39.80 39.31 L37.29 36.87 L38.97 34.87Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M36.93 41.80 L34.29 43.44 L32.66 40.35 L34.87 38.97Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M30.80 44.92 L27.78 45.67 L27.18 42.22 L29.72 41.59Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M24.00 46.00 L20.90 45.78 L21.39 42.32 L24.00 42.50Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M17.20 44.92 L14.32 43.76 L15.86 40.61 L18.28 41.59Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M11.07 41.80 L8.69 39.80 L11.13 37.29 L13.13 38.97Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M6.20 36.93 L4.56 34.29 L7.65 32.66 L9.03 34.87Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M3.08 30.80 L2.33 27.78 L5.78 27.18 L6.41 29.72Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M2.00 24.00 L2.22 20.90 L5.68 21.39 L5.50 24.00Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M3.08 17.20 L4.24 14.32 L7.39 15.86 L6.41 18.28Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M6.20 11.07 L8.20 8.69 L10.71 11.13 L9.03 13.13Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M11.07 6.20 L13.71 4.56 L15.34 7.65 L13.13 9.03Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M17.20 3.08 L20.22 2.33 L20.82 5.78 L18.28 6.41Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M24.00 2.00 L27.10 2.22 L26.61 5.68 L24.00 5.50Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M30.80 3.08 L33.68 4.24 L32.14 7.39 L29.72 6.41Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M36.93 6.20 L39.31 8.20 L36.87 10.71 L34.87 9.03Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M41.80 11.07 L43.44 13.71 L40.35 15.34 L38.97 13.13Z%22 fill=%22%234a4a4a%22/%3E%3Cpath d=%22M44.92 17.20 L45.67 20.22 L42.22 20.82 L41.59 18.28Z%22 fill=%22%234a4a4a%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%2216%22 fill=%22%231f1f1f%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%2212.5%22 fill=%22%23c9ced6%22 stroke=%22%238a929e%22 stroke-width=%221%22/%3E%3Cline x1=%2224.00%22 y1=%2220.50%22 x2=%2224.00%22 y2=%2212.50%22 stroke=%22%238a929e%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Cline x1=%2227.33%22 y1=%2222.92%22 x2=%2234.94%22 y2=%2220.45%22 stroke=%22%238a929e%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Cline x1=%2226.06%22 y1=%2226.83%22 x2=%2230.76%22 y2=%2233.30%22 stroke=%22%238a929e%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Cline x1=%2221.94%22 y1=%2226.83%22 x2=%2217.24%22 y2=%2233.30%22 stroke=%22%238a929e%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Cline x1=%2220.67%22 y1=%2222.92%22 x2=%2213.06%22 y2=%2220.45%22 stroke=%22%238a929e%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%223.6%22 fill=%22%236b7380%22/%3E%3C/svg%3E") no-repeat center / contain; }
form.en-ligne { display: inline; margin: 0; }

/* Bulle « CA de la veille » (jaune pâle) */
.carte-veille { background: #fff9db; border: 1.5px solid #f1dd8a; border-radius: 22px; }
.carte-veille h3 { color: #7a6400; }
.carte-veille .gros { color: #5c4b00; font-weight: 700; }
.carte-veille { position: relative; }
.carte-veille::after { content: ""; position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2212%22 fill=%22%23fffbe6%22 stroke=%22%238a6d00%22 stroke-width=%224%22/%3E%3Cpath d=%22M14 18a7 7 0 0 1 6-5%22 fill=%22none%22 stroke=%22%23e0b100%22 stroke-width=%222.5%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M29 29l11 11%22 stroke=%22%238a6d00%22 stroke-width=%226%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat center / contain; }
.carte-veille h3, .carte-veille .gros { margin-right: 40px; }
.barre a.actif { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }

/* Défaillances : couleur par type de procédure */
.carte.proc-sauvegarde { background: #eef6fd; border: 1.5px solid #3b9ae0; } .carte.proc-sauvegarde h3 { color: #1b6aa5; }
.carte.proc-redressement { background: #fff4e5; border: 1.5px solid #e8730c; } .carte.proc-redressement h3 { color: #a14f05; }
.carte.proc-liquidation { background: #fbeceb; border: 1.5px solid #b3412e; } .carte.proc-liquidation h3 { color: #8f3020; }
.etiquette.proc-sauvegarde { background: #3b9ae0; border-color: #3b9ae0; color: #fff; font-weight: 600; }
.etiquette.proc-redressement { background: #e8730c; border-color: #e8730c; color: #fff; font-weight: 600; }
.etiquette.proc-liquidation { background: #b3412e; border-color: #b3412e; color: #fff; font-weight: 600; }
.etiquette.sect-automobile { border-color: #1f3a5f; color: #1f3a5f; font-weight: 600; }
.etiquette.sect-transport { border-color: #6b4f9e; color: #6b4f9e; font-weight: 600; }
.etiquette.sect-industrie { border-color: #6b6862; color: #4a4843; font-weight: 600; }

/* Roue crantée des réglages */
.roue { display: inline-block; width: 26px; height: 26px; vertical-align: middle; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%232c5d8a%22 d=%22M19.4 13a7.6 7.6 0 0 0 0-2l2.1-1.6-2-3.5-2.5 1a7.5 7.5 0 0 0-1.7-1L15 3.3h-4l-.4 2.6a7.5 7.5 0 0 0-1.7 1l-2.5-1-2 3.5L6.6 11a7.6 7.6 0 0 0 0 2l-2.2 1.6 2 3.5 2.5-1a7.5 7.5 0 0 0 1.7 1l.4 2.6h4l.4-2.6a7.5 7.5 0 0 0 1.7-1l2.5 1 2-3.5zM13 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z%22 transform=%22translate(-1 0)%22/%3E%3C/svg%3E") no-repeat center / contain; opacity: .75; transition: transform .3s, opacity .2s; }
a.roue:hover { opacity: 1; transform: rotate(60deg); }
.reglages summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; list-style: none; }
.reglages summary::-webkit-details-marker { display: none; }
.reglages .roue { width: 20px; height: 20px; }
.liste-mails { list-style: none; padding: 0; margin: 12px 0; }
.liste-mails li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-top: 1px solid var(--ligne); max-width: 560px; }
details.corriger { display: inline-block; }
details.corriger > summary { display: inline; cursor: pointer; color: #2c5d8a; text-decoration: underline; list-style: none; }
details.corriger > summary::-webkit-details-marker { display: none; }
details.corriger[open] { display: block; margin: 6px 0; padding: 8px; background: #faf9f7; border: 1px solid var(--ligne); border-radius: 8px; }
/* fiche SAGADIS : blocs aérés sous la rémunération */
.carte > details.petit, .carte details.petit { margin: 12px 0; }
.carte > details.petit > summary { padding: 4px 0; }
.carte .form-ligne { margin: 14px 0; }
.bloc-tirelire { margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--ligne); }
.bloc-tirelire h3 { margin: 0 0 6px; font-size: 1.05rem; color: inherit; }
.bloc-tirelire > p { margin: 0 0 12px; }
.bloc-tirelire .defile { margin-bottom: 10px; }
/* portefeuille SAGADIS : tableau resserré pour tout afficher sans défilement horizontal */
.tableau.compact { font-size: .8rem; }
.tableau.compact th, .tableau.compact td { padding: 7px 6px; }
.tableau.compact th { white-space: normal; line-height: 1.2; vertical-align: bottom; }
.tableau.compact td.col-client { white-space: normal; min-width: 170px; max-width: 260px; }
.tableau.compact td.col-client .discret { font-size: .72rem; white-space: nowrap; }
.tableau.compact td.col-com, .tableau.compact th:nth-child(3) { text-align: left; }
.tableau.compact .etiquette { font-size: .7rem; padding: 1px 6px; }
.choix-com { display: flex; gap: 4px; align-items: center; margin: 0; }
.choix-com select { font-size: .78rem; padding: 2px 4px; max-width: 110px; border: 1px solid transparent; background: transparent; cursor: pointer; }
.choix-com select:hover, .choix-com select:focus { border-color: var(--ligne); background: #fff; }
.choix-com .com-autre { font-size: .78rem; padding: 2px 4px; width: 90px; }
.choix-com .com-ok { font-size: .75rem; padding: 2px 8px; }
.choix-com [hidden] { display: none !important; }
.bloc-com { padding: 10px 0; border-bottom: 1px solid var(--ligne); } .bloc-com:last-of-type { border-bottom: 0; }
/* Évolutions */
.pastille { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--rouge); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px; }
.evol-liste { display: flex; flex-direction: column; gap: 12px; }
.evol { border-left: 5px solid var(--accent); padding: 14px 18px; }
.evol.prio-haute { border-left-color: var(--rouge); }
.evol.prio-basse { border-left-color: #9aa3ad; }
.evol.evol-en_cours { background: #fff9e8; }
.evol.evol-fait { opacity: .65; border-left-color: var(--vert); }
.evol.evol-fait h3 { text-decoration: line-through; }
.evol-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.evol-tete h3 { font-size: 1rem; color: var(--texte); margin: 0; }
.evol.prio-haute .prio { background: var(--rouge); color: #fff; }
.evol-detail { margin: 6px 0 10px; font-size: .9rem; }
.evol-pied { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.evol-pied .choix-com select { border-color: var(--ligne); background: #fff; max-width: none; }
.hist-objectif { margin-top: 14px; } .hist-objectif summary { cursor: pointer; color: var(--accent); } .hist-objectif .tableau { margin-top: 8px; font-size: .82rem; }
/* Véhicules : tableau de suivi VN / VO */
.vh-entete { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.vh-entete h2 { margin: 0; }
.vh-table td, .vh-table th { text-align: center; }
.vh-table td.col-client, .vh-table th:first-child { text-align: left; }
.vh-table th.vh-vn { background: #e8f0f7; }
.vh-table th.vh-vo { background: #fdf1e4; }
.vh-case { width: 4.2em; padding: 3px 4px; text-align: center; font-size: .82rem; }
.vh-sous-total td { background: #f6f5f2; font-weight: 600; }
.vh-total td { background: #1f3a5f; color: #fff; font-weight: 700; }
.vh-total td .pos, .vh-total td .neg, .vh-total td .orange { color: #fff; }
.vh-histo td { color: #8a867f; font-size: .78rem; background: #fbfaf8; }
.vh-concession td { font-style: italic; }
.vh-ancien td { color: #9a968f; }
.orange { color: #e8730c; }
/* Véhicules : tableau aéré */
.vh-table { font-size: .9rem; border-collapse: separate; border-spacing: 0; }
.vh-table th, .vh-table td { padding: 10px 14px; }
.vh-table thead th { padding-top: 12px; padding-bottom: 12px; }
.vh-table td.col-client { min-width: 190px; padding-left: 16px; }
.vh-table td:nth-child(6) { border-left: 2px solid var(--ligne); }
.vh-case { width: 5em; padding: 6px 6px; font-size: .9rem; }
.vh-sous-total td { padding-top: 12px; padding-bottom: 12px; border-bottom: 10px solid #fff; }
.vh-total td { padding-top: 14px; padding-bottom: 14px; font-size: .95rem; }
.vh-histo td { padding-top: 7px; padding-bottom: 7px; }
.vh-histo:first-of-type td, .vh-total + .vh-histo td { padding-top: 14px; }
#objectifs .vh-entete { margin-bottom: 18px; }
#objectifs p button { margin-top: 18px; }
.vh-table { table-layout: fixed; width: 100%; }
.vh-table col.vh-col-nom { width: 20%; }
.vh-table col.vh-col { width: 8.88%; }
.vh-table thead th, .vh-table tbody td { text-align: center !important; vertical-align: middle; }
.vh-table thead th.vh-equipe, .vh-table tbody td.col-client, .vh-table tbody tr > td:first-child { text-align: left !important; }
.vh-table thead tr:first-child th { border-bottom: 2px solid #fff; }
.vh-table th.vh-autres { background: #eef3ea; } .vh-table td.vh-autres { background: #f7faf5; }

/* SAGA Ventes : logo Saga Automobiles, plus large que haut */
.barre .logo { height: 48px; }
@media (max-width: 640px) { .barre .logo { height: 34px; } }

/* SAGA Ventes : fond aux blasons Peugeot et Citroën (fichiers officiels fournis) au lieu des pièces */
body { background-image: url("fond_marques.png"); background-size: 360px 360px; }
body:has(.connexion) { background-image: url("fond_marques.png"), linear-gradient(160deg, #eef2f7 0%, #f6f5f2 55%, #f3ede4 100%); background-size: 360px 360px, cover; }

/* SAGA Ventes : page de connexion sur photo plein écran (voiture à droite, formulaire à gauche) */
body:has(.connexion) { background: #3a0005 url("connexion_photo.jpg") 0% 25% / max(114vw, 178vh) auto no-repeat fixed; }
body:has(.connexion) main { max-width: none; margin: 0; padding: 0 3.5vw; min-height: 100vh; justify-content: center; }
body:has(.connexion) .connexion { margin: 0; width: 100%; max-width: 400px; padding: 30px 32px; background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border: 0; }
body:has(.connexion) .flash { max-width: 400px; }
@media (max-width: 760px) {
  body:has(.connexion) { background-position: 62% center; background-size: cover; }
  body:has(.connexion) main { padding: 24px 16px; align-items: center; }
}

/* Connexion épurée : seulement les champs, en verre fumé sur la photo */
body:has(.connexion-epure) .connexion { background: transparent; box-shadow: none; padding: 0; max-width: 370px; }
.connexion-epure form { gap: 14px; }
.connexion-epure input { background: rgba(20, 0, 3, .38); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px; padding: 13px 16px; font-size: 1.05rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); width: 100%; box-sizing: border-box; }
.connexion-epure input::placeholder { color: rgba(255, 255, 255, .75); }
.connexion-epure input:focus { outline: none; border-color: rgba(255, 255, 255, .85); background: rgba(20, 0, 3, .5); }
.connexion-epure .mdp-boite { display: flex; gap: 8px; }
.connexion-epure .mdp-voir { background: rgba(20, 0, 3, .38); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px;
  padding: 0 14px; font-size: .9rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.connexion-epure button:not(.mdp-voir) { background: rgba(255, 255, 255, .92); color: #7a0010; font-weight: 600; border-radius: 10px; padding: 13px 16px; }
.connexion-epure button:not(.mdp-voir):hover { background: #fff; }
body:has(.connexion-epure) .flash { max-width: 340px; background: rgba(20, 0, 3, .55); color: #fff; backdrop-filter: blur(6px); }

@font-face { font-family: "SagaTitre"; src: url("titre.otf") format("opentype"); font-weight: 900; font-style: italic; font-display: swap; }
/* Titre de connexion, esprit GTI : plaque de calandre sombre et texturée, trois griffes lumineuses,
   lettres en contour rouge néon, liseré rouge (clin d'œil au filet rouge des GTI) */
.titre-sport { position: relative; margin: 0 0 14px; padding: 20px 18px 16px 58px; overflow: hidden; text-align: left;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, .07);
  background:
    repeating-linear-gradient(-14deg, transparent 0 9px, rgba(255, 255, 255, .025) 9px 10px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 0, 0, .25) 22px 24px),
    linear-gradient(180deg, #24100f 0%, #120506 55%, #080203 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -18px 30px rgba(0, 0, 0, .5), 0 14px 34px rgba(0, 0, 0, .5); }
.titre-sport::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ff1f33 18%, #ff1f33 82%, transparent 100%); box-shadow: 0 0 10px rgba(255, 31, 51, .8); }
.titre-sport .griffes { position: absolute; left: 18px; top: 50%; width: 26px; height: 40px; transform: translateY(-58%) skewX(-24deg);
  background: linear-gradient(90deg, #ff1f33 0 4px, transparent 4px 11px, #ff1f33 11px 15px, transparent 15px 22px, #ff1f33 22px 26px);
  filter: drop-shadow(0 0 4px rgba(255, 31, 51, .9)) drop-shadow(0 0 10px rgba(255, 0, 30, .5)); }
.titre-sport span { display: block; transform: skewX(-6deg) scaleX(1.08); transform-origin: left center;
  font: italic 900 1.95rem/1 "SagaTitre", "Arial Black", sans-serif; letter-spacing: .05em; white-space: nowrap;
  color: rgba(255, 31, 51, .08); -webkit-text-stroke: 1.7px #ff2639;
  text-shadow: 0 0 3px rgba(255, 30, 50, .95), 0 0 12px rgba(255, 0, 30, .6), 0 0 26px rgba(255, 0, 30, .3); }
.titre-sport small { display: block; margin-top: 9px; font: 600 .68rem/1 system-ui, sans-serif; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .titre-sport span { font-size: 1.6rem; } .titre-sport { padding-left: 50px; } }
.connexion h1.titre-sport { text-align: left; font-size: inherit; margin: 0 0 14px; padding-left: 56px; }
