/* The showroom's follow-up form must scroll inside its iframe, not inherit
   the standalone quote's fixed viewport shell. Never change the main atelier. */
@media screen {
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore){height:auto!important;min-height:0!important;overflow:auto!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .quote-header{display:none!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .showroom-editor-bar{position:relative!important;inset:auto!important;width:100%!important;box-sizing:border-box;gap:16px;padding:12px 24px;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .showroom-editor-bar strong{font-size:16px;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .showroom-editor-bar .showroom-title-en{display:none;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .showroom-editor-bar button{flex-shrink:0;padding:10px 14px;font-size:14px;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) :is(.quote-shell,.quote-layout,.quote-form,.form-panel){position:relative!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:visible!important;box-sizing:border-box!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .form-panel{padding:24px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) [data-step-panel]:not([hidden]){height:auto!important;max-height:none!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .form-footer{position:sticky!important;inset:auto!important;bottom:0!important;transform:none!important;width:100%!important;max-width:none!important;height:auto!important;min-height:64px!important;box-sizing:border-box!important;margin:20px 0 0!important;padding:12px 20px!important;display:flex!important;justify-content:flex-end!important;gap:12px!important;background:#f7f6f1f5!important;z-index:30!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) :is(.quantity-card,.quantity-card-body,.review-product-card,.customer-grid,.password-grid){min-width:0!important;max-width:100%!important;box-sizing:border-box;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-studio{grid-template-columns:minmax(200px,260px) minmax(0,1fr)!important;gap:20px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-editor-toolbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;gap:12px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-media-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-media-tools>*{min-width:0!important;width:100%!important;box-sizing:border-box!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-media-tools .placement-color-picker{display:contents!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-media-tools :is(button,.placement-pen-picker){width:100%!important;min-width:0!important;box-sizing:border-box!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-history-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-history-tools button{width:100%!important;min-width:0!important;padding:6px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .placement-canvas-shell{height:min(520px,calc(100dvh - 180px))!important;min-height:280px!important;aspect-ratio:auto!important;overflow:hidden!important;display:flex!important;justify-content:center!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .supplied-shirt-map{height:100%!important;width:auto!important;max-width:100%!important;aspect-ratio:1000/991!important;overflow:hidden!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .form-footer[hidden]{display:none!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .quote-top-button{bottom:88px!important;right:24px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .supplied-shirt-map{max-height:calc(100dvh - 160px)!important;min-height:260px;}
html[data-view-mode="wide"] body:not(.showroom-explore) .product-detail-layer[open]{max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important;}
@media(max-width:1100px){
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .quantity-card-body{grid-template-columns:140px minmax(0,1fr)!important;gap:16px!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .size-grid{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))!important;}
html[data-view-mode="wide"] body.showroom-embedded:not(.showroom-explore) .compact-fulfillment-panel{grid-template-columns:1fr!important;}
}
}
