.pvqd-project{--pvqd-border:#d7e2d6;--pvqd-green:#298d35;color:#243328;max-width:100%;margin:2rem 0}.pvqd-project *{box-sizing:border-box}.pvqd-project [hidden]{display:none!important}.pvqd-project h3,.pvqd-project h4{margin:0 0 .75rem}.pvqd-project p{margin:0 0 .8rem}.pvqd-assets,.pvqd-reference,.pvqd-project-recap,.pvqd-bat{border:1px solid var(--pvqd-border);border-radius:8px;padding:1.25rem;margin:1rem 0;background:#fff}.pvqd-assets{background:#f7faf6}.pvqd-files{display:none!important}.pvqd-file-info{display:flex;gap:1rem;flex-wrap:wrap}.pvqd-file-state{font-size:.85rem;min-width:0;overflow-wrap:anywhere;border:1px solid var(--pvqd-border);border-radius:4px;padding:.5rem .7rem}.pvqd-file-state.has-error,.pvqd-review-needed{color:#914400}.pvqd-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.2rem;align-items:start}.pvqd-editors{min-width:0}.pvqd-empty{padding:1rem;background:#f7faf6;border:1px dashed #aabca9;border-radius:6px}.pvqd-element{border:1px solid var(--pvqd-border);border-radius:6px;padding:1rem;margin:0 0 1rem;min-width:0}.pvqd-element legend{font-weight:700;padding:0 .4rem}.pvqd-field{display:block;margin:0 0 .85rem;font-weight:400}.pvqd-field>span{display:block;font-weight:600;margin-bottom:.3rem}.pvqd-field input,.pvqd-field select,.pvqd-field textarea{width:100%;margin:0;min-height:44px;border:1px solid #aabca9;border-radius:4px;box-shadow:none;background:#fff;color:#203424;font:inherit;padding:.6rem}.pvqd-field textarea{min-height:90px;resize:vertical}.pvqd-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.pvqd-details{border-top:1px solid #e2e9e1;margin:.7rem 0;padding:.5rem 0}.pvqd-details summary{color:#217630;text-decoration:underline;cursor:pointer;font-size:.9rem;min-height:36px;padding:.35rem 0}.pvqd-dimensions{padding:.7rem;background:#f7faf6;border-radius:5px;margin-bottom:.8rem}.pvqd-preview{position:sticky;top:120px;border-radius:6px;background:#f7f9f6;padding:1rem;min-width:0}.pvqd-help,.pvqd-variant{font-size:.88rem;color:#526055}.pvqd-frame{position:relative;width:100%;overflow:hidden;background:#fff;border:1px solid #e0e5de;isolation:isolate}.pvqd-garment{display:block;width:100%;height:auto;max-height:none}.pvqd-generic-note,.pvqd-copy-note{border-left:4px solid #c58a13;background:#fff7e4;padding:.65rem .8rem;font-size:.88rem}.pvqd-copy-note{margin:.7rem 0}.pvqd-mark{position:absolute;transform:translate(-50%,-50%);min-width:30px;max-width:65%;min-height:30px;width:auto;margin:0;padding:2px;border:1px dashed #526055;border-radius:2px;background:rgba(255,255,255,.2);color:#111;font-size:clamp(9px,1.4vw,18px);line-height:1.05;white-space:pre-wrap;overflow-wrap:anywhere;text-transform:none;letter-spacing:0;touch-action:none;cursor:move;z-index:2}.pvqd-mark.is-active{outline:2px solid #278334}.pvqd-mark img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;pointer-events:none}.pvqd-mark:focus-visible{outline:3px solid #135bba;outline-offset:3px}.pvqd-actions,.pvqd-dialog-choices{display:flex;flex-wrap:wrap;gap:.6rem;margin:.8rem 0}.pvqd-dialog-choices{flex-direction:column}.pvqd-project .button{margin:0;white-space:normal;font-size:.9rem;line-height:1.3;min-height:44px;padding:.75rem 1rem;border-radius:4px;text-transform:none;letter-spacing:0}.pvqd-project button:disabled{opacity:.5;cursor:not-allowed}.pvqd-link{background:none;border:0;color:#217630;text-decoration:underline;margin:0 .7rem .4rem 0;padding:.45rem .1rem;min-height:44px;line-height:1.3;font-size:.88rem;text-transform:none;letter-spacing:0;white-space:normal}.pvqd-remove{color:#9a302a}.pvqd-choice{display:flex;align-items:flex-start;gap:.6rem;font-weight:400;line-height:1.5;margin:.85rem 0;cursor:pointer}.pvqd-choice input{flex:0 0 auto;width:20px;height:20px;margin:.15rem 0 0}.pvqd-reviewed{color:#24692b}.pvqd-errors{border-left:4px solid #b52e20;background:#fff2f0;padding:1rem;margin:1rem 0;color:#81241b}.pvqd-errors:focus{outline:2px solid #b52e20;outline-offset:2px}.pvqd-errors ul{margin:0 0 0 1.4rem}.pvqd-status:empty{display:none}.pvqd-status:not(:empty){padding:.7rem;background:#edf5eb}.pvqd-project-recap p{white-space:pre-line;overflow-wrap:anywhere}.pvqd-recap-ref{padding:.8rem 0;border-bottom:1px solid var(--pvqd-border)}.pvqd-recap-ref:last-child{border:0}.pvqd-bat{background:#edf5eb;border-left:5px solid var(--pvqd-green)}.pvqd-dialog-backdrop{position:fixed;inset:0;background:rgba(15,28,18,.6);z-index:99999;display:flex;align-items:center;justify-content:center;padding:1rem}.pvqd-dialog{width:600px;max-width:100%;max-height:85vh;overflow:auto;background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 12px 50px #0005}.pvqd-replace{border:1px solid #e2be7a;background:#fff9ed;padding:.8rem}.pvqd-view-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.pvqd-view-buttons [aria-pressed=true]{font-weight:700;text-decoration:none;background:#e7f2e5}
@media(max-width:760px){.pvqd-layout{grid-template-columns:minmax(0,1fr)}.pvqd-preview{position:static;grid-row:1}.pvqd-assets,.pvqd-reference,.pvqd-project-recap{padding:.9rem}.pvqd-files{grid-template-columns:minmax(0,1fr)}.pvqd-fields-row{grid-template-columns:minmax(0,1fr)}.pvqd-actions{flex-direction:column}.pvqd-actions .button{width:100%}.pvqd-mark{font-size:15px}.pvqd-dialog{padding:1rem}.pvqd-field input,.pvqd-field select,.pvqd-field textarea{font-size:16px}}
@media(prefers-reduced-motion:reduce){.pvqd-project *{scroll-behavior:auto!important;transition:none!important}}
.pvqd-payload textarea{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}.pvqd-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem}.pvqd-contact>*{min-width:0}.pvqd-contact input,.pvqd-contact textarea,.pvqd-contact select{max-width:100%}
@media(max-width:760px){.pvqd-contact{grid-template-columns:minmax(0,1fr)}}
.pvqd-mark{max-width:70%;font-size:12px;line-height:1;white-space:pre;overflow:visible}.pvqd-mark.is-sized{min-width:0;min-height:0;padding:1px}.pvqd-mark-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;white-space:pre;line-height:1}.pvqd-resize{position:absolute;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:#278334;box-shadow:0 0 0 1px #185d20,0 2px 5px #0004;touch-action:none;z-index:4}.pvqd-resize-width{right:-10px;top:50%;transform:translateY(-50%);cursor:ew-resize}.pvqd-resize-height{left:50%;bottom:-10px;transform:translateX(-50%);cursor:ns-resize}.pvqd-resize-both{right:-10px;bottom:-10px;cursor:nwse-resize;background:#1f6f2a}.pvqd-mark:not(.is-active)>.pvqd-resize{display:none}
.pvqd-mark.is-logo.is-free-ratio img{object-fit:fill}
.pvqd-save-status{font-size:.88rem;color:#24692b;background:#edf5eb;border-left:4px solid #65a06b;padding:.55rem .7rem}.pvqd-element{scroll-margin-top:130px;transition:border-color .18s,box-shadow .18s,background .18s}.pvqd-element.is-active{border-color:#278334;background:#fbfefb;box-shadow:0 0 0 3px rgba(39,131,52,.12)}.pvqd-garment.is-mirrored{transform:scaleX(-1)}.pvqd-color-field{border:0;padding:0;margin:0 0 1rem}.pvqd-color-field legend{font-weight:700;padding:0;margin:0 0 .45rem}.pvqd-color-selected{display:flex;align-items:center;gap:.55rem;margin:0 0 .75rem;padding:.55rem .7rem;border-radius:10px;background:#f2f7f1;color:#26492b;font-size:.9rem;font-weight:600}.pvqd-color-selected-swatch{width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:var(--pvqd-selected-color,#111);border:1px solid #879287;box-shadow:inset 0 0 0 3px #fff}.pvqd-color-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(68px,1fr));gap:.55rem}.pvqd-color-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-height:72px;padding:.5rem .3rem;border:1px solid #d8e2d7;border-radius:12px;background:#fff;color:#29422d;text-align:center;font:inherit;font-size:.75rem;line-height:1.15;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s,background .15s}.pvqd-color-choice:hover{transform:translateY(-1px);border-color:#8eae91;box-shadow:0 4px 12px rgba(30,80,38,.11)}.pvqd-color-choice:before{content:"";flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--pvqd-swatch,conic-gradient(#e22,#26c,#fc2,#e22));border:1px solid #7d897e;box-shadow:inset 0 0 0 3px #fff,0 1px 3px #0002}.pvqd-color-choice[aria-pressed=true]{border-color:#278334;background:#edf7ed;box-shadow:0 0 0 2px #278334;font-weight:700}.pvqd-color-choice[aria-pressed=true]:after{content:"✓";position:absolute;right:5px;top:4px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#278334;color:#fff;font-size:.72rem;line-height:1}.pvqd-custom-color{display:flex;align-items:center;gap:.6rem;margin-top:.7rem;padding:.65rem;border-radius:10px;background:#f7faf6}.pvqd-custom-color input{width:56px;height:42px;padding:2px;border:1px solid #aabca9;border-radius:8px;background:#fff}
@media(min-width:761px){.pvqd-preview{top:52px;padding:.85rem}.pvqd-preview h4{margin-bottom:.4rem}.pvqd-preview>.pvqd-help{margin-bottom:.5rem}.pvqd-view-buttons{margin-bottom:.05rem}.pvqd-generic-note{margin-bottom:.45rem;padding:.5rem .65rem}.pvqd-frame{height:min(56vh,520px,calc(100vh - 265px));min-height:230px;width:auto;max-width:100%;aspect-ratio:var(--pvqd-frame-ratio,2/3);margin-inline:auto}.pvqd-garment{width:100%;height:100%;object-fit:contain}.pvqd-preview>.pvqd-frame+.pvqd-help{margin:.35rem 0 0}}
@media(min-width:761px) and (max-height:620px){.pvqd-preview{top:42px}.pvqd-frame{height:max(200px,calc(100vh - 255px));min-height:0}}
.pvqd-account-note{margin:-.2rem 0 .9rem;padding:.55rem .7rem;border-left:4px solid #278334;background:#edf5eb;color:#26492b;font-size:.9rem}.pvqd-zoom-controls{display:grid;grid-template-columns:auto 36px minmax(90px,1fr) 52px 36px auto;align-items:center;gap:.4rem;margin:.35rem 0 .55rem}.pvqd-zoom-label,.pvqd-zoom-value{font-size:.82rem;font-weight:600;color:#36543b}.pvqd-zoom-value{text-align:center}.pvqd-zoom-button,.pvqd-zoom-reset{min-height:36px;border:1px solid #9bb29c;border-radius:8px;background:#fff;color:#216d2c;font:inherit;font-weight:700;cursor:pointer}.pvqd-zoom-button{width:36px;padding:0;font-size:1.2rem}.pvqd-zoom-reset{padding:.35rem .55rem;font-size:.78rem}.pvqd-zoom-range{width:100%;min-width:0;accent-color:#278334}.pvqd-frame{aspect-ratio:var(--pvqd-frame-ratio,2/3)}.pvqd-stage{position:absolute;inset:0;transform-origin:50% 50%;transition:transform .16s ease}.pvqd-stage>.pvqd-garment{width:100%;height:100%;object-fit:contain}.pvqd-resize{width:6px;height:6px;border-width:1px;box-shadow:0 0 0 1px #185d20,0 1px 3px #0004}.pvqd-resize:before{content:"";position:absolute;inset:-7px;border-radius:50%}.pvqd-resize-width{right:-4px}.pvqd-resize-height{bottom:-4px}.pvqd-resize-both{right:-4px;bottom:-4px}
@media(max-width:760px){.pvqd-zoom-controls{grid-template-columns:auto 40px minmax(72px,1fr) 50px 40px;gap:.35rem}.pvqd-zoom-reset{grid-column:2/6;width:100%;min-height:40px}.pvqd-zoom-button{width:40px;min-height:40px}.pvqd-resize{width:7px;height:7px}.pvqd-resize:before{inset:-9px}.pvqd-resize-width{right:-5px}.pvqd-resize-height{bottom:-5px}.pvqd-resize-both{right:-5px;bottom:-5px}}
@media(max-width:760px){.pvq-cart-table-wrap{overflow:visible!important}.pvq-cart-summary table,.pvq-cart-summary tbody,.pvq-cart-summary tr,.pvq-cart-summary td{display:block;width:100%}.pvq-cart-summary thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.pvq-cart-summary tr{margin:0 0 .8rem;padding:.75rem;border:1px solid #d7e2d6;border-radius:10px;background:#fff}.pvq-cart-summary td{display:grid;grid-template-columns:108px minmax(0,1fr);gap:.55rem;padding:.35rem 0!important;border:0!important;overflow-wrap:anywhere}.pvq-cart-summary td:before{content:attr(data-label);font-weight:700;color:#36543b}.pvq-cart-summary td:first-child{grid-template-columns:minmax(0,1fr);font-weight:600}.pvq-cart-summary td:first-child:before{margin-bottom:.15rem}.pvqd-preview{padding:.75rem}.pvqd-frame{width:100%}}


/* PROVET — Parcours guidé 2026-09-20. Données et règles commerciales conservées. */
.pvqd-step-progress{color:#36543b;font-size:.85rem;font-weight:600;margin:0 0 .7rem!important}
.pvqd-step{border:1px solid #d7e2d6;border-radius:10px;margin:.55rem 0;background:#fff;overflow:hidden}
.pvqd-step.is-current{border-color:#278334;box-shadow:0 0 0 1px #278334}
.pvqd-step-header{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:.25rem .6rem;align-items:center;width:100%;margin:0;padding:.75rem .8rem;border:0;background:#f7faf6;color:#243328;text-align:left;text-transform:none;letter-spacing:0;line-height:1.35;font:inherit;cursor:pointer;white-space:normal;border-radius:0;min-height:58px}
.pvqd-step-header:hover{background:#edf5eb;color:#203424;box-shadow:none}
.pvqd-step-header:focus-visible{outline:3px solid #135bba;outline-offset:-3px}
.pvqd-step-header:disabled{opacity:.65;cursor:default}
.pvqd-step-number{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e1e9df;font-size:.85rem;font-weight:700;color:#36543b}
.pvqd-step.is-complete .pvqd-step-number,.pvqd-step.is-current .pvqd-step-number{background:#278334;color:#fff}
.pvqd-step-title{font-size:1rem;font-weight:700}
.pvqd-step-summary{grid-column:2;grid-row:2;font-size:.8rem;color:#526055;overflow-wrap:anywhere}
.pvqd-step-action{grid-column:3;grid-row:1/3;font-size:.75rem;color:#217630;text-decoration:underline}
.pvqd-step-panel{padding:.9rem .8rem .7rem}
.pvqd-step-nav{display:flex;justify-content:space-between;align-items:center;gap:.7rem;margin:.8rem 0 0}
.pvqd-step-nav>.primary{margin-left:auto}
.pvqd-step-hint{font-size:.86rem;color:#795015;background:#fff8eb;border-radius:5px;padding:.6rem;margin:.6rem 0!important}
.pvqd-step-review{font-size:.94rem;overflow-wrap:anywhere}
.pvqd-step-panel .pvqd-color-options{grid-template-columns:repeat(auto-fit,minmax(58px,1fr))}
.pvqd-step-panel .pvqd-color-choice{min-height:60px}
.pvqd-step-panel .pvqd-color-choice:before{width:26px;height:26px;flex-basis:26px}
.pvqd-step-panel .pvqd-color-selected{margin-bottom:.6rem}
.pvqd-assets>summary,.pvqd-project-recap>summary{font-weight:700;cursor:pointer;color:#265f2b;padding:.15rem 0}
.pvqd-assets[open]>summary,.pvqd-project-recap[open]>summary{margin-bottom:.8rem}
.pvqd-element>.pvqd-remove{margin-top:.4rem}
@media(max-width:760px){.pvqd-layout .pvqd-editors{grid-row:1}.pvqd-layout .pvqd-preview{grid-row:2}.pvqd-step-header{padding:.7rem;grid-template-columns:25px minmax(0,1fr) auto}.pvqd-step-panel{padding:.8rem .7rem}.pvqd-step-nav{flex-wrap:wrap}.pvqd-step-nav>.button{width:auto;max-width:100%}.pvqd-step-action{font-size:.72rem}}

.pvqd-preview-jump,.pvqd-editor-return{display:none}.pvqd-preview{scroll-margin-top:90px}@media(max-width:760px){.pvqd-preview-jump,.pvqd-editor-return{display:inline-block}}
/* RC10.17: preview-only colour choices, explicit confirmation for quote changes. */
.pvqd-garment-colors{padding:16px;margin:12px 0 20px;border:1px solid #ccdacc;border-radius:10px;background:#f7faf6}
.pvqd-garment-colors h4{margin:0 0 12px}.pvqd-garment-colors .pvqd-link{margin:0 14px 12px 0}
.pvqd-color-simulation{border-left:3px solid #248331;padding:8px 12px;background:#edf5e9}
.pvqd-color-changes{margin:16px 0;padding-left:22px}.pvqd-color-changes li{margin-bottom:12px}

/* Colour simulation beside the garment, including narrow/mobile previews. */
.pvqd-preview .pvqd-garment-colors{padding:12px;margin:12px 0 16px;min-width:0}
.pvqd-preview .pvqd-garment-colors select{width:100%;min-width:0;max-width:100%}
.pvqd-preview .pvqd-garment-colors .button{max-width:100%;white-space:normal}

/* Logo geometry is available before the preview image is decoded. */
.pvqd-mark.is-logo{min-width:0;min-height:0;padding:1px}
.pvqd-mark.is-logo>.pvqd-mark-content{position:absolute;inset:1px;width:auto;height:auto}

/* One row per garment: three columns, also usable on a narrow screen. */
.pvqd-names-table,.pvqd-names-summary{width:100%;table-layout:fixed;border-collapse:collapse;margin:.7rem 0;font-size:.88rem}
.pvqd-names-table th,.pvqd-names-table td,.pvqd-names-summary th,.pvqd-names-summary td{padding:.35rem;border-bottom:1px solid #d7e2d6;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.pvqd-names-table th:first-child{width:30%}.pvqd-names-table th:last-child{width:19%}.pvqd-names-table td:first-child{position:relative;padding-right:30px}
.pvqd-names-table .pvqd-field{margin:0}.pvqd-names-table .pvqd-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.pvqd-names-table input,.pvqd-names-table select{padding:.4rem;font-size:.88rem;min-width:0}
.pvqd-name-remove{position:absolute;right:0;top:5px;width:28px;min-height:40px;padding:0;margin:0;border:0;background:none;color:#9a302a;font-size:1.3rem;line-height:1}
.pvqd-names-status{font-size:.88rem;color:#24692b}.pvqd-names-status.has-error{color:#914400}
.pvqd-names-summary caption{text-align:left;font-weight:600;margin:.5rem 0}
@media(max-width:560px){.pvqd-names-table thead,.pvqd-names-summary thead{display:none}.pvqd-names-table,.pvqd-names-table tbody,.pvqd-names-table tr,.pvqd-names-table td,.pvqd-names-summary,.pvqd-names-summary tbody,.pvqd-names-summary tr,.pvqd-names-summary td{display:block;width:100%}.pvqd-names-table tr,.pvqd-names-summary tr{border:1px solid #d7e2d6;border-radius:6px;padding:.5rem;margin-bottom:.6rem}.pvqd-names-table td,.pvqd-names-summary td{border:0;padding:.3rem}.pvqd-names-table .pvqd-field>span{position:static;width:auto;height:auto;clip-path:none;overflow:visible}.pvqd-names-table input,.pvqd-names-table select{font-size:16px}.pvqd-names-table td:first-child{padding-right:30px}.pvqd-name-remove{top:28px}.pvqd-names-summary td:before{content:attr(data-label) ' : ';font-weight:600}}

.pvqd-add-product{margin:.5rem 0 1rem;white-space:normal}

/* Partial name lists: make the intentional remainder explicit. */
.pvqd-project .pvqd-names-remainder { padding: 1rem; margin: .75rem 0; border: 1px solid #cbdaca; border-radius: .5rem; background: #f5f9f4; }
.pvqd-project .pvqd-names-remainder[hidden] { display: none; }
.pvqd-project .pvqd-names-remainder p:first-child { margin-top: 0; font-weight: 700; }
.pvqd-project .pvqd-without-name { background: #f5f7f4; }
.pvqd-project .pvqd-minimum-note { padding: .75rem; border-left: 3px solid #a36200; background: #fff8eb; color: #684000; }

/* Keep the empty reference controls beside its preview, directly below the prompt. */
.pvqd-reference-actions { min-width: 0; }
@media(min-width:761px) {
  .pvqd-layout.is-empty { grid-template-rows: min-content 1fr; row-gap: 0; }
  .pvqd-layout.is-empty > .pvqd-editors { grid-column: 1; grid-row: 1; }
  .pvqd-layout.is-empty > .pvqd-preview { grid-column: 2; grid-row: 1 / span 2; }
  .pvqd-layout.is-empty > .pvqd-reference-actions { grid-column: 1; grid-row: 2; }
}

/* Garment management and per-colour ink remain readable on narrow screens. */
.pvqd-manage-products{width:100%;white-space:normal!important;margin:0 0 14px!important;line-height:1.4!important}
.pvqd-ink-summary{margin:10px 0;padding-left:20px;font-size:13px;line-height:1.5}
.pvqd-preview-loading{padding:32px 16px;text-align:center;background:#fff;border:1px solid #d6e2d3}
.pvqd-remove-options{margin:16px 0;display:grid;gap:10px}
.pvqd-names-summary th,.pvqd-names-summary td{overflow-wrap:anywhere}

/* Immediate ink feedback alongside the swatches, including the mobile settings tab. */
.pvqd-color-field .pvqd-ink-preview{margin:0 0 .65rem;padding:0;min-width:0;border:1px solid #d5e1d2;border-radius:8px;overflow:hidden;background:#fff}
.pvqd-ink-preview>figcaption{padding:.35rem .6rem;font-size:.82rem;font-weight:600;color:#36543b;background:#f3f7f1;overflow-wrap:anywhere}
.pvqd-ink-crop{position:relative;height:145px;overflow:hidden;isolation:isolate;background:#fff}
.pvqd-ink-stage{position:absolute;width:420px;height:630px;left:50%;top:50%;max-width:none;pointer-events:none}
.pvqd-ink-photo{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain}
.pvqd-ink-photo.is-mirrored{transform:scaleX(-1)}
.pvqd-ink-mark{position:absolute;transform:translate(-50%,-50%);display:block;max-width:70%;line-height:1;font-weight:700;white-space:pre}
.pvqd-ink-text{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;overflow:visible;white-space:pre;line-height:1;font-weight:700}
.pvqd-ink-message{margin:0!important;padding:1rem;color:#526055;font-size:.85rem}
.pvqd-ink-crop>.pvqd-link{margin:0 .8rem!important}
.pvqd-ink-note{display:block;padding:.25rem .6rem;background:#fff7e4;color:#684000;font-size:.75rem}
@media(max-width:760px){.pvqd-ink-crop{height:120px}}

@media(max-width:760px){
  .pvqd-step-panel .pvqd-color-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}
  .pvqd-step-panel .pvqd-color-choice{min-height:64px;padding:.35rem .15rem;font-size:.72rem;line-height:1.1;margin:0}
}

/* Display-coordinate safety overlay: no pointer interception. */

.pvqd-band-note{border-left:4px solid #a82323;padding:.65rem .8rem;background:#fff2f0;font-size:.88rem}
.pvqd-band-error{color:#8b1c16;font-weight:600;font-size:.9rem}
.pvqd-mark.is-blocked{border:2px dashed #b52323;background:#fff1f1aa;color:#b52323}

/* UX-BANDES-ESSAI1: signal on the artwork, never on the garment. */
.pvqd-mark.is-conflict{border:2px dashed #805b22;background:#e2e2e280}
.pvqd-mark.is-conflict>.pvqd-mark-content{filter:grayscale(1);opacity:.38}

/* Read-only quote recap: same geometry as the editor, without zoom or handles. */
.pvqd-recap-views,.pvqd-recap-views *{box-sizing:border-box}
.pvqd-recap-views{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin:1rem 0}
.pvqd-recap-view{min-width:0;max-width:340px;width:100%;margin:0}
.pvqd-recap-view figcaption{font-weight:600;margin:0 0 .5rem}
.pvqd-recap-view .pvqd-frame{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:var(--pvqd-frame-ratio,2/3);margin:0 0 .5rem}
.pvqd-recap-view .pvqd-mark{cursor:default;pointer-events:none;border:0;background:transparent;outline:0}
.pvqd-recap-view .pvqd-help{font-size:.8rem;line-height:1.4}

/* Compact garment carousel: page scrolling stays separate from artwork dragging. */
.pvqd-view-carousel{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:.3rem;align-items:center;margin:0 0 .4rem}
.pvqd-view-carousel .pvqd-view-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:.2rem;margin:0}
.pvqd-view-carousel .pvqd-link{flex:1 0 auto;min-height:36px;padding:.35rem .2rem;margin:0;font-size:.78rem;line-height:1.15;text-align:center;border-radius:4px}
.pvqd-view-arrow{min-height:40px;padding:0;margin:0;border:1px solid #9bb29c;border-radius:5px;background:#fff;color:#216d2c;font-size:1.55rem;line-height:1;cursor:pointer}
.pvqd-view-arrow:focus-visible,.pvqd-view-carousel .pvqd-link:focus-visible{outline:2px solid #135bba;outline-offset:2px}
.pvqd-preview .pvqd-preview-intro{font-size:.78rem;line-height:1.35;margin-bottom:.35rem}
.pvqd-preview-content{min-width:0}
.pvqd-preview-content>.pvqd-band-error{font-size:.8rem;line-height:1.35;margin:.35rem 0}
.pvqd-preview-content>.pvqd-details{margin:.25rem 0;padding:.15rem 0}
.pvqd-preview-content>.pvqd-details summary{font-size:.8rem;min-height:30px;padding:.25rem 0}
.pvqd-preview .pvqd-garment-colors{padding:.4rem .6rem;margin:.3rem 0 0}
.pvqd-preview .pvqd-garment-colors>summary{cursor:pointer;min-height:30px;line-height:1.35;font-size:.82rem;padding:.2rem 0;color:#217630}
.pvqd-preview .pvqd-garment-colors[open]>summary{margin-bottom:.6rem}
@media(min-width:761px){
  .pvqd-layout>.pvqd-preview{align-self:start;position:sticky;top:52px;padding:.65rem}
  .pvqd-preview-content>.pvqd-frame{height:min(42vh,420px,calc(100vh - 350px));height:min(42dvh,420px,calc(100dvh - 350px));min-height:140px;width:auto;max-width:100%;margin:0 auto .35rem}
  .pvqd-preview-content>.pvqd-zoom-controls{grid-template-columns:auto 30px minmax(45px,1fr) 40px 30px auto;gap:.2rem;margin:.25rem 0}
  .pvqd-preview-content .pvqd-zoom-button{width:30px;min-height:32px}
  .pvqd-preview-content .pvqd-zoom-reset{min-height:32px;padding:.25rem;font-size:.72rem}
}
@media(max-width:760px){.pvqd-view-carousel .pvqd-link,.pvqd-view-arrow{min-height:44px}.pvqd-preview-content>.pvqd-frame{width:100%}}

/* Local carousel refinement: one editor per selected motif; separate drag/resize. */
.pvqd-editor-navigation{margin:0 0 .75rem;padding:.6rem .75rem;border:1px solid var(--pvqd-border);border-radius:6px;background:#f7faf6}
.pvqd-editor-navigation .pvqd-field{margin:0}.pvqd-editor-navigation .pvqd-empty{margin:.4rem 0 0}
.pvqd-manipulation-controls{display:flex;justify-content:center;gap:.4rem;margin:.45rem 0}
.pvqd-manipulation-button{min-height:44px;min-width:100px;padding:.4rem .65rem;margin:0;border:1px solid #9bb29c;border-radius:6px;background:#fff;color:#216d2c;font:inherit;font-size:.85rem;line-height:1.2;cursor:pointer;text-transform:none;letter-spacing:0}
.pvqd-manipulation-button[aria-pressed=true]{background:#e7f2e5;border-color:#278334;font-weight:700}
.pvqd-manipulation-button:focus-visible{outline:2px solid #135bba;outline-offset:2px}
.pvqd-stage.is-move-mode>.pvqd-mark{cursor:grab}
.pvqd-stage.is-move-mode>.pvqd-mark:active{cursor:grabbing}
.pvqd-stage.is-move-mode>.pvqd-mark:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:44px;min-height:44px;z-index:1}
.pvqd-stage.is-move-mode>.pvqd-mark.is-active{z-index:3}
.pvqd-stage.is-resize-mode>.pvqd-mark{cursor:pointer}
@media(min-width:761px){.pvqd-preview-content>.pvqd-frame{height:min(40vh,420px,calc(100vh - 398px));height:min(40dvh,420px,calc(100dvh - 398px))}}

/* PATCH01: dimensioned flat patch only for Hubert Patch 024129. */
.pvqd-patch-boundary{position:absolute;border:2px dashed #ffe78b;box-shadow:0 0 0 1px #252d25;pointer-events:none;z-index:1}
.pvqd-mark.is-patch-mark{max-width:none;min-width:0;min-height:0;padding:0;border:0;background:transparent;outline:1px dashed #fff}
.pvqd-mark.is-patch-mark>.pvqd-mark-content{inset:0;width:100%;height:100%}
.pvqd-mark.is-patch-mark.is-conflict{outline:2px solid #ef8435}
.pvqd-patch-photo{display:block;width:100%;max-width:260px;height:auto;margin:.5rem auto}

.pvqd-frame.is-patch-frame,.pvqd-preview-content>.pvqd-frame.is-patch-frame,.pvqd-recap-view .pvqd-frame.is-patch-frame{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:19/9}

.pvqd-ink-mark.is-patch-mark{max-width:none}
