:root{--accent:#1f6f5c;--danger:#b3261e;--fond:#f4f4f1;--trait:#c9c9c3;color:#1d1d1b;background:var(--fond);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.4}*{box-sizing:border-box}body{overflow-wrap:anywhere;margin:0;font-size:16px}main{max-width:40rem;margin:0 auto;padding:1rem .75rem 7rem}h1{margin:.25rem 0 .75rem;font-size:1.35rem}h2{margin:1.5rem 0 .5rem;font-size:1.1rem}h3{margin:0 0 .25rem;font-size:1rem}p{margin:.4rem 0}a{color:var(--accent)}button,input,select,.bouton{font:inherit;border-radius:8px;min-height:44px}input,select{border:1px solid var(--trait);width:100%;color:inherit;background:#fff;padding:.5rem .6rem}input[type=checkbox]{width:24px;min-height:24px}button,.bouton{background:var(--accent);color:#fff;cursor:pointer;text-align:center;border:0;justify-content:center;align-items:center;padding:.5rem 1rem;text-decoration:none;display:inline-flex}button.secondaire,.bouton.secondaire{color:inherit;background:#e3e3de}button.danger{background:var(--danger)}button:disabled{opacity:.5}label{margin:.5rem 0;display:block}label>input,label>select{margin-top:.2rem}fieldset{border:0;margin:0;padding:0}details>summary{cursor:pointer;min-height:44px;padding:.6rem 0}.carte{background:#fff;border-radius:10px;margin:.5rem 0;padding:.75rem;box-shadow:0 1px 2px #0002}.ligne{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.ligne>.etire{flex:10rem;min-width:0}.actions{flex-wrap:wrap;gap:.5rem;margin:.5rem 0;display:flex}.discret{color:#5f5f5a;font-size:.92rem}.erreur{color:var(--danger);font-weight:600}.succes{color:var(--accent);font-weight:600}.badge{white-space:nowrap;background:#e3e3de;border-radius:99px;padding:.1rem .5rem;font-size:.85rem;display:inline-block}.badge.alerte{background:#ffe08a}.badge.ok{background:#cfe9df}.bandeau{background:#ffe08a;padding:.6rem .75rem;font-weight:600}.statut{min-width:2rem;font-size:.9rem}.toast{z-index:10;background:#fde7e5;border-radius:10px;max-width:39rem;margin:0 auto;padding:.75rem;position:fixed;top:.5rem;left:.5rem;right:.5rem;box-shadow:0 2px 8px #0003}nav.admin{z-index:1;background:var(--accent);flex-wrap:wrap;display:flex;position:sticky;top:0}nav.admin a,nav.admin button{color:#fff;background:0 0;border-radius:0;align-items:center;min-height:44px;padding:0 .75rem;text-decoration:none;display:inline-flex}nav.admin a[aria-current=page]{background:#0003}nav.admin form{margin-left:auto}.onglets{flex-wrap:wrap;gap:.4rem;margin:.5rem 0;display:flex}.onglets a{min-height:44px;color:inherit;background:#e3e3de;border-radius:99px;align-items:center;padding:0 .9rem;text-decoration:none;display:inline-flex}.onglets a[aria-current=page]{background:var(--accent);color:#fff}.compteur{justify-content:flex-end;align-items:center;gap:.4rem;display:flex}.compteur button{width:52px;height:52px;padding:0;font-size:1.6rem}.compteur input{text-align:center;appearance:textfield;width:3.5rem;font-size:1.2rem}.barre-bas{padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom));background:#fff;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #0002}.barre-bas>div{max-width:40rem;margin:0 auto}.barre-bas button{width:100%;margin-top:.4rem}.si-lot,.si-variable{display:none}:is(form:has(option[value=lot]:checked) .si-lot,form:has(option[value=variable]:checked) .si-variable){display:block}.saisie{align-items:center;gap:.4rem;display:flex}.saisie input{text-align:right;width:6.5rem}
