:root{--blue:#0746a8;--blue2:#0b72ff;--bg:#f3f7ff;--card:#ffffff;--ink:#0d1b35;--muted:#63718a;--shadow:0 18px 45px rgba(7,45,108,.14);--radius:26px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#eaf2ff 0%,#f8fbff 52%,#fff 100%)}a{text-decoration:none;color:inherit}button,.ghost{border:0;border-radius:16px;padding:13px 18px;font-weight:900;cursor:pointer;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;box-shadow:0 12px 24px rgba(7,70,168,.2)}.ghost{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);box-shadow:none}.loginPage{min-height:100vh;display:grid;place-items:center;padding:22px}.loginCard{width:min(980px,100%);background:rgba(255,255,255,.9);border:1px solid rgba(10,80,190,.12);border-radius:32px;box-shadow:var(--shadow);padding:28px}.loginLogo{width:110px;display:block;margin:auto}.loginCard h1{text-align:center;margin:8px 0 4px;font-size:clamp(28px,6vw,44px)}.muted{text-align:center;color:var(--muted)}.loginGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.panel,.pdvCard,.workPanel{background:var(--card);border:1px solid rgba(7,70,168,.10);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.panel label,.noteForm label{display:block;margin:12px 0 7px;font-weight:800}.panel input,.panel select,.noteForm textarea{width:100%;border:1px solid #d7e2f5;border-radius:15px;padding:14px 15px;font:inherit;background:#f9fbff}.panel button,.noteForm button,.pdvCard button{width:100%;margin-top:15px}.alert{background:#fff2d6;border:1px solid #ffd37a;border-radius:14px;padding:12px;margin:10px 0}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px max(16px,env(safe-area-inset-left)) 14px;background:linear-gradient(135deg,#0753c4,#003986);color:#fff;box-shadow:0 10px 35px rgba(0,40,120,.22)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand img{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:16px;padding:5px}.brand strong,.brand span{display:block}.brand span{font-size:13px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56vw}.topActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.topActions form{margin:0}.appShell{width:min(1120px,100%);margin:0 auto;padding:22px 16px 40px}.hero{background:linear-gradient(135deg,#0964e5,#063a95);color:#fff;border-radius:30px;padding:24px;box-shadow:var(--shadow);margin-bottom:20px}.hero h1{margin:4px 0 8px;font-size:clamp(27px,7vw,48px)}.hero p{margin:0;opacity:.95}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:12px}.moduleGrid,.pdvGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.pdvGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.moduleCard{min-height:160px;background:var(--card);border:1px solid rgba(7,70,168,.10);border-radius:28px;box-shadow:var(--shadow);padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;transition:transform .15s ease, box-shadow .15s ease}.moduleCard:hover{transform:translateY(-2px);box-shadow:0 20px 48px rgba(7,45,108,.18)}.moduleIcon{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#edf5ff,#dcecff);font-size:31px;line-height:1;box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)}.moduleCard strong{font-size:16px}.moduleCard em{font-style:normal;color:var(--muted);font-size:13px;line-height:1.25}.modulePage{padding-top:4px}.moduleHeader{background:linear-gradient(135deg,#0964e5,#063a95);color:#fff;border-radius:28px;padding:18px;margin-bottom:18px;box-shadow:var(--shadow)}.backBtn{display:inline-flex;align-items:center;border-radius:15px;padding:12px 16px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.34);font-weight:900;margin-bottom:14px}.moduleTitle{display:flex;align-items:center;gap:14px}.moduleTitle>span{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.16);font-size:31px}.moduleTitle h1{margin:0;font-size:clamp(25px,6vw,40px)}.moduleTitle p{margin:5px 0 0;opacity:.92}.statsGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.statsGrid div{background:#f4f8ff;border:1px solid #dce9ff;border-radius:20px;padding:18px;text-align:center}.statsGrid b{display:block;font-size:28px}.statsGrid span{color:var(--muted);font-size:13px}.noteForm textarea{min-height:120px;resize:vertical}.noteForm button{max-width:260px}.pdvCard h2{margin-top:0}.pdvCard p{color:var(--muted)}@media(max-width:860px){.loginGrid,.pdvGrid{grid-template-columns:1fr}.moduleGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topbar{align-items:flex-start}.brand img{width:46px;height:46px}.topActions{max-width:42%;gap:6px}.ghost{padding:10px 12px;font-size:13px}.appShell{padding:16px 12px 32px}.hero{padding:20px}.moduleCard{min-height:142px;border-radius:24px;padding:17px 10px}.moduleIcon{width:52px;height:52px;font-size:28px;border-radius:18px}.statsGrid{grid-template-columns:1fr}.moduleHeader{padding:16px;border-radius:24px}.workPanel{padding:18px}}@media(max-width:390px){.moduleGrid{gap:10px}.moduleCard{min-height:132px}.moduleCard strong{font-size:15px}.moduleCard em{font-size:12px}.moduleIcon{width:48px;height:48px;font-size:26px}.topbar{padding-left:10px;padding-right:10px}.brand span{max-width:48vw}}

/* V401 - page de connexion complete, neuve et sans spectres */
.loginPageFull{background:radial-gradient(circle at top left,rgba(11,114,255,.18),transparent 34%),linear-gradient(180deg,#eaf2ff 0%,#ffffff 100%)}
.loginCardFull{width:min(1180px,100%);padding:24px;border-radius:34px;overflow:hidden;position:relative}.loginCardFull:before{content:"";position:absolute;inset:0 0 auto 0;height:130px;background:linear-gradient(135deg,#0753c4,#003986);z-index:0}.loginCardFull>*{position:relative;z-index:1}.loginHero{color:#fff;text-align:center;padding:10px 10px 20px}.loginHero .loginLogo{background:#fff;border-radius:22px;padding:8px;box-shadow:0 14px 28px rgba(0,0,0,.18)}.loginHero h1{margin:5px 0 4px}.loginHero .muted{color:rgba(255,255,255,.92);margin:0}.loginEyebrow{margin:8px 0 0}.loginGridThree{grid-template-columns:1.25fr .9fr .9fr;align-items:stretch}.loginPanel{display:flex;flex-direction:column;min-height:100%;box-shadow:0 18px 45px rgba(7,45,108,.14)}.loginPanel h2{margin:5px 0 6px}.loginPanel p{margin:0 0 8px;color:var(--muted);line-height:1.35}.panelIcon{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#edf5ff,#dcecff);display:grid;place-items:center;font-size:31px;box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)}.primaryLogin{border:2px solid rgba(11,114,255,.18)}.helperPanel form{margin:0}.secondaryBtn{width:100%;margin-top:12px;background:#f4f8ff;color:#073b8f;border:1px solid #d9e8ff;box-shadow:none}.dangerSoft{background:#fff5f5;color:#9b1c1c;border-color:#ffd4d4}.tinyHelp{font-size:12px;margin-top:auto!important;padding-top:12px}.loginPanel select,.loginPanel input{min-height:50px}@media(max-width:980px){.loginGridThree{grid-template-columns:1fr}.loginCardFull:before{height:155px}.loginHero{padding-bottom:16px}.loginPanel{min-height:unset}}@media(max-width:520px){.loginCardFull{padding:16px;border-radius:26px}.loginCardFull:before{height:150px}.loginHero .loginLogo{width:86px}.panelIcon{width:50px;height:50px;font-size:27px}.loginPanel{padding:18px}.loginHero h1{font-size:34px}}

/* V403 - modules de depart plus remplis */
.formGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin:14px 0 18px}
.formStack{display:grid;gap:12px;margin:14px 0 18px}
.formGrid input,.formGrid select,.formStack input,.formStack textarea{width:100%;border:1px solid #d7e2f5;border-radius:15px;padding:14px 15px;font:inherit;background:#f9fbff}
.formStack textarea{min-height:120px;resize:vertical}
.tableBox{overflow:auto;border:1px solid #dbe8ff;border-radius:18px;margin-top:14px;background:#fff}
table{width:100%;border-collapse:collapse;min-width:520px}th,td{padding:12px 14px;border-bottom:1px solid #edf3ff;text-align:left;vertical-align:top}th{background:#f3f8ff;color:#073b8f;font-size:13px;text-transform:uppercase;letter-spacing:.04em}td{color:#1b2c47}.blueLink{display:inline-flex;margin-top:10px;background:#0b72ff;color:#fff;padding:12px 16px;border-radius:14px;font-weight:900}.statsGrid{grid-template-columns:repeat(4,1fr)}@media(max-width:860px){.formGrid{grid-template-columns:1fr}.statsGrid{grid-template-columns:repeat(2,1fr)}table{min-width:440px}}

/* V404 - correction connexion visible et lisible */
.loginPageFull .loginCardFull{background:rgba(255,255,255,.96);}
.loginPageFull .loginCardFull:before{display:block;}
.loginPageFull .loginHero{background:linear-gradient(135deg,#0753c4,#003986);margin:-24px -24px 22px;padding:28px 18px 26px;border-radius:34px 34px 0 0;color:#fff;}
.loginPageFull .loginHero h1,.loginPageFull .loginHero p,.loginPageFull .loginHero .eyebrow,.loginPageFull .loginHero .muted{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.15);}
.loginPageFull .loginCardFull:before{content:none!important;}
.quickHint{background:#eef6ff;border:1px solid #cfe3ff;border-radius:14px;padding:10px 12px;color:#073b8f!important;font-weight:700;}
@media(max-width:520px){.loginPageFull .loginHero{margin:-16px -16px 18px;border-radius:26px 26px 0 0;padding:24px 14px 22px;}}

/* V405 - acces rapide modules visibles */
.quickPdvRow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 14px}
.quickPdvBtn{margin-top:0!important;background:linear-gradient(135deg,#0b72ff,#0746a8)!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(7,70,168,.20)!important}
.moduleGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.moduleCard{background:linear-gradient(180deg,#ffffff,#f5f9ff)!important;border:2px solid #d9e8ff!important;min-height:150px!important}
.moduleIcon{font-size:34px!important;width:62px!important;height:62px!important}
@media(max-width:1180px){.quickPdvRow{grid-template-columns:1fr}.moduleGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V406 - reprise propre des 3 premiers modules */
.moduleHelp{color:var(--muted);margin-top:-6px;margin-bottom:14px;line-height:1.45}.formGridFive{grid-template-columns:1.1fr .8fr 1fr 1fr 1.1fr .8fr}.quickChips{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0 14px}.quickChips span{color:var(--muted);font-weight:800}.quickChips b{background:#eef6ff;border:1px solid #d2e7ff;border-radius:999px;padding:8px 11px;color:#073b8f}.printerTest{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f4f8ff;border:1px dashed #8dbdff;border-radius:20px;padding:16px;margin:16px 0}.printerTest strong,.printerTest span,.printerTest small{display:block}.printerTest span{color:#263a58}.printerTest small{color:var(--muted)}.printerTest button{width:auto;margin:0}@media(max-width:980px){.formGridFive{grid-template-columns:1fr}.printerTest{align-items:stretch;flex-direction:column}.printerTest button{width:100%}}@media print{body{background:#fff}.topbar,.moduleHeader,.formGrid,.formStack,.tableBox,.quickChips,.moduleHelp{display:none!important}.appShell{padding:0}.workPanel{box-shadow:none;border:0}.printerTest{border:1px solid #000;width:50mm;min-height:30mm;padding:4mm;color:#000;background:#fff}.printerTest button{display:none}}

/* V407 - acces installateur dans admin */
.installCard{background:linear-gradient(180deg,#fff,#eef6ff)!important;border:2px solid #bcd8ff!important}
.installBtn{display:flex;align-items:center;justify-content:center;width:100%;margin-top:15px;border-radius:16px;padding:13px 18px;font-weight:900;background:linear-gradient(135deg,#0b72ff,#0746a8);color:#fff;box-shadow:0 12px 24px rgba(7,70,168,.20)}

.installBtnLogin{display:flex;align-items:center;justify-content:center;text-decoration:none;margin-top:14px;background:#0b5bd3;color:#fff;border-radius:16px;padding:14px 18px;font-weight:900;box-shadow:0 14px 28px rgba(11,91,211,.18)}
.installBtnLogin:hover{filter:brightness(.96)}


/* V411 - gestion propre des points de vente dans admin */
.adminPanel{margin-top:18px}
.formGridAdmin{grid-template-columns:1fr 1.4fr 1.4fr .75fr .65fr .9fr}
.checkLine{display:flex;align-items:center;gap:8px;font-weight:900;color:#073b8f;background:#f4f8ff;border:1px solid #d7e2f5;border-radius:15px;padding:12px 14px;min-height:50px}
.checkLine input{width:auto!important;min-height:unset!important}
@media(max-width:980px){.formGridAdmin{grid-template-columns:1fr}}

/* V412 - bouton gestion points de vente visible dans admin */
.adminHero .adminQuickActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.adminMainBtn{display:flex;align-items:center;justify-content:center;border-radius:18px;padding:16px 18px;font-weight:1000;background:#fff;color:#073b8f;box-shadow:0 12px 28px rgba(0,0,0,.14);border:1px solid rgba(255,255,255,.6)}
.adminInstallBtn{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.42)}
#gestion-pdv{scroll-margin-top:90px;border:3px solid #bcd8ff}
@media(max-width:760px){.adminHero .adminQuickActions{grid-template-columns:1fr}.adminMainBtn{padding:15px}}

/* V413 - gestion PDV comme des icones, pas dans l'en-tete */
.adminIconGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.adminIconCard{min-height:150px;background:linear-gradient(180deg,#fff,#f3f8ff);border:2px solid #d9e8ff;border-radius:28px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;box-shadow:0 16px 36px rgba(7,45,108,.12);color:#092958}
.adminIconCard span{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#edf5ff,#dcecff);display:grid;place-items:center;font-size:34px;box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)}
.adminIconCard strong{font-size:17px}.adminIconCard em{font-style:normal;color:var(--muted);font-size:13px}.pdvGestionGrid{margin-top:16px}.pdvIcon{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#edf5ff,#dcecff);display:grid;place-items:center;font-size:31px;margin-bottom:10px}.pdvGestionGrid .pdvCard button{width:100%;margin-top:10px}
@media(max-width:760px){.adminIconGrid{grid-template-columns:1fr}}

/* V417 - belle page de connexion admin + adherents */
.loginPageV417{min-height:100vh;background:radial-gradient(circle at 18% 5%,rgba(11,114,255,.22),transparent 30%),radial-gradient(circle at 88% 18%,rgba(7,70,168,.16),transparent 32%),linear-gradient(180deg,#eaf2ff 0%,#f8fbff 48%,#ffffff 100%);padding:18px;}
.loginCardV417{width:min(1080px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(188,216,255,.9);box-shadow:0 26px 70px rgba(7,45,108,.18);}
.loginHeroV417{margin:-24px -24px 22px!important;padding:30px 18px 28px!important;border-radius:34px 34px 0 0!important;background:linear-gradient(135deg,#073b8f 0%,#075bd6 52%,#0b72ff 100%)!important;color:#fff!important;}
.loginHeroV417 .loginLogo{width:112px;height:auto;background:#fff;border-radius:24px;padding:10px;box-shadow:0 18px 36px rgba(0,0,0,.22);}
.loginHeroV417 h1{font-size:clamp(34px,5vw,56px);line-height:.98;margin:10px 0 8px;color:#fff!important;}
.loginHeroV417 .muted{max-width:680px;margin:0 auto!important;color:rgba(255,255,255,.93)!important;font-size:16px;}
.loginGridV417{grid-template-columns:1.1fr .9fr;gap:18px;align-items:stretch;}
.loginPanelV417{border:1px solid #d9e8ff;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:28px;padding:22px;box-shadow:0 18px 42px rgba(7,45,108,.12);}
.loginPanelHead{display:flex;gap:14px;align-items:center;margin-bottom:14px;text-align:left;}
.loginPanelHead h2{margin:0 0 3px!important;color:#092958;}
.loginPanelHead p{margin:0!important;color:#63718a!important;}
.loginPanelV417 label{margin-top:10px;color:#073b8f;font-weight:900;}
.loginPanelV417 input,.loginPanelV417 select{border:1px solid #cfe0f8;background:#fff;border-radius:16px;min-height:52px;padding:14px 15px;font-size:16px;outline:none;}
.loginPanelV417 input:focus,.loginPanelV417 select:focus{border-color:#0b72ff;box-shadow:0 0 0 4px rgba(11,114,255,.12);}
.loginPanelV417 button{width:100%;margin-top:14px;min-height:52px;font-size:16px;}
.adminLoginPanel{background:linear-gradient(180deg,#fff,#f3f8ff);}
.emergencyLine{display:flex;justify-content:center;margin-top:16px;}
.emergencyLine .secondaryBtn{max-width:260px;background:#eef6ff;color:#073b8f;border:1px solid #cfe3ff;box-shadow:none;}
@media(max-width:860px){.loginGridV417{grid-template-columns:1fr}.loginCardV417{border-radius:28px}.loginHeroV417{margin:-16px -16px 18px!important;border-radius:28px 28px 0 0!important}.loginPanelHead{align-items:flex-start}.loginPanelV417{padding:18px}.loginHeroV417 .loginLogo{width:92px}}

/* V418 - connexion unique pour admin reseau et adherents */
.loginCardV418{width:min(720px,100%)}
.loginHeroV418{padding-bottom:24px!important}
.unifiedLoginPanel{max-width:620px;margin:0 auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #d9e8ff}
.singleLoginHead{justify-content:flex-start}
.loginHelpText{margin:14px 0 0;color:var(--muted);font-size:13px;text-align:center;line-height:1.35}
.loginFooterActions{border-top:1px solid #e7eefb;margin-top:18px;padding-top:12px}
.loginFooterActions .installBtnLogin{background:#eef6ff;color:#073b8f;border:1px solid #cfe3ff;box-shadow:none}
@media(max-width:640px){.loginCardV418{border-radius:26px}.unifiedLoginPanel{padding:18px}.loginHeroV418 h1{font-size:42px}}

/* V419 - connexion unique exactement comme la maquette validee */
html,body{min-height:100%;}

.loginPageV419{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 18px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.10) 0 12%,transparent 12% 100%),
    linear-gradient(135deg,#0646a5 0%,#0b72ff 52%,#071b3d 100%);
}
.loginCardV419{
  width:min(720px, 100%);
  background:#fff;
  border-radius:36px;
  box-shadow:0 30px 90px rgba(0,24,80,.34);
  padding:46px 48px 42px;
  border:1px solid rgba(255,255,255,.75);
}
.loginLogoV419{
  display:block;
  width:190px;
  max-width:44vw;
  height:auto;
  margin:0 auto 26px;
  object-fit:contain;
}
.loginCardV419 h1{
  margin:0 0 34px;
  text-align:center;
  font-size:clamp(42px,6vw,60px);
  line-height:1;
  letter-spacing:.01em;
  font-weight:1000;
  color:#0d1b35;
}
.loginFormV419{display:block;}
.loginFormV419 label{
  display:block;
  margin:0 0 9px;
  color:#0d1b35;
  font-size:20px;
  font-weight:1000;
}
.fieldIconV420{position:relative;margin:0 0 25px;}
.fieldIconV420:before{
  position:absolute;
  left:22px;
  top:50%;
  transform:translateY(-50%);
  color:#7b8798;
  font-size:25px;
  z-index:2;
  opacity:.9;
}
.userIconV420:before{content:'👤';}
.lockIconV420:before{content:'🔒';}
.togglePasswordV422{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#7b8798;
  font-size:22px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none;
}
.togglePasswordV422:hover{background:rgba(11,114,255,.08);}

.loginFormV419 input{
  width:100%;
  min-height:74px;
  border:1px solid #cfd8e8;
  border-radius:18px;
  background:#fff;
  padding:0 60px;
  font-size:23px;
  color:#0d1b35;
  outline:none;
  margin:0;
}
.loginFormV419 input::placeholder{color:#7d8797;}
.loginFormV419 input:focus{
  border-color:#0b72ff;
  box-shadow:0 0 0 5px rgba(11,114,255,.13);
}
.loginFormV419 button{
  width:100%;
  min-height:76px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#267cff 0%,#0757ce 100%);
  color:#fff;
  font-size:25px;
  font-weight:1000;
  box-shadow:none;
  margin:6px 0 30px;
}
.forgotV419{
  display:block;
  text-align:center;
  color:#073b8f;
  font-size:24px;
  font-weight:1000;
}
.installSmallV419{
  text-align:center;
  margin-top:20px;
  font-size:18px;
  opacity:.55;
}
.installSmallV419 a{color:#073b8f;font-weight:900;}
.loginAlertV419{
  margin:-12px 0 22px;
  font-size:16px;
}
@media(max-width:640px){
  .loginPageV419{align-items:flex-start;padding:18px 18px 70px;}
  .loginCardV419{border-radius:30px;padding:34px 24px 34px;margin-top:18px;width:min(94vw,720px);}
  .loginLogoV419{width:172px;margin-bottom:24px;max-width:48vw;}
  .loginCardV419 h1{font-size:40px;margin-bottom:30px;}
  .loginFormV419 label{font-size:18px;}
  .fieldIconV420{margin-bottom:22px;}
  .fieldIconV420:before{left:18px;font-size:21px;}
  .lockIconV420:after{right:18px;font-size:20px;}
  .loginFormV419 input{min-height:64px;border-radius:16px;font-size:20px;padding:0 52px;}
  .loginFormV419 button{min-height:66px;border-radius:16px;font-size:22px;margin-bottom:27px;}
  .forgotV419{font-size:20px;}
  .installSmallV419{font-size:16px;}
}

/* V421 - connexion compacte sur une seule page, responsive mobile */
.loginPageV419{
  min-height:100vh;
  min-height:100dvh;
  padding:12px 12px;
  overflow:hidden;
}
.loginCardV419{
  max-height:calc(100dvh - 24px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
@media(max-width:640px){
  body:has(.loginPageV419){overflow:hidden;}
  .loginPageV419{align-items:center;padding:10px 12px;}
  .loginCardV419{
    width:min(92vw,620px);
    max-height:calc(100dvh - 20px);
    margin:0;
    border-radius:28px;
    padding:22px 22px 20px;
  }
  .loginLogoV419{width:116px;max-width:34vw;margin-bottom:14px;}
  .loginCardV419 h1{font-size:34px;margin-bottom:20px;line-height:1;}
  .loginFormV419 label{font-size:16px;margin-bottom:7px;}
  .fieldIconV420{margin-bottom:14px;}
  .fieldIconV420:before{left:16px;font-size:18px;}
  .togglePasswordV422{right:10px;width:38px;height:38px;font-size:19px;}
  .loginFormV419 input{min-height:54px;border-radius:14px;font-size:18px;padding:0 46px;}
  .loginFormV419 button{min-height:56px;border-radius:14px;font-size:20px;margin:4px 0 17px;}
  .forgotV419{font-size:18px;line-height:1.1;}
  .installSmallV419{font-size:14px;margin-top:12px;}
  .loginAlertV419{margin:0 0 12px;font-size:14px;padding:9px;}
}
@media(max-width:380px),(max-height:720px){
  .loginCardV419{padding:18px 18px 16px;border-radius:24px;}
  .loginLogoV419{width:96px;margin-bottom:10px;}
  .loginCardV419 h1{font-size:30px;margin-bottom:16px;}
  .loginFormV419 label{font-size:15px;margin-bottom:5px;}
  .fieldIconV420{margin-bottom:10px;}
  .loginFormV419 input{min-height:48px;font-size:16px;}
  .loginFormV419 button{min-height:50px;font-size:18px;margin-bottom:12px;}
  .forgotV419{font-size:16px;}
  .installSmallV419{font-size:12px;margin-top:8px;}
}
@media(max-height:620px){
  .loginLogoV419{width:76px;margin-bottom:7px;}
  .loginCardV419 h1{font-size:26px;margin-bottom:12px;}
  .loginFormV419 input{min-height:42px;font-size:15px;}
  .loginFormV419 button{min-height:44px;font-size:16px;margin-bottom:8px;}
  .forgotV419{font-size:14px;}
  .installSmallV419{display:none;}
}

/* V422 - oeil afficher / masquer mot de passe */
.loginFormV419 .togglePasswordV422{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#7b8798;
  font-size:22px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none;
}
.loginFormV419 .togglePasswordV422:hover{background:rgba(11,114,255,.08);}
@media(max-width:640px){.loginFormV419 .togglePasswordV422{right:10px;width:38px;height:38px;font-size:19px;}}
.fileField{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 14px;border:1px dashed rgba(37,99,235,.35);border-radius:16px;background:#f8fbff;color:#1e3a8a;font-weight:800;cursor:pointer;text-align:center}
.fileField input{display:none}

/* V430 - Paramètres produits / tâches / frigos + tableau de bord */
.settingsBubbles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.settingsBubble{min-height:0}
.dashboardColumns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.todoList{display:grid;gap:10px;margin:12px 0 0;padding:0;list-style:none}
.todoList li{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:16px;background:#f7fbff;border:1px solid rgba(37,99,235,.12)}
.todoList strong{color:#0f172a;font-size:15px}
.todoList span{color:#64748b;font-size:13px}
@media(max-width:900px){.settingsBubbles,.dashboardColumns{grid-template-columns:1fr}.settingsBubble{padding:16px}}
@media(max-width:640px){.settingsBubbles{gap:14px}.dashboardColumns{gap:14px}.todoList li{padding:11px 12px}.settingsBubble h2{font-size:20px}}

/* V433 - listes déroulantes plus propres et lisibles */
select, input, textarea {
  font-size: 16px;
  line-height: 1.25;
}
.workPanel select {
  font-weight: 500;
}

/* V435 notifications, seuils température et tableau de bord cliquable */

.moduleIconWrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.notifBadge{position:absolute;right:-10px;top:-10px;min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:#ef233c;color:#fff;font-size:14px;line-height:28px;text-align:center;box-shadow:0 8px 18px rgba(239,35,60,.28);border:2px solid #fff}
.dashboardStats a{background:#fff;border:1px solid rgba(7,70,168,.10);border-radius:22px;padding:18px;box-shadow:0 10px 26px rgba(7,45,108,.08);display:flex;flex-direction:column;gap:4px}
.dashboardStats a b{font-size:34px;color:#0b72ff}
.dashboardStats a span{color:#63718a;font-weight:800}
.clickableTodos a{display:block}
.okBox{background:#eefaf1;border:1px solid #bde7c7;color:#126b2e;border-radius:16px;padding:14px 16px;font-weight:800}
/* V436 modifier / supprimer paramètres */
.editList{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.editList h3{margin:0 0 4px;font-size:17px;color:#0d1b35}
.editRow{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;align-items:center;background:#f6f9ff;border:1px solid rgba(7,70,168,.12);border-radius:18px;padding:10px}
.editRow input,.editRow select{width:100%;min-height:44px;border:1px solid #d9e4f5;border-radius:12px;padding:10px 12px;background:#fff;font-weight:700}
.editRow button{min-height:44px;padding:10px 14px;border-radius:12px}
.dangerBtn{background:linear-gradient(135deg,#ff5c5c,#c9182b)!important;color:#fff!important}
@media(max-width:700px){.editRow{grid-template-columns:1fr}.editRow button{width:100%}}

/* V437 - comptes responsables et salaries */
.accountBubbles .wideBubble{grid-column:1/-1}
.accessGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:6px 0}
.userList{display:grid;gap:10px}
.userRow{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid rgba(7,70,168,.12);border-radius:18px;padding:12px;background:#fff}
.userRow div{display:flex;flex-direction:column;gap:3px}.userRow span,.userRow em{color:#63718a;font-size:13px}.dangerBtn{background:#ef233c!important;box-shadow:none!important}
@media(max-width:720px){.userRow{align-items:stretch;flex-direction:column}.accessGrid{grid-template-columns:1fr}}

/* V438 admin PDV modifier/supprimer */
.adminEditFilter{margin-bottom:16px;padding:14px;border-radius:20px;background:#f4f8ff;border:1px solid rgba(7,70,168,.12)}
.ghostBlue{background:#eaf3ff;color:#0746a8;border:1px solid rgba(7,70,168,.18);box-shadow:none}
.pdvCardActions{display:flex;flex-direction:column;gap:10px;width:100%;margin-top:10px}
.pdvCardActions form,.pdvCardActions button{width:100%}
.dangerBtn{background:#ef233c!important;color:white!important;border:none!important;box-shadow:0 10px 22px rgba(239,35,60,.20)!important}

/* V439 - ecran connexion recentre : logo plus grand, titre plus discret */
.loginPageV419{
  min-height:100dvh!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
}
.loginCardV419{
  width:min(720px, 94vw)!important;
  margin:auto!important;
  padding:34px 48px 34px!important;
  transform:none!important;
}
.loginLogoV419{
  width:235px!important;
  max-width:42vw!important;
  margin:0 auto 18px!important;
}
.loginCardV419 h1{
  font-size:clamp(30px,4.2vw,44px)!important;
  margin:0 0 28px!important;
  letter-spacing:.02em!important;
}
@media(max-width:640px){
  .loginPageV419{padding:10px 12px!important;align-items:center!important;}
  .loginCardV419{width:min(94vw,720px)!important;padding:22px 22px 20px!important;border-radius:28px!important;}
  .loginLogoV419{width:150px!important;max-width:42vw!important;margin-bottom:12px!important;}
  .loginCardV419 h1{font-size:30px!important;margin-bottom:18px!important;}
}
@media(max-height:760px){
  .loginCardV419{padding-top:24px!important;padding-bottom:24px!important;}
  .loginLogoV419{width:185px!important;margin-bottom:12px!important;}
  .loginCardV419 h1{font-size:34px!important;margin-bottom:20px!important;}
  .fieldIconV420{margin-bottom:16px!important;}
}

/* V442 - boutons photo/fichier traçabilité */
.tracePhotoForm{grid-template-columns:1.2fr 1fr 1fr 1.1fr}.cameraBtn{background:#eef7ff}.fileBtn{background:#fff9ef}@media(max-width:860px){.tracePhotoForm{grid-template-columns:1fr}}

/* V443 bouton photo fiable tablette */
.fileAction{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:14px 16px;border:1px dashed rgba(37,99,235,.35);border-radius:16px;background:#f8fbff;color:#1e3a8a;font-weight:900;cursor:pointer;text-align:center;box-shadow:none}
.fileAction.cameraBtn{background:#eef7ff}
.fileAction.fileBtn{background:#fff9ef}
.hiddenFileInput{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
.selectedFile{display:flex;align-items:center;min-height:48px;padding:12px 14px;border-radius:16px;background:#f4f7fb;color:#536176;font-weight:800}


/* V444 camera directe traçabilité */
.cameraBox{grid-column:1/-1;gap:10px;background:#f6f9ff;border:1px solid rgba(37,99,235,.16);border-radius:18px;padding:12px}
.cameraBox video{width:100%;max-height:62vh;border-radius:16px;background:#111;object-fit:cover}
.cameraBox .fileAction{width:100%}

/* V445 camera en popup */
.cameraPopup{position:fixed;inset:0;z-index:9999;background:rgba(8,18,40,.86);padding:18px;align-items:center;justify-content:center;gap:14px;flex-direction:column;border-radius:0;border:0}
.cameraPopup video{width:min(980px,100%);height:min(72vh,760px);max-height:72vh;border-radius:22px;background:#000;object-fit:cover;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.cameraPopup canvas{display:none}
.cameraPopup .fileAction{width:min(980px,100%);min-height:64px;font-size:20px;border-radius:18px}
.cameraPopup #capture_photo_btn{background:#eaf7ff;color:#073b8f}
.cameraPopup #close_camera_btn{background:#fff;color:#0d1b35}
@media(max-width:860px){.cameraPopup{padding:10px}.cameraPopup video{height:70vh}.cameraPopup .fileAction{font-size:17px}}


/* V446 vraie popup navigateur pour la caméra */
.cameraDialog{width:min(98vw,980px);max-width:98vw;height:min(96vh,900px);max-height:96vh;border:0;border-radius:26px;padding:0;background:#071b3f;color:#fff;box-shadow:0 30px 100px rgba(0,0,0,.55)}
.cameraDialog::backdrop{background:rgba(3,10,25,.78);backdrop-filter:blur(3px)}
.cameraDialogInner{height:100%;display:flex;flex-direction:column;gap:12px;padding:14px}
.cameraDialogTop{display:flex;align-items:center;justify-content:space-between;font-size:22px;font-weight:950;padding:6px 4px 0}
.cameraCloseBtn{width:48px;height:48px;border-radius:999px;border:0;background:#fff;color:#082456;font-size:26px;font-weight:950;box-shadow:none}
.cameraDialog video{flex:1;width:100%;min-height:0;border-radius:20px;background:#000;object-fit:cover}
.cameraDialogActions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cameraDialogActions .fileAction{min-height:62px;font-size:18px;border:0;border-radius:16px}
@media(max-width:700px){.cameraDialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0}.cameraDialogInner{padding:10px}.cameraDialogActions{grid-template-columns:1fr}.cameraDialogTop{font-size:19px}.cameraCloseBtn{width:44px;height:44px}}


/* V447 caméra intégrée sans popup, boutons ovales */
.tracePhotoForm .fileAction{border-radius:999px;min-height:58px;font-size:18px;font-weight:950;box-shadow:0 10px 24px rgba(7,70,168,.10)}
.cameraInline{grid-column:1/-1;background:#f6f9ff;border:1px solid rgba(7,70,168,.14);border-radius:24px;padding:14px;box-shadow:0 10px 26px rgba(7,45,108,.08)}
.cameraInline video{width:100%;max-height:58vh;border-radius:22px;background:#000;object-fit:cover;display:block}
.cameraOvalActions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.ovalBtn{border:0;border-radius:999px;padding:14px 26px;font-size:17px;font-weight:950;cursor:pointer;min-width:150px;box-shadow:0 10px 24px rgba(7,70,168,.12)}
.ovalPrimary{background:linear-gradient(135deg,#2b85ff,#0746a8);color:#fff}
.ovalGhost{background:#fff;color:#0746a8;border:1px solid rgba(7,70,168,.18)}
@media(max-width:700px){.tracePhotoForm .fileAction{min-height:54px;font-size:16px}.cameraInline{padding:10px;border-radius:20px}.cameraInline video{max-height:52vh}.ovalBtn{flex:1;min-width:130px;padding:13px 18px}}

/* V448 aperçu photo capturée + sauvegarde claire */
.photoPreviewBox{grid-column:1/-1;display:grid;gap:10px;justify-items:center;background:#eef7ff;border:1px solid rgba(7,70,168,.16);border-radius:22px;padding:14px;color:#093b86;font-weight:900}
.photoPreviewBox img{width:min(100%,720px);max-height:52vh;object-fit:contain;border-radius:18px;background:#000;box-shadow:0 12px 28px rgba(7,45,108,.14)}
.saveTraceBtn{grid-column:1/-1;border-radius:999px;min-height:58px;font-size:18px}

/* V450 étiquettes FR + numéro photo */
.traceNumberBadge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 12px;background:#fff3d6;color:#8a4b00;font-weight:950;border:1px solid #ffd595;white-space:nowrap}
.tracePhotoCell{display:flex;align-items:center;gap:12px;min-width:220px}.traceThumb{width:84px;height:84px;object-fit:cover;border-radius:14px;border:1px solid #d6e5ff;box-shadow:0 8px 20px rgba(7,45,108,.1);background:#fff}.tracePhotoInfos{display:grid;gap:4px}.tracePhotoInfos strong{color:#073b8f}.tracePhotoInfos small{color:var(--muted);word-break:break-all}
.labelAddForm{margin-bottom:18px}
.labelEditList{display:grid;gap:14px;margin-top:16px}
.labelEditCard{background:#f8fbff;border:1px solid rgba(7,70,168,.12);border-radius:22px;padding:14px;box-shadow:0 8px 22px rgba(7,45,108,.08)}
.labelEditForm{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr 1fr 1fr auto;gap:10px;align-items:center}
.labelMetaInfo{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.labelMetaInfo span{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:#eef6ff;border:1px solid #d6e5ff;color:#0746a8;font-size:13px;font-weight:850}
.labelActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.printBtn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 20px;font-weight:950;background:linear-gradient(135deg,#2b85ff,#0746a8);color:#fff;box-shadow:0 10px 22px rgba(7,70,168,.15)}
.labelActions .dangerBtn{border-radius:999px;padding:12px 20px;box-shadow:none;background:#fff1f1;color:#b42318;border:1px solid #ffd1d1}
.printSheet{margin:18px 0;padding:14px;border-radius:18px;background:#fff8e8;border:1px dashed #d9a441}
.labelCardPrint{width:320px;min-height:150px;background:#fff;border:2px solid #111;border-radius:10px;padding:16px;display:grid;gap:8px;font-size:18px;color:#111}
.labelPrintRef{display:inline-flex;justify-self:start;border-radius:999px;padding:6px 10px;background:#fff3d6;border:1px solid #f2c15b;color:#8a4b00;font-size:13px;font-weight:950;letter-spacing:.02em}
.labelCardPrint strong{font-size:26px;text-transform:uppercase;line-height:1.05}
.labelCardPrint span{font-weight:800}
@media(max-width:980px){.labelEditForm{grid-template-columns:1fr 1fr}.labelEditForm button{grid-column:1/-1}.tracePhotoCell{min-width:170px}}
@media(max-width:640px){.labelEditForm{grid-template-columns:1fr}.labelCardPrint{width:100%}.tracePhotoCell{flex-direction:column;align-items:flex-start}.traceThumb{width:100%;max-width:220px;height:auto;aspect-ratio:1/1}}
@media print{
  body *{visibility:hidden!important}
  .printSheet,.printSheet *{visibility:visible!important}
  .printSheet{position:absolute!important;left:0!important;top:0!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;width:100%!important}
  .labelCardPrint{width:70mm!important;min-height:38mm!important;border:1px solid #000!important;border-radius:0!important;box-shadow:none!important;font-size:11pt!important;padding:4mm!important}
  .labelCardPrint strong{font-size:16pt!important}
  .labelPrintRef{font-size:9pt!important;padding:2mm 3mm!important}
}

/* V451 retour visuel creation etiquette */
.successBox{background:#eefaf1;border:1px solid #bde7c7;color:#126b2e;border-radius:16px;padding:14px 16px;font-weight:850;margin:10px 0 14px}.successBox strong,.successBox span{display:block}.labelSuccessBox{display:grid;gap:3px}.newLabelCard{border:2px solid #1f8f3a!important;background:#f3fff6!important}.newLabelBanner{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;border-radius:999px;background:#1f8f3a;color:#fff;font-weight:950;padding:8px 14px;margin-bottom:10px}.saveTraceBtn:disabled{opacity:.65;cursor:wait}


/* V452 - tracabilite photo + etiquette plus claires */
.traceSavedBox{display:grid;gap:8px;align-items:start}.traceSavedBox strong{font-size:18px}.inlineActionBtn{display:inline-flex;align-items:center;justify-content:center;max-width:260px;background:linear-gradient(135deg,#f59b2b,#f5841f);color:#fff;border-radius:14px;padding:12px 16px;font-weight:900;box-shadow:0 12px 24px rgba(245,132,31,.22)}.photoPreviewBox small{color:#63718a;font-weight:800}.labelThumbLink{display:block;margin-top:10px}.labelThumb{width:100%;max-width:220px;height:auto;border-radius:18px;border:1px solid #d7e2f5;box-shadow:0 12px 24px rgba(7,45,108,.10)}.ghostPhotoBtn{background:#eef6ff!important;color:#073b8f!important;border:1px solid #cfe3ff;box-shadow:none!important}.labelActions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.labelActions form{margin:0}.tracePhotoCell{display:flex;gap:12px;align-items:flex-start;min-width:220px}.traceThumb{width:96px;height:96px;object-fit:cover;border-radius:16px;border:1px solid #d7e2f5}.tracePhotoInfos{display:grid;gap:5px}.tracePhotoInfos strong{color:#073b8f}.tracePhotoInfos small{color:#63718a;word-break:break-word}.photoPreviewBox{gap:6px}.photoPreviewBox img{max-width:220px;border-radius:18px;border:1px solid #d7e2f5;box-shadow:0 12px 24px rgba(7,45,108,.10)}@media(max-width:860px){.labelThumb{max-width:100%}.labelActions{flex-direction:column;align-items:stretch}.labelActions .printBtn,.labelActions .dangerBtn{width:100%}.inlineActionBtn{max-width:100%}}

/* V453 - galerie tracabilite + impression automatique */
.traceGallery{margin-top:18px;background:#f8fbff;border:1px solid rgba(7,70,168,.10);border-radius:24px;padding:16px}
.traceGallery h3{margin:0 0 12px;color:#073b8f;font-size:20px}
.traceGalleryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.traceGalleryCard{background:#fff;border:1px solid #dce9ff;border-radius:22px;padding:12px;box-shadow:0 10px 24px rgba(7,45,108,.08);display:grid;gap:10px}
.traceGalleryCard img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;background:#111;border:1px solid #d7e2f5}
.traceGalleryInfo{display:grid;gap:4px}.traceGalleryInfo strong{color:#073b8f;font-size:17px}.traceGalleryInfo span{font-weight:900;color:#0d1b35}.traceGalleryInfo small{color:#63718a;line-height:1.3}
.traceDetails{margin-top:16px}.traceDetails summary{cursor:pointer;font-weight:950;color:#073b8f;background:#eef6ff;border:1px solid #d6e5ff;border-radius:999px;padding:12px 16px;display:inline-flex}
.labelSuccessBox{display:grid;gap:6px}.labelSuccessBox em{font-style:normal;font-weight:900;color:#073b8f}
@media(max-width:900px){.traceGalleryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.traceGalleryGrid{grid-template-columns:1fr}.traceGallery{padding:12px;border-radius:20px}}

/* V454 - gestion PDV en bulles larges pour reduire le scroll */
.adminGestionPage .pdvGestionGrid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:14px!important}
.adminGestionPage .pdvGestionGrid .pdvCard{min-height:0!important;width:100%!important;display:grid!important;grid-template-columns:56px minmax(180px,1.2fr) minmax(230px,1.4fr) minmax(210px,.9fr) minmax(130px,.55fr)!important;align-items:center!important;text-align:left!important;gap:12px!important;padding:13px 16px!important;border-radius:22px!important}
.adminGestionPage .pdvGestionGrid .pdvCard .moduleIcon{width:48px!important;height:48px!important;border-radius:17px!important;font-size:25px!important;margin:0!important}
.adminGestionPage .pdvGestionGrid .pdvCard strong{font-size:16px!important;line-height:1.1!important;min-width:0!important}
.adminGestionPage .pdvGestionGrid .pdvCard em{font-size:13px!important;line-height:1.25!important;min-width:0!important;color:#52637d!important}
.adminGestionPage .pdvGestionGrid .pdvCard small{font-size:12px!important;color:#63718a!important;word-break:break-word!important;min-width:0!important}
.adminGestionPage .pdvGestionGrid .pdvCard form{margin:0!important;width:100%!important}
.adminGestionPage .pdvGestionGrid .pdvCard button{margin:0!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;border-radius:14px!important;font-size:13px!important;box-shadow:none!important}
.adminGestionPage .pdvGestionGrid .pdvCardActions{margin:0!important;width:100%!important;display:block!important}
.adminGestionPage .pdvGestionGrid .dangerBtn{background:#fff1f1!important;color:#b42318!important;border:1px solid #ffd1d1!important}
@media(max-width:900px){.adminGestionPage .pdvGestionGrid .pdvCard{grid-template-columns:48px 1fr!important;gap:10px!important}.adminGestionPage .pdvGestionGrid .pdvCard em,.adminGestionPage .pdvGestionGrid .pdvCard small,.adminGestionPage .pdvGestionGrid .pdvCard form,.adminGestionPage .pdvGestionGrid .pdvCard .pdvCardActions{grid-column:1/-1!important}.adminGestionPage .pdvGestionGrid .pdvCard button{min-height:46px!important}}

/* V455 - Etiquettes simplifiees + photo ouvrable */
.labelPanelClean{padding-top:16px}
.labelPanelClean .printSheet{display:none}
.labelAddFormClean,.labelEditFormClean{display:grid;grid-template-columns:1.15fr .85fr .85fr .9fr .75fr .9fr auto;gap:10px;align-items:end;margin:0 0 18px}
.labelField{display:grid;gap:6px;margin:0;color:#073b8f;font-weight:950;font-size:13px}
.labelField span{line-height:1.1}
.labelField input,.labelField select{width:100%;min-height:48px;border:1px solid #d7e2f5;border-radius:15px;padding:12px 13px;font:inherit;background:#f9fbff;color:#0d1b35}
.labelAddFormClean button,.labelEditFormClean button{min-height:48px;border-radius:15px;white-space:nowrap}
.labelThumbButton{width:100%;max-width:320px;margin:10px 0 0;padding:0;background:#fff;border:1px solid #d7e2f5;border-radius:18px;box-shadow:0 12px 24px rgba(7,45,108,.10);overflow:hidden;color:#073b8f;display:grid;gap:0;text-align:center;font-weight:950}
.labelThumbButton .labelThumb{width:100%;max-width:none;height:190px;object-fit:cover;border:0;border-radius:0;box-shadow:none;display:block;background:#f3f7ff}
.labelThumbButton span{padding:10px 12px;background:#eef6ff}
.labelOpenPhoto{border:0;font:inherit;cursor:pointer}
.photoModal{position:fixed;inset:0;background:rgba(3,10,25,.78);z-index:200;display:none;align-items:center;justify-content:center;padding:16px}
.photoModal.isOpen{display:flex}
.photoModalInner{width:min(980px,100%);max-height:94vh;background:#fff;border-radius:24px;padding:14px;display:grid;gap:12px;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.photoModalInner img{max-width:100%;max-height:78vh;object-fit:contain;border-radius:18px;background:#000;margin:auto;display:block}
.photoModalClose{justify-self:end;border-radius:999px;padding:12px 18px;background:#eef6ff;color:#073b8f;border:1px solid #cfe3ff;box-shadow:none}
@media(max-width:1100px){.labelAddFormClean,.labelEditFormClean{grid-template-columns:1fr 1fr 1fr}.labelAddFormClean button,.labelEditFormClean button{grid-column:1/-1}}
@media(max-width:650px){.labelAddFormClean,.labelEditFormClean{grid-template-columns:1fr}.labelThumbButton{max-width:100%}.labelThumbButton .labelThumb{height:230px}.photoModal{padding:8px}.photoModalInner{border-radius:18px;padding:10px}.photoModalInner img{max-height:80vh}}
@media print{.labelPanelClean .printSheet{display:block!important}}

/* V456 - etiquettes compactes + tout imprimer + photo visible */
.labelPanelV456{padding:16px}
.labelAddCompact{background:#f7fbff;border:1px solid #d7e8ff;border-radius:18px;margin-bottom:12px;overflow:hidden}
.labelAddCompact summary{cursor:pointer;padding:14px 16px;font-weight:1000;color:#073b8f;list-style:none}
.labelAddCompact summary::-webkit-details-marker{display:none}
.labelAddCompact[open] summary{border-bottom:1px solid #d7e8ff;background:#eef6ff}
.labelAddCompact .labelAddFormClean{padding:12px;margin:0;grid-template-columns:1.1fr .8fr .8fr .7fr .7fr .8fr auto;gap:8px}
.labelAddCompact .labelField span,.compactEditForm .labelField span{font-size:11px;margin-bottom:3px}
.labelAddCompact input,.labelAddCompact select,.compactEditForm input,.compactEditForm select{min-height:40px;padding:9px 10px;border-radius:12px;font-size:14px}
.labelAddCompact button,.compactEditForm button{min-height:40px;padding:9px 13px;border-radius:12px}
.labelToolbarV456{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #e0ebfb;border-radius:18px;padding:10px 12px;margin-bottom:12px}
.labelToolbarV456 strong{color:#073b8f}.allPrintBtn{padding:10px 16px;box-shadow:none}
.labelCompactList{gap:8px}.labelCompactCard{padding:9px 10px;border-radius:16px;box-shadow:none}
.labelCompactMain{display:grid;grid-template-columns:minmax(180px,1fr) 92px auto;gap:10px;align-items:center}
.labelCompactInfo strong{display:block;font-size:17px;line-height:1.1;color:#0d1b35}.compactMeta{margin-top:6px}.compactMeta span{font-size:12px;padding:5px 8px}
.labelPhotoMini{width:92px;height:74px;border-radius:13px;border:1px solid #cfe0f8;overflow:hidden;background:#f2f7ff;display:grid;place-items:center;color:#073b8f;font-size:12px;font-weight:950;text-align:center;position:relative}
.labelPhotoMini img{width:100%;height:100%;object-fit:cover;display:block}.labelPhotoMini span{position:absolute;left:0;right:0;bottom:0;background:rgba(7,59,143,.86);color:#fff;padding:3px 4px;font-size:11px}.labelPhotoMini.noPhoto{background:#f6f7fb;color:#7a879a}.labelPhotoMini.photoMissing:before{content:'Photo introuvable';padding:8px}
.compactActions{margin:0;justify-content:flex-end;align-items:center}.compactActions .printBtn,.compactActions .dangerBtn,.editDrop summary{padding:9px 13px;border-radius:999px;font-size:13px;font-weight:950}.compactActions form{margin:0}.compactActions .dangerBtn{background:#fff1f1;color:#b42318;border:1px solid #ffd1d1;box-shadow:none}.editDrop{position:relative}.editDrop summary{display:inline-flex;background:#eef6ff;color:#073b8f;border:1px solid #cfe3ff;cursor:pointer;list-style:none}.editDrop summary::-webkit-details-marker{display:none}.editDrop[open] .compactEditForm{position:absolute;right:0;top:42px;z-index:30;width:min(760px,92vw);background:#fff;border:1px solid #d7e2f5;border-radius:18px;padding:12px;box-shadow:0 20px 60px rgba(7,45,108,.22);display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.compactEditForm button{grid-column:1/-1}.labelPanelV456 .printSheet{display:none}
@media(max-width:850px){.labelAddCompact .labelAddFormClean{grid-template-columns:1fr 1fr}.labelAddCompact button{grid-column:1/-1}.labelCompactMain{grid-template-columns:1fr 82px}.compactActions{grid-column:1/-1;justify-content:stretch}.compactActions .printBtn,.compactActions .dangerBtn,.editDrop summary{flex:1;justify-content:center}.editDrop[open] .compactEditForm{left:0;right:auto;width:calc(100vw - 40px);grid-template-columns:1fr}}
@media(max-width:520px){.labelCompactMain{grid-template-columns:1fr}.labelPhotoMini{width:100%;height:150px}.labelToolbarV456{align-items:stretch;flex-direction:column}.allPrintBtn{width:100%}.compactActions{flex-direction:column}.compactActions .printBtn,.compactActions .dangerBtn,.editDrop,.editDrop summary{width:100%}}
@media print{.labelPanelV456 .printSheet{display:grid!important;gap:0}.labelPanelV456 .labelCardPrint{break-inside:avoid;page-break-inside:avoid;margin:0 0 3mm 0}}


/* V458 - tracabilite vue detaillee sans galerie */
.traceDetailsOpen{margin-top:18px;background:#f8fbff;border:1px solid rgba(7,70,168,.10);border-radius:24px;padding:16px}
.traceDetailsOpen h3{margin:0 0 6px;color:#073b8f;font-size:20px}
.tracePhotoCellCompact{display:flex;align-items:center;gap:10px;min-width:260px;flex-wrap:wrap}
.tracePhotoBtn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:9px 12px;background:#0b72ff;color:#fff;font-weight:950;white-space:nowrap}
.inlineDeletePhotoForm{margin:0;display:inline-flex}.dangerSmallBtn{border-radius:999px;padding:9px 12px;background:#ff214b;color:#fff;font-weight:950;box-shadow:none;white-space:nowrap}.mutedCell{color:#63718a;font-weight:800}
@media(max-width:640px){.tracePhotoCellCompact{display:grid;grid-template-columns:1fr;min-width:190px}.tracePhotoBtn,.dangerSmallBtn{width:100%}}


/* V459 - vue detaillee tracabilite clipsable */
.traceDetailsV459{margin-top:18px;background:#f8fbff;border:1px solid rgba(7,70,168,.12);border-radius:24px;padding:12px;box-shadow:0 10px 28px rgba(7,45,108,.08)}
.traceDetailsV459 summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:18px;padding:15px 18px;background:#eef6ff;border:1px solid #d6e5ff;color:#073b8f;font-weight:1000;font-size:18px}
.traceDetailsV459 summary::-webkit-details-marker{display:none}
.traceDetailsV459 summary:after{content:'+';display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0b72ff;color:#fff;font-weight:1000;flex:0 0 auto}
.traceDetailsV459[open] summary:after{content:'−'}
.traceDetailsInner{padding:12px 4px 4px}
@media(max-width:640px){.traceDetailsV459{padding:10px;border-radius:22px}.traceDetailsV459 summary{font-size:16px;padding:14px}.traceDetailsInner{padding:10px 0 0}}


/* V460 - garder la position apres action */
#trace-details{scroll-margin-top:120px}
.traceDetails[open]{border-color:#0b72ff}


/* V461 - photo proportionnee dans la ligne vue detaillee */
.tracePhotoCellV461{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;min-width:360px!important}
.traceLinePhotoLink{display:inline-flex;align-items:center;gap:8px;background:#eef6ff;border:1px solid #cfe3ff;color:#073b8f;border-radius:14px;padding:6px 10px;font-weight:950;white-space:nowrap}
.traceLineThumb{width:58px;height:46px;object-fit:cover;border-radius:10px;border:1px solid #d6e5ff;background:#fff;box-shadow:0 6px 14px rgba(7,45,108,.10)}
.tracePhotoInfosV461{min-width:120px;max-width:220px}
.tracePhotoInfosV461 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
@media(max-width:640px){.tracePhotoCellV461{display:grid!important;grid-template-columns:1fr!important;min-width:210px!important}.traceLinePhotoLink{width:100%;justify-content:flex-start}.traceLineThumb{width:64px;height:48px}.tracePhotoInfosV461,.tracePhotoInfosV461 small{max-width:100%}}


/* V462 - tracabilite photos uniquement en vue detaillee, rangees par jour */
.traceDayGroup{background:#fff;border:1px solid #d9e8ff;border-radius:18px;margin:10px 0;overflow:hidden}
.traceDayGroup>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#f2f8ff;color:#073b8f;font-weight:1000;border-radius:0;font-size:16px}
.traceDayGroup>summary::-webkit-details-marker{display:none}
.traceDayGroup>summary span{background:#0b72ff;color:#fff;border-radius:999px;padding:6px 10px;font-size:12px;white-space:nowrap}
.traceDayTable{margin:0;border-radius:0;border:0;box-shadow:none}
.traceDayTable table{margin:0}
.tracePhotoCellV462{min-width:330px!important;max-width:520px!important}
.traceLineThumbV462{width:64px!important;height:48px!important;object-fit:cover!important;flex:0 0 auto!important}
.emptyDayTrace{background:#fff;border:1px dashed #cfe3ff;border-radius:16px;padding:14px;color:#63718a;font-weight:850}
@media(max-width:760px){.traceDayGroup>summary{align-items:flex-start;flex-direction:column}.tracePhotoCellV462{min-width:220px!important;max-width:100%!important}.traceDayTable{overflow-x:auto}}

/* V464 - camera reduite, boutons toujours visibles */
body.cameraPageOpen{overflow:hidden!important}
body.cameraPageOpen::before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:99998}
.cameraFullPage{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(94vw,560px)!important;height:min(78dvh,680px)!important;max-height:calc(100vh - 34px)!important;z-index:99999!important;display:none!important;flex-direction:column!important;background:#061225!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:24px!important;padding:0!important;box-shadow:0 30px 90px rgba(0,0,0,.45)!important;overflow:hidden!important;color:#fff}
.cameraFullPage.cameraOpen{display:flex!important}
.cameraPageTop{padding:10px 12px;background:rgba(0,0,0,.78);display:grid;gap:2px;text-align:center;flex:0 0 auto}
.cameraPageTop strong{font-size:18px;font-weight:950;color:#fff}.cameraPageTop span{font-size:12px;color:#dbe8ff;font-weight:800}
.cameraFullPage video{flex:1 1 auto;width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important;object-fit:contain!important;background:#000!important}
.cameraPageActions{position:relative!important;flex:0 0 auto;margin:0!important;padding:10px;background:rgba(0,0,0,.82);gap:8px!important;display:grid!important;grid-template-columns:1fr 1fr!important}
.cameraPageActions .ovalBtn{width:100%;min-height:48px;font-size:16px;border-radius:999px}
@media(max-width:700px){.cameraFullPage{width:94vw!important;height:72dvh!important;max-height:calc(100vh - 28px)!important;border-radius:20px!important}.cameraPageTop{padding:8px 10px}.cameraPageTop strong{font-size:17px}.cameraPageTop span{font-size:11px}.cameraPageActions{padding:8px}.cameraPageActions .ovalBtn{min-width:0!important;min-height:46px;font-size:15px}}
@media(max-height:620px){.cameraFullPage{height:68dvh!important}.cameraPageTop{padding:6px 8px}.cameraPageActions .ovalBtn{min-height:42px;font-size:14px}}


/* V467 - impression VRETTI / DYMO 57mm x 32mm */
.labelPrintHelp{background:#eef6ff;border:1px solid #cfe3ff;color:#073b8f;border-radius:16px;padding:10px 12px;margin:8px 0 12px;font-weight:900;font-size:14px;line-height:1.35}
.labelPrintHelp b{color:#0d1b35}
@media print{
  @page{size:57mm 32mm;margin:0}
  html,body{width:57mm!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}
  body *{visibility:hidden!important}
  .printSheet,.printSheet *{visibility:visible!important}
  .printSheet{position:absolute!important;left:0!important;top:0!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;width:57mm!important;display:block!important;gap:0!important}
  .labelPanelV456 .printSheet,.labelPanelClean .printSheet{display:block!important}
  .labelCardPrint{box-sizing:border-box!important;width:57mm!important;height:32mm!important;min-height:32mm!important;max-height:32mm!important;margin:0!important;padding:2.4mm 3mm!important;border:0!important;border-left:.45mm solid #111!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;color:#111!important;display:grid!important;grid-template-rows:auto auto auto auto auto!important;align-content:center!important;gap:.7mm!important;overflow:hidden!important;break-after:page!important;page-break-after:always!important;font-size:8pt!important;line-height:1.05!important}
  .labelCardPrint:last-child{break-after:auto!important;page-break-after:auto!important}
  .labelCardPrint strong{font-size:12.3pt!important;line-height:1!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;margin:0!important}
  .labelCardPrint span{font-size:7.8pt!important;line-height:1.05!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;margin:0!important}
  .labelPrintRef{font-size:7pt!important;line-height:1!important;padding:1mm 1.5mm!important;border-radius:999px!important;max-width:50mm!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}


/* V468 - bouton EZLabel */
.ezLabelBtn{border:none;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;background:#0b63ce;color:#fff}
.ezLabelBtn:hover{filter:brightness(.95)}
@media(max-width:640px){.ezLabelBtn{width:100%;}}

/* V471 - dashboard au clic */
.dashboardStatsV471{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboardStatsV471 a{cursor:pointer}.dashboardColumnsSolo{grid-template-columns:minmax(0,1fr);max-width:620px}.dashboardColumnsSolo .workPanel{width:100%}
@media(max-width:700px){.dashboardStatsV471{grid-template-columns:1fr}.dashboardColumnsSolo{max-width:100%}}

/* V473 - plan de nettoyage simplifie */

/* V474 - temperatures par jour, clipsable + / - */
.tempDayListV474{display:grid;gap:12px;margin-top:16px}
.tempDayBubbleV474{background:#fff;border:1px solid #d9e8ff;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(7,45,108,.07)}
.tempDayBubbleV474>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#f2f8ff;color:#073b8f;font-weight:1000}
.tempDayBubbleV474>summary::-webkit-details-marker{display:none}
.tempDayBubbleV474>summary:after{content:'+';display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0b72ff;color:#fff;font-weight:1000;flex:0 0 auto}
.tempDayBubbleV474[open]>summary:after{content:'−'}
.tempDayCountersV474{display:flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.tempDayCountersV474 b,.tempDayCountersV474 em{border-radius:999px;padding:6px 10px;font-size:12px;font-style:normal;white-space:nowrap}
.tempDayCountersV474 b{background:#e7f0ff;color:#073b8f}
.tempDayCountersV474 em.ok{background:#e9fbf0;color:#0f7a35}
.tempDayCountersV474 em.late{background:#fff0e6;color:#b54a00}
.tempDayInsideV474{padding:12px 14px 14px;display:grid;gap:12px}
.lateBoxV474{background:#fff7ef;border:1px solid #ffd7ad;border-radius:16px;padding:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#713000;font-weight:900}
.lateBoxV474 strong{margin-right:6px;color:#b54a00}.lateBoxV474 span{background:#fff;border:1px solid #ffe0bd;border-radius:999px;padding:7px 10px}
.tempDayTableV474{box-shadow:none;border-radius:14px;margin:0}.tempDayTableV474 table{margin:0}
@media(max-width:700px){.tempDayBubbleV474>summary{align-items:flex-start;flex-direction:column}.tempDayCountersV474{margin-left:0;justify-content:flex-start}.tempDayBubbleV474>summary:after{position:absolute;right:18px}.tempDayBubbleV474>summary{position:relative;padding-right:60px}.tempDayTableV474{overflow-x:auto}}

/* V475 - saisie temperatures obligatoires dans bulles jour */
.tempDayInsideV475{gap:14px}
.tempMandatoryBoxV475{margin:0}
.tempMandatoryFormsV475{display:grid;gap:10px}
.tempMandatoryFormV475{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(120px,.7fr) minmax(120px,.8fr) auto;gap:8px;align-items:center;background:#fff;border:1px solid #ffd7ad;border-radius:16px;padding:10px;box-shadow:0 8px 20px rgba(7,45,108,.05)}
.tempMandatoryFormV475 div strong{display:block;color:#0d1b35;font-size:15px;line-height:1.15}.tempMandatoryFormV475 div span{display:block;color:#b54a00;font-size:12px;font-weight:900;margin-top:3px}
.tempMandatoryFormV475 input{min-height:42px;border-radius:12px;border:1px solid #d8e2f1;padding:9px 11px;font-weight:850}.tempMandatoryFormV475 button{min-height:42px;border-radius:999px;padding:9px 16px;white-space:nowrap}
.tempManualAddV475{background:#f8fbff;border:1px solid #d9e8ff;border-radius:16px;padding:10px}.tempManualAddV475>summary{cursor:pointer;list-style:none;color:#073b8f;font-weight:1000}.tempManualAddV475>summary::-webkit-details-marker{display:none}.tempManualAddV475 form{margin-top:10px}
@media(max-width:820px){.tempMandatoryFormV475{grid-template-columns:1fr}.tempMandatoryFormV475 button{width:100%}}

/* V476 - notifications sur icones */
.moduleCardNotifyV476{position:relative!important}
.moduleNotifV476{position:absolute;right:12px;top:12px;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:#ff3b30;color:#fff;display:grid;place-items:center;font-size:14px;font-weight:1000;line-height:1;box-shadow:0 8px 18px rgba(255,59,48,.28);border:2px solid #fff}
@media(max-width:700px){.moduleNotifV476{right:9px;top:9px;min-width:28px;height:28px;font-size:13px}}

/* V478 - alertes temperature avec note + tableau de bord 3 icones */
.dashboardStatsV471{grid-template-columns:repeat(3,minmax(0,1fr))}
.alertNoteListV478{display:grid;gap:10px;margin-top:12px}
.alertNoteCardV478{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(190px,1fr) minmax(130px,.7fr) auto;gap:8px;align-items:center;background:#fff7ef;border:1px solid #ffd3a3;border-radius:16px;padding:11px;box-shadow:0 8px 22px rgba(181,74,0,.08)}
.alertNoteCardV478 strong{display:block;color:#9a3000;font-size:15px;line-height:1.15}.alertNoteCardV478 span{display:block;color:#713000;font-size:12px;font-weight:900;margin-top:3px}
.alertNoteCardV478 input{min-height:42px;border-radius:12px;border:1px solid #ffd3a3;padding:9px 11px;font-weight:850;background:#fff}.alertNoteCardV478 button{min-height:42px;border-radius:999px;padding:9px 16px;white-space:nowrap;background:#ff7a00;color:#fff;border:0;font-weight:1000}
@media(max-width:900px){.alertNoteCardV478{grid-template-columns:1fr}.alertNoteCardV478 button{width:100%}}
@media(max-width:700px){.dashboardStatsV471{grid-template-columns:1fr}}

/* V480 - alertes temperature rouges et historique conserve apres rectification */
.tempAlertSummaryV480{display:inline-grid;grid-template-columns:auto auto auto auto;gap:6px 10px;align-items:center;background:#fff;border:1px solid #ffd1d1;border-radius:999px;padding:8px 14px;margin:8px 0 12px;box-shadow:0 8px 22px rgba(170,0,0,.08)}
.tempAlertSummaryV480 b{color:#b00020;font-size:20px}.tempAlertSummaryV480 span{font-weight:900;color:#6c1b1b;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.alertNoteCardActiveV480{grid-template-columns:minmax(170px,1.1fr) 92px minmax(190px,1fr) minmax(120px,.7fr) auto!important;background:#fff0f0!important;border:2px solid #e00000!important;box-shadow:0 12px 30px rgba(180,0,0,.16)!important}
.alertNoteCardActiveV480 strong{color:#b00020!important}.alertNoteCardActiveV480 span{color:#7a1111!important}.alertNoteCardActiveV480 button{background:#d60000!important}.tempAlertTempV480{display:grid;place-items:center;min-height:42px;border-radius:14px;background:#d60000;color:#fff;font-size:21px;font-weight:1000;white-space:nowrap;padding:6px 10px}.tempAlertDetailV480{grid-column:1/-1;margin:0;color:#7a1111;font-weight:900;font-size:13px}.tempAlertHistoryTitleV480{margin:18px 0 8px}.tempAlertHistoryV480{display:grid;gap:10px}.tempAlertHistoryCardV480{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px;align-items:center;border-radius:16px;padding:12px;border:1px solid #e2e8f0;background:#fff}.tempAlertHistoryCardV480 strong{display:block}.tempAlertHistoryCardV480 span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.tempAlertHistoryCardV480 p{grid-column:1/-1;margin:0;font-weight:850}.tempAlertHistoryCardV480.isActiveV480{border:2px solid #e00000;background:#fff0f0;color:#7a1111}.tempAlertHistoryCardV480.isResolvedV480{border-color:#b7e7c3;background:#f2fff5}.tempAlertHistoryCardV480.isResolvedV480 .tempAlertTempV480{background:#15803d}.resolvedNoteV480{background:#fff;border:1px solid #b7e7c3;border-radius:12px;padding:9px;color:#14532d}.tempRowAlertV480{background:#ffe7e7!important;color:#7a1111}.tempRowResolvedV480{background:#effdf3!important;color:#14532d}.tempMiniAlertV480{display:inline-block;margin-left:6px;border-radius:999px;padding:3px 7px;background:#d60000;color:#fff;font-size:10px;font-weight:1000;vertical-align:middle}.tempRowResolvedV480 .tempMiniAlertV480{background:#15803d}
@media(max-width:900px){.alertNoteCardActiveV480,.tempAlertHistoryCardV480{grid-template-columns:1fr!important}.tempAlertTempV480{justify-content:center}.tempAlertSummaryV480{grid-template-columns:auto auto;white-space:normal;border-radius:18px}.tempAlertDetailV480{grid-column:auto}}

/* V481 - alertes par jour et rectification depuis temperatures */
.alertDayListV481{display:grid;gap:12px;margin-top:12px}
.alertDayBubbleV481{border:1px solid #fecaca;background:#fff7f7;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(180,0,0,.08)}
.alertDayBubbleV481>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;cursor:pointer;font-weight:1000;color:#7f1d1d;background:#fee2e2}
.alertDayBubbleV481>summary::-webkit-details-marker{display:none}
.alertDayBubbleV481>summary:after{content:'+';display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#fff;color:#b91c1c;font-size:22px;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.alertDayBubbleV481[open]>summary:after{content:'−'}
.alertDayBubbleV481>summary span{display:inline-flex;align-items:center;gap:6px;color:#991b1b;font-size:13px}
.alertNoteListDayV481,.tempAlertHistoryDayV481{padding:12px}
.alertDayHistoryBubbleV481{border-color:#dbeafe;background:#f8fbff;box-shadow:0 10px 28px rgba(30,64,175,.06)}
.alertDayHistoryBubbleV481>summary{background:#eff6ff;color:#1e3a8a}.alertDayHistoryBubbleV481>summary span{color:#1d4ed8}.alertDayHistoryBubbleV481>summary:after{color:#1d4ed8}
.tempAlertCellV481{min-width:180px}.tempInlineAlertFixV481{display:block}.tempInlineAlertFixV481>summary{list-style:none;cursor:pointer;font-weight:1000;white-space:nowrap}.tempInlineAlertFixV481>summary::-webkit-details-marker{display:none}
.tempInlineAlertFormV481{display:grid;grid-template-columns:minmax(130px,1fr) minmax(110px,.8fr) auto;gap:6px;margin-top:8px;min-width:360px;background:#fff;border:1px solid #fecaca;border-radius:14px;padding:8px;box-shadow:0 10px 24px rgba(180,0,0,.12)}
.tempInlineAlertFormV481 input{border:1px solid #fecaca;border-radius:10px;padding:8px 10px;font-weight:850;min-height:38px}.tempInlineAlertFormV481 button{border:0;border-radius:999px;background:#d60000;color:#fff;font-weight:1000;padding:8px 12px;white-space:nowrap}.tempOkBadgeV481{display:inline-block;border-radius:999px;background:#dcfce7;color:#166534;padding:4px 8px;font-size:10px;font-weight:1000}
@media(max-width:900px){.alertDayBubbleV481>summary{align-items:flex-start}.tempInlineAlertFormV481{grid-template-columns:1fr;min-width:240px}.tempAlertCellV481{min-width:220px}}


/* V482 - alertes actives visibles dans les bulles Températures */
.tempDayBubbleV474.tempDayHasAlertV482{border-color:#ffb4b4;box-shadow:0 12px 30px rgba(214,0,0,.10)}
.tempDayBubbleV474.tempDayHasAlertV482>summary{background:#fff0f0;color:#7a1111}
.tempDayCountersV474 em.alertV482{background:#d60000;color:#fff;font-weight:1000;box-shadow:0 5px 12px rgba(214,0,0,.18)}
.tempDayBubbleV474.tempDayHasAlertV482>summary:after{background:#d60000}


/* V483 - compteur alerte permanent dans les bulles temperature */
.tempDayCountersV474.tempDayCountersV483{gap:8px}
.tempDayCountersV474 em.alertAlwaysV483{display:inline-flex;align-items:center;gap:4px;background:#d60000;color:#fff;font-weight:1000;box-shadow:0 5px 12px rgba(214,0,0,.18)}
.tempDayCountersV474 em.todoAlwaysV483{display:inline-flex;align-items:center;gap:4px;background:#e9fbf0;color:#0f7a35;font-weight:1000;box-shadow:0 5px 12px rgba(15,122,53,.10)}
.tempDayBubbleV474>summary .alertAlwaysV483{border:1px solid rgba(214,0,0,.12)}
.tempDayBubbleV474>summary .todoAlwaysV483{border:1px solid rgba(15,122,53,.14)}

/* V486 - Journal jour par jour : bulles quotidiennes de tous les événements */
.journalDayPanelV486{display:block}
.journalManualBubbleV486{border:1px solid #ead7bd;background:#fffaf3;border-radius:18px;margin:12px 0 16px;overflow:hidden}
.journalManualBubbleV486>summary{cursor:pointer;list-style:none;padding:13px 15px;font-weight:1000;color:#6b3b00;background:#fff2dd}
.journalManualBubbleV486>summary::-webkit-details-marker{display:none}
.journalManualBubbleV486 form{padding:14px}
.journalDayListV486{display:grid;gap:12px;margin-top:12px}
.journalDayBubbleV486{background:#fff;border:1px solid #d9e8ff;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(7,45,108,.07)}
.journalDayBubbleV486>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#f2f8ff;color:#073b8f;font-weight:1000}
.journalDayBubbleV486>summary::-webkit-details-marker{display:none}
.journalDayBubbleV486>summary span{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#0b72ff;color:#fff;font-size:12px;white-space:nowrap}
.journalDayBubbleV486>summary:after{content:'+';display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:#0b72ff;color:#fff;font-size:22px;line-height:1;flex:0 0 auto}
.journalDayBubbleV486[open]>summary:after{content:'−'}
.journalEventListV486{display:grid;gap:10px;padding:13px;background:#fbfdff}
.journalEventV486{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:start;border:1px solid #e7eef9;background:#fff;border-radius:16px;padding:11px 12px}
.journalEventTimeV486{font-weight:1000;color:#073b8f;background:#eff6ff;border-radius:999px;text-align:center;padding:6px 8px;font-size:12px}
.journalEventBodyV486{display:grid;gap:5px;min-width:0}
.journalEventTopV486{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.journalEventTopV486 b{font-size:12px;text-transform:uppercase;letter-spacing:.03em;background:#f1f5f9;color:#334155;border-radius:999px;padding:5px 8px}
.journalEventTopV486 strong{font-size:15px;color:#101827}
.journalEventBodyV486 p{margin:0;color:#475569;font-weight:750;line-height:1.35}
.journalEventBodyV486 em{font-style:normal;color:#64748b;font-size:12px;font-weight:850}
.journalEventV486.alert{border-color:#fecaca;background:#fff7f7}.journalEventV486.alert .journalEventTimeV486{background:#fee2e2;color:#991b1b}.journalEventV486.alert .journalEventTopV486 b{background:#dc2626;color:#fff}
.journalEventV486.alertDone{border-color:#bbf7d0;background:#f7fff9}.journalEventV486.alertDone .journalEventTimeV486{background:#dcfce7;color:#166534}.journalEventV486.alertDone .journalEventTopV486 b{background:#16a34a;color:#fff}
.journalEventV486.temperature .journalEventTopV486 b{background:#dbeafe;color:#1d4ed8}.journalEventV486.cleaning .journalEventTopV486 b{background:#dcfce7;color:#166534}.journalEventV486.reception .journalEventTopV486 b{background:#ffedd5;color:#9a3412}.journalEventV486.trace .journalEventTopV486 b,.journalEventV486.label .journalEventTopV486 b{background:#fef3c7;color:#92400e}
@media(max-width:700px){.journalDayBubbleV486>summary{align-items:flex-start;flex-direction:column;position:relative;padding-right:58px}.journalDayBubbleV486>summary:after{position:absolute;right:16px;top:12px}.journalEventV486{grid-template-columns:1fr}.journalEventTimeV486{width:max-content}}

/* V487 - Admin gestion PDV en bulle */
.adminCreatePdvBubble{padding:0;overflow:hidden}
.adminCreatePdvBubble[open]{padding:0 22px 22px}
.adminCreatePdvSummary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;padding:20px 22px;font-weight:900;background:linear-gradient(135deg,#f8fbff,#eef6ff);border-radius:var(--radius)}
.adminCreatePdvSummary::-webkit-details-marker{display:none}
.adminCreatePdvSummary strong,.adminCreatePdvSummary em{display:block}
.adminCreatePdvSummary strong{font-size:19px;color:var(--ink)}
.adminCreatePdvSummary em{font-style:normal;color:var(--muted);font-size:13px;margin-top:2px}
.adminCreatePdvIcon{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-size:24px;line-height:1;box-shadow:0 10px 18px rgba(7,70,168,.18)}
.adminCreatePdvBubble[open] .adminCreatePdvIcon{transform:rotate(45deg)}
.adminCreatePdvBubble h2{margin-top:18px}
@media(max-width:640px){.adminCreatePdvBubble[open]{padding:0 16px 18px}.adminCreatePdvSummary{padding:17px 16px}.adminCreatePdvSummary strong{font-size:17px}.adminCreatePdvIcon{width:38px;height:38px;border-radius:14px}}

/* V488 - thermometres connectes, auto temperatures et notifications responsable */
.connectedThermoPanelV488 .moduleHelp{max-width:980px}.thermoCreateBubbleV488{margin-bottom:16px}.thermoSyncActionsV488{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0 18px}.thermoSyncActionsV488 form{margin:0}.thermoSyncActionsV488 button{border:0;border-radius:999px;background:#111827;color:#fff;font-weight:1000;padding:11px 16px}.thermoTableV488 table td{vertical-align:top}.thermoTableV488 td strong{display:block;font-weight:1000}.thermoTableV488 td small{display:block;color:#6b7280;font-weight:800;margin-top:5px}.thermoTableV488 code{display:block;max-width:360px;white-space:normal;word-break:break-all;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:8px;color:#7c2d12;font-weight:800}.sensorTempMiniFormV488{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.sensorTempMiniFormV488 input{width:80px;border:1px solid #ddd;border-radius:10px;padding:8px;font-weight:900}.sensorTempMiniFormV488 select{border:1px solid #ddd;border-radius:10px;padding:8px;font-weight:900}.sensorTempMiniFormV488 button{border:0;border-radius:999px;background:#f5841f;color:#111;font-weight:1000;padding:8px 10px}.thermoAutoBadgeV488{display:inline-flex;align-items:center;border-radius:999px;background:#dcfce7;color:#166534;border:1px solid #86efac;font-weight:1000;padding:6px 10px;white-space:nowrap}@media(max-width:1400px){.thermoSyncActionsV488{display:grid}.thermoSyncActionsV488 button,.thermoSyncActionsV488 .blueLink{width:100%;text-align:center}.thermoTableV488 code{max-width:240px}.sensorTempMiniFormV488{display:grid;grid-template-columns:1fr 1fr}.sensorTempMiniFormV488 button{grid-column:1/-1}}


/* V494 - notifications rouges anciennes versions, sans texte sous icone */
.moduleCardNotifyV494{position:relative!important;overflow:visible!important}
.moduleNotifV494{position:absolute!important;right:10px!important;top:10px!important;min-width:31px!important;height:31px!important;padding:0 8px!important;border-radius:999px!important;background:#ff2d2d!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:14px!important;font-weight:1000!important;line-height:1!important;box-shadow:0 8px 18px rgba(255,45,45,.34)!important;border:2px solid #fff!important;z-index:20!important}
.moduleCardNotifyV494 .moduleWrittenNotifV492,.moduleCardNotifyV494 .moduleTodoText,.moduleCardNotifyV494 .moduleBadgeText{display:none!important}
@media(max-width:700px){.moduleNotifV494{right:8px!important;top:8px!important;min-width:28px!important;height:28px!important;font-size:13px!important}}

/* V496 - correction scroll + paramètres en bulles fermées */
.topbar{z-index:1000!important;isolation:isolate!important;}
.moduleHeader,.workPanel,.moduleCard{position:relative;z-index:1;}
.cameraFullPage{z-index:10000!important;}
.settingsBubbles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
.settingsClosedBubbleV496{background:#fff;border:1px solid rgba(7,70,168,.10);border-radius:26px;box-shadow:0 18px 45px rgba(7,45,108,.14);overflow:hidden;}
.settingsClosedBubbleV496>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;background:linear-gradient(135deg,#f8fbff,#eef6ff);color:#073b8f;font-weight:1000;}
.settingsClosedBubbleV496>summary::-webkit-details-marker{display:none;}
.settingsClosedBubbleV496>summary strong{font-size:18px;color:#0d1b35;line-height:1.15;}
.settingsClosedBubbleV496>summary span{margin-left:auto;margin-right:8px;border-radius:999px;background:#e7f0ff;color:#073b8f;padding:6px 10px;font-size:12px;white-space:nowrap;}
.settingsClosedBubbleV496>summary:after{content:'+';display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:#0b72ff;color:#fff;font-size:24px;line-height:1;font-weight:1000;flex:0 0 auto;}
.settingsClosedBubbleV496[open]>summary:after{content:'−';}
.settingsClosedBubbleV496>.workPanel{box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:16px 20px 20px!important;background:#fff!important;}
.settingsClosedBubbleV496>.workPanel h2{display:none;}
@media(max-width:900px){.settingsBubbles{grid-template-columns:1fr}.settingsClosedBubbleV496>summary{padding:16px}.settingsClosedBubbleV496>summary{align-items:flex-start}.settingsClosedBubbleV496>summary span{white-space:normal;text-align:right}.settingsClosedBubbleV496>.workPanel{padding:14px 16px 18px!important;}}
@media(max-width:520px){.settingsClosedBubbleV496>summary{position:relative;padding-right:58px;flex-direction:column;align-items:flex-start}.settingsClosedBubbleV496>summary span{margin:0;text-align:left}.settingsClosedBubbleV496>summary:after{position:absolute;right:14px;top:14px}}

/* V497 - paramètres plus beaux + badges sous l'en-tête au scroll */
.topbar{
  z-index:2147483000!important;
  transform:translateZ(0)!important;
  -webkit-transform:translateZ(0)!important;
  isolation:isolate!important;
  overflow:hidden!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
}
.appShell{position:relative!important;z-index:1!important;isolation:isolate!important;}
.moduleGrid{position:relative!important;z-index:1!important;isolation:isolate!important;}
.moduleCardNotifyV494{position:relative!important;z-index:1!important;overflow:hidden!important;}
.moduleNotifV494{z-index:2!important;}
.moduleHeader,.workPanel{position:relative!important;z-index:1!important;}
.settingsBubbles{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;align-items:start!important;}
.settingsBubbleCardV497{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:28px!important;overflow:visible!important;}
.settingsBubbleCardV497>summary{
  cursor:pointer!important;
  list-style:none!important;
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
  gap:18px!important;
  padding:18px 22px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:2px solid #dbeaff!important;
  box-shadow:0 18px 38px rgba(7,45,108,.10)!important;
  color:#0d1b35!important;
}
.settingsBubbleCardV497>summary::-webkit-details-marker{display:none!important;}
.settingsBubbleCardV497>summary:after{display:none!important;content:none!important;}
.settingsIconV497{
  width:70px!important;
  height:70px!important;
  border-radius:24px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#eef6ff,#e1efff)!important;
  box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)!important;
  font-size:34px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
.settingsTextV497{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;}
.settingsTextV497 strong{font-size:24px!important;line-height:1.12!important;color:#0d1b35!important;font-weight:1000!important;}
.settingsTextV497 em{font-style:normal!important;font-size:16px!important;line-height:1.22!important;color:#63718a!important;}
.settingsToggleV497{
  width:54px!important;
  height:54px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:#eaf3ff!important;
  color:#0964e5!important;
  font-size:36px!important;
  line-height:1!important;
  font-weight:600!important;
  box-shadow:inset 0 0 0 1px rgba(7,70,168,.06)!important;
}
.settingsToggleV497:before{content:'+'!important;transform:translateY(-2px)!important;}
.settingsBubbleCardV497[open] .settingsToggleV497:before{content:'−'!important;transform:translateY(-4px)!important;}
.settingsBubbleCardV497[open]>summary{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;}
.settingsBubbleCardV497>.workPanel{border:2px solid #dbeaff!important;border-top:0!important;border-radius:0 0 28px 28px!important;box-shadow:0 18px 38px rgba(7,45,108,.10)!important;background:#fff!important;padding:18px 22px 22px!important;}
.settingsBubbleCardV497>.workPanel h2{display:none!important;}
@media(max-width:640px){
  .settingsBubbles{gap:14px!important;}
  .settingsBubbleCardV497>summary{grid-template-columns:auto 1fr auto!important;gap:12px!important;padding:14px 14px!important;border-radius:22px!important;}
  .settingsIconV497{width:58px!important;height:58px!important;border-radius:20px!important;font-size:28px!important;}
  .settingsTextV497 strong{font-size:19px!important;}
  .settingsTextV497 em{font-size:14px!important;}
  .settingsToggleV497{width:46px!important;height:46px!important;font-size:32px!important;}
  .settingsBubbleCardV497>.workPanel{border-radius:0 0 22px 22px!important;padding:15px!important;}
}

/* V498 - Parametres : congélateurs négatifs + garder bulle ouverte */
.freezerHelpV498{
  background:#eef6ff!important;
  border:1px solid #d4e8ff!important;
  border-radius:18px!important;
  padding:10px 12px!important;
  color:#0b2344!important;
}
.settingsBubblesV498 input[name="seuil_min"],
.settingsBubblesV498 input[name="seuil_max"]{
  font-variant-numeric:tabular-nums;
}

/* V499 - accès direct température depuis tableau de bord + centrage mobile + badges sous entête */
.topbar{
  position:sticky!important;
  top:0!important;
  z-index:2147483647!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#0753c4,#003986)!important;
  box-shadow:0 10px 35px rgba(0,40,120,.28)!important;
}
.topbar:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(135deg,#0753c4,#003986)!important;
  z-index:-1!important;
}
.moduleGrid,.moduleCard,.modulePage,.moduleHeader,.workPanel{z-index:1!important;}
.moduleCardNotifyV494{
  overflow:hidden!important;
  contain:paint!important;
  isolation:isolate!important;
}
.moduleNotifV494{
  z-index:2!important;
  pointer-events:none!important;
}
.tempDayInsideV474,.tempDayInsideV475{
  max-width:100%!important;
  overflow:hidden!important;
}
.tempMandatoryFormV475,
.tempManualAddV475 form,
.tempInlineAlertFormV481,
.formGrid.formGridFive{
  max-width:100%!important;
}
.tempMandatoryFormV475 input,
.tempMandatoryFormV475 button,
.tempManualAddV475 input,
.tempManualAddV475 select,
.tempManualAddV475 button,
.tempInlineAlertFormV481 input,
.tempInlineAlertFormV481 button{
  min-width:0!important;
  max-width:100%!important;
}
@media(max-width:760px){
  .tempMandatoryFormsV475{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  .tempMandatoryFormV475{grid-template-columns:1fr!important;width:100%!important;padding:12px!important;justify-items:stretch!important;}
  .tempMandatoryFormV475 button{width:100%!important;margin-top:0!important;}
  .tempManualAddV475 form,.formGrid.formGridFive{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  .tempManualAddV475 button,.formGrid.formGridFive button{width:100%!important;}
  .tempDayBubbleV474>summary{gap:8px!important;}
}


/* V500 - recentrage mobile complet tableaux de bord + températures + icônes */
html,body{max-width:100%;overflow-x:hidden!important;}
.appShell,.modulePage,.workPanel,.moduleHeader,.hero,.tempDayBubbleV474,.tempDayInsideV474,.tempDayInsideV475{max-width:100%!important;}
.moduleGrid{
  width:100%!important;
  max-width:100%!important;
  justify-items:stretch!important;
  align-items:stretch!important;
}
.moduleGrid>*{min-width:0!important;}
.moduleCard{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}
.moduleCard .moduleIcon,
.moduleCardNotifyV494 .moduleIcon,
.adminIconCard .moduleIcon,
.pdvCard .moduleIcon{
  margin:0 auto!important;
  align-self:center!important;
  justify-self:center!important;
}
.moduleCard strong,
.moduleCard em{
  display:block!important;
  width:100%!important;
  text-align:center!important;
}
.tempDayBubbleV474,
.tempMandatoryBoxV475,
.tempMandatoryFormsV475,
.tempMandatoryFormV475,
.tempManualAddV475,
.tempManualAddV475 form,
.tempInlineAlertFormV481,
.formGrid.formGridFive{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.tempMandatoryFormV475>* ,
.tempManualAddV475 form>* ,
.tempInlineAlertFormV481>* ,
.formGrid.formGridFive>*{
  min-width:0!important;
}
.tempMandatoryFormV475 div,
.tempManualAddV475 form div,
.tempInlineAlertFormV481 div{
  min-width:0!important;
}
.tempMandatoryFormV475 input,
.tempMandatoryFormV475 button,
.tempManualAddV475 input,
.tempManualAddV475 select,
.tempManualAddV475 button,
.tempInlineAlertFormV481 input,
.tempInlineAlertFormV481 button,
.formGrid.formGridFive input,
.formGrid.formGridFive select,
.formGrid.formGridFive button{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:860px){
  .appShell{padding-left:12px!important;padding-right:12px!important;}
  .moduleGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .moduleCard{padding:16px 10px!important;border-radius:24px!important;}
  .moduleIcon{width:54px!important;height:54px!important;font-size:29px!important;border-radius:18px!important;}
}
@media(max-width:760px){
  .moduleHeader,.hero,.workPanel{padding-left:14px!important;padding-right:14px!important;}
  .tempDayBubbleV474>summary{padding-left:14px!important;padding-right:56px!important;}
  .tempDayInsideV474,.tempDayInsideV475{padding-left:10px!important;padding-right:10px!important;}
  .tempMandatoryFormsV475{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .tempMandatoryFormV475{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:10px!important;
    padding:12px!important;
    overflow:hidden!important;
  }
  .tempMandatoryFormV475 button{margin:0!important;}
  .tempManualAddV475 form,
  .formGrid.formGridFive,
  .tempInlineAlertFormV481{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    min-width:0!important;
    overflow:hidden!important;
  }
}
@media(max-width:520px){
  .moduleGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .moduleCard{min-height:136px!important;padding:14px 8px!important;}
  .moduleIcon{width:50px!important;height:50px!important;font-size:27px!important;}
  .moduleCard strong{font-size:15px!important;line-height:1.2!important;}
  .moduleCard em{font-size:12px!important;line-height:1.25!important;}
  .tempDayCountersV474{gap:6px!important;}
  .tempDayCountersV474 b,.tempDayCountersV474 em{font-size:11px!important;padding:6px 9px!important;}
}


/* V501 - bulles températures compactes et lisibles mobile */
.tempCompactV501{} 
.tempDayListV474{gap:10px!important;margin-top:12px!important;}
.tempDayBubbleV474{border-radius:18px!important;box-shadow:0 8px 22px rgba(7,45,108,.06)!important;}
.tempDayBubbleV474>summary{min-height:58px!important;padding:12px 14px!important;}
.tempDayCountersV474{gap:6px!important;}
.tempDayCountersV474 b,.tempDayCountersV474 em{padding:5px 9px!important;font-size:11px!important;}
.tempDayBubbleV474>summary:after{width:32px!important;height:32px!important;font-size:22px!important;}
.tempDayInsideV474,.tempDayInsideV475{padding:10px!important;gap:10px!important;}
.tempMandatoryBoxV475 .alert{padding:10px 12px!important;margin:0!important;border-radius:14px!important;}
.tempMandatoryBoxV475 .alert strong{font-size:15px!important;}
.tempMandatoryFormsV475{gap:9px!important;}
.tempMandatoryFormV475{border-radius:14px!important;padding:10px!important;gap:8px!important;box-shadow:0 5px 14px rgba(7,45,108,.04)!important;}
.tempMandatoryFormV475 div strong{font-size:14px!important;line-height:1.12!important;}
.tempMandatoryFormV475 div span{font-size:11px!important;margin-top:2px!important;}
.tempMandatoryFormV475 input{min-height:40px!important;border-radius:12px!important;padding:8px 10px!important;font-size:15px!important;}
.tempMandatoryFormV475 button{min-height:42px!important;border-radius:14px!important;padding:9px 12px!important;font-size:14px!important;}
@media(max-width:760px){
  .appShell{padding-left:10px!important;padding-right:10px!important;}
  .workPanel{padding:14px 10px!important;border-radius:22px!important;}
  .moduleHeader{margin-left:0!important;margin-right:0!important;}
  .tempDayBubbleV474{width:100%!important;margin-left:auto!important;margin-right:auto!important;overflow:hidden!important;}
  .tempDayBubbleV474>summary{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;column-gap:8px!important;row-gap:6px!important;padding:10px 12px!important;}
  .tempDayBubbleV474>summary:after{position:static!important;grid-column:2!important;grid-row:1 / span 2!important;align-self:center!important;justify-self:end!important;}
  .tempDayBubbleV474>summary>strong{grid-column:1!important;grid-row:1!important;min-width:0!important;}
  .tempDayCountersV474{grid-column:1!important;grid-row:2!important;margin-left:0!important;justify-content:flex-start!important;max-width:100%!important;}
  .tempDayInsideV474,.tempDayInsideV475{padding:9px!important;}
  .tempMandatoryFormV475{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;margin:0!important;}
  .tempMandatoryFormV475 input,.tempMandatoryFormV475 button{width:100%!important;max-width:100%!important;margin:0!important;}
  .tempManualAddV475,.tempInlineAlertFormV481{width:100%!important;max-width:100%!important;}
}
@media(max-width:420px){
  .tempDayCountersV474 b,.tempDayCountersV474 em{font-size:10px!important;padding:5px 7px!important;}
  .tempDayBubbleV474>summary{padding:9px 10px!important;}
  .tempDayInsideV474,.tempDayInsideV475{padding:8px!important;}
  .tempMandatoryFormV475{padding:9px!important;gap:7px!important;}
  .tempMandatoryFormV475 button{min-height:40px!important;}
}


/* V502 - bulles températures non coupées sur mobile */
.tempDayBubbleV474,
.tempDayBubbleV474 *,
.tempDayInsideV474,
.tempDayInsideV475,
.tempDayTableV474,
.tempDayTableV474 *{
  box-sizing:border-box!important;
}
.tempDayBubbleV474{
  max-width:100%!important;
  overflow:hidden!important;
}
.tempDayInsideV474,
.tempDayInsideV475{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.tempDayTableV474{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:14px!important;
  border:1px solid #e2ecfb!important;
  background:#fff!important;
}
.tempDayTableV474 table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:auto!important;
}
.tempDayTableV474 th,
.tempDayTableV474 td{
  max-width:100%!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
.tempDayCountersV474{
  max-width:100%!important;
  min-width:0!important;
}
.tempDayCountersV474 b,
.tempDayCountersV474 em{
  max-width:100%!important;
}
@media(max-width:760px){
  .workPanel:has(.tempDayListV474){overflow:hidden!important;}
  .tempDayBubbleV474{margin-left:0!important;margin-right:0!important;width:100%!important;}
  .tempDayInsideV474,.tempDayInsideV475{padding:8px!important;}
  .tempDayTableV474{overflow:visible!important;border:0!important;background:transparent!important;}
  .tempDayTableV474 table,
  .tempDayTableV474 thead,
  .tempDayTableV474 tbody,
  .tempDayTableV474 tr,
  .tempDayTableV474 td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .tempDayTableV474 thead{display:none!important;}
  .tempDayTableV474 tr{
    margin:0 0 10px!important;
    padding:10px 10px!important;
    border:1px solid #e2ecfb!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 5px 15px rgba(7,45,108,.04)!important;
    overflow:hidden!important;
  }
  .tempDayTableV474 tr.tempRowAlertV480{
    background:#fff1f1!important;
    border-color:#ffc7c7!important;
  }
  .tempDayTableV474 tr.tempRowResolvedV480{
    background:#f0fdf4!important;
    border-color:#bbf7d0!important;
  }
  .tempDayTableV474 td{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:start!important;
    padding:6px 0!important;
    border:0!important;
    font-size:14px!important;
    line-height:1.2!important;
  }
  .tempDayTableV474 td:before{
    font-size:11px!important;
    font-weight:1000!important;
    color:#073b8f!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
  }
  .tempRecordsTableV502 td:nth-child(1):before{content:'Heure';}
  .tempRecordsTableV502 td:nth-child(2):before{content:'Frigo';}
  .tempRecordsTableV502 td:nth-child(3):before{content:'Temp.';}
  .tempRecordsTableV502 td:nth-child(4):before{content:'Alerte';}
  .tempRecordsTableV502 td:nth-child(5):before{content:'Type';}
  .tempRecordsTableV502 td:nth-child(6):before{content:'Statut';}
  .tempRecordsTableV502 td:nth-child(7):before{content:'Note';}
  .cleanRecordsTableV502 td:nth-child(1):before{content:'Heure';}
  .cleanRecordsTableV502 td:nth-child(2):before{content:'Action';}
  .cleanRecordsTableV502 td:nth-child(3):before{content:'État';}
  .cleanRecordsTableV502 td:nth-child(4):before{content:'Resp.';}
  .tempAlertCellV481{min-width:0!important;width:100%!important;}
  .tempInlineAlertFixV481,
  .tempInlineAlertFixV481>summary{
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
  }
  .tempInlineAlertFormV481{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .tempMiniAlertV480,
  .tempOkBadgeV481{
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%!important;
    align-items:center!important;
  }
  .quickChips{max-width:100%!important;overflow:hidden!important;}
  .quickChips b{max-width:100%!important;white-space:normal!important;}
}
@media(max-width:430px){
  .tempDayTableV474 td{grid-template-columns:78px minmax(0,1fr)!important;font-size:13px!important;gap:6px!important;}
  .tempDayTableV474 tr{padding:9px!important;}
  .tempDayCountersV474{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;}
}


/* V503 - températures en cartes sur appareils tactiles, plus de colonnes coupées */
@media (pointer:coarse), (hover:none), (max-width:1024px){
  .workPanel:has(.tempDayListV474){overflow-x:hidden!important;}
  .tempDayListV474,
  .tempDayBubbleV474,
  .tempDayInsideV474,
  .tempDayInsideV475,
  .tempManualAddV475,
  .tempMandatoryFormsV475,
  .tempMandatoryFormV475,
  .tempRecordsTableV502,
  .tempRecordsTableV502 table,
  .tempRecordsTableV502 tbody{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .tempRecordsTableV502{
    display:block!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .tempRecordsTableV502 table,
  .tempRecordsTableV502 thead,
  .tempRecordsTableV502 tbody,
  .tempRecordsTableV502 tr,
  .tempRecordsTableV502 th,
  .tempRecordsTableV502 td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .tempRecordsTableV502 thead,
  .tempRecordsTableV502 th{
    display:none!important;
  }
  .tempRecordsTableV502 tr{
    margin:0 0 10px!important;
    padding:10px!important;
    border:1px solid #e2ecfb!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 5px 15px rgba(7,45,108,.04)!important;
    overflow:hidden!important;
  }
  .tempRecordsTableV502 tr.tempRowAlertV480{
    background:#fff1f1!important;
    border-color:#ffc7c7!important;
  }
  .tempRecordsTableV502 tr.tempRowResolvedV480{
    background:#f0fdf4!important;
    border-color:#bbf7d0!important;
  }
  .tempRecordsTableV502 td{
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:start!important;
    padding:6px 0!important;
    border:0!important;
    font-size:14px!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .tempRecordsTableV502 td:before{
    display:block!important;
    font-size:11px!important;
    font-weight:1000!important;
    color:#073b8f!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
  }
  .tempRecordsTableV502 td:nth-child(1):before{content:'Heure';}
  .tempRecordsTableV502 td:nth-child(2):before{content:'Frigo';}
  .tempRecordsTableV502 td:nth-child(3):before{content:'Temp.';}
  .tempRecordsTableV502 td:nth-child(4):before{content:'Alerte';}
  .tempRecordsTableV502 td:nth-child(5):before{content:'Type';}
  .tempRecordsTableV502 td:nth-child(6):before{content:'Statut';}
  .tempRecordsTableV502 td:nth-child(7):before{content:'Note';}
  .tempAlertCellV481,
  .tempInlineAlertFixV481,
  .tempInlineAlertFixV481 > summary,
  .tempInlineAlertFormV481{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
  }
  .tempInlineAlertFormV481{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  .tempMiniAlertV480,
  .tempOkBadgeV481{
    display:inline-flex!important;
    align-items:center!important;
    max-width:100%!important;
    width:max-content!important;
  }
}
@media (pointer:coarse) and (max-width:430px), (hover:none) and (max-width:430px), (max-width:430px){
  .tempRecordsTableV502 td{
    grid-template-columns:74px minmax(0,1fr)!important;
    gap:6px!important;
    font-size:13px!important;
  }
  .tempRecordsTableV502 tr{padding:9px!important;}
}

/* V504 - remise à zéro sanitaire complète avec archivage journal */
.iconNotifResetV495 .dangerBtn{background:linear-gradient(135deg,#ef4444,#b91c1c)!important;color:#fff!important;}




/* V506 - retrait des boutons moins : champs seuils en clavier texte uniquement */
.settingsBubble input[name="seuil_min"],
.settingsBubble input[name="seuil_max"]{inputmode:text;}


/* V507 - tableau de bord en bulles fermées par défaut */
.dashboardBubbleListV507{display:grid;gap:12px;margin-top:16px;}
.dashboardBubbleV507{width:100%;max-width:100%;}
.dashboardBubbleV507>summary{min-height:58px;}
.dashboardBubbleInsideV507{background:#fff;}
.dashboardBubbleV507 .todoList{margin-top:8px;}
.dashboardBubbleV507 .moduleHelp{margin-top:0;}
@media(max-width:760px){.dashboardBubbleListV507{gap:10px}.dashboardBubbleV507>summary{padding-right:56px!important}.dashboardBubbleInsideV507{padding:10px!important}}


/* V509 - déblocage caméra traçabilité Android */
.cameraFullPage,.cameraFullPage *{pointer-events:auto!important;touch-action:manipulation!important;}
.cameraPageActions{z-index:100002!important;position:relative!important;}
.cameraPageActions .ovalBtn{pointer-events:auto!important;user-select:none!important;-webkit-user-select:none!important;}
.cameraPageActions .ovalBtn.isBusyV509{opacity:.70!important;filter:grayscale(.15)!important;}
.cameraPageActions .ovalBtn:disabled{opacity:.70!important;}
.cameraFullPage video{pointer-events:none!important;}
body.cameraPageOpen .cameraFullPage{display:flex!important;}
@media(max-width:700px){.cameraFullPage{height:68dvh!important;max-height:calc(100dvh - 110px)!important;top:48%!important}.cameraPageActions{padding:10px!important}.cameraPageActions .ovalBtn{min-height:52px!important;font-size:16px!important}}


/* V511 - appareil photo natif Android sans fenêtre caméra bloquée */
.tracePhotoFormV510 .cameraFullPage,
.tracePhotoFormV510 video,
.tracePhotoFormV510 canvas{display:none!important;}
.photoPreviewBoxV510{grid-column:1/-1;max-width:100%;}
.photoPreviewBoxV510 img{max-height:360px;object-fit:contain;background:#0b1220;}
@media(max-width:760px){
  .tracePhotoFormV510{display:grid!important;grid-template-columns:1fr!important;}
  .tracePhotoFormV510 .fileAction,
  .tracePhotoFormV510 .saveTraceBtn{width:100%!important;}
  .photoPreviewBoxV510 img{max-height:300px;}
}


/* V511 - étiquettes rangées en bulles par journée, fermées par défaut */
.labelDayListV511{
  display:grid!important;
  gap:12px!important;
  margin-top:14px!important;
}
.labelDayBubbleV511{
  background:#fff!important;
  border:1px solid #d9e8ff!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 10px 28px rgba(7,45,108,.07)!important;
}
.labelDayBubbleV511>summary{
  cursor:pointer!important;
  list-style:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:14px 16px!important;
  background:#f2f8ff!important;
  color:#073b8f!important;
  font-weight:1000!important;
}
.labelDayBubbleV511>summary::-webkit-details-marker{display:none!important;}
.labelDayBubbleV511>summary:after{
  content:'+'!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  background:#0b72ff!important;
  color:#fff!important;
  font-weight:1000!important;
  flex:0 0 auto!important;
}
.labelDayBubbleV511[open]>summary:after{content:'−'!important;}
.labelDayBubbleV511>summary span{
  margin-left:auto!important;
  border-radius:999px!important;
  background:#e7f0ff!important;
  color:#073b8f!important;
  padding:6px 10px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.labelDayBubbleV511 .labelCompactList{
  padding:12px!important;
  margin:0!important;
}
@media(max-width:760px){
  .labelDayBubbleV511>summary{
    padding:12px 12px!important;
    gap:8px!important;
  }
  .labelDayBubbleV511>summary strong{
    min-width:0!important;
  }
  .labelDayBubbleV511>summary span{
    font-size:11px!important;
    padding:5px 8px!important;
  }
  .labelDayBubbleV511 .labelCompactList{
    padding:10px!important;
  }
}

/* V512 - thermometres connectes : un seul choix, plus de double nom */
.thermoHelpV512{background:#f4f8ff;border:1px solid #d9e8ff;border-radius:16px;padding:10px 12px!important;margin:8px 0 12px!important;color:#073b8f!important;font-weight:850!important;}
.thermoConnectFormV512 select[name="zone"]{border:2px solid #0b72ff!important;background:#f8fbff!important;font-weight:950!important;color:#073b8f!important;}
@media(max-width:760px){.thermoConnectFormV512{grid-template-columns:1fr!important}.thermoConnectFormV512 select,.thermoConnectFormV512 input,.thermoConnectFormV512 button{width:100%!important}}


/* V513 - bouton supprimer thermometre connecte */
.thermoDeleteFormV513{margin:0!important;display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;}
.thermoDeleteFormV513 .dangerBtn{margin:0!important;width:auto!important;border-radius:999px!important;padding:9px 12px!important;font-size:12px!important;background:#fff1f1!important;color:#b42318!important;border:1px solid #ffd1d1!important;box-shadow:none!important;}
@media(max-width:760px){.thermoDeleteFormV513 .dangerBtn{width:100%!important;}}


/* V514 - recentrage mobile bouton supprimer thermometres connectes */
.thermoTableV488 table{table-layout:auto;}
.thermoTableV488 th:last-child,.thermoTableV488 td:last-child{width:1%;white-space:nowrap;}
.thermoActionCellV514{text-align:center;}
.thermoDeleteFormV513{justify-content:center!important;align-items:center!important;}
.thermoDeleteFormV513 .dangerBtn{min-width:120px!important;min-height:44px!important;padding:12px 18px!important;font-size:14px!important;font-weight:900!important;}
@media(max-width:1400px){
  .thermoTableV488 table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0 12px!important;}
  .thermoTableV488 thead{display:none!important;}
  .thermoTableV488 tbody,.thermoTableV488 tr,.thermoTableV488 td{display:block!important;width:100%!important;}
  .thermoTableV488 tbody tr{background:#fff;border:1px solid #dbe8ff;border-radius:18px;box-shadow:0 10px 24px rgba(7,45,108,.08);overflow:hidden;}
  .thermoTableV488 tbody td{border-bottom:1px solid #edf3ff;padding:12px 14px 12px 14px!important;}
  .thermoTableV488 tbody td:last-child{border-bottom:0!important;}
  .thermoTableV488 tbody td::before{content:attr(data-label);display:block;font-size:12px;font-weight:900;color:#073b8f;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;}
  .thermoTableV488 td[colspan]{text-align:left;}
  .thermoTableV488 td[colspan]::before{display:none!important;}
  .thermoTableV488 code{max-width:100%!important;}
  .sensorTempMiniFormV488{display:grid;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .sensorTempMiniFormV488 input,.sensorTempMiniFormV488 select,.sensorTempMiniFormV488 button{width:100%!important;}
  .sensorTempMiniFormV488 button{grid-column:1/-1;min-height:44px;}
  .thermoActionCellV514{padding-top:16px!important;padding-bottom:16px!important;}
  .thermoDeleteFormV513 .dangerBtn{width:100%!important;min-width:0!important;}
}


/* V515 - belle bulle creation thermometre connecte */
.thermoCreateCardV515{margin:14px 0 18px!important;}
.thermoCreateCardV515>summary{background:linear-gradient(180deg,#ffffff 0%,#f4f9ff 100%)!important;}
.thermoCreateCardV515 .settingsIconV497{background:linear-gradient(135deg,#eaf4ff,#d8ebff)!important;}
.thermoCreateInnerV515{display:grid;gap:14px!important;}
.thermoBadgeRowV515{display:flex;flex-wrap:wrap;gap:10px;}
.thermoBadgePillV515{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#eef6ff;color:#0755c9;border:1px solid #d5e7ff;font-weight:900;font-size:12px;}
.thermoBadgePillV515:before{content:'✓';display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#0b72ff;color:#fff;font-size:11px;font-weight:1000;}
.thermoCreateLeadV515{margin:0!important;background:#f8fbff;border:1px solid #dbeaff;border-radius:18px;padding:12px 14px!important;color:#37506e!important;font-weight:800!important;max-width:none!important;}
.thermoCreateFormV515{margin-top:2px;}
.thermoCreateFormV515 select,.thermoCreateFormV515 input{min-height:46px;border-radius:16px!important;}
.thermoCreateFormV515 button{min-height:48px;border-radius:16px!important;font-size:15px!important;box-shadow:0 12px 24px rgba(245,132,31,.18);}
.thermoCheckV515{background:#fbfcff;border:1px solid #dbe7ff;border-radius:16px;padding:12px 14px;font-weight:900;min-height:46px;display:flex;align-items:center;gap:10px;}
@media(max-width:760px){
  .thermoCreateCardV515{margin:12px 0 16px!important;}
  .thermoBadgeRowV515{gap:8px;}
  .thermoBadgePillV515{width:100%;justify-content:flex-start;}
  .thermoCreateLeadV515{padding:12px!important;}
}


/* V516 - compatibilite Ruuvi Gateway */
.ruuviGatewayUrlBoxV516{margin:14px 0 18px;padding:16px;border-radius:20px;background:linear-gradient(180deg,#f8fbff,#eef6ff);border:2px solid #dbeaff;box-shadow:0 14px 32px rgba(7,45,108,.08)}
.ruuviGatewayUrlBoxV516 strong{display:block;color:#073b8f;font-size:15px;font-weight:1000;margin-bottom:8px}
.ruuviGatewayUrlBoxV516 code{display:block;white-space:normal;word-break:break-all;background:#fff;border:1px solid #cfe1ff;border-radius:14px;padding:12px;color:#0d1b35;font-weight:900;line-height:1.35}
.ruuviGatewayUrlBoxV516 p{margin:10px 0 0!important;color:#59677d!important;font-weight:800!important;max-width:none!important}
.thermoCreateFormV515 input[name="sensor_uid"]{border:2px dashed #bcd7ff!important;background:#fbfdff!important;}
@media(max-width:1180px){.ruuviGatewayUrlBoxV516{padding:14px;border-radius:18px}.ruuviGatewayUrlBoxV516 code{font-size:13px}}


/* V517 - bouton modifier thermometres connectes */
.thermoActionCellV517{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;}
.thermoEditDropV517{position:relative;margin:0!important;}
.thermoEditDropV517>summary{list-style:none;cursor:pointer;border:1px solid #bfdbfe;background:#eff6ff;color:#0755c9;border-radius:999px;padding:12px 18px;font-weight:1000;min-height:44px;display:grid;place-items:center;}
.thermoEditDropV517>summary::-webkit-details-marker{display:none;}
.thermoEditDropV517[open]>summary{border-bottom-left-radius:18px;border-bottom-right-radius:18px;background:#dbeafe;}
.thermoEditFormV517{position:absolute;right:0;top:54px;z-index:50;display:grid;gap:10px;width:min(360px, calc(100vw - 40px));padding:14px;background:#fff;border:2px solid #dbeaff;border-radius:22px;box-shadow:0 18px 45px rgba(7,45,108,.18);text-align:left;}
.thermoEditFormV517 label{display:grid;gap:5px;font-weight:900;color:#0d1b35;}
.thermoEditFormV517 label span{font-size:12px;color:#073b8f;text-transform:uppercase;letter-spacing:.03em;}
.thermoEditFormV517 input,.thermoEditFormV517 select{width:100%;border:1px solid #d9e3f3;border-radius:14px;padding:10px;font-weight:850;background:#fff;}
.thermoEditFormV517 button{border:0;border-radius:999px;background:#0b72ff;color:#fff;font-weight:1000;padding:12px 14px;min-height:44px;}
.thermoEditCheckV517{display:flex!important;align-items:center;gap:10px;background:#f8fbff;border:1px solid #dbeaff;border-radius:14px;padding:10px!important;}
@media(max-width:1400px){
  .thermoActionCellV517{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .thermoEditDropV517>summary,.thermoDeleteFormV513 .dangerBtn{width:100%!important;}
  .thermoEditFormV517{position:static!important;width:100%!important;margin-top:8px;box-shadow:0 10px 24px rgba(7,45,108,.12);}
}


/* V518 - recadrage thermometres + url visible */
.thermoEditInfoV518{display:grid;gap:6px;background:#f8fbff;border:1px solid #dbeafe;border-radius:16px;padding:10px 12px;}
.thermoEditInfoV518 .thermoMiniTitleV518{font-size:12px;color:#073b8f;font-weight:1000;text-transform:uppercase;letter-spacing:.03em;}
.thermoEditInfoV518 code{display:block;white-space:normal;word-break:break-all;background:#fff;border:1px solid #cfe1ff;border-radius:12px;padding:10px;color:#0d1b35;font-weight:850;line-height:1.35;max-width:100%;}
.thermoEditInfoV518 small{display:block;color:#59677d;font-weight:800;line-height:1.35;}


/* V519 - URL Ruuvi/thermometres recadree et copiable, sans debordement */
.connectedThermoPanelV488,
.thermoTableV488,
.thermoTableV488 table,
.thermoTableV488 tbody,
.thermoTableV488 tr,
.thermoTableV488 td,
.thermoActionCellV517,
.thermoEditDropV517,
.thermoEditFormV517,
.thermoEditInfoV518,
.ruuviGatewayUrlBoxV516{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.ruuviGatewayUrlBoxV519{overflow:hidden!important;}
.copyUrlAreaV519{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  min-height:92px!important;
  resize:vertical!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-all!important;
  overflow:auto!important;
  border:1px solid #cfe1ff!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#7c2d12!important;
  font-weight:900!important;
  line-height:1.35!important;
  padding:12px!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-size:13px!important;
}
.thermoEditInfoV519{overflow:hidden!important;}
.thermoEditInfoV519 .copyUrlAreaV519{min-height:110px!important;}
.thermoTableV488 code{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-all!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:1400px){
  .thermoTableV488{overflow-x:hidden!important;}
  .thermoTableV488 table{min-width:0!important;width:100%!important;table-layout:fixed!important;}
  .thermoEditFormV517{position:static!important;width:100%!important;max-width:100%!important;margin-top:8px!important;}
  .copyUrlAreaV519{font-size:12px!important;min-height:105px!important;}
}
@media(max-width:520px){
  .copyUrlAreaV519{font-size:11px!important;min-height:120px!important;padding:10px!important;}
}


/* V520 - anti débordement total URL thermomètres sur mobile/tablette */
html, body{max-width:100%!important;overflow-x:hidden!important;}
.connectedThermoPanelV488,
.connectedThermoPanelV488 *,
.thermoTableV488,
.thermoTableV488 *,
.thermoRowV514,
.thermoActionCellV517,
.thermoEditDropV517,
.thermoEditFormV517,
.thermoEditInfoV519,
.ruuviGatewayUrlBoxV516{
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
}
.connectedThermoPanelV488{overflow-x:hidden!important;}
.thermoTableV488{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
.thermoTableV488 table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;}
@media(max-width:1400px){
  .thermoTableV488 table,
  .thermoTableV488 thead,
  .thermoTableV488 tbody,
  .thermoTableV488 tr,
  .thermoTableV488 th,
  .thermoTableV488 td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .thermoTableV488 thead,.thermoTableV488 th{display:none!important;}
  .thermoTableV488 tbody tr{
    margin:0 0 12px!important;
    overflow:hidden!important;
  }
  .thermoTableV488 tbody td{
    overflow:hidden!important;
    white-space:normal!important;
    word-break:break-word!important;
    overflow-wrap:anywhere!important;
  }
  .thermoActionCellV517{
    overflow:hidden!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  .thermoEditDropV517,
  .thermoEditDropV517>summary,
  .thermoEditFormV517,
  .thermoEditFormV517 label,
  .thermoEditInfoV519{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .thermoEditFormV517{
    position:static!important;
    right:auto!important;
    top:auto!important;
    margin-top:8px!important;
    overflow:hidden!important;
    padding:12px!important;
  }
  .thermoEditInfoV519{
    overflow:hidden!important;
    display:block!important;
    padding:10px!important;
  }
  .copyUrlAreaV519,
  .copyUrlAreaV520{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important;
    word-break:break-all!important;
    word-wrap:break-word!important;
    font-size:12px!important;
    line-height:1.35!important;
    height:120px!important;
  }
  .thermoEditInfoV519 small{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .sensorTempMiniFormV488{grid-template-columns:1fr!important;}
  .sensorTempMiniFormV488 input,
  .sensorTempMiniFormV488 select,
  .sensorTempMiniFormV488 button,
  .thermoEditFormV517 input,
  .thermoEditFormV517 select,
  .thermoEditFormV517 button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}


/* V521 - chaque capteur en bulle fermee + retrait ouvrir temperatures */
.thermoSensorBubblesV521{display:grid;gap:14px;margin:16px 0 18px;width:100%;max-width:100%;overflow:hidden;}
.emptySensorBubbleV521{padding:16px;border-radius:18px;background:#f8fbff;border:1px solid #dbeaff;color:#63718a;font-weight:900;}
.thermoSensorBubbleV521{width:100%;max-width:100%;min-width:0;background:#fff;border:2px solid #dbeaff;border-radius:24px;box-shadow:0 12px 30px rgba(7,45,108,.08);overflow:hidden;}
.thermoSensorBubbleV521>summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(180deg,#ffffff,#f5f9ff);}
.thermoSensorBubbleV521>summary::-webkit-details-marker{display:none;}
.sensorIconV521{width:50px;height:50px;border-radius:18px;display:grid;place-items:center;background:#eaf3ff;font-size:26px;}
.sensorTitleV521{display:flex;flex-direction:column;gap:4px;min-width:0;}
.sensorTitleV521 strong{font-size:18px;line-height:1.15;color:#0d1b35;font-weight:1000;white-space:normal;overflow-wrap:anywhere;}
.sensorTitleV521 em{font-style:normal;font-size:13px;line-height:1.2;color:#63718a;font-weight:850;white-space:normal;overflow-wrap:anywhere;}
.sensorToggleV521{width:42px;height:42px;border-radius:999px;background:#eaf3ff;color:#0964e5;display:grid;place-items:center;font-size:28px;font-weight:700;}
.sensorToggleV521:before{content:'+';transform:translateY(-2px);}
.thermoSensorBubbleV521[open] .sensorToggleV521:before{content:'−';transform:translateY(-4px);}
.thermoSensorInsideV521{padding:14px 16px 16px;display:grid;gap:12px;overflow:hidden;width:100%;max-width:100%;box-sizing:border-box;}
.sensorMiniGridV521{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.sensorMiniGridV521>div,.sensorTempBoxV521,.sensorAutoBoxV521{background:#f8fbff;border:1px solid #dbeaff;border-radius:16px;padding:11px 12px;min-width:0;overflow:hidden;}
.sensorMiniGridV521 b,.sensorTempBoxV521 h3{display:block;margin:0 0 5px;color:#073b8f;font-size:12px;text-transform:uppercase;letter-spacing:.03em;font-weight:1000;}
.sensorMiniGridV521 span,.sensorAutoBoxV521 small,.sensorTempBoxV521 small{display:block;white-space:normal;overflow-wrap:anywhere;color:#0d1b35;font-weight:850;}
.sensorTempMiniFormV521{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;max-width:100%!important;}
.sensorTempMiniFormV521 input,.sensorTempMiniFormV521 select,.sensorTempMiniFormV521 button{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.sensorTempMiniFormV521 button{grid-column:1/-1;min-height:44px;}
.thermoEditDropV521{width:100%;max-width:100%;}
.thermoEditDropV521>summary{width:100%;box-sizing:border-box;border-radius:16px!important;}
.thermoEditFormV521{position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-top:8px!important;box-shadow:none!important;border-radius:18px!important;overflow:hidden!important;}
.thermoDeleteFormV521 .dangerBtn{width:100%!important;min-height:48px!important;}
.thermoSyncActionsV488{grid-template-columns:1fr!important;}
@media(max-width:700px){
  .thermoSensorBubbleV521>summary{padding:12px;gap:10px;}
  .sensorIconV521{width:44px;height:44px;border-radius:16px;font-size:24px;}
  .sensorToggleV521{width:38px;height:38px;font-size:26px;}
  .sensorMiniGridV521{grid-template-columns:1fr;}
  .thermoSensorInsideV521{padding:12px;}
}


/* V522 - capteurs en bulles style Parametres avec icone frigo / saladette */
.thermoSensorBubblesV521{gap:18px!important;margin-top:18px!important;overflow:visible!important;}
.thermoSensorBubbleV522{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:28px!important;overflow:visible!important;}
.thermoSensorBubbleV522>summary{cursor:pointer!important;list-style:none!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;padding:18px 22px!important;border-radius:28px!important;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;border:2px solid #dbeaff!important;box-shadow:0 18px 38px rgba(7,45,108,.10)!important;color:#0d1b35!important;}
.thermoSensorBubbleV522>summary::-webkit-details-marker{display:none!important;}
.thermoSensorBubbleV522 .sensorIconV522{width:70px!important;height:70px!important;border-radius:24px!important;font-size:34px!important;background:linear-gradient(135deg,#eef6ff,#e1efff)!important;box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)!important;}
.thermoSensorBubbleV522 .sensorTitleV522{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;}
.thermoSensorBubbleV522 .sensorTitleV522 strong{font-size:24px!important;line-height:1.12!important;color:#0d1b35!important;font-weight:1000!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.thermoSensorBubbleV522 .sensorTitleV522 em{font-style:normal!important;font-size:16px!important;line-height:1.22!important;color:#63718a!important;font-weight:800!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.thermoSensorBubbleV522 .sensorToggleV522{width:54px!important;height:54px!important;border-radius:999px!important;background:#eaf3ff!important;color:#0964e5!important;font-size:36px!important;font-weight:600!important;box-shadow:inset 0 0 0 1px rgba(7,70,168,.06)!important;}
.thermoSensorBubbleV522 .sensorToggleV522:before{content:'+'!important;transform:translateY(-2px)!important;}
.thermoSensorBubbleV522[open] .sensorToggleV522:before{content:'−'!important;transform:translateY(-4px)!important;}
.thermoSensorBubbleV522[open]>summary{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;}
.thermoSensorBubbleV522>.thermoSensorInsideV521{border:2px solid #dbeaff!important;border-top:0!important;border-radius:0 0 28px 28px!important;box-shadow:0 18px 38px rgba(7,45,108,.10)!important;background:#fff!important;padding:18px 22px 22px!important;margin:0!important;}
@media(max-width:640px){
  .thermoSensorBubblesV521{gap:14px!important;}
  .thermoSensorBubbleV522>summary{grid-template-columns:auto 1fr auto!important;gap:12px!important;padding:14px!important;border-radius:22px!important;}
  .thermoSensorBubbleV522 .sensorIconV522{width:58px!important;height:58px!important;border-radius:20px!important;font-size:28px!important;}
  .thermoSensorBubbleV522 .sensorTitleV522 strong{font-size:19px!important;}
  .thermoSensorBubbleV522 .sensorTitleV522 em{font-size:14px!important;}
  .thermoSensorBubbleV522 .sensorToggleV522{width:46px!important;height:46px!important;font-size:32px!important;}
  .thermoSensorBubbleV522>.thermoSensorInsideV521{border-radius:0 0 22px 22px!important;padding:15px!important;}
}


/* V523 - aide connexion capteur */
.thermoConnectHelpV523{margin:12px 0 16px!important;}
.thermoConnectHelpV523>summary{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;}
.thermoConnectHelpV523 .settingsIconV497{background:linear-gradient(135deg,#eef6ff,#dcecff)!important;}
.thermoConnectHelpInsideV523{display:grid!important;gap:14px!important;}
.thermoConnectHelpLeadV523{margin:0!important;background:#f8fbff;border:1px solid #dbeaff;border-radius:18px;padding:12px 14px!important;color:#37506e!important;font-weight:850!important;max-width:none!important;}
.thermoHelpStepsV523{display:grid;gap:10px;}
.thermoHelpStepsV523 div{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:start;background:#fff;border:1px solid #e1ecff;border-radius:18px;padding:12px;}
.thermoHelpStepsV523 b{display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:#0b72ff;color:#fff;font-weight:1000;}
.thermoHelpStepsV523 span{font-weight:850;color:#26364b;line-height:1.35;}
.thermoHelpNoteV523{background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:12px 14px;color:#7c2d12;font-weight:850;line-height:1.35;}
.thermoHelpNoteV523 code{background:#fff;border:1px solid #fed7aa;border-radius:8px;padding:2px 6px;font-weight:900;word-break:break-all;}
@media(max-width:760px){.thermoHelpStepsV523 div{grid-template-columns:32px 1fr;padding:11px}.thermoHelpStepsV523 b{width:28px;height:28px}.thermoConnectHelpLeadV523,.thermoHelpNoteV523{padding:11px!important}}


/* V524 - mode emploi plusieurs capteurs Ruuvi */
.thermoConnectHelpV524{margin:14px 0 18px!important;}
.thermoConnectHelpV524 .settingsIconV497{font-size:26px!important;background:linear-gradient(135deg,#eef6ff,#dcecff)!important;}
.thermoConnectHelpInsideV524{gap:16px!important;}
.thermoHelpStepsV524 div{border:1px solid #dbeaff!important;background:linear-gradient(180deg,#ffffff,#fbfdff)!important;}
.thermoHelpStepsV524 code{background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:2px 6px;font-weight:1000;color:#7c2d12;word-break:break-all;}
.thermoHelpNoteV524 strong{font-weight:1000;}
@media(max-width:760px){
  .thermoHelpStepsV524{gap:9px!important;}
  .thermoHelpStepsV524 div{grid-template-columns:30px 1fr!important;padding:10px!important;border-radius:16px!important;}
  .thermoHelpStepsV524 b{width:28px!important;height:28px!important;font-size:13px!important;}
}


/* V525 - bouton envoi temperatures capteurs vers releve HACCP */
.thermoSyncActionsV525{display:grid!important;gap:10px!important;margin:16px 0 18px!important;padding:14px!important;border:2px solid #dbeaff!important;border-radius:22px!important;background:linear-gradient(180deg,#f8fbff,#eef6ff)!important;box-shadow:0 14px 30px rgba(7,45,108,.08)!important;}
.thermoSyncActionsV525 form{width:100%!important;margin:0!important;}
.thermoSyncActionsV525 .sendTempsToHaccpBtnV525{width:100%!important;border:0!important;border-radius:18px!important;background:#f5841f!important;color:#111!important;font-weight:1000!important;font-size:15px!important;line-height:1.25!important;min-height:54px!important;padding:14px 16px!important;box-shadow:0 12px 24px rgba(245,132,31,.22)!important;}
.thermoSyncActionsV525 p{margin:0!important;color:#37506e!important;font-weight:850!important;line-height:1.35!important;max-width:none!important;}
.thermoSyncDoneV525{margin:12px 0 10px;padding:12px 14px;border-radius:18px;background:#dcfce7;border:1px solid #86efac;color:#166534;font-weight:1000;}
@media(max-width:760px){.thermoSyncActionsV525{padding:12px!important;border-radius:18px!important}.thermoSyncActionsV525 .sendTempsToHaccpBtnV525{font-size:14px!important;min-height:58px!important}}

/* V527 - restauration tableau de bord bulles icones + chiffres rouges */
.dashboardStatsV471{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:16px 0 18px!important;
}
.dashboardStatsV471 a{
  position:relative!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  min-height:96px!important;
  padding:16px 18px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:2px solid #dbeaff!important;
  box-shadow:0 16px 34px rgba(7,45,108,.10)!important;
  text-align:left!important;
  overflow:hidden!important;
}
.dashboardStatsV471 a:before{
  content:'📌'!important;
  width:58px!important;
  height:58px!important;
  border-radius:22px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#eef6ff,#dcecff)!important;
  box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)!important;
  font-size:30px!important;
  grid-row:1 / span 2!important;
}
.dashboardStatsV471 a:nth-child(1):before{content:'🌡️'!important;}
.dashboardStatsV471 a:nth-child(2):before{content:'🚨'!important;}
.dashboardStatsV471 a:nth-child(3):before{content:'🧽'!important;}
.dashboardStatsV471 a b{
  display:block!important;
  color:#d60000!important;
  font-size:38px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-.04em!important;
  margin:0!important;
}
.dashboardStatsV471 a span{
  display:block!important;
  color:#0d1b35!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:950!important;
  margin-top:4px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.dashboardBubbleListV507{
  display:grid!important;
  gap:12px!important;
  margin-top:16px!important;
}
.dashboardBubbleV507{
  width:100%!important;
  max-width:100%!important;
  background:#fff!important;
  border:1px solid #d9e8ff!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 10px 28px rgba(7,45,108,.07)!important;
}
.dashboardBubbleV507>summary{
  cursor:pointer!important;
  list-style:none!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:14px 16px!important;
  background:#f2f8ff!important;
  color:#073b8f!important;
  font-weight:1000!important;
}
.dashboardBubbleV507>summary::-webkit-details-marker{display:none!important;}
.dashboardBubbleV507>summary strong{
  display:block!important;
  color:#073b8f!important;
  font-size:16px!important;
  line-height:1.25!important;
}
.dashboardBubbleV507>summary span{
  display:inline-flex!important;
  align-items:center!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  background:#0b72ff!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:1000!important;
  white-space:nowrap!important;
}
.dashboardBubbleV507>summary span b{
  color:#fff!important;
  font-size:inherit!important;
  margin:0 4px 0 0!important;
}
.dashboardBubbleV507>summary:after{
  content:'+'!important;
  display:grid!important;
  place-items:center!important;
  width:32px!important;
  height:32px!important;
  border-radius:999px!important;
  background:#0b72ff!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
.dashboardBubbleV507[open]>summary:after{content:'−'!important;}
.dashboardBubbleInsideV507{
  padding:13px!important;
  background:#fbfdff!important;
}
.dashboardBubbleV507 .moduleHelp{
  display:block!important;
  margin:0 0 10px!important;
  color:#63718a!important;
  font-weight:800!important;
  line-height:1.35!important;
}
@media(max-width:760px){
  .dashboardStatsV471{grid-template-columns:1fr!important;gap:10px!important;}
  .dashboardStatsV471 a{grid-template-columns:56px minmax(0,1fr)!important;min-height:86px!important;padding:14px!important;border-radius:22px!important;}
  .dashboardStatsV471 a:before{width:50px!important;height:50px!important;border-radius:18px!important;font-size:26px!important;}
  .dashboardStatsV471 a b{font-size:34px!important;}
  .dashboardStatsV471 a span{font-size:14px!important;}
  .dashboardBubbleV507>summary{align-items:flex-start!important;position:relative!important;padding-right:58px!important;flex-direction:column!important;}
  .dashboardBubbleV507>summary:after{position:absolute!important;right:16px!important;top:13px!important;}
  .dashboardBubbleV507>summary span{margin-top:2px!important;}
}


/* V528 - tableau de bord en bulles style Parametres, chiffres integres */
.dashboardStatsV471{display:none!important;}
.dashboardBubbleListV507{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;margin-top:10px!important;}
.dashboardBubbleParamV528{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:28px!important;overflow:visible!important;}
.dashboardBubbleParamV528>summary{
  cursor:pointer!important;list-style:none!important;display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;align-items:center!important;gap:14px!important;
  padding:16px 20px!important;border-radius:28px!important;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:2px solid #dbeaff!important;box-shadow:0 18px 38px rgba(7,45,108,.10)!important;color:#0d1b35!important;
}
.dashboardBubbleParamV528>summary::-webkit-details-marker{display:none!important;}
.dashboardBubbleParamV528>summary:after{display:none!important;content:none!important;}
.dashboardBubbleParamV528 .dashboardIconV528{width:64px!important;height:64px!important;border-radius:22px!important;font-size:32px!important;}
.dashboardBubbleParamV528 .dashboardTextV528{gap:0!important;}
.dashboardBubbleParamV528 .dashboardTextV528 strong{font-size:22px!important;line-height:1.15!important;color:#0d1b35!important;font-weight:1000!important;}
.dashboardCountV528{
  display:grid!important;place-items:center!important;min-width:54px!important;height:54px!important;padding:0 10px!important;
  border-radius:20px!important;background:#fff1f1!important;border:2px solid #ffd0d0!important;color:#d60000!important;
  font-size:30px!important;line-height:1!important;font-weight:1000!important;letter-spacing:-.04em!important;
}
.dashboardCountAlertV528{background:#fff1f1!important;border-color:#ffb8b8!important;color:#d60000!important;}
.dashboardBubbleParamV528>.dashboardBubbleInsideV507.workPanel{border:2px solid #dbeaff!important;border-top:0!important;border-radius:0 0 28px 28px!important;box-shadow:0 18px 38px rgba(7,45,108,.10)!important;background:#fff!important;padding:16px!important;}
.dashboardBubbleParamV528[open]>summary{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;}
.dashboardBubbleParamV528 .moduleHelp{display:none!important;}
.dashboardBubbleParamV528 .settingsToggleV497{width:48px!important;height:48px!important;font-size:32px!important;}
@media(max-width:640px){
  .dashboardBubbleListV507{gap:12px!important;}
  .dashboardBubbleParamV528>summary{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:10px!important;padding:13px!important;border-radius:22px!important;}
  .dashboardBubbleParamV528 .dashboardIconV528{width:54px!important;height:54px!important;border-radius:19px!important;font-size:27px!important;}
  .dashboardBubbleParamV528 .dashboardTextV528 strong{font-size:18px!important;}
  .dashboardCountV528{min-width:46px!important;height:46px!important;border-radius:17px!important;font-size:26px!important;padding:0 8px!important;}
  .dashboardBubbleParamV528 .settingsToggleV497{width:42px!important;height:42px!important;font-size:28px!important;}
  .dashboardBubbleParamV528>.dashboardBubbleInsideV507.workPanel{border-radius:0 0 22px 22px!important;padding:13px!important;}
}
@media(max-width:390px){
  .dashboardBubbleParamV528>summary{grid-template-columns:auto minmax(0,1fr) auto!important;}
  .dashboardBubbleParamV528 .settingsToggleV497{display:none!important;}
}

/* V529 - Tableau de bord : bulles comme Paramètres + badges chiffrés à côté */
.dashboardBubbleListV529{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;margin-top:10px!important;}
.dashboardBubbleLikeSettingsV529{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:28px!important;overflow:visible!important;}
.dashboardBubbleLikeSettingsV529>summary{
  cursor:pointer!important;
  list-style:none!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:18px!important;
  padding:18px 22px!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:2px solid #dbeaff!important;
  box-shadow:0 18px 38px rgba(7,45,108,.10)!important;
  color:#0d1b35!important;
}
.dashboardBubbleLikeSettingsV529>summary::-webkit-details-marker{display:none!important;}
.dashboardBubbleLikeSettingsV529>summary:after{display:none!important;content:none!important;}
.dashboardBubbleLikeSettingsV529 .dashboardIconV528{width:70px!important;height:70px!important;border-radius:24px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#eef6ff,#e1efff)!important;box-shadow:inset 0 0 0 1px rgba(7,70,168,.08)!important;font-size:34px!important;line-height:1!important;flex:0 0 auto!important;}
.dashboardBubbleLikeSettingsV529 .dashboardTextV528{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;}
.dashboardBubbleLikeSettingsV529 .dashboardTextV528 strong{font-size:24px!important;line-height:1.12!important;color:#0d1b35!important;font-weight:1000!important;}
.dashboardBubbleLikeSettingsV529 .dashboardTextV528 em{font-style:normal!important;font-size:16px!important;line-height:1.22!important;color:#63718a!important;}
.dashboardNotifBadgeV529{display:grid!important;place-items:center!important;min-width:54px!important;height:54px!important;padding:0 10px!important;border-radius:999px!important;background:#ff3b30!important;color:#fff!important;font-size:28px!important;line-height:1!important;font-weight:1000!important;box-shadow:0 8px 18px rgba(255,59,48,.28)!important;border:2px solid #fff!important;}
.dashboardNotifBadgeAlertV529{background:#d60000!important;box-shadow:0 8px 18px rgba(214,0,0,.24)!important;}
.dashboardBubbleLikeSettingsV529[open]>summary{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;}
.dashboardBubbleLikeSettingsV529>.dashboardBubbleInsideV507.workPanel{border:2px solid #dbeaff!important;border-top:0!important;border-radius:0 0 28px 28px!important;box-shadow:0 18px 38px rgba(7,45,108,.10)!important;background:#fff!important;padding:18px 22px 22px!important;}
.dashboardBubbleLikeSettingsV529 .settingsToggleV497{width:54px!important;height:54px!important;border-radius:999px!important;display:grid!important;place-items:center!important;background:#eaf3ff!important;color:#0964e5!important;font-size:36px!important;line-height:1!important;font-weight:600!important;box-shadow:inset 0 0 0 1px rgba(7,70,168,.06)!important;}
.dashboardBubbleLikeSettingsV529 .settingsToggleV497:before{content:'+'!important;transform:translateY(-2px)!important;}
.dashboardBubbleLikeSettingsV529[open] .settingsToggleV497:before{content:'−'!important;transform:translateY(-4px)!important;}
@media(max-width:640px){
  .dashboardBubbleListV529{gap:12px!important;}
  .dashboardBubbleLikeSettingsV529>summary{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:12px!important;padding:14px 14px!important;border-radius:22px!important;}
  .dashboardBubbleLikeSettingsV529 .dashboardIconV528{width:58px!important;height:58px!important;border-radius:20px!important;font-size:28px!important;}
  .dashboardBubbleLikeSettingsV529 .dashboardTextV528 strong{font-size:19px!important;}
  .dashboardBubbleLikeSettingsV529 .dashboardTextV528 em{font-size:14px!important;}
  .dashboardNotifBadgeV529{min-width:46px!important;height:46px!important;font-size:24px!important;padding:0 8px!important;}
  .dashboardBubbleLikeSettingsV529 .settingsToggleV497{width:46px!important;height:46px!important;font-size:32px!important;}
  .dashboardBubbleLikeSettingsV529>.dashboardBubbleInsideV507.workPanel{border-radius:0 0 22px 22px!important;padding:15px!important;}
}
@media(max-width:390px){
  .dashboardBubbleLikeSettingsV529>summary{grid-template-columns:auto minmax(0,1fr) auto!important;}
  .dashboardBubbleLikeSettingsV529 .settingsToggleV497{display:none!important;}
}


/* V530 - Tableau de bord : suppression du bleu au milieu + chiffres rouges comme l'accueil */
details.dashboardBubbleV507.dashboardBubbleParamV528.dashboardBubbleLikeSettingsV529.tempDayBubbleV474>summary,
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:2px solid #dbeaff!important;
  color:#0d1b35!important;
}
details.dashboardBubbleV507.dashboardBubbleParamV528.dashboardBubbleLikeSettingsV529.tempDayBubbleV474.tempDayHasAlertV482>summary{
  background:linear-gradient(180deg,#fff7f7 0%,#ffffff 100%)!important;
  border-color:#ffd0d0!important;
  color:#7a1111!important;
}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .settingsTextV497,
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardTextV528,
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .settingsTextV497 *,
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardTextV528 *{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardTextV528{
  padding:0!important;
  border-radius:0!important;
}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardTextV528 strong{color:#0d1b35!important;}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardTextV528 em{color:#63718a!important;}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529.tempDayHasAlertV482>summary .dashboardTextV528 strong{color:#7a1111!important;}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529.tempDayHasAlertV482>summary .dashboardTextV528 em{color:#a34646!important;}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardNotifBadgeV529{
  background:#ff2d2d!important;
  color:#fff!important;
  border:2px solid #fff!important;
  box-shadow:0 10px 22px rgba(255,45,45,.30)!important;
}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .dashboardNotifBadgeV529.dashboardNotifBadgeAlertV529{
  background:#d60000!important;
  box-shadow:0 10px 22px rgba(214,0,0,.24)!important;
}
details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary .settingsToggleV497{
  background:#eef5ff!important;
  color:#0b72ff!important;
}
@media(max-width:640px){
  details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary{
    grid-template-columns:auto minmax(0,1fr) auto auto!important;
    gap:12px!important;
  }
}
@media(max-width:390px){
  details.dashboardBubbleV507.dashboardBubbleLikeSettingsV529>summary{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
}

/* V531 - Thermomètres : envoyer exactement la température affichée */
.thermoExactTempV531{margin:0 0 10px!important;background:#f8fbff!important;border:1px solid #dbeaff!important;border-radius:14px!important;padding:10px 12px!important;color:#37506e!important;font-weight:850!important;}
.thermoExactTempV531 strong{color:#0d1b35!important;font-weight:1000!important;font-size:18px!important;}
.thermoSensorBubbleV522 .sensorMiniGridV521 div span{overflow-wrap:anywhere!important;}
.thermoEditFormV521 label span:has(+ input[name="temperature_offset"]){color:#d60000!important;}
@media(max-width:640px){.thermoExactTempV531{font-size:14px!important}.thermoExactTempV531 strong{font-size:16px!important}}


/* V532 - Tableau de bord identique a la photo validee */
.dashboardExactV532{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:22px!important;
  margin-top:20px!important;
}
.dashboardCardExactV532{
  width:100%!important;
  max-width:100%!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dashboardCardExactV532>summary{
  width:100%!important;
  min-height:132px!important;
  cursor:pointer!important;
  list-style:none!important;
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr) auto 64px!important;
  align-items:center!important;
  gap:18px!important;
  padding:18px 22px!important;
  border-radius:30px!important;
  background:#fff!important;
  background-image:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  border:2px solid #dbeaff!important;
  box-shadow:0 18px 38px rgba(7,45,108,.10)!important;
  color:#0d1b35!important;
  overflow:visible!important;
}
.dashboardCardExactV532>summary::-webkit-details-marker{display:none!important;}
.dashboardCardExactV532>summary:after{display:none!important;content:none!important;}
.dashboardCardExactV532.tempDayHasAlertV482>summary{
  background:#fff!important;
  background-image:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  border-color:#dbeaff!important;
  color:#0d1b35!important;
}
.dashboardCardExactV532 .dashboardIconV528,
.dashboardCardExactV532 .settingsIconV497.dashboardIconV528{
  width:78px!important;
  height:78px!important;
  border-radius:24px!important;
  display:grid!important;
  place-items:center!important;
  justify-self:start!important;
  background:linear-gradient(135deg,#f6fbff 0%,#eaf4ff 100%)!important;
  box-shadow:inset 0 0 0 1px rgba(7,70,168,.10)!important;
  font-size:36px!important;
  line-height:1!important;
  padding:0!important;
  margin:0!important;
}
.dashboardCardExactV532 .dashboardTextV528,
.dashboardCardExactV532 .settingsTextV497.dashboardTextV528{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:center!important;
  text-align:center!important;
  min-width:0!important;
  width:100%!important;
  gap:7px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.dashboardCardExactV532 .dashboardTextV528 strong{
  display:block!important;
  color:#050b16!important;
  font-size:31px!important;
  line-height:1.08!important;
  font-weight:1000!important;
  letter-spacing:-.03em!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
.dashboardCardExactV532 .dashboardTextV528 em{
  display:block!important;
  color:#8c8f98!important;
  font-size:19px!important;
  line-height:1.15!important;
  font-style:normal!important;
  font-weight:900!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
.dashboardCardExactV532.tempDayHasAlertV482 .dashboardTextV528 strong{color:#050b16!important;}
.dashboardCardExactV532.tempDayHasAlertV482 .dashboardTextV528 em{color:#8c8f98!important;}
.dashboardCardExactV532 .dashboardNotifBadgeV529{
  justify-self:end!important;
  align-self:center!important;
  display:grid!important;
  place-items:center!important;
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  padding:0!important;
  border-radius:999px!important;
  background:#ff1515!important;
  color:#fff!important;
  border:2px solid #fff!important;
  box-shadow:0 12px 24px rgba(255,21,21,.32)!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-.03em!important;
  z-index:2!important;
}
.dashboardCardExactV532 .settingsToggleV497{
  justify-self:end!important;
  align-self:center!important;
  display:grid!important;
  place-items:center!important;
  width:62px!important;
  min-width:62px!important;
  height:62px!important;
  border-radius:999px!important;
  background:#f8fbff!important;
  color:#0b72ff!important;
  box-shadow:inset 0 0 0 2px #dbeaff!important;
  border:0!important;
  font-size:40px!important;
  line-height:1!important;
  font-weight:800!important;
}
.dashboardCardExactV532 .settingsToggleV497:before{
  content:'+'!important;
  color:#0b72ff!important;
  transform:translateY(-2px)!important;
}
.dashboardCardExactV532[open] .settingsToggleV497:before{
  content:'−'!important;
  transform:translateY(-4px)!important;
}
.dashboardCardExactV532[open]>summary{
  border-bottom-left-radius:0!important;
  border-bottom-right-radius:0!important;
}
.dashboardCardExactV532>.dashboardBubbleInsideV507.workPanel{
  border:2px solid #dbeaff!important;
  border-top:0!important;
  border-radius:0 0 30px 30px!important;
  background:#fff!important;
  box-shadow:0 18px 38px rgba(7,45,108,.10)!important;
  padding:18px 22px 22px!important;
}
@media(max-width:640px){
  .dashboardExactV532{gap:18px!important;margin-top:18px!important;}
  .dashboardCardExactV532>summary{
    min-height:112px!important;
    grid-template-columns:72px minmax(0,1fr) auto 56px!important;
    gap:10px!important;
    padding:15px 15px!important;
    border-radius:24px!important;
  }
  .dashboardCardExactV532 .dashboardIconV528,
  .dashboardCardExactV532 .settingsIconV497.dashboardIconV528{
    width:64px!important;
    height:64px!important;
    border-radius:20px!important;
    font-size:30px!important;
  }
  .dashboardCardExactV532 .dashboardTextV528 strong{
    font-size:22px!important;
    line-height:1.08!important;
  }
  .dashboardCardExactV532 .dashboardTextV528 em{
    font-size:14px!important;
    line-height:1.12!important;
  }
  .dashboardCardExactV532 .dashboardNotifBadgeV529{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    font-size:20px!important;
  }
  .dashboardCardExactV532 .settingsToggleV497{
    display:grid!important;
    width:54px!important;
    min-width:54px!important;
    height:54px!important;
    font-size:36px!important;
  }
  .dashboardCardExactV532>.dashboardBubbleInsideV507.workPanel{
    border-radius:0 0 24px 24px!important;
    padding:15px!important;
  }
}
@media(max-width:390px){
  .dashboardCardExactV532>summary{
    grid-template-columns:62px minmax(0,1fr) auto 48px!important;
    gap:8px!important;
    padding:13px 12px!important;
  }
  .dashboardCardExactV532 .dashboardIconV528,
  .dashboardCardExactV532 .settingsIconV497.dashboardIconV528{
    width:56px!important;
    height:56px!important;
    border-radius:18px!important;
    font-size:27px!important;
  }
  .dashboardCardExactV532 .dashboardTextV528 strong{font-size:19px!important;}
  .dashboardCardExactV532 .dashboardTextV528 em{font-size:12px!important;}
  .dashboardCardExactV532 .dashboardNotifBadgeV529{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    font-size:18px!important;
  }
  .dashboardCardExactV532 .settingsToggleV497{
    display:grid!important;
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    font-size:32px!important;
  }
}

/* V533 - tableau de bord : retrait des boutons plus, ouverture par clic sur la bulle */
.dashboardCardExactV532>summary{
  grid-template-columns:92px minmax(0,1fr) auto!important;
}
.dashboardCardExactV532 .settingsToggleV497{
  display:none!important;
}
@media(max-width:640px){
  .dashboardCardExactV532>summary{
    grid-template-columns:72px minmax(0,1fr) auto!important;
  }
}
@media(max-width:390px){
  .dashboardCardExactV532>summary{
    grid-template-columns:62px minmax(0,1fr) auto!important;
  }
}


/* V534 - diagnostic thermometres connectes et passerelle Ruuvi */
.ruuviGatewayStatusV534{border:2px solid #dbeaff;border-radius:22px;background:#fff;box-shadow:0 12px 28px rgba(7,45,108,.08);padding:14px 16px;margin:12px 0;display:grid;gap:6px;color:#0d1b35}
.ruuviGatewayStatusV534 strong{font-size:17px;font-weight:1000}.ruuviGatewayStatusV534 span{font-weight:1000}.ruuviGatewayStatusV534 p{margin:0;color:#63718a;font-weight:800}.ruuviGatewayStatusV534.isOkV534{border-color:#bbf7d0;background:#f7fff9}.ruuviGatewayStatusV534.isErrorV534{border-color:#fed7aa;background:#fff7ed}.thermoStatusLineV534{display:block!important;margin-top:6px!important;color:#166534!important;font-weight:1000!important}.sensorTempBoxV521 small{line-height:1.35!important}


/* V535 - Tableau de bord uniquement : retrait complet des + sans toucher aux autres onglets */
.dashboardExactV532 .dashboardCardExactV532>summary{
  grid-template-columns:92px minmax(0,1fr) auto!important;
}
.dashboardExactV532 .dashboardCardExactV532 .settingsToggleV497{
  display:none!important;
  width:0!important;
  min-width:0!important;
  height:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.dashboardExactV532 .dashboardCardExactV532>summary:after{
  display:none!important;
  content:none!important;
}
@media(max-width:640px){
  .dashboardExactV532 .dashboardCardExactV532>summary{
    grid-template-columns:72px minmax(0,1fr) auto!important;
  }
}
@media(max-width:390px){
  .dashboardExactV532 .dashboardCardExactV532>summary{
    grid-template-columns:62px minmax(0,1fr) auto!important;
  }
}

/* V711 - bouton Modifier dans Gestion des points de vente */
.editPdvBtnV711{
  width:100%;
  border:0;
  border-radius:14px;
  padding:12px 14px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,#1d4ed8,#2563eb);
  box-shadow:0 8px 18px rgba(37,99,235,.18);
  cursor:pointer;
}
.editPdvBtnV711:active{transform:scale(.98)}


/* V747 - APK Android : input photo/fichier natif en surcouche cliquable */
#tracePhotoForm.tracePhotoFormV510 .apkNativePickV747{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;cursor:pointer!important;overflow:hidden!important;box-sizing:border-box!important;touch-action:manipulation!important;}
#tracePhotoForm.tracePhotoFormV510 .apkNativePickV747 .nativePickInputV747,#tracePhotoForm.tracePhotoFormV510 input.nativePickInputV747.hiddenFileInput{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;opacity:0!important;cursor:pointer!important;z-index:50!important;pointer-events:auto!important;}

/* V772 : consultation thermometres plus propre pour adherents/responsables/salaries.
   Ils gardent les temperatures en direct, mais sans textes techniques ni installation. */
.connectedThermoPanelV488.thermoReadonlyV772 > .moduleHelp,
.connectedThermoPanelV488.thermoReadonlyV772 .sensorMiniGridV521,
.connectedThermoPanelV488.thermoReadonlyV772 .sensorAutoBoxV521,
.connectedThermoPanelV488.thermoReadonlyV772 .sensorTempBoxV521 h3,
.connectedThermoPanelV488.thermoReadonlyV772 .sensorTempBoxV521 small,
.connectedThermoPanelV488.thermoReadonlyV772 .thermoStatusLineV534{
  display:none !important;
}
.connectedThermoPanelV488.thermoReadonlyV772 .sensorTempBoxV521{
  margin-top:10px !important;
  padding:12px !important;
}
.connectedThermoPanelV488.thermoReadonlyV772 .thermoExactTempV531{
  margin:0 !important;
  font-size:1.05rem !important;
  font-weight:900 !important;
}
.connectedThermoPanelV488.thermoReadonlyV772 .thermoSensorInsideV521{
  padding-top:10px !important;
}

/* V773 : thermometres connectes en consultation simple cote adherent */
.thermoAutoInfoV773{
  margin:10px 0 14px !important;
}
.thermoReadonlyV772 .sensorMiniGridV521,
.thermoReadonlyV772 .sensorTempBoxV521 h3,
.thermoReadonlyV772 .sensorTempBoxV521 small,
.thermoReadonlyV772 .sensorAutoBoxV521{
  display:none !important;
}
.thermoReadonlyV772 .thermoSensorInsideV521{
  padding-top:8px !important;
}
.thermoReadonlyV772 .sensorTempBoxV521{
  margin-top:0 !important;
}
.thermoReadonlyV772 .thermoExactTempV531{
  font-size:18px !important;
  margin:6px 0 !important;
}

/* V789 : quantité d'impression et enregistrer + imprimer dans Traçabilité / Étiquettes */
.labelActions .printQtyFormV789,
.printQtyFormV789{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  margin:0;
}
.qtyPrintLabelV789{
  display:flex;
  align-items:center;
  gap:5px;
  flex:0 0 auto;
  font-weight:900;
  color:#0b408f;
}
.qtyPrintLabelV789 span{
  font-size:13px;
}
.qtyPrintLabelV789 input{
  width:64px;
  min-height:38px;
  border:1px solid #cfe1f8;
  border-radius:14px;
  text-align:center;
  font-weight:950;
  color:#0b2447;
  background:#fff;
}
.printQtyFormV789 .printBtn{
  flex:1 1 auto;
  border:0;
  cursor:pointer;
}
.saveTraceActionsV789{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.saveTraceActionsV789 button{
  min-height:52px;
  border-radius:999px;
  border:0;
  font-weight:950;
}
.savePrintTraceBtnV789,
.saveTraceActionsV789 button[name="save_and_print_label"]{
  background:linear-gradient(135deg,#08b77c,#008d63) !important;
  color:#fff !important;
}
@media(max-width:720px){
  .saveTraceActionsV789{grid-template-columns:1fr;}
  .labelActions .printQtyFormV789{gap:6px;}
  .qtyPrintLabelV789 input{width:58px;}
}

/* V790 : Traçabilité étiquettes - boutons plus propres et Tout imprimer sans doublon */
.saveTraceActionsV789{
  grid-column:1/-1 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
  align-items:stretch !important;
  margin-top:-4px !important;
}
.saveTraceActionsV789 button{
  min-height:54px !important;
  border-radius:22px !important;
  font-size:16px !important;
  padding:10px 12px !important;
}
@media(max-width:720px){
  .saveTraceActionsV789{
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }
  .saveTraceActionsV789 button{
    min-height:52px !important;
    font-size:14px !important;
    line-height:1.15 !important;
    padding:9px 8px !important;
  }
}
.labelActions.compactActions,
.compactActions{
  align-self:start !important;
  margin-top:-6px !important;
  gap:9px !important;
}
.labelActions .printQtyFormV789,
.printQtyFormV789{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  margin:0 !important;
}
.qtyPrintLabelV789{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  margin:0 !important;
}
.qtyPrintLabelV789 input{
  width:54px !important;
  min-height:38px !important;
  height:38px !important;
  border-radius:10px !important;
}
.printQtyFormV789 .printBtn{
  flex:0 1 220px !important;
  min-height:42px !important;
  padding:9px 18px !important;
}
.labelToolbarV790{
  align-items:center !important;
}
.bulkRemainingV790{
  color:#0b65c9 !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}
.allPrintDoneV790{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  padding:10px 18px !important;
  border-radius:999px !important;
  background:#edf6ff !important;
  color:#64748b !important;
  font-weight:950 !important;
  border:1px solid #dbeafe !important;
}
.allPrintBtnV790{
  white-space:nowrap !important;
}
@media(max-width:520px){
  .compactActions{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .printQtyFormV789{
    justify-content:flex-start !important;
  }
  .printQtyFormV789 .printBtn{
    flex:1 1 auto !important;
  }
}

/* V791 : Traçabilité - forcer Enregistrer et Enregistrer + imprimer côte à côte */
.labelAddCompact .saveTraceActionsV789{
  grid-column:1/-1 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
  width:100% !important;
  max-width:none !important;
  margin:8px 0 10px !important;
}
.labelAddCompact .saveTraceActionsV789 button{
  grid-column:auto !important;
  width:100% !important;
  min-width:0 !important;
  min-height:58px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
@media(max-width:720px){
  .labelAddCompact .saveTraceActionsV789{
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }
  .labelAddCompact .saveTraceActionsV789 button{
    grid-column:auto !important;
    font-size:14px !important;
    padding:10px 8px !important;
    line-height:1.15 !important;
  }
}


/* V792 : Traçabilité - correction définitive boutons Enregistrer côte à côte */
#tracePhotoForm.tracePhotoFormV510 .saveTraceActionsV789{
  grid-column:1 / -1 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:12px !important;
  width:100% !important;
  max-width:none !important;
  margin:10px 0 8px !important;
  align-items:stretch !important;
  justify-items:stretch !important;
}
#tracePhotoForm.tracePhotoFormV510 .saveTraceActionsV789 .saveTraceBtn,
#tracePhotoForm.tracePhotoFormV510 .saveTraceActionsV789 button{
  grid-column:auto !important;
  position:static !important;
  bottom:auto !important;
  width:100% !important;
  min-width:0 !important;
  min-height:58px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:10px 8px !important;
  font-size:clamp(13px,3vw,17px) !important;
  line-height:1.15 !important;
  white-space:normal !important;
  border-radius:22px !important;
}
@media(max-width:860px){
  #tracePhotoForm.tracePhotoFormV510 .saveTraceActionsV789{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:10px !important;
  }
  #tracePhotoForm.tracePhotoFormV510 .saveTraceActionsV789 .saveTraceBtn,
  #tracePhotoForm.tracePhotoFormV510 .saveTraceActionsV789 button{
    grid-column:auto !important;
    position:static !important;
  }
}

/* V794 : icônes principales en grille compacte 4 par ligne */
.homeIconGridV794{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:stretch !important;
  justify-items:stretch !important;
}
.homeIconGridV794 .moduleCard{
  min-height:108px !important;
  padding:10px 6px !important;
  border-radius:20px !important;
  gap:5px !important;
}
.homeIconGridV794 .moduleIcon{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  font-size:24px !important;
  border-radius:14px !important;
}
.homeIconGridV794 .moduleCard strong{
  font-size:13px !important;
  line-height:1.12 !important;
  margin:0 !important;
}
.homeIconGridV794 .moduleCard em{
  font-size:10px !important;
  line-height:1.12 !important;
  margin:0 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.homeIconGridV794 .moduleNotifV476,
.homeIconGridV794 .moduleNotifV494{
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  font-size:13px !important;
  right:-2px !important;
  top:-4px !important;
}
@media(max-width:860px){
  .homeIconGridV794{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .homeIconGridV794 .moduleCard{
    min-height:96px !important;
    padding:8px 4px !important;
    border-radius:18px !important;
  }
  .homeIconGridV794 .moduleIcon{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    font-size:21px !important;
    border-radius:13px !important;
  }
  .homeIconGridV794 .moduleCard strong{
    font-size:11px !important;
  }
  .homeIconGridV794 .moduleCard em{
    font-size:9px !important;
    -webkit-line-clamp:1 !important;
  }
}
@media(max-width:430px){
  .homeIconGridV794{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  .homeIconGridV794 .moduleCard{
    min-height:86px !important;
    padding:7px 3px !important;
    border-radius:16px !important;
  }
  .homeIconGridV794 .moduleIcon{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    font-size:19px !important;
    border-radius:12px !important;
  }
  .homeIconGridV794 .moduleCard strong{
    font-size:10px !important;
  }
  .homeIconGridV794 .moduleCard em{
    display:none !important;
  }
}

/* V796 : accueil icones plus lisible sur telephone, tablette conserve 4 par ligne */
@media(max-width:720px){
  .homeIconGridV794{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .homeIconGridV794 .moduleCard{
    min-height:104px !important;
    padding:10px 5px !important;
    border-radius:18px !important;
    gap:5px !important;
  }
  .homeIconGridV794 .moduleIcon{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    font-size:22px !important;
    border-radius:13px !important;
  }
  .homeIconGridV794 .moduleCard strong{
    font-size:11.5px !important;
    line-height:1.12 !important;
    -webkit-line-clamp:2 !important;
  }
  .homeIconGridV794 .moduleCard em{
    display:none !important;
  }
  .homeIconGridV794 .moduleNotifV476,
  .homeIconGridV794 .moduleNotifV494{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    font-size:11px !important;
    right:-3px !important;
    top:-5px !important;
  }
}
@media(max-width:360px){
  .homeIconGridV794{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .homeIconGridV794 .moduleCard{
    min-height:98px !important;
    padding:9px 4px !important;
  }
  .homeIconGridV794 .moduleIcon{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    font-size:20px !important;
  }
  .homeIconGridV794 .moduleCard strong{
    font-size:10.5px !important;
  }
}

/* V797 : icones principales de l accueil 3 par ligne partout */
.homeIconGridV794{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:stretch !important;
  justify-items:stretch !important;
}
.homeIconGridV794 .moduleCard{
  min-height:110px !important;
  padding:10px 6px !important;
  border-radius:20px !important;
  gap:6px !important;
}
.homeIconGridV794 .moduleIcon{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  min-height:42px !important;
  font-size:23px !important;
  border-radius:14px !important;
}
.homeIconGridV794 .moduleCard strong{
  font-size:12px !important;
  line-height:1.12 !important;
  max-width:100% !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow-wrap:anywhere !important;
}
.homeIconGridV794 .moduleCard em{
  display:none !important;
}
.homeIconGridV794 .moduleNotifV476,
.homeIconGridV794 .moduleNotifV494{
  width:25px !important;
  height:25px !important;
  min-width:25px !important;
  font-size:11px !important;
  right:-3px !important;
  top:-5px !important;
}
@media(min-width:721px){
  .homeIconGridV794{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:14px !important;
  }
  .homeIconGridV794 .moduleCard{
    min-height:118px !important;
    padding:12px 8px !important;
  }
  .homeIconGridV794 .moduleIcon{
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    min-height:46px !important;
    font-size:25px !important;
  }
  .homeIconGridV794 .moduleCard strong{
    font-size:13px !important;
  }
}
@media(max-width:360px){
  .homeIconGridV794{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .homeIconGridV794 .moduleCard{
    min-height:98px !important;
    padding:8px 4px !important;
    border-radius:17px !important;
  }
  .homeIconGridV794 .moduleIcon{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    font-size:20px !important;
  }
  .homeIconGridV794 .moduleCard strong{
    font-size:10.5px !important;
  }
}

/* V801 : pastilles de notification correctement alignees */
.homeIconGridV794 .moduleCardNotifyV476,
.homeIconGridV794 .moduleCardNotifyV494{
  position:relative !important;
  overflow:hidden !important;
  contain:none !important;
  isolation:isolate !important;
}
.homeIconGridV794 .moduleNotifV476,
.homeIconGridV794 .moduleNotifV494{
  position:absolute !important;
  top:7px !important;
  right:7px !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;
  margin:0 !important;
  width:auto !important;
  min-width:26px !important;
  height:26px !important;
  padding:0 6px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  line-height:1 !important;
  font-size:12px !important;
  font-weight:1000 !important;
  box-sizing:border-box !important;
  z-index:30 !important;
  pointer-events:none !important;
}
.dashboardExactV532 .dashboardNotifBadgeV529{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  margin:0 !important;
  width:auto !important;
  min-width:48px !important;
  height:48px !important;
  padding:0 10px !important;
  display:grid !important;
  place-items:center !important;
  justify-self:end !important;
  align-self:center !important;
  line-height:1 !important;
  box-sizing:border-box !important;
}
@media(max-width:720px){
  .homeIconGridV794 .moduleNotifV476,
  .homeIconGridV794 .moduleNotifV494{
    top:5px !important;
    right:5px !important;
    min-width:23px !important;
    height:23px !important;
    padding:0 5px !important;
    font-size:11px !important;
  }
  .dashboardExactV532 .dashboardNotifBadgeV529{
    min-width:42px !important;
    height:42px !important;
    padding:0 8px !important;
    font-size:20px !important;
  }
}
@media(max-width:390px){
  .homeIconGridV794 .moduleNotifV476,
  .homeIconGridV794 .moduleNotifV494{
    top:4px !important;
    right:4px !important;
    min-width:22px !important;
    height:22px !important;
    padding:0 4px !important;
    font-size:10px !important;
  }
  .dashboardExactV532 .dashboardNotifBadgeV529{
    min-width:36px !important;
    height:36px !important;
    padding:0 7px !important;
    font-size:18px !important;
  }
}


/* V805 : formulaire complet de rectification des alertes température */
.tempAlertRectifyIntroV805{
  grid-column:1/-1;
  margin:0;
  padding:10px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid #fecaca;
  color:#7f1d1d;
  font-size:14px;
  font-weight:900;
  line-height:1.35;
}
.tempAlertFieldV805{
  display:grid;
  gap:6px;
  min-width:0;
}
.tempAlertFieldV805>span{
  color:#7f1d1d!important;
  font-size:13px!important;
  font-weight:1000!important;
  margin:0!important;
}
.alertNoteCardV478 .tempAlertFieldV805 input,
.alertNoteCardV478 .tempAlertFieldV805 textarea{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:1px solid #fca5a5;
  border-radius:12px;
  background:#fff;
  color:#111827;
  padding:11px 12px;
  font:inherit;
  font-weight:850;
}
.alertNoteCardV478 .tempAlertFieldV805 textarea{
  min-height:84px;
  resize:vertical;
}
.tempAlertReasonV805{
  grid-column:1/-1;
}
.alertNoteCardV478 .tempAlertValidateV805{
  grid-column:1/-1;
  width:100%;
  min-height:50px;
  font-size:16px;
  white-space:normal;
}
@media(max-width:900px){
  .tempAlertRectifyIntroV805,
  .tempAlertReasonV805,
  .alertNoteCardV478 .tempAlertValidateV805{
    grid-column:auto;
  }
}

/* V1108 - alerte temperature : bulle rouge complete sur tablette/APK.
   Correction ciblee : la temperature n'est plus enfermee dans la colonne fixe de 92px. */
.alertNoteCardActiveV480 > .tempAlertTempV480{
  grid-column:2 / -1 !important;
  justify-self:start !important;
  width:max-content !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
@media(max-width:900px){
  .alertNoteCardActiveV480 > .tempAlertTempV480{
    grid-column:1 !important;
  }
}
