/* MorReyon design studio: shopping-site colors, clear controls and a roomy 3D preview. */
.wm-planner {
  --wm-purple: #7136a1;
  --wm-deep: #582480;
  --wm-soft: #f8f4fb;
  --wm-tint: #f0e7f7;
  --wm-ink: #22232b;
  --wm-muted: #70727d;
  --wm-line: #e0e2e8;
  margin: 40px 0 32px;
  border: 1px solid var(--wm-line);
  border-radius: 10px;
  background: #fff;
  color: var(--wm-ink);
  overflow: hidden;
  scroll-margin-top: 150px;
}
.wm-planner *, .wm-planner *::before, .wm-planner *::after { box-sizing: border-box; }
.wm-planner :is(button, input, select) { font: inherit; }
.wm-planner button { cursor: pointer; }
.wm-planner button:disabled { cursor: default; opacity: .45; }
.wm-planner button, .wm-planner a { touch-action: manipulation; }
.wm-planner :is(button, a, input, select, [tabindex]):focus-visible, .wm-launch:focus-visible { outline: 3px solid #7136a180; outline-offset: 3px; }
.wm-planner svg { flex-shrink: 0; vertical-align: middle; }
.wm-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; border-top: 4px solid var(--wm-purple); border-bottom: 1px solid var(--wm-line); }
.wm-header-intro { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wm-studio-mark { display: grid; place-items: center; width: 60px; height: 60px; flex: 0 0 60px; border: 1px solid #e5d8ee; border-radius: 10px; background: var(--wm-soft); color: var(--wm-purple); }
.wm-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--wm-purple); }
.wm-header h2 { font-size: 28px; font-weight: 800; letter-spacing: -.7px; line-height: 1.2; margin: 5px 0 6px; }
.wm-header p { font-size: 13px; margin: 0; color: var(--wm-muted); line-height: 1.6; }
.wm-header-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.wm-live-badge { display: flex; gap: 7px; align-items: center; font-size: 11px; font-weight: 650; color: #276c44; border: 1px solid #d5e8dc; background: #f2f9f4; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.wm-live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #379661; }
.wm-reset { display: flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--wm-line); border-radius: 6px; background: #fff; font-size: 12px !important; font-weight: 650 !important; color: var(--wm-purple); padding: 10px 12px; }
.wm-reset:hover:not(:disabled) { border-color: #d9c4e8; background: var(--wm-soft); }
.wm-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; background: #f5f6f8; }
.wm-design { min-width: 0; padding: 20px; }
.wm-stage { position: relative; border-radius: 8px; background: #e7edf4; overflow: hidden; border: 1px solid #cdd7e3; }
.wm-stage-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 3; pointer-events: none; }
.wm-stage-meta { display: flex; align-items: center; gap: 8px; }
.wm-stage-meta b { font-size: 11px; font-weight: 650; color: #273244; }
.wm-count { font-size: 11px; font-weight: 750; padding: 5px 9px; border-radius: 5px; background: #fff; color: var(--wm-purple); white-space: nowrap; }
.wm-view-switch { display: flex; gap: 4px; padding: 4px; background: #fffffff0; border: 1px solid #fff; border-radius: 8px; pointer-events: auto; }
.wm-view-switch button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; font-size: 12px; font-weight: 650; padding: 8px 12px; color: var(--wm-muted); background: transparent; border: 0; border-radius: 5px; }
.wm-view-switch button.is-active { color: #fff; background: var(--wm-purple); }
.wm-preview { height: 420px; position: relative; }
.wm-scene, .wm-3d-host, .wm-photo-stage { position: absolute; inset: 0; }
.wm-3d-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.wm-3d-canvas:active { cursor: grabbing; }
.wm-photo-stage { padding: 80px 70px 108px; }
.wm-combined-image { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wm-edge { position: absolute; top: 47%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #5e5751; border: 0; background: transparent; padding: 8px; transform: translateY(-50%); }
.wm-edge-left { left: 8px; } .wm-edge-right { right: 8px; }
.wm-edge>svg { display: block; width: 44px; height: 44px; padding: 11px; border: 1px solid #fff; border-radius: 8px; background: #ffffffee; }
.wm-edge>span { font-size: 11px; font-weight: 650; padding: 3px 5px; border-radius: 4px; background: #ffffffd9; }
.wm-edge.is-active { color: var(--wm-purple); }
.wm-edge.is-active>svg { background: var(--wm-purple); border-color: var(--wm-purple); color: #fff; }
.wm-edge:hover:not(:disabled)>svg { border-color: var(--wm-purple); }
.wm-stage-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--wm-line); }
.wm-gesture-hint { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #5e5751; padding: 7px 9px; background: #ffffffd9; border-radius: 6px; }
.wm-gesture-mobile { display: none; }
.wm-camera-tools { display: flex; gap: 4px; padding: 4px; background: #ffffffed; border: 1px solid #fff; border-radius: 8px; pointer-events: auto; }
.wm-camera-tools button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 5px; color: #5e5751; background: transparent; }
.wm-camera-tools button:hover:not(:disabled) { background: var(--wm-tint); color: var(--wm-purple); }
.wm-scene-settings { display: flex; justify-content: center; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--wm-line); }
.wm-scene-settings button { display: flex; justify-content: center; gap: 8px; align-items: center; min-width: 0; min-height: 44px; color: #5b5e69; font-size: 12px; font-weight: 650; background: #fff; border: 1px solid var(--wm-line); border-radius: 6px; padding: 8px 12px; }
.wm-scene-settings button[aria-pressed="true"] { border-color: #d9c4e8; color: var(--wm-purple); background: var(--wm-soft); }
.wm-toggle { display: block; flex: 0 0 28px; width: 28px; height: 16px; border-radius: 20px; background: #b9bdc5; position: relative; margin-left: 2px; transition: background .2s; }
.wm-toggle::after { content: ''; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; background: #fff; border-radius: 50%; transition: transform .2s; }
.wm-toggle.is-on { background: var(--wm-purple); } .wm-toggle.is-on::after { transform: translateX(12px); }
.wm-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #526078; font-size: 13px; background: #e7edf4; }
.wm-loading>span { border: 2px solid #d5cdc3; border-top-color: var(--wm-purple); width: 30px; height: 30px; border-radius: 50%; animation: wm-spin 1s linear infinite; }
@keyframes wm-spin { to { transform: rotate(360deg); } }
.wm-fallback { padding: 90px 65px 110px; text-align: center; overflow: auto; height: 100%; }
.wm-fallback>p { font-size: 12px; color: #5e5751; }
.wm-lineup { display: flex; justify-content: center; min-width: max-content; }
.wm-unit { width: 130px; } .wm-unit img { width: 100%; height: 260px; object-fit: contain; mix-blend-mode: multiply; }
.wm-unit>span { font-size: 12px; }
.wm-image-missing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--wm-muted); font-size: 11px; }
.wm-photo-note { position: absolute; left: 20px; right: 20px; bottom: 18px; font-size: 11px; color: #5e5751; text-align: center; }
.wm-finishes, .wm-arrangement, .wm-interior { margin-top: 16px; padding: 18px; border: 1px solid var(--wm-line); border-radius: 8px; background: #fff; }
.wm-section-label { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; }
.wm-section-label>b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; }
.wm-section-label>span { display: flex; align-items: center; gap: 4px; color: var(--wm-muted); font-size: 11px; }
.wm-step-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--wm-tint); color: var(--wm-purple); font-size: 11px; font-weight: 800; }
.wm-finish-groups { display: grid; grid-template-columns: 1fr 1.15fr .85fr; gap: 16px; }
.wm-finish-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.wm-finish-group legend { padding: 0; margin-bottom: 10px; font-size: 12px; color: #5b5e69; font-weight: 650; }
.wm-led-group { grid-column: 1 / -1; }
.wm-led-group legend { margin-bottom: 5px; }
.wm-led-note { margin: 0 0 10px; color: var(--wm-muted); font-size: 11px; }
.wm-finish-options { display: flex; gap: 5px; }
.wm-finish-option { position: relative; display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border: 1px solid var(--wm-line); border-radius: 6px; cursor: pointer; }
.wm-finish-option:hover { background: var(--wm-soft); }
.wm-finish-option.is-selected { border-color: var(--wm-purple); background: var(--wm-soft); box-shadow: inset 0 0 0 1px var(--wm-purple); }
.wm-finish-option:has(input:focus-visible) { outline: 3px solid #7136a180; outline-offset: 2px; }
.wm-finish-option input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.wm-swatch { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px #00000014; pointer-events: none; }
.wm-swatch svg { opacity: 0; color: #fff; filter: drop-shadow(0 1px 2px #30283dcc); }
.wm-finish-option.is-selected .wm-swatch svg { opacity: 1; }
.wm-finish-name { font-size: 11px; color: #5b5e69; text-align: center; line-height: 1.4; overflow-wrap: anywhere; pointer-events: none; }
.wm-finish-option.is-selected .wm-finish-name { color: var(--wm-purple); font-weight: 650; }
.wm-selected { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; list-style: none; padding: 2px 2px 10px; margin: 0; scrollbar-width: thin; scrollbar-color: #d9c4e8 transparent; }
.wm-selected li { display: flex; flex: 0 0 178px; align-items: center; gap: 10px; min-width: 0; position: relative; padding: 12px; border: 1px solid var(--wm-line); border-radius: 6px; background: #fff; cursor: grab; }
.wm-selected li:hover { border-color: #d9c4e8; }
.wm-selected li.is-selected { border-color: var(--wm-purple); background: var(--wm-soft); box-shadow: inset 0 0 0 1px var(--wm-purple); }
.wm-selected li.is-drag-over { border-color: var(--wm-purple); background: var(--wm-tint); }
.wm-position { position: absolute; top: 8px; right: 9px; font-size: 10px; font-weight: 650; color: var(--wm-muted); }
.wm-selected img { width: 40px; height: 60px; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.wm-selected-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-top: 8px; }
.wm-selected-name b { font-size: 13px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-selected-name small { font-size: 11px; color: var(--wm-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wm-card-selected { display: none; position: absolute; top: 6px; left: 6px; width: 17px; height: 17px; border-radius: 4px; background: var(--wm-purple); color: #fff; place-items: center; }
.wm-selected li.is-selected .wm-card-selected { display: grid; }
.wm-selection-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.wm-selection-tools>span { font-size: 12px; color: var(--wm-purple); }
.wm-selection-tools b { font-weight: 750; }
.wm-selection-tools small { font-size: 12px; color: var(--wm-muted); }
.wm-item-controls { display: flex; gap: 6px; }
.wm-item-controls button { display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--wm-line); border-radius: 6px; color: var(--wm-purple); background: #fff; font-size: 11px; }
.wm-item-controls button:hover:not(:disabled) { background: var(--wm-soft); border-color: #d9c4e8; }
.wm-item-controls .wm-remove { color: #c92932; }
.wm-interior-target { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 12px; background: var(--wm-soft); border-radius: 6px; }
.wm-interior-target>span { font-size: 12px; color: var(--wm-purple); font-weight: 650; }
.wm-interior-target label { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: #5b5e69; }
.wm-interior-target select { min-width: 0; max-width: 100%; min-height: 40px; padding: 8px; border: 1px solid #d9c4e8; border-radius: 6px; background: #fff; color: var(--wm-ink); font-size: 12px; }
.wm-interior-columns { display: flex; gap: 6px; }
.wm-interior-columns button { min-height: 40px; padding: 8px 12px; border: 1px solid #d9c4e8; border-radius: 6px; background: #fff; color: var(--wm-purple); font-size: 12px; }
.wm-interior-columns button.is-active { color: #fff; border-color: var(--wm-purple); background: var(--wm-purple); }
.wm-interior-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wm-interior-control { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--wm-line); border-radius: 6px; background: #fff; min-width: 0; }
.wm-interior-control>span { display: flex; flex-direction: column; gap: 5px; }
.wm-interior-control b { font-size: 13px; font-weight: 750; }
.wm-interior-control small { font-size: 11px; color: var(--wm-muted); }
.wm-stepper { display: flex; align-items: center; flex-shrink: 0; gap: 0; padding: 3px; border: 1px solid #d9c4e8; border-radius: 8px; }
.wm-stepper button, .wm-hanging-button { display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 5px; background: var(--wm-soft); color: var(--wm-purple); min-height: 40px; padding: 8px 10px; font-size: 11px!important; font-weight: 650!important; }
.wm-stepper button { width: 40px; }
.wm-stepper button:last-child, .wm-hanging-button { background: var(--wm-purple); color: #fff; }
.wm-stepper output { min-width: 30px; text-align: center; font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.wm-hanging-button { flex-shrink: 0; border: 1px solid var(--wm-purple); }
.wm-hanging-button[aria-pressed="true"] { background: var(--wm-soft); color: var(--wm-purple); border-color: #d9c4e8; }
.wm-stepper button:hover:not(:disabled) { background: var(--wm-tint); }
.wm-stepper button:last-child:hover:not(:disabled), .wm-hanging-button:hover:not(:disabled) { background: var(--wm-deep); color: #fff; }
.wm-interior-note { margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: var(--wm-muted); }
.wm-preview-note { margin: 14px 2px 0; font-size: 11px; color: var(--wm-muted); line-height: 1.6; }
.wm-picker { padding: 24px 20px; border-left: 1px solid var(--wm-line); background: #fff; min-width: 0; display: flex; flex-direction: column; scroll-margin-top: 150px; }
.wm-picker-heading h3 { font-size: 24px; font-weight: 800; margin: 6px 0; letter-spacing: -.5px; }
.wm-picker-heading p { margin: 0; color: var(--wm-muted); font-size: 12px; line-height: 1.6; }
.wm-side-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #f5f6f8; border: 1px solid var(--wm-line); padding: 4px; border-radius: 8px; margin: 18px 0 12px; }
.wm-side-switch button { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 650; color: var(--wm-muted); background: transparent; border: 0; border-radius: 5px; padding: 9px; }
.wm-side-switch button.is-active { background: var(--wm-purple); color: #fff; }
.wm-search { display: flex; align-items: center; gap: 8px; color: var(--wm-purple); padding: 0 12px; border: 1px solid #c8cbd5; border-radius: 6px; background: #fff; }
.wm-search:focus-within { border-color: var(--wm-purple); }
.wm-search input { font-size: 12px; width: 100%; min-width: 0; border: 0; background: transparent; height: 44px; color: var(--wm-ink); }
.wm-search input::placeholder { color: var(--wm-muted); }
.wm-filter { display: flex; align-items: center; gap: 12px; margin: 10px 0 12px; font-size: 12px; color: var(--wm-muted); }
.wm-filter select { font-size: 12px; flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--wm-line); border-radius: 6px; background: #fff; color: var(--wm-ink); padding: 8px; }
.wm-catalog { display: flex; flex-direction: column; gap: 10px; max-height: 474px; overflow-y: auto; padding: 2px 5px 2px 2px; scrollbar-width: thin; scrollbar-color: #d9c4e8 transparent; }
.wm-option { display: grid; grid-template-columns: 58px minmax(0, 1fr) 44px; align-items: center; gap: 10px; padding: 12px 10px; border: 1px solid var(--wm-line); border-radius: 6px; background: #fff; }
.wm-option:hover { border-color: #d9c4e8; background: var(--wm-soft); }
.wm-option.is-in-layout { border-color: #d9c4e8; background: var(--wm-soft); }
.wm-option-image { position: relative; height: 74px; display: flex; justify-content: center; align-items: center; border-radius: 4px; background: #f5f4f2; }
.wm-option-image>img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.wm-added-count { position: absolute; bottom: 2px; right: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; color: #fff; background: var(--wm-purple); font-size: 11px; font-weight: 700; }
.wm-option h4 { font-size: 13px; font-weight: 750; margin: 0 0 4px; }
.wm-option p { font-size: 11px; color: var(--wm-muted); margin: 0 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-option strong { display: block; font-size: 13px; font-weight: 800; color: var(--wm-ink); font-variant-numeric: tabular-nums; }
.wm-option>button { display: flex; justify-content: center; align-items: center; gap: 5px; width: 44px; min-height: 44px; padding: 4px 2px; border: 1px solid #d9c4e8; background: #fff; color: var(--wm-purple); border-radius: 6px; font-size: 10px; }
.wm-option>button:hover:not(:disabled) { color: #fff; background: var(--wm-purple); border-color: var(--wm-purple); }
.wm-option-add-label { display: none; }
.wm-empty { font-size: 12px; color: var(--wm-muted); padding: 24px 10px; text-align: center; }
.wm-totals { margin-top: 20px; padding: 16px; border: 1px solid #d9c4e8; border-radius: 8px; background: var(--wm-soft); }
.wm-base-price { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #e5d8ee; margin-bottom: 14px; }
.wm-totals small { font-size: 12px; color: var(--wm-muted); }
.wm-base-price b { font-size: 12px; color: #5b5e69; font-weight: 650; }
.wm-layout-price { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; }
.wm-layout-price small { color: var(--wm-purple); font-weight: 650; }
.wm-layout-price strong { font-size: 26px; font-weight: 850; letter-spacing: -.6px; color: var(--wm-purple); font-variant-numeric: tabular-nums; }
.wm-combination-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; font-size: 12px; font-weight: 750; padding: 12px; border-radius: 6px; background: var(--wm-purple); color: #fff; text-decoration: none; margin-bottom: 12px; }
.wm-combination-link:hover { background: var(--wm-deep); }
.wm-purchase-note { font-size: 11px; color: var(--wm-muted); line-height: 1.65; margin: 0; }
.wm-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 14px 24px; background: #fff; border-top: 1px solid var(--wm-line); font-size: 11px; color: var(--wm-muted); }
.wm-footer>span:first-child { display: flex; gap: 6px; align-items: center; color: var(--wm-purple); font-weight: 650; }
.wm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wm-launch { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #d9c4e8; border-radius: 8px; background: var(--wm-soft, #f8f4fb); text-decoration: none; padding: 16px; margin: 18px 0; color: #7136a1; }
.wm-launch>span { display: flex; flex-direction: column; gap: 5px; }
.wm-launch b { font-size: 14px; } .wm-launch small { font-size: 12px; color: #70727d; font-weight: 400; }
.wm-launch>strong { font-size: 24px; font-weight: 400; }
@media (min-width: 1400px) { .wm-workspace { grid-template-columns: minmax(0,1fr) 400px; } }
@media (min-width: 1001px) and (max-width: 1200px) {
  .wm-workspace { grid-template-columns: minmax(0,1fr) 360px; }
  .wm-design { padding: 16px; } .wm-picker { padding: 24px 16px; }
  .wm-stage-meta { flex-direction: column; align-items: flex-start; gap: 5px; }
  .wm-gesture-hint { max-width: 145px; }
  .wm-interior-controls { grid-template-columns: 1fr; }
  .wm-finish-groups { grid-template-columns: 1fr; gap: 16px; }
  .wm-finish-option { flex-direction: row; justify-content: center; gap: 6px; }
  .wm-finish-name { overflow-wrap: normal; }
}
@media (max-width: 1000px) {
  .wm-workspace { grid-template-columns: 1fr; }
  .wm-picker { border-left: 0; border-top: 1px solid var(--wm-line); padding: 24px 20px; }
  .wm-catalog { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-height: 520px; padding: 2px; }
  .wm-option { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .wm-option-image { height: 130px; }
  .wm-option p { margin-bottom: 7px; }
  .wm-option>button { width: 100%; font-size: 12px; font-weight: 700; }
  .wm-option-add-label { display: inline; }
  .wm-totals { max-width: none; }
}
@media (max-width: 760px) {
  .wm-planner { margin-top: 28px; scroll-margin-top: 120px; }
  .wm-header { padding: 20px 16px; align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .wm-header-intro { gap: 12px; align-items: flex-start; }
  .wm-studio-mark { width: 44px; height: 44px; flex-basis: 44px; border-radius: 8px; }
  .wm-studio-mark svg { width: 24px; height: 24px; }
  .wm-header h2 { font-size: 24px; }
  .wm-header p { font-size: 12px; }
  .wm-header-actions { width: 100%; justify-content: space-between; }
  .wm-design { padding: 12px; }
  .wm-preview { height: 300px; }
  .wm-stage-top { top: 10px; left: 10px; right: 10px; align-items: flex-start; gap: 8px; }
  .wm-stage-meta { flex-direction: column; align-items: flex-start; gap: 5px; }
  .wm-stage-meta b { font-size: 10px; max-width: 108px; line-height: 1.4; }
  .wm-count { font-size: 10px; padding: 4px 7px; }
  .wm-view-switch { gap: 2px; padding: 3px; }
  .wm-view-switch button { min-height: 44px; font-size: 11px; padding: 8px; gap: 4px; }
  .wm-view-switch svg { width: 14px; height: 14px; }
  .wm-edge { padding: 0; gap: 6px; top: 46%; }
  .wm-edge-left { left: 8px; } .wm-edge-right { right: 8px; }
  .wm-edge>span { font-size: 9px; padding: 3px; }
  .wm-stage-bottom { flex-direction: column; align-items: center; gap: 6px; }
  .wm-gesture-hint { font-size: 10px; padding: 4px 8px; }
  .wm-gesture-desktop { display: none; } .wm-gesture-mobile { display: inline; }
  .wm-camera-tools button { width: 44px; height: 44px; }
  .wm-scene-settings { gap: 6px; padding: 10px 8px; }
  .wm-scene-settings button { flex: 1; gap: 5px; font-size: 10px; padding: 8px 6px; }
  .wm-scene-settings svg { display: none; }
  .wm-scene-settings .wm-toggle { display: none; }
  .wm-photo-stage { padding: 85px 48px 115px; }
  .wm-photo-note { left: 12px; right: 12px; bottom: 16px; font-size: 10px; }
  .wm-finishes, .wm-arrangement, .wm-interior { padding: 16px 12px; margin-top: 12px; }
  .wm-section-label { margin-bottom: 14px; }
  .wm-section-label>b { font-size: 13px; }
  .wm-section-label>span { font-size: 10px; }
  .wm-finish-groups { grid-template-columns: 1fr; gap: 16px; }
  .wm-finish-group legend { font-size: 12px; margin-bottom: 8px; }
  .wm-finish-options { gap: 5px; }
  .wm-finish-option { padding: 9px 4px; min-height: 44px; }
  .wm-finish-name { font-size: 10px; }
  .wm-selected li { flex-basis: 160px; }
  .wm-selection-tools>span { width: 100%; }
  .wm-item-controls { width: 100%; }
  .wm-item-controls button { flex: 1; min-height: 44px; padding: 8px 5px; font-size: 10px; gap: 3px; }
  .wm-interior-target { padding: 10px; gap: 8px; }
  .wm-interior-target>span { width: 100%; font-size: 11px; }
  .wm-interior-controls { grid-template-columns: 1fr; gap: 8px; }
  .wm-interior-control { padding: 12px 10px; gap: 8px; }
  .wm-interior-control small { font-size: 10px; }
  .wm-stepper button { width: 44px; min-height: 44px; }
  .wm-stepper output { min-width: 28px; }
  .wm-hanging-button, .wm-interior-columns button, .wm-interior-target select { min-height: 44px; }
  .wm-interior-note, .wm-preview-note { font-size: 10px; }
  .wm-picker { padding: 24px 16px; }
  .wm-catalog { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wm-option { padding: 10px; }
  .wm-option-image { height: 115px; }
  .wm-option h4 { font-size: 12px; }
  .wm-option p { font-size: 10px; }
  .wm-option strong { font-size: 12px; }
  .wm-search input { font-size: 16px; }
  .wm-footer { padding: 14px 16px; font-size: 10px; }
  .product-detail:has(.wm-planner) .detail-info { min-width: 0; }
  .product-detail:has(.wm-planner) .detail-actions { margin-inline: 0; max-width: 100%; }
  .product-detail:has(.wm-planner) .detail-add { min-width: 0; font-size: 12px; }
}
@media (max-width: 350px) {
  .wm-design { padding: 8px; }
  .wm-header h2 { font-size: 22px; }
  .wm-header { padding: 18px 12px; }
  .wm-studio-mark { display: none; }
  .wm-stage-meta b { max-width: 90px; }
  .wm-picker { padding: 20px 12px; }
  .wm-interior-control { flex-wrap: wrap; }
  .wm-stepper, .wm-hanging-button { margin-left: auto; }
  .wm-preview { height: 280px; }
  .wm-finish-option { padding-inline: 2px; }
}
/* A single bounded editor keeps the studio compact as modules are added. */
.wm-editor { min-width: 0; padding: 16px; border-left: 1px solid var(--wm-line); background: #fff; scroll-margin-top: 150px; }
.wm-editor-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; border: 1px solid var(--wm-line); border-radius: 8px; background: #f5f6f8; }
.wm-editor-tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 44px; padding: 8px; border: 0; border-radius: 5px; background: transparent; color: var(--wm-muted); font-size: 12px; font-weight: 700; }
.wm-editor-tabs button[aria-selected="true"] { background: var(--wm-purple); color: #fff; }
.wm-editor-tabs button:hover:not([aria-selected="true"]) { background: var(--wm-tint); color: var(--wm-purple); }
.wm-editor-panels { height: 384px; overflow: hidden; border: 1px solid var(--wm-line); border-radius: 8px; }
.wm-editor-panel { height: 100%; padding: 14px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d9c4e8 transparent; }
.wm-editor-panel[hidden] { display: none; }
.wm-editor :is(.wm-picker, .wm-arrangement, .wm-interior, .wm-finishes) { margin: 0; padding: 0; border: 0; background: transparent; }
.wm-editor .wm-picker-heading .wm-eyebrow { display: none; }
.wm-editor .wm-picker-heading h3 { margin: 0 0 6px; font-size: 18px; }
.wm-editor .wm-picker-heading p { font-size: 11px; }
.wm-editor .wm-side-switch { margin-top: 12px; }
.wm-editor .wm-catalog { display: flex; max-height: none; padding: 2px; gap: 8px; overflow: visible; }
.wm-editor .wm-option { grid-template-columns: 48px minmax(0, 1fr) 44px; padding: 10px; gap: 8px; }
.wm-editor .wm-option-image { height: 64px; }
.wm-editor .wm-option>button { width: 44px; font-size: 10px; }
.wm-editor .wm-option-add-label { display: none; }
.wm-editor .wm-section-label { align-items: flex-start; margin-bottom: 14px; }
.wm-editor .wm-section-label>span { width: 100%; font-size: 11px; }
.wm-editor .wm-step-number { display: none; }
.wm-editor .wm-selection-tools>span { width: 100%; }
.wm-editor .wm-item-controls { width: 100%; }
.wm-editor .wm-item-controls button { flex: 1; min-height: 44px; padding: 8px 4px; font-size: 10px; gap: 3px; }
.wm-editor .wm-interior-controls { grid-template-columns: 1fr; gap: 8px; }
.wm-editor .wm-interior-target { padding: 10px; }
.wm-editor .wm-cabinet-select { width: 100%; }
.wm-editor .wm-cabinet-select select { width: 0; flex: 1; }
.wm-editor .wm-finish-groups { grid-template-columns: 1fr; gap: 14px; }
.wm-editor .wm-finish-option { flex-direction: column; padding: 8px 4px; }
.wm-editor .wm-finish-name { font-size: 10px; overflow-wrap: anywhere; }
.wm-editor .wm-totals { margin-top: 12px; padding: 12px; }
.wm-editor .wm-layout-price { margin-bottom: 4px; }
.wm-editor .wm-layout-price strong { font-size: 24px; }
.wm-editor .wm-combination-link { margin-block: 12px 4px; }
.wm-summary-details summary { min-height: 44px; padding-block: 12px; color: #5b5e69; font-size: 11px; cursor: pointer; }
.wm-summary-details .wm-base-price { margin-top: 6px; }
.wm-summary-details .wm-preview-note { margin-inline: 0; }
@media (max-width: 1000px) {
  .wm-editor { border-left: 0; border-top: 1px solid var(--wm-line); scroll-margin-top: 120px; }
  .wm-preview { height: 320px; }
  .wm-editor-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wm-editor-panels { height: 340px; }
  .wm-editor .wm-finish-groups { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .wm-preview { height: 300px; }
  .wm-header { padding: 16px; gap: 12px; }
  .wm-header h2 { font-size: 22px; }
  .wm-header p { display: none; }
  .wm-header-actions { width: auto; margin-left: auto; }
  .wm-live-badge { display: none; }
  .wm-studio-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .wm-header-intro { gap: 10px; }
  .wm-header .wm-eyebrow { font-size: 9px; }
  .wm-header .wm-reset { padding: 8px; font-size: 11px!important; }
  .wm-stage-bottom { flex-direction: row; justify-content: space-between; padding: 8px; gap: 6px; }
  .wm-stage-bottom .wm-gesture-hint { max-width: 72px; font-size: 9px; padding: 0; line-height: 1.4; }
  .wm-stage-bottom .wm-gesture-hint svg { display: none; }
  .wm-camera-tools { padding: 0; gap: 0; }
  .wm-editor { padding: 12px; }
  .wm-editor-tabs { margin-bottom: 10px; }
  .wm-editor-tabs button { font-size: 11px; padding: 8px 3px; }
  .wm-editor-tabs svg { display: none; }
  .wm-editor-panel { padding: 12px; }
  .wm-editor .wm-finish-groups { grid-template-columns: 1fr; gap: 12px; }
  .wm-editor .wm-option strong { font-size: 12px; }
  .wm-editor .wm-interior-control { flex-wrap: wrap; }
}
@media (max-width: 350px) { .wm-preview { height: 280px; } .wm-header { padding: 12px; } .wm-header h2 { font-size: 20px; } .wm-editor { padding: 8px; } }
@media (prefers-reduced-motion: reduce) { .wm-planner *, .wm-planner *::before, .wm-planner *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; } }
