:root{--fond: #f4f1ea;--surface: #ffffff;--texte: #1c1b18;--texte-doux: #57544c;--bordure: #d6d0c2;--vert: #2e6b34;--vert-fonce: #1f4d24;--vert-clair: #e2efdf;--ambre: #8a4f00;--ambre-clair: #fff0d4;--rouge: #a8231b;--rouge-clair: #fde6e3;--bleu-clair: #e7eef8;--rayon: 14px;--hauteur-nav: 64px;--bas-securite: env(safe-area-inset-bottom, 0px);color-scheme:light}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--fond);color:var(--texte);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:17px;line-height:1.4;-webkit-tap-highlight-color:transparent;min-height:100dvh}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}h1,h2{margin:0}.ecran{padding-bottom:calc(var(--hauteur-nav) + var(--bas-securite) + 24px)}.ecran.avec-pied{padding-bottom:calc(var(--hauteur-nav) + var(--bas-securite) + 150px)}.entete{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:4px;min-height:56px;padding:env(safe-area-inset-top,0px) 12px 0 12px;background:var(--surface);border-bottom:1px solid var(--bordure)}.entete h1{flex:1;font-size:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entete-retour{width:48px;height:48px;margin-left:-8px;border:0;background:none;font-size:34px;line-height:1;color:var(--vert)}.entete-action{flex-shrink:0}.contenu{display:flex;flex-direction:column;gap:16px;max-width:640px;margin:0 auto;padding:16px}.bouton{min-height:48px;padding:0 18px;border:2px solid transparent;border-radius:12px;font-weight:600}.bouton:disabled{opacity:.45;cursor:default}.bouton-principal{background:var(--vert);color:#fff}.bouton-principal:active{background:var(--vert-fonce)}.bouton-secondaire{background:var(--surface);border-color:var(--vert);color:var(--vert)}.bouton-danger{background:var(--surface);border-color:var(--rouge);color:var(--rouge)}.bouton-discret{background:transparent;color:var(--texte-doux)}.bouton-grand{min-height:58px;font-size:18px}.bouton-plein{width:100%}.lien{min-height:44px;padding:0 4px;border:0;background:none;color:var(--vert);font-weight:600;text-align:left}.lien-danger{color:var(--rouge)}.titre-lien{font-size:22px;padding:0}.boutons-ligne{display:flex;flex-wrap:wrap;gap:10px}.boutons-ligne .bouton{flex:1 1 auto}.groupe{display:flex;flex-direction:column;gap:6px}.libelle{font-size:15px;font-weight:600;color:var(--texte-doux)}.puces{display:flex;flex-wrap:wrap;gap:8px}.puce{display:inline-flex;flex-direction:column;justify-content:center;min-height:48px;padding:6px 14px;border:2px solid var(--bordure);border-radius:12px;background:var(--surface);text-align:left}.puce-libelle{font-weight:600}.puce-detail{font-size:13px;color:var(--texte-doux)}.puce-choisie{border-color:var(--vert);background:var(--vert-clair)}.puce-choisie .puce-detail{color:var(--vert-fonce)}.puce-alerte .puce-detail{color:var(--ambre)}.puces-info{margin-top:6px}.info{padding:4px 10px;border-radius:999px;background:var(--vert-clair);color:var(--vert-fonce);font-size:15px}.segments{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:2px solid var(--vert);border-radius:12px;overflow:hidden}.segment{min-height:48px;padding:0 6px;border:0;border-left:1px solid var(--vert);background:var(--surface);color:var(--vert);font-weight:600}.segment:first-child{border-left:0}.segment-choisi{background:var(--vert);color:#fff}.champ{display:flex;flex-direction:column;gap:6px}.champ input,.champ textarea,.animal input,.proportion input,.encadre textarea,.encadre input{width:100%;min-height:52px;padding:10px 14px;border:2px solid var(--bordure);border-radius:12px;background:var(--surface);font-size:18px}.champ input:focus,.champ textarea:focus,.recherche-champ:focus{outline:none;border-color:var(--vert)}.aide{font-size:14px;color:var(--texte-doux)}.champ-nombre{display:flex;align-items:center;gap:8px}.champ-nombre input{flex:1;font-size:20px;font-weight:600}.unite{color:var(--texte-doux);font-weight:600;white-space:nowrap}.rapides{display:flex;gap:8px}.rapide{min-width:60px;min-height:44px;border:2px solid var(--bordure);border-radius:10px;background:var(--surface);font-weight:600}.interrupteur{display:flex;align-items:center;gap:12px;min-height:48px}.interrupteur input{width:26px;height:26px;accent-color:var(--vert)}.champ-ajout{display:flex;align-items:flex-end;gap:10px}.champ-ajout .champ{flex:1}.recherche{display:flex;flex-direction:column;gap:10px}.recherche-barre{display:flex;gap:8px}.recherche-champ{flex:1;min-width:0;min-height:58px;padding:0 16px;border:2px solid var(--bordure);border-radius:14px;background:var(--surface);font-size:20px}.recherche-mode{flex-shrink:0;width:58px;border:2px solid var(--bordure);border-radius:14px;background:var(--surface);font-weight:700;font-size:14px}.section{display:flex;flex-direction:column;gap:10px}.section-entete{display:flex;align-items:center;justify-content:space-between}.section h2,.ligne-vente h2{font-size:18px}.liste{display:flex;flex-direction:column;border:1px solid var(--bordure);border-radius:var(--rayon);background:var(--surface);overflow:hidden}.liste:empty{display:none}.ligne{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px;padding:10px 16px;border:0;border-bottom:1px solid var(--bordure);background:none;text-align:left}.ligne:last-child{border-bottom:0}.ligne-cliquable:active{background:var(--vert-clair)}.ligne-texte{display:flex;flex-direction:column;min-width:0}.ligne-titre{font-weight:600}.ligne-sous-titre{font-size:14px;color:var(--texte-doux)}.ligne-droite{flex-shrink:0;text-align:right;color:var(--texte-doux)}.droite-colonne{display:flex;flex-direction:column;align-items:flex-end;gap:4px;color:var(--texte)}.droite-ligne{display:flex;align-items:center;gap:10px;color:var(--texte)}.barre{text-decoration:line-through;color:var(--texte-doux)}.carte{display:flex;flex-direction:column;gap:8px;width:100%;padding:14px 16px;border:1px solid var(--bordure);border-radius:var(--rayon);background:var(--surface);text-align:left}.carte-cliquable:active{background:var(--vert-clair)}.carte-alerte{border:2px solid var(--ambre)}.carte-ligne{display:flex;align-items:center;justify-content:space-between;gap:10px}.carte-titre{font-weight:700;font-size:18px}.carte-sous-titre{font-size:14px;color:var(--texte-doux)}.carte-chiffre{font-size:28px;font-weight:700}.grille{display:grid;grid-template-columns:1fr;gap:12px}@media(min-width:560px){.grille{grid-template-columns:1fr 1fr}}.encadre{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px dashed var(--bordure);border-radius:var(--rayon);background:var(--surface)}.texte{margin:0}.notes{white-space:pre-wrap}.total-liste{padding:4px 2px;text-align:right;font-size:18px}.total-faux{color:var(--rouge)}.vide{padding:16px;color:var(--texte-doux);text-align:center}.chargement{padding:40px 16px;color:var(--texte-doux);text-align:center}.version{color:var(--texte-doux);font-size:13px;text-align:center}.fiche-entete{display:flex;flex-direction:column;gap:4px}.telephone{font-size:24px;font-weight:700;color:var(--vert);text-decoration:none}.metier{color:var(--texte-doux)}.ligne-badges{margin-top:4px}.grand-chiffre{font-size:40px;font-weight:800;line-height:1.1}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}.badge-ok{background:var(--vert-clair);color:var(--vert-fonce)}.badge-attention{background:var(--ambre-clair);color:var(--ambre)}.badge-danger{background:var(--rouge-clair);color:var(--rouge)}.badge-neutre{background:#ebe7de;color:var(--texte-doux)}.message{padding:12px 14px;border-radius:12px}.message-info{background:var(--bleu-clair)}.message-ok{background:var(--vert-clair)}.message-attention{background:var(--ambre-clair);color:#5c3500}.message-danger{background:var(--rouge-clair);color:#6e140e;font-weight:600}.jauge{height:10px;border-radius:999px;background:#e6e1d5;overflow:hidden}.jauge-remplie{height:100%;background:var(--vert)}.jauge-alerte{background:var(--ambre)}.boutons-rapides{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rapide-accueil{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:96px;border:2px solid var(--vert);border-radius:16px;background:var(--surface);color:var(--vert);font-size:18px;font-weight:700}.rapide-principal{background:var(--vert);color:#fff}.rapide-icone{font-size:28px;line-height:1}.ligne-vente{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--bordure);border-radius:var(--rayon);background:var(--surface)}.ligne-vente-entete{display:flex;justify-content:space-between;align-items:center}.ligne-montant{display:flex;justify-content:space-between;align-items:center;font-size:18px}.pied-vente{display:flex;flex-direction:column;gap:6px}.pied-total{display:flex;justify-content:space-between;font-size:18px}.pied-total strong{font-size:22px}.pied-aide{font-size:14px;color:var(--texte-doux);text-align:center}.animal{display:grid;grid-template-columns:1fr 96px auto;gap:8px;align-items:center}.proportion{display:grid;grid-template-columns:1fr 100px auto;gap:10px;align-items:center}.proportion-nom{font-weight:600}.grille-prix{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.champ-prix input{font-size:17px;padding:8px}.champ-prix .unite{display:none}.pied-fixe{position:fixed;left:0;right:0;bottom:calc(var(--hauteur-nav) + var(--bas-securite));z-index:20;padding:10px 16px;background:var(--surface);border-top:1px solid var(--bordure);box-shadow:0 -4px 12px #0000000f}.pied-fixe>*{max-width:608px;margin:0 auto}.barre-navigation{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);height:calc(var(--hauteur-nav) + var(--bas-securite));padding-bottom:var(--bas-securite);background:var(--surface);border-top:1px solid var(--bordure)}.onglet{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:none;color:var(--texte-doux);font-size:12px;font-weight:600}.onglet-icone{font-size:22px;line-height:1}.onglet-actif{color:var(--vert)}.avis{position:fixed;top:calc(env(safe-area-inset-top,0px) + 8px);left:12px;right:12px;z-index:50;max-width:616px;margin:0 auto;padding:14px 44px 14px 16px;border-radius:14px;box-shadow:0 6px 20px #0000002e}.avis-ok{background:var(--vert);color:#fff}.avis-attention{background:var(--ambre-clair);color:#4a2b00;border:2px solid var(--ambre)}.avis-texte{font-weight:700}.avis-detail{margin-top:6px;font-size:15px}.avis-fermer{position:absolute;top:6px;right:6px;width:40px;height:40px;border:0;background:none;font-size:18px;color:inherit}.voile{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;background:#0006}.fenetre{display:flex;flex-direction:column;gap:14px;width:100%;max-width:640px;padding:20px 16px calc(20px + var(--bas-securite));border-radius:20px 20px 0 0;background:var(--surface)}.fenetre h2{font-size:20px}.fenetre-boutons{display:flex;flex-direction:column;gap:8px}.conseil-installation{left:12px;right:12px;bottom:calc(var(--hauteur-nav) + var(--bas-securite) + 12px);z-index:25;display:flex;align-items:center;gap:8px;padding:12px 8px 12px 14px;border-radius:14px;background:var(--bleu-clair);box-shadow:0 4px 14px #0000001f;position:fixed}.ecran-connexion{padding-bottom:24px}.ecran-connexion .contenu{padding-top:12vh}.logo{font-size:56px;text-align:center}.titre-connexion{text-align:center;font-size:26px}.formulaire{display:flex;flex-direction:column;gap:14px}
