:root{font-family:Inter,Pretendard,Malgun Gothic,Arial,sans-serif;color:#dbe6f2;background:#0c1522;font-synthesis:none;font-size:13px;color-scheme:dark;--muted:#8a9cb0;--line:#2a3749;--panel:#172231;--teal:#5ad9bc;--orange:#ffce77}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:1px solid transparent;background:transparent;border-radius:6px;transition:background .12s,border-color .12s}button:hover{background:#ffffff0c}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:2px}button:disabled{opacity:.38;cursor:not-allowed}input,select,textarea{color:#e2edf9;background:#0d1724;border:1px solid #354458;border-radius:5px;padding:7px 8px;min-width:0}input[type=color]{padding:2px;width:29px;height:29px}input[type=checkbox]{accent-color:var(--teal);width:14px;height:14px}input[type=number]{font-family:Consolas,monospace}svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{height:100dvh;display:grid;grid-template-rows:57px 55px minmax(0,1fr) 49px 28px}.topbar{display:flex;align-items:center;gap:25px;padding:0 18px;background:#121c2a;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand svg{width:29px;height:29px;color:var(--teal);stroke-width:2}.brand small{font-size:12px;color:#8b9eb3;font-weight:500;letter-spacing:2px}.topbar .separator{height:24px;width:1px;background:var(--line)}.docname{font-weight:600;max-width:220px;width:180px;background:transparent;border-color:transparent;padding:7px 3px}.save-indicator{font-size:11px;color:var(--muted);white-space:nowrap}.save-indicator.error{color:#ff9b91}.top-actions{margin-left:auto;display:flex;gap:5px;align-items:center}.top-actions button{display:flex;align-items:center;gap:7px;padding:8px 10px;font-size:12px}.badge{display:inline-flex;gap:6px;align-items:center;font-size:10px;letter-spacing:.4px;padding:4px 7px;border:1px solid #3e5d54;border-radius:4px;color:#82cdbb;background:#163029}.button-primary{background:var(--teal);color:#0d2b25;font-weight:700;border:1px solid var(--teal)}.button-primary:hover{background:#80ead1}.button-border{border-color:#405066}.toolbar{display:flex;align-items:center;gap:7px;padding:6px 14px;background:#192433;border-bottom:1px solid #314054;overflow-x:auto}.toolset{display:flex;gap:2px;border-right:1px solid #354154;padding-right:9px;margin-right:2px}.toolset:last-child{border:0}.tool{min-width:51px;padding:5px 8px;display:flex;flex-direction:column;gap:2px;align-items:center;font-size:10px;color:#becbda;border:1px solid transparent}.tool.active{color:var(--teal);border-color:#4a7b70;background:#5ad9bc13}.tool svg{width:19px;height:19px}.workspace{display:grid;grid-template-columns:208px minmax(200px,1fr) 300px;min-height:0}.sidebar{background:#15202f;min-height:0;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid var(--line)}.rightbar{border-right:0;border-left:1px solid var(--line)}.panel-heading{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;font-size:12px;font-weight:700;color:#cfdeee;border-bottom:1px solid var(--line);flex-shrink:0}.panel-heading small{font-family:Consolas,monospace;font-weight:400;color:var(--muted)}.panel-heading button{padding:4px;display:flex}.layers{padding:7px;display:flex;flex-direction:column;gap:3px;max-height:33%;overflow:auto}.layer{display:flex;align-items:center;gap:4px;border:1px solid transparent;border-radius:5px;padding:3px}.layer.current{border-color:#396457;background:#214c402b}.layer button{padding:3px;display:flex}.layer button svg{width:14px;height:14px}.layer .layer-name{flex:1;min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:11px;white-space:nowrap}.color-dot{width:8px;height:8px;border-radius:2px;flex-shrink:0}.off{opacity:.35}.object-list{padding:6px;overflow:auto;flex:1;min-height:60px}.object-list button{width:100%;display:flex;align-items:center;gap:7px;font-size:11px;text-align:left;padding:8px;white-space:nowrap}.object-list button svg{width:15px;height:15px}.object-list button.selected{background:#ffce7715;color:var(--orange);border-color:#6a593d}.object-list button small{margin-left:auto;color:#73899f;font-family:Consolas,monospace;max-width:66px;overflow:hidden;text-overflow:ellipsis}.empty-note{color:#70849a;line-height:1.8;padding:19px 13px;font-size:11px}.sidebar-foot{font-size:10px;padding:12px;color:#71869b;border-top:1px solid var(--line);line-height:1.6}.canvas-wrap{position:relative;overflow:hidden;min-width:0;min-height:0;background:#101b2b}#cad-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair;outline:none}.canvas-title{position:absolute;left:17px;top:15px;display:flex;align-items:center;gap:9px;pointer-events:none;font-size:11px;color:#92a7bd}.canvas-title .mode-tag{font-family:Consolas,monospace;font-size:10px;border:1px solid #405267;color:#b8cce2;padding:4px 6px;border-radius:4px;background:#172437}.canvas-help{position:absolute;bottom:16px;left:85px;color:#71899f;font-size:11px;pointer-events:none}.canvas-actions{position:absolute;right:14px;bottom:14px;display:flex;gap:3px;background:#152234;border:1px solid #35485f;border-radius:7px;padding:3px}.canvas-actions button{padding:6px;display:flex}.canvas-actions svg{width:16px;height:16px}.context-strip{position:absolute;top:47px;left:17px;background:#192a3de8;border:1px solid #384d64;padding:8px 10px;border-radius:6px;font-size:11px;color:#bed4e9;display:flex;gap:10px;align-items:center;max-width:calc(100% - 34px)}.context-strip button{font-size:11px;border-color:#587188;padding:3px 7px;white-space:nowrap}.context-strip label{display:flex;align-items:center;gap:5px;white-space:nowrap}.context-strip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.right-tabs{display:flex;border-bottom:1px solid var(--line);flex-shrink:0;padding:0 9px}.right-tabs button{border-radius:0;flex:1;font-size:12px;padding:13px 7px;color:var(--muted);border-bottom:2px solid transparent;display:flex;align-items:center;justify-content:center;gap:7px}.right-tabs button.active{color:var(--teal);border-bottom-color:var(--teal)}.right-content{overflow:auto;flex:1;min-height:0;padding:15px}.right-content[hidden]{display:none}.section-label{font-size:10px;letter-spacing:1.4px;color:#7f99b4;margin:1px 0 13px;font-weight:600;text-transform:uppercase}.properties-title{font-size:18px;letter-spacing:-.4px;margin:0 0 5px;font-weight:600}.subtle{font-size:11px;color:var(--muted);line-height:1.65}.field{display:flex;flex-direction:column;gap:5px;margin:11px 0}.field label{color:#99aec3;font-size:11px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field-row .field{margin:6px 0}.field textarea{resize:vertical;min-height:75px;line-height:1.7}.wide-button{width:100%;padding:9px 10px;margin-top:8px;display:flex;justify-content:center;align-items:center;gap:7px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.metric{background:#0e1927;border:1px solid #2d4054;border-radius:7px;padding:11px}.metric b{font-family:Consolas,monospace;display:block;font-size:17px;font-weight:400;color:#dfedf9;margin-bottom:5px}.metric span{font-size:10px;color:#7f97af}.selection-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:12px 0}.selection-actions button{padding:8px 5px;border-color:#35485c;font-size:11px}.divider{height:1px;background:var(--line);margin:18px 0}.hint-card{background:#1a2c3c;border:1px solid #334d60;border-radius:8px;padding:13px;margin:13px 0;color:#a5bfd4;font-size:11px;line-height:1.8}.hint-card strong{display:block;font-size:12px;color:#c6e6ec;margin-bottom:5px}.ai-state{display:flex;gap:7px;align-items:center;font-size:11px;color:#9db1c6;margin:12px 0}.status-dot{width:6px;height:6px;border-radius:50%;background:#6c829b}.status-dot.ready{background:var(--teal);box-shadow:0 0 9px #5ad9bc55}.ai-example{width:100%;display:block;text-align:left;border:1px solid #34495d;padding:9px;margin:6px 0;font-size:11px;line-height:1.6;color:#b5cbdc}.ai-example:hover{border-color:#5a9787}.plan-card{background:#18352e;border:1px solid #3b7062;padding:12px;border-radius:8px;margin-top:15px;font-size:12px;line-height:1.6}.plan-card p{margin:5px 0}.plan-card .subtle{color:#9ec9bc}.pending{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.45}}.commandbar{display:flex;align-items:center;gap:12px;border-top:1px solid #35465b;background:#142131;padding:7px 16px}.commandbar .command-label{color:var(--teal);font:11px Consolas,monospace;white-space:nowrap}.commandbar input{border:0;flex:1;min-width:0;padding:6px;background:transparent;font-family:inherit;font-size:12px}.commandbar button{padding:6px 13px;border:1px solid #3e5268;font-size:11px}.statusbar{display:flex;align-items:center;gap:6px;background:#101b29;border-top:1px solid #28394d;padding:0 12px;color:#839db6;font-size:10px;white-space:nowrap}.statusbar .status-left{margin-right:auto;font-family:Consolas,monospace;min-width:70px;max-width:55%;overflow:hidden;text-overflow:ellipsis}.statusbar button{padding:3px 6px;font-size:10px;border-radius:3px;color:#738ca4}.statusbar button.on{color:var(--teal);background:#25483f66}.toast{position:absolute;top:89px;left:50%;transform:translate(-50%);z-index:15;padding:11px 16px;border:1px solid #416257;border-radius:8px;background:#1a372fee;color:#d6f9ec;font-size:12px;max-width:80%;box-shadow:0 8px 28px #0005;pointer-events:none}.toast.error{background:#482a2aee;border-color:#91564f;color:#ffd7cf}.toast[hidden]{display:none}.modal-backdrop{position:fixed;inset:0;background:#020910aa;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}.modal{width:460px;max-width:95vw;max-height:90vh;overflow:auto;border:1px solid #405974;background:#172535;border-radius:12px;box-shadow:0 30px 100px #0008;padding:23px}.modal h2{font-size:19px;margin:0 0 8px;letter-spacing:-.4px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.modal-footer button{padding:8px 18px}.modal .modal-error{color:#ffb2a4;line-height:1.6;font-size:12px}.three-overlay{position:absolute;inset:0;background:#101b2b;z-index:20}.three-viewport{position:absolute;inset:0}.three-toolbar{position:absolute;left:18px;right:18px;top:16px;z-index:21;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#172536e8;border:1px solid #3b5167;border-radius:8px;padding:10px 12px}.three-toolbar strong{font-size:13px;color:var(--teal)}.three-toolbar span{font-size:11px;color:#a5bed3;margin-right:auto}.three-toolbar button{padding:6px 10px;border:1px solid #40566b;font-size:11px}.three-help{position:absolute;bottom:20px;left:22px;z-index:21;color:#a8c0d4;font-size:11px;background:#132131cc;border-radius:6px;padding:9px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#3b5067;border-radius:6px}::-webkit-scrollbar-track{background:transparent}@media(max-width:1180px){.workspace{grid-template-columns:175px minmax(200px,1fr) 270px}.topbar{gap:13px;padding:0 12px}.brand small{display:none}.top-actions button{padding:7px;font-size:11px}.docname{width:130px}.save-indicator{display:none}.tool{min-width:44px;padding:5px}.toolbar{padding-left:8px}.toolset{padding-right:5px}}@media(max-width:900px){.workspace{grid-template-columns:145px minmax(200px,1fr) 245px}.top-actions button span{display:none}.brand{font-size:17px}.badge,.topbar .separator{display:none}.right-content{padding:11px}.canvas-help{display:none}.context-strip{max-width:calc(100% - 20px);left:10px}.context-strip span{max-width:110px}.layer .layer-name{font-size:10px}}@media(max-width:720px){.workspace{grid-template-columns:minmax(220px,1fr) 225px}.leftbar{display:none}.docname{max-width:100px;width:100px}.brand{gap:5px}.topbar{gap:8px}.top-actions{gap:0}.right-content{padding:9px}.commandbar{gap:5px;padding:7px}.statusbar button{padding:3px}.context-strip{flex-wrap:wrap;gap:5px}.context-strip span{max-width:180px}.canvas-actions{right:8px}.app{min-width:470px}}[hidden]{display:none!important}:root{font-family:Malgun Gothic,Apple SD Gothic Neo,Arial,sans-serif;color:#243248;background:#eef1f5;color-scheme:light;--muted:#64748b;--line:#d7dee7;--panel:#fff;--teal:#2266d7}button:hover{background:#e6edf7}input,select,textarea{color:#26364c;background:#fff;border-color:#c9d2df}input:disabled{background:#e8edf3}.app{grid-template-rows:46px 64px minmax(0,1fr) 42px 27px}.topbar{gap:16px;background:#f7f9fc;border-bottom-color:#d6dfe8;padding:0 13px}.brand{font-size:18px;letter-spacing:-.6px}.brand svg{width:24px;height:24px}.brand small{color:#63758c}.docname{width:220px;max-width:290px}.top-actions button{font-size:11px;padding:7px 8px}.top-actions .badge{display:none}.button-primary{background:#2266d7;border-color:#2266d7;color:#fff}.button-primary:hover{background:#1858bf}.button-border{border-color:#c2cedc}.toolbar{background:#edf1f6;padding:4px 10px;gap:5px;border-bottom-color:#cad3df}.toolset{border-right-color:#cdd6e2;padding-right:7px;flex-shrink:0}.tool{min-width:43px;padding:6px;color:#3b4c63;font-size:10px}.tool.active{color:#174da1;background:#dbe8ff;border-color:#9ab9ed}.tool b{font:24px Georgia,serif;line-height:20px}.workspace{grid-template-columns:190px minmax(240px,1fr) 330px}.sidebar{background:#f8fafc}.panel-heading{height:33px;color:#43536b}.rightbar{background:#fff}.right-tabs{padding:0 8px;background:#f8fafc}.right-tabs button{padding:10px 7px}.right-content{padding:15px}.layer.current{border-color:#bbd0f0;background:#e9f1ff}.object-list button{padding:7px;color:#43536b}.object-list button.selected{background:#dceaff;color:#174da1;border-color:#9eb9e2}.metric{background:#f4f7fb;border-color:#dbe3ec}.metric b{color:#24354c}.field label{color:#52647d}.hint-card{background:#f1f6fd;border-color:#d8e4f4;color:#5c7190}.hint-card strong{color:#2e5285}.section-label{color:#5177a5;letter-spacing:.6px}.properties-title{font-size:17px;line-height:1.5}.ai-state{color:#61758e}.ai-example{color:#46617f;border-color:#d6e1ef;background:#fafcff}.featured-example{background:#eaf2ff;border-color:#a9c5ee;color:#1f509a;font-weight:700}.ai-example:hover{background:#eaf2ff;border-color:#98b7e0}.ai-next-actions{display:flex;gap:6px;margin:10px 0}.ai-next-actions button{flex:1;font-size:11px;padding:8px;border:1px solid #bfd0e8;color:#265b9b}.commandbar{background:#f8fafc;border-top-color:#cfd9e5}.commandbar input{color:#24364f}.commandbar button{border-color:#c4d0e0}.statusbar{background:#eaf0f7;border-top-color:#cfdae7;color:#667993}.statusbar button.on{background:#d6e7ff;color:#2266d7}.statusbar .status-left{max-width:53%}.modal{background:#fff;color:#243248;border-color:#bdcde2}.modal .modal-error{color:#b84135}.modal-backdrop{background:#14263f66}.canvas-title{top:57px;left:15px}.context-strip{top:88px;left:15px}.canvas-title,.context-strip,.canvas-actions,.toast{color:#c6d8ec}.context-strip button:hover,.canvas-actions button:hover{background:#294058}.drawing-player{position:absolute;top:12px;left:14px;right:14px;display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #8094af66;background:#f5f8fcf5;border-radius:6px;font-size:10px;color:#3f536e;box-shadow:0 3px 12px #0002;z-index:5}.drawing-player button{padding:3px 6px;min-width:24px;color:#2a5fa2;font-size:13px}.drawing-player input[type=range]{flex:1;min-width:40px;height:17px;padding:0;border:0;accent-color:#2974e8}.drawing-player select{padding:2px;font-size:10px;max-width:53px}.drawing-player #play-count{font-family:Consolas,monospace;white-space:nowrap;min-width:54px}.drawing-player #play-stage{max-width:90px;overflow:hidden;white-space:nowrap;color:#53708e}.drawing-player #play-cancel{font-size:10px;color:#a55048;border-left:1px solid #ccd9e8;border-radius:0;white-space:nowrap}.left-switch{display:flex;min-height:35px;border-bottom:1px solid #d6dfe9;background:#f1f5fa}.left-switch button{border-radius:0;flex:1;font-size:11px;padding:8px 2px;border-bottom:2px solid transparent;color:#6d7e94}.left-switch button.active{border-bottom-color:#2768cc;color:#215db6;font-weight:700}.sequence-heading{font-size:11px;color:#627691;padding:10px;border-bottom:1px solid #e1e7ef;display:flex;justify-content:space-between}.sequence-mode .layers,.sequence-mode>.panel-heading,.sequence-mode .object-list,.sequence-mode .sidebar-foot{display:none}.leftbar:not(.sequence-mode) .drawing-sequence,.leftbar:not(.sequence-mode) .sequence-heading{display:none}.drawing-sequence{overflow:auto;min-height:0;flex:1;padding:3px 5px;position:relative}.sequence-stage{font-size:10px;font-weight:700;color:#637a96;background:#edf2f8;margin:6px -5px 2px;padding:7px 10px;position:sticky;top:0;z-index:1}.drawing-sequence button{width:100%;display:flex;gap:7px;align-items:center;text-align:left;padding:6px 5px;border-radius:3px;font-size:10px;color:#9aa6b5}.drawing-sequence button small{font:10px Consolas,monospace;color:#8a9bb0;min-width:23px;text-align:right}.drawing-sequence button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drawing-sequence .traced{color:#3d5776}.drawing-sequence .tracing{background:#d6e8ff;color:#134e9e;border-color:#9abde9}.is-drawing .toolbar [data-tool],.is-drawing .toolbar [data-action],.is-drawing #new-doc,.is-drawing #open-doc,.is-drawing #save-json,.is-drawing #save-dxf{opacity:.35;cursor:wait}#creation-phase{font-size:11px;line-height:1.6;border-left:3px solid #b8c9df;background:#f3f6fa;color:#57708f;padding:9px 10px;margin-top:12px;overflow-wrap:anywhere}#creation-phase[data-state=working]{border-left-color:#2675e4;background:#eaf3ff;color:#245997}#creation-phase[data-state=error]{background:#fff0ed;border-left-color:#ca6c57;color:#a84734}#creation-phase[data-state=done]{background:#edf7f3;border-left-color:#2c9c73;color:#377c63}#chat-history{display:flex;flex-direction:column;gap:9px;max-height:280px;overflow:auto;margin-top:12px}.chat-message{padding:10px 11px;border-radius:9px;background:#f1f5fa;color:#526981;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.chat-message strong{font-size:10px;color:#7991ad}.chat-message p{margin:4px 0 0;white-space:pre-wrap}.chat-message.user{background:#e9f1ff;margin-left:17px;color:#365d98}.chat-message.assistant{margin-right:5px;border:1px solid #e1e8f0}.three-toolbar{color:#dbe9f7}.three-toolbar button:hover{background:#35506d}.three-help{color:#c5d8eb}.house-overlay{position:fixed;inset:0;background:#ece8df;z-index:40;color:#343e48}.house-viewport{position:absolute;inset:0}.house-top{position:absolute;inset:15px 16px auto;display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:10px 12px;background:#fffffff0;border:1px solid #ddd9cf;border-radius:10px;box-shadow:0 4px 20px #2927190d}.house-top>div{margin-right:auto;min-width:200px}.house-top strong{font-size:14px}.house-top small{display:block;font-size:10px;margin-top:4px;color:#778087}.house-top button{background:#f9f8f5;border-color:#dbd9d0;font-size:11px;padding:8px 10px;border-radius:6px;color:#46525d}.house-top button:hover{background:#ebf0f6}.house-top button[data-house=close]{background:#253d53;color:#fff;border-color:#253d53}.house-rooms{position:absolute;top:103px;left:18px;width:153px;padding:11px;background:#ffffffed;border:1px solid #ddd9cf;border-radius:9px;max-height:calc(100% - 170px);overflow:auto}.house-rooms h3{margin:2px 4px 9px;color:#7b827d;font-size:11px}.house-rooms button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 7px;font-size:11px;text-align:left;color:#4c5963}.house-rooms button small{font-size:9px;color:#8c969f}.house-rooms button.active{background:#e5edf6;color:#225e96}.house-rooms p{font-size:9px;color:#87928f;line-height:1.8;margin:12px 5px 3px}.house-caption{position:absolute;bottom:20px;left:50%;transform:translate(-50%);border-radius:20px;background:#fffffff0;border:1px solid #d5d3cd;padding:10px 22px;font-size:12px;color:#4d5c63;pointer-events:none;text-align:center;max-width:80%;box-shadow:0 3px 14px #0001}.photo-gallery{position:absolute;inset:80px 5% 30px;padding:22px;overflow:auto;border:1px solid #d8dce0;border-radius:12px;background:#fafbfdf9;box-shadow:0 25px 80px #0004}.gallery-heading{display:flex;align-items:center;justify-content:space-between}.gallery-heading h2{font-size:20px;margin:0}.gallery-heading small{font-size:12px;font-weight:400;color:#728293}.gallery-heading button{border:1px solid #bbc8d7;padding:8px 14px}.photo-gallery>p{color:#738291;font-size:12px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.photo-grid a{text-decoration:none;color:#34485b;border:1px solid #d5dee8;border-radius:8px;background:#fff;overflow:hidden;display:block}.photo-grid img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover}.photo-grid strong{display:inline-block;padding:12px;font-size:12px}.photo-grid span{float:right;padding:12px;font-size:11px;color:#53779d}.mobile-ai-toggle{display:none}@media(max-width:1250px){.workspace{grid-template-columns:165px minmax(200px,1fr) 300px}.topbar{gap:9px}.docname{width:185px}.save-indicator{display:none}.top-actions button{padding:6px}.tool{min-width:39px}.toolbar{gap:3px}.house-top>div{min-width:180px}.house-top button{font-size:10px;padding:7px}}@media(max-width:950px){.workspace{grid-template-columns:160px minmax(0,1fr)}.rightbar{display:none}.side-open .rightbar{display:flex;position:fixed;right:0;top:110px;bottom:69px;width:310px;z-index:18;box-shadow:-6px 0 30px #0003}.mobile-ai-toggle{display:block;position:absolute;right:12px;bottom:60px;z-index:19;background:#2266d7;color:#fff;padding:11px 15px;box-shadow:0 4px 16px #0003}.top-actions button span{display:none}.house-top{inset:8px 8px auto;gap:4px}.house-top>div{width:100%}.house-rooms{top:125px;width:130px}.drawing-player #play-stage{display:none}}@media(max-width:600px){.app{min-width:0;grid-template-rows:44px 61px minmax(0,1fr) 42px 25px}.workspace{grid-template-columns:minmax(0,1fr)}.leftbar,.brand small{display:none}.brand{font-size:16px;gap:5px}.brand svg{width:21px}.topbar{padding:0 8px;gap:7px}.docname{width:105px;max-width:105px;font-size:11px}.top-actions button{padding:5px}.top-actions #new-doc,.top-actions #save-dxf,.top-actions #help{display:none}.drawing-player{left:7px;right:7px;top:8px;gap:1px;padding:5px}.drawing-player button{padding:3px;min-width:20px}.drawing-player #play-count{font-size:9px;min-width:47px}.drawing-player #play-cancel{max-width:45px;font-size:9px}.drawing-player select{max-width:42px;font-size:9px}.canvas-title{top:51px;left:10px}.context-strip{top:82px;left:10px}.statusbar{padding:0 5px;gap:2px}.statusbar #toggle-grid-snap,.statusbar #toggle-ortho,.statusbar #zoom-level{display:none}.statusbar .status-left{max-width:49%;font-size:9px}.commandbar .command-label{font-size:9px}.commandbar input{font-size:11px}.side-open .rightbar{top:105px;bottom:67px;width:min(310px,88vw)}.house-top button{font-size:9px;padding:6px}.house-rooms{top:130px;left:8px;width:104px;padding:5px;max-height:calc(100% - 195px)}.house-rooms button{font-size:10px;padding:7px 3px}.house-rooms button small{font-size:8px}.house-rooms p{display:none}.house-top strong{font-size:12px}.house-caption{bottom:12px;font-size:10px;padding:8px 12px}.photo-gallery{inset:120px 8px 12px;padding:13px}.gallery-heading h2{font-size:15px}.gallery-heading small{display:block;font-size:10px;margin-top:4px}.photo-grid{grid-template-columns:1fr}.canvas-help{display:none}}@media(max-width:700px){.side-open .mobile-ai-toggle{right:auto;left:8px}}.house-decor{position:absolute;top:95px;right:25px;width:290px;padding:20px;border-radius:14px;background:#fffffff5;border:1px solid #d4dfd6;box-shadow:0 10px 40px #0002;backdrop-filter:blur(15px);z-index:2}.house-decor>div:first-child{display:flex;align-items:center;justify-content:space-between}.house-decor h3{font-size:15px;margin:0}.house-decor p,.house-decor small{display:block;font-size:11px;line-height:1.8;color:#728075}.house-decor>div>button{font-size:10px}.decor-styles{display:grid;gap:8px;margin:14px 0}.decor-styles button{display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border:1px solid #d4dfd6;border-radius:8px;font-size:12px}.decor-styles button.active{border-color:#527a61;background:#eaf1e9}.decor-styles i{width:32px;height:28px;border-radius:6px;background:linear-gradient(135deg,#e9ddc9 50%,#aa7951 50%)}.decor-styles [data-decor-style=minimal] i{background:linear-gradient(135deg,#fffdf7 50%,#d3cabb 50%)}.decor-styles [data-decor-style=modern] i{background:linear-gradient(135deg,#b0b3ae 50%,#595c59 50%)}.walk-pad{position:absolute;right:25px;bottom:174px;padding:13px;border-radius:13px;background:#ffffffeb;backdrop-filter:blur(12px);border:1px solid #d6dfd8;touch-action:none}.walk-pad>span{font-size:10px;color:#718277}.walk-pad>div{display:grid;grid-template-columns:repeat(3,38px);gap:5px;justify-content:center;margin-top:10px}.walk-pad button{height:36px;background:#edf2ed;border:1px solid #cfdbd1;color:#43634e;font-size:19px;touch-action:none;user-select:none}.walk-pad [data-walk=forward]{grid-column:2}.walk-pad [data-walk=left]{grid-column:1}.walk-pad button:active{background:#335c4a;color:#fff}@media(max-width:700px){.house-decor{top:145px;right:12px;width:min(290px,calc(100% - 24px))}.walk-pad{right:12px;bottom:180px;padding:9px}.walk-pad>span{display:none}.walk-pad>div{margin:0;grid-template-columns:repeat(3,32px)}.walk-pad button{height:30px}}.house-top{inset:18px 20px auto;padding:0;border:0;background:none;box-shadow:none;justify-content:space-between;gap:12px;pointer-events:none}.house-top>*{pointer-events:auto}.house-top .house-brand{display:flex;align-items:center;gap:10px;min-width:0;width:auto;padding:10px 14px;background:#fffffff0;border:1px solid #fff9;border-radius:14px;box-shadow:0 4px 24px #24342b12;backdrop-filter:blur(12px)}.house-brand>span{font-size:28px;color:#477565}.house-brand strong{font-size:13px}.house-brand small{font-size:9px;letter-spacing:1px}.house-top nav{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.house-top button{background:#fffffff2;backdrop-filter:blur(12px);border:1px solid #d8dcd4;border-radius:20px;padding:9px 12px;box-shadow:0 2px 8px #25352b0b;font-size:11px}.house-top button.active{background:#244c42;color:#fff}.house-top button[data-house=close]{background:#fff;color:#54635b;border-color:#d8dcd4}.house-scene-label{position:absolute;left:28px;bottom:133px;display:flex;flex-direction:column;gap:6px;padding:15px 18px;background:#fffffff0;backdrop-filter:blur(12px);border:1px solid #fff8;border-radius:12px;box-shadow:0 8px 30px #24342b12;pointer-events:none}.house-scene-label>small{font:9px Consolas,monospace;letter-spacing:2px;color:#799087}.house-scene-label>strong{font-size:23px;color:#344f42}.house-scene-label>span{font-size:10px;color:#76867a;letter-spacing:.4px}.house-caption{bottom:127px;max-width:55%;font-size:10px;padding:8px 15px;border-color:#fff9;background:#ffffffde;backdrop-filter:blur(8px)}.house-timeline{position:absolute;left:24px;right:24px;bottom:19px;background:#fffffff0;backdrop-filter:blur(16px);border:1px solid #fff8;border-radius:15px;box-shadow:0 5px 35px #233f2f20;padding:11px 15px 8px;color:#65796d}.tour-controls{display:flex;gap:7px;align-items:center}.tour-controls button{font-size:19px;color:#476857;padding:4px 8px;line-height:23px}.tour-controls button[data-house=auto]{background:#335c4a;color:#fff;width:34px;border-radius:50%}.tour-controls button[data-house=places]{font-size:11px;margin-left:9px;padding:2px 10px;border:1px solid #d1ddd4;line-height:26px}.tour-controls [data-tour-mode]{font-size:11px;margin-left:9px}.tour-help{font-size:10px;margin-left:auto;color:#84948a}.house-timeline input{display:block;width:100%;height:14px;margin:7px 0 2px;padding:0;border:0;accent-color:#477d62;background:transparent}.tour-milestones{display:flex;justify-content:space-between;font-size:9px;color:#8d9e92;padding:0 3px}.tour-milestones button{font-size:9px;color:#647d6c;padding:0}.house-rooms{left:25px;top:90px;width:175px;max-height:calc(100% - 340px);background:#fffffff0;backdrop-filter:blur(14px);padding:12px;border-radius:12px;border-color:#fff9;box-shadow:0 8px 40px #23402f20}.house-rooms button{font-size:11px;padding:10px 7px}.house-rooms button.active{background:#e5eee7;color:#2c6650}.house-info{position:absolute;right:24px;top:90px;width:280px;padding:20px;border-radius:13px;border:1px solid #d4dfd6;background:#fffffff5;box-shadow:0 10px 40px #0002;backdrop-filter:blur(15px)}.house-info>div{display:flex;align-items:center;justify-content:space-between}.house-info h3{font-size:15px;margin:0}.house-info p{font-size:12px;line-height:1.9;color:#6b7c72}.house-info button{font-size:11px;border:1px solid #cdd9cf;padding:7px 10px}.house-info small{display:block;margin-top:8px;font-size:10px;color:#88978a}.photo-gallery{inset:90px 4% 30px;background:#f8faf8f7;backdrop-filter:blur(16px);padding:25px;z-index:3}.gallery-heading>div>small{font:10px Consolas,monospace;letter-spacing:2px;color:#7e9384}.gallery-heading h2{margin-top:5px;color:#335642}.photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0}.photo-actions button{padding:10px 13px;border:1px solid #b8c9bc;border-radius:7px;font-size:11px;color:#3b624b}.photo-actions button:first-child{background:#335c4a;color:#fff;border-color:#335c4a}.photo-actions label{font-size:11px;margin-left:auto;color:#708678}.photo-actions select{font-size:11px;padding:8px;margin-left:8px}.photo-note{background:#ebf0ec;padding:12px;border-radius:7px;font-size:10px!important;line-height:1.8}.photo-grid{gap:18px}.photo-grid article{border:1px solid #d0ded4;border-radius:9px;overflow:hidden;background:#fff}.photo-grid a{border:0;border-radius:0}.photo-grid img{aspect-ratio:16/9}.photo-grid details{border-top:1px solid #e3eae5;padding:12px;color:#819488;font-size:10px}.photo-grid summary{cursor:pointer}.photo-grid textarea{margin-top:10px;width:100%;height:135px;font-size:11px;line-height:1.7;resize:vertical;background:#f8faf8}.photo-grid details button{font-size:10px;border:1px solid #cbd9cf;margin-top:8px;padding:7px 11px}@media(max-width:1100px){.house-top{inset:12px;gap:8px}.house-brand strong{font-size:11px}.house-top nav{gap:4px}.house-top button{padding:8px 9px;font-size:10px}.house-top .house-brand{padding:8px 10px}.house-brand>span{font-size:22px}.house-scene-label{left:20px}.house-caption{left:auto;right:24px;transform:none;max-width:45%}.house-rooms{top:100px}.photo-gallery{inset:100px 18px 20px}}@media(max-width:700px){.house-top .house-brand{width:100%;margin:0}.house-top nav{width:100%;gap:4px}.house-top button{font-size:9px;padding:7px 8px}.house-top [data-house=info]{display:none}.house-scene-label{left:12px;bottom:124px;padding:10px 13px;gap:4px}.house-scene-label>strong{font-size:18px}.house-scene-label>span{font-size:9px}.house-caption{display:none}.house-timeline{left:10px;right:10px;bottom:12px;padding:9px 11px}.tour-help{display:none}.tour-controls{gap:4px}.tour-controls [data-tour-mode]{margin-left:auto;font-size:10px}.tour-controls button[data-house=places]{margin-left:3px;padding:2px 7px}.house-rooms{top:130px;left:12px;width:162px;max-height:calc(100% - 370px)}.photo-gallery{inset:120px 9px 12px;padding:15px}.photo-actions label{margin:3px 0 0}.photo-grid{grid-template-columns:1fr}.house-info{top:130px;right:12px;width:260px}.gallery-heading h2{font-size:18px}.gallery-heading h2 small{display:block;margin-top:5px}}#ai-panel.design-chat{display:flex;flex-direction:column;padding:0;overflow:hidden;background:#fff;color:#30445d;min-height:0;gap:0}#ai-panel.design-chat[hidden]{display:none}.design-chat [hidden]{display:none!important}.design-chat-header{flex:none;padding:12px 13px 9px;border-bottom:1px solid #e3eaf2;position:relative;z-index:2;background:#fff}.design-chat-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.design-chat-heading{min-width:0;display:flex;flex-direction:column;gap:4px}.design-chat-heading>strong{font-size:14px;letter-spacing:-.25px;color:#243c59}.design-chat-subtitle{font-size:10px;color:#7a8ba0;line-height:1.45}.design-chat-settings{position:static;flex:none;font-size:10px}.design-chat-settings>summary{list-style:none;display:flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid #d7e2ef;border-radius:6px;color:#426a9d;cursor:pointer;white-space:nowrap;background:#f6f9fd}.design-chat-settings>summary::-webkit-details-marker{display:none}.design-chat-settings>summary:focus-visible,.design-chat-detail>summary:focus-visible{outline:2px solid #497fe0;outline-offset:2px}.design-chat-chevron{font-size:12px;color:#8293a8}.design-chat-settings[open] .design-chat-chevron{transform:rotate(180deg)}.design-chat-settings-body{position:absolute;right:10px;top:43px;width:calc(100% - 20px);padding:12px;background:#fff;border:1px solid #ccdaeb;border-radius:8px;box-shadow:0 9px 28px #1c3d6422;z-index:4}.design-chat-setting{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px;font-size:11px;color:#526980}.design-chat-setting select{font-size:11px;max-width:190px;min-width:0;padding:6px;background:#f8fafc;color:#324d6e;border-color:#cedbe9}.design-chat-setting:first-child{display:block}.design-chat-setting:first-child select{display:block;width:100%;max-width:none;margin-top:6px}.design-chat-settings-note{font-size:10px;color:#7b8b9d;line-height:1.6;margin:5px 0}.design-chat #check-ai{margin-top:8px;padding:6px;font-size:10px;border-color:#d7e1ee;color:#4d6c92}.design-chat #ai-status{margin:8px 0 0;font-size:10px;line-height:1.5;color:#70849a;gap:6px}.design-chat #ai-status .status-dot{flex:none;width:5px;height:5px}.design-chat-context{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#8998aa;margin-top:5px;line-height:1.4}.design-chat #chat-history{flex:1 1 auto;min-height:70px;max-height:none;margin:0;padding:14px 12px 12px;overflow:auto;overscroll-behavior:contain;gap:13px;scrollbar-gutter:stable;background:#fcfdff}.design-chat #chat-history:empty:before{content:"무엇을 함께 설계할까요?\a도형을 그리거나, 현재 도면에서 바꿀 점을 알려 주세요.";white-space:pre-line;color:#7c8fa7;font-size:12px;line-height:1.85;padding:12px 5px 0}.design-chat #chat-history:focus-visible{outline:2px solid #b4ccec;outline-offset:-2px}.design-chat .chat-message{flex:none;font-size:12px;line-height:1.8;padding:10px 11px;overflow-wrap:anywhere;border-radius:9px;color:#465d77;max-width:100%}.design-chat .chat-message strong{font-size:10px;color:#8094ad;letter-spacing:.15px}.design-chat .chat-message p{margin:5px 0 0}.design-chat .chat-message.user{background:#eaf2ff;color:#315c96;margin-left:22px;border:1px solid #e0eafa;border-bottom-right-radius:3px}.design-chat .chat-message.assistant{background:#fff;border:1px solid #e3eaf2;margin-right:6px;border-bottom-left-radius:3px}.design-chat-activity{flex:none;padding:9px 12px;border-top:1px solid #e6ecf3;background:#f8fafd;max-height:36%;overflow:auto;overscroll-behavior:contain}.design-chat-activity-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#536b89;font-size:10px;line-height:1.5}.design-chat-activity-top strong{font-size:11px;font-weight:600;display:flex;align-items:center;gap:6px}.design-chat-activity-top strong:before{content:"";width:5px;height:5px;flex:none;background:#a2b4c8;border-radius:50%}.design-chat-activity.is-running .design-chat-activity-top strong:before{background:#3881d8;box-shadow:0 0 0 3px #3881d812}.design-chat-activity[data-stage=completed] .design-chat-activity-top strong:before{background:#379877}.design-chat-activity[data-stage=error] .design-chat-activity-top strong:before{background:#c9654f}.design-chat-elapsed{font-size:10px;font-variant-numeric:tabular-nums;color:#8a9ab0;white-space:nowrap}.design-chat #creation-phase{font-size:11px;line-height:1.65;border:0!important;border-radius:0;background:transparent!important;color:#72849a;padding:0;margin:5px 0 0;overflow-wrap:anywhere}.design-chat #creation-phase[data-state=error]{color:#b95a47}.design-chat #creation-phase[data-state=done]{color:#4b806c}.design-chat-tracker{display:flex;justify-content:space-between;gap:3px;list-style:none;padding:0;margin:9px 0 1px;counter-reset:none}.design-chat-tracker li{position:relative;flex:1;text-align:center;font-size:9px;line-height:1.5;color:#a5b2c2;padding-top:7px;white-space:nowrap}.design-chat-tracker li:before{content:"";position:absolute;inset:0 1px auto;height:2px;background:#e1e7ef;border-radius:2px}.design-chat-tracker li.is-current{color:#3476c6;font-weight:600}.design-chat-tracker li.is-current:before{background:#4f8bda}.design-chat-tracker li.is-visited{color:#7089a7}.design-chat-tracker li.is-visited:before{background:#b4cae5}.design-chat-activity[data-stage=completed] .design-chat-tracker li.is-current{color:#43856d}.design-chat-activity[data-stage=completed] .design-chat-tracker li.is-current:before{background:#53a688}.design-chat-progress{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:10px;color:#6b809b}.design-chat-progress progress{width:63px;height:4px;min-width:32px;flex:none;appearance:none;border:0;border-radius:3px;background:#dfe8f3;overflow:hidden;accent-color:#5590dd}.design-chat-progress progress::-webkit-progress-bar{background:#dfe8f3;border-radius:3px}.design-chat-progress progress::-webkit-progress-value{background:#5590dd;border-radius:3px}.design-chat-progress progress::-moz-progress-bar{background:#5590dd;border-radius:3px}.design-chat-progress span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-chat-detail{margin-top:7px;font-size:10px;color:#7389a5}.design-chat-detail>summary{cursor:pointer;user-select:none;width:fit-content;font-size:10px}.design-chat-detail-body{max-height:190px;overflow:auto;padding:8px 0 2px}.design-chat-stage-log,.design-chat-operations{list-style:none;margin:0;padding:0}.design-chat-stage-log li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:5px;margin:0 0 7px;line-height:1.6;overflow-wrap:anywhere;color:#657d98}.design-chat-stage-log time{font-variant-numeric:tabular-nums;color:#a0afc1;font-size:9px;white-space:nowrap;padding-top:1px}.design-chat-operation-heading{display:block;font-size:10px;font-weight:600;margin:8px 0 7px;color:#6a809b}.design-chat-operations li{padding:3px 0 3px 9px;border-left:1px solid #d1deed;line-height:1.6;overflow-wrap:anywhere}.design-chat-snapshot{margin:9px 0 0}.design-chat-snapshot img{display:block;width:100%;max-height:150px;object-fit:contain;border:1px solid #d8e2ef;border-radius:4px;background:#132031}.design-chat-snapshot figcaption{font-size:9px;color:#96a5b6;margin-top:4px}.design-chat-queue{flex:none;padding:8px 12px;border-top:1px solid #e2eaf5;background:#f2f7ff;color:#5175a2;font-size:10px;max-height:90px;overflow:auto}.design-chat-queue strong{font-size:10px;font-weight:600}.design-chat-queue ol{margin:5px 0 0;padding-left:15px}.design-chat-queue li{padding:2px 0;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-chat-followups{display:flex;flex-wrap:wrap;gap:5px;flex:none;padding:9px 12px 2px;max-height:66px;overflow:auto;background:#fff}.design-chat-followups .design-chat-action{font-size:10px;border:1px solid #dce6f2;border-radius:12px;color:#637fa0;padding:5px 8px;background:#fff;white-space:nowrap;line-height:1.3}.design-chat-followups .design-chat-action:hover{border-color:#a8c4e7;background:#f2f7ff;color:#356aa8}.design-chat-composer{flex:none;padding:9px 12px 10px;background:#fff;min-height:0}.design-chat #ai-prompt{display:block;width:100%;min-height:60px;max-height:132px;resize:none;line-height:1.65;font-size:12px;border:1px solid #cfdbeb;border-radius:8px;padding:9px 10px;background:#fbfcfe;color:#2e4664;overflow-y:auto}.design-chat #ai-prompt::placeholder{color:#9aaac0;font-size:11px}.design-chat #ai-prompt:focus{border-color:#86afe5;outline:2px solid #dbe9fc;outline-offset:1px;background:#fff}.design-chat-composer-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:7px}.design-chat-submit-controls{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.design-chat #run-ai,.design-chat #cancel-ai{display:inline-flex;margin:0;width:auto;min-height:30px;justify-content:center;align-items:center;padding:6px 11px;font-size:11px;white-space:nowrap;border-radius:6px}.design-chat #run-ai{background:#2b6fd1;border-color:#2b6fd1;color:#fff;min-width:52px;font-weight:600}.design-chat #run-ai:hover{background:#205eb7;border-color:#205eb7}.design-chat #cancel-ai{border-color:#e5d5d0;background:#fff;color:#a26c5f;padding-left:7px;padding-right:7px;font-size:10px}.design-chat .design-chat-undo{font-size:10px;color:#8b9aaf;padding:5px 0;white-space:nowrap}.design-chat .design-chat-undo:hover{color:#5074a1;background:transparent}.design-chat-input-help{display:block;font-size:9px;color:#a3afbe;margin:6px 0 0;text-align:right;line-height:1.2}.design-chat-legacy-plan:empty{display:none}.design-chat-legacy-plan{flex:none;max-height:130px;overflow:auto;padding:0 12px}.design-chat-legacy-plan .plan-card{margin:8px 0;font-size:11px}@media(max-height:740px){.design-chat-header{padding:9px 11px 7px}.design-chat-subtitle,.design-chat-context{display:none}.design-chat #chat-history{padding:10px;gap:10px;min-height:55px}.design-chat-activity{padding:7px 11px;max-height:32%}.design-chat-followups{padding:7px 10px 0;max-height:35px;flex-wrap:nowrap}.design-chat-composer{padding:7px 10px}.design-chat #ai-prompt{min-height:54px}.design-chat-input-help{margin-top:4px}}@media(max-width:600px){.design-chat-header{padding:10px 11px 8px}.design-chat-settings>summary{font-size:9px}.design-chat-subtitle{font-size:9px}.design-chat #chat-history{padding:10px}.design-chat .chat-message{font-size:11px}.design-chat-followups{padding-left:10px;padding-right:10px}.design-chat-composer{padding:8px 10px}.design-chat #ai-prompt{font-size:16px}.design-chat #run-ai{padding:6px 9px}.design-chat #cancel-ai{padding:6px}.design-chat-tracker li{font-size:8px}}.space-editor{width:min(990px,calc(100vw - 32px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid #c3d2df;border-radius:15px;background:#f9fbfd;color:#253c52;font:13px/1.6 Malgun Gothic,sans-serif;box-shadow:0 20px 80px #0e20384d}.space-editor::backdrop{background:#0e203899}.space-editor header{display:flex;justify-content:space-between;align-items:center}.space-editor h2{margin:0;font-size:24px}.space-editor header small{font-size:10px;letter-spacing:2px;color:#317e9b}.space-intro{color:#64798b;margin:7px 0 20px}.space-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px}.space-editor label{display:flex;flex-direction:column;gap:4px;margin-bottom:11px;font-size:12px}.space-editor input,.space-editor select{box-sizing:border-box;width:100%;padding:8px;border:1px solid #c1d1df;border-radius:6px;background:#fff;color:#253c52;font:inherit}.space-editor button{font:inherit;padding:7px 12px;border:1px solid #c1d1df;border-radius:6px;background:#fff;color:#253c52;cursor:pointer}.space-actions{display:flex;justify-content:flex-end;gap:8px}.space-editor button[type=submit]{background:#246b91;border-color:#246b91;color:#fff}.space-editor button:disabled{opacity:.4;cursor:not-allowed}.space-hint{font-size:11px;color:#637b8f;line-height:1.7}.space-preview{min-width:0}.space-preview canvas{width:100%;height:340px;border-radius:8px;background:#101b2b}.space-preview>small{font-size:10px;color:#6c8292}.space-result{white-space:pre-line;background:#eef3f7;border-radius:8px;padding:14px;margin-top:12px;font-size:12px}.space-result[data-state=ready]{background:#e8f4f1;color:#286755}@media(max-width:720px){.space-editor{padding:16px}.space-layout{grid-template-columns:1fr}.space-preview canvas{height:260px}.space-preview{grid-row:1}.space-editor h2{font-size:20px}}.app.has-ribbon{grid-template-rows:30px 86px minmax(0,1fr) 42px 27px}.has-ribbon .topbar.ribbon-topbar{height:30px;min-height:30px;padding:0 8px;gap:8px;background:#f5f7fa;border-bottom:1px solid #d0d8e3;overflow:visible;align-items:center}.ribbon-topbar .brand{font-size:14px;letter-spacing:-.5px;gap:5px;flex:none;line-height:1}.ribbon-topbar .brand svg{width:19px;height:19px;stroke-width:1.6;color:#386da8}.ribbon-topbar .brand small{font-size:9px;letter-spacing:1px;margin-left:1px;color:#7a8798}.ribbon-topbar .toolbar.ribbon-quick{display:flex;align-items:center;flex:none;background:none;border:0;padding:0;margin:0;gap:0;overflow:visible;height:28px}.ribbon-quick-divider{height:14px;width:1px;margin:0 4px;background:#ccd6e2}.ribbon-topbar .ribbon-button{border:1px solid transparent;background:transparent;color:#4f6176;border-radius:3px;padding:3px;min-width:25px;height:25px;min-height:0;display:inline-flex;align-items:center;justify-content:center;font-size:10px;gap:4px;flex-direction:row}.ribbon-topbar .ribbon-button svg{width:16px;height:16px;stroke-width:1.4}.ribbon-topbar .ribbon-button:hover{background:#e5edf8;border-color:#bacde5}.ribbon-icon-only>.ribbon-button-label{display:none}.ribbon-tabs{display:flex;gap:0;align-self:stretch;align-items:stretch;flex:none;margin:0 0 -1px}.ribbon-tabs .ribbon-tab{font-size:11px;border-radius:3px 3px 0 0;min-width:45px;padding:0 12px;color:#5c6a7d;background:transparent;border:1px solid transparent;border-bottom:1px solid #d0d8e3;margin-top:3px;font-weight:400;white-space:nowrap}.ribbon-tabs .ribbon-tab:hover{color:#2f608e;background:#ebf0f7}.ribbon-tabs .ribbon-tab.active{background:#fdfdfe;color:#2665a5;border-color:#d0d8e3;border-bottom-color:#fdfdfe;font-weight:600}.ribbon-document{display:flex;align-items:center;min-width:0;gap:7px;margin-left:auto;height:27px;overflow:hidden}.ribbon-document #docname{height:25px;font-size:11px;font-weight:400;padding:3px 5px;max-width:250px;width:200px;min-width:80px;color:#53687e}.ribbon-document #save-state{font-size:9px;color:#8d9bab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.ribbon-utilities{display:flex;align-items:center;gap:2px;flex:none}.ribbon-utilities #view-3d{color:#3972b2;padding:3px 6px;font-size:10px;font-weight:500;background:#edf3fb}.has-ribbon nav.toolbar.cad-ribbon{display:block;padding:0 8px;margin:0;height:86px;min-height:86px;background:#fdfdfe;border-bottom:1px solid #c9d3df;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;color:#35475e}.cad-ribbon .ribbon-panel{display:flex;align-items:stretch;min-width:max-content;height:81px;padding:3px 0 0}.cad-ribbon .ribbon-group{display:flex;flex-direction:column;flex:none;border-right:1px solid #dbe2eb;padding:0 8px 0 7px;min-width:54px}.cad-ribbon .ribbon-group:first-child{padding-left:0}.cad-ribbon .ribbon-group:last-child{border-right:0}.cad-ribbon .ribbon-group-controls{display:flex;align-items:stretch;gap:2px;height:62px;min-height:62px}.cad-ribbon .ribbon-small-grid{display:grid;grid-template-rows:repeat(3,20px);grid-auto-flow:column;grid-auto-columns:max-content;column-gap:5px;row-gap:0;align-items:stretch}.cad-ribbon .ribbon-button{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;gap:5px;min-width:0;min-height:0;height:20px;padding:1px 5px 1px 3px;margin:0;white-space:nowrap;border-radius:3px;border:1px solid transparent;background:transparent;color:#495c73;font-size:10px;line-height:1.2;font-weight:400;box-shadow:none}.cad-ribbon .ribbon-button svg{width:16px;height:16px;flex:none;stroke:#4d6c90;stroke-width:1.45;fill:none;stroke-linecap:round;stroke-linejoin:round}.cad-ribbon .ribbon-button-label{display:inline-block;color:inherit;line-height:1.25}.cad-ribbon .ribbon-button:hover{background:#edf3fb;border-color:#c6d7ec;color:#2e5c95}.cad-ribbon .ribbon-button.active,.cad-ribbon .ribbon-button.on{border-color:#afc9e9;background:#e7f0fc;color:#215f9f}.cad-ribbon .ribbon-button.active svg,.cad-ribbon .ribbon-button.on svg{stroke:#286cae}.cad-ribbon .ribbon-button:disabled,.ribbon-topbar .ribbon-button:disabled{opacity:.34;cursor:not-allowed}.cad-ribbon .ribbon-button.ribbon-large{flex-direction:column;justify-content:center;gap:5px;min-width:43px;height:61px;padding:5px 6px;font-size:10px;text-align:center}.cad-ribbon .ribbon-button.ribbon-large svg{width:27px;height:27px;stroke-width:1.35}.cad-ribbon .ribbon-button.ribbon-large .ribbon-button-label{white-space:nowrap}.cad-ribbon .ribbon-group-label{font-size:9px;font-weight:400;color:#8795a7;text-align:center;line-height:14px;min-height:14px;letter-spacing:.15px;padding-top:1px}.cad-ribbon .ribbon-storage[hidden]{display:none!important}.cad-ribbon::-webkit-scrollbar{height:4px}.cad-ribbon::-webkit-scrollbar-thumb{background:#ccd5e1;border-radius:3px}.cad-ribbon::-webkit-scrollbar-track{background:#f5f7fa}.has-ribbon.is-drawing [data-drafting-tool]{opacity:.35;cursor:wait}@media(max-width:1180px){.ribbon-document #save-state{display:none}.ribbon-document #docname{width:170px}.ribbon-topbar .brand small{display:none}.cad-ribbon .ribbon-group{padding-left:6px;padding-right:7px}}@media(max-width:950px){.side-open .has-ribbon .rightbar{top:116px}.ribbon-document #docname{width:125px}.has-ribbon .topbar.ribbon-topbar{gap:5px;padding:0 6px}.ribbon-tabs .ribbon-tab{min-width:40px;padding:0 9px}.ribbon-topbar .brand{font-size:13px}}@media(max-width:700px){.ribbon-document{display:none}.ribbon-utilities{margin-left:auto}.ribbon-utilities #view-3d{display:none}.ribbon-tabs .ribbon-tab{min-width:37px;padding:0 8px}.ribbon-topbar .ribbon-button{min-width:23px;width:23px}.ribbon-quick-divider{margin:0 2px}.has-ribbon nav.toolbar.cad-ribbon{padding:0 6px}}@media(max-width:600px){.app.has-ribbon{grid-template-rows:30px 86px minmax(0,1fr) 42px 25px}.side-open .has-ribbon .rightbar{top:116px;bottom:67px}.has-ribbon .topbar.ribbon-topbar{gap:3px;padding:0 5px}.ribbon-topbar .brand{font-size:12px;gap:3px}.ribbon-topbar .brand svg{width:16px;height:16px}.ribbon-topbar .ribbon-button svg{width:15px;height:15px}.ribbon-tabs .ribbon-tab{font-size:10px;min-width:35px;padding:0 7px}.cad-ribbon .ribbon-group-label{font-size:9px}.ribbon-topbar #new-doc,.ribbon-topbar #help{display:inline-flex}.ribbon-quick{gap:0}}
