.lp55-root{max-width:none!important;padding:22px!important}
.lp55-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.lp55-heading h2{margin:0 0 6px}.lp55-heading p{margin:0}.lp55-heading>span{font-size:12px;color:#777}
.lp55-layout{display:grid;grid-template-columns:94px minmax(460px,1fr) 310px;gap:12px;align-items:stretch}
.lp55-layout button,.lp55-layout input,.lp55-layout select{font:inherit;color:#17191d}.lp55-tools{background:#f1f0ef;display:flex;flex-direction:column;padding:8px;gap:8px;border-radius:12px}.lp55-tools button{border:0;border-radius:8px;padding:11px 5px;background:#fff;cursor:pointer;font-size:11px;font-weight:600}.lp55-tools button span{font-size:23px;display:block}.lp55-tools button:hover{outline:2px solid #ed003e}.lp55-workspace{min-width:0;background:#f6f5f5;padding:10px;border-radius:12px}.lp55-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.lp55-toolbar button{background:#fff;border:1px solid #ddd;padding:7px 9px;border-radius:6px;cursor:pointer;font-size:12px}.lp55-toolbar button.is-active{background:#191b20;color:#fff}.lp55-stage{position:relative;width:min(100%,650px);aspect-ratio:4/5;max-height:760px;margin:0 auto;background:#fff;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}.lp55-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.lp55-printarea{position:absolute;top:24%;left:26%;width:48%;height:54%;border:1px dashed #ef3158;touch-action:none}.lp55-layer{position:absolute;display:flex;align-items:center;justify-content:center;cursor:move;touch-action:none;overflow:visible;outline:1px solid transparent}.lp55-layer img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.lp55-layer span{text-align:center;overflow-wrap:anywhere;line-height:1.05;font-weight:700;pointer-events:none}.lp55-layer.is-selected{outline:2px solid #e40039;background:rgba(255,255,255,.05)}.lp55-handle{display:none;position:absolute;right:-9px;bottom:-9px;min-width:25px;min-height:25px;background:#e40039!important;color:#fff!important;border:1px solid white!important;border-radius:6px;cursor:nwse-resize!important}.lp55-layer.is-selected .lp55-handle{display:block}.lp55-note{font-size:12px;line-height:1.5;color:#6c6060;margin:10px 0 0}.lp55-properties{border:1px solid #ddd;border-radius:12px;padding:12px;max-height:920px;overflow:auto}.lp55-properties h3{font-size:18px;margin:0 0 12px}.lp55-panel{padding:12px 0;border-top:1px solid #eee}.lp55-panel[hidden]{display:none}.lp55-panel h4{margin:0 0 8px;font-size:14px}.lp55-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lp55-asset{padding:4px;background:#fff;border:1px solid #ddd;border-radius:8px;cursor:pointer;min-width:0}.lp55-asset img{width:100%;height:82px;object-fit:contain}.lp55-asset span{display:block;font-size:10px;overflow-wrap:anywhere;max-height:30px;overflow:hidden}.lp55-panel label{display:block;font-size:12px;margin:8px 0}.lp55-panel input,.lp55-panel select{width:100%;padding:8px;border:1px solid #ccd0d6;border-radius:6px;background:white}.lp55-panel button:not(.lp55-asset){border:1px solid #ddd;border-radius:5px;background:white;padding:8px;cursor:pointer}.lp55-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lp55-layerrow{display:block;width:100%;margin:5px 0;text-align:left;word-break:break-word}.lp55-layerrow.is-active{outline:2px solid #e40039}.lp55-name{display:block;max-width:450px;margin:15px 0}.lp55-name input{width:100%;padding:12px;border:1px solid #ccc;border-radius:6px;display:block}.lp55-success{background:#eaf8ef;padding:12px}.lp55-dirty .lp55-heading>span::after{content:' · Modifications non enregistrées';color:#ce0037}
@media(max-width:1080px){.lp55-layout{grid-template-columns:84px minmax(300px,1fr)}.lp55-properties{grid-column:1/-1;max-height:none}.lp55-assets{grid-template-columns:repeat(5,1fr)}}@media(max-width:620px){.lp55-layout{display:block}.lp55-tools{flex-direction:row;overflow:auto;margin-bottom:8px}.lp55-tools button{min-width:75px}.lp55-properties{margin-top:10px}.lp55-toolbar{flex-wrap:wrap}.lp55-stage{max-height:520px}}

.lp56-typography{border:1px solid #e7dadd;background:#fffafa;border-radius:9px;padding:11px;margin:10px 0}.lp56-typography h4{margin:0 0 12px!important}.lp56-typography input[type=color]{height:42px;padding:4px}.lp56-typography input[type=checkbox]{width:auto;margin-right:8px}.lp55-asset img{height:100px!important;background:#f3f3f3}.lp55-panel[hidden],.lp56-typography[hidden]{display:none!important}

/* LABPro 0.5.7 : toolbar and private media gallery */
.lp55-layout{grid-template-columns:205px minmax(420px,1fr) 280px!important;gap:12px}
.lp55-tools{align-self:stretch;align-items:stretch;max-height:900px;overflow:auto;background:#f6f5f4}
.lp55-tools>button{font-size:12px!important;text-align:left;padding:12px!important;display:flex;gap:9px;align-items:center}
.lp55-tools>button span{display:inline-block!important;width:23px;font-size:22px!important;text-align:center}
.lp55-tools .lp55-panel{background:#fff;padding:12px;border-radius:10px;margin-top:2px}
.lp55-tools .lp55-assets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lp55-asset{overflow:hidden;display:block;min-height:124px}.lp55-asset img{object-fit:contain!important;width:100%!important;height:94px!important;display:block}
.lp55-asset span{font-size:10px!important;line-height:1.3}
.lp57-image-error{outline:2px solid #b42318}
.lp57-import-form input[type=file]{display:block;width:100%;font-size:12px;margin:10px 0}
.lp57-import-button{display:block;width:100%;padding:10px;background:#e9003c!important;color:white!important;font-size:12px!important;border:0;border-radius:5px;cursor:pointer}
.lp55-tools .lp55-panel[hidden]{display:none!important}
@media(max-width:1150px){.lp55-layout{grid-template-columns:180px minmax(280px,1fr)!important}.lp55-properties{grid-column:1/-1}}
@media(max-width:650px){.lp55-layout{display:flex!important;flex-direction:column}.lp55-tools{max-height:none;display:flex;flex-direction:row;flex-wrap:wrap}.lp55-tools>button{flex:1 1 42%}.lp55-tools .lp55-panel{flex:1 1 100%}.lp55-stage{max-height:610px}}

/* LABPro 0.5.8 : independent width and height handles for text and images */
.lp55-layer span{white-space:nowrap!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;display:block!important;line-height:1.15!important;pointer-events:none}
.lp55-layer{overflow:visible!important}
.lp58-handle{display:none;position:absolute!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;padding:0!important;background:#e60038!important;border:2px solid white!important;border-radius:4px!important;box-shadow:0 1px 5px #1115;z-index:10;touch-action:none}
.lp55-layer.is-selected .lp58-handle{display:block!important}
.lp58-handle-e{right:-9px;top:calc(50% - 9px);cursor:ew-resize!important}
.lp58-handle-w{left:-9px;top:calc(50% - 9px);cursor:ew-resize!important}
.lp58-handle-n{top:-9px;left:calc(50% - 9px);cursor:ns-resize!important}
.lp58-handle-s{bottom:-9px;left:calc(50% - 9px);cursor:ns-resize!important}
.lp58-handle-se{right:-9px;bottom:-9px;cursor:nwse-resize!important}
.lp58-handle-nw{left:-9px;top:-9px;cursor:nwse-resize!important}
.lp58-handle-ne{right:-9px;top:-9px;cursor:nesw-resize!important}
.lp58-handle-sw{left:-9px;bottom:-9px;cursor:nesw-resize!important}
.lp58-dimension-note{font-size:12px;color:#60636b;line-height:1.45;background:#f7f5f4;padding:9px;border-radius:6px}
#lp56-font option,#lp56-font optgroup{font-size:15px;color:#111}

/* LABPro 0.5.9: font specimens, profession library, safe non-navigating upload */
.lp59-font-preview{border:1px solid #e0d9d3;background:#fff;border-radius:9px;padding:12px;margin:10px 0}.lp59-previewlabel{font-size:11px;color:#686868;display:block;margin-bottom:8px}#lp59-preview{font-size:26px;min-height:38px;line-height:1.25;overflow-wrap:anywhere}
.lp59-font-cards{max-height:215px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:2px;margin:8px 0}.lp59-font-card{background:#fff;border:1px solid #ddd!important;display:flex;flex-direction:column;text-align:left;padding:8px!important;min-width:0;gap:5px}.lp59-font-card small{font:11px Arial,sans-serif;color:#606060}.lp59-font-card strong{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}.lp59-font-card.is-active{border-color:#e5003e!important;box-shadow:0 0 0 1px #e5003e}
.lp59-templates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.lp59-template{border:1px solid #ddd!important;border-radius:8px;background:#fff!important;padding:8px!important;min-height:104px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer}.lp59-template-icon{display:flex;align-items:center;justify-content:center;width:64px;height:55px;overflow:hidden}.lp59-template-icon svg{display:block;height:48px;width:48px}.lp59-template-text{font-weight:900;font-size:10px;text-align:center}.lp59-template small{font-size:10px;line-height:1.2;text-align:center;color:#333}.lp59-template:hover{outline:2px solid #eb0038}
.lp59-symbol{display:block;width:100%;height:100%;pointer-events:none}.lp59-symbol svg{width:100%;height:100%}.lp59-importstatus{font-size:12px;line-height:1.4;min-height:20px;color:#224b2b;margin:8px 0}

/* LABPro 0.5.10: font cards readable in narrow properties panel */
.lp55-properties .lp59-font-cards{
  display:flex!important;flex-direction:column!important;
  grid-template-columns:none!important;gap:7px!important;
  max-height:300px!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding:4px 6px 4px 2px!important;width:100%!important;box-sizing:border-box!important;
}
.lp55-properties .lp59-font-card{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  padding:10px 12px!important;min-height:75px!important;
  border:1px solid #ddd!important;border-radius:8px!important;
  overflow:hidden!important;box-sizing:border-box!important;text-align:left!important;
}
.lp55-properties .lp59-font-card small{
  display:block!important;font:600 12px/1.3 Arial,sans-serif!important;
  letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
  color:#454545!important;
}
.lp55-properties .lp59-font-card strong{
  display:block!important;font-size:23px!important;line-height:1.4!important;
  font-weight:400!important;letter-spacing:normal!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  overflow:visible!important;text-overflow:clip!important;
  max-width:100%!important;
}
.lp55-properties .lp59-font-card.is-active{border:2px solid #e5003e!important;padding:9px 11px!important}
.lp55-properties .lp59-font-preview{width:100%;box-sizing:border-box;overflow:hidden}
@media(max-width:850px){.lp55-properties .lp59-font-cards{max-height:260px!important}}

/* LABPro 0.5.15 : catalogue compact, titres sans debordement et calques lisibles. */
.lp55-tools,.lp55-properties,.lp55-tools .lp55-panel{min-width:0!important;box-sizing:border-box!important}
.lp55-tools .lp59-templates{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important;width:100%!important}
.lp55-tools #lp511-catalog .lp59-template{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:125px!important;padding:8px 4px!important;box-sizing:border-box!important;overflow:hidden!important;gap:7px!important}
.lp55-tools #lp511-catalog .lp59-template img{width:100%!important;max-width:100%!important;height:78px!important;object-fit:contain!important;flex-shrink:0!important}
.lp55-tools #lp511-catalog .lp515-catalog-label{display:block!important;width:100%!important;min-width:0!important;font:600 11px/1.35 Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;overflow:hidden!important;max-height:2.7em!important}
.lp55-properties .lp55-layerrow{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:9px!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;box-sizing:border-box!important;min-height:36px!important}
#lp55-selection{overflow-wrap:anywhere;word-break:break-word;line-height:1.5}

#lp55-aipanel textarea,#lp55-aipanel select{width:100%;max-width:100%;box-sizing:border-box;padding:10px;border:1px solid #ccd0d4;border-radius:7px;font:inherit}#lp55-aipanel label{display:block;margin:12px 0;font-size:13px}#lp517-run{padding:12px 14px;border:0;border-radius:6px;background:#cc0030;color:white;cursor:pointer}#lp517-run:disabled{background:#aaa;cursor:not-allowed}.lp517-output{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:13px;margin:12px 0}

.lp519-gen{padding:12px 0;margin-top:15px;border-top:1px solid #ddd}.lp519-gen h4{margin:8px 0}.lp519-gen label{display:block;font-size:13px;margin:10px 0}.lp519-gen label input[type=checkbox]{margin-right:7px}.lp519-gen select{width:100%;padding:9px;border:1px solid #ccd0d4;border-radius:6px}.lp519-gen #lp519-generate{width:100%;padding:12px 10px;border:0;background:#cb0530;color:#fff;border-radius:6px;cursor:pointer;font-weight:700}.lp519-gen #lp519-generate:disabled{opacity:.6;cursor:wait}

/* 0.5.20: Keep the image generation action immediately above long analysis results. */
#lp55-aipanel .lp519-gen{margin-top:10px;padding:10px 0 2px;border-top:1px solid #e4e4e4}
#lp55-aipanel .lp519-gen h4{margin:3px 0 5px}
#lp55-aipanel .lp519-gen label{margin:6px 0}
#lp55-aipanel #lp517-run,#lp55-aipanel #lp519-generate{display:block;width:100%;max-width:100%;padding:11px 8px;margin:8px 0;box-sizing:border-box;white-space:normal;text-align:center;line-height:1.3}
#lp55-aipanel #lp517-output:not(:empty){max-height:230px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #e5e5e5;border-radius:7px;background:#f9fafb;padding:10px}
#lp55-aipanel #lp519-output:not(:empty){border:1px solid #ddd;border-radius:7px;padding:9px;background:#fafafa}

/* LABPro WORKS 0.5.21: visible-image bounds (source alpha trimmed only in browser). */
.lp55-layer img.lp521-tight-image{width:100%!important;height:100%!important;object-fit:fill!important;pointer-events:none}
.lp55-layer.is-selected:has(.lp521-tight-image){background:rgba(255,255,255,.02)}

/* LABPro 0.5.22 : fenêtre IA simplifiée, indépendante de la colonne Outils. */
.lp522-ai-overlay:not([hidden]){position:fixed;inset:0;background:rgba(10,20,30,.7);z-index:999990}
#lp55-aipanel.lp522-ai-modal:not([hidden]){display:flex;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:999991;width:min(680px,calc(100vw - 28px));max-height:min(90vh,860px);box-sizing:border-box;border:0;border-radius:16px;background:#fff;box-shadow:0 20px 65px rgba(0,0,0,.35);padding:0;flex-direction:column;overflow:hidden;color:#1b2631;font-family:Arial,sans-serif}
body.lp522-ai-open{overflow:hidden}
#lp55-aipanel .lp522-ai-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:22px 25px 13px;border-bottom:1px solid #e6e8eb}
#lp55-aipanel .lp522-eyebrow{color:#cc0030;font-size:11px;font-weight:800;letter-spacing:1.6px}
#lp55-aipanel .lp522-ai-head h3{margin:4px 0 6px;font-size:25px;line-height:1.2}
#lp55-aipanel .lp522-ai-head p{margin:0;color:#56616b;font-size:13px}
#lp55-aipanel #lp522-close{background:#f2f3f5;color:#17212b;border:0;border-radius:50%;width:36px;height:36px;min-width:36px;font-size:26px;line-height:1;cursor:pointer}
#lp55-aipanel .lp522-tabs{display:flex;gap:8px;padding:16px 25px 0}
#lp55-aipanel .lp522-tabs button{flex:1;background:#f3f4f6;border:1px solid #e2e5e8;border-radius:9px;padding:12px;color:#24303d;font-weight:700;cursor:pointer}
#lp55-aipanel .lp522-tabs button[aria-selected="true"]{color:#fff;background:#152332;border-color:#152332}
#lp55-aipanel .lp522-ai-main{overflow-y:auto;overscroll-behavior:contain;padding:12px 25px 18px;min-height:0;flex:1}
#lp55-aipanel .lp522-ai-main label{margin:12px 0 14px;font-weight:650}
#lp55-aipanel .lp522-main-prompt textarea{margin-top:8px;min-height:96px;resize:vertical;line-height:1.55}
#lp55-aipanel .lp522-reference{border:1px solid #e2e6eb;border-radius:8px;padding:10px 13px;margin:10px 0 18px}
#lp55-aipanel .lp522-reference summary{cursor:pointer;font-size:13px;font-weight:600}
#lp55-aipanel .lp522-reference label{font-weight:400;margin:12px 0 4px}
#lp55-aipanel .lp522-reference .lp522-checkbox{display:flex;align-items:center;gap:8px}
#lp55-aipanel #lp519-reference{width:17px;height:17px;flex:none}
#lp55-aipanel .lp522-primary{display:block;width:100%;padding:15px 12px;background:#cc0030;color:white;border:none;border-radius:9px;font-size:15px;font-weight:800;cursor:pointer;letter-spacing:.3px}
#lp55-aipanel .lp522-primary:disabled{background:#aaa;cursor:not-allowed}
#lp55-aipanel .lp522-ai-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e6e8eb;padding:12px 25px;background:#fafbfc}
#lp55-aipanel .lp522-ai-footer span{color:#5b6470;font-size:11px;line-height:1.4}
#lp55-aipanel #lp522-footer-close{background:#fff;border:1px solid #c9ced6;padding:9px 11px;white-space:nowrap;border-radius:7px;cursor:pointer}
#lp55-aipanel .lp522-result:not(:empty){white-space:pre-wrap;max-height:210px;overflow:auto;border:1px solid #e3e7ed;background:#f7f9fb;padding:13px;border-radius:8px;margin:12px 0;color:#222}
#lp55-aipanel .lp522-place:not([hidden]){display:block;background:#173a51;color:white;border:0;border-radius:8px;width:100%;padding:13px;font-weight:700;cursor:pointer;margin:9px 0}
#lp55-aipanel .lp522-help{font-size:13px;color:#5a6670;line-height:1.5;margin:12px 0}
@media(max-width:600px){#lp55-aipanel.lp522-ai-modal:not([hidden]){width:100vw;max-height:100dvh;height:100dvh;top:0;left:0;transform:none;border-radius:0}#lp55-aipanel .lp522-ai-head{padding:17px 16px 12px}#lp55-aipanel .lp522-ai-head h3{font-size:22px}#lp55-aipanel .lp522-tabs{padding:12px 16px 0}#lp55-aipanel .lp522-ai-main{padding:10px 16px}#lp55-aipanel .lp522-ai-footer{padding:10px 16px}}

/* LABPro 0.5.23: user-requested AI image placement status. */
.lp523-placement-status:not([hidden]){display:block;margin:12px 0;padding:11px 14px;border-radius:8px;font-size:13px;font-weight:650;line-height:1.5;border:1px solid #cbd5e1;background:#f6f7fa;color:#263341}
.lp523-placement-status[data-state="success"]{border-color:#b6dfc7;background:#eaf8ef;color:#16532e}

/* LABPro 0.5.24: readable example, color preview and text transformations. */
#lp55-aipanel #lp517-prompt::placeholder{color:#969da6!important;-webkit-text-fill-color:#969da6!important;font-weight:400!important;font-style:italic!important;opacity:1!important}
.lp524-image-color,.lp524-type-transform{border:1px solid #e5e0e0;border-radius:9px;padding:11px;margin:12px 0;background:#fbfaf9}
.lp524-image-color[hidden],.lp524-type-transform[hidden]{display:none!important}
.lp524-image-color h4,.lp524-type-transform h4{margin:0 0 10px;font-size:14px}
.lp524-image-color label,.lp524-type-transform label{display:block;margin:12px 0 8px;font-size:12px}
.lp524-image-color input[type=range],.lp524-type-transform input[type=range]{padding:0;width:100%;accent-color:#d00034}
.lp524-image-color output,.lp524-type-transform output{float:right;font-weight:bold}
.lp524-image-color button{border:1px solid #bfc8d0;border-radius:5px;background:#fff;padding:9px 11px;color:#222;cursor:pointer}
.lp524-caveat{color:#626b75;font-size:11px;line-height:1.5}
.lp55-layer .lp524-arc-svg{width:100%;height:100%;display:block;overflow:visible;pointer-events:none}

/* LABPro WORKS 0.5.25 - garment overview Face / Dos */
.lp525-show-button{background:#151b25!important;color:#fff!important;border-color:#151b25!important;font-weight:700!important}
.lp525-overlay[hidden],.lp525-modal[hidden]{display:none!important}
.lp525-overlay{position:fixed;inset:0;background:rgba(16,22,30,.72);z-index:99990}
.lp525-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(1050px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;border-radius:16px;z-index:99991;box-shadow:0 20px 75px rgba(0,0,0,.28);padding:22px;color:#1a2029}
.lp525-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e3e5ea;padding-bottom:12px;margin-bottom:15px}
.lp525-modal-header h2{margin:0 0 4px;font-size:24px;color:#151b25}.lp525-modal-header p{margin:0;color:#647084;font-size:13px}
.lp525-close{width:38px;height:38px;border-radius:50%;border:0;background:#f1f3f5;color:#1d2735;font-size:20px;cursor:pointer;flex-shrink:0}
.lp525-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lp525-preview-card{min-width:0;background:#f4f5f6;border:1px solid #e0e3e7;border-radius:12px;padding:10px}
.lp525-preview-card h3{text-align:center;margin:0 0 8px;font-size:15px;color:#171d25}
.lp525-preview-stage{width:100%!important;max-width:420px!important;height:auto!important;max-height:none!important;aspect-ratio:4/5;box-shadow:0 1px 4px rgba(0,0,0,.06);pointer-events:none}
.lp525-preview-stage .lp55-printarea{border-color:transparent!important;pointer-events:none!important}
.lp525-preview-stage .lp55-layer{outline:0!important;pointer-events:none!important;cursor:default!important}
.lp525-preview-stage .lp55-layer.is-selected{background:transparent!important;outline:0!important}
.lp525-unavailable{padding:32px;text-align:center;color:#5f6670}
.lp525-preview-note{font-size:12px;color:#69717e;line-height:1.5;margin:15px 0}
.lp525-modal-footer{display:flex;justify-content:flex-end;border-top:1px solid #e3e5ea;padding-top:12px}
.lp525-modal-footer button{background:#c90032;color:#fff;border:0;border-radius:8px;padding:12px 18px;font-weight:700;cursor:pointer}
body.lp525-preview-open{overflow:hidden}
@media(max-width:630px){.lp525-modal{padding:12px;border-radius:10px}.lp525-modal-header h2{font-size:20px}.lp525-preview-grid{grid-template-columns:1fr}.lp525-preview-stage{max-width:320px!important}.lp525-preview-card{padding:8px}}


/* WORKS 0.5.27 - provisional upper-back / upper-chest placement expanded.
   The same declaration applies to the editor and the garment preview. */
.lp55-stage .lp55-printarea{top:19%;height:59%}


/* LABPro WORKS 0.5.30 - visual refinement only: single-line canvas actions, consistent icons, compact image help. */
.lp55-root{--lp530-ink:#192433;--lp530-red:#cf0035;--lp530-line:#e5e8ee;--lp530-soft:#f7f8fa}
.lp55-layout{gap:12px!important}
.lp55-workspace{padding:10px!important;background:#f7f8fa!important}
.lp55-tools{background:#f6f7f9!important;border:1px solid #ebedf1!important;padding:9px!important;gap:7px!important}
.lp55-tools>button{font-family:inherit!important;font-size:12px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:.005em!important;text-transform:none!important;border:1px solid transparent!important;border-radius:10px!important;display:flex!important;align-items:center!important;gap:11px!important;padding:12px 10px!important;min-height:47px!important;background:#fff!important;color:#243143!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;transition:border-color .12s,box-shadow .12s,background .12s!important}
.lp55-tools>button:hover{border-color:#d5dce6!important;background:#fbfcfd!important;box-shadow:0 3px 9px rgba(15,23,42,.07)!important;outline:0!important}
.lp55-tools>button:focus-visible,.lp530-toolbar button:focus-visible{outline:3px solid #7e9cc9!important;outline-offset:2px!important}
.lp55-tools>button span{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 28px!important;width:28px!important;height:28px!important;border-radius:8px!important;background:#f2f4f7!important;color:#28374d!important}
.lp530-icon{display:block!important;flex:0 0 auto!important;width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;stroke:currentColor!important}
.lp55-tools>button span .lp530-icon{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important}
.lp55-tools>button[data-tool=ai] span{background:#fff0f3!important;color:#d00034!important}
.lp530-toolbar{display:block!important;width:100%!important;margin-bottom:10px!important;background:#fff!important;border:1px solid var(--lp530-line)!important;border-radius:12px!important;padding:6px!important;box-sizing:border-box!important;overflow-x:auto!important;scrollbar-width:thin}
.lp530-toolbar .lp530-action-row{display:flex!important;flex-flow:row nowrap!important;justify-content:space-between!important;align-items:center!important;gap:5px!important;min-width:max-content!important;width:100%!important}
.lp530-toolbar .lp530-action-row>button{display:inline-flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;flex:1 0 auto!important;min-height:40px!important;border:1px solid transparent!important;border-radius:9px!important;padding:7px 9px!important;margin:0!important;background:#fff!important;box-sizing:border-box!important;color:#28374d!important;font-family:inherit!important;font-size:11.5px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;transition:background .12s,color .12s!important}
.lp530-toolbar .lp530-action-row>button:hover{background:#f1f3f6!important}
.lp530-toolbar .lp530-action-row>button.is-active{background:#192433!important;color:#fff!important}
.lp530-toolbar .lp530-action-row>#lp525-show-garment{background:#192433!important;color:#fff!important}
.lp530-toolbar .lp530-action-row>#lp525-show-garment:hover{background:#32445b!important}
.lp530-toolbar .lp530-action-row>.lp530-delete{color:#bc2446!important}
.lp530-toolbar .lp530-action-row>.lp530-delete:hover{background:#fff0f3!important}
.lp55-tools .lp530-image-help{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:9px 0 2px!important;padding:10px!important;border:1px solid #e6eaf0!important;border-radius:9px!important;background:#f7f9fb!important;color:#576579!important;font-family:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important;text-transform:none!important;letter-spacing:0!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;max-width:100%!important;box-sizing:border-box!important}
.lp530-image-help .lp530-icon{width:16px!important;height:16px!important;flex:0 0 16px!important;margin-top:2px!important;color:#7b8797!important}
.lp530-image-help span{display:block!important;min-width:0!important;overflow-wrap:break-word!important}
.lp55-tools .lp55-assets .lp55-asset{overflow:hidden!important;min-width:0!important;border:1px solid #e5e8ee!important;border-radius:9px!important;padding:6px!important;background:#fff!important;box-shadow:none!important}
.lp55-tools .lp55-assets .lp55-asset:hover{border-color:#b6c2d3!important;background:#f8fafc!important}
.lp55-tools .lp55-assets .lp55-asset span{font-family:inherit!important;font-size:10px!important;font-weight:600!important;line-height:1.3!important;color:#526070!important;letter-spacing:0!important;text-transform:none!important;max-width:100%!important;overflow:hidden!important;overflow-wrap:anywhere!important;word-break:break-word!important}
@media(max-width:750px){.lp530-toolbar .lp530-action-row{width:max-content!important}.lp530-toolbar .lp530-action-row>button{flex:0 0 auto!important}.lp55-tools>button{min-width:0!important}}


/* LABPro 0.5.31 — zoom optique du canvas, sans modifier les coordonnées sauvegardées. */
.lp531-zoom-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:5px 4px 11px;font-family:inherit}
.lp531-zoom-title{font-size:12px;font-weight:700;color:#4b596b}
.lp531-zoom-controls{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid #e1e5eb;border-radius:10px;padding:4px}
.lp531-zoom-controls button{appearance:none;border:0;background:#f3f5f8;color:#1a2838;min-width:35px;height:32px;padding:3px 10px;border-radius:7px;font-size:17px;font-weight:700;line-height:1;cursor:pointer}
.lp531-zoom-controls #lp531-zoom-reset{font-size:11px;min-width:auto}
.lp531-zoom-controls button:hover:not(:disabled){background:#e6eaf1}
.lp531-zoom-controls button:focus-visible{outline:2px solid #c90032;outline-offset:1px}
.lp531-zoom-controls button:disabled{opacity:.3;cursor:not-allowed}
#lp531-zoom-value{display:inline-block;min-width:52px;text-align:center;font-size:12px;font-weight:750;color:#1d2939;font-variant-numeric:tabular-nums}
.lp531-zoom-viewport{width:100%;max-height:min(75vh,790px);overflow:auto;background:#fff;border-radius:12px;scrollbar-width:thin;overscroll-behavior:contain;box-sizing:border-box}
.lp531-zoom-space{position:relative;margin:0 auto;min-width:0}
.lp531-zoom-space>.lp55-stage{position:absolute!important;top:0!important;left:0!important;overflow:hidden!important;max-width:none!important;min-width:0!important;flex-shrink:0!important}
@media(max-width:620px){.lp531-zoom-viewport{max-height:68vh}.lp531-zoom-title{font-size:11px}.lp531-zoom-controls button{min-width:30px}}
