.editor .three-space {background:#f4f1ea; padding:0; border:0; border-radius:0;}
.three-space>.workspace-label,.three-space>p {display:none;}
.mp-product-stage {position:relative; isolation:isolate; width:100%; background:radial-gradient(ellipse at 38% 27%,#fffefc 0%,#f7f5f0 57%,#ede9e2 100%); overflow:hidden;}
.mp-product-stage .model-view {position:relative; height:clamp(295px,47vw,465px); min-height:260px; width:100%; touch-action:none; background:transparent;}
.workspaces.mode-3d .mp-product-stage .model-view {height:clamp(330px,50vh,610px);}
.mp-product-stage canvas {display:block;position:absolute;inset:0; width:100%;height:100%; cursor:grab; outline:0;}
.mp-product-stage canvas:active {cursor:grabbing;}
.mp-contact-shadow {position:absolute;height:6%;min-height:9px; transform:translate(-50%,-50%); left:50%;pointer-events:none;background:radial-gradient(ellipse at center,rgba(59,49,36,.4) 0,rgba(83,75,59,.23) 26%,rgba(104,90,72,.10) 47%,transparent 71%); filter:blur(2px);}
.mp-stage-tabs,.mp-model-actions {position:absolute; z-index:2; display:flex; gap:3px; background:rgba(255,255,255,.94); border:1px solid #d7d3c9; padding:3px; box-shadow:0 2px 6px #29251c10; border-radius:8px;}
.mp-stage-tabs {left:15px; top:13px;}
.mp-model-actions {right:14px; bottom:13px;}
.mp-stage-tabs button,.mp-model-actions button {display:inline-flex; align-items:center; justify-content:center; gap:6px; border:0; border-radius:5px; background:transparent; color:#4a463d; font:650 13px/1.2 system-ui,sans-serif; min-width:34px; min-height:32px; padding:6px 8px; cursor:pointer;}
.mp-stage-tabs button[aria-pressed="true"] {background:#24221e;color:#fff;}
.mp-model-actions button:hover,.mp-stage-tabs button[aria-pressed="false"]:hover {background:#efece5;}
.mp-stage-tabs button:focus-visible,.mp-model-actions button:focus-visible {outline:2px solid #a76d00; outline-offset:2px;}
.mp-stage-photo {position:absolute;inset:58px 6% 40px;display:grid;place-items:center;}
.mp-stage-photo img {display:block;height:100%;max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply;}
.mp-reference-caption {position:absolute;bottom:13px;left:14px;font:600 12px system-ui;color:#59554b;}
@media(max-width:760px){
  .editor .editor-shell {display:flex;flex-direction:column;}
  .editor .editor-main {order:-1;}
  .editor .editor-tools {border-top:1px solid #dfdbd2;}
  .editor .three-space {border-top:0;}
  .editor .mode-split .three-space {order:-1;}
  .editor .view-toggle,.editor .editor-toolbar {flex-wrap:wrap;}
  .mp-stage-tabs {left:10px;top:10px;} .mp-model-actions {bottom:9px;right:9px;}
  .mp-product-stage .model-view,.workspaces.mode-3d .mp-product-stage .model-view {height:clamp(305px,72vw,440px);}
  .mp-stage-tabs button,.mp-model-actions button{min-height:37px;}
}

.editor .mp-example-toggle {position:absolute;right:15px;top:15px;z-index:3;padding:7px 11px;background:#fffcf6ed;color:#4c4841;border:1px solid #d0c9be;border-radius:20px;font:600 12px/1.3 system-ui,sans-serif;cursor:pointer;}
.editor .mp-example-toggle:hover,.editor .mp-example-toggle:focus-visible {background:#fff1bc;color:#181511;}
@media (min-width:900px){
  .editor {padding:30px max(4vw,calc((100vw - 1400px)/2)) 42px;background:#fffdf8;}
  .editor .editor-shell {display:grid;grid-template-columns:minmax(0,1fr) minmax(274px,29%);grid-template-areas:"stage tools";align-items:start;gap:22px;background:transparent;border:0;border-radius:0;overflow:visible;}
  .editor .editor-tools,.editor .editor-main {border:1px solid #ddd7cc;border-radius:15px;background:#fff;}
  .editor .editor-tools {grid-area:tools;padding:22px;border-right:1px solid #ddd7cc;}
  .editor .editor-main {grid-area:stage;overflow:hidden;}
  .editor .editor-title {margin-bottom:20px;}
  .editor .view-toggle {margin:10px 0;}
  .editor .editor-toolbar {padding:10px 15px;}
  .editor .tool-grid button {border-radius:8px;}
}
@media(max-width:540px){
 .editor .mp-example-toggle {top:auto;right:auto;left:10px;bottom:12px;padding:6px 8px;font-size:11px;}
 .editor .editor-shell {display:flex;flex-direction:column;}
 .editor .editor-main {order:-1;}
}

.mp-product-stage {background:radial-gradient(ellipse at 35% 22%,#fffefd 0%,#f5f4f1 57%,#eae9e6 100%);}
.mp-contact-shadow {background:radial-gradient(ellipse at center,rgba(36,36,34,.34),rgba(55,56,51,.24) 20%,rgba(63,65,61,.09) 44%,transparent 72%);filter:blur(2.5px);}
.mp-view-controls {position:relative;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding:8px 11px;border-top:1px solid #dedbd3;background:#f9f8f5;}
.mp-view-controls .mp-model-actions,.mp-edit-mode {position:static;display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px;border:0;background:transparent;border-radius:0;padding:0;box-shadow:none;}
.mp-edit-mode {margin-right:auto;}
.mp-model-actions select,.mp-edit-mode button {border:1px solid #d1ccc1;background:#fffefa;border-radius:6px;color:#39362e;font:600 12px/1.2 system-ui,sans-serif;min-height:34px;}
.mp-model-actions select {width:auto;max-width:140px;padding:5px 22px 5px 10px;}
.mp-edit-mode button {display:inline-flex;gap:5px;align-items:center;padding:5px 8px;cursor:pointer;}
.mp-model-actions button[aria-pressed=true],.mp-edit-mode button[aria-pressed=true] {color:#191810;background:#ffda4c;}
.mp-product-stage[data-placement=move] canvas {cursor:move;}
.mp-product-stage canvas:focus-visible,.mp-edit-mode button:focus-visible,.mp-model-actions select:focus-visible {outline:2px solid #9f7300;outline-offset:-2px;}
@media(max-width:540px){
 .mp-view-controls{justify-content:center;gap:6px;padding:7px;}
 .mp-edit-mode{justify-content:center;width:100%;margin-right:0;}
 .editor .mp-example-toggle {bottom:auto;left:auto;top:12px;right:8px;font-size:10px;padding:5px 7px;max-width:117px;}
}

.mp-garment-loading{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);padding:.5rem .85rem;border-radius:1.2rem;background:#fffcf3eb;font-size:.88rem;white-space:nowrap;color:#38352d;pointer-events:none}
