:root{--sol: #f3f4f1;--surface: #ffffff;--encre: #14181b;--encre-2: #22272b;--discret: #5b6168;--bordure: #dcdfd8;--ligne: #edefea;--vert: #1f6f4a;--vert-fonce: #185a3c;--vert-clair: #e4f1ea;--orange: #b4480e;--orange-texte: #8a3609;--orange-clair: #fbeadf;--bleu-clair: #e9eef6;--rayon: 12px;--rayon-petit: 8px;--ombre: 0 1px 2px rgba(20, 24, 27, .04), 0 2px 8px rgba(20, 24, 27, .04);--marge: 16px;--tactile: 48px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.45;color:var(--encre);background:var(--sol);-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #7fc4a1;outline-offset:2px}img{max-width:100%}h1,h2,h3{line-height:1.2}.ecran{min-height:100dvh;display:flex;flex-direction:column}.entete{background:var(--encre);color:#fff;padding:12px var(--marge);padding-top:max(12px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;gap:12px}.marque{display:flex;align-items:center;gap:10px;min-width:0}.marque img{flex:none}.marque h1{margin:0;font-size:17px;white-space:nowrap}.marque p{margin:0;font-size:12px;color:#c9cec6}.entete-droite{display:flex;align-items:center;gap:10px}.reseau{margin:0;font-size:12px;font-weight:600;padding:5px 9px;border-radius:var(--rayon-petit);background:#2a2f34;white-space:nowrap}.reseau.ok{color:#6fd39c}.reseau.hors{color:#f2b27a}.qui{display:none;margin:0;flex-direction:column;align-items:flex-end;font-size:13px;line-height:1.25}.qui span{color:#c9cec6;font-size:12px}.bouton-entete{height:36px;padding:0 12px;border-radius:var(--rayon-petit);border:1px solid #3a4046;background:transparent;color:#e6e9e4;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.bouton-entete:hover{background:#2a2f34}.cadre{flex:1;display:flex;flex-direction:column;min-width:0}.navigation{position:sticky;top:0;z-index:10;display:flex;gap:4px;padding:8px var(--marge);background:var(--surface);border-bottom:1px solid var(--bordure);overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}.navigation::-webkit-scrollbar{display:none}.groupe-nav{display:contents}.titre-groupe{display:none}.onglet{flex:none;height:40px;padding:0 14px;border:0;border-radius:var(--rayon-petit);background:transparent;font-size:14px;color:var(--discret);cursor:pointer;white-space:nowrap;scroll-snap-align:start;text-align:left}.onglet:hover{background:var(--sol);color:var(--encre)}.onglet.actif{background:var(--encre);color:#fff;font-weight:600}.contenu{width:100%;max-width:1200px;margin-inline:auto;padding:var(--marge);padding-bottom:max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px;min-width:0}.carte{background:var(--surface);border:1px solid var(--bordure);border-radius:var(--rayon);padding:16px;box-shadow:var(--ombre);min-width:0}.carte h2{margin:0 0 10px;font-size:17px}.carte h3{margin:16px 0 8px;font-size:15px}.discret{margin:4px 0 0;font-size:13px;color:var(--discret)}.etat{margin:0;font-weight:600}.etat.ok{color:var(--vert)}.etat.degrade,.etat.injoignable{color:var(--orange)}.texte-alerte{color:var(--orange-texte);font-weight:700}.info{margin:12px 0 0;padding:10px 12px;border-radius:var(--rayon-petit);font-weight:600;font-size:14px;background:var(--bleu-clair)}.info.ok{background:var(--vert-clair);color:#174f36}.erreur{margin:12px 0 0;padding:10px 12px;border-radius:var(--rayon-petit);background:var(--orange-clair);color:var(--orange-texte);font-size:14px;font-weight:600}.alerte{display:flex;flex-direction:column;gap:8px;padding:12px;margin-bottom:12px;border-radius:10px;background:var(--orange-clair);color:var(--orange-texte);font-size:14px}.cle{display:inline-block;margin-top:6px;padding:6px 10px;border-radius:6px;background:var(--encre-2);color:#fff;font-size:15px;letter-spacing:1px;word-break:break-all;-webkit-user-select:all;user-select:all}.aide,.pied{margin:0;text-align:center;font-size:13px;color:#9aa1a8}.bouton{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:var(--tactile);padding:0 18px;border-radius:10px;border:0;font-weight:600;font-size:16px;cursor:pointer;text-decoration:none}.bouton:disabled{opacity:.55;cursor:not-allowed}.bouton.principal{background:var(--vert);color:#fff}.bouton.principal:not(:disabled):hover{background:var(--vert-fonce)}.bouton.secondaire{background:var(--surface);color:var(--encre);border:1px solid var(--bordure)}.bouton.secondaire:hover{background:var(--sol)}.bouton.lien{background:transparent;color:#c9cec6;height:44px}.bouton.petit{height:40px;padding:0 14px;font-size:14px;background:var(--surface);border:1px solid var(--bordure);color:var(--encre)}.bouton.petit:not(:disabled):hover{background:var(--sol)}.bouton.petit.principal{background:var(--vert);border-color:var(--vert);color:#fff}.bouton.petit.principal:not(:disabled):hover{background:var(--vert-fonce)}.bouton.photo{margin-top:4px;background:var(--surface);border:1px dashed var(--orange);color:var(--orange-texte);font-size:15px}.lien-tableau{border:0;background:none;padding:0;font-weight:600;color:var(--vert);cursor:pointer;text-align:left}.lien-tableau:hover{text-decoration:underline}.sombre-texte{color:var(--discret)!important;width:100%}.ligne input,.ligne select,.filtres input,.filtres select,td select,.alerte input,.champ input,.recherche{width:100%;height:44px;padding:0 12px;border-radius:var(--rayon-petit);border:1px solid var(--bordure);background:var(--surface);font-size:16px}.ligne input:focus,.ligne select:focus,.filtres input:focus,.filtres select:focus,.alerte input:focus,.champ input:focus,.recherche:focus{border-color:var(--vert);outline:none;box-shadow:0 0 0 3px #cde6d8}.recherche{height:var(--tactile);margin-bottom:12px}.ligne input,.ligne select,.filtres input,.filtres select,.alerte input,.champ input,.recherche{font-weight:400;color:var(--encre)}::placeholder{color:#9aa1a8;font-weight:400;opacity:1}.ligne{display:grid;grid-template-columns:1fr;gap:12px;align-items:end;margin:12px 0}.ligne label,.filtres label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;color:var(--discret);min-width:0}.ligne input[type=number]{max-width:140px}.ligne .bouton{width:100%}.filtres{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:12px 0}.filtres input{flex:2 1 220px;width:auto}.filtres select{flex:1 1 160px;width:auto}.champ{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--discret);margin-bottom:12px}.sombre{background:var(--encre);color:#fff;padding:56px 24px 32px;justify-content:space-between;gap:32px}.sombre>*{width:100%;max-width:420px;margin-inline:auto}.centre{align-items:center;justify-content:center}.bloc-marque{display:flex;flex-direction:column;gap:12px}.bloc-marque h1{margin:0;font-size:30px}.bloc-marque p{margin:0;color:#c9cec6;font-size:15px}.formulaire{display:flex;flex-direction:column;gap:14px}.formulaire label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#c9cec6}.formulaire input{height:52px;padding:0 14px;border-radius:10px;border:1px solid #3a4046;background:var(--encre-2);color:#fff;font-size:16px}.formulaire input:focus{border-color:#6fd39c;outline:none}.formulaire .bouton{width:100%;height:52px}.qr{display:flex;flex-direction:column;align-items:center;gap:12px}.qr img{background:#fff;border-radius:var(--rayon);padding:8px}.defile{overflow-x:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse}th{text-align:left;font-size:12px;font-weight:600;color:var(--discret);padding:8px 10px;border-bottom:1px solid var(--bordure);white-space:nowrap}td{padding:10px;border-bottom:1px solid var(--ligne);font-size:14px;vertical-align:middle}tbody tr:hover td{background:#fafbf9}td input[type=checkbox]{width:22px;height:22px;accent-color:var(--vert)}.pastille{display:inline-block;font-size:12px;font-weight:700;padding:3px 8px;border-radius:10px}.pastille.ok{color:var(--vert);background:var(--vert-clair)}.pastille.hs{color:var(--orange-texte);background:var(--orange-clair)}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:12px;flex-wrap:wrap;gap:8px}.actions-compte .bouton{margin:3px 6px 3px 0}@media(max-width:699px){.tableau-cartes thead{display:none}.tableau-cartes,.tableau-cartes tbody,.tableau-cartes tr,.tableau-cartes td{display:block;width:100%}.tableau-cartes tr{border:1px solid var(--bordure);border-radius:10px;padding:6px 12px;margin-bottom:10px;background:var(--surface)}.tableau-cartes tbody tr:hover td{background:transparent}.tableau-cartes td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--ligne);text-align:right}.tableau-cartes td:last-child{border-bottom:0}.tableau-cartes td:before{content:attr(data-label);flex:none;text-align:left;font-size:12px;font-weight:600;color:var(--discret)}.tableau-cartes td.actions-compte{flex-direction:column;align-items:stretch;gap:6px}.tableau-cartes td.actions-compte .bouton{width:100%;margin:0}}.tuiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tuile{background:var(--surface);border:1px solid var(--bordure);border-radius:var(--rayon);padding:14px;display:flex;flex-direction:column;gap:2px;box-shadow:var(--ombre)}.tuile strong{font-size:28px}.grandes-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.action{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:6px;min-height:110px;padding:16px;border-radius:var(--rayon);border:1px solid var(--bordure);background:var(--surface);font-size:20px;font-weight:700;text-align:left;cursor:pointer;box-shadow:var(--ombre)}.action:hover{border-color:var(--encre)}.action span{font-size:13px;font-weight:400;color:var(--discret)}.action.principale{background:var(--vert);color:#fff;border-color:var(--vert)}.action.principale:hover{background:var(--vert-fonce)}.action.principale span{color:#d6ebdf}.scanner{display:flex;flex-direction:column;gap:8px;margin:12px 0}.camera{position:relative;background:var(--encre-2);border-radius:var(--rayon);overflow:hidden;aspect-ratio:4 / 3;max-height:50dvh}.camera video{width:100%;height:100%;object-fit:cover}.camera-erreur{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;color:#f2b27a;margin:0}.controle h2{margin:0 0 12px;font-size:24px}.controle .bouton.principal{width:100%}.tout-ok{width:100%;background:var(--vert-clair);color:#174f36;border:2px solid var(--vert)!important;margin-bottom:12px}.criteres{display:flex;flex-direction:column;border:1px solid var(--bordure);border-radius:var(--rayon);margin-bottom:12px}.critere{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 12px;border-top:1px solid var(--ligne);font-weight:600}.critere:first-child{border-top:0}.choix{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}.choix-btn{min-width:64px;height:var(--tactile);padding:0 12px;border-radius:var(--rayon-petit);border:2px solid var(--bordure);background:var(--surface);font-weight:700;cursor:pointer;color:var(--discret)}.choix-btn.ok,.choix-btn.actif{background:var(--vert);border-color:var(--vert);color:#fff}.choix-btn.hs{background:var(--orange);border-color:var(--orange);color:#fff}.liste-faits,.liste-choix,.historique{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-direction:column;gap:8px}.liste-faits li,.historique li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;border:1px solid var(--bordure);background:var(--surface);font-size:14px}.liste-faits li.refusee,.historique li.hs{background:var(--orange-clair);border-color:#f1c7a8}.liste-faits li.en_attente{background:var(--bleu-clair);border-color:#c6d4ea}.liste-choix button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border-radius:10px;border:1px solid var(--bordure);background:var(--surface);text-align:left;cursor:pointer;min-height:56px}.liste-choix button:hover{border-color:var(--encre)}.liste-choix button span{font-size:13px;color:var(--discret)}.vignettes{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.vignettes img{width:72px;height:72px;object-fit:cover;border-radius:6px;border:1px solid var(--bordure);display:block}.fiche{margin-top:16px;padding:16px;border-radius:var(--rayon);border:2px solid var(--encre);background:#fafaf8}.fiche-entete{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.fiche-entete h2,.fiche-entete h3{margin:0}.planche{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.etiquette{display:flex;align-items:center;gap:10px;padding:8px;border:1px dashed #9aa1a8;border-radius:6px;break-inside:avoid}.etiquette div{display:flex;flex-direction:column;gap:2px}.etiquette strong{font-size:18px}.etiquette span{font-size:11px;color:var(--discret)}@media(max-width:379px){:root{--marge: 12px}.marque p{display:none}.action{min-height:96px;font-size:18px}.tuile strong{font-size:24px}}@media(min-width:700px){:root{--marge: 24px}.qui{display:flex}.ligne{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.ligne .bouton{width:auto;min-width:140px;height:44px;justify-self:start}.tuiles,.grandes-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.carte{padding:20px}.controle,.contenu>.carte:has(.scanner){width:100%;max-width:680px;margin-inline:auto}}@media(min-width:1100px){.entete{padding:14px 28px}.cadre{flex-direction:row;align-items:stretch;background:linear-gradient(to right,var(--surface) 232px,var(--bordure) 232px,var(--bordure) 233px,var(--sol) 233px)}.navigation{position:sticky;top:0;align-self:flex-start;flex-direction:column;gap:2px;flex:none;width:233px;max-height:100dvh;overflow-y:auto;overflow-x:hidden;padding:16px 12px;border-bottom:0;border-right:1px solid var(--bordure);background:transparent}.groupe-nav{display:flex;flex-direction:column;gap:2px;margin-bottom:14px}.titre-groupe{display:block;margin:0 0 4px;padding:0 12px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a9097}.onglet{width:100%;height:38px;padding:0 12px}.contenu{padding:28px 32px}.carte h2{font-size:18px}}.entete-page{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.entete-page h2{margin:0;font-size:22px}.titre-carte{margin:0 0 12px;font-size:15px;font-weight:700}.fiche-entete .titre-carte{margin:0}.fiche-entete+*{margin-top:12px}.maj{margin:-4px 0 0}.discret-inline{font-size:13px;color:var(--discret)}.barre-outils{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.segments{display:inline-flex;padding:3px;gap:2px;border-radius:10px;background:#e6e8e3;max-width:100%;overflow-x:auto}.segment{height:38px;padding:0 16px;border:0;border-radius:8px;background:transparent;font-size:14px;font-weight:600;color:var(--discret);cursor:pointer;white-space:nowrap}.segment:hover{color:var(--encre)}.segment.actif{background:var(--surface);color:var(--encre);box-shadow:0 1px 3px #14181b1f}.segments.petits .segment{height:32px;padding:0 12px;font-size:13px}.raccourcis{margin-top:12px}.indicateurs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.indicateur{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 16px;border-radius:var(--rayon);background:var(--surface);border:1px solid var(--bordure);box-shadow:var(--ombre);overflow:hidden}.indicateur:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--bordure)}.indicateur.ton-bon:before{background:var(--vert)}.indicateur.ton-alerte:before{background:var(--orange)}.indicateur-libelle{font-size:13px;font-weight:600;color:var(--discret)}.indicateur strong{font-size:30px;line-height:1.1;letter-spacing:-.01em}.indicateur strong small{font-size:15px;font-weight:600;color:var(--discret)}.indicateur.ton-alerte strong{color:var(--orange-texte)}.indicateur-aide{font-size:12px;color:var(--discret)}.variation{font-size:12px;font-weight:600;color:var(--discret)}.variation.hausse,.variation.baisse{color:var(--encre)}.grille-2,.grille-3{display:grid;grid-template-columns:1fr;gap:16px}.grille-2>.carte,.grille-3>.carte{min-width:0}.graphique{position:relative;width:100%;-webkit-user-select:none;user-select:none}.graphique svg{display:block;overflow:visible;touch-action:pan-y}.graphique .grille{stroke:#edefea;stroke-width:1}.graphique .axe,.anneau .axe{font-size:11px;fill:#7b8188}.graphique .repere{stroke:#9aa1a8;stroke-dasharray:3 3}.infobulle{position:absolute;top:4px;z-index:2;width:150px;pointer-events:none;display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:var(--rayon-petit);background:var(--encre);color:#fff;font-size:12px;box-shadow:0 4px 16px #0000002e}.infobulle i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}.legende{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;padding:0;margin:10px 0 0;font-size:13px;color:var(--discret)}.legende li{display:inline-flex;align-items:center;gap:6px}.legende strong{color:var(--encre);margin-left:2px}.pastille-couleur{width:10px;height:10px;border-radius:3px;flex:none}.anneau{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:center}.anneau svg{flex:none}.anneau .legende{flex-direction:column;margin:0;gap:8px}.anneau-total{font-size:26px;font-weight:700;fill:var(--encre)}.classement{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.classement li{display:flex;flex-direction:column;gap:4px}.classement-texte{display:flex;flex-direction:column;gap:1px;font-size:14px;font-weight:600;min-width:0}.classement-texte small{font-size:12px;font-weight:400;color:var(--discret);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classement-barre{display:flex;align-items:center;gap:8px}.classement-barre span{height:10px;border-radius:5px;flex:none;max-width:calc(100% - 70px)}.classement-barre b{font-size:13px;white-space:nowrap}.jauge{display:inline-flex;align-items:center;gap:8px;font-weight:600}.jauge .piste{display:inline-block;width:64px;height:8px;border-radius:4px;background:#edefea;overflow:hidden}.jauge .piste span{display:block;height:100%;border-radius:4px;background:var(--vert)}.jauge .piste span.alerte{background:var(--orange)}.fil{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}.operation{display:grid;grid-template-columns:52px 92px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;border-top:1px solid var(--ligne);font-size:14px}.operation:first-child{border-top:0}.operation-heure{display:flex;flex-direction:column;font-variant-numeric:tabular-nums;font-weight:600;color:var(--discret)}.operation-heure small{font-size:11px;font-weight:400}.operation-type{justify-self:start;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px;background:var(--sol);color:var(--discret);white-space:nowrap}.operation-type.sortie{background:var(--vert-clair);color:#174f36}.operation-type.retour{background:#e3ecf7;color:#1f4d80}.operation-type.envoi_reparation,.operation-type.reforme{background:var(--orange-clair);color:var(--orange-texte)}.operation-corps{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 4px;min-width:0}.operation-corps small{flex-basis:100%;font-size:12px;color:var(--discret)}.operation.hs{background:linear-gradient(to right,transparent,#fdf3ec)}.bienvenue{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.bienvenue h2{margin:0;font-size:20px}.bienvenue .etat{font-size:13px}.ouvrir-tableau{width:100%;margin-top:16px}.filtres-grille label{min-width:0}@media(max-width:699px){.operation{grid-template-columns:46px minmax(0,1fr);row-gap:4px}.operation-heure{grid-row:span 2}.operation-type,.operation-corps{grid-column:2}.entete-page .segments{width:100%}.entete-page .segment{flex:1}.barre-outils .segments{width:100%}.barre-outils .segment{flex:1;padding:0 6px}.reseau{width:12px;height:12px;padding:0;font-size:0;border-radius:50%}.reseau.ok{background:#3fbf7a}.reseau.hors{background:#f2a057}}@media(max-width:379px){.indicateur strong{font-size:24px}}@media(min-width:700px){.indicateurs{grid-template-columns:repeat(4,minmax(0,1fr))}.grille-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grille-2.large-gauche{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.filtres-grille{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(min-width:700px)and (max-width:1099px){.grille-2.large-gauche{grid-template-columns:1fr}.grille-3{grid-template-columns:repeat(2,minmax(0,1fr))}.grille-3>:first-child{grid-column:1 / -1}}@media(min-width:1100px){.grille-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media print{.non-imprime{display:none!important}body,.ecran,.cadre,.contenu{background:#fff;padding:0;margin:0;max-width:none;display:block}.carte{border:0;padding:0;box-shadow:none}.planche{grid-template-columns:repeat(3,1fr)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
