/* Additions are scoped to this local B1 page. Original typography, forms and business UI remain inherited. */
.three-refine,.three-own-image{grid-column:1/-1!important;min-width:0}.three-text-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.three-text-label>label{margin:0!important;font-size:15px;font-weight:600;color:#334139}.three-text-label .three-edit-tabs{margin:0}.three-text-label .three-edit-tabs>span{display:none}.three-text-label button{padding:6px 14px!important}#minimal-file-list{display:none!important}
html[data-b1-customer=true] .estimate-materials .b1-garment-option{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:20px auto!important;align-content:start!important}.estimate-materials .b1-garment-option>.b1-upgrade-badge{position:static!important;grid-row:1;justify-self:start;margin:0!important;line-height:20px!important;padding:0 4px!important}.estimate-materials .b1-garment-option>.b1-garment-name{grid-row:2;margin:0!important;padding:0!important}.three-garment-more>summary{border:0!important;padding:0 2px!important;background:transparent!important}.three-garment-more>summary::after,.three-refine>summary::after{display:none!important}
.three-surface{border:1px solid #dedfd9;border-radius:18px;overflow:hidden;background:#f4f4ef}.three-stage-actions,.three-finish-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px}.three-stage-actions button,.three-finish-row button,.three-reference-heading button{font:inherit;font-size:14px;min-height:44px;border:0;background:transparent;color:#35483b;padding:8px 12px;cursor:pointer}.three-stage-actions [aria-pressed=true]{background:white;border-radius:8px;box-shadow:0 1px 4px #263b2110}.three-frame-wrap{position:relative}.three-frame-wrap iframe{display:block;width:100%;height:auto;aspect-ratio:1.2;border:0;background:#f4f4ef}.three-frame-wrap>p{position:absolute;inset:0;margin:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#f4f4ef;color:#60715f}.three-frame-wrap>p[hidden]{display:none}.three-finish-row{border-top:1px solid #e5e6df;background:#fff}.three-finish-row>span{font-size:13px;color:#71806f}.three-finish-row button{white-space:nowrap;font-weight:600}.three-finish-row button:disabled{opacity:.45;cursor:wait}.three-reference-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 8px;font-size:16px}.three-reference-heading span{font-size:13px;color:#72806c}.gallery-stage[hidden]{display:none!important}
html[data-b1-customer=true] .estimate-materials{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}html[data-b1-customer=true] .estimate-materials .b1-garment-option{min-height:82px!important;padding:10px 12px!important;gap:6px!important;border-radius:12px!important}html[data-b1-customer=true] .estimate-materials .b1-garment-name{font-size:16px!important;line-height:1.4!important}html[data-b1-customer=true] .estimate-materials :is(.b1-garment-difference,.b1-garment-proof){display:none!important}.estimate-materials [data-garment=CP102]{background:#eff3f4;border:1px solid #cbd9df;color:#415a64}.three-garment-more{margin-top:6px!important}.three-garment-more summary{display:flex;justify-content:space-between;cursor:pointer;min-height:36px;align-items:center;color:#64755f;font-size:13px}.three-garment-comparison{font-size:14px;line-height:1.7}.three-garment-comparison p{margin:10px 0}.three-garment-more[open] summary span{transform:rotate(45deg)}
.three-edit-tabs{display:flex;align-items:center;gap:4px;margin-bottom:8px}.three-edit-tabs button{font:inherit;font-size:14px!important;min-height:40px!important;padding:7px 18px!important;border:1px solid #dce3da!important;border-radius:8px!important;color:#50684f!important;background:#fff!important}.three-edit-tabs button[aria-pressed=true]{background:#eaf0e6!important;border-color:#5a7053!important;color:#293f2b!important}.three-edit-tabs>span{font-size:12px;color:#7b8775;margin-left:auto}.three-refine{border-top:1px solid #e1e5df;border-bottom:1px solid #e1e5df;margin:0!important}.three-refine>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:14px;font-weight:550;color:#41553f;cursor:pointer}.three-refine[open]>summary>span{transform:rotate(45deg)}.three-refine-body{padding:0 0 16px}.three-refine-body>label:first-child{display:block;margin:8px 0}.three-refine-body input:not([type=checkbox],[type=range],[type=color]){font:inherit;padding:9px 12px;border:1px solid #ced8cd;border-radius:8px;width:100%;box-sizing:border-box}.three-refine small{font-weight:400;color:#788672}.three-ink-swatches{display:flex;justify-content:space-between;gap:3px;margin-top:14px}.three-ink-swatches button,.three-custom-ink{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px!important;min-width:44px!important;min-height:58px!important;padding:4px!important;background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;cursor:pointer}.three-ink-swatches i{display:block;width:25px;height:25px;border:1px solid #cccfc5;border-radius:50%}.ink-auto{background:linear-gradient(135deg,#183e50 50%,#f1ead7 51%)}.three-ink-swatches button[aria-pressed=true]{border-color:#647e5c!important;background:#f4f7f1!important}.three-custom-ink input{width:30px;height:28px;border:0;background:transparent;padding:0;cursor:pointer}.three-custom-code{display:flex;align-items:center;gap:12px;font-size:13px;margin-top:10px}.three-custom-code input{max-width:140px}.three-adjustments{margin-top:12px}.three-adjustments label{display:grid;grid-template-columns:80px minmax(0,1fr) 30px;align-items:center;gap:10px;font-size:13px;min-height:40px}.three-adjustments input{width:100%;accent-color:#385c3b}.three-adjust-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:13px}.three-adjust-footer button,.three-own-image button{font:inherit;background:transparent;border:1px solid #cfd9ca;border-radius:8px;min-height:40px;padding:5px 10px;color:#50634a}.three-own-image{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.three-own-image[hidden]{display:none}.three-own-image span{overflow-wrap:anywhere}.three-refine #three-ink-error{font-size:12px;color:#9a4b35;margin:5px 0}
#three-result{width:min(1100px,94vw);max-height:92dvh;border:1px solid #cdd7c8;border-radius:18px;padding:20px;color:#293c2d;box-sizing:border-box}#three-result::backdrop{background:#111b16a8}.three-result-head,.three-result-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.three-result-head h2{font-size:21px;margin:0}.three-result-head button{font:inherit;min-height:44px;background:#f4f6f1;border:0;border-radius:8px;padding:8px 16px;cursor:pointer}#three-result-image{display:block;width:100%;height:auto;margin:16px 0}.three-result-footer{font-size:13px}.three-result-footer a{display:block;background:#2f4937;color:white;border-radius:8px;padding:12px 18px;font-size:15px;text-decoration:none;white-space:nowrap}
@media(min-width:1100px){.b1-preview.example-order{max-width:1600px!important}.example-grid{grid-template-columns:minmax(0,1.6fr) minmax(390px,1fr)!important;gap:40px!important}.b1-builder-preview .b1-layout-canvas{max-width:none}}
@media(max-width:600px){.three-frame-wrap iframe{aspect-ratio:.87}.three-stage-actions{padding:5px 8px}.three-stage-actions button{font-size:13px;padding:6px 10px}.three-finish-row{flex-wrap:wrap;padding:6px 10px}.three-finish-row>span{font-size:12px}.three-finish-row button{padding:5px 0}.three-reference-heading{margin-top:18px;font-size:15px}.three-result-head,.three-result-footer{flex-wrap:wrap}.three-result-footer a{width:100%;text-align:center}.three-surface{border-radius:14px}}

.three-placement-tools{display:flex;align-items:center;gap:2px}.three-stage-actions #three-position-reset{font-size:13px;color:#5c705e}.three-stage-actions #three-position-reset:disabled{opacity:.4;cursor:default}
.three-design-moved{display:none!important}
.three-surface{position:relative;isolation:isolate}
.three-frame-wrap iframe{aspect-ratio:auto;height:clamp(370px,60dvh,680px)}
.three-editor-dock{position:relative;background:#fff;border-top:1px solid #dfe4dc;z-index:3;padding:8px 14px 0}
.three-editor-context{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:#647363;line-height:1.6;margin:0 0 5px}
.three-editor-context strong{color:#2e4437;font-size:14px}
.three-tool-bar{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.three-tool-bar button,.three-tool-panels button{font:inherit;font-size:14px;min-height:42px;padding:7px 13px;border:1px solid #dae2d7;border-radius:8px;background:white;color:#354c39;cursor:pointer}
.three-tool-bar button{border-color:transparent;white-space:nowrap}
.three-tool-bar button[aria-expanded=true],.three-arrangements [aria-pressed=true]{background:#edf2e9;border-color:#c5d2bf;color:#233a2a}
.three-tool-bar button:disabled{opacity:.4;cursor:default}
#three-undo{margin-left:auto}
.three-tool-panels>[data-tool-panel]{position:absolute;bottom:100%;left:10px;right:10px;background:#fffffff7;backdrop-filter:blur(14px);border:1px solid #ced8c9;border-radius:12px;padding:12px 16px;box-shadow:0 -8px 28px #20302512;max-height:min(300px,44dvh);overflow-y:auto;overscroll-behavior:contain}
.three-tool-panels>[hidden]{display:none!important}
.three-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:15px}
.three-panel-heading button{border:0;min-height:36px;padding:4px 9px;font-size:12px;background:transparent}
.three-panel-heading output{font-weight:400;font-size:13px;margin-left:12px;color:#6a7865}
.three-content-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.three-content-fields [data-layout-item],.three-content-fields .b1-item-content{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;min-height:0!important;min-width:0!important;width:auto!important}
.three-content-fields .b1-item-handle,.three-content-fields .b1-item-toolbar,.three-content-fields .b1-hint,.three-content-fields .b1-inline-ai,.three-content-fields [data-editor]{display:none!important}
.three-content-fields label{display:block;font-size:14px!important;margin:0 0 5px!important;color:#334139}
.three-editor-dock textarea,.three-editor-dock input:not([type=checkbox],[type=range],[type=color],[type=file]){box-sizing:border-box;width:100%;font:inherit;font-size:15px;line-height:1.4;padding:8px 11px;border:1px solid #cfd8cb;border-radius:8px;background:white;color:#26352b;min-height:38px}
.three-editor-dock #minimal-text{height:62px!important;min-height:62px!important;max-height:100px;resize:vertical;display:block!important}
.three-editor-dock #minimal-upload{white-space:nowrap;min-height:42px!important;font-size:14px!important;margin:0!important;padding:8px 12px!important;display:block!important}
.three-editor-dock .minimal-upload-row>span{display:none}
.three-small-label{display:block;margin:8px 0 3px;font-size:13px}
.three-small-label small{color:#788672;font-weight:400;margin-left:4px}
.three-show-print{display:flex;align-items:center;gap:6px;margin:7px 0 0;font-size:13px}.three-show-print input{accent-color:#38553e}
.three-own-image{padding-top:7px;font-size:12px}.three-own-image button{min-height:32px;font-size:12px;padding:3px 8px}
.three-size-slider{display:flex;align-items:center;gap:14px;font-size:13px;margin:14px 0}.three-size-slider input{flex:1;min-width:0;accent-color:#38553e;width:100%;min-height:32px}
.three-nudge-row{display:flex;align-items:center;gap:6px;font-size:13px;flex-wrap:wrap}.three-nudge-row button{min-width:42px;padding:6px 12px}
.three-tool-note{font-size:12px;color:#76846e;line-height:1.5;margin:10px 0 0}.three-arrangements{display:flex;gap:8px}
#three-design-notice{font-size:12px;color:#67785c;margin:0;line-height:1.5;min-height:0}#three-design-notice:not(:empty){margin:4px 0 8px}
.three-tool-panels #three-design-notice:not(:empty){position:static;width:auto;margin:12px 0 0;padding:10px 0 0;border-top:1px solid #e1e5dc}
.three-size-slider [data-scale-step]{flex:0 0 40px;min-width:40px;min-height:40px;border:1px solid #d5ddcf;border-radius:8px;background:#fff;color:#354c39;font-size:22px;cursor:pointer}
.three-size-slider [data-scale-step]:hover{background:#edf2e8}
.three-size-slider [data-scale-step]:disabled{opacity:.4;cursor:default}
.three-finish-row{gap:8px;padding:6px 14px}.three-finish-row #three-save-state{flex:1;min-width:0}.three-finish-row #three-finish{background:#2b4233;color:white;border-radius:8px;padding:8px 13px}.three-finish-row #three-save{font-size:13px}
.three-surface.is-expanded{position:fixed;inset:12px;z-index:1500;display:flex;flex-direction:column;border-radius:16px;box-shadow:0 12px 80px #12201870;width:auto!important;max-width:none!important}
.three-surface.is-expanded .three-frame-wrap{flex:1;min-height:0}.three-surface.is-expanded iframe{height:100%}.three-surface.is-expanded .three-editor-dock,.three-surface.is-expanded .three-stage-actions,.three-surface.is-expanded .three-finish-row{flex-shrink:0}
.three-surface.is-expanded .three-tool-panels>[data-tool-panel]{left:auto;right:16px;width:min(460px,calc(100% - 32px));max-height:min(360px,45dvh)}
.three-editor-expanded .mitt-contact-dock,.three-editor-expanded .mitt-chat-entry,.three-editor-expanded .mitt-line-float{visibility:hidden!important}
.three-surface.is-expanded{bottom:40px}
.three-surface.is-exporting .three-frame-wrap{pointer-events:none}
@media(pointer:coarse){.three-surface:not(.is-expanded) .three-frame-wrap iframe{pointer-events:none}}
@media(max-width:600px){.three-frame-wrap iframe{height:400px}.three-stage-actions{flex-wrap:wrap}.three-stage-actions>div{display:flex}.three-placement-tools{margin-left:auto}.three-stage-actions button{font-size:12px;padding:5px 7px}.three-editor-context{font-size:11px}.three-editor-context strong{font-size:13px}.three-editor-dock{padding:6px 8px 0}.three-tool-bar{gap:0}.three-tool-bar button{font-size:12px;min-height:40px;padding:5px 8px}#three-undo{margin-left:0}.three-tool-panels>[data-tool-panel]{left:5px;right:5px;padding:9px 12px;max-height:40dvh}.three-content-fields{grid-template-columns:minmax(0,1fr)}.three-content-fields [data-layout-item=upload]{justify-self:start}.three-surface.is-expanded{inset:0;border-radius:0;border:0}.three-surface.is-expanded .three-tool-panels>[data-tool-panel]{width:auto;left:5px;right:5px;max-height:43dvh}.three-finish-row{padding:5px 8px;flex-wrap:nowrap}.three-finish-row #three-save-state{font-size:11px}.three-finish-row #three-finish{font-size:12px;padding:7px 10px}.three-finish-row #three-save{font-size:12px;padding:5px 7px}.three-panel-heading{font-size:14px}.three-panel-heading output{font-size:12px;margin-left:5px}}
@media(max-width:440px){.three-stage-actions{gap:2px}.three-stage-actions button{padding:5px 8px}.three-stage-actions #three-position-reset{font-size:12px}.three-placement-tools{gap:0}}
.three-editor-dock .three-size-slider{display:flex!important;align-items:center!important;gap:12px!important}
.three-editor-dock .three-size-slider input{width:auto!important;flex:1!important}
@media(max-width:600px){.three-surface.is-expanded{bottom:32px}}

/* A viewport-sized design desk, with the original order UI kept on the right. */
.three-workspace-page .three-workspace-caption{display:flex;align-items:center;gap:18px;min-height:22px;margin-bottom:4px;color:#72816e;font-size:12px}
.three-workspace-caption :is(a,p){margin:0!important;padding:0!important;font-size:12px!important}
.three-reference-jump{font:inherit;font-size:12px;padding:4px 0;border:0;background:transparent;color:#61745f;cursor:pointer;white-space:nowrap;min-height:32px}
.three-reference-jump:hover{text-decoration:underline;text-underline-offset:4px}
.three-reference-heading{scroll-margin-top:85px}
.three-workspace-title{padding:10px 14px 0}
.three-workspace-page .gallery-heading{margin:0 0 10px!important;min-height:40px}
.three-workspace-page .gallery-heading h1{font-size:28px!important;line-height:1.3!important}
.three-workspace-page .gallery-copy{min-height:38px;padding:7px 10px;font-size:13px}
.three-workspace-page .three-stage-actions{padding:4px 12px}
.three-workspace-page .three-frame-wrap{min-height:0;flex:1}
.three-workspace-page .three-frame-wrap iframe{height:100%;aspect-ratio:auto}
.three-workspace-page .three-surface{display:flex;flex-direction:column}
.three-workspace-page .three-editor-dock,.three-workspace-page .three-finish-row,.three-workspace-page .three-stage-actions{flex-shrink:0}
.three-workspace-page .three-tool-panels>[data-tool-panel]{right:auto;left:10px;width:min(420px,calc(100% - 20px));max-height:min(320px,42dvh)}
.three-workspace-page #b1-clothes .b1-group-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.three-compare-link{font:inherit;font-size:13px!important;background:transparent!important;border:0!important;border-radius:6px;color:#5d715e;min-height:36px!important;padding:4px 0 4px 10px!important;white-space:nowrap;cursor:pointer}
.three-compare-link:hover{text-decoration:underline;text-underline-offset:4px}
#three-garment-dialog{width:min(620px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid #d5ddd1;border-radius:16px;color:#2c4032;box-shadow:0 18px 70px #20302322}
#three-garment-dialog::backdrop{background:#17251e66}
#three-garment-dialog h2{font-size:21px;margin:0}
#three-garment-dialog .three-garment-comparison{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
#three-garment-dialog p{padding:12px 0;border-top:1px solid #e2e6df;line-height:1.8}
.three-workspace-page #b1-layout-canvas{width:100%!important;max-width:none!important;gap:0!important}
.three-workspace-page #b1-layout-canvas>.b1-layout-group{padding:16px 0!important;margin:0!important}
.three-workspace-page #b1-layout-canvas>#b1-clothes{padding-top:0!important}
.three-workspace-page #b1-layout-canvas .b1-group-heading{margin-bottom:8px!important}
.three-workspace-page #b1-layout-canvas .b1-group-items{gap:12px!important}
html[data-b1-customer=true] .three-workspace-page #b1-material-label{display:none!important}
html[data-b1-customer=true] .three-workspace-page .estimate-materials{max-width:none!important;gap:6px!important}
html[data-b1-customer=true] .three-workspace-page .estimate-materials .b1-garment-option{min-height:68px!important;padding:8px 10px!important;gap:3px!important;border-radius:10px!important}
html[data-b1-customer=true] .three-workspace-page .estimate-materials .b1-garment-name{font-size:15px!important}
.three-workspace-page [data-layout-item="color"]{padding-top:12px!important;margin-top:0!important}
.three-workspace-page .b1-garment-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:end!important;gap:10px!important}
.three-workspace-page .b1-garment-tools .b1-color-entry{width:auto!important;min-width:0!important}
.three-workspace-page .b1-reference-trigger{font-size:13px!important;padding:8px 0!important;white-space:nowrap;min-height:44px}
.three-workspace-page #b1-color-trigger{width:100%!important;min-width:0!important;padding:7px 10px!important;min-height:48px!important}
.three-workspace-page #b1-chosen-name{font-size:14px!important}
.three-workspace-page #b1-chosen-shirt{width:28px!important;height:32px!important}
.three-workspace-page #b1-quantity-trigger{padding:13px 14px!important;min-height:74px!important;gap:12px!important}
.three-workspace-page #qty-summary{font-size:16px!important}
.three-workspace-page #qty-summary-note{font-size:12px!important}
.three-workspace-page .qty-note-disclosure{margin-top:6px!important}
html[data-b1-customer=true] .three-workspace-page .three-contact-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px!important;cursor:pointer;border:0!important;padding:0!important;background:transparent!important}
.three-workspace-page .three-contact-disclosure>summary::after{display:none!important}
.three-contact-disclosure>summary::-webkit-details-marker{display:none}
.three-workspace-page .three-contact-disclosure>summary>.b1-group-heading{margin:0!important}
.three-contact-hint{font-size:12px;color:#73826d;white-space:nowrap}
.three-contact-disclosure[open]>.b1-group-items{padding-top:14px}
@media(min-width:1100px){
 /* One slim site header; the page title and controls sit at the canvas edges. */
 .three-tall-workbench [data-site-header]{height:54px!important;min-height:54px!important}
 .three-tall-workbench .wf-header-inner{height:54px!important;min-height:54px!important;max-width:1800px!important;width:100%!important;padding:0 20px!important}
 .three-tall-workbench .wf-brand{height:38px!important;min-height:0!important;width:96px!important;min-width:96px!important}
 .three-tall-workbench .header-logo-trial{height:34px!important;width:94px!important;min-height:0!important}
 .three-tall-workbench .wf-desktop-nav{height:54px!important;min-height:0!important;align-items:center}
 .three-tall-workbench .wf-desktop-nav>.mm-nav-item{min-height:36px!important;height:36px!important}
 .three-tall-workbench .wf-desktop-nav .v5-nav-link{font-size:14px!important;min-height:36px!important;padding-top:8px!important;padding-bottom:8px!important}
 .b1-preview.example-order.three-workspace-page{max-width:1800px!important;width:100%!important;padding:10px 20px 48px!important}
 .three-workspace-page .example-grid{grid-template-columns:minmax(0,1fr) clamp(340px,28vw,460px)!important;gap:24px!important;align-items:start!important}
 .three-workspace-page .example-selected{min-width:0}
 .three-workspace{height:calc(100dvh - var(--workspace-header,54px) - 48px);min-height:470px;display:flex;flex-direction:column}
 .three-workspace .three-surface:not(.is-expanded){flex:1;min-height:0;display:block}
 .three-workspace .three-surface{border-radius:16px}
 .three-workspace .three-frame-wrap{position:absolute;inset:0;height:auto}
 .three-workspace-title{position:absolute;z-index:2;top:12px;left:18px;width:min(330px,46%);padding:0;pointer-events:none}
 .three-workspace-title :is(a,button){pointer-events:auto}
 .three-workspace-title :is(.three-workspace-caption,h1,.gallery-copy,.three-editor-context){width:fit-content;max-width:100%;background:#f4f4efee!important;border-radius:4px;box-shadow:0 0 0 3px #f4f4efee}
 .three-workspace-page .three-workspace-caption{gap:14px;margin:0;min-height:28px}
 .three-workspace-caption .b1-eyebrow{display:none}
 .three-workspace-page .gallery-heading{margin:0 0 3px!important;display:block;min-height:0}
 .three-workspace-page .gallery-heading h1{font-size:21px!important;line-height:1.5!important;margin:0!important}
 .three-workspace-page .gallery-copy{position:absolute;top:62px;left:0;min-height:28px!important;padding:2px 0!important;font-size:11px!important;border:0!important;background:#f4f4efee!important;box-shadow:none!important;color:#6d7c69}
 .three-workspace-page .three-editor-context{position:absolute;top:91px;left:0;display:flex;justify-content:flex-start;gap:6px;font-size:11px;margin:0;white-space:nowrap}
 .three-workspace-page .three-editor-context strong{font-size:11px;font-weight:500}
 .three-workspace .three-stage-actions{display:contents}
 .three-workspace .three-placement-tools{position:absolute;z-index:4;right:12px;top:14px;gap:0}
 .three-workspace .three-placement-tools button{font-size:12px;padding:6px 8px;min-height:36px;background:#f4f4efed;border-radius:6px}
 .three-workspace .three-face-switch{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:4;display:flex;background:#e9ece5e6;border:1px solid #dce1d7;padding:3px;border-radius:10px;box-shadow:0 2px 8px #20302308}
 .three-workspace .three-face-switch button{font-size:14px;min-height:38px;padding:7px 20px}
 .three-workspace .three-editor-dock{position:absolute;left:14px;bottom:14px;width:88px;border:1px solid #dce1d6;border-radius:12px;padding:5px;background:#fffffff5;box-shadow:0 4px 18px #263b210b}
 .three-workspace .three-tool-bar{display:grid;grid-template-columns:1fr;gap:2px}
 .three-workspace .three-tool-bar button{padding:7px 2px;font-size:13px;min-height:42px}
 .three-workspace #three-undo{margin:4px 0 0;border-top:1px solid #e7ebe3;border-radius:0}
 .three-workspace #three-redo{min-height:32px}
 .three-workspace .three-tool-panels>[data-tool-panel]{left:calc(100% + 10px);right:auto;bottom:76px;width:350px;max-width:calc(100vw - 530px);max-height:min(460px,calc(100dvh - 230px));padding:14px 16px;box-shadow:0 8px 30px #24342218}
 .three-workspace .three-editor-dock>#three-design-notice:not(:empty){position:absolute;left:104px;bottom:80px;width:290px;padding:8px 12px;background:#fffffff5;border:1px solid #e1e5dc;border-radius:8px;pointer-events:none}
 .three-workspace .three-finish-row{position:absolute;z-index:3;right:14px;bottom:14px;display:grid;grid-template-columns:auto 1fr;align-content:center;gap:0 6px;padding:6px 8px;background:#fffffff5;border:1px solid #dce1d6;border-radius:12px;box-shadow:0 4px 18px #263b210b}
 .three-workspace #three-save-state{grid-column:1/-1;text-align:right;font-size:10px;line-height:16px}
 .three-workspace .three-finish-row button{font-size:13px!important;min-height:36px;padding:6px 8px!important}
 .three-workspace-page .b1-right{position:sticky;top:calc(var(--workspace-header,54px) + 10px);max-height:calc(100dvh - var(--workspace-header,54px) - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfd7c9 transparent;padding-right:4px}
 .three-workspace-page .three-reference-heading{margin-top:20px}
 .three-workspace-page .three-surface.is-expanded{display:block}
 .three-workspace .is-expanded .three-frame-wrap{height:100%}
 .three-workspace .is-expanded .three-tool-panels>[data-tool-panel]{left:calc(100% + 10px);right:auto;max-height:min(460px,calc(100dvh - 230px))}
}
@media(min-width:1100px) and (max-width:1399px){
 .three-workspace-page .example-grid{gap:18px!important}
 .three-workspace-title{left:14px;width:260px}
 .three-workspace-page .gallery-heading h1{font-size:19px!important}
 .three-workspace .three-placement-tools{right:8px;top:14px}
 .three-workspace .three-placement-tools button{font-size:11px;padding:6px}
 .three-workspace .three-face-switch{left:44%}
 .three-workspace .three-face-switch button{padding:6px 14px}
 .three-workspace .three-finish-row{right:8px;bottom:14px;gap:0;padding:5px}
 .three-workspace .three-finish-row button{font-size:11px!important;padding:5px!important}
 .three-workspace .three-tool-panels>[data-tool-panel]{width:310px}
}
@media(max-width:1099px){.three-workspace-page .three-frame-wrap{height:clamp(400px,62dvh,620px);flex:none}.three-workspace-page .is-expanded .three-frame-wrap{height:auto;flex:1}.three-workspace-page .is-expanded .three-workspace-title :is(.gallery-heading,.three-workspace-caption){display:none!important}}
@media(max-width:600px){
 .three-workspace-page .three-workspace-caption{flex-wrap:wrap;gap:2px 12px}
 .three-workspace-page .gallery-heading h1{font-size:22px!important}.three-workspace-page .gallery-copy{font-size:12px}
 .three-workspace-page .three-frame-wrap{height:400px}
 .three-workspace-page .three-tool-panels>[data-tool-panel]{left:5px;right:5px;width:auto;max-height:40dvh}
 .three-workspace-page .b1-garment-tools{gap:8px!important}
 #three-garment-dialog{padding:18px}#three-garment-dialog .three-garment-comparison{grid-template-columns:1fr}
}
