#spaceMockup{--mk-ink:#181b25;--mk-blue:#1c4ddd;--mk-line:#d3d7e0;--mk-paper:#faf9f5;padding:0;border:0;border-radius:18px;width:min(1420px,calc(100vw - 42px));max-width:calc(100vw - 16px);max-height:94dvh;overflow:auto;overscroll-behavior:contain;color:var(--mk-ink);background:var(--mk-paper);box-shadow:0 22px 90px #08153255}
#spaceMockup::backdrop{background:#10172cc9;backdrop-filter:blur(3px)}
#spaceMockup .mk-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 25px 17px;background:#171a22;color:white}
#spaceMockup .mk-header h2{font:740 clamp(1.5rem,2.5vw,2rem)/1.05 Inter,sans-serif;letter-spacing:-.048em;color:white;margin:0}
#spaceMockup .mk-header p{color:#d5d9e1;font-size:.91rem;line-height:1.4;margin:6px 0 0;max-width:65ch}
#spaceMockup button,#spaceMockup select,#spaceMockup input,#spaceMockup textarea{font-family:Inter,Arial,sans-serif}
#spaceMockup button{font-size:.88rem;font-weight:650;background:#fff;color:var(--mk-ink);border:1px solid #c4cbd6;border-radius:7px;padding:7px 10px;line-height:1.3;cursor:pointer}
#spaceMockup button:hover:not(:disabled){border-color:#697caa;background:#f1f5ff}
#spaceMockup button:focus-visible,#spaceMockup select:focus-visible,#spaceMockup .mk-board:focus-visible,#spaceMockup textarea:focus-visible,#spaceMockup input:focus-visible{outline:3px solid #4478ff;outline-offset:3px}
#spaceMockup button:disabled{opacity:.42;cursor:default}
#spaceMockup .mk-close{background:#303642;border:1px solid #5b626e;color:white;font:400 25px/1 Arial;width:37px;height:37px;border-radius:50%;padding:0}
#spaceMockup .mk-close:hover{color:#121722}
#spaceMockup .mk-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,335px);gap:20px;padding:20px;align-items:start}
#spaceMockup .mk-work,#spaceMockup .mk-tools{min-width:0}
#spaceMockup .mk-work{position:sticky;top:0;background:white;border:1px solid var(--mk-line);border-radius:12px;overflow:hidden}
#spaceMockup .mk-bar,#spaceMockup .mk-modebar,#spaceMockup .mk-output{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 16px}
#spaceMockup .mk-bar strong{font-size:1rem}
#spaceMockup .mk-bar-actions,#spaceMockup .mk-modes{display:flex;align-items:center;gap:5px}
#spaceMockup .mk-bar button{background:#eef2ff;color:#183fa4;border-color:transparent;font-size:.82rem;min-height:32px}
#spaceMockup .mk-stage{height:clamp(310px,51vh,640px);display:grid;place-items:center;background:#e6e9f0;background-image:radial-gradient(#b5becb .78px,transparent .9px);background-size:12px 12px;overflow:hidden;isolation:isolate}
#spaceMockup .mk-board{position:relative;width:100%;height:100%;touch-action:none;cursor:grab;max-width:100%;max-height:100%}
#spaceMockup .mk-drag{cursor:grabbing}#spaceMockup .mk-marking{cursor:crosshair}
#spaceMockup .mk-board canvas{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;pointer-events:none}
#spaceMockup .mk-handles{position:absolute;inset:0;pointer-events:none}
#spaceMockup .mk-handle{position:absolute;transform:translate(-50%,-50%);width:13px;height:13px;min-width:0;min-height:0;background:#fff;border:2px solid #2352da;border-radius:2px;padding:0;box-shadow:0 0 0 1px #fff9;pointer-events:auto;cursor:nwse-resize}
#spaceMockup .mk-handle::after{content:"";position:absolute;inset:-5px}
#spaceMockup .mk-handle[data-corner="1"],#spaceMockup .mk-handle[data-corner="3"]{cursor:nesw-resize}
#spaceMockup .mk-modebar{padding-bottom:5px;min-height:43px}
#spaceMockup .mk-modes button{font-size:.84rem}
#spaceMockup .mk-modes [aria-pressed=true],#spaceMockup .mk-placements [aria-pressed=true]{color:#153d9a;border-color:#7796f4;background:#eef2ff}
#spaceMockup .mk-scale{padding:5px 8px;border-radius:5px;background:#f2eee2;color:#594824;font-weight:650;font-size:.78rem}
#spaceMockup .mk-calibrated{background:#e9f3cd;color:#364913}
#spaceMockup .mk-hint{margin:3px 16px 12px;color:#465266;font-size:.86rem;line-height:1.4}
#spaceMockup .mk-output{border-top:1px solid var(--mk-line);background:#fafbfe}
#spaceMockup .mk-output strong,#spaceMockup .mk-output small{display:block}
#spaceMockup .mk-output strong{font-size:.88rem}#spaceMockup .mk-output small{font-size:.75rem;color:#506077;margin-top:3px}
#spaceMockup button.mk-primary{background:var(--mk-blue);color:white;border-color:var(--mk-blue);padding:10px 14px}
#spaceMockup button.mk-primary:hover{background:#143eaf}
#spaceMockup .mk-feedback{background:#edf4ff;color:#183a78;padding:9px 15px;margin:0;font-size:.84rem;line-height:1.4}
#spaceMockup .mk-feedback:empty{display:none}#spaceMockup .mk-feedback.mk-error{background:#fff0e9;color:#813610}
#spaceMockup .mk-tools{display:grid;gap:10px}
#spaceMockup .mk-tools>section,#spaceMockup .mk-reset{padding:14px;background:#fff;border:1px solid var(--mk-line);border-radius:11px}
#spaceMockup .mk-tools h3{margin:0 0 10px;font-size:1.03rem;font-weight:730;letter-spacing:-.03em}
#spaceMockup label,#spaceMockup .mk-label{display:block;font-size:.84rem;font-weight:650;margin:10px 0 5px;color:var(--mk-ink)}
#spaceMockup select,#spaceMockup input:not([type=file]),#spaceMockup textarea{display:block;width:100%;max-width:100%;margin:5px 0 0;padding:8px 9px;border:1px solid #bcc5d0;border-radius:6px;background-color:#fff;color:var(--mk-ink);font-size:.89rem;font-weight:450;line-height:1.32;min-width:0}
#spaceMockup select{padding-right:28px}#spaceMockup textarea{resize:vertical}
#spaceMockup .mk-room-row,#spaceMockup .mk-row,#spaceMockup .mk-add,#spaceMockup .mk-measure{display:flex;align-items:center;gap:6px}
#spaceMockup .mk-room-row{justify-content:space-between;gap:10px}
#spaceMockup .mk-room-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.87rem;color:#475061}
#spaceMockup .mk-room-row button,#spaceMockup .mk-add button,#spaceMockup .mk-measure button{flex:none}
#spaceMockup .mk-add select{margin:0;flex:1;min-width:0}#spaceMockup .mk-row{flex-wrap:wrap;margin-top:7px}
#spaceMockup .mk-measure{align-items:end}
#spaceMockup .mk-measure label{flex:1;min-width:0;margin:5px 0 1px;font-size:.81rem}#spaceMockup .mk-measure input{width:100%}
#spaceMockup .mk-measure button{margin-bottom:1px}#spaceMockup .mk-label{margin-bottom:0}#spaceMockup .mk-label small{font:inherit;color:#5a6473}
#spaceMockup .mk-scale-details{border-top:1px solid #e6e8ed;margin-top:11px;padding-top:10px}
#spaceMockup summary{cursor:pointer;font-size:.86rem;font-weight:680;color:#233756}
#spaceMockup .mk-scale-details p,#spaceMockup .mk-reset p,#spaceMockup .mk-note{margin:7px 0 3px;font-size:.79rem;line-height:1.4;color:#535d6c}
#spaceMockup .mk-placements{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0;font-size:.82rem;color:#506077}
#spaceMockup .mk-placements button{font-size:.8rem;padding:5px 8px}
#spaceMockup .mk-order button,#spaceMockup .mk-art-options button{font-size:.8rem;padding:5px 7px}
#spaceMockup .mk-draft{margin-top:4px;background:#ecf1ff;color:#1a429c;border-color:#bbcaf2}
#spaceMockup .mk-sr{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
#spaceMockup [hidden]{display:none!important}
@media(max-width:930px){#spaceMockup .mk-layout{padding:13px;gap:12px;grid-template-columns:minmax(0,1fr) 270px}#spaceMockup .mk-stage{height:clamp(275px,40vh,480px)}#spaceMockup .mk-tools>section{padding:10px}#spaceMockup .mk-bar,#spaceMockup .mk-modebar,#spaceMockup .mk-output{padding-left:10px;padding-right:10px}}
@media(max-width:700px){#spaceMockup{width:calc(100vw - 14px);max-height:96dvh}#spaceMockup .mk-layout{grid-template-columns:minmax(0,1fr);gap:10px;padding:10px}#spaceMockup .mk-work{position:static}#spaceMockup .mk-header{padding:13px 15px}#spaceMockup .mk-stage{height:clamp(200px,51vw,325px)}#spaceMockup .mk-tools{gap:8px}#spaceMockup .mk-header p{font-size:.84rem}#spaceMockup .mk-hint{font-size:.8rem;margin-bottom:7px}#spaceMockup .mk-modes button{font-size:.78rem;padding:6px}#spaceMockup .mk-scale{font-size:.72rem}}
#spaceMockup .mk-product-catalog{padding:9px 10px;background:#f3f5fc;border:1px solid #d9deed;border-radius:8px}
#spaceMockup .mk-product-catalog summary{font-size:.85rem}
#spaceMockup .mk-product-catalog .mk-measure{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);margin-top:8px}
#spaceMockup .mk-product-catalog button{margin-top:6px}
#spaceMockup button.mk-planned{background:#eaf2cd;color:#344313;border-color:#cdde96;display:block;width:100%;text-align:left;margin-bottom:8px}
#spaceMockup .mk-model-id{display:grid;gap:4px;padding:8px 10px;background:#f1f4fc;border-radius:7px;line-height:1.4}
#spaceMockup .mk-model-id strong{font-size:.88rem}#spaceMockup .mk-model-id span,#spaceMockup .mk-model-id a{font-size:.78rem}
#spaceMockup .mk-model-id a{justify-self:start;color:#284b9c}
#spaceMockup .mk-screen-map{margin-top:10px}#spaceMockup .mk-screen-map button{margin-top:5px}
#spaceMockup .mk-photo-title{display:grid;gap:3px;min-width:0}
#spaceMockup .mk-photo-title span{font-size:.78rem;color:#566375;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:28ch}
#spaceMockup .mk-bar button.mk-stage-photo{color:white;background:#244bcc;border-color:#244bcc}
#spaceMockup .mk-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;gap:3px;background:#e8eaf1;border-radius:9px}
#spaceMockup .mk-tabs button{min-height:37px;font-weight:680;border:0;background:transparent;color:#42516b}
#spaceMockup .mk-tabs [aria-selected=true]{color:#193e9d;background:#fff;box-shadow:0 1px 4px #23365a28}
#spaceMockup .mk-tools .mk-step{width:100%;margin-top:13px;background:#edf2fc;color:#1645a0;border-color:#ced9ef}
#spaceMockup .mk-content-target{font-size:.82rem;line-height:1.4;border-left:3px solid #3c62d8;background:#f2f5fc;padding:7px 9px;color:#273b60;margin:0 0 12px}
#spaceMockup .mk-styles{margin:10px 0}#spaceMockup .mk-styles .mk-add{margin:8px 0}
#spaceMockup .mk-size-header{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:8px}
#spaceMockup .mk-size-header .mk-label,#spaceMockup .mk-size-header label,#spaceMockup .mk-size-header select{margin:0}
#spaceMockup .mk-size-header select{font-size:.78rem;padding:4px 20px 4px 6px}
#spaceMockup .mk-layer-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#spaceMockup .mk-layer-head h3{margin:0}
#spaceMockup .mk-layer-head button{color:#163b9c;border-color:#abbce8;font-size:.82rem}
#spaceMockup .mk-placements{display:grid;gap:5px;margin:9px 0 0;color:#4a5262}
#spaceMockup .mk-layer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch}
#spaceMockup .mk-layer button{padding:7px 9px;min-height:33px;font-size:.81rem;line-height:1.25}
#spaceMockup .mk-layer-name{text-align:left;overflow-wrap:anywhere}
#spaceMockup button.mk-layer-remove{background:#fff;color:#853535;border-color:#e3c8c8}
#spaceMockup button.mk-layer-remove:hover{background:#fdf0ed;border-color:#c99090}
#mockupOpen{position:relative}
#mockupOpen .path-dot.coral{background:#243353 url('assets/room-preview.webp') center / cover;flex:none}
#mockupOpen .path-dot.coral{width:58px;height:36px;border-radius:6px}
.mast-actions{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.7vw,26px);margin-left:auto}
.mast-actions .mast-guide,.mast-actions .room-header{display:inline-flex;align-items:center;gap:5px;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;color:white;text-decoration:none;font:620 .84rem/1.2 Inter,Arial,sans-serif;white-space:nowrap}
.mast-actions .room-header:hover,.mast-actions .mast-guide:hover{text-decoration:underline;text-underline-offset:3px}
.mast-actions .room-header span{color:#5be7e2}.mast-actions .mast-guide span{display:inline;margin:0}
.mast-actions .help{margin:0;white-space:nowrap}

#tryRoom{font-size:.82rem;background:#edf1fc;color:#234596;border:1px solid #c6d2ee;border-radius:7px;padding:7px 10px;font-weight:630}
@media(max-width:730px){#mockupOpen .path-dot.coral{width:28px;height:22px}#tryRoom{padding:6px 8px}.mast-actions{gap:12px}.mast-actions .mast-guide,.mast-actions .room-header{font-size:.76rem}}
@media(max-width:550px){.mast-inner{height:auto;min-height:56px;flex-wrap:wrap;gap:1px 12px;padding-block:6px}.mast-inner .brand img{height:35px}.mast-actions{flex:1 0 auto;justify-content:flex-end}}
@media(max-width:420px){.mast-actions{width:100%;justify-content:space-between}.mast-actions .room-header,.mast-actions .mast-guide{padding-block:6px}}

#spaceMockup .mk-photo-card{display:flex;align-items:center;gap:10px;margin:9px 0}
#spaceMockup .mk-photo-card img{width:78px;height:80px;object-fit:contain;padding:4px;background:white;border-radius:5px}
#spaceMockup .mk-photo-card strong{font-size:.78rem;color:#273757}
#spaceMockup .mk-photo-card .mk-note{margin:3px 0}
#spaceMockup .mk-photo-add{border-block:1px solid #e0e5ec;margin:12px 0;padding:10px 0}
#spaceMockup .mk-layer-name small{display:block;font-size:.71rem;font-weight:500;color:#526174}
#spaceMockup [data-do="attachProductPhoto"]{font-size:.78rem;margin-top:7px}

#spaceMockup .mk-request{background:#eef3ff;border:1px solid #bcccef;border-radius:7px;padding:10px;margin-bottom:10px}
#spaceMockup .mk-request h4{margin:0 0 5px;font-size:.94rem}
#spaceMockup .mk-request p{margin:5px 0 8px;font-size:.82rem;line-height:1.45}
#spaceMockup .mk-request button{margin:3px 2px 3px 0;font-size:.8rem}
#spaceMockup [data-ui=catalogSource]{display:inline-block;margin:5px 0;color:#204da5;font-size:.79rem;text-decoration:underline}
