:root,[data-theme=sombre]{--fond:#0d0d10;--carte:#17171b;--carte-2:#202026;--bord:#2c2c33;--texte:#f2f2f4;--legende:#a2a2aa;--accent:#ff7a1a;--accent-pale:rgba(255,122,26,.14);--rouge:#ff6a5a;--vert:#7fd6a0;--sur-fort:#0d0d10;--feuille:#131317;--poignee:#3a3a42;--voile:rgba(0,0,0,.55);--lueur:rgba(255,122,26,.1);--ombre-fort:none;color-scheme:dark}[data-theme=clair]{--fond:#eeeeef;--carte:#ffffff;--carte-2:#e7e7ea;--bord:#dcdce1;--texte:#0d0d10;--legende:#6c6c74;--accent:#e2600c;--accent-pale:rgba(226,96,12,.1);--rouge:#cf3b2c;--vert:#1c9a57;--sur-fort:#ffffff;--feuille:#f8f8f9;--poignee:#c8c8ce;--voile:rgba(20,20,26,.3);--lueur:rgba(255,122,26,.07);--ombre-fort:0 6px 18px rgba(0,0,0,.12);color-scheme:light}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%}body{font-family:Space Grotesk,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--fond);color:var(--texte);overscroll-behavior:none}button,input{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}button:disabled{opacity:.5}.ico{width:22px;height:22px;flex:none}.ecran{min-height:100%;display:flex;flex-direction:column;background:var(--fond);background-image:radial-gradient(ellipse 80% 30% at 50% -5%,var(--lueur),transparent 70%)}.ecran.centre{align-items:center;justify-content:center}.contenu{flex:1;padding:calc(10px + env(safe-area-inset-top)) 16px 230px;max-width:560px;width:100%;margin:0 auto}.marque{font-size:21px;font-weight:600;letter-spacing:-.01em}.marque b{color:var(--accent);font-weight:600}.marque.grande{font-size:34px}.legende{color:var(--legende);font-size:14px;line-height:1.45}.legende.petit,.petit{font-size:12.5px}.centre-texte{text-align:center}h2{font-size:20px;font-weight:600;margin:18px 0 6px}h3{font-size:19px;font-weight:600;margin-bottom:14px}.erreur{color:var(--rouge);font-size:14px;text-align:center;padding:8px}.entete{display:flex;justify-content:space-between;align-items:center;margin:6px 0 16px;min-height:40px}.entete.centre{justify-content:center}.titre-ecran{font-size:18px;font-weight:600}.temoin{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--legende);background:var(--carte);border-radius:99px;padding:8px 12px 8px 10px}.temoin .point{width:7px;height:7px;border-radius:50%;background:var(--vert)}.temoin.orange .point{background:var(--accent)}.frigos{display:flex;gap:8px;margin-bottom:18px;overflow-x:auto;scrollbar-width:none}.frigos::-webkit-scrollbar{display:none}.frigo{flex:1;min-width:96px;background:var(--carte);border-radius:22px;padding:12px 9px 12px 11px}.frigo .n{font-size:11.5px;color:var(--legende);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.frigo .t{font-size:26px;font-weight:600;margin:6px 0 2px;letter-spacing:-.02em}.frigo .t small{font-size:14px;color:var(--legende)}.frigo .q{font-size:11px;color:var(--legende);display:flex;align-items:center;gap:6px}.frigo .q i{width:6px;height:6px;border-radius:50%;background:var(--vert)}.frigo.retard,.frigo.alerte{box-shadow:inset 0 0 0 1px var(--accent)}.frigo.retard .q,.frigo.alerte .q{color:var(--accent)}.frigo.retard .q i,.frigo.alerte .q i{background:var(--accent)}.jour{font-size:13px;color:var(--legende);margin:4px 2px 10px;display:flex;justify-content:space-between}.jour b{color:var(--texte);font-weight:500}.fil{list-style:none;display:flex;flex-direction:column;gap:8px}.fil .vide{color:var(--legende);font-size:14px;padding:18px 4px}.entree{display:flex;align-items:center;gap:12px;background:var(--carte);border-radius:18px;padding:10px 12px 10px 10px;cursor:pointer}.entree .vg{width:48px;height:48px;border-radius:12px;background:var(--carte-2);flex:none;display:grid;place-items:center;overflow:hidden;font-size:13px;font-weight:600}.entree .vg img{width:100%;height:100%;object-fit:cover}.entree .tx{flex:1;min-width:0}.entree .a{font-size:15px;font-weight:500}.entree .b{font-size:12.5px;color:var(--legende);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entree .h{font-size:12.5px;color:var(--legende);text-align:right}.entree .h i{display:block;width:7px;height:7px;border-radius:50%;background:var(--vert);margin:6px 0 0 auto}.entree .h i.attente{background:var(--accent)}.bas{position:fixed;left:0;right:0;bottom:0;padding:40px 12px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--fond) 38%);display:flex;flex-direction:column;gap:10px;max-width:560px;margin:0 auto}.barre{display:flex;align-items:center;gap:8px}.rond{width:54px;height:54px;flex:none;border-radius:50%;background:var(--carte-2);display:grid;place-items:center;color:var(--texte)}.principal{flex:1;min-height:60px;border-radius:99px;background:var(--texte);color:var(--sur-fort);display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;padding:0 14px;box-shadow:var(--ombre-fort);white-space:nowrap}.principal .o{width:8px;height:8px;border-radius:50%;background:var(--accent)}.principal.doux{background:var(--carte-2);color:var(--texte);box-shadow:none}.bouton{min-height:52px;border-radius:99px;background:var(--carte-2);display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:500;padding:0 18px;width:100%}.bouton.fort{background:var(--texte);color:var(--sur-fort);font-weight:600;box-shadow:var(--ombre-fort)}.bouton.danger,.tuile-action.danger,.mini.danger{color:var(--rouge)}.bandeau{min-height:48px;border-radius:16px;background:var(--accent-pale);color:var(--accent);font-size:14px;font-weight:500;padding:0 14px}.bandeau.doux{background:var(--carte);color:var(--texte)}.toast{display:flex;align-items:center;justify-content:space-between;background:var(--texte);color:var(--sur-fort);border-radius:99px;min-height:54px;padding:0 6px 0 20px;font-size:14px;font-weight:500}.toast button{background:var(--sur-fort);color:var(--texte);border-radius:99px;padding:11px 18px;font-size:14px;font-weight:600}.voile{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--voile);display:flex;align-items:flex-end;justify-content:center;z-index:10;animation:fondu .15s ease-out}.feuille{width:100%;max-width:560px;max-height:88vh;overflow-y:auto;background:var(--feuille);border-radius:28px 28px 0 0;border-top:1px solid var(--bord);padding:10px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;animation:monte .2s cubic-bezier(.2,.8,.2,1)}.feuille h3{margin:6px 2px 4px}.poignee{width:40px;height:4px;border-radius:4px;background:var(--poignee);margin:0 auto 6px}.feuille .fermer{margin-top:4px}@keyframes monte{0%{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}@keyframes fondu{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.voile,.feuille{animation:none}}.choix{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choix button{min-height:100px;border-radius:20px;background:var(--carte);padding:14px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;font-size:15px;font-weight:500;text-align:left}.choix button .ico{color:var(--legende)}.choix button.fort{box-shadow:inset 0 0 0 1px var(--accent)}.choix button.fort .ico{color:var(--accent)}.liste-frigos,.liste-jours{display:flex;flex-direction:column;gap:8px}.liste-frigos button,.liste-jours button{min-height:60px;border-radius:18px;background:var(--carte);display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:15px;font-weight:500;text-align:left}.liste-frigos small{display:block;font-size:12px;color:var(--legende);font-weight:400}.liste-frigos em,.liste-jours em{font-style:normal;font-size:13px;color:var(--legende)}.liste-frigos em.retard{color:var(--accent)}.liste-jours button.choisi{box-shadow:inset 0 0 0 1px var(--accent)}.groupe{background:var(--carte);border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:10px}.etiquette-groupe{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--legende)}.ligne-frigo{display:flex;align-items:center;gap:8px;min-height:44px}.ligne-frigo>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini{min-height:44px;border-radius:99px;background:var(--carte-2);padding:0 14px;font-size:13.5px}.saisie{display:flex;gap:8px}.saisie input,.formulaire input{flex:1;min-height:52px;border-radius:16px;border:1px solid var(--bord);background:var(--fond);padding:0 14px;font-size:16px;outline:none}.saisie input:focus,.formulaire input:focus{border-color:var(--accent)}.saisie .bouton{width:auto}.bascule{display:flex;background:var(--carte);border-radius:99px;padding:4px}.bascule button{flex:1;min-height:46px;border-radius:99px;font-size:14px;color:var(--legende)}.bascule button.on{background:var(--carte-2);color:var(--texte);font-weight:500}[data-theme=clair] .bascule button.on{background:var(--fond)}.grand-chiffre{background:var(--carte);border-radius:24px;padding:22px 16px 16px;text-align:center;margin-top:8px}.grand-chiffre .chiffre{font-size:56px;font-weight:600;letter-spacing:-.03em;line-height:1.05}.grand-chiffre .chiffre small{font-size:22px;color:var(--legende);margin-left:2px}.grand-chiffre .chiffre .vide{color:var(--legende)}.grand-chiffre .etat{font-size:13px;color:var(--legende);margin-top:6px}.grand-chiffre.conforme .etat{color:var(--vert)}.grand-chiffre.hors_norme .etat{color:var(--rouge)}.puces{display:flex;gap:8px;flex-wrap:wrap}.puces button{min-height:44px}.puces button{border-radius:99px;padding:10px 14px;background:var(--carte);font-size:14px}.puces button.choisie{box-shadow:inset 0 0 0 1px var(--accent);background:var(--accent-pale)}.clavier-t{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.clavier-t button{min-height:52px;border-radius:16px;background:var(--carte);font-size:17px;font-weight:500}.clavier-t button.on{background:var(--texte);color:var(--sur-fort)}.detail .photo{flex:1;display:grid;place-items:center;padding:calc(12px + env(safe-area-inset-top)) 12px 300px}.detail .photo img{max-width:100%;max-height:calc(100vh - 330px);border-radius:18px;object-fit:contain}.infos{padding:0 6px}.infos .titre{font-size:17px;font-weight:600}.actions{display:flex;gap:8px}.tuile-action{flex:1;min-height:66px;border-radius:18px;background:var(--carte);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12.5px;color:var(--legende);text-decoration:none}.accueil-connexion .haut-lecture{padding:calc(56px + env(safe-area-inset-top)) 24px 0;max-width:560px;width:100%;margin:0 auto}.accueil-connexion .bas{gap:10px}.carte{background:var(--carte);border-radius:22px;padding:16px;margin-top:18px}.formulaire{display:flex;flex-direction:column;gap:10px;margin:0}.formulaire h3{margin:0}.rangee-boutons{display:flex;gap:8px}
