
.boec-logo-studio{--p:#51107d;--p2:#8435c5;--ink:#27162f;--muted:#75687b;width:min(1500px,94%);margin:24px auto 60px;color:var(--ink)}
.boec-logo-studio *{box-sizing:border-box}.boec-logo-head{display:flex;justify-content:space-between;gap:30px;align-items:end;padding:20px 0 22px;border-bottom:2px dotted #d9c3e8}
.boec-kicker{display:inline-block;padding:6px 10px;border-radius:999px;background:#f2e7f8;color:var(--p);font-size:11px;font-weight:900;text-transform:uppercase}
.boec-logo-head h1{font-size:clamp(32px,4vw,54px)!important;line-height:1.05!important;margin:10px 0!important}.boec-logo-head p{max-width:850px;margin:0;color:var(--muted)}
.boec-head-badges{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.boec-head-badges span{border:1px solid #dfcde9;border-radius:9px;padding:7px 9px;font-size:10px;font-weight:800}
.boec-logo-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);gap:22px;margin-top:22px}.boec-preview-column,.boec-controls-column{min-width:0}
.boec-preview-toolbar,.boec-mode-switch{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:9px}.boec-preview-toolbar button,.boec-mode-switch button{border:1px solid #d9c9e3;background:#fff;border-radius:9px;padding:9px 11px;font-weight:800;color:#62536a;cursor:pointer}
.boec-preview-toolbar button.is-active,.boec-mode-switch button.is-active{background:var(--p);color:#fff;border-color:var(--p)}
.boec-preview{height:590px;border:2px solid #cba9df;border-radius:18px;background:linear-gradient(45deg,#fafafa 25%,transparent 25%),linear-gradient(-45deg,#fafafa 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#fafafa 75%),linear-gradient(-45deg,transparent 75%,#fafafa 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;display:grid;place-items:center;overflow:hidden}
.boec-empty-preview{display:grid;place-items:center;gap:9px;text-align:center;color:#77697d}.boec-patch-shape{display:grid;place-items:center;width:150px;height:150px;clip-path:polygon(50% 0,92% 15%,88% 70%,50% 100%,12% 70%,8% 15%);background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;font-size:54px;font-weight:900}
.boec-compatibility,.boec-control-card,.boec-embroidery-rules{margin-top:12px;border:1px solid #dfcde9;border-radius:15px;background:#fff;padding:16px}.boec-compatibility>div:first-child{display:flex;justify-content:space-between}.boec-scorebar{height:8px;background:#eee6f2;border-radius:999px;margin:9px 0;overflow:hidden}.boec-scorebar i{display:block;width:0;height:100%;background:var(--p2);transition:.25s}.boec-compatibility ul{margin:8px 0 12px;padding-left:18px;font-size:12px;color:var(--muted)}
.boec-control-card h2{font-size:20px!important;margin:0 0 12px!important}.boec-control-card label{display:block;font-size:11px;font-weight:800;margin:11px 0;color:#55465d}.boec-control-card input[type=text],.boec-control-card textarea,.boec-control-card select{width:100%;margin-top:5px;border:1px solid #d8c8e2;border-radius:9px;padding:10px;background:#fff;font:inherit}
.boec-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.boec-colors{border:0;padding:0;margin:12px 0}.boec-colors legend{font-size:11px;font-weight:800;margin-bottom:7px}.boec-colors button{width:29px;height:29px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cdbbd8;background:var(--c);margin:2px;cursor:pointer}.boec-colors button.is-active{box-shadow:0 0 0 3px var(--p2)}
.boec-upload{border:1px dashed #b99bca;border-radius:10px;padding:12px!important;background:#fcf9fd}.boec-upload input{display:block;margin:7px 0}.boec-upload span{font-weight:500;color:var(--muted)}.boec-upload-big{padding:18px!important}
.boec-embroidery-rules{display:flex;flex-wrap:wrap;gap:7px}.boec-embroidery-rules strong{width:100%}.boec-embroidery-rules span{padding:5px 7px;background:#f5eef9;border-radius:7px;font-size:10px;font-weight:700;color:#5f4d67}
.boec-primary,.boec-secondary{border:0;border-radius:10px;padding:12px 15px;font-weight:900;cursor:pointer}.boec-primary{width:100%;margin-top:12px;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff}.boec-secondary{background:#f2e8f8;color:var(--p)}.boec-credit-note{text-align:center;font-size:10px;color:var(--muted)}
.boec-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.boec-result-actions .boec-primary{width:auto;margin:0}.boec-how{margin-top:35px;border-top:2px dotted #d9c3e8;padding-top:25px}.boec-how>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.boec-how article{border:1px solid #dfcde9;border-radius:14px;padding:16px}.boec-how b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--p);color:#fff}.boec-how h3{margin:9px 0 3px!important;font-size:16px!important}.boec-how p{font-size:12px;color:var(--muted)}
@media(max-width:980px){.boec-logo-workspace{grid-template-columns:1fr}.boec-preview{height:480px}.boec-logo-head{display:block}.boec-head-badges{justify-content:flex-start;margin-top:12px}.boec-how>div{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.boec-logo-studio{width:calc(100% - 18px)}.boec-preview{height:360px}.boec-two,.boec-how>div{grid-template-columns:1fr}}

.boec-studio-status{min-height:20px;margin-top:9px;padding:0 2px;font-size:11px;color:#6c5f72}
.boec-studio-status.is-error{color:#a51f32}.boec-studio-status.is-success{color:#197144;font-weight:700}
.boec-mini-loader{display:inline-block;width:11px;height:11px;border:2px solid #d7c3e3;border-top-color:#6f23a8;border-radius:50%;animation:boecspin .7s linear infinite;vertical-align:-2px;margin-right:5px}
@keyframes boecspin{to{transform:rotate(360deg)}}
.boec-generated-wrap{width:100%;height:100%;display:grid;place-items:center;padding:28px}
.boec-generated-image{max-width:92%;max-height:92%;object-fit:contain;transition:filter .2s,transform .2s}
.boec-generated-image.is-embroidered{filter:contrast(1.08) saturate(1.06) drop-shadow(0 2px 2px rgba(0,0,0,.18));background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 1px,rgba(0,0,0,.10) 1px 2px);background-blend-mode:overlay}
.boec-generated-image.is-production{filter:saturate(.88) contrast(1.18)}
.boec-improve-box{flex-basis:100%;width:100%;padding:10px;border:1px solid #d9c7e4;border-radius:10px;background:#fff}
.boec-improve-box textarea{width:100%;border:1px solid #d8c8e2;border-radius:8px;padding:9px}
.boec-improve-box .boec-primary{width:auto;margin-top:7px}

/* V1.4.0 — choix brodé/imprimé + palette POLY 60 + simulation IA */
.boec-target-choice{margin:22px 0;border:2px solid #d8c3e6;border-radius:18px;padding:20px;background:#fff}
.boec-target-title h2{margin:8px 0 5px!important;font-size:25px!important}
.boec-target-title p{margin:0;color:#75687b}
.boec-target-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}
.boec-target-card{position:relative;text-align:left;border:2px solid #e2d4eb;border-radius:15px;background:#fff;padding:18px;cursor:pointer;transition:.15s}
.boec-target-card:hover{border-color:#9c63c2;transform:translateY(-1px)}
.boec-target-card.is-active{border-color:#681b9f;box-shadow:0 0 0 3px rgba(104,27,159,.08);background:#fcf9fe}
.boec-target-icon{font-size:29px;display:block;margin-bottom:7px}
.boec-target-card strong{display:block;font-size:19px;color:#2c1835}.boec-target-card small{display:block;color:#75687b;margin:5px 0 9px;line-height:1.45}
.boec-target-card ul{margin:0;padding-left:17px;color:#5c4d64;font-size:11px;line-height:1.65}
.boec-target-help{margin-top:12px;padding:10px 12px;border-radius:9px;background:#f7f1fa;color:#5d4b65;font-size:11px}
.boec-poly60-block{display:block!important;margin-top:14px!important}
.boec-poly-help{font-size:10px;color:#75687b;margin:4px 0 9px}
.boec-poly-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px}
.boec-poly-swatch{display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid #dccce5;border-radius:8px;padding:5px;background:#fff;cursor:pointer}
.boec-poly-swatch i{display:block;width:27px;height:27px;border-radius:50%;background:var(--c);border:1px solid rgba(0,0,0,.12)}
.boec-poly-swatch span{font-size:8px;font-weight:800;color:#5e4d65}
.boec-poly-swatch.is-active{outline:3px solid #6c20a1;outline-offset:1px}
.boec-poly-swatch:disabled{opacity:.42;cursor:not-allowed}.boec-poly-swatch.is-active:disabled{opacity:1}
#boec-color-count{float:right;color:#6b1ca1}
.boec-thread-production{margin:10px 0;padding:10px;border:1px solid #dfd0e8;border-radius:9px;background:#fcf9fd}
#boec-thread-production-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
#boec-thread-production-list span{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #e3d8e9;border-radius:7px;background:#fff;font-size:9px;font-weight:800}
#boec-thread-production-list i{width:13px;height:13px;border-radius:50%;background:var(--c);border:1px solid rgba(0,0,0,.15)}
.boec-real-simulation{background:#ece8e3!important}
.boec-real-simulation img{max-width:96%!important;max-height:96%!important}
@media(max-width:760px){.boec-target-grid{grid-template-columns:1fr}}

/* V1.5.0 — Mes créations unifié */
.boec-my-creations{width:100%;padding:8px 0 28px}
.boec-my-creations-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px}
.boec-my-creations-head h2{margin:4px 0!important;font-size:27px!important}.boec-my-creations-head p{margin:0;max-width:720px;color:#74677b}
.boec-creation-filters{display:flex;gap:6px;flex-wrap:wrap}
.boec-creation-filters button{border:1px solid #d9c8e3;background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;color:#5c4568;cursor:pointer}
.boec-creation-filters button.is-active{background:#681b9f;color:#fff;border-color:#681b9f}
.boec-creations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}
.boec-creation-card{border:1px solid #dac9e4;border-radius:14px;overflow:hidden;background:#fff}
.boec-creation-thumb{aspect-ratio:1.35/1;background:#f7f4f8;display:grid;place-items:center;padding:12px}
.boec-creation-thumb img{width:100%;height:100%;object-fit:contain}
.boec-creation-body{padding:12px}.boec-creation-body>strong{display:block;min-height:36px;font-size:12px;color:#35243d}.boec-creation-body>small{display:block;margin-top:4px;color:#8b7e91}
.boec-creation-badges,.boec-card-threads{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}
.boec-creation-badges span,.boec-card-threads span{font-size:8px;font-weight:900;border-radius:999px;padding:4px 7px;background:#f0e7f5;color:#672194}
.boec-card-threads{margin-top:8px}.boec-card-threads span{background:#f5f3f6;color:#5d5262}
.boec-creation-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:11px}
.boec-btn-small{border:0;border-radius:8px;padding:7px 9px;background:#681b9f;color:#fff!important;font-size:9px;font-weight:900;text-decoration:none!important;cursor:pointer}
.boec-btn-small.is-light{background:#f2ebf6;color:#62218e!important}.boec-btn-small.is-danger{background:#fff0f1;color:#a02636!important}
.boec-configurator-creations-slot:empty{display:none}.boec-empty-ai{padding:18px;border:1px dashed #d8c8e1;border-radius:12px;color:#7d7083}
@media(max-width:760px){.boec-my-creations-head{display:block}.boec-creation-filters{margin-top:12px}}

/* V1.6.0 — forme obligatoire et transfert configurateur */
.boec-shape-choice{margin-top:15px;padding:14px;border:1px solid #e0d2e8;border-radius:12px;background:#fcfafd}
.boec-shape-choice>strong{display:block;margin-bottom:9px;color:#392541}.boec-shape-choice em{font-style:normal;color:#8b239b;font-size:9px;text-transform:uppercase}
.boec-shape-choice>p{font-size:10px;color:#7b6d82;margin:8px 0 0}
.boec-shape-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}
.boec-shape-grid button{border:1px solid #ddcfe5;background:#fff;border-radius:9px;padding:7px 4px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;font-size:8px;font-weight:800;color:#5c4c64}
.boec-shape-grid button.is-active{border-color:#681b9f;box-shadow:0 0 0 2px rgba(104,27,159,.1);color:#681b9f}
.boec-shape-grid i{display:grid;place-items:center;width:28px;height:28px;border:2px solid currentColor;font-style:normal}
.s-round{border-radius:50%}.s-oval{border-radius:50%;width:35px!important}.s-square{border-radius:1px}.s-rounded{border-radius:7px}.s-rect{width:38px!important}.s-rect-round{width:38px!important;border-radius:7px}.s-shield,.s-free{border:0!important;font-size:25px}
@media(max-width:900px){.boec-shape-grid{grid-template-columns:repeat(4,1fr)}}

/* V1.7.0 — animation préparation + solde crédits */
.boec-head-side{display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.boec-credit-balance,.boec-account-credit{min-width:180px;padding:9px 12px;border:1px solid #dbcbe5;border-radius:11px;background:#fff}
.boec-credit-balance small,.boec-account-credit small{display:block;color:#776b7e;font-size:9px}.boec-credit-balance strong,.boec-account-credit strong{display:block;color:#5b168d;font-size:17px;line-height:1.1;margin:2px 0}.boec-credit-balance a,.boec-account-credit a{font-size:9px;font-weight:800;color:#6a1c9b;text-decoration:none}
.boec-credit-balance.is-guest strong{font-size:11px}.boec-account-side{display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.boec-processing{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;background:radial-gradient(circle at center,#fff 0,#fbf8fd 65%,#f6eef9 100%)}
.boec-process-orbit{position:relative;width:105px;height:105px;border-radius:50%;margin-bottom:5px}
.boec-process-orbit i{position:absolute;inset:0;border:2px solid transparent;border-top-color:#681b9f;border-radius:50%;animation:boec-orbit 1.5s linear infinite}
.boec-process-orbit i:nth-child(2){inset:10px;border-top-color:#a254cf;animation-duration:1.05s;animation-direction:reverse}
.boec-process-orbit i:nth-child(3){inset:21px;border-top-color:#d1aee5;animation-duration:.8s}
.boec-process-orbit b{position:absolute;inset:0;display:grid;place-items:center;font-size:31px;color:#681b9f;animation:boec-pulse 1.1s ease-in-out infinite}
.boec-processing strong{font-size:16px;color:#33213c}.boec-processing span{font-size:10px;color:#786b7e}
.boec-process-track{width:min(330px,75%);height:7px;border-radius:999px;background:#eadff0;overflow:hidden;margin-top:5px}
.boec-process-track em{display:block;width:12%;height:100%;background:linear-gradient(90deg,#51107d,#a64ad2);border-radius:999px;transition:width .45s ease}
@keyframes boec-orbit{to{transform:rotate(360deg)}}@keyframes boec-pulse{50%{transform:scale(1.15);opacity:.65}}
#boec-simulation-tab:disabled{opacity:.55;cursor:wait}
@media(max-width:760px){.boec-head-side,.boec-account-side{align-items:flex-start;margin-top:10px}}

/* V1.8.0 */
.boec-preview,.boec-generated-wrap{box-sizing:border-box}
.boec-generated-wrap{padding:14px!important;overflow:hidden}
.boec-generated-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}
.boec-style-field select{width:100%}.boec-style-explain{margin-top:8px;padding:10px 12px;border:1px solid #e1d3e9;border-radius:10px;background:#fbf8fd;color:#62536a;font-size:11px;line-height:1.5}.boec-shape-reminder{font-size:10px;color:#786b7e;margin:7px 0 0}
.boec-one-call-note{padding:10px 12px;border-radius:10px;background:#f7f0fb;color:#5d4569;font-size:10px}
.boec-result-actions-prominent{position:sticky;bottom:10px;z-index:15;background:#fff;border:2px solid #cba9df;border-radius:15px;padding:11px 12px;box-shadow:0 10px 30px rgba(55,20,75,.12);align-items:center}
.boec-result-action-title{display:flex;flex-direction:column;min-width:155px;margin-right:4px}.boec-result-action-title strong{color:#351743}.boec-result-action-title span{font-size:10px;color:#75667d}
.boec-quote-btn{background:linear-gradient(135deg,#4e0d79,#8c2bc0)!important}
.boec-improve-box{flex-basis:100%;width:100%}

.boec-thread-roles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.boec-thread-roles label{font-size:11px;font-weight:800;color:#493650}
.boec-thread-roles select{width:100%;margin-top:5px;border:1px solid #d9c9e3;border-radius:9px;padding:9px;background:#fff}
@media(max-width:700px){.boec-thread-roles{grid-template-columns:1fr}}

/* V1.10.0 */
.boec-mandatory-palette{margin-top:14px}.boec-mandatory-palette .boec-colors{margin:0!important}.boec-step-help{margin:4px 0 10px;color:#75687b;font-size:11px}.boec-poly-grid{grid-template-columns:repeat(auto-fill,minmax(38px,1fr))!important}.boec-poly-swatch{min-width:36px!important;min-height:36px!important;padding:3px!important;border-radius:50%!important;display:grid!important;place-items:center!important}.boec-poly-swatch i{width:28px!important;height:28px!important;margin:0!important}.boec-poly-swatch span{display:none!important}.boec-thread-role-swatches{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.boec-thread-role-swatches>div{border:1px solid #e2d6e9;border-radius:10px;padding:10px;background:#fff}.boec-thread-role-swatches strong{display:block;margin-bottom:7px;font-size:11px}.boec-role-picks{display:flex;flex-wrap:wrap;gap:7px;min-height:32px;align-items:center}.boec-role-swatch{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cdbbd8;background:var(--c);cursor:pointer}.boec-role-swatch.is-active{box-shadow:0 0 0 3px #681b9f}.boec-role-empty{font-size:9px;color:#8b7d91}.boec-preview{height:min(62vh,620px)!important;min-height:420px!important;padding:14px!important;overflow:hidden!important}.boec-generated-wrap{width:100%!important;height:100%!important;padding:16px!important;display:grid!important;place-items:center!important}.boec-generated-image{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}.boec-result-actions-prominent{position:static!important;bottom:auto!important;margin:12px 0 18px!important}.boec-patch-composite{width:100%;height:100%;display:grid;place-items:center;padding:18px}.boec-patch-outer{position:relative;width:min(88%,560px);height:min(88%,560px);background:var(--patch-border);display:grid;place-items:center;filter:drop-shadow(0 7px 13px rgba(0,0,0,.12))}.boec-patch-inner{position:absolute;inset:4%;background:var(--patch-bg);display:grid;place-items:center;overflow:hidden}.boec-patch-inner img{max-width:82%!important;max-height:82%!important}.shape-rond .boec-patch-outer,.shape-rond .boec-patch-inner{border-radius:50%}.shape-ovale .boec-patch-outer,.shape-ovale .boec-patch-inner{border-radius:50%;width:min(92%,610px);height:min(72%,420px)}.shape-carre-arrondi .boec-patch-outer,.shape-carre-arrondi .boec-patch-inner{border-radius:14%}.shape-rectangle .boec-patch-outer,.shape-rectangle .boec-patch-inner{width:min(92%,650px);height:min(64%,360px)}.shape-rectangle-arrondi .boec-patch-outer,.shape-rectangle-arrondi .boec-patch-inner{width:min(92%,650px);height:min(64%,360px);border-radius:14%}.shape-blason .boec-patch-outer,.shape-blason .boec-patch-inner{clip-path:polygon(3% 2%,97% 2%,97% 38%,95% 52%,89% 66%,76% 81%,61% 92%,50% 99%,39% 92%,24% 81%,11% 66%,5% 52%,3% 38%)}.shape-libre .boec-patch-outer,.shape-libre .boec-patch-inner{clip-path:polygon(18% 6%,50% 0,82% 6%,97% 25%,100% 56%,84% 84%,50% 100%,16% 84%,0 56%,3% 25%)}.is-product-sheet{width:min(1380px,96%)!important}.is-product-sheet .boec-logo-head h1{font-size:clamp(28px,3vw,42px)!important}.is-product-sheet .boec-logo-head{padding-top:8px}@media(max-width:760px){.boec-thread-role-swatches{grid-template-columns:1fr}.boec-preview{height:480px!important;min-height:360px!important}}

/* V1.10.1 — correction ouverture mode brodé */
.boec-mandatory-status{margin:14px 0 8px;padding:10px 13px;border:1px solid #d9c9e3;border-radius:10px;background:#fbf8fd;display:flex;gap:10px;align-items:center;justify-content:space-between}
.boec-mandatory-status strong{color:#51107d}.boec-mandatory-status span{font-size:11px;color:#6d6074}
#boec-generate.is-locked{opacity:.48;cursor:not-allowed;filter:grayscale(.12)}
@media(max-width:700px){.boec-mandatory-status{display:block}.boec-mandatory-status span{display:block;margin-top:4px}}

/* V1.11.0 */
.boec-start-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.boec-start-card{display:flex;gap:11px;align-items:center;text-align:left;border:1px solid #d9c8e3;background:#fff;border-radius:12px;padding:13px 15px;cursor:pointer}
.boec-start-card>span{font-size:25px}.boec-start-card strong{display:block;color:#382241}.boec-start-card small{display:block;color:#796c80;margin-top:2px}.boec-start-card.is-active{border-color:#681b9f;box-shadow:0 0 0 2px rgba(104,27,159,.08);background:#fcf9fe}
.boec-existing-picker{margin:0 0 14px;border:1px solid #decfe7;border-radius:13px;padding:12px;background:#fbf8fd}.boec-existing-picker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.boec-existing-picker-head button{border:0;background:#eee3f4;color:#5d1b85;width:28px;height:28px;border-radius:50%;cursor:pointer}
.boec-existing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:8px;max-height:350px;overflow:auto}.boec-existing-item{display:block;border:1px solid #e0d5e7;border-radius:9px;padding:6px;background:#fff;text-decoration:none!important;color:#4e3d55!important}.boec-existing-item img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f5f8;border-radius:6px}.boec-existing-item span{display:block;font-size:9px;font-weight:800;margin-top:5px}
.boec-full-artwork{width:100%;height:100%;display:grid;place-items:center;padding:24px;overflow:hidden}.boec-full-artwork img{display:block!important;width:auto!important;height:auto!important;max-width:94%!important;max-height:94%!important;object-fit:contain!important;object-position:center!important}
.boec-ai-product-page{width:min(1500px,96%);margin:15px auto 60px}.boec-product-hero{text-align:center;padding:18px 12px 12px;border-bottom:2px dotted #d7c1e5}.boec-product-hero h1{font-size:clamp(32px,4vw,54px)!important;margin:8px 0!important;color:#2d1935}.boec-product-hero p{max-width:850px;margin:0 auto;color:#75677c}
.boec-credit-shop{display:grid;grid-template-columns:1fr minmax(330px,.7fr);gap:22px;margin:28px auto;padding:20px;border:1px solid #d9c8e3;border-radius:15px;background:#fff}.boec-credit-shop-form{border-left:1px solid #e5d9eb;padding-left:20px}.boec-product-seo{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.boec-product-seo article{border:1px solid #dfd1e8;border-radius:13px;padding:15px}.boec-product-seo strong{color:#4e196f}.boec-product-seo p{font-size:11px;color:#74677b;margin:5px 0 0}
@media(max-width:800px){.boec-start-choice,.boec-credit-shop,.boec-product-seo{grid-template-columns:1fr}.boec-credit-shop-form{border-left:0;border-top:1px solid #e5d9eb;padding-left:0;padding-top:14px}}

/* V1.11.2 — affichage intégral strict des créations existantes et générées */
#boec-logo-preview.boec-preview{
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#boec-logo-preview .boec-full-artwork{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  padding:18px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
#boec-logo-preview .boec-full-artwork > img.boec-generated-image{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  translate:none!important;
  scale:none!important;
}
#boec-logo-preview .boec-generated-wrap,
#boec-logo-preview .boec-production-view{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
#boec-logo-preview .boec-generated-wrap > img,
#boec-logo-preview .boec-production-view > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* V1.12.0: always show the complete visual */
.boec-logo-preview img,.bonvis-preview img,.boec-preview-stage img{object-fit:contain!important;max-width:100%!important;max-height:100%!important;width:100%!important;height:100%!important;}

/* V1.12.2 — trois vues cohérentes et jamais rognées */
#boec-logo-preview .boec-generated-wrap,
#boec-logo-preview .boec-real-simulation,
#boec-logo-preview .boec-production-view{
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  padding:18px!important;box-sizing:border-box!important;display:flex!important;
  align-items:center!important;justify-content:center!important;overflow:hidden!important;
}
#boec-logo-preview .boec-generated-wrap > img,
#boec-logo-preview .boec-real-simulation > img,
#boec-logo-preview .boec-production-view > img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  object-position:center center!important;margin:0!important;transform:none!important;
}
#boec-logo-preview .boec-patch-composite{padding:28px!important;box-sizing:border-box!important;}

/* V1.12.4 — aperçu Logo stable, à plat et non déformé */
#boec-logo-preview .boec-flat-logo-preview{
  width:100%!important;height:100%!important;display:flex!important;
  align-items:center!important;justify-content:center!important;overflow:hidden!important;
  padding:24px!important;box-sizing:border-box!important;
}
#boec-logo-preview .boec-flat-patch{
  position:relative!important;
  width:min(76%,560px)!important;
  aspect-ratio:var(--patch-ratio) / 1!important;
  max-height:90%!important;
  background:var(--patch-border)!important;
  display:grid!important;place-items:center!important;
  box-sizing:border-box!important;
  filter:drop-shadow(0 5px 10px rgba(31,8,47,.10));
  overflow:hidden!important;
}
#boec-logo-preview .boec-flat-patch-inner{
  position:absolute!important;inset:5%!important;background:var(--patch-bg)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
#boec-logo-preview .boec-flat-patch-inner img{
  display:block!important;width:82%!important;height:82%!important;
  max-width:82%!important;max-height:82%!important;object-fit:contain!important;
  object-position:center!important;transform:none!important;margin:0!important;
}
#boec-logo-preview .shape-rond,#boec-logo-preview .shape-rond .boec-flat-patch-inner{border-radius:50%!important;}
#boec-logo-preview .shape-ovale,#boec-logo-preview .shape-ovale .boec-flat-patch-inner{border-radius:50%!important;}
#boec-logo-preview .shape-carre{border-radius:0!important} #boec-logo-preview .shape-carre .boec-flat-patch-inner{border-radius:0!important}
#boec-logo-preview .shape-carre-arrondi,#boec-logo-preview .shape-carre-arrondi .boec-flat-patch-inner{border-radius:14%!important;}
#boec-logo-preview .shape-rectangle{border-radius:0!important} #boec-logo-preview .shape-rectangle .boec-flat-patch-inner{border-radius:0!important}
#boec-logo-preview .shape-rectangle-arrondi,#boec-logo-preview .shape-rectangle-arrondi .boec-flat-patch-inner{border-radius:12%!important;}
#boec-logo-preview .shape-blason,#boec-logo-preview .shape-blason .boec-flat-patch-inner{
  clip-path:polygon(3% 2%,97% 2%,97% 38%,95% 52%,89% 66%,76% 81%,61% 92%,50% 99%,39% 92%,24% 81%,11% 66%,5% 52%,3% 38%)!important;
}
#boec-logo-preview .shape-libre,#boec-logo-preview .shape-libre .boec-flat-patch-inner{
  clip-path:polygon(18% 6%,50% 0,82% 6%,97% 25%,100% 56%,84% 84%,50% 100%,16% 84%,0 56%,3% 25%)!important;
}

/* V1.12.5 — mode dédié Modification d’une création existante */
.boec-existing-edit-panel{
  border:1px solid #dccce6;border-radius:15px;background:#fff;padding:20px;
  box-shadow:0 8px 24px rgba(67,22,91,.05);
}
.boec-edit-existing-kicker{display:inline-block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#641a91;background:#f3e8f9;border-radius:999px;padding:6px 10px;margin-bottom:10px}
.boec-existing-edit-panel h2{margin:0 0 7px!important;font-size:24px!important;color:#311737}
.boec-existing-edit-panel>p{margin:0 0 14px;color:#75677c;font-size:12px}
.boec-existing-edit-panel textarea{width:100%;min-height:170px;resize:vertical;border:1px solid #d9c7e3;border-radius:11px;padding:13px;box-sizing:border-box;font:inherit;background:#fff}
.boec-edit-existing-submit{width:100%;margin-top:12px!important;padding:13px!important}
.boec-existing-edit-actions{display:grid;grid-template-columns:1.2fr 1.25fr .8fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #eee4f3}
.boec-existing-edit-actions button{min-height:44px}
.boec-edit-existing-note{font-size:10px!important;color:#8b7e90!important;text-align:center;margin:10px 0 0!important}
body.boec-existing-edit-mode .boec-logo-workspace{align-items:start}
body.boec-existing-edit-mode .boec-controls-column{position:sticky;top:20px}
body.boec-existing-edit-mode .boec-result-actions-prominent{display:none!important}

/* Blocage volontaire de l’interface pendant une modification IA */
.boec-generation-lock[hidden]{display:none!important}
.boec-generation-lock{
  position:fixed!important;z-index:2147483646!important;inset:0!important;
  background:rgba(27,10,34,.78)!important;backdrop-filter:blur(5px);
  display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;
  cursor:wait;
}
.boec-generation-lock-card{
  width:min(520px,92vw);background:#fff;border:2px solid #7b23aa;border-radius:20px;
  padding:28px;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.3);
}
.boec-generation-lock-card strong{display:block;font-size:22px;color:#32143f;margin:12px 0 5px}
.boec-generation-lock-card span{display:block;color:#725f79;min-height:24px}
.boec-generation-lock-card small{display:block;margin-top:15px;color:#856f8d;line-height:1.5}
.boec-generation-orbit{width:74px;height:74px;margin:0 auto;position:relative;border:2px solid #eadcf1;border-radius:50%;animation:boecEditSpin 2.2s linear infinite}
.boec-generation-orbit b{position:absolute;inset:0;display:grid;place-items:center;font-size:28px;color:#7823aa}
.boec-generation-orbit i{position:absolute;width:12px;height:12px;border-radius:50%;background:#7b23aa}
.boec-generation-orbit i:nth-child(1){top:-6px;left:30px}.boec-generation-orbit i:nth-child(2){right:1px;bottom:8px}.boec-generation-orbit i:nth-child(3){left:2px;bottom:8px}
.boec-generation-lock-track{height:8px;border-radius:999px;background:#eee5f2;overflow:hidden;margin-top:18px}
.boec-generation-lock-track em{display:block;height:100%;width:10%;background:linear-gradient(90deg,#4b0b72,#9637d0);border-radius:inherit;transition:width .45s ease}
body.boec-generation-locked{overflow:hidden!important}
@keyframes boecEditSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){
  .boec-existing-edit-actions{grid-template-columns:1fr}
  body.boec-existing-edit-mode .boec-controls-column{position:static}
}

/* V1.12.6 — interface de modification inspirée du visuel attendu */
.boec-existing-edit-panel{padding:22px!important;border-radius:18px!important}
.boec-edit-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.boec-edit-title-row h2{font-size:29px!important;margin:5px 0 4px!important}
.boec-edit-title-row p{font-size:12px;color:#796b80;margin:0}
.boec-edit-credit-mini{white-space:nowrap;background:#f7effb;border:1px solid #e2d3eb;border-radius:999px;padding:8px 12px;font-size:11px;color:#6f5b78}
.boec-edit-credit-mini strong{color:#5b1883;font-size:15px}
.boec-edit-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.boec-edit-quick-actions button{border:1px solid #ddcde6;background:#fff;border-radius:999px;padding:9px 13px;font-weight:800;color:#44254d;cursor:pointer}
.boec-edit-quick-actions button:hover,.boec-edit-quick-actions button.is-active{border-color:#7724a9;background:#f5ebfa;color:#5f178a}
.boec-edit-context-card{margin-top:14px;padding:15px;border:1px solid #e1d4e8;border-radius:14px;background:#fbf8fd}
.boec-edit-context-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:12px}
.boec-edit-context-head strong{color:#35163e}.boec-edit-context-head span{font-size:10px;color:#85748c}
.boec-edit-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.boec-edit-context-grid label{font-size:10px;font-weight:900;color:#5b4762}
.boec-edit-context-grid select{display:block;width:100%;margin-top:6px;border:1px solid #d8c8e1;border-radius:10px;background:#fff;padding:10px}
.boec-edit-color-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:14px 0 8px}
.boec-edit-color-title small{font-size:9px;color:#89798f}
.boec-edit-palette{display:flex;flex-wrap:wrap;gap:7px;padding:9px;border-radius:11px;background:#fff;border:1px solid #eadff0}
.boec-edit-color-swatch,.boec-edit-role-swatch{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cdbbd8;background:var(--c);cursor:pointer}
.boec-edit-color-swatch.is-active,.boec-edit-role-swatch.is-active{box-shadow:0 0 0 3px #6f1b9d}
.boec-edit-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.boec-edit-role-grid>div{background:#fff;border:1px solid #eadff0;border-radius:11px;padding:10px}
.boec-edit-role-grid strong{display:block;font-size:10px;margin-bottom:7px}
.boec-edit-role-picks{display:flex;flex-wrap:wrap;gap:7px;align-items:center;min-height:31px}
.boec-existing-edit-actions{grid-template-columns:.85fr 1.25fr .85fr!important}
.boec-existing-edit-actions #boec-existing-use{order:2}.boec-existing-edit-actions #boec-existing-download{order:1}.boec-existing-edit-actions #boec-existing-quote{order:3}
@media(max-width:760px){
 .boec-edit-title-row,.boec-edit-context-head{display:block}.boec-edit-credit-mini{display:inline-block;margin-top:8px}
 .boec-edit-context-grid,.boec-edit-role-grid{grid-template-columns:1fr}
}

/* V1.12.7 — pastilles de modification visibles et sélectionnables */
.boec-edit-palette:empty::before{content:"Palette indisponible";font-size:10px;color:#8a7b90}
.boec-edit-palette .boec-edit-color-swatch,
.boec-edit-role-picks .boec-edit-role-swatch{
  flex:0 0 30px!important;display:inline-block!important;visibility:visible!important;opacity:1!important;
}
.boec-edit-role-picks .boec-role-empty{font-size:10px;color:#8b7d91}
