:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#243b40;background:#eef2f3;font-synthesis:none;--ink:#243b40;--muted:#87979b;--teal:#17696f;--deep:#173d40;--line:#e5ebed;--orange:#d88e56;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--panel:274px}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.34}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--teal)}button{border:0;color:inherit;background:none}svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.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}
.app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:72px;min-height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 22px 0 14px;gap:20px;z-index:20}.identity{display:flex;align-items:center;gap:12px}.back-link{color:#8b999c!important}.wordmark{display:flex;align-items:center;gap:10px;font-weight:750;letter-spacing:-1.5px;font-size:29px;color:var(--deep)}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e7efed;color:var(--teal)}.brand-mark svg{width:25px;height:25px;stroke-width:1.4}.brand-period{color:#6e9d98}.studio-label{font-size:8px;font-weight:600;letter-spacing:1.7px;line-height:1.5;max-width:35px;margin:3px 0 0 1px;color:#819496}.project-identity{height:34px;border-left:1px solid var(--line);padding-left:23px;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:140px;flex:1}.project-identity input{padding:0;border:0;background:transparent;min-width:0;width:100%;max-width:330px;color:#30474b;font-size:12px;font-weight:600;outline-offset:5px}.save-indicator{font-size:9px;color:#97a4a6;display:flex;align-items:center;gap:5px}.save-indicator>span{height:4px;width:4px;border-radius:50%;background:#81a79b}.history-actions{display:flex;gap:3px;border-right:1px solid var(--line);padding-right:17px}.icon-button{width:33px;height:33px;padding:7px;display:inline-grid;place-items:center;flex:none;border-radius:7px;color:#667c80}.icon-button:hover:not(:disabled){background:#eff4f3;color:var(--teal)}.icon-button svg{width:19px;height:19px}.file-actions{display:flex;align-items:center;gap:9px}.quiet-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 12px;border-radius:7px;font-size:10px;font-weight:600;white-space:nowrap}.quiet-button{background:white;border:1px solid #dee7e8;color:#526b70}.quiet-button:hover:not(:disabled){background:#f4f7f6;border-color:#b6ceca}.primary-button{background:var(--deep);color:#fff;border:1px solid var(--deep)}.primary-button:hover:not(:disabled){background:#24575a}.primary-button svg,.quiet-button svg{width:15px;height:15px}.file-actions .quiet-button{border:0;background:#f4f7f7}.inspector-toggle{display:none}
.commandbar{height:51px;min-height:51px;display:flex;align-items:center;padding:0 22px;background:#fcfdfd;border-bottom:1px solid #e2e9eb;gap:24px;z-index:15}.command-group{display:flex;gap:3px;align-items:center}.command-label{font-size:8px;letter-spacing:1.3px;color:#9aa7a9;font-weight:600;margin-right:8px}.command-button{display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:6px;font-size:10px;font-weight:500;color:#61777b;white-space:nowrap}.command-button svg{width:19px;height:19px;stroke-width:1.3}.command-button:hover:not(:disabled){background:#eaf2f0;color:var(--teal)}.boolean-commands{border-left:1px solid var(--line);padding-left:23px}.help-link{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:10px;color:#849498;white-space:nowrap}.help-link svg{width:16px;height:16px}.help-link:hover{color:var(--teal)}
.main-layout{display:flex;flex:1;min-height:0;position:relative;overflow:hidden}.workspace{position:relative;flex:1;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 48% 37%,#f7f9fa 0,#edf2f4 80%)}#viewport{position:absolute;inset:0;outline:none;touch-action:none}#viewport canvas{display:block;width:100%;height:100%;outline:none}.loading{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#859598;font-size:12px;background:#f0f4f5}.loading-spinner{width:27px;height:27px;border:2px solid #d6e3e2;border-top-color:var(--teal);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.tool-rail{position:absolute;top:23px;left:18px;width:59px;background:#fff;border:1px solid #dfe7e9;border-radius:12px;padding:5px;box-shadow:0 4px 12px #2c4b5810;display:flex;flex-direction:column;gap:2px}.rail-button{height:52px;width:47px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-radius:7px;color:#829397}.rail-button svg{width:20px;height:20px}.rail-button span{font-size:8px;font-weight:500;letter-spacing:.1px}.rail-button.active,.rail-button[aria-pressed="true"]{background:#e8f1ee;color:var(--teal)}.rail-button:hover:not(:disabled){background:#eff5f3;color:var(--teal)}.rail-divider{height:1px;background:var(--line);margin:4px 8px}.rail-button.sketch-tool{color:#42666b}.delete-tool:hover:not(:disabled){background:#fff1eb;color:#b4623f}.view-controls{position:absolute;top:25px;right:22px;display:flex;gap:8px;align-items:center}.view-presets{padding:4px;display:flex;background:#fff;border:1px solid #dfe7e9;border-radius:8px;box-shadow:0 3px 10px #2c4b5806}.view-presets button{font-size:9px;font-weight:500;color:#87979b;border-radius:5px;padding:6px 11px}.view-presets button.active,.view-presets button[aria-pressed="true"]{background:#eef4f2;color:#396c6d}.view-presets button:hover{color:var(--teal);background:#f4f7f7}.fit-button{background:#fff;border:1px solid #dfe7e9;box-shadow:0 3px 10px #2c4b5806}.workspace-label{position:absolute;top:33px;left:97px;display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.2px;color:#9aabad;pointer-events:none}.workspace-label i{width:4px;height:4px;border-radius:50%;background:#89aaa3}.workspace-label>span{color:#bfcdcd}
.welcome-card{position:absolute;left:101px;bottom:91px;width:336px;padding:25px 27px 20px;background:#ffffffed;backdrop-filter:blur(10px);border:1px solid #fff;border-radius:14px;box-shadow:0 12px 55px #3c5b6410}.dismiss-button{position:absolute;right:10px;top:10px;width:26px;height:26px;padding:6px;color:#a9b5b5}.dismiss-button svg{width:15px;height:15px}.eyebrow{font-size:7px;letter-spacing:1.5px;color:#7b9b99;font-weight:700;margin:1px 0 15px}.welcome-card h1{margin:0 0 15px;font-size:29px;font-weight:500;line-height:1.15;letter-spacing:-.95px;color:#2b4b4e}.welcome-card>p:not(.eyebrow){font-size:11px;line-height:1.8;color:#85979b;margin:0}.starter-label{font-size:8px;color:#91a1a4;margin-top:23px;margin-bottom:9px}.starter-buttons{display:flex;gap:6px}.starter-buttons button{border:1px solid #dde8e8;display:flex;align-items:center;gap:5px;font-size:9px;border-radius:6px;padding:8px 9px;background:#fafcfc;color:#618083}.starter-buttons svg{width:13px;height:13px;stroke-width:1.4}.starter-buttons button:hover{border-color:#86b2aa;background:#edf5f1;color:var(--teal)}.local-note{display:flex;align-items:center;gap:5px;font-size:8px;color:#96a6a8;margin-top:20px;padding-top:15px;border-top:1px solid #edf1f1}.tiny-dot{width:4px;height:4px;border-radius:50%;background:#7fa99b}
.viewport-bottom{position:absolute;bottom:17px;left:99px;right:21px;display:flex;align-items:center;justify-content:space-between;gap:14px;pointer-events:none}.camera-hint{font-size:8px;letter-spacing:.1px;line-height:1.7;color:#96a7ab;margin:0}.camera-hint span{padding:0 4px;color:#b4c3c5}.grid-settings{pointer-events:auto;background:#ffffffdf;display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid #e0e8ea;border-radius:7px;color:#83979a;box-shadow:0 2px 8px #30505d04}.grid-settings>label{display:flex;align-items:center;gap:5px;font-size:9px;white-space:nowrap}.grid-settings input{accent-color:#467e76;width:11px;height:11px;margin:0}.setting-divider{height:13px;width:1px;background:#e1e9e9}.grid-settings select{border:0;background:transparent;color:#4a696c;font-size:9px;padding-right:2px}.grid-settings .snap-value{margin-left:-4px}
.sketch-bar{position:absolute;left:calc(50% + 30px);bottom:68px;transform:translateX(-50%);z-index:5;width:max-content;max-width:calc(100% - 117px);border-radius:12px;background:#fffffffa;border:1px solid #d9e5e3;padding:16px 18px;box-shadow:0 8px 45px #23475018}.sketch-heading{display:flex;align-items:center;gap:15px;margin-bottom:12px}.sketch-badge{display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:1px;font-weight:700;color:var(--teal);white-space:nowrap}.sketch-badge svg{width:14px;height:14px}.sketch-heading p{font-size:10px;color:#7a8f93;margin:0;max-width:300px;line-height:1.5}.sketch-actions{display:flex;align-items:center;gap:10px}.sketch-types{display:flex;gap:2px;padding-right:10px;border-right:1px solid var(--line)}.sketch-types .active{background:#e7f1ed;color:var(--teal)}.extrude-height{display:flex;align-items:center;gap:5px;font-size:9px;color:#778e91}.extrude-height input{width:53px;border:1px solid #dce6e6;border-radius:5px;padding:7px 4px;color:#45686b;font-size:11px;text-align:center;font-family:var(--mono)}.extrude-height>span{font-family:var(--mono);font-size:8px;color:#9aabad}
.properties-panel{width:var(--panel);min-width:var(--panel);background:#fff;border-left:1px solid #e2e9eb;display:flex;flex-direction:column;overflow:auto;z-index:12}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 21px 17px}.panel-heading h2,.selection-heading h2{font-size:11px;font-weight:650;margin:0;letter-spacing:.1px}.panel-heading h2 span{margin-left:6px;padding:2px 5px;background:#f0f4f4;border-radius:4px;font-size:9px;color:#96a5a7;font-weight:500}.panel-caption{font-size:6px;letter-spacing:1.3px;color:#a6b1b3;font-weight:600}.body-list{padding:0 11px 17px;min-height:95px;max-height:210px;overflow:auto;border-bottom:1px solid var(--line)}.body-list-empty{padding:9px 10px;font-size:10px;color:#a1afb1}.body-list:empty::after{content:"Your shapes will appear here.";display:block;padding:9px 10px;font-size:10px;color:#a1afb1}.body-item,.body-row{display:flex;align-items:center;border-radius:6px;font-size:10px;min-height:35px;padding:5px 8px;gap:8px;color:#6d8589}.body-item.selected,.body-row.selected{background:#eaf3ef;color:var(--teal)}.body-item:hover,.body-row:hover{background:#f3f7f6}.body-list button{font-size:10px;text-align:left;color:inherit;min-width:0}.body-list>button{width:100%;padding:9px 10px;display:flex;align-items:center;gap:8px;border-radius:6px}.body-list>button:hover{background:#f3f7f6}.body-list>button.selected,.body-list>button[aria-selected="true"],.body-list .is-selected{background:#eaf3ef;color:var(--teal)}.body-list svg{width:14px;height:14px;stroke-width:1.4}.body-list input[type=checkbox]{accent-color:var(--teal);width:12px;height:12px}.body-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.body-color,.body-swatch{width:7px;height:7px;border-radius:2px;flex:none}.body-visibility,.visibility-button{margin-left:auto;font-size:13px;opacity:.65}.selection-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 21px 15px}.selection-heading>span{font-size:8px;color:#9eacae}.selection-empty{padding:34px 24px 27px;text-align:center;color:#a2afb0}.empty-selection-icon{display:grid;place-items:center;width:39px;height:39px;margin:0 auto 16px;background:#f4f7f6;border-radius:11px;color:#91aaa8}.empty-selection-icon svg{width:20px;height:20px}.selection-empty h3{margin:0 0 10px;font-weight:500;font-size:11px;color:#708b8e;line-height:1.7}.selection-empty p{font-size:10px;line-height:1.8;margin:0}.selection-empty p.selection-tip{margin-top:24px;font-size:8px;color:#9cacaf}.selection-tip kbd{font-size:7px;border-color:#e5ebed;background:#fafcfc;color:#9cacaf}.selection-properties{padding:0 21px 24px}.name-field>label{font-size:7px;font-weight:600;letter-spacing:1px;color:#9aabad}.name-field>div{display:flex;gap:7px;margin-top:7px}.name-field input[type=text]{width:100%;min-width:0;border:1px solid #e1e9e9;border-radius:6px;padding:9px;font-size:10px;color:#4f6e73;background:#fafcfc}.color-label{display:block;flex:none;width:34px;height:33px;border:1px solid #e1e9e9;border-radius:6px;padding:5px;cursor:pointer;background:#fff}.color-label input{display:block;appearance:none;-webkit-appearance:none;border:0;padding:0;background:none;width:22px;height:21px;cursor:pointer}.color-label input::-webkit-color-swatch-wrapper{padding:0}.color-label input::-webkit-color-swatch{border:0;border-radius:3px}.color-label input::-moz-color-swatch{border:0;border-radius:3px}fieldset{border:0;padding:0;margin:26px 0 0;min-width:0}legend{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:9px;font-weight:600;padding:0;margin:0 0 11px;color:#658084}legend>span{font-size:7px;font-weight:400;color:#a3b1b3;font-family:var(--mono)}.dimension-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.dimension-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}.dimension-fields label>span{display:flex;justify-content:space-between;color:#97a9ac;font-size:8px;padding:0 1px}.dimension-fields b{font-family:var(--mono);font-size:7px;font-weight:400;color:#b1bfc0}.dimension-fields input,.coordinate-fields input{min-width:0;width:100%;padding:9px 6px;border:1px solid #e1e9e9;background:#f9fbfb;border-radius:6px;font-family:var(--mono);font-size:10px;text-align:center;color:#4f7175;-moz-appearance:textfield}.selection-properties input:focus{outline:1px solid #8dbcb1;outline-offset:0;border-color:#8dbcb1;background:#fff}.selection-properties input::-webkit-inner-spin-button{opacity:0}.selection-properties input:hover::-webkit-inner-spin-button{opacity:1}.coordinate-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.coordinate-fields label{display:flex;position:relative;min-width:0}.coordinate-fields label>span{position:absolute;left:7px;top:11px;font-family:var(--mono);font-size:8px;pointer-events:none}.axis-x{color:#c5857a}.axis-y{color:#78a18a}.axis-z{color:#749fb8}.coordinate-fields input{padding-left:17px}.placement-actions{display:flex;gap:7px;margin-top:23px}.placement-actions .quiet-button{flex:1;padding:8px 5px;font-size:8px;gap:4px}.placement-actions svg{width:12px;height:12px}.property-tip{font-size:7px;color:#a5b5b6;text-align:center;margin:17px 0 0}.panel-footer{margin-top:auto;border-top:1px solid var(--line);padding:21px;display:flex;align-items:center;gap:11px;color:#9db1b1}.panel-footer svg{height:25px;width:25px;stroke-width:1}.panel-footer span{font-size:8px;line-height:1.8}.panel-footer strong{font-weight:500;color:#7e9d9b}
.statusbar{height:30px;min-height:30px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid #e2e9eb;padding:0 20px;font-size:8px;color:#91a3a6;gap:15px;z-index:16}.status-leading{display:flex;align-items:center;gap:7px;min-width:0}.status-leading>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ready-dot{width:4px;height:4px;border-radius:50%;background:#82aa9c;flex:none}.status-trailing{display:flex;align-items:center;gap:18px;flex:none;font-family:var(--mono);font-size:7px;letter-spacing:.3px}.unit-badge{border-left:1px solid var(--line);padding-left:15px;color:#6c898b}
.body-select{display:flex;align-items:center;gap:8px;flex:1;min-width:0;align-self:stretch;padding:4px 0}.body-select>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.body-row .body-visibility,.body-row .body-lock{display:grid;place-items:center;flex:none;width:23px;height:25px;padding:0;margin:0;border-radius:4px;color:#91a5a6;font-family:var(--mono);font-size:12px}.body-row .body-visibility:hover,.body-row .body-lock:hover{background:#ddece6;color:var(--teal)}.loading[role=alert]{padding:40px 100px;text-align:center;z-index:8}.loading[role=alert] strong{font-weight:550;font-size:18px;color:#3d666c}.loading[role=alert] p{max-width:480px;font-size:12px;line-height:1.8;color:#7d959a}
.selection-empty{font-size:11px;line-height:1.8}
.studio-dialog{width:590px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);border:1px solid #e2e9e9;border-radius:17px;background:#fff;padding:28px;color:var(--ink);box-shadow:0 30px 120px #1e3d4350}.studio-dialog::backdrop{background:#19393f70;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-header .eyebrow{margin-bottom:10px;font-size:7px}.dialog-header h2{font-weight:500;letter-spacing:-.6px;font-size:25px;margin:0;line-height:1.3}.dialog-header .icon-button{margin-top:-6px;margin-right:-9px}.help-content{margin-top:26px}.help-content section+section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.help-content h3{font-size:12px;font-weight:600;margin:0 0 9px;color:#3f6568}.help-content p{font-size:11px;line-height:1.8;color:#7e9295;margin:7px 0}.help-content strong{font-weight:600;color:#56787b}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 27px;margin-top:16px}.shortcut-grid>span{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#789194;gap:10px}kbd{display:inline-block;font-family:var(--mono);font-size:8px;color:#718c8f;background:#f5f8f7;border:1px solid #e2eae8;border-radius:4px;padding:3px 5px;white-space:nowrap}.dialog-footer{margin-top:25px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;gap:15px}.dialog-footer>span{font-size:9px;color:#9bb0af}.confirm-dialog{width:410px}.confirm-dialog .dialog-header h2{font-size:23px}.confirm-dialog>p{font-size:12px;color:#81979b;line-height:1.8;margin:20px 0}.confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}
@media(min-width:1600px){:root{--panel:292px}.topbar{height:77px;min-height:77px}.commandbar{height:54px;min-height:54px}.welcome-card{bottom:115px;left:119px;width:355px;padding:30px}.welcome-card h1{font-size:33px}.welcome-card>p:not(.eyebrow){font-size:12px}.tool-rail{left:22px;top:28px}.view-controls{top:30px;right:28px}.workspace-label{left:119px;top:38px}.viewport-bottom{left:119px;right:28px;bottom:23px}}
@media(max-width:1190px){.topbar{gap:13px;padding-right:15px}.project-identity{padding-left:15px;min-width:105px}.studio-label{display:none}.identity{gap:7px}.history-actions{padding-right:11px}.file-actions{gap:4px}.file-actions .quiet-button{padding:8px}.file-actions .quiet-button span{display:none}.commandbar{padding:0 15px;gap:15px}.command-button{padding:7px;font-size:9px;gap:5px}.command-label{margin-right:3px;font-size:7px}.boolean-commands{padding-left:15px}.help-link{font-size:9px;gap:4px}.viewport-bottom{left:96px;align-items:flex-end;gap:10px}.camera-hint{max-width:165px;font-size:7px}.welcome-card{width:306px;left:96px;padding:24px}.welcome-card h1{font-size:27px}.view-presets button{padding:6px 9px}.properties-panel{--panel:252px}.panel-heading,.selection-heading{padding-left:17px;padding-right:17px}.selection-properties{padding-left:17px;padding-right:17px}.placement-actions{gap:5px}.placement-actions .quiet-button{font-size:7px}.workspace-label{font-size:6px;letter-spacing:1px;gap:5px;left:97px}}
@media(max-width:960px){.properties-panel{position:absolute;right:0;top:0;bottom:0;--panel:274px;transform:translateX(100%);transition:transform .2s ease;box-shadow:-8px 0 35px #2648520b}.properties-panel.open,.properties-panel.is-open,.app.inspector-open .properties-panel,body.panel-open .properties-panel{transform:translateX(0)}.inspector-toggle{display:inline-grid}.inspector-toggle[aria-expanded=true]{background:#e7f1ed;color:var(--teal)}.commandbar{gap:18px}.help-link span{display:none}.command-button{padding:7px 9px}.command-label{margin-right:5px}.boolean-commands{padding-left:18px}.project-identity{min-width:100px}.workspace-label{font-size:7px}.welcome-card{width:330px}.welcome-card h1{font-size:30px}.viewport-bottom{align-items:center}.camera-hint{max-width:none;font-size:8px}}
@media(max-width:720px){.topbar{height:65px;min-height:65px;padding:0 10px;gap:9px}.identity{gap:2px}.wordmark{gap:6px;font-size:26px}.brand-mark{width:29px;height:29px;border-radius:8px}.brand-mark svg{width:21px;height:21px}.back-link{width:25px;padding:4px}.back-link svg{width:16px;height:16px}.project-identity{padding-left:10px;min-width:75px}.project-identity input{font-size:10px}.save-indicator{font-size:7px;gap:3px}.history-actions{gap:0;padding-right:8px}.history-actions .icon-button{width:25px;height:30px;padding:5px}.history-actions svg{width:17px;height:17px}.file-actions{gap:2px}.file-actions .icon-button{width:28px;height:30px;padding:5px}.file-actions .primary-button{min-height:31px;padding:7px 9px;font-size:9px}.file-actions .primary-button svg{display:none}.file-actions #new-project{display:none}.file-actions .quiet-button{padding:6px;background:none}.file-actions .quiet-button svg{width:17px;height:17px}.commandbar{height:46px;min-height:46px;overflow-x:auto;padding:0 11px;gap:14px;scrollbar-width:none}.commandbar::-webkit-scrollbar{display:none}.command-group{gap:1px}.command-label{display:none}.command-button{font-size:9px;padding:7px;gap:5px}.command-button svg{width:17px;height:17px}.boolean-commands{padding-left:12px}.help-link{padding-right:4px;margin-left:0}.tool-rail{left:10px;top:14px;width:51px;padding:4px;border-radius:10px}.rail-button{width:41px;height:46px;gap:3px}.rail-button svg{width:18px;height:18px}.rail-button span{font-size:7px}.rail-divider{margin:3px 7px}.workspace-label{left:77px;top:25px;font-size:6px;letter-spacing:.8px}.view-controls{right:12px;top:16px;gap:5px}.view-presets{padding:3px;border-radius:7px}.view-presets button{font-size:8px;padding:5px 8px}.fit-button{width:29px;height:29px;padding:5px;border-radius:6px}.fit-button svg{width:16px;height:16px}.welcome-card{left:77px;bottom:78px;width:290px;padding:21px}.welcome-card h1{font-size:27px}.welcome-card .eyebrow{font-size:6px;letter-spacing:1.1px}.welcome-card>p:not(.eyebrow){font-size:10px}.starter-label{margin-top:18px}.starter-buttons button{font-size:8px;padding:7px 8px}.starter-buttons svg{width:12px;height:12px}.local-note{font-size:7px;margin-top:17px;padding-top:13px}.viewport-bottom{left:77px;right:13px;bottom:14px;align-items:flex-end}.camera-hint{font-size:7px;max-width:130px;line-height:1.8}.camera-hint span{padding:0 2px}.grid-settings{gap:7px;padding:6px 8px}.grid-settings>label,.grid-settings select{font-size:8px}.grid-settings input{width:10px;height:10px}.grid-settings .snap-value{margin-left:-3px}.statusbar{height:28px;min-height:28px;padding:0 12px;font-size:7px}.status-trailing{font-size:6px;gap:10px}.unit-badge{padding-left:9px}.sketch-bar{left:calc(50% + 25px);bottom:70px;max-width:calc(100% - 90px);padding:13px}.sketch-heading{display:block;margin-bottom:10px}.sketch-heading p{font-size:9px;max-width:230px;margin-top:7px}.sketch-badge{font-size:7px;letter-spacing:.8px}.sketch-actions{gap:7px;flex-wrap:wrap}.sketch-types{gap:1px;padding-right:6px}.sketch-types .icon-button{width:28px;height:29px;padding:6px}.sketch-types svg{height:16px;width:16px}.extrude-height{font-size:8px;gap:4px}.extrude-height input{width:46px;padding:7px 3px;font-size:10px}.sketch-actions .primary-button,.sketch-actions .quiet-button{font-size:9px;padding:7px 9px}.sketch-actions .primary-button svg{width:14px;height:14px}}
@media(max-width:490px){.topbar{flex-wrap:wrap;height:105px;min-height:105px;align-content:center;row-gap:9px}.identity{order:0}.project-identity{order:1;flex:1;border:0;padding-left:6px;margin-right:2px;min-width:80px}.history-actions{order:2;border:0;padding:0;margin-left:auto}.file-actions{order:3;width:100%;border-top:1px solid #edf1f2;padding-top:7px;gap:9px}.file-actions #new-project{display:inline-grid}.file-actions .quiet-button span{display:inline;font-size:9px}.file-actions .quiet-button{padding:4px 8px;gap:5px;min-height:27px;margin-left:auto}.file-actions .quiet-button svg{width:14px;height:14px}.file-actions .primary-button{min-height:28px;padding:6px 10px}.file-actions .icon-button{height:27px;width:28px}.file-actions .inspector-toggle{margin-left:auto}.wordmark{font-size:25px}.save-indicator{font-size:7px}.project-identity input{max-width:150px}.commandbar{height:43px;min-height:43px}.command-button{padding:6px 7px;font-size:8px}.command-button svg{height:16px;width:16px}.tool-rail{top:14px}.workspace-label{display:none}.view-controls{right:10px;top:16px}.view-presets button{padding:5px 8px;font-size:8px}.welcome-card{left:76px;right:15px;bottom:83px;width:auto;max-width:290px;padding:19px}.welcome-card h1{font-size:26px}.welcome-card .eyebrow{font-size:5.5px;letter-spacing:1px;max-width:170px}.starter-buttons{gap:4px;flex-wrap:wrap}.starter-buttons button{font-size:7px;padding:7px;gap:3px}.starter-buttons svg{width:11px;height:11px}.local-note{font-size:6.5px;line-height:1.5}.viewport-bottom{left:76px;right:11px;bottom:12px;flex-direction:column-reverse;align-items:flex-start;gap:8px}.camera-hint{font-size:6px;max-width:100%;line-height:1.5}.grid-settings{gap:8px;padding:6px 9px}.statusbar{font-size:6.5px}.status-trailing{font-size:6px}.status-trailing #cursor-position{display:none}.status-trailing .unit-badge{border:0;padding:0}.studio-dialog{padding:22px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);border-radius:13px}.dialog-header h2{font-size:22px}.help-content{margin-top:22px}.help-content p{font-size:10px}.shortcut-grid{column-gap:18px;row-gap:9px}.shortcut-grid>span{font-size:8px;gap:7px}.shortcut-grid kbd{font-size:6px;padding:3px}.dialog-footer{align-items:flex-start}.dialog-footer>span{max-width:95px;font-size:8px;line-height:1.6}.dialog-footer>.primary-button{font-size:9px}.sketch-bar{bottom:87px;max-width:calc(100% - 89px);left:calc(50% + 29px);width:280px}.sketch-heading p{font-size:8px}.extrude-height>span{display:none}.sketch-actions{gap:6px}.sketch-types{padding-right:5px}.sketch-types .icon-button{width:25px;height:27px;padding:5px}.extrude-height{font-size:7px}.extrude-height input{width:41px;font-size:9px}.sketch-actions .primary-button,.sketch-actions .quiet-button{min-height:29px;padding:6px 9px;font-size:8px}.sketch-actions .quiet-button{margin-left:auto}.properties-panel{--panel:264px}}
@media(max-height:720px) and (min-width:721px){.tool-rail{top:16px}.rail-button{height:43px}.rail-button span{font-size:7px}.rail-button svg{height:18px;width:18px}.rail-divider{margin:2px 7px}.welcome-card{padding:20px 23px;bottom:71px}.welcome-card h1{font-size:25px;margin-bottom:12px}.welcome-card .eyebrow{margin-bottom:12px}.welcome-card>p:not(.eyebrow){font-size:10px}.starter-label{margin-top:17px}.local-note{margin-top:15px;padding-top:12px}.panel-heading{padding-top:19px}.body-list{max-height:150px;min-height:80px}.selection-empty{padding-top:22px}.panel-footer{padding-top:16px;padding-bottom:16px}}
@media(max-height:650px) and (max-width:720px){.rail-button{height:38px}.rail-button svg{width:16px;height:16px}.rail-button span{font-size:6px}.rail-divider{margin:2px 7px}.welcome-card{padding:15px;bottom:75px}.welcome-card h1{font-size:22px}.welcome-card .eyebrow{margin-bottom:10px}.welcome-card>p:not(.eyebrow){font-size:9px}.starter-label{margin-top:12px}.local-note{display:none}.starter-buttons button{padding:6px}.view-controls{top:14px}.viewport-bottom{bottom:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.loading-spinner{animation-duration:2.5s}}
@media(max-width:720px){.welcome-card{padding:18px 21px}.welcome-card h1{font-size:24px;line-height:1.15;margin-bottom:10px}.welcome-card h1 br{display:none}.welcome-card>p:not(.eyebrow),.welcome-card .local-note{display:none}.welcome-card .eyebrow{margin-bottom:10px}.welcome-card .starter-label{margin-top:13px}.loading[role=alert]{padding:30px 65px}.loading[role=alert] strong{font-size:15px}.loading[role=alert] p{font-size:10px}}

/* Workspaces, precision tools, and reusable feature dialogs. */
body:not([data-experience="advanced"]) [data-advanced],
body[data-experience="advanced"] [data-beginner] { display: none !important; }
[hidden] { display: none !important; }
.topbar { gap: 17px; }
.experience-picker { display: flex; align-items: center; position: relative; flex: none; }
.experience-picker select { appearance: none; border: 1px solid #d7e5df; background: #edf5ef; color: #28685f; border-radius: 7px; padding: 8px 24px 8px 11px; font-size: 10px; font-weight: 600; cursor: pointer; min-width: 108px; }
.experience-picker::after { content: ''; position: absolute; right: 10px; top: 12px; width: 5px; height: 5px; border-right: 1.5px solid #4a8475; border-bottom: 1.5px solid #4a8475; transform: rotate(45deg); pointer-events: none; }
.mode-dot { display: none; }
body[data-experience="advanced"] .experience-picker select { background: #edf1f8; border-color: #dae2f1; color: #47658e; }
body[data-experience="advanced"] .experience-picker::after { border-color: #6682a6; }
.project-identity { min-width: 90px; }
.commandbar { overflow-x: auto; overflow-y: hidden; gap: 18px; scrollbar-width: thin; scrollbar-color: #d8e4e2 transparent; }
.command-group { flex: none; }
.command-button { white-space: nowrap; }
.commandbar .help-link { flex: none; margin-left: auto; }
.boolean-commands { padding-left: 18px; }
.text-command { margin-left: 4px; color: #2d746c; background: #eef6f1; }
.precisionbar { display: flex; align-items: center; gap: 19px; flex: none; min-height: 36px; padding: 6px 24px; background: #f4f7fa; border-bottom: 1px solid #e0e7ec; color: #78909b; overflow-x: auto; scrollbar-width: none; }
.precisionbar::-webkit-scrollbar { display: none; }
.precision-label { font-size: 6px; letter-spacing: 1.3px; font-weight: 650; color: #8c9fa9; white-space: nowrap; }
.precisionbar label { display: flex; align-items: center; gap: 7px; font-size: 9px; white-space: nowrap; }
.precisionbar select { border: 1px solid #dce5ea; border-radius: 4px; background: #fff; color: #52707d; font-size: 9px; padding: 4px 7px; }
.precisionbar input { margin: 0; width: 11px; height: 11px; accent-color: #456e91; }
.precision-separator { width: 1px; height: 17px; background: #dae4e9; flex: none; }
.export-selection { margin-left: auto; }
.beginner-guide { background: linear-gradient(130deg, #f2f7ef, #eef7f3); border-bottom: 1px solid #dae9e0; padding: 18px 17px 14px; flex: none; }
.guide-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.guide-eyebrow { display: block; font-size: 6px; color: #85a18b; letter-spacing: 1.1px; font-weight: 650; margin-bottom: 6px; }
.guide-heading h2 { margin: 0; font-size: 14px; line-height: 1.35; letter-spacing: -.2px; color: #456c59; font-weight: 550; }
#guide-toggle { font-size: 7px; color: #779581; border: 1px solid #d3e1d6; background: #ffffff80; padding: 4px 6px; border-radius: 4px; white-space: nowrap; }
#guide-toggle:hover { background: #fff; color: #32624c; }
#guide-steps { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 7px; counter-reset: design-step; }
#guide-steps li { counter-increment: design-step; position: relative; font-size: 9px; line-height: 1.5; color: #5a7b68; }
#guide-steps li:not(:has(button)) { padding-left: 23px; }
#guide-steps li:not(:has(button))::before { content: counter(design-step); position: absolute; left: 0; top: 0; border: 1px solid #cbded0; border-radius: 50%; width: 15px; height: 15px; display: grid; place-items: center; font-family: var(--mono); font-size: 7px; color: #7d9f89; background: #ffffffa0; }
#guide-steps strong { display: block; font-size: 9px; font-weight: 550; color: #4e735d; }
#guide-steps li>span { display: block; font-size: 8px; color: #90a38f; line-height: 1.55; margin-top: 2px; }
.guide-step { display: flex; align-items: center; width: 100%; text-align: left; gap: 8px; padding: 7px 8px; border: 1px solid #dce9df; border-radius: 6px; background: #ffffff9c; font-size: 9px; color: #527660; line-height: 1.45; }
.guide-step:hover { background: #fff; border-color: #a9c7b1; }
.guide-step.complete { color: #3d7858; background: #e8f1e6; border-color: #d4e4d2; }
.guide-step-number { display: grid; place-items: center; width: 17px; height: 17px; flex: none; background: #edf5eb; border: 1px solid #cbddc8; border-radius: 50%; font-family: var(--mono); font-size: 8px; }
.guide-step.complete .guide-step-number { background: #6f9a76; color: #fff; border-color: #6f9a76; }
.guide-mode-note { font-size: 7px; color: #91a58f; line-height: 1.7; margin: 12px 0 0; }
body[data-experience="beginner"] .body-list { min-height: 60px; max-height: 140px; }
body[data-experience="beginner"] .panel-heading { padding-top: 17px; }
.aspect-lock { display: flex; align-items: center; gap: 6px; font-size: 8px; color: #8a9fa0; margin-top: 12px; line-height: 1.5; }
.aspect-lock input { width: 11px; height: 11px; margin: 0; accent-color: var(--teal); }
.parameter-fields { display: grid; gap: 9px; }
.parameter-fields label { display: flex; align-items: center; gap: 10px; }
.parameter-fields label>span { flex: 1; font-size: 9px; color: #789095; line-height: 1.6; }
.parameter-fields small { font-size: 7px; color: #a3b0b3; padding-left: 4px; font-family: var(--mono); }
.parameter-fields input { max-width: 100px; min-width: 0; padding: 8px 6px; border: 1px solid #e1e9e9; background: #f9fbfb; border-radius: 6px; font-family: var(--mono); font-size: 10px; color: #4f7175; }
#body-text-field { display: block; }
#body-text-field>span { display: block; margin-bottom: 5px; }
#body-text { width: 100%; max-width: none; font-family: var(--sans); }
.multi-properties, .measurement-panel { padding: 20px 21px 23px; border-top: 1px solid var(--line); flex: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section-heading h3 { font-weight: 600; font-size: 10px; color: #5c7e83; margin: 0; }
.section-heading>span { font-size: 5px; letter-spacing: .9px; color: #a6b3b5; }
.arrange-note { font-size: 8px; color: #99aaad; line-height: 1.7; margin: 10px 0 14px; }
.alignment-table { display: grid; grid-template-columns: 15px repeat(3, 1fr); align-items: center; gap: 5px; }
.alignment-table>span { font-size: 6px; text-align: center; color: #9cacb0; margin-bottom: 2px; }
.alignment-table>strong { font-family: var(--mono); font-size: 8px; font-weight: 400; }
.alignment-table button { border: 1px solid #e1e9e9; background: #f8fbfa; color: #70918f; border-radius: 4px; min-height: 27px; padding: 4px 2px; font-size: 8px; text-align: center; }
.alignment-table button:hover:not(:disabled) { border-color: #a4c7bc; color: #356e62; background: #eef7f1; }
.arrange-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.arrange-row>span { font-size: 8px; color: #8ba0a4; }
.arrange-row>div { display: flex; gap: 4px; }
.arrange-row button { border: 1px solid #e1e9e9; border-radius: 4px; font-family: var(--mono); font-size: 8px; color: #6e9092; padding: 5px; width: 27px; background: #f8fbfa; }
.arrange-row button:hover:not(:disabled) { background: #eaf4ed; border-color: #abcabb; }
.pattern-launch { width: 100%; justify-content: center; margin-top: 17px; font-size: 9px; background: #eff4f7; color: #668597; border: 1px solid #e0e9ed; }
.pattern-launch svg { width: 13px; height: 13px; }
.measurement-panel { background: #fbfcfd; }
.measurement-panel dl { display: grid; gap: 10px; margin: 16px 0 0; }
.measurement-panel dl>div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.measurement-panel dt { font-size: 8px; color: #8ba0a5; flex: none; }
.measurement-panel dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 8px; color: #5e7d8b; line-height: 1.6; word-break: break-word; }
.measurement-panel p { font-size: 7px; color: #a4b0b4; line-height: 1.65; margin: 15px 0 0; }
.sketch-actions { flex-wrap: wrap; }
.sketch-plane-field { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #7d9698; }
.sketch-plane-field select, .sketch-plane-field input { border: 1px solid #dce6e6; border-radius: 5px; padding: 6px 5px; background: #fff; font-size: 9px; color: #577e80; min-width: 0; }
.sketch-plane-field input { width: 53px; font-family: var(--mono); }
.sketch-plane-field>span { font-size: 7px; color: #9aaeb0; font-family: var(--mono); }
.sketch-back { width: 27px; height: 28px; padding: 6px; }
.feature-dialog { width: 510px; }
.feature-fields { display: grid; gap: 20px; margin-top: 28px; }
.feature-fields label { display: flex; flex-direction: column; gap: 8px; font-size: 10px; color: #628287; line-height: 1.5; min-width: 0; position: relative; }
.feature-fields label>span { font-size: 8px; font-family: var(--mono); color: #9baeb1; position: absolute; right: 0; top: 1px; }
.feature-fields input, .feature-fields select { display: block; width: 100%; min-width: 0; border: 1px solid #dbe7e5; border-radius: 7px; padding: 11px 10px; background: #f8fbfa; color: #3b6669; font-size: 12px; }
.feature-fields input:focus, .feature-fields select:focus { outline: 2px solid #bddacd; outline-offset: 0; background: #fff; border-color: #a3c8b7; }
.feature-fields .wide-field input { font-size: 24px; letter-spacing: .3px; padding: 15px 13px; color: #2c645d; font-weight: 550; }
.dialog-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dialog-note { padding: 13px 14px; border: 1px solid #e5ece8; background: #f7faf7; border-radius: 7px; color: #91a399; font-size: 9px; line-height: 1.75; margin: 0; }
.feature-feedback { font-size: 10px; line-height: 1.7; color: #b26e49; margin: -4px 0 -4px; }
.feature-feedback:empty { display: none; }
.feature-dialog .dialog-footer .primary-button { white-space: nowrap; }
.feature-dialog .dialog-footer>span { font-size: 8px; line-height: 1.7; max-width: 180px; }
@media (max-width: 1190px) {
  .topbar { gap: 10px; }
  .experience-picker select { min-width: 96px; padding-left: 8px; font-size: 9px; }
  .commandbar { gap: 12px; }
  .command-button { padding: 7px 8px; }
  .boolean-commands { padding-left: 12px; }
  .precisionbar { padding-left: 17px; padding-right: 17px; gap: 15px; }
  .precision-label { display: none; }
  .export-selection { margin-left: 0; }
  .multi-properties, .measurement-panel { padding-left: 17px; padding-right: 17px; }
}
@media (max-width: 900px) {
  .topbar { height: 110px; min-height: 110px; flex-wrap: wrap; align-content: center; row-gap: 10px; padding-top: 9px; padding-bottom: 9px; }
  .identity { order: 0; }
  .experience-picker { order: 1; }
  .project-identity { order: 2; flex: 1; padding-left: 10px; }
  .history-actions { order: 3; margin-left: auto; border-right: 0; padding-right: 0; }
  .file-actions { order: 4; width: 100%; border-top: 1px solid #edf1f2; padding-top: 7px; justify-content: flex-end; gap: 8px; }
  .file-actions #new-project { display: inline-grid; }
  .file-actions .quiet-button span { display: inline; }
  .file-actions .quiet-button { margin-left: auto; }
  .file-actions .inspector-toggle { margin-left: 7px; }
  .precisionbar { min-height: 35px; padding: 6px 12px; font-size: 8px; }
}
@media (max-width: 720px) {
  .file-actions .quiet-button { background: #f4f7f6; padding: 6px 9px; }
  .commandbar { padding-left: 11px; padding-right: 11px; }
  .commandbar .help-link { margin-left: 0; }
  .experience-picker select { min-width: 99px; padding-top: 7px; padding-bottom: 7px; }
  .precisionbar { gap: 14px; }
  .precisionbar label, .precisionbar select { font-size: 8px; }
  .beginner-guide { padding-top: 16px; padding-bottom: 12px; }
  .guide-heading h2 { font-size: 13px; }
  .guide-mode-note { font-size: 7px; }
  .sketch-actions { gap: 8px; }
  body[data-experience="advanced"] .sketch-bar { width: 310px; }
  .sketch-plane-field { font-size: 7px; }
  .sketch-plane-field select, .sketch-plane-field input { padding: 5px; font-size: 8px; }
  .sketch-plane-field input { width: 46px; }
  .feature-fields { gap: 18px; margin-top: 23px; }
  .feature-fields input, .feature-fields select { font-size: 11px; padding: 10px 9px; }
  .feature-fields .wide-field input { font-size: 22px; }
}
@media (max-width: 490px) {
  .topbar { height: 143px; min-height: 143px; gap: 8px; align-content: flex-start; padding: 9px 10px; }
  .identity { order: 0; margin-right: auto; }
  .experience-picker { order: 1; }
  .experience-picker select { min-width: 98px; font-size: 9px; padding-top: 7px; padding-bottom: 7px; }
  .history-actions { order: 2; margin-left: 3px; }
  .project-identity { order: 3; width: 100%; flex: 0 0 100%; padding: 0 4px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 24px; min-height: 24px; }
  .project-identity input { width: 190px; max-width: calc(100% - 120px); font-size: 10px; }
  .save-indicator { font-size: 7px; padding: 0; white-space: nowrap; }
  .file-actions { order: 4; width: 100%; padding-top: 7px; height: 35px; gap: 8px; }
  .file-actions .quiet-button { font-size: 8px; padding: 5px 7px; gap: 4px; }
  .file-actions .quiet-button span { font-size: 8px; }
  .file-actions .primary-button { font-size: 8px; padding: 6px 8px; min-height: 27px; }
  .file-actions .icon-button { width: 26px; height: 26px; padding: 5px; }
  .file-actions .inspector-toggle { margin-left: auto; }
  .precisionbar { gap: 13px; min-height: 34px; }
  .commandbar { min-height: 43px; height: 43px; }
  .feature-dialog { padding: 22px; }
  .feature-dialog .dialog-header h2 { font-size: 21px; }
  .feature-dialog .dialog-header .eyebrow { font-size: 6px; letter-spacing: 1px; }
  .dialog-field-row { gap: 13px; }
  .feature-fields label { font-size: 9px; }
  .feature-fields label>span { font-size: 6px; }
  .feature-dialog .dialog-footer { gap: 10px; }
  .feature-dialog .dialog-footer>span { max-width: 120px; font-size: 7px; }
  .feature-dialog .dialog-footer .primary-button { padding: 9px 11px; font-size: 9px; }
}
@media (max-width: 350px) {
  .topbar { column-gap: 5px; }
  .wordmark { font-size: 22px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .identity .back-link { width: 22px; padding: 4px; }
  .experience-picker select { min-width: 88px; padding-left: 6px; font-size: 8px; }
  .history-actions .icon-button { width: 22px; height: 26px; }
  .file-actions { gap: 4px; }
  .file-actions .quiet-button { padding: 5px; }
}
