:root{color:#18181b;font-synthesis:none;--line:#e4e4e7;--muted:#71717a;--accent:#2563eb;--panel:#fff;background:#f5f6f8;font-family:Pretendard,Noto Sans KR,system-ui,sans-serif;font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{border:1px solid var(--line);color:inherit;background:#fff;border-radius:7px}button{cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:7px 10px;display:inline-flex}button:hover:not(:disabled){background:#f4f7fc}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}button.primary:hover:not(:disabled){background:#1d4ed8}.icon-button{color:#525866;background:0 0;border-color:#0000;padding:6px}h2,h3,p{margin:0}h2,h3{font-size:13px}.app{flex-direction:column;height:100dvh;min-height:460px;display:flex}.app-header{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;align-items:center;gap:20px;min-height:64px;padding:10px 18px;display:flex}.brand{letter-spacing:-.02em;white-space:nowrap;align-items:center;gap:9px;font-weight:800;display:flex}.brand b{color:var(--accent)}.brand small,.space-summary small,.preset small,.saved-list small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;display:block}.brand-icon{color:#fff;background:#17284b;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.project-name{border-left:1px solid var(--line);align-items:center;gap:9px;min-width:0;padding-left:18px;display:flex}.project-name strong{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.project-name span{color:var(--muted);white-space:nowrap;font-size:11px}i{vertical-align:1px;background:#b5812d;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}i.saved-dot{background:#25835e}.header-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto;display:flex}.separator{background:var(--line);width:1px;height:21px;margin:0 2px}.modes{border-bottom:1px solid var(--line);background:#fff;min-height:40px;padding:0 18px;display:flex;overflow:auto}.modes button{letter-spacing:.025em;border:0;border-bottom:2px solid #0000;border-radius:0;padding:8px 12px;font-size:11px;font-weight:750}.modes button[aria-current]{border-bottom-color:var(--accent);color:#1d4ed8}.modes button span{letter-spacing:0;font-weight:500}.modes button small{font-weight:500}.workspace{grid-template-columns:var(--left,var(--left-user,260px)) minmax(0, 1fr) var(--right,var(--right-user,300px));flex:1;min-height:0;display:grid}.workspace.left-compact{--left:43px}.workspace.right-compact{--right:43px}.panel{background:var(--panel);border-right:1px solid var(--line);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.inspector{border-right:0;border-left:1px solid var(--line)}.panel-title,.editor-toolbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:8px;min-height:47px;padding:7px 13px;display:flex}.panel-title:has(button:only-child){justify-content:center;padding-inline:0}.panel-content{padding:12px;overflow:auto}.section-toggle{border:0;justify-content:flex-start;width:100%;margin-bottom:5px;padding:7px 4px;font-weight:700}.section-toggle svg:last-child{margin-left:auto}.chevron-closed{transform:rotate(-90deg)}.preset-list{gap:5px;display:grid}.preset{text-align:left;border-color:#0000;justify-content:flex-start;gap:10px;width:100%;padding:6px 9px}.preset[aria-pressed=true]{color:#1e50b7;background:#eff5ff;border-color:#cbdcfe;font-weight:650}.room-icon{color:#506078;background:#eef1f6;border-radius:7px;place-items:center;width:33px;height:33px;display:grid}.preset[aria-pressed=true] .room-icon{color:#2563eb;background:#dce9ff}.editor{flex-direction:column;min-width:0;min-height:0;display:flex}.editor-toolbar{padding-inline:14px}.segmented{background:#f3f5f8;border:1px solid #e7eaf0;border-radius:8px;padding:2px;display:flex}.segmented button{color:#525866;background:0 0;border-color:#0000;padding:4px 8px;font-size:11px}.segmented button[aria-pressed=true]{color:#1d4ed8;background:#fff;border-color:#dfe7f6;font-weight:650}.viewports{flex:1;gap:10px;min-height:0;padding:12px;display:flex}.viewport{background:#f8faff;border:1px solid #dfe4ec;border-radius:8px;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.viewport[hidden]{display:none}.viewport-header{color:#3f4d63;background:#fff;border-bottom:1px solid #e4e8f0;align-items:center;gap:7px;min-height:36px;padding:0 10px;display:flex}.viewport-header span{color:var(--muted);margin-left:auto;font-size:11px}.viewport-body{flex:1;min-height:0;position:relative}.plan-body{background-color:#f7f9fd;background-image:linear-gradient(#e6eaf1 1px,#0000 1px),linear-gradient(90deg,#e6eaf1 1px,#0000 1px);background-size:16px 16px;place-items:center;display:grid}.plan-drawing{width:100%;height:100%;display:block;overflow:hidden}.zoom-controls,.camera-controls{background:#fff;border:1px solid #dfe4ec;border-radius:7px;align-items:center;padding:2px;display:flex;position:absolute;right:8px}.zoom-controls{bottom:8px}.camera-controls{top:8px}.zoom-controls button,.camera-controls select{border:0;font-size:11px}.camera-controls select{padding:5px}.scene-hint{pointer-events:none;color:#526078;background:#f7f9fce8;border-radius:6px;padding:5px 7px;font-size:11px;position:absolute;bottom:10px;right:10px}.scene-error{color:#526078;padding:12px;font-size:12px}.space-summary{align-items:center;gap:10px;padding:7px 3px 15px;display:flex}.properties{border-top:1px solid var(--line);padding:13px 2px}.property-heading,.area-summary{justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px;display:flex}.property-heading span,.area-summary span{color:var(--muted);font-size:11px}.dimension-field{grid-template-columns:1fr minmax(85px,112px);align-items:center;gap:4px 8px;margin-bottom:8px;display:grid}.dimension-input{background:#fafbfc;border:1px solid #dfe4ec;border-radius:6px;align-items:center;padding-right:7px;display:flex}.dimension-input input{color:#252d3d;font-variant-numeric:tabular-nums;background:0 0;border:0;width:100%;min-width:0;padding:6px}.dimension-input>span{color:var(--muted);font-size:11px}.field-error{color:#a42323;grid-column:1/-1}.area-summary{color:#2b426f;background:#f4f7fc;border-radius:7px;margin:0;padding:11px 10px}.statusbar{border-top:1px solid var(--line);color:#5c6573;background:#fff;justify-content:space-between;align-items:center;padding:6px 14px;font-size:11px;display:flex}.statusbar b{color:#a1a1aa;margin-inline:3px}.error-bar{color:#a42323;background:#fff1f1;justify-content:space-between;align-items:center;padding:4px 12px;display:flex}dialog{width:min(420px,100% - 28px);color:inherit;border:1px solid #dfe4ec;border-radius:12px;padding:16px}dialog::backdrop{background:#101b3266}.dialog-heading,.dialog-actions{justify-content:space-between;align-items:center;display:flex}.dialog-heading{margin-bottom:13px}.dialog-heading h2{font-size:16px}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:16px}dialog form label{gap:5px;margin-top:12px;display:grid}dialog form input,dialog form select{border:1px solid var(--line);border-radius:7px;padding:8px}.saved-list{gap:5px;max-height:48vh;display:grid;overflow:auto}.saved-list p{color:var(--muted);padding:8px 0}.saved-list button{text-align:left;white-space:normal;overflow-wrap:anywhere;justify-content:flex-start}@media (width<=1150px){.workspace{grid-template-columns:var(--left,205px) minmax(0, 1fr) var(--right,230px)}}@media (width<=860px){.workspace{grid-template-columns:var(--left,175px) minmax(0, 1fr) var(--right,180px)}.viewports{flex-direction:column}}@media (width<=650px){.app{height:auto;min-height:100dvh}.workspace{flex-direction:column;display:flex}.panel:first-child{order:1}.panel{border:0;border-bottom:1px solid var(--line)}.panel-content{max-height:290px}.panel:first-child .preset-list{grid-template-columns:repeat(2,minmax(0,1fr))}.viewports{min-height:560px}.app-header{gap:8px}.header-actions{margin-left:0}.project-name strong{max-width:130px}}.panel-resize{z-index:2;cursor:col-resize;touch-action:none;width:6px;position:absolute;top:0;bottom:0}.panel-resize.left{right:-3px}.panel-resize.right{left:-3px}.panel-resize:hover,.panel-resize:focus-visible{background:#2563eb55;outline:none}@media (width<=1150px){.panel-resize{display:none}}.project-name .rename-project{border-color:#0000;justify-content:flex-start;min-width:0;margin-left:-4px;padding:4px}.rename-project svg{color:#71717a;flex-shrink:0}.rename-project-input{border:1px solid var(--line);border-radius:6px;width:220px;min-width:0;max-width:40vw;padding:4px 6px}.plan-drawing{touch-action:none;-webkit-user-select:none;user-select:none}.plan-tools,.plan-message{z-index:1;border:1px solid var(--line);background:#fff;border-radius:7px;flex-wrap:wrap;align-items:center;gap:3px;max-width:calc(100% - 16px);padding:2px;display:flex;position:absolute;top:8px;left:8px}.plan-message{padding:6px;font-size:11px;top:auto;bottom:47px}.plan-tools [aria-pressed=true]{color:#1d4ed8;background:#eaf1ff}.plan-tools select{font-size:11px}.dimension-label,[data-wall-id],[data-vertex-id]{cursor:pointer}.space-options{gap:6px;margin-bottom:8px;display:grid}.space-options label{justify-content:space-between;align-items:center;gap:6px;display:flex}.space-options input:not([type=checkbox]),.space-options select{border:1px solid var(--line);border-radius:6px;min-width:0;max-width:62%;padding:4px}.space-list{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.space-list button[aria-pressed=true]{color:#1d4ed8;background:#eaf1ff}.visibility-options{background:#fffffff0;border-radius:6px;padding:4px 6px;font-size:11px;position:absolute;top:49px;right:8px}.visibility-options label{display:block}.space-options fieldset{border:1px solid var(--line);border-radius:6px;min-width:0;padding:6px}.space-options fieldset label+label{margin-top:5px}.workspace details>summary{cursor:pointer;color:#364657;padding:6px 4px;font-weight:650}.reference-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.plan-message input{width:95px}.pending-feature{color:var(--muted);padding:4px;font-size:11px}.preset-reset{width:100%;margin:0 0 6px;font-size:11px}.preset{white-space:normal}.preset .room-icon{flex:0 0 33px}.preset small.preset-edited{color:#1e50b7;font-weight:650}.dimension-mark{cursor:pointer;-webkit-tap-highlight-color:transparent}.dimension-mark:focus-visible rect,.dimension-mark:hover rect{fill:#eef4ff;stroke:#9db9f1}.dimension-editor input{min-height:44px;font-size:16px}.inspector-navigation{margin-bottom:10px}@media (width<=650px){.workspace .editor,.workspace .viewports{display:contents}.workspace .viewport{min-height:345px;margin:0 8px 8px}.workspace .viewport[hidden]{display:none}.workspace .viewport:has(.plan-drawing){order:0}.workspace .inspector{order:1}.workspace .viewport:has(.scene-body){order:2}.workspace[data-view-mode=scene] .viewport:has(.scene-body){order:0}.workspace .panel:first-child{order:3}.workspace .panel-content{max-height:none;overflow:visible}.workspace .viewport-body{flex:1;min-height:298px}.panel button,.panel summary,.camera-controls button{min-height:44px}.panel input:not([type=checkbox]):not([type=range]),.panel select{min-height:40px;font-size:16px}.plan-tools .icon-button{min-width:40px;min-height:40px}.plan-tools select{min-height:40px}}.style-library{width:min(760px,100vw - 24px);max-height:min(800px,100dvh - 24px)}.style-note{color:#536176;margin:0 0 14px}.style-grid{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;display:grid}.style-card{border:1px solid var(--line);border-radius:8px;gap:6px;min-width:0;padding:8px;display:grid}.style-preview-button{text-align:left;white-space:normal;border:0;justify-items:stretch;padding:0;display:grid}.style-preview-button span{padding:4px 0}.style-preview-button small{color:#536176;display:block}.style-card>button[aria-pressed=true]{color:#154493;background:#eaf2ff;border-color:#a5beee}.style-card>button{min-height:40px}.style-board{grid-template-columns:3fr 1fr;gap:3px;height:86px;display:grid}.board-room{background:linear-gradient(var(--swatch-0) 65%, var(--swatch-1) 65%);position:relative;overflow:hidden}.board-room i{border-radius:0;margin:0;display:block;position:absolute}.board-room i:first-child{border:3px solid var(--swatch-2);background:var(--swatch-1);width:30%;height:50%;top:12%;left:12%}.board-room i:nth-child(2){background:var(--swatch-3);border-radius:10px 10px 2px 2px;width:45%;height:32%;top:47%;left:44%}.board-room i:nth-child(3){border-right:1px solid var(--swatch-3);border-bottom:9px solid var(--swatch-2);background:0 0;width:14%;height:33%;top:0;left:67%}.board-samples{gap:3px;display:grid}.board-samples i{background:repeating-linear-gradient(35deg, var(--swatch-2) 0 4px, var(--swatch-0) 4px 5px);border-radius:0;width:auto;height:auto;margin:0;display:block}.board-samples i+i{background:repeating-linear-gradient(140deg, var(--swatch-1) 0 5px, var(--swatch-3) 5px 6px)}.style-preview .style-board{height:185px;margin-bottom:12px}.style-palette{flex-wrap:wrap;gap:8px;padding:0;list-style:none;display:flex}.style-palette li{font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:flex}.style-palette span{border:1px solid #c6c9cf;border-radius:4px;width:20px;height:20px}.style-preview dl{grid-template-columns:auto 1fr;gap:6px 12px;display:grid}.style-preview dt{font-weight:600}.style-preview dd{margin:0}@media (width<=650px){.style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.style-note{font-size:13px}.style-library button{min-height:44px}.workspace .plan-body{flex-direction:column;display:flex}.workspace .plan-tools{align-self:flex-start;margin:8px;position:relative;top:auto;left:auto}.workspace .plan-drawing{flex:1;height:275px;min-height:275px}.editor-toolbar{margin-bottom:8px}}
