.jcpl-app{--jc1:#5924d9;--jc2:#0ea5e9;--jc3:#10b981;--jc4:#f97316;--ink:#101828;--muted:#667085;--line:#e5e7eb;--bg:#f5f7fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;color:var(--ink)!important;background:linear-gradient(135deg,#f4f7ff,#fff7ed)!important;border-radius:28px;padding:28px;box-shadow:0 24px 70px rgba(16,24,40,.12)}
.jcpl-app *{box-sizing:border-box}.jcpl-app h1{margin:0 0 18px;font-size:34px;font-weight:900;background:linear-gradient(90deg,var(--jc1),var(--jc2));-webkit-background-clip:text;color:transparent}.jcpl-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.jcpl-tab,.jcpl-app button,.filebtn{border:0;border-radius:14px;padding:12px 16px;font-weight:800;cursor:pointer;background:#fff;color:#344054;box-shadow:0 8px 22px rgba(16,24,40,.08);transition:.15s transform,.15s box-shadow}.jcpl-tab:hover,.jcpl-app button:hover,.filebtn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(16,24,40,.14)}.jcpl-tab.active,.primary{background:linear-gradient(135deg,var(--jc1),var(--jc2))!important;color:#fff!important}.danger{background:linear-gradient(135deg,#ef4444,#f97316)!important;color:#fff!important}.jcpl-card,.jcpl-editor-shell{background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.7);border-radius:24px;padding:22px;box-shadow:0 18px 48px rgba(16,24,40,.10)}.jcpl-card h2{margin-top:0}.jcpl-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.jcpl-app input,.jcpl-app textarea,.jcpl-app select{border:1px solid var(--line);border-radius:14px;padding:11px 12px;background:#fff;color:#101828;box-shadow:inset 0 1px 2px rgba(16,24,40,.04);max-width:100%}.jcpl-app textarea{width:100%;font-size:18px}.ok,.bad{margin:12px 0;padding:12px 16px;border-radius:16px;font-weight:800}.ok{background:#ecfdf3;color:#027a48}.bad{background:#fef3f2;color:#b42318}.jcpl-table{width:100%;border-collapse:separate;border-spacing:0 8px}.jcpl-table th{text-align:left;font-size:12px;text-transform:uppercase;color:#667085;padding:8px}.jcpl-table td{background:#fff;padding:12px;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}.jcpl-table td:first-child{border-left:1px solid #eef2f7;border-radius:14px 0 0 14px}.jcpl-table td:last-child{border-right:1px solid #eef2f7;border-radius:0 14px 14px 0}.thumb{width:44px;height:44px;object-fit:contain;border-radius:10px;background:#f8fafc}
.jcpl-topbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px;align-items:center}.jcpl-topbar #tpl-name{min-width:260px;flex:1}.jcpl-editor-grid{display:grid;grid-template-columns:260px minmax(420px,1fr) 260px;gap:16px;align-items:start}.toolbox,.props{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #e7edf7;border-radius:22px;padding:16px;box-shadow:0 12px 30px rgba(16,24,40,.07);position:sticky;top:20px}.toolbox h3,.props h3{margin:8px 0 12px;color:#344054}.toolbox button,.toolbox .filebtn{width:100%;margin:5px 0;text-align:left;background:linear-gradient(135deg,#eef4ff,#f0fdfa);color:#26314d}.toolbox .add-var:nth-child(3n+1){background:linear-gradient(135deg,#ede9fe,#dbeafe)}.toolbox .add-var:nth-child(3n+2){background:linear-gradient(135deg,#dcfce7,#cffafe)}.toolbox .add-var:nth-child(3n){background:linear-gradient(135deg,#ffedd5,#fef3c7)}.filebtn{display:block;position:relative;overflow:hidden}.filebtn input{position:absolute;inset:0;opacity:0;cursor:pointer}.mini{font-size:12px;color:var(--muted);line-height:1.4}.props label{display:block;margin:10px 0;font-weight:800;color:#344054}.props input,.props select{width:100%;margin-top:5px}.btnrow{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.btnrow button{padding:10px;font-size:12px}
.stage-wrap{min-width:0}.stage-scroll{background:#d8dee9;border-radius:24px;padding:24px;overflow:auto;max-height:82vh;box-shadow:inset 0 0 0 1px rgba(16,24,40,.06)}.jcpl-a4{position:relative;background:#fff;box-shadow:0 24px 70px rgba(16,24,40,.35);overflow:hidden;transform-origin:top left;margin:auto;background-image:linear-gradient(#f2f4f7 1px,transparent 1px),linear-gradient(90deg,#f2f4f7 1px,transparent 1px);background-size:10mm 10mm}.jcpl-a4:before{content:'A4 réel';position:absolute;right:6mm;top:5mm;color:#98a2b3;font-size:12px;font-weight:800;z-index:9999}.calage-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:0!important}.ed-el{position:absolute;min-width:5mm;min-height:5mm;border:1px dashed rgba(89,36,217,.45);background:rgba(255,255,255,.45);padding:1mm;cursor:move;overflow:hidden;transform-origin:center center}.ed-el.sel{outline:2px solid #0ea5e9;background:rgba(14,165,233,.10)}.ed-el img{width:100%;height:100%;object-fit:contain;pointer-events:none}.resize{position:absolute;right:0;bottom:0;width:10px;height:10px;background:#0ea5e9;border-radius:3px;cursor:nwse-resize}.barcode-demo{font-family:'Courier New',monospace;font-weight:900;letter-spacing:1px;text-align:center;line-height:1.05}.ruler-h{height:24px;margin-left:32px;margin-bottom:6px;border-radius:12px;background:repeating-linear-gradient(90deg,#fff 0,#fff 9mm,#cbd5e1 9mm,#cbd5e1 10mm);box-shadow:inset 0 0 0 1px #d0d5dd}
@media(max-width:1100px){.jcpl-editor-grid{grid-template-columns:1fr}.toolbox,.props{position:relative;top:auto}.stage-scroll{max-height:none}}@media print{.jcpl-app{box-shadow:none;background:#fff}.jcpl-tabs,.jcpl-notice{display:none!important}}


/* Application large, centree et protegee des contraintes du theme */
body.jcpl-fullscreen-page{
  overflow-x:auto!important;
}
body.jcpl-fullscreen-page .entry-content,
body.jcpl-fullscreen-page .wp-site-blocks,
body.jcpl-fullscreen-page .site-content,
body.jcpl-fullscreen-page .content-area,
body.jcpl-fullscreen-page main,
body.jcpl-fullscreen-page article,
body.jcpl-fullscreen-page .page,
body.jcpl-fullscreen-page .container,
body.jcpl-fullscreen-page .wrap{
  overflow:visible!important;
}
.jcpl-app{
  width:min(calc(100vw - 2cm), 1880px)!important;
  max-width:1880px!important;
  min-width:0!important;
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  margin:22px 0 32px 0!important;
  min-height:calc(100vh - 64px)!important;
  border-radius:28px!important;
  padding:28px clamp(22px,2.2vw,40px)!important;
  overflow:visible!important;
}
.jcpl-app .jcpl-view,.jcpl-app .jcpl-card,.jcpl-app .jcpl-editor-shell{max-width:100%!important;width:100%!important;}
.jcpl-editor-grid{grid-template-columns:minmax(220px,250px) minmax(1125px,1fr) minmax(220px,250px)!important;}
@media(max-width:1500px){.jcpl-app{width:calc(100vw - 24px)!important;}}
@media(max-width:1200px){.jcpl-app{width:calc(100vw - 40px)!important;padding:22px!important;}.jcpl-editor-grid{grid-template-columns:1fr!important}.toolbox,.props{position:relative!important;top:auto!important}.stage-scroll{max-height:none!important;}}
@media(max-width:700px){.jcpl-app{width:100%!important;left:auto!important;transform:none!important;margin:0!important;border-radius:0!important;padding:14px!important;}}
.jcpl-rights-tools{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.jcpl-rights-tools button{background:linear-gradient(135deg,#e0f2fe,#f0fdf4)!important;color:#075985!important}.jcpl-rights-table th,.jcpl-rights-table td{text-align:center}.jcpl-rights-table th:first-child,.jcpl-rights-table td:first-child{text-align:left;font-weight:900}.jcpl-right-box{width:24px!important;height:24px!important;accent-color:#5924d9;box-shadow:none!important}.right-role-all,.right-cap-all{width:18px!important;height:18px!important;accent-color:#0ea5e9}.jcpl-rights-table small{display:block;color:#667085;font-size:11px;margin-top:3px}

/* Belle page de connexion integree */
.jcpl-login-page{
  width:min(calc(100vw - 2cm), 1180px)!important;
  margin:36px auto!important;
  min-height:calc(100vh - 90px);
  display:grid;
  grid-template-columns:minmax(280px,1.1fr) minmax(320px,.9fr);
  gap:28px;
  align-items:center;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  color:#101828!important;
}
.jcpl-login-hero{
  border-radius:34px;
  padding:44px;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:radial-gradient(circle at 15% 15%,rgba(255,255,255,.34),transparent 34%),linear-gradient(135deg,#5924d9,#0ea5e9 58%,#10b981);
  color:#fff;
  box-shadow:0 30px 80px rgba(16,24,40,.22);
  overflow:hidden;
  position:relative;
}
.jcpl-login-hero:after{
  content:'';
  position:absolute;
  width:260px;height:260px;right:-70px;bottom:-80px;
  border-radius:50%;background:rgba(255,255,255,.18);
}
.jcpl-login-badge{
  display:inline-flex;align-self:flex-start;
  padding:10px 14px;border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.34);
  font-weight:900;letter-spacing:.2px;
}
.jcpl-login-hero h1{font-size:46px;line-height:1.02;margin:26px 0 16px;color:#fff!important;font-weight:950;max-width:620px}
.jcpl-login-hero p{font-size:18px;line-height:1.6;margin:0;color:rgba(255,255,255,.92);max-width:560px}
.jcpl-login-features{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px;position:relative;z-index:1}
.jcpl-login-features span{padding:10px 13px;border-radius:14px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25);font-weight:800}
.jcpl-login-card{
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.85);
  border-radius:30px;
  padding:34px;
  box-shadow:0 24px 70px rgba(16,24,40,.15);
}
.jcpl-login-card h2{margin:0 0 22px;font-size:30px;font-weight:950;background:linear-gradient(90deg,#5924d9,#0ea5e9);-webkit-background-clip:text;color:transparent}
.jcpl-login-card label{display:block;font-weight:850;color:#344054;margin:14px 0 7px}
.jcpl-login-card input[type=text],.jcpl-login-card input[type=password]{width:100%;border:1px solid #e5e7eb;border-radius:16px;padding:14px 15px;font-size:16px;background:#fff;box-shadow:inset 0 1px 2px rgba(16,24,40,.04)}
.jcpl-login-card .login-remember label{display:flex;gap:9px;align-items:center;font-weight:750;color:#667085}.jcpl-login-card input[type=checkbox]{width:18px;height:18px;accent-color:#5924d9}
.jcpl-login-card input[type=submit]{width:100%;border:0;border-radius:18px;padding:15px 18px;margin-top:10px;font-size:16px;font-weight:950;cursor:pointer;color:#fff;background:linear-gradient(135deg,#5924d9,#0ea5e9);box-shadow:0 16px 36px rgba(89,36,217,.24);transition:.15s transform,.15s box-shadow}
.jcpl-login-card input[type=submit]:hover{transform:translateY(-1px);box-shadow:0 20px 44px rgba(89,36,217,.30)}
.jcpl-login-links{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:18px}.jcpl-login-links a{font-weight:800;color:#5924d9;text-decoration:none}.jcpl-login-links a:hover{text-decoration:underline}
@media(max-width:900px){.jcpl-login-page{grid-template-columns:1fr;width:calc(100vw - 28px)!important;margin:14px auto!important}.jcpl-login-hero{min-height:auto;padding:30px}.jcpl-login-hero h1{font-size:34px}.jcpl-login-card{padding:24px}}
@media(max-width:520px){.jcpl-login-page{width:100%!important;margin:0!important}.jcpl-login-hero,.jcpl-login-card{border-radius:0}.jcpl-login-links{display:block}.jcpl-login-links a{display:block;margin-top:10px}}

/* Modèle par défaut dans l'éditeur */
.default-choice{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 13px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#ecfdf3,#e0f2fe)!important;
  border:1px solid #bbf7d0!important;
  color:#075985!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.default-choice input{width:18px!important;height:18px!important;accent-color:#10b981!important;margin:0!important;box-shadow:none!important;}
@media(max-width:900px){.default-choice{width:100%!important;justify-content:center!important;}}


/* v1.0.16 - conteneur responsive centre sans coupe gauche */
body.jcpl-fullscreen-page{overflow-x:hidden!important;}
body.jcpl-fullscreen-page .entry-content,
body.jcpl-fullscreen-page .wp-site-blocks,
body.jcpl-fullscreen-page .site-content,
body.jcpl-fullscreen-page .content-area,
body.jcpl-fullscreen-page main,
body.jcpl-fullscreen-page article,
body.jcpl-fullscreen-page .page,
body.jcpl-fullscreen-page .container,
body.jcpl-fullscreen-page .wrap{
  max-width:none!important;
  width:auto!important;
  overflow:visible!important;
}
.jcpl-full-bleed{
  width:100vw!important;
  max-width:100vw!important;
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding-left:clamp(12px,1.7vw,34px)!important;
  padding-right:clamp(12px,1.7vw,34px)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
  overflow:visible!important;
}
.jcpl-full-bleed .jcpl-app{
  width:min(100%,1880px)!important;
  max-width:1880px!important;
  min-width:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  margin:22px auto 32px auto!important;
  padding:clamp(16px,1.8vw,30px)!important;
  overflow:visible!important;
}
.jcpl-full-bleed .jcpl-editor-shell,
.jcpl-full-bleed .jcpl-card,
.jcpl-full-bleed .jcpl-view{min-width:0!important;max-width:100%!important;}
.jcpl-full-bleed .jcpl-editor-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(210px,250px) minmax(0,1fr) minmax(220px,270px)!important;
  gap:clamp(10px,1.2vw,18px)!important;
  overflow:visible!important;
}
.jcpl-full-bleed .stage-wrap{min-width:0!important;width:100%!important;overflow:visible!important;}
.jcpl-full-bleed .stage-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow:auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
.jcpl-full-bleed .jcpl-a4{flex:0 0 auto!important;margin-left:auto!important;margin-right:auto!important;}
.jcpl-full-bleed .jcpl-topbar{min-width:0!important;}
.jcpl-full-bleed .jcpl-table{min-width:720px;}
.jcpl-full-bleed .jcpl-card{overflow:auto!important;}
@media(max-width:1550px){
  .jcpl-full-bleed{padding-left:12px!important;padding-right:12px!important;}
  .jcpl-full-bleed .jcpl-editor-grid{grid-template-columns:minmax(190px,220px) minmax(0,1fr) minmax(195px,230px)!important;}
  .jcpl-full-bleed .toolbox,.jcpl-full-bleed .props{padding:12px!important;}
}
@media(max-width:1180px){
  body.jcpl-fullscreen-page{overflow-x:auto!important;}
  .jcpl-full-bleed{width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;padding:10px!important;}
  .jcpl-full-bleed .jcpl-app{width:100%!important;margin:0 auto!important;border-radius:18px!important;}
  .jcpl-full-bleed .jcpl-editor-grid{grid-template-columns:1fr!important;}
  .jcpl-full-bleed .toolbox,.jcpl-full-bleed .props{position:relative!important;top:auto!important;}
  .jcpl-full-bleed .stage-scroll{justify-content:flex-start!important;}
}
@media(max-width:700px){
  .jcpl-full-bleed{padding:0!important;}
  .jcpl-full-bleed .jcpl-app{border-radius:0!important;padding:12px!important;}
  .jcpl-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .jcpl-tab{padding:10px 8px!important;font-size:13px!important;}
  .jcpl-actions{display:grid!important;grid-template-columns:1fr!important;}
  .jcpl-actions button,.jcpl-actions select,.jcpl-actions input{width:100%!important;}
}

/* v1.0.17 - correctif propre: centrage viewport sans decalage a gauche */
body.jcpl-fullscreen-page{
  overflow-x:auto!important;
}
body.jcpl-fullscreen-page .entry-content,
body.jcpl-fullscreen-page .wp-site-blocks,
body.jcpl-fullscreen-page .site-content,
body.jcpl-fullscreen-page .content-area,
body.jcpl-fullscreen-page main,
body.jcpl-fullscreen-page article,
body.jcpl-fullscreen-page .page,
body.jcpl-fullscreen-page .container,
body.jcpl-fullscreen-page .wrap{
  overflow:visible!important;
  max-width:none!important;
}
.jcpl-full-bleed{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(calc(100vw - 48px), 1900px)!important;
  max-width:min(calc(100vw - 48px), 1900px)!important;
  min-width:0!important;
  margin:18px 0 32px 0!important;
  padding:0!important;
  display:block!important;
  overflow:visible!important;
}
.jcpl-full-bleed .jcpl-app{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  margin:0 auto!important;
  padding:clamp(16px,1.6vw,30px)!important;
  border-radius:28px!important;
  overflow:visible!important;
}
.jcpl-full-bleed .jcpl-view,
.jcpl-full-bleed .jcpl-card,
.jcpl-full-bleed .jcpl-editor-shell{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.jcpl-full-bleed .jcpl-editor-grid{
  display:grid!important;
  width:100%!important;
  grid-template-columns:minmax(220px,260px) minmax(0,1fr) minmax(220px,280px)!important;
  gap:clamp(12px,1.2vw,20px)!important;
  align-items:start!important;
  overflow:visible!important;
}
.jcpl-full-bleed .stage-wrap{min-width:0!important;width:100%!important;overflow:visible!important;}
.jcpl-full-bleed .stage-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow:auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
}
.jcpl-full-bleed .jcpl-a4{
  flex:0 0 auto!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:1500px){
  .jcpl-full-bleed{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;}
  .jcpl-full-bleed .jcpl-editor-grid{grid-template-columns:minmax(200px,230px) minmax(0,1fr) minmax(200px,240px)!important;}
  .jcpl-full-bleed .toolbox,.jcpl-full-bleed .props{padding:12px!important;}
}
@media(max-width:1180px){
  .jcpl-full-bleed{left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:10px!important;}
  .jcpl-full-bleed .jcpl-app{border-radius:18px!important;}
  .jcpl-full-bleed .jcpl-editor-grid{grid-template-columns:1fr!important;}
  .jcpl-full-bleed .toolbox,.jcpl-full-bleed .props{position:relative!important;top:auto!important;}
  .jcpl-full-bleed .stage-scroll{justify-content:flex-start!important;}
}
@media(max-width:700px){
  .jcpl-full-bleed{padding:0!important;}
  .jcpl-full-bleed .jcpl-app{border-radius:0!important;padding:12px!important;}
}

/* Statut de scan avant impression */
.scan-status{margin:14px 0;display:block}
.scan-summary{padding:12px 14px;border-radius:14px;font-weight:800;margin-bottom:8px}
.scan-summary.good{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}
.scan-summary.warn{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
.scan-list{display:grid;gap:8px;max-height:260px;overflow:auto}
.scan-row{display:grid;grid-template-columns:130px 190px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px 12px}
.scan-row.ok{border-color:#abefc6;background:#f6fef9}
.scan-row.missing,.scan-row.nostock{border-color:#fecaca;background:#fff1f2}
.scan-code{font-weight:900;font-family:monospace}
.scan-msg{font-weight:800}
.scan-item{color:#475467;font-size:13px}
@media(max-width:700px){.scan-row{grid-template-columns:1fr}.scan-list{max-height:none}}

/* Liste de scans validés en temps réel */
.jcpl-scan-entry{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:center;margin:14px 0 10px}
.jcpl-scan-entry input{font-size:20px;font-weight:800;padding:16px 18px;border:2px solid #d0d5dd;border-radius:16px;background:#fff;min-width:0}
.jcpl-scan-entry input:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.12)}
.scan-message .ok,.scan-message .bad{padding:12px 14px;border-radius:14px;font-weight:800;margin:10px 0}
.scan-message .ok{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}
.scan-message .bad{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}
.scan-queue-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;margin-bottom:10px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb}
.scan-queue-head strong{font-size:18px;color:#101828}
.scan-queue.empty{display:block;max-height:none}
.scan-empty{padding:18px;border:2px dashed #d0d5dd;border-radius:16px;text-align:center;color:#667085;background:#fff}
.scan-row .remove-scan{justify-self:end;padding:8px 10px;border-radius:10px;background:#fff1f2;color:#be123c;border:1px solid #fecdd3}
.scan-row small{display:inline-block;margin-left:8px;color:#667085;font-weight:700}
@media(max-width:760px){.jcpl-scan-entry{grid-template-columns:1fr}.scan-queue-head{align-items:stretch;flex-direction:column}.scan-row .remove-scan{justify-self:stretch}}

/* v1.0.29: prix/remise sur une ligne avec reduction auto a l'impression */
.jcpl-print-preview .fit-price,.jcpl-print-preview .fit-discount{white-space:nowrap!important;overflow:hidden!important;}
.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}.status-badge.unprinted{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.status-badge.printed{background:#ecfdf3;color:#047857;border:1px solid #a7f3d0}.jcpl-app.is-busy{pointer-events:auto!important;opacity:1!important}.jcpl-app.is-busy:after{display:none!important}
.jcpl-import-mode{display:grid;gap:8px;margin:14px 0 18px;padding:14px;border:1px solid #e0e7ff;border-radius:18px;background:linear-gradient(135deg,#eef2ff,#f0fdf4)}
.jcpl-import-mode label{display:flex;align-items:center;gap:9px;font-weight:900;color:#101828}
.jcpl-import-mode input{width:18px!important;height:18px!important;accent-color:#5924d9;box-shadow:none!important}
.jcpl-import-mode small{display:block;margin:-4px 0 8px 27px;color:#667085;font-weight:700}


/* Magasins et notifications e-mail */
.jcpl-store-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,2fr) auto;gap:14px;align-items:end;padding:16px;margin:12px 0;border:1px solid #dfe3e8;border-radius:12px;background:#fff}
.jcpl-store-row label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.jcpl-store-row input,.jcpl-store-row textarea{width:100%;box-sizing:border-box}
.jcpl-store-row textarea{resize:vertical;min-height:82px}
@media(max-width:760px){.jcpl-store-row{grid-template-columns:1fr}.jcpl-store-row .danger{width:100%}}
