/* Frais Proxi v6 — feuille de style unique. Identité visuelle de la v5, sans surcharge. */

:root {
  color-scheme: light;
  --nuit: #071d2d;
  --nuit-2: #0a2132;
  --fond: #f1f5f8;
  --carte: #ffffff;
  --texte: #102536;
  --muet: #556575;
  --bord: #e0e8eb;
  --bord-fort: #d0dbe1;
  --vert: #28ad45;
  --vert-clair: #45c558;
  --vert-marque: #7cdf61;
  --vert-fond: #e5f8ea;
  --vert-texte: #147a33;                      /* vert des textes sur fond clair */
  --orange: #e57a00;
  --orange-vif: #ff8a00;
  --orange-fond: #fff3dc;
  --rouge: #c93131;
  --rouge-fond: #ffecec;
  --bleu: #0876c9;
  --bleu-fond: #e8f3ff;
  --violet: #7b4fd6;
  --violet-texte: #5b34b0;                    /* partage d'une ligne : « à vérifier » */
  --violet-fond: #efe9fb;
  --gris-fond: #eef2f4;
  --rayon: 18px;
  --ombre: 0 4px 16px rgba(16, 37, 54, .07);
  --nav: 74px;
  --marge: 16px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fond); color: var(--texte); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--bleu); }
img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; }
small { font-size: .82rem; }

.icone { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chargement { min-height: 100vh; display: grid; place-items: center; color: var(--muet); }

/* ----------------------------------------------------------------- Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--bord-fort);
  background: var(--carte); color: var(--texte); font-weight: 700; text-decoration: none; text-align: center;
}
.bouton.principal { border: 0; background: linear-gradient(var(--vert-clair), var(--vert)); color: var(--nuit); }
.bouton.secondaire { background: var(--gris-fond); border-color: transparent; }
.bouton.danger { border: 0; background: var(--rouge); color: #fff; }
.bouton.petit { min-height: 36px; padding: 6px 11px; border-radius: 11px; font-size: .86rem; }
.bouton.discret { background: transparent; color: var(--muet); border-color: var(--bord); }
.bouton.large { width: 100%; }
.bouton[disabled], .bouton[aria-busy="true"], form[aria-busy="true"] .bouton { opacity: .6; pointer-events: none; }
.bouton .icone { width: 18px; height: 18px; }
.boutonRond { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--bord-fort); background: var(--carte); font-size: 1.3rem; line-height: 1; }
.lienDiscret { border: 0; background: none; color: var(--muet); text-decoration: underline; padding: 10px; font-size: .9rem; }
.lienDiscret.danger { color: var(--rouge); }
/* Actions qui retirent un accès ou suppriment : rouge en contour, distinct de l'action principale */
.bouton.desactiver, .bouton.supprimerDiscret { background: #fff; color: var(--rouge); border: 1.5px solid var(--rouge); }
.bouton.supprimerDiscret { margin-top: 14px; }

/* ----------------------------------------------------------------- Bienvenue / connexion */
.ecranBienvenue, .ecranConnexion {
  min-height: 100vh; min-height: 100dvh; background: #061a29; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px var(--marge); position: relative; overflow: hidden;
}
.doodles { position: absolute; inset: 45px 18px; opacity: .08; font-size: 48px; line-height: 2.2; pointer-events: none; }
.pousse { font-size: 42px; position: relative; }
.ecranBienvenue h1, .boiteConnexion h1 { font-size: 2.6rem; margin: 6px 0 18px; position: relative; }
.ecranBienvenue h1 span, .boiteConnexion h1 span, .marque span, .aPropos h2 span { color: var(--vert-marque); }
.ecranBienvenue h2 { font-size: 1.25rem; position: relative; }
.panier { font-size: 64px; margin: 22px 0; position: relative; }
.ecranBienvenue p { position: relative; }
.ecranBienvenue .bouton { width: min(360px, 100%); margin-top: 20px; position: relative; }
.boiteConnexion { width: min(390px, 100%); background: var(--carte); color: var(--texte); border-radius: 24px; padding: 28px 22px; }
.boiteConnexion h1 { color: var(--texte); font-size: 2.2rem; margin-bottom: 10px; }
.boiteConnexion h2 { margin: 0 0 6px; font-size: 1.2rem; }
.boiteConnexion p { color: var(--muet); margin: 0 0 12px; }
.champCode {
  width: 100%; border: 1px solid var(--bord-fort); border-radius: 14px; padding: 14px; margin: 6px 0 14px;
  text-align: center; font-size: 1.35rem; letter-spacing: 3px; background: #f8fafb;
}
.erreurConnexion { min-height: 1.4em; margin: 12px 0 0; color: var(--rouge); font-weight: 600; }
.ecranConnexion .erreurConnexion:empty { margin: 0; }
.aideConnexion { display: block; color: var(--muet); margin-top: 8px; }

/* ----------------------------------------------------------------- Coque de l'appli */
.coque { max-width: 600px; margin: 0 auto; min-height: 100vh; position: relative; }
.entete {
  position: sticky; top: 0; z-index: 20; background: var(--nuit); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) var(--marge) 10px;
}
.boutonEntete { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border-radius: 12px; }
.boutonEntete .icone { width: 26px; height: 26px; }
.boutonCompte { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px 0 5px; border: 0; border-radius: 22px;
  background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: .86rem; max-width: 140px; min-width: 0; }
.boutonCompte b, .pastilleInitiales { flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--vert-marque); color: var(--nuit); }
.boutonCompte b { width: 32px; height: 32px; font-size: .78rem; }
.boutonCompte span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Menu du compte : panneau dépliant sous l'en-tête, voile derrière */
.voileCompte { position: fixed; inset: 0; z-index: 40; background: rgba(6, 26, 41, .18); }
.menuCompte {
  position: fixed; z-index: 41; top: calc(60px + env(safe-area-inset-top)); right: max(8px, calc(50vw - 300px + 8px));
  width: min(300px, calc(100% - 16px)); display: grid; gap: 10px; padding: 14px;
  background: var(--carte); border-radius: 18px; box-shadow: 0 18px 44px rgba(7, 29, 45, .3);
}
.compteTete { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--bord); }
.compteTete > div { min-width: 0; display: grid; }
.compteTete small { color: var(--muet); }
.pastilleInitiales { width: 44px; height: 44px; font-weight: 900; }
.menuCompte .entreeMenu { padding: 4px 0; min-height: 48px; border-bottom: 0; }
.marque { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 900; }
.marque img { width: 48px; height: auto; background: #fff; border-radius: 6px; padding: 2px 3px; }
.bandeau { padding: 8px var(--marge); font-size: .88rem; font-weight: 700; text-align: center; }
.bandeau.orange { background: var(--orange-fond); color: #8a4b00; }
.bandeau.bleu { background: var(--bleu-fond); color: var(--bleu); }
.bandeau.rouge { background: var(--rouge-fond); color: var(--rouge); }
.vue { padding: 14px var(--marge) calc(var(--nav) + 28px + env(safe-area-inset-bottom)); outline: none; }

.navBas {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 30;
  width: 100%; max-width: 600px; height: calc(var(--nav) + env(safe-area-inset-bottom));
  padding: 6px 8px env(safe-area-inset-bottom); background: var(--carte); border-top: 1px solid var(--bord);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; box-shadow: 0 -6px 20px rgba(16, 37, 54, .06);
}
.navBas a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muet); text-decoration: none; font-size: .78rem; font-weight: 700; padding: 6px 0; border-radius: 14px; }
.navBas a.actif { color: var(--nuit); background: var(--vert-fond); }
.iconeNav { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.navBas .navPlus { width: 58px; height: 58px; margin: -26px auto 0; border-radius: 50%; background: var(--nuit); color: #fff; justify-content: center; box-shadow: 0 8px 22px rgba(7, 29, 45, .35); }
.iconePlus { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* ----------------------------------------------------------------- En-tête de page */
.enTetePage { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; min-height: 48px; }
.enTetePage h1 { flex: 1; margin: 0; font-size: 1.35rem; }
.enTetePage.sombre { background: var(--nuit-2); color: #fff; margin: -14px calc(-1 * var(--marge)) 14px; padding: 10px var(--marge); }
/* Reste sous l'en-tête de l'appli (64 px) pendant le défilement ; le bandeau réseau, au-dessus, part avant. */
.enTetePage.collant {
  position: sticky; z-index: 10; top: calc(64px + env(safe-area-inset-top));
  margin: -14px calc(-1 * var(--marge)) 14px; padding: 10px var(--marge) 4px; background: var(--fond);
}
.enTetePage.sombre.collant { background: var(--nuit-2); padding-bottom: 10px; }
.boutonRetour, .boutonEntetePage { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--gris-fond); color: inherit; display: grid; place-items: center; }
.sombre .boutonRetour, .sombre .boutonEntetePage { background: rgba(255, 255, 255, .1); }
.enregistrerEntete { flex: none; min-height: 44px; padding: 8px 13px; font-size: .95rem; gap: 6px; }
.enTetePage:has(.enregistrerEntete) h1 { font-size: 1.2rem; text-wrap: balance; }

/* ----------------------------------------------------------------- Éléments communs */
.carte { background: var(--carte); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 16px; margin-bottom: 14px; }
.carte h2 { font-size: 1.08rem; margin: 0 0 12px; }
.carte h3 { font-size: 1rem; margin: 16px 0 8px; }
.vide { display: grid; gap: 4px; text-align: center; padding: 22px 16px; }
.vide span { color: var(--muet); }
.muet { color: var(--muet); }
.aide { color: var(--muet); font-size: .9rem; margin: 0 0 14px; }
.sousTitre { color: var(--muet); margin: -6px 0 14px; }
.titreSection { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 10px; }
.titreSection h2 { margin: 0; font-size: 1.1rem; }
.titreSection a { font-weight: 800; font-size: .9rem; text-decoration: none; }
.pilule { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gris-fond); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pilule.bleu { background: var(--bleu-fond); color: var(--bleu); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 8px; font-size: .74rem; font-weight: 800; margin-right: 8px; }
.badge.rouge { background: var(--rouge-fond); color: var(--rouge); }
.badge.orange { background: var(--orange-fond); color: #9a5300; }
.badge.vert { background: var(--vert-fond); color: var(--vert-texte); }
.badge.gris { background: var(--gris-fond); color: var(--muet); }
.badge.violet, .titreJour.violet { background: var(--violet-fond); color: var(--violet-texte); }
.ean { display: block; color: var(--muet); font-variant-numeric: tabular-nums; }
.ean.sansCode { font-style: italic; }
.rayon { display: block; color: var(--muet); }
.fait { display: block; color: var(--vert-texte); font-weight: 800; margin-top: 3px; }
.enAttente { color: #9a5300; font-weight: 700; margin-left: 6px; }
.recherche {
  width: 100%; border: 1px solid var(--bord-fort); border-radius: 14px; padding: 13px 14px; margin-bottom: 12px;
  background: var(--carte); font-size: 1rem;
}
/* Recherche avec loupe (produits, catalogue) */
.champRecherche { position: relative; margin-bottom: 12px; }
.champRecherche .recherche { margin-bottom: 0; padding-left: 44px; min-height: 48px; }
.champRecherche > .icone { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muet); pointer-events: none; }
/* Bouton « Scanner un code-barres » à droite d'un champ (recherche, EAN) */
.champScan { position: relative; display: block; }
.champRecherche:has(.boutonScanChamp) .recherche,
.formulaire .champScan input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { padding-right: 54px; }
.boutonScanChamp { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; border: 0; border-radius: 10px; background: var(--nuit); color: #fff; display: grid; place-items: center; }
.puceCode { display: inline-flex; align-items: center; gap: 8px; background: var(--nuit); color: #fff; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: .84rem; font-weight: 700; margin-bottom: 10px; max-width: 100%; }
.puceCode button { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .18); color: #fff; font-weight: 900; }

.vignette { width: 52px; height: 52px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--bord); }
.vignette.repli, .fichePhoto .repli { display: grid; place-items: center; color: #9aa9b4; background: var(--gris-fond); }
.infos { flex: 1; min-width: 0; }
.infos > b { display: block; overflow-wrap: anywhere; }
.infos small { display: block; }
.quantite { font-weight: 700; white-space: nowrap; }   /* « × 11 » à côté de la DLC (quantité saisie dans la v5) */

/* Formulaires */
.formulaire { display: grid; gap: 12px; }
.formulaire label, .champ { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.formulaire label small, .champ small { font-weight: 500; color: var(--muet); }
.formulaire input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .formulaire select, .formulaire textarea, .champ input {
  width: 100%; border: 1px solid var(--bord-fort); border-radius: 12px; padding: 11px 12px; background: #fbfcfd; font-weight: 500;
  font-size: 1rem; min-height: 48px;
}
.formulaire textarea { resize: vertical; }
.formulaire label.erreur { color: var(--rouge); }
.formulaire label.erreur input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .formulaire label.erreur select {
  border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(201, 49, 49, .16);
}
.formulaire label .erreurChamp { color: var(--rouge); font-weight: 700; font-size: .85rem; }
.deuxColonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.boutonsLigne { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.boutonsLigne .bouton { flex: 1 1 auto; }
.blocDates { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.blocDates legend { font-weight: 800; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.blocDates legend small { font-weight: 500; color: var(--muet); margin-left: 6px; }
.lignesDate { display: grid; gap: 10px; }
.ligneDate { display: flex; align-items: flex-end; gap: 10px; }
.ligneDate label { flex: 1; }
.blocDates > .bouton { justify-self: start; }
.ligneDlc .bouton.petit, .ligneEquipe .bouton.petit, .blocDates .bouton.petit { min-height: 44px; }
.onglets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--gris-fond); padding: 5px; border-radius: 14px; margin-bottom: 14px; }
.onglets > * { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 10px; font-weight: 800; text-decoration: none; color: var(--muet); }
.onglets .actif { background: var(--carte); color: var(--texte); box-shadow: var(--ombre); }
.datesExistantes { background: var(--bleu-fond); border-radius: 12px; padding: 10px 12px; }
.datesExistantes b { display: block; color: var(--bleu); margin-bottom: 6px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.pastilles span { background: #fff; border-radius: 999px; padding: 4px 10px; font-size: .85rem; font-weight: 700; }
.interrupteur { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.formulaire .ligneInterrupteur { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ligneInterrupteur span { display: grid; gap: 2px; }
.ligneInterrupteur input, .interrupteur input { width: 22px; height: 22px; accent-color: var(--vert); }
.boutonFichier { cursor: pointer; }
.champPhoto { display: flex; align-items: center; gap: 10px; }
.champPhoto img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; border: 1px solid var(--bord); }
.champPhotoRef { display: grid; gap: 8px; }
.formulaire label.bouton { display: flex; font-size: 1rem; }       /* bouton-fichier dans un formulaire : garde l'allure d'un bouton */
.champsIdentite { display: grid; gap: 12px; }
.adressePhoto summary { min-height: 44px; display: flex; align-items: center; color: var(--bleu); font-weight: 700; font-size: .9rem; cursor: pointer; }
/* Produit reconnu après un scan (écran Ajouter) */
.produitReconnu { display: flex; gap: 12px; align-items: center; padding: 12px; margin-bottom: 12px; }
.produitReconnu > div { flex: 1; min-width: 0; }
.vignette.grande { width: 64px; height: 64px; border-radius: 14px; }
.produitReconnu b { display: block; font-size: 1.12rem; line-height: 1.2; overflow-wrap: anywhere; }
.lienModifier { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--bleu); font-weight: 700; font-size: .9rem; text-decoration: underline; }
.lienModifier .icone { width: 16px; height: 16px; }
.aucuneDate { color: var(--muet); }
@media (max-width: 340px) {                    /* carte compacte : le champ DLC reste visible à 320 × 568 */
  .produitReconnu { padding: 8px 10px; gap: 10px; margin-bottom: 10px; }
  .produitReconnu .vignette.grande { width: 48px; height: 48px; border-radius: 12px; }
  .produitReconnu b { font-size: 1rem; }
}

/* Fenêtres */
.fenetre { border: 0; border-radius: 20px; padding: 0; width: min(420px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.fenetre::backdrop { background: rgba(6, 26, 41, .55); }
.fenetreCorps { padding: 20px; display: grid; gap: 14px; }
.fenetreCorps h2 { margin: 0; font-size: 1.15rem; }
.fenetreCorps p { margin: 0; color: var(--muet); }
.fenetreBoutons { display: flex; gap: 10px; justify-content: flex-end; }
.erreurFenetre { margin: 0; color: var(--rouge); font-weight: 700; }
.fenetreBoutons .bouton { flex: 1; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav) + 18px + env(safe-area-inset-bottom)); z-index: 1000;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s ease;
  width: max-content; max-width: calc(100vw - 32px); background: var(--nuit); color: #fff;
  padding: 12px 16px; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast.erreur { background: var(--rouge); }

/* ----------------------------------------------------------------- Accueil */
.heros { position: relative; border-radius: 26px; overflow: hidden; min-height: 140px; margin-bottom: 14px; box-shadow: var(--ombre); background: var(--nuit); }
.herosPhoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 29, 45, 0) 40%, rgba(7, 29, 45, .75)); }
.herosDate { position: absolute; z-index: 1; top: 14px; left: 14px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .95); padding: 8px 14px; border-radius: 14px; }
.herosDate b { display: block; }
.herosDate b::first-letter, .tableRegles tbody th::first-letter { text-transform: uppercase; }
.herosDate small { color: var(--muet); }
.herosSlogan { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 12px; color: #fff; font-size: 1.1rem; font-weight: 900; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.alerteRetard { display: block; background: var(--rouge); color: #fff; font-weight: 800; padding: 12px 14px; border-radius: 14px; margin-bottom: 12px; text-decoration: none; }
.alertes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.alerte { position: relative; min-height: 118px; border-radius: 20px; padding: 12px; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--ombre); }
.alerte .alerteIcone { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.alerte strong { font-size: 1.7rem; line-height: 1; }
.alerte b { font-size: .8rem; line-height: 1.15; margin-top: 4px; }
.alerte em { position: absolute; right: 10px; top: 12px; font-style: normal; font-weight: 900; opacity: .6; }
.alerte.rouge { background: var(--rouge-fond); color: var(--rouge); }
.alerte.rouge .alerteIcone { background: #e24747; }
.alerte.orange { background: var(--orange-fond); color: #9a5300; }
.alerte.orange .alerteIcone { background: var(--orange-vif); }
.alerte.verte { background: var(--vert-fond); color: var(--vert-texte); }
.alerte.verte .alerteIcone { background: var(--vert); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 6px; text-align: center; }
.stats div { display: grid; gap: 2px; padding: 0 4px; }
.stats div + div { border-left: 1px solid var(--bord); }
.stats strong { font-size: 1.35rem; }
.stats small { color: var(--muet); font-size: .74rem; line-height: 1.2; }
.actionsRapides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.actionsRapides a { background: var(--carte); border-radius: 16px; box-shadow: var(--ombre); padding: 12px 6px; text-align: center; text-decoration: none; color: var(--texte); display: grid; justify-items: center; gap: 8px; font-size: .78rem; }
.pastille { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.1rem; }
.pastille .icone { width: 20px; height: 20px; }
.pastille.bleu { background: var(--bleu); } .pastille.orange { background: var(--orange-vif); }
.pastille.violet { background: var(--violet); } .pastille.vert { background: var(--vert); }
.gestionDates { margin-bottom: 14px; }
.gestionDates h2 { font-size: 1.25rem; margin: 6px 0 10px; }
.grilleDates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grilleDates a { border-radius: 20px; padding: 16px; text-decoration: none; color: var(--texte); display: grid; gap: 4px; box-shadow: var(--ombre); }
.grilleDates a span { font-size: 1.8rem; }
.grilleDates a b { font-size: 1.1rem; }
.grilleDates a .grosChiffre { display: flex; align-items: baseline; gap: 6px; font-size: .82rem; font-weight: 700; }
.grosChiffre strong { font-size: 1.7rem; line-height: 1; }
.grilleDates .retro { background: #edf5ff; } .grilleDates .casse { background: #fff1ec; }
.retro .grosChiffre strong { color: var(--bleu); } .casse .grosChiffre strong { color: var(--rouge); }
.ligneRecente { display: flex; align-items: center; gap: 12px; background: var(--carte); border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--ombre); text-decoration: none; color: var(--texte); }
.ligneRecente .vignette { width: 44px; height: 44px; }
.ligneRecente span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.ligneRecente small { color: var(--muet); }
.ligneRecente em { font-style: normal; font-weight: 800; font-size: .82rem; color: var(--muet); white-space: nowrap; }
.piedMarque { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; margin-top: 22px; padding: 16px; border-radius: 20px; background: var(--carte); box-shadow: var(--ombre); }
.piedLogo { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muet); }
.piedLogo img { width: 72px; height: auto; }
.piedSlogan { display: grid; text-align: right; font-size: .85rem; }
.piedSlogan span { color: var(--muet); }

/* ----------------------------------------------------------------- Listes de produits */
.filtres { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
.filtres button { flex: none; min-height: 44px; border: 1px solid var(--bord-fort); background: var(--carte); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: .88rem; }
.filtres button.actif { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.tuilesRayons { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--marge)) 14px; padding: 2px var(--marge) 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.tuile { flex: none; min-width: 86px; scroll-snap-align: start; border: 1px solid var(--bord); background: var(--carte); border-radius: 14px; padding: 8px 10px; display: grid; justify-items: center; gap: 2px; font-size: 1.25rem; box-shadow: var(--ombre); }
.tuile b { font-size: .78rem; line-height: 1.15; text-align: center; }
.tuile small { font-size: .74rem; color: var(--muet); font-weight: 700; }
.tuile.actif { border: 2px solid var(--nuit); background: #eef5fb; }
/* Longues listes : le navigateur ne met en page que les cartes proches de l'écran (taille estimée = carte à une DLC). */
.groupe { padding: 14px; content-visibility: auto; contain-intrinsic-size: auto 178px; }
.groupeHaut { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.lignesDlcGroupe { display: grid; gap: 8px; }
.ligneDlc { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 12px; background: #f7fafb; }
.ligneDlc > div:first-child { display: flex; align-items: center; flex-wrap: wrap; }
.ajoutGroupe { display: block; margin-top: 10px; text-align: center; font-weight: 800; text-decoration: none; padding: 8px; border-radius: 12px; background: var(--vert-fond); color: var(--vert-texte); }
.ligneProduit { display: flex; align-items: center; gap: 12px; background: var(--carte); border-radius: 16px; padding: 12px; margin-bottom: 8px; box-shadow: var(--ombre); }
.ligneProduit.faite { background: #f1fbf3; box-shadow: none; }
.ligneProduit.faite .infos > b { text-decoration: line-through; color: var(--muet); }
.periode { font-weight: 700; color: var(--texte); margin-top: 3px; }
.caseCocher { width: 48px; height: 48px; flex: none; border-radius: 12px; border: 2.5px solid #6b7a86; background: #fff; color: #fff; font-size: 1.4rem; font-weight: 900; padding: 0; }
.caseCocher.faite { border-color: var(--vert); background: var(--vert); color: var(--nuit); }
.titreJour { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; padding: 10px 12px; border-radius: 12px; background: var(--bleu-fond); color: #0055a4; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; }
.titreJour .icone { width: 18px; height: 18px; }
.titreJour small { margin-left: auto; font-weight: 900; }
/* En-têtes de rayon : style des en-têtes de jour, sans capitales ; sous-titres dans les sections rétro / casse */
.titreRayon { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.sousRayon { display: flex; align-items: baseline; gap: 6px; margin: 10px 2px 6px; padding-bottom: 4px; border-bottom: 1px solid var(--bord); font-size: .88rem; font-weight: 800; color: var(--texte); }
.sousRayon small { margin-left: auto; color: var(--muet); font-weight: 800; }
.resumeListe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.resumeListe small { color: var(--muet); flex-basis: 100%; }
.pastilleCompte { background: var(--rouge); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 900; }
.pastilleCompte.orange { background: var(--orange-vif); color: var(--nuit); }
.pastilleCompte.bleu { background: var(--bleu); }
.pastilleCompte.vert { background: var(--vert); color: var(--nuit); }
.pastilleCompte.violet { background: var(--violet); color: #fff; }
.avancement { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--muet); }
.avancement progress { appearance: none; width: 64px; height: 8px; border: 0; border-radius: 4px; overflow: hidden; background: var(--bord); }
.avancement progress::-webkit-progress-bar { background: var(--bord); }
.avancement progress::-webkit-progress-value { background: var(--vert); }
.avancement progress::-moz-progress-bar { background: var(--vert); }
.basListe { position: sticky; bottom: calc(var(--nav) + 12px + env(safe-area-inset-bottom)); margin-top: 10px; box-shadow: 0 10px 24px rgba(40, 173, 69, .35); }

/* Partage d'une ligne : le produit est un bouton qui ouvre la fiche ; la case à droite ne change pas */
.zoneLigne { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; border-radius: 12px; cursor: pointer; }
.zoneLigne .infos { display: grid; }
.groupeHaut.zoneLigne { align-items: flex-start; }
.noteVerif { color: var(--violet-texte); font-weight: 700; font-size: .78rem; }
.ligneProduit.laissee { box-shadow: inset 0 0 0 1.5px #b9a3ec, var(--ombre); }
.plusVerif { font-size: .72rem; font-weight: 800; color: var(--violet-texte); }
.bouton.violet { border: 1.5px solid var(--violet); background: #fff; color: var(--violet-texte); }
/* Fiche du bas : <dialog> collé en bas de l'écran */
.feuille { margin: auto auto 0; width: 100%; max-width: 600px; max-height: 88vh; overflow: auto; border: 0; border-radius: 22px 22px 0 0;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 30px rgba(7, 29, 45, .25); color: var(--texte); background: var(--carte); }
.feuille[open] { display: grid; gap: 10px; }
.feuille::backdrop { background: rgba(6, 26, 41, .4); }
.feuille .teteFiche { display: grid; gap: 2px; }
.feuille .teteFiche b { font-size: 1.1rem; line-height: 1.25; }
.feuille small { color: var(--muet); font-size: .84rem; }
.feuille .histo { display: grid; gap: 2px; background: #f6f2fd; border-radius: 12px; padding: 8px 10px; }
.feuille .histo .noteVerif { font-size: .84rem; }
.feuille .question { margin: 0; font-weight: 700; }
.feuille .bouton.large { min-height: 48px; }
.feuille .delai { text-align: center; }
.choixNb { display: flex; gap: 8px; }
.choixNb button { flex: 1; min-width: 48px; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--violet); background: #fff; color: var(--violet-texte); font-weight: 900; font-size: 1.05rem; }
.choixNb button.actuel { background: var(--violet); color: #fff; }
.lienVerif { min-height: 44px; border: 0; background: none; color: var(--bleu); text-decoration: underline; font-weight: 700; font-size: .86rem; justify-self: center; }
/* Rayon d'un produit (admins) : « Rayon : Crèmerie · Changer », puis le choix parmi les rayons du magasin */
.feuille .rayonFiche { margin: 0; font-size: .86rem; color: var(--muet); }
.feuille .rayonFiche .lienVerif { padding: 0 4px; }
.choixRayon { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.choixRayon button { min-height: 48px; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--bord-fort); background: #fff; color: var(--texte); font-weight: 700; text-align: left; }
.choixRayon button.actuel { border-color: var(--bleu); background: var(--bleu-fond); }
/* Petits écrans (320 × 568) : la fiche la plus chargée (trois mentions, trois boutons, le délai) ne défile pas */
@media (max-width: 340px), (max-height: 600px) {
  .feuille { padding-top: 12px; }
  .feuille[open] { gap: 6px; }
  .feuille .histo { padding: 6px 8px; }
  .feuille .histo .noteVerif { font-size: .78rem; line-height: 1.3; }
  .feuille .bouton.discret { min-height: 44px; }
}

/* Planning */
.semaineDlc { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.semaineDlc button { border: 1px solid var(--bord); background: var(--carte); border-radius: 14px; padding: 8px 0; display: grid; gap: 2px; justify-items: center; }
.semaineDlc b { font-size: .72rem; color: var(--muet); }
.semaineDlc strong { font-size: 1.15rem; }
.semaineDlc span { font-size: .74rem; font-weight: 900; background: var(--gris-fond); border-radius: 999px; padding: 1px 7px; }
.semaineDlc .auj { border-color: var(--vert); }
.semaineDlc .actif { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.semaineDlc .actif b { color: #cfe0ea; }
.semaineDlc .actif span { background: rgba(255, 255, 255, .15); }
.choixDate { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--carte); border-radius: 14px; padding: 8px 12px; font-weight: 700; box-shadow: var(--ombre); margin-bottom: 12px; }
.choixDate input { border: 1px solid var(--bord-fort); border-radius: 10px; padding: 8px; }
.titreJourPlanning { font-size: 1.05rem; display: flex; justify-content: space-between; gap: 10px; }
.titreJourPlanning small { color: var(--muet); }

/* Rétro / casse */
.charte summary { font-weight: 800; cursor: pointer; }
.charte[open] summary { margin-bottom: 10px; }
.ligneCharte { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bord); font-size: .9rem; }
.charte small { display: block; margin-top: 10px; color: var(--muet); }
/* Lien direct vers l'autre liste (rétro ↔ casse) */
.lienAutreListe { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--bord-fort); text-align: left; }
.lienAutreListe b { display: block; }
.lienAutreListe small { display: block; color: var(--muet); }
.lienAutreListe .icone { color: #9aa9b4; }

/* Bilan */
.indicateurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.indicateur { border-radius: 18px; padding: 14px 10px; display: grid; gap: 4px; box-shadow: var(--ombre); }
.indicateur b { font-size: 1.4rem; }
.indicateur span { font-size: .78rem; line-height: 1.2; }
.indicateur.rouge { background: var(--rouge-fond); color: var(--rouge); }
.indicateur.orange { background: var(--orange-fond); color: #9a5300; }
.indicateur.vert { background: var(--vert-fond); color: var(--vert-texte); }
.barre { margin-bottom: 10px; }
.barreHaut { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 4px; }
.barreFond { height: 9px; border-radius: 9px; background: var(--gris-fond); overflow: hidden; }
.barreFond i { display: block; height: 100%; background: var(--bleu); border-radius: 9px; }
.ligneHistorique { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--bord); }
.ligneHistorique:last-child { border-bottom: 0; }
.ligneHistorique span { color: var(--muet); font-size: .8rem; }
.ligneHistorique small { color: var(--muet); overflow-wrap: anywhere; }
.ligneHistorique .horsLigne { color: #9a5300; font-weight: 700; }
.etatHistorique { margin: -4px 0 10px; }
.etatHistorique:empty { margin: 0; }                   /* reste dans la page : la zone aria-live doit exister avant l'annonce */

/* ----------------------------------------------------------------- Scanner */
.pageScan { display: grid; gap: 14px; }
.camera { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #172938; transition: box-shadow .15s; }
.camera.lu { box-shadow: inset 0 0 0 6px var(--vert-marque); }
.lecteur, .lecteur video, .lecteur canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lecteur canvas.drawingBuffer { display: none; }
.coins i { position: absolute; width: 46px; height: 46px; border: 4px solid var(--vert-marque); }
.coins i:nth-child(1) { top: 18%; left: 12%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.coins i:nth-child(2) { top: 18%; right: 12%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.coins i:nth-child(3) { bottom: 18%; left: 12%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.coins i:nth-child(4) { bottom: 18%; right: 12%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.etatScan { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--carte); font-weight: 700; text-align: center; box-shadow: var(--ombre); }
.etatScan[data-type="erreur"] { background: var(--rouge-fond); color: var(--rouge); }
.etatScan[data-type="pret"] { background: var(--vert-fond); color: var(--vert-texte); }
.boutonLampe { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; }
.boutonLampe[aria-pressed="true"] { background: #fff; color: var(--nuit); }
.dernierEnregistre { display: flex; gap: 10px; align-items: center; background: var(--vert-fond); color: var(--vert-texte); border-radius: 14px; padding: 10px 12px; font-size: .9rem; }
.dernierEnregistre b { color: var(--texte); }
.dernierEnregistre .ok { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: var(--nuit); font-weight: 900; }
.fenetreScan .fenetreCorps { gap: 12px; }
.saisieCode { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px;   /* le champ ne force pas la largeur à 320 px */ background: var(--carte); padding: 14px; border-radius: 18px; box-shadow: var(--ombre); }
.saisieCode label { font-weight: 700; font-size: .9rem; }
.saisieCode div { display: flex; gap: 8px; }
.saisieCode input { flex: 1; min-width: 0; border: 1px solid var(--bord-fort); border-radius: 12px; padding: 11px 12px; font-size: 1.05rem; letter-spacing: 1px; }

/* ----------------------------------------------------------------- Plus / administration */
.carteMagasin { display: flex; align-items: center; gap: 12px; }
.carteMagasin > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.carteMagasin small { color: var(--muet); }
.glyphe { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--bleu-fond); color: var(--bleu); }
.point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); margin-right: 4px; }
.point.orange { background: var(--orange-vif); }
.menu { padding: 6px 14px; }
.entreeMenu { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--texte); border-bottom: 1px solid var(--bord); }
.entreeMenu:last-child { border-bottom: 0; }
.entreeMenu > span:nth-child(2) { flex: 1; display: grid; }
.entreeMenu small { color: var(--muet); }
.chevron { color: #9aa9b4; }
.boutonsCompte { display: grid; gap: 6px; justify-items: center; margin: 4px 0 14px; }
.boutonsCompte .aide { margin: 0; text-align: center; }
.noteConfidentialite { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #eaf6ee; color: #145c2b; }
.noteConfidentialite div { display: grid; gap: 2px; }
.aPropos { text-align: center; }
.aPropos h2 { font-size: 1.6rem; margin: 4px 0; }
.nouveautes ul { padding-left: 20px; margin: 0 0 12px; display: grid; gap: 6px; }
.ligneEquipe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.ligneEquipe:last-child { border-bottom: 0; }
.ligneEquipe.inactif .infos > b { color: var(--muet); }
.ligneEquipe .infos > b .badge { margin: 0 0 0 6px; vertical-align: 2px; }
.ouvrirAjout { margin-bottom: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gris-fond); display: grid; place-items: center; flex: none; }
.ligneEquipe small { color: var(--muet); }
.boutonsEquipe { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 12px; padding-left: 50px; }
.tableRegles { width: 100%; border-collapse: collapse; }
.tableRegles th, .tableRegles td { padding: 9px 4px; border-bottom: 1px solid var(--bord); text-align: center; }
.tableRegles tbody th { text-align: left; }
.tableRegles td { padding: 2px; }
.celCase { display: grid; place-items: center; min-height: 48px; cursor: pointer; }
.tableRegles input { width: 30px; height: 30px; accent-color: var(--vert); }
.actionsSauvegarde { display: grid; gap: 10px; }
.actionsSauvegarde small { color: var(--muet); }

/* Catalogue */
.enteteCatalogue { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--nuit); color: #fff; }
.enteteCatalogue div { display: grid; }
.enteteCatalogue small, .enteteCatalogue span { color: #b9cbd8; }
.enteteCatalogue strong { font-size: 2rem; }
.listeCatalogue { padding: 4px 12px; }
.ligneCatalogue { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bord); text-decoration: none; color: var(--texte);
  content-visibility: auto; contain-intrinsic-size: auto 52px; }
.ligneCatalogue:last-child { border-bottom: 0; }
.ligneCatalogue small { color: var(--muet); }
.fiche { display: grid; gap: 10px; }
.fiche h2 { margin: 4px 0 0; font-size: 1.25rem; }
.fiche .ean { margin: 0; }
.fichePhoto { display: grid; justify-items: center; gap: 10px; }
.fichePhoto img, .fichePhoto .repli { width: 150px; height: 150px; object-fit: contain; border-radius: 18px; border: 1px solid var(--bord); background: #fff; }
.fichePhoto .repli .icone { width: 46px; height: 46px; }
.fichePhoto .bouton.petit { min-height: 44px; }

/* Rayons */
.listeRayons { padding: 4px 14px; }
.ligneRayon { border-bottom: 1px solid var(--bord); padding: 10px 0; }
.ligneRayon:last-child { border-bottom: 0; }
.resumeRayon { display: flex; align-items: center; gap: 12px; }
.resumeRayon > span:nth-child(2) { flex: 1; display: grid; }
.resumeRayon small { color: var(--muet); }
.resumeRayon small b { color: var(--texte); font-weight: 800; }
/* Toute la ligne du rayon ouvre sa modification */
button.resumeRayon { width: 100%; min-height: 52px; padding: 4px 0; border: 0; background: none; color: inherit; text-align: left; }
.resumeRayon > .icone { color: #9aa9b4; transition: transform .15s; }
.resumeRayon[aria-expanded="true"] > .icone { transform: rotate(90deg); }
.editionRayon .supprimerDiscret { margin-top: 18px; }
/* Ordre des rayons (B20) */
.changerOrdre { margin-bottom: 14px; }
.barreOrdre { display: grid; gap: 10px; margin-bottom: 14px; padding: 12px; border-radius: 14px; background: var(--bleu-fond); }
.barreOrdre p { margin: 0; color: #0055a4; font-weight: 700; font-size: .9rem; }
.ligneOrdre { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.ligneOrdre .infosRayon { flex: 1; min-width: 0; display: grid; }
.ligneOrdre .infosRayon b { overflow-wrap: anywhere; }
.ligneOrdre small { color: var(--muet); }
.ligneOrdre small b { color: var(--texte); font-weight: 800; }
.fleche { width: 44px; height: 44px; flex: none; padding: 0; border-radius: 12px; border: 1.5px solid var(--bord-fort); background: var(--carte); color: var(--texte); font-weight: 900; }
.fleche:disabled { opacity: .35; cursor: default; }
.rang { width: 22px; flex: none; font-weight: 900; color: var(--muet); font-variant-numeric: tabular-nums; }
/* Lu par les lecteurs d'écran, invisible à l'écran */
.annonce { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 340px) { .ligneOrdre .iconeRayon { display: none; } }
.iconeRayon { width: 40px; height: 40px; border-radius: 12px; background: var(--gris-fond); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.editionRayon { margin-top: 12px; padding: 14px; border-radius: 14px; background: #f7fafb; }

/* ----------------------------------------------------------------- Petits écrans */
@media (max-width: 380px) {
  :root { --marge: 12px; }
  .alerte { min-height: 108px; padding: 10px; }
  .alerte strong { font-size: 1.45rem; }
  .actionsRapides { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .stats div:nth-child(3) { border-left: 0; }
  .deuxColonnes { grid-template-columns: 1fr; }
  .marque { font-size: 1.25rem; }
  .boutonsEquipe { padding-left: 0; }
  .fichePhoto img, .fichePhoto .repli { width: 96px; height: 96px; }
  .fichePhoto .repli .icone { width: 34px; height: 34px; }
}
@media (max-width: 340px) { .boutonCompte span { display: none; } }
@media (prefers-reduced-motion: reduce) { .toast, .camera, .resumeRayon > .icone { transition: none; } }

/* En dernier : l attribut hidden l emporte sur les display des composants. */
[hidden] { display: none; }
