:root{font-synthesis:none;color:#203638;--ink:#203638;--muted:#5e7274;--line:#dce4e3;--surface:#fff;--canvas:#f3f5f5;--accent:#086a61;--accent-hover:#07584f;--accent-soft:#eaf4f1;--focus:#388f86;--blue:var(--accent);--danger:#ab3535;--warning:#855013;--radius:8px;--shadow:0 12px 40px #20363816;background:#f3f5f5;font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}html{scroll-padding-bottom:24px}::selection{color:var(--ink);background:#cce6df}input,textarea{caret-color:var(--accent)}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit}button,.button-link{border-radius:var(--radius);background:var(--surface);min-height:40px;color:var(--ink);cursor:pointer;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:#086a6120;border:1px solid #cad6d4;justify-content:center;align-items:center;gap:8px;padding:9px 14px;font-weight:600;line-height:1.4;text-decoration:none;display:inline-flex}button:enabled:hover,.button-link:hover{background:#f0f5f3;border-color:#9cb6b0}button:enabled:active,.button-link:active{background:#e7efec}button.primary,.button-link.primary{color:#fff;background:var(--accent);border-color:var(--accent)}button.primary:enabled:hover,.button-link.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}button:disabled{opacity:.5;cursor:not-allowed}.quiet{color:var(--muted);background:0 0;border-color:#0000}.auth-switch{white-space:normal;width:100%;min-height:44px;color:var(--accent)}.sms-fields{gap:12px;margin:12px 0 18px;display:grid}.sms-fields label{margin:0!important}.sms-fields .sms-send{width:100%;min-height:44px}.sms-fields .sms-status{color:var(--muted);white-space:normal;margin:0;font-size:13px;line-height:1.6}.phone-dialog{width:min(440px,100vw - 24px)}.phone-dialog .primary{width:100%;min-height:44px}#account-hint{color:var(--muted);margin-top:7px;font-size:12px;font-weight:400;line-height:1.6;display:block}.danger,.delete-button{color:var(--danger)}.danger:enabled:hover,.delete-button:enabled:hover{background:#fff1f0;border-color:#e5b7b4}a{color:var(--accent);text-underline-offset:4px}:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:3px}.skip-link{z-index:30;border-radius:var(--radius);background:var(--accent);color:#fff;padding:12px 16px;position:fixed;top:12px;left:16px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}label{color:#425b5d;font-size:13px;font-weight:500;line-height:1.6;display:block}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{border-radius:var(--radius);background:#fff;border:1px solid #cbd7d4;width:100%;min-width:0;min-height:42px;padding:10px 12px;font-size:14px;line-height:1.5;display:block}label>:is(input:not([type=checkbox]):not([type=radio]),select,textarea){margin-top:7px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input[readonly]{background:var(--canvas)}[aria-invalid=true]{background:#fff8f7;border-color:var(--danger)!important}input:user-invalid{background:#fff8f7;border-color:var(--danger)!important}textarea:user-invalid{background:#fff8f7;border-color:var(--danger)!important}input[type=number],.hash,td,dd{font-variant-numeric:tabular-nums}input[type=range],input[type=checkbox],input[type=radio]{accent-color:var(--accent)}input[type=file]{width:100%;min-width:0;font-size:12px;display:block}input[type=file]::file-selector-button{font:inherit;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd7d4;border-radius:6px;margin:0 10px 6px 0;padding:8px}textarea{resize:vertical;min-height:96px}h1,h2,h3{color:var(--ink);text-wrap:balance;font-weight:650;line-height:1.4}p{overflow-wrap:anywhere;text-wrap:pretty;line-height:1.75}.muted,.help{color:var(--muted)}.help{font-size:12px;line-height:1.75}.small{font-size:12px}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.brand{color:var(--accent);white-space:nowrap;align-items:center;gap:10px;font-size:20px;font-weight:650;text-decoration:none;display:inline-flex}.brand svg{flex-shrink:0;width:34px;height:34px}.brand span{color:var(--ink)}.brand b{color:var(--muted);margin-left:4px;font-size:16px;font-weight:500}svg{flex-shrink:0;width:18px;height:18px}button svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}dialog{width:min(480px,100% - 32px);max-height:calc(100vh - 48px);max-height:calc(var(--visual-height,100dvh) - 48px);color:var(--ink);border:1px solid var(--line);overscroll-behavior:contain;background:#fff;border-radius:16px;margin:auto;padding:28px;overflow:auto;box-shadow:0 24px 100px #122e3433}dialog::backdrop{background:#18333570}.dialog-title,.detail-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog-title{margin-bottom:12px}.dialog-title h2{margin:0;font-size:22px}.close-button{background:var(--canvas);width:44px;min-width:44px;min-height:44px;color:var(--muted);border-color:#0000;padding:0;font-size:24px;font-weight:400}dialog .full-label{margin:18px 0}dialog>p{color:var(--muted);font-size:13px}.export-options{flex-wrap:wrap;gap:10px;margin:24px 0 4px;display:flex}.export-options button{flex:1}.form-error,.error,#product-import-error{color:#9d2e2e;white-space:pre-wrap;background:#fff2f0;border:1px solid #f0d3cd;border-radius:8px;padding:12px;font-size:13px}:is(.form-error,.error,#product-import-error,.warn):empty{display:none}.warn{color:var(--warning);border-radius:var(--radius);background:#fbf4e8;border:1px solid #e2c893;padding:12px;font-size:13px}details{min-width:0}summary{cursor:pointer;padding:12px 0;font-weight:600;line-height:1.6}summary::marker{color:var(--muted)}fieldset{border:1px solid var(--line);border-radius:10px;min-inline-size:0;margin:20px 0;padding:18px}legend{padding:0 6px;font-weight:650}fieldset label+label{margin-top:14px}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}td,th{border-bottom:1px solid var(--line);vertical-align:top;padding:12px;line-height:1.6}th{color:#526a6b;white-space:nowrap;background:#f4f7f6;font-weight:600}tbody tr:last-child td{border-bottom:0}.table-scroll{border:1px solid var(--line);overscroll-behavior-x:contain;border-radius:8px;max-width:100%;overflow:auto}.hash{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.check{align-items:flex-start;gap:10px;margin:12px 0;font-size:13px;line-height:1.8;display:flex}.check input{flex:none;width:17px;height:17px;margin:4px 0 0}.empty{color:var(--muted);background:#fff;border:1px dashed #bbceca;border-radius:12px;padding:32px 24px;line-height:1.8}.empty h3{color:var(--ink);margin:0 0 8px;font-size:18px}.empty p{margin:8px 0 20px}@media (width<=600px){dialog{max-height:calc(var(--visual-height,100dvh) - 24px);border-radius:12px;padding:22px}.dialog-title h2{font-size:20px}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{font-size:16px}button,.button-link{overflow-wrap:anywhere;max-width:100%}fieldset{padding:14px}}@media (pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{font-size:16px}input,select,textarea{scroll-margin:20px}button,.button-link,summary{min-width:44px;min-height:44px}.check{min-height:44px}input[type=file]::file-selector-button{min-height:44px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}body{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.app-header{border-bottom:1px solid var(--line);z-index:5;background:#fff;flex-wrap:wrap;align-items:center;gap:24px;padding:14px 24px;display:flex}.header-description{color:var(--muted);border-left:1px solid var(--line);padding-left:20px;font-size:13px}.header-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.header-actions button,.header-actions .button-link{font-size:13px}.account-tools,.document-tools{align-items:center;gap:6px;display:flex}.account-tools{border-left:1px solid var(--line);padding-left:12px}#login-name{color:var(--muted);font-size:12px}#login-name:empty{display:none}.save-status{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.save-status:before{content:"";background:#378476;border-radius:50%;flex-shrink:0;width:6px;height:6px}.file-menu{position:relative}.file-menu>summary{border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:13px;list-style:none}.file-menu>summary::-webkit-details-marker{display:none}.file-menu>summary:after{content:"⌄";color:var(--muted);padding-left:12px}.file-menu[open]>summary{background:var(--canvas)}.file-menu .menu-items{border:1px solid var(--line);width:196px;box-shadow:var(--shadow);background:#fff;border-radius:10px;padding:6px;position:absolute;top:calc(100% + 8px);right:0}.menu-items button{text-align:left;background:0 0;border:0;justify-content:flex-start;width:100%}.menu-items button:hover{background:var(--accent-soft)}.workspace{flex:1;grid-template-columns:320px minmax(300px,1fr) 264px;min-height:0;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;min-height:0;display:flex}.sidebar-heading{justify-content:space-between;align-items:center;gap:12px;padding:24px 22px 20px;display:flex}.sidebar-heading h1{margin:0;font-size:20px}.version-badge{color:var(--muted);background:var(--canvas);border:1px solid var(--line);white-space:nowrap;border-radius:5px;padding:5px 7px;font-size:10px}.task-context{color:var(--muted);border-top:1px solid var(--line);overflow-wrap:anywhere;background:#f0f5f3;padding:10px 22px;font-size:11px;line-height:1.7}.task-context button{min-height:30px;margin:6px 6px 0 0;padding:5px 8px;font-size:11px}.tabs{border-bottom:1px solid var(--line);gap:0;padding:0 12px;display:flex}.tabs button{min-width:0;color:var(--muted);background:0 0;border:0;border-radius:0;flex:1;gap:5px;padding:14px 2px;font-size:13px;position:relative}.tabs button[aria-selected=true]{color:var(--accent)}.tabs button[aria-selected=true]:after{content:"";background:var(--accent);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:10px;right:10px}.tabs button span{background:#edf2f0;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:500}.panel-scroll{scrollbar-width:thin;scrollbar-color:#cbd7d4 transparent;flex:1;min-height:0;padding:24px 22px;overflow-y:auto}.section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.section-heading h2{margin:0;font-size:15px}.section-heading .small{font-size:11px}.help{margin:10px 0 18px}.fields{gap:12px;margin:18px 0;display:grid}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.input-unit{margin-top:7px;display:block;position:relative}.input-unit input{font-variant-numeric:tabular-nums;padding-right:30px!important}.input-unit small{color:var(--muted);pointer-events:none;font-size:10px;font-weight:400;position:absolute;top:13px;right:10px}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}#component-editor input[type=range]{width:100%;min-height:28px;margin:4px 0 12px}.inner-card{background:var(--accent-soft);color:#426c61;border:1px solid #cce0d9;border-radius:8px;flex-direction:column;gap:8px;margin:22px 0;padding:16px;font-size:12px;display:flex}.inner-card strong{color:#254e43;font-variant-numeric:tabular-nums;font-size:21px;font-weight:600}.inner-card strong small{margin-left:4px;font-size:11px;font-weight:400}.inner-card .small{font-size:11px}.divided{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.toggle-row{color:#425b5d;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;font-size:13px;display:flex}.toggle-row small{color:var(--muted);margin-top:5px;font-size:11px;font-weight:400;display:block}.toggle-row input{appearance:none;cursor:pointer;background:#cad7d2;border:1px solid #bacbc6;border-radius:20px;flex-shrink:0;width:36px;height:22px;margin:0;position:relative}.toggle-row input:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #20363820}.toggle-row input:checked{background:var(--accent);border-color:var(--accent)}.toggle-row input:checked:after{left:16px}.hint{color:var(--muted);align-items:flex-start;gap:9px;margin-top:20px;font-size:11px;line-height:1.8;display:flex}.hint p{margin:0}.hint-icon{text-align:center;border:1px solid #9badab;border-radius:50%;flex-shrink:0;width:16px;height:16px;margin-top:3px;font-size:10px;line-height:15px}.sidebar-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:10px;padding:15px 22px;font-size:10px;display:flex}.sidebar-footer i{background:#378476;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.text-button{min-height:auto;color:var(--muted);background:0 0;border:0;padding:0;font-size:11px}.stage{background:#edf2f0;min-width:0;min-height:460px;position:relative;overflow:hidden}.stage-heading{z-index:2;pointer-events:none;justify-content:space-between;align-items:flex-start;gap:12px;display:flex;position:absolute;top:24px;left:28px;right:24px}.stage-heading>*{pointer-events:auto}.stage-heading h2{color:#3b5654;margin:4px 0;font-size:20px;font-weight:600}.icon-text{color:#506e65;background:#fffe;border-color:#d4dfda;padding:8px 11px;font-size:12px}.icon-text svg{width:16px;height:16px}#toggle-dimensions{min-height:44px}#viewport{outline-offset:-5px;touch-action:none;position:absolute;inset:0}#viewport canvas{width:100%;height:100%;display:block}.stage-meta{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;top:76px;left:28px}.stage-meta>span:first-child{color:var(--ink);font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.stage-meta>span:last-child{color:var(--muted);font-size:11px}.view-toolbar{z-index:2;background:var(--surface);border:1px solid var(--line);anchor-name:--view-controls;border-radius:12px;width:max-content;max-width:calc(100% - 24px);padding:6px;position:absolute;bottom:62px;left:50%;transform:translate(-50%)}.view-toolbar-row,.view-button-group{justify-content:center;align-items:center;gap:2px;display:flex}.view-toolbar-row{flex-wrap:wrap}.view-model-controls{border-bottom:1px solid var(--line);gap:8px;margin-bottom:6px;padding-bottom:6px}.view-toolbar button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;padding:8px 10px;font-size:12px}.view-toolbar button.active,#toggle-grid[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.view-toolbar .toggle-row{gap:8px;min-height:44px;padding:0 8px;font-size:12px}#explode-gap-field{align-items:center;gap:8px;font-size:12px;display:flex}#explode-gap-field .input-unit{width:80px;margin:0}#explode-gap{min-height:44px}#view-settings{border:1px solid var(--line);width:284px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);background:var(--surface);border-radius:12px;padding:12px 16px 16px;overflow-y:auto}#view-settings .toggle-row{min-height:44px;padding:10px 0}#view-settings .section-heading button{min-height:44px}#toggle-grid{width:100%;min-height:44px;margin-top:8px}.stage-help{color:var(--muted);pointer-events:none;flex-wrap:wrap;justify-content:center;gap:14px;font-size:10px;display:flex;position:absolute;bottom:22px;left:20px;right:20px}.stage-help span+span:before{content:"·";color:#94a8a0;margin-right:14px}.axis-key{pointer-events:none;text-align:center;font-size:10px;font-weight:450;position:absolute;bottom:72px;right:20px}.axis-key>div{align-items:flex-end;gap:1px;display:flex}.axis-key svg{width:34px;height:28px}.axis-y{color:#387860}.axis-x{color:#a84b47}.axis-z{color:#496b9d}.insights{border-left:1px solid var(--line);background:#fcfdfc;padding:28px 22px;overflow-y:auto}.insight-heading{align-items:center;gap:10px;display:flex}.insight-heading h2{margin:0 0 4px;font-size:14px}.insight-heading .small{font-size:11px}.status-icon{color:#337454;background:#e8f3ec;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:16px;display:flex}.status-icon.warning{color:var(--warning);background:#fbefd7}.check-ok{margin:22px 0;padding:0;list-style:none}.check-ok li{color:#506d63;align-items:center;gap:9px;padding:9px 0;font-size:12px;display:flex}.check-ok li:before{content:"✓";color:#337454}.issue-list{max-height:260px;margin:18px 0;padding:0;list-style:none;overflow:auto}.issue-list li{color:var(--warning);background:#fbf4e8;border-radius:6px;margin:8px 0;padding:12px;font-size:12px;line-height:1.7}.issue-list button{white-space:normal;width:100%;font:inherit;line-height:inherit;text-align:left;color:inherit;background:0 0;border:0;padding:0}.spec-summary,.getting-started{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.insights h3{margin:0 0 18px;font-size:13px}dl{margin:0}dl>div{margin:18px 0}dt{color:var(--muted);margin-bottom:6px;font-size:11px}dd{color:var(--ink);margin:0;font-size:13px;line-height:1.7}.getting-started p{color:var(--muted);gap:10px;margin:14px 0;font-size:11px;line-height:1.8;display:flex}.getting-started b{color:#425b5d;white-space:nowrap;font-weight:600}.prototype-note{color:var(--muted);border-top:1px solid var(--line);margin:24px 0 0;padding-top:18px;font-size:11px;line-height:1.9}#panel-holes>.full-label,#panel-components .group-body>.full-label{margin-bottom:16px}#handle-orientation-field .help{display:block}.add-actions{gap:8px;margin:16px 0 20px;display:flex}.add-actions button{flex:1;padding:10px;font-size:12px}.add-actions button.active{background:var(--accent-soft);color:var(--accent);border-color:#8eb9ac}.add-actions button span{color:var(--accent);font-size:20px}.object-list{flex-direction:column;gap:7px;max-height:204px;margin-bottom:18px;display:flex;overflow:auto}.product-results{max-height:230px}.product-results .object-row{white-space:normal;align-items:flex-start;gap:12px}.product-results .object-row>span{flex:1;min-width:0}.product-results .object-row .row-name{white-space:normal;max-width:none;display:block}.product-results b{color:var(--accent);flex-shrink:0}.product-results small{overflow-wrap:anywhere;margin-top:4px;display:block}.product-card{border:1px solid var(--line);border-radius:8px}.product-card>.object-row{border:0}.product-evidence{color:var(--muted);overflow-wrap:anywhere;padding:0 12px 10px;font-size:11px}.product-evidence summary{padding:6px 0;font-size:11px}.product-evidence p{margin:6px 0;line-height:1.8}.object-row{text-align:left;border:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;padding:12px;font-size:12px;font-weight:500;display:flex}.object-row small{color:var(--muted);font-size:12px;font-weight:400}.object-row.selected{background:var(--accent-soft);color:var(--accent);border-color:#8eb9ac}.object-row .row-name{text-overflow:ellipsis;white-space:nowrap;max-width:160px;overflow:hidden}.component-row{align-items:stretch;gap:6px;display:flex}.component-row .object-row{flex:1;min-width:0}.component-row small,.component-row .delete-button{flex-shrink:0}.component-row .delete-button{padding:6px 8px;font-size:11px}.editor{border-top:1px solid var(--line);margin:20px 0;padding:20px 0 0}.editor h3{margin:0 0 14px;font-size:14px}.editor .help{font-size:11px}.editor .delete-button{width:100%;margin-top:10px;font-size:12px}.editor .full-label{margin:16px 0}.empty{font-size:12px}.product-builder{border:1px solid var(--line);border-radius:8px;margin:14px 0;padding:0 12px}.product-builder summary{font-size:12px}.product-builder form{gap:8px;margin-top:10px;display:grid}.component-library{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.component-library button{text-align:left;grid-template-rows:auto auto;grid-template-columns:25px 1fr 18px;gap:4px 10px;padding:13px;font-size:12px;display:grid}.component-library strong{font-weight:600}.component-library small{color:var(--muted);grid-column:2;font-size:11px;font-weight:400}.component-library b{color:var(--accent);grid-area:1/3/3;font-size:22px;font-weight:400}.cell-icon{background:#c89163;border-top:3px solid #3c526e;border-radius:4px;grid-row:1/3;justify-self:center;width:14px;height:27px;box-shadow:inset 3px 0 #ffffff40}.cell-icon.short{background:#8199b0;height:24px}.board-icon{background:#639a8b;border-radius:2px;grid-row:1/3;width:24px;height:17px;position:relative;box-shadow:inset 0 0 0 3px #7eafa0}.board-icon:after{content:"";background:#314b46;position:absolute;inset:5px 7px}.handle-icon{border:3px solid #8298b0;border-bottom:0;border-radius:6px 6px 0 0;grid-row:1/3;align-self:center;width:24px;height:16px}.measured-size{color:var(--accent);margin:0 0 12px;font-size:14px;font-weight:600}.editor-actions{flex-wrap:wrap;gap:8px;display:flex}.editor-actions button{flex:1}.editor-actions .delete-button{width:auto;margin-top:0}.sidebar-group{border-block:1px solid var(--line);margin-top:18px}.sidebar-group>summary{color:var(--ink);padding:14px 0;font-size:14px}.sidebar-group>summary small{color:var(--muted);margin:5px 0 0 15px;font-size:11px;font-weight:400;line-height:1.6;display:block}.sidebar-group .group-body{border-top:1px solid var(--line);padding:16px 0}.group-body .component-library,.group-body .object-list{margin-bottom:0}.group-body>.fields{margin-top:0}.object-list .empty{margin:0;padding:14px}.group-body #import-product{white-space:normal;width:100%;line-height:1.6}#component-list{max-height:190px;margin-top:14px}.dimension-label{touch-action:manipulation;color:#395e51;white-space:nowrap;font-variant-numeric:tabular-nums;pointer-events:auto;cursor:text;background:#fffffff0;border:1px solid #d3dfd9;border-radius:5px;min-height:32px;padding:4px 7px;font-size:11px;display:block;position:absolute;transform:translate(-50%,-50%)}.dimension-label:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}#dimension-dialog{width:min(340px,100vw - 32px);max-height:calc(100dvh - 32px);margin:0;padding:20px;position:fixed;inset:auto}#dimension-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}#dimension-dialog h2{font-size:17px}#dimension-dialog .fields{gap:12px}#dimension-dialog .fields:has(>label:only-child){grid-template-columns:1fr}#dimension-dialog .full-label{grid-column:1/-1;margin:0}#dimension-dialog .export-options{margin-bottom:0}.object-dimension{color:#fff;background:#1e4a42}#dimension-labels{pointer-events:none;position:absolute;inset:0}.dimension-label.hole-callout{pointer-events:auto;overflow-wrap:anywhere;text-align:left;color:#25473c;white-space:normal;cursor:default;max-width:calc(100% - 16px);min-height:0;padding:0;font-size:11px;line-height:1.5;transform:translateY(-50%)}.hole-callout>summary{cursor:pointer;min-height:32px;padding:7px 9px;font-weight:600}.hole-callout>summary::marker{color:var(--accent)}.hole-callout .callout-content{border:0;border-top:1px solid var(--line);width:100%;min-height:0;color:inherit;font:inherit;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;background:0 0;border-radius:0 0 4px 4px;padding:7px 9px;display:block}.hole-callout.selected{border-color:var(--accent);z-index:1}.measure-switch{border-top:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:34px;padding:6px 9px;font-weight:600;display:flex}.measure-switch input{appearance:none;cursor:pointer;background:#cad7d2;border:1px solid #bacbc6;border-radius:20px;flex-shrink:0;width:36px;height:22px;margin:0;position:relative}.measure-switch input:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #20363820}.measure-switch input:checked{background:var(--accent);border-color:var(--accent)}.measure-switch input:checked:after{left:16px}.measure-switch input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}#panel-box{gap:24px;display:grid}.box-group{gap:12px;min-width:0;display:grid}.box-group+.box-group{border-top:1px solid var(--line);padding-top:20px}.box-group .fields,.box-group .full-label,.box-group .help,.box-group .inner-card{margin:0}.box-group .fields{align-items:start}.box-group .thickness-switch{min-height:44px;color:var(--muted);border:0;padding:0;font-size:12px;font-weight:500}.box-size-summary{grid-template-columns:auto 1fr;align-items:center;gap:6px 12px;padding:12px;display:grid}.box-size-summary strong{white-space:nowrap;justify-self:end;font-size:16px}.box-size-summary>:last-child{grid-column:1/-1}.toast{bottom:max(24px, env(safe-area-inset-bottom));color:#fff;max-width:90vw;box-shadow:var(--shadow);z-index:20;pointer-events:none;background:#203e39;border-radius:10px;padding:14px 20px;font-size:13px;line-height:1.6;position:fixed;left:50%;transform:translate(-50%)}.toast.error{background:#963e35}.webgl-error{color:var(--warning);background:#fff;border-radius:10px;padding:20px;line-height:1.8;position:absolute;top:40%;left:10%;right:10%}#login-dialog .export-options button,#confirm-dialog .export-options button{min-height:46px}#login-dialog .help{margin-bottom:24px}#login-behavior{font-size:12px}#confirm-summary{background:var(--canvas);border-radius:8px;padding:14px}#product-import-dialog{width:min(760px,100% - 32px)}#product-model-preview{background:var(--canvas);border-radius:10px;height:240px;margin:16px 0;overflow:hidden}#product-model-preview:empty{display:none}#product-import-text{white-space:pre-wrap;background:var(--canvas);max-height:180px;color:var(--muted);border-radius:8px;padding:12px;font-size:12px;overflow:auto}#import-product-holes input{min-width:76px}#import-product-holes select{min-width:84px}#product-import-dialog .table-scroll{margin-bottom:14px}#product-import-dialog .toggle-row input{appearance:auto;width:20px;height:20px}#product-import-dialog .toggle-row input:after{display:none}.stage-check{z-index:2;color:#337454;background:#ecf5ee;border-color:#c8dfd0;min-height:32px;padding:6px 10px;font-size:11px;display:none;position:absolute;top:82px;right:24px}.stage-check.warning{color:var(--warning);background:#fbf4e8;border-color:#e2c893}@media (width>=1600px){.workspace{grid-template-columns:340px minmax(300px,1fr) 288px}.panel-scroll{padding:26px}}@media (width<=1240px){.workspace{grid-template-columns:308px minmax(300px,1fr)}.insights{display:none}.stage-check{display:flex}.header-description{display:none}}@media (width<=900px){.app-header{gap:12px;padding:12px 18px}.save-status{display:none}.account-tools{padding-left:6px}.header-actions{gap:6px}.header-actions button,.header-actions .button-link{padding:9px 10px}.workspace{grid-template-columns:300px minmax(280px,1fr)}}@media (width<=700px){body{height:auto;overflow:visible}.app-header{grid-template-columns:1fr auto;gap:12px;padding:14px 16px;display:grid}.brand{font-size:18px}.brand svg{width:30px;height:30px}.header-actions{display:contents}.document-tools .save-status{grid-area:2/1/auto/-1;display:flex}.document-tools{grid-area:2/1/auto/-1;grid-template-columns:auto 1fr 1fr;gap:6px;display:grid}.header-actions>.button-link{flex:1}.account-tools{border:0;grid-area:1/2;gap:2px;margin:0;padding:0}.brand b,#login-name{display:none}.header-actions button,.header-actions .button-link{font-size:12px}.header-actions #confirm-button{flex:1}.file-menu .menu-items{left:0;right:auto}.workspace{flex-direction:column;min-height:0;display:flex}.stage{height:480px;height:clamp(360px, calc(100svh - var(--header-height,168px)), 560px);border-bottom:1px solid var(--line);flex:none;order:-1;min-height:0}.sidebar{border-right:0}.sidebar-heading{padding:22px}.panel-scroll{overflow:visible}.stage-heading{top:12px;left:12px;right:12px}.stage-heading h2{font-size:18px}.stage-meta{gap:4px;top:66px;left:12px}.stage-meta>span:first-child{font-size:14px}.stage-check{max-width:46%;top:62px;right:12px}.stage-help{gap:7px;font-size:11px;bottom:8px;left:8px;right:8px}.stage-help span+span:before{margin-right:7px}.view-toolbar{max-width:calc(100% - 16px);padding:4px;bottom:42px}.view-toolbar button{padding:8px}#fit-button span,#view-settings-toggle span,.axis-key{display:none}.insights{border-left:0;border-top:1px solid var(--line);padding:24px;display:block}.spec-summary{grid-template-columns:1fr;display:grid}.spec-summary dl{grid-template-columns:1fr 1fr;gap:14px;display:grid}.spec-summary dl>div{margin:0}.getting-started{display:none}.prototype-note{margin-top:20px}.check-ok{flex-wrap:wrap;gap:10px;margin:14px 0;display:flex}.check-ok li{font-size:11px}.issue-list{max-height:none}#login-behavior{font-size:16px}}@media (pointer:coarse){.view-toolbar button,.dimension-label,.hole-callout>summary,.hole-callout .callout-content,.stage-check,.text-button,.task-context button{min-height:44px}}.stage-help.touch-help{display:none}@media (pointer:coarse){.stage-help.desktop-help{display:none}.stage-help.touch-help{display:flex}.measure-switch{min-height:44px}.hole-callout{touch-action:pan-y}}@media (width<=700px),(height<=600px){.hole-callout{width:196px}#dimension-dialog{max-height:calc(var(--visual-height,100dvh) - 24px);transform:translate(-50%);inset:max(12px, env(safe-area-inset-top)) auto auto 50%!important}#dimension-dialog .export-options{background:#fff;padding:12px 0;position:sticky;bottom:-20px}}@media (width>=701px) and (height<=600px){.app-header{padding:6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));flex-wrap:nowrap;gap:8px}.brand{font-size:18px}.brand b,.header-description,.save-status,#login-name{display:none}.header-actions{gap:4px}.header-actions button,.header-actions .button-link,.file-menu>summary{padding:8px;font-size:12px}.workspace{grid-template-columns:252px minmax(0,1fr)}.sidebar-heading{padding:10px 16px}.sidebar-heading h1{font-size:17px}.task-context{padding:6px 16px}.panel-scroll{padding:16px}.sidebar-footer{padding:8px 16px}.stage{min-height:0}.stage-heading{align-items:center;top:8px;left:12px;right:12px}.stage-heading h2{font-size:15px}.stage-meta{top:58px;left:12px}.stage-meta>span:last-child{display:none}.stage-check{top:58px;right:12px}.view-toolbar{bottom:max(8px, env(safe-area-inset-bottom));max-width:calc(100% - 16px);padding:4px}.view-toolbar button{padding:6px 8px}.view-model-controls{margin-bottom:2px;padding-bottom:2px}#fit-button span,#view-settings-toggle span,.axis-key,.stage-help{display:none!important}}.hole-callout{overscroll-behavior:contain;overflow-y:auto}.hole-callout .measure-switch{background:#fff;position:sticky;bottom:0}@media (pointer:coarse){.hole-callout>summary{background:#fff;position:sticky;top:0}}@media (height<=600px) and (orientation:landscape){.view-toolbar{overscroll-behavior-x:contain;scrollbar-width:thin;width:auto;display:flex;left:8px;right:8px;overflow-x:auto;transform:none}.view-toolbar-row{flex-wrap:nowrap;flex-shrink:0}.view-model-controls{border:0;margin:0;padding:0 8px 0 0}.view-toolbar .toggle-row,#explode-gap-field{white-space:nowrap;flex-shrink:0}.axis-key,.stage-help{display:none!important}#fit-button span,#view-settings-toggle span,.stage-meta>span:last-child{display:none}}@media (width<=700px) and (height<=600px) and (orientation:landscape){.app-header{gap:4px;padding:6px 12px}.document-tools .save-status{display:none}.stage{height:calc(100svh - var(--header-height,112px));min-height:0}.view-toolbar{bottom:max(8px, env(safe-area-inset-bottom))}}@media (width<=400px){.account-tools #notification-toggle>span:not(#notification-badge){display:none}.stage-meta{max-width:calc(100% - 156px)}.stage-meta>span:last-child{display:none}}
