:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#253b49;background:#f4f7f9;font-synthesis:none;--accent: #147d77;--muted: #6c7d88;--line: #e0e8ed}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}[hidden]{display:none!important}:focus-visible{outline:3px solid #46a6c1;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.app-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 28px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:block;width:36px;height:36px;flex-shrink:0;-webkit-user-select:none;user-select:none}h1{font-size:17px;letter-spacing:-.45px;margin:0 0 1px;font-weight:700}.subtitle{font-size:11px;color:var(--muted)}.progress{display:flex;gap:30px;padding:0;margin:0;list-style:none;font-size:12px;color:#8998a1;font-weight:600}.progress li{display:flex;gap:7px;align-items:center}.progress span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#edf1f4;font-size:11px}.progress [data-state=active]{color:var(--accent)}.progress [data-state=active] span,.progress [data-state=done] span{color:#fff;background:var(--accent)}.progress [data-state=done]{color:#405d64}.local-badge{display:flex;align-items:center;gap:6px;font-size:11px;color:#617b79;white-space:nowrap}.local-badge i{height:6px;width:6px;background:#5f9f8f;border-radius:50%}.local-badge small{color:#8b999f;border-left:1px solid var(--line);padding-left:9px;margin-left:4px;font-size:10px}main{display:grid;grid-template-columns:326px minmax(0,1fr);height:calc(100dvh - 76px);min-height:610px}aside{display:flex;flex-direction:column;min-height:0;background:#fff;border-right:1px solid var(--line)}.sidebar-content{flex:1;overflow-y:auto;padding:23px 22px 12px;scrollbar-width:thin}.step+.step{border-top:1px solid var(--line);margin-top:21px;padding-top:21px}.step-heading{display:flex;align-items:center;gap:9px;margin-bottom:13px}.step-number{display:grid;place-items:center;background:#edf3f4;color:#637e87;border-radius:6px;width:23px;height:23px;font-size:11px;font-weight:700}h2{font-size:14px;letter-spacing:-.15px;margin:0;font-weight:650}h3{font-size:12px;font-weight:600;margin:0}.file-card{border:1px dashed #bcced8;border-radius:8px;padding:15px 13px 10px;background:#fafcfd}.file-card strong{display:block;font-size:13px;overflow-wrap:anywhere}#dimensions{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0 10px}button{border:0;background:var(--accent);color:#fff;border-radius:6px;padding:11px 14px;font-size:12px;font-weight:650;transition:background .15s,box-shadow .15s}button:not(:disabled):hover{background:#0e6864}button.secondary{color:#365e6c;background:#edf3f6}button.secondary:not(:disabled):hover{background:#dfeaf0}button.text-button{color:#5a7681;background:none;padding:5px 0;font-weight:500;font-size:11px}button.text-button:not(:disabled):hover{color:var(--accent);background:none;text-decoration:underline}.file-card button{width:100%}.file-card #sample{margin-top:5px}label{display:block;font-size:11px;font-weight:600;line-height:1.4;margin-bottom:12px}.check{display:flex;align-items:flex-start;gap:7px;font-size:11px;font-weight:400;line-height:1.5}.check input{accent-color:var(--accent);margin:2px 0 0;flex-shrink:0}#confirm-row{margin:12px 0 0;color:#516874}.help{color:var(--muted);font-size:11px;line-height:1.6;margin:0 0 13px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dimension-settings>div{min-width:0}.dimension-settings label{margin-bottom:6px}.setting-label{display:block;min-height:34px}.setting-description{font-size:10px;line-height:1.5;color:var(--muted);margin:0 0 5px}.wall-setting{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}#walls{width:78px;margin-top:0}.setting-range{margin:-3px 0 16px;-webkit-user-select:none;user-select:none}.setting-range input{display:block;width:100%;height:28px;margin:0;accent-color:var(--accent);cursor:pointer;touch-action:none}.setting-range input:disabled{cursor:default;opacity:.4}.setting-range .help{font-size:10px;margin:6px 0 0}.unit{color:#8b9ba3;font-weight:400;margin-left:2px}input[type=number]{display:block;width:100%;background:#fff;color:#253b49;border:1px solid #c9d7df;border-radius:6px;padding:9px 10px;margin-top:6px;font-size:13px}input:disabled{background:#f5f7f8;color:#97a6ae;border-color:#e4eaee}.selection-card{border:1px solid var(--line);border-radius:8px;padding:13px;margin:2px 0 18px;background:#f8fafb}.selection-card strong{font-size:12px}.selection-card p{font-size:11px;color:#6b7f8a;line-height:1.6;margin:6px 0 0}.selection-card[data-state=ready]{background:#f0f9f6;border-color:#b5dcd0}.selection-card[data-state=error]{background:#fff7ee;border-color:#eed1a6}.selection-card[data-state=error] strong{color:#946222}.selection-card button:not(.text-button){width:100%;margin-top:12px}.selection-card .text-button{display:block;margin:7px auto 0}#selection-facts{margin-top:10px;display:flex;gap:5px;flex-wrap:wrap}.fact{font-size:10px;background:#fff;color:#467468;border:1px solid #d9eae3;border-radius:4px;padding:3px 6px}kbd{font-family:inherit;font-size:9px;color:#85989f;margin-left:8px}.targets-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}#target-count{background:#edf2f5;color:#748994;padding:1px 5px;font-size:10px;border-radius:4px;margin-left:3px}.empty-list{color:#8a9aa3;font-size:11px;margin:0 0 8px}.target{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #eef2f5}.target-dot{height:8px;width:8px;background:#e9903a;border-radius:3px;flex-shrink:0}.target-text{flex:1;font-size:11px}.target-text small{display:block;color:#84959e;font-size:10px;margin-top:3px}.target button{color:#8b9aa3;background:none;padding:4px 7px;font-size:17px;font-weight:400}.target button:hover{color:#b54838;background:#fceeea}details{font-size:11px}summary{cursor:pointer;color:#5f7884;font-weight:600;margin-bottom:14px}.advanced{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.advanced .help{font-size:10px}#custom-settings{border-top:1px solid var(--line);padding-top:14px;margin-top:17px}input[type=file]{display:block;margin-top:9px;font-size:11px;width:100%}input.sr-only{width:1px;height:1px;left:0;top:0}.export-panel{flex-shrink:0;border-top:1px solid var(--line);padding:17px 22px;background:#fff;box-shadow:0 -8px 15px #203b4903}.export-panel .step-heading{margin-bottom:8px}#status{font-size:11px;line-height:1.5;color:#6b7d88;margin:0 0 12px}#status.error{color:#ae5435}#export{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;padding:12px 14px}#export span{font-size:17px;line-height:1}.export-note{font-size:10px;color:#8a99a2;margin:9px 0 0;line-height:1.6}.credits{font-size:10px;margin:6px 0 0}.credits a{color:#6c7d88;text-underline-offset:2px}.workspace{position:relative;min-width:0;overflow:hidden;background:#eff3f6}.workspace.drag-over:after{content:"Drop your STL here";position:absolute;inset:15px;display:grid;place-items:center;background:#e6f3efe8;border:2px dashed #75b9a9;border-radius:10px;color:var(--accent);font-size:20px;pointer-events:none;z-index:10}#viewport{position:absolute;inset:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.empty-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none;padding-bottom:40px}.empty-state svg{width:85px;height:85px;fill:#e6edf1;stroke:#a9bdc8;stroke-width:1.5;stroke-linejoin:round;margin-bottom:19px}.empty-state svg .accent{fill:#d9eee9;stroke:#83b9ab}.empty-state h2{font-size:23px;letter-spacing:-.6px;font-weight:600}.empty-state p{color:#7a8e9a;font-size:13px;line-height:1.8;margin:12px 0 23px}.empty-state button{pointer-events:auto;min-width:128px;font-size:13px}.empty-state .help{margin-top:12px;font-size:10px}.view-tools{position:absolute;top:20px;right:22px;left:24px;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}.view-buttons{display:flex;background:#ffffffeb;box-shadow:0 2px 10px #283f4e08;padding:3px;border:1px solid #dce5eb;border-radius:7px}.view-buttons button{background:none;color:#6e838f;border-radius:4px;padding:6px 10px;font-size:11px;font-weight:500;white-space:nowrap}.view-buttons button[aria-pressed=true]{background:#e6f0f1;color:var(--accent)}.view-buttons button:hover{background:#edf3f6;color:#365c6c}.toggle{margin:0;padding:9px 10px;border:1px solid #dce5eb;border-radius:7px;background:#ffffffeb;color:#6e838f;font-size:11px}.canvas-hint{position:absolute;top:72px;left:24px;display:flex;align-items:center;gap:8px;max-width:calc(100% - 48px);background:#ffffffdb;border:1px solid #dce6ec;border-radius:20px;padding:8px 12px;font-size:11px;color:#587582;pointer-events:none}.hint-dot{height:6px;width:6px;background:#78a5bf;border-radius:50%;flex-shrink:0}.canvas-hint[data-state=side] .hint-dot{background:#1c9d8b}.canvas-hint[data-state=base] .hint-dot{background:#9a80cc}.canvas-hint[data-state=invalid] .hint-dot{background:#c39253}.legend{position:absolute;inset:auto 0 0;padding:18px 24px;display:flex;gap:18px;align-items:center;font-size:10px;color:#718792;pointer-events:none}.legend>span{display:flex;gap:6px;align-items:center}.swatch{width:7px;height:7px;border-radius:2px}.side{background:#80a6c0}.selected{background:#1a9d89}.modifier{background:#e9913b}.root{background:#9b7bd4}.orbit-help{margin-left:auto;color:#8b9fa9}dialog{width:min(430px,calc(100% - 32px));border:1px solid #dce6e9;border-radius:14px;padding:27px;color:#253b49;box-shadow:0 20px 70px #213c4b25}dialog::backdrop{background:#213c4b42;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.dialog-eyebrow{font-size:11px;font-weight:600;color:var(--accent)}dialog h2{font-size:21px;margin:9px 0 12px;letter-spacing:-.45px}dialog p{font-size:12px;color:#6c7d88;line-height:1.7;margin:0 0 21px}.dimension-filename{display:block;font-size:12px;overflow-wrap:anywhere;margin-bottom:10px}.dimension-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:24px}.dimension-grid>div{background:#f1f6f7;border:1px solid #e4ecef;border-radius:7px;padding:12px 8px}.dimension-grid>div>span{display:block;color:#7b909b;font-size:10px;margin-bottom:7px}.dimension-grid strong{display:block;font-size:19px;font-weight:600;overflow-wrap:anywhere}.dimension-grid small{font-size:10px;font-weight:400;color:#80949d}dialog button{width:100%;padding:12px}dialog .text-button{margin-top:9px}.help,.check,label,.empty-list,.target-text,#status{font-size:12px}.selection-card strong{font-size:13px}.selection-card p{font-size:12px}.export-note{font-size:11px}@media(max-width:1200px){.view-tools{display:grid;grid-template-columns:max-content max-content;justify-content:end}#orientation-tools{grid-column:1 / -1;justify-self:end}.canvas-hint{top:114px}}@media(max-width:1050px){.progress{gap:18px}.canvas-hint{font-size:10px}.legend{gap:12px}.orbit-help{display:none!important}}@media(max-width:760px){.app-header{padding:0 18px;height:66px}.progress,.local-badge small{display:none}main{display:flex;flex-direction:column;height:auto;min-height:0}.workspace{order:-1;height:50dvh;min-height:330px}aside{border:0}.sidebar-content{overflow:visible;padding:22px}.empty-state{padding:35px 0 0}.empty-state svg{width:48px;height:48px;margin-bottom:12px}.empty-state h2{font-size:19px}.empty-state p{font-size:11px;margin:8px 0 14px}.view-tools{top:12px;right:14px;left:15px}.canvas-hint{top:105px;left:15px;max-width:calc(100% - 30px)}.legend{padding:12px 15px;font-size:9px}.export-panel{padding:20px 22px}.local-badge{font-size:10px}}
