:root{font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243c35;background:#e9edef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-size:16px;--ink:#243c35;--muted:#566a63;--green:#226b59;--green-dark:#18513f;--green-soft:#e8f2ed;--line:#d9e2de;--surface:#fff;--radius:8px;--shadow:0 4px 24px #243c3510,0 1px 3px #243c3508}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:320px}button,input,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button,a,input,select{-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #237c63;outline-offset:3px}button:active:not(:disabled){filter:brightness(.96)}button svg{flex-shrink:0}.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}.skip-link{position:absolute;z-index:300;left:16px;top:-100px;background:var(--green);color:#fff;padding:14px;border:0;border-radius:6px}.skip-link:focus{top:16px}h1,h2,h3,h4,p{margin:0}.floating{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--line);background:#fff;border-radius:6px;font-size:14px;font-weight:550;line-height:1.4;white-space:nowrap}.button:hover:not(:disabled){background:#f0f6f3;border-color:#adc8ba}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:var(--green-dark)}.button.is-on,.button[aria-pressed=true]{color:var(--green-dark);border-color:#9bbdab;background:var(--green-soft)}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:0;width:44px;height:44px}.icon-button:hover:not(:disabled){background:var(--green-soft);color:var(--green-dark)}.text-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;border:0;background:transparent;padding:6px 0;color:var(--green);font-size:14px;font-weight:600;line-height:1.5;text-align:left}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.muted,.part-kicker{color:var(--muted);font-size:13px;line-height:1.6}.model-workspace{position:relative;width:100%;height:100dvh;min-height:320px;isolation:isolate;overflow:hidden;background:#e9edef}.model-workspace:fullscreen{width:100vw;height:100dvh}.viewport{position:absolute;inset:0;z-index:0;touch-action:none}.viewport canvas{display:block;outline:none;touch-action:none}.topbar{position:absolute;left:24px;right:24px;top:max(24px,env(safe-area-inset-top));display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:start;z-index:50;pointer-events:none}.topbar>*{pointer-events:auto}.brand{justify-self:start;display:flex;align-items:center;gap:10px;height:52px;padding:0 16px;color:var(--green)}.brand h1{font-size:16px;font-weight:650;letter-spacing:.2px;color:var(--ink)}.mode-switch{display:flex;gap:4px;padding:5px;justify-self:center}.mode-switch button{display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:550;min-height:40px;min-width:90px;padding:8px 14px;background:transparent;border:0;border-radius:5px;color:var(--muted)}.mode-switch button:hover{background:#f2f6f4}.mode-switch button.active{background:var(--green-soft);color:var(--green-dark)}.restore-button{justify-self:end;height:52px;font-size:14px}.explode-control{position:absolute;left:50%;transform:translate(-50%);top:92px;display:flex;align-items:center;gap:16px;width:328px;max-width:calc(100% - 32px);padding:12px 16px;z-index:51}.explode-control label{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px}.explode-control output{font-variant-numeric:tabular-nums;color:var(--green);font-size:13px;min-width:32px}.explode-control input{min-width:40px;width:100%;accent-color:var(--green);cursor:ew-resize}.floating-panel{position:absolute;z-index:60;top:96px;bottom:100px;width:376px;right:24px;display:flex;flex-direction:column;outline:none;overflow:hidden;max-height:calc(100% - 196px)}.floating-panel.catalog{left:24px;right:auto;width:300px}.panel-heading{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:10px 12px 10px 24px;border-bottom:1px solid var(--line);min-height:64px}.panel-heading h2{font-size:17px;font-weight:650}.panel-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdccc4 transparent}.search-wrap{display:flex;align-items:center;gap:8px;margin:16px 16px 8px;border:1px solid #c9d7cf;border-radius:6px;padding-left:12px;min-height:44px;flex-shrink:0;color:var(--muted)}.search-wrap input{min-width:0;width:100%;padding:10px 0;border:0;outline:none;background:transparent;font-size:15px;height:44px}.search-wrap:focus-within{outline:2px solid var(--green);outline-offset:2px}.part-list{padding:0 12px 16px}.part-category h3{font-size:13px;color:var(--muted);font-weight:500;padding:18px 12px 8px}.part-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;border-radius:6px;min-height:46px;padding:10px 12px;font-size:15px;line-height:1.4}.part-item>svg{margin-left:auto;color:var(--green)}.part-item:hover{background:#f0f5f2}.part-item.selected{background:var(--green-soft);font-weight:600;color:var(--green-dark)}.part-number{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:22px}.catalog-footer{padding:16px 24px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);flex-shrink:0}progress{display:block;width:100%;height:4px;appearance:none;border:0;background:#e6eeea;border-radius:4px;margin-top:10px}progress::-webkit-progress-bar{background:#e6eeea;border-radius:4px}progress::-webkit-progress-value{background:var(--green);border-radius:4px}progress::-moz-progress-bar{background:var(--green);border-radius:4px}.empty-search{padding:24px 12px;font-size:15px}.detail-intro{padding:20px 24px 16px;border-bottom:1px solid var(--line);flex-shrink:0}.detail-intro h2{font-size:24px;font-weight:650;line-height:1.4;margin:5px 8px 10px 0;display:inline-block}.detail-intro>p{font-size:16px;line-height:1.65;margin-bottom:16px}.detail-intro>.part-kicker{display:block}.state-badge{font-size:13px;line-height:1.4;padding:3px 7px;background:var(--green-soft);border-radius:4px;color:var(--green-dark);white-space:nowrap}.focus-controls{display:flex;gap:8px}.focus-controls .button{flex:1;padding:10px 8px}.detail-content{padding:0 24px 24px}.detail-content section,.detail-content details{padding:20px 0;border-bottom:1px solid var(--line)}.detail-content section h3,.tools-content h3{font-size:15px;font-weight:650;margin-bottom:12px}.detail-content p,.detail-content li{font-size:16px;line-height:1.7}.detail-content ul{padding-left:20px;margin:0}.detail-content li+li{margin-top:8px}.detail-content summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:15px;font-weight:550;list-style:none;min-height:24px}summary::-webkit-details-marker{display:none}.detail-content details[open]>summary{margin-bottom:16px}.detail-content details[open]>summary svg{transform:rotate(180deg)}.substructure+.substructure{margin-top:16px}.substructure h4{font-size:15px;font-weight:600;margin-bottom:6px}.detail-content .text-button:last-child{margin-top:12px}.tools-content{padding:0 24px 20px}.tools-content section{padding:20px 0;border-bottom:1px solid var(--line)}.tools-content section:last-child{border:0;padding-bottom:0}.camera-switch{display:flex;padding:4px;background:#f1f5f3;border-radius:6px;gap:3px}.camera-switch button{border:0;background:transparent;border-radius:4px;padding:9px 0;flex:1;font-size:14px;min-height:40px}.camera-switch button:hover{background:#fff}.camera-switch button.active{background:#fff;color:var(--green-dark);box-shadow:0 1px 3px #243c3515;font-weight:600}.tool-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:15px}.tool-row .button{min-width:100px}.tools-content .muted{margin-top:12px}.section-label{display:block;font-size:15px;font-weight:650;margin-bottom:12px}select{width:100%;font-size:15px;min-height:44px;border:1px solid #c9d7cf;border-radius:6px;padding:8px 12px;background:#fff}.secondary-actions{display:flex;flex-direction:column;gap:8px}.secondary-actions .button{justify-content:flex-start;border:0;background:#f2f6f4}.secondary-actions .button:first-child{background:var(--green-soft);color:var(--green-dark)}.secondary-actions .button>svg:last-child:not(:first-child){margin-left:auto}.selection-card{position:absolute;bottom:100px;left:50%;transform:translate(-50%);width:440px;max-width:calc(100% - 48px);padding:14px 20px;z-index:45}.selection-heading{display:flex;align-items:center;gap:10px;min-height:32px}.selection-heading h2{font-size:18px;font-weight:650;line-height:1.5}.selection-heading .text-button{margin-left:auto;min-height:32px}.selection-card>p{font-size:15px;line-height:1.65;color:var(--muted);margin-top:4px;min-height:49.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.panel-catalog .selection-card{left:calc(50% + 156px);max-width:calc(100% - 380px)}.panel-tools .selection-card{left:calc(50% - 188px);max-width:calc(100% - 456px)}.workspace-dock{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:4px;padding:6px;z-index:80}.workspace-dock button{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:0;min-height:44px;min-width:80px;padding:10px;border-radius:5px;font-size:14px;font-weight:550;color:var(--muted)}.workspace-dock button:hover{background:#f0f6f3}.workspace-dock button.active{background:var(--green-soft);color:var(--green-dark)}.dock-divider{height:20px;width:1px;background:var(--line)}.canvas-hint{position:absolute;bottom:44px;right:24px;font-size:13px;color:#536962;pointer-events:none}.guide-card{position:absolute;bottom:100px;left:50%;transform:translate(-50%);width:440px;max-width:calc(100% - 48px);padding:16px 20px;z-index:55}.panel-catalog .guide-card,.panel-tools .guide-card,.panel-detail .guide-card{display:none}.guide-heading{display:flex;align-items:center;justify-content:space-between;margin-top:-8px;margin-right:-8px}.guide-card h2{font-size:20px;line-height:1.5;margin-bottom:6px}.guide-card p{font-size:16px;line-height:1.65;color:var(--muted)}.guide-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.guide-dots{display:flex;gap:4px}.guide-dots button{position:relative;border:0;padding:0;width:26px;height:40px;background:transparent}.guide-dots button:after{content:"";position:absolute;left:9px;top:16px;border-radius:50%;width:8px;height:8px;background:#c7d5cd}.guide-dots button.active:after{background:var(--green)}.notice{position:absolute;left:50%;top:96px;transform:translate(-50%);z-index:150;display:flex;align-items:center;gap:12px;padding:8px 12px 8px 20px;font-size:15px;max-width:calc(100% - 32px);width:max-content}.loading-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;background:#e9edef;z-index:40;font-size:16px;pointer-events:none}.loading-spinner{width:32px;height:32px;border:3px solid #c3d5cb;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.scene-error{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);width:360px;max-width:calc(100% - 48px);padding:24px;background:#fff;border:1px solid var(--line);border-radius:8px;line-height:1.6;font-size:16px;text-align:center}.scene-error h3{font-size:20px;margin:12px 0}.scene-error p{margin-bottom:16px;color:var(--muted)}.model-label{display:flex;align-items:center;gap:6px;min-height:30px;padding:4px 8px;background:#fff;border:1px solid #baccc2;border-radius:4px;font-size:13px;white-space:nowrap;box-shadow:0 2px 8px #193e2810;color:#344e42;line-height:1.4}.model-label span{font-size:13px;min-width:19px;color:var(--muted)}.model-label.is-selected{background:var(--green);border-color:var(--green);color:#fff}.model-label.is-selected span{color:#fff}.model-label:hover{border-color:var(--green);box-shadow:0 2px 12px #193e2825}.model-label.is-compact{min-width:28px;min-height:28px;padding:4px;gap:0}.info-dialog{width:640px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:8px;color:var(--ink);box-shadow:0 12px 60px #14392b26;overflow:auto;background:#fff}.info-dialog::backdrop{background:#243c355c}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:#fff;padding:16px 20px 16px 28px;border-bottom:1px solid var(--line);z-index:1}.dialog-heading h2{font-size:20px;line-height:1.5}.dialog-content{padding:24px 28px;font-size:16px;line-height:1.7}.dialog-content h3{font-size:17px;margin:24px 0 10px}.dialog-content h3:first-child{margin-top:0}.dialog-content ul{padding-left:20px}.dialog-content li+li{margin-top:10px}.source-list a{display:flex;gap:16px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none}.source-list a>svg{margin-top:6px;flex-shrink:0}.source-list strong{display:block;font-size:16px;line-height:1.5;font-weight:600}.source-list small{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.source-list p{font-size:14px;color:var(--muted);margin-top:8px}.source-list a:hover strong{text-decoration:underline}.dialog-content>.muted{margin-top:20px}@media(max-width:1100px){.brand{background:transparent;border:0;box-shadow:none;padding:0}.brand h1{font-size:15px}.topbar{gap:12px}.mode-switch button{min-width:78px;padding:8px 10px}.canvas-hint,.panel-catalog .selection-card,.panel-tools .selection-card{display:none}}@media(max-width:850px)and (min-width:768px){.brand h1{max-width:70px;line-height:1.4}.brand{gap:6px}}@media(max-width:767px){.topbar{left:16px;right:16px;top:max(12px,env(safe-area-inset-top));grid-template-columns:1fr auto;gap:10px;align-items:center}.brand{height:40px;gap:8px}.brand h1{font-size:16px}.brand>svg{width:20px}.restore-button{grid-column:2;grid-row:1;height:40px;min-height:40px;padding:8px 10px;font-size:14px}.mode-switch{grid-column:1/-1;grid-row:2;padding:4px}.mode-switch button{min-width:86px;font-size:14px;min-height:38px;padding:7px 12px;gap:7px}.explode-control{top:120px;max-width:calc(100% - 32px);padding:10px 14px}.workspace-dock{bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100% - 24px);padding:5px;gap:2px}.workspace-dock button{min-width:70px;gap:6px;padding:9px 8px;font-size:14px}.selection-card{left:12px;right:12px;bottom:84px;transform:none;width:auto;max-width:none;padding:12px 16px}.selection-heading h2{font-size:18px}.selection-heading{gap:8px}.selection-card>p{font-size:15px}.floating-panel,.floating-panel.catalog{inset:auto 12px 84px;width:auto;max-height:calc(100% - 220px);height:52%;border-radius:8px}.floating-panel.detail{height:58%;overflow:auto;scrollbar-width:thin;scrollbar-color:#bdccc4 transparent}.panel-heading{padding-left:20px;min-height:56px;padding-top:6px;padding-bottom:6px;background:#fff}.detail .panel-heading{position:sticky;top:0;z-index:2}.detail .panel-scroll{overflow:visible;flex-shrink:0}.detail-intro{padding:16px 20px}.detail-intro h2{font-size:22px;margin-top:3px}.detail-intro>p{font-size:16px}.detail-content,.tools-content{padding:0 20px 20px}.panel-catalog .selection-card,.panel-tools .selection-card{display:none}.guide-card{left:12px;right:12px;bottom:84px;transform:none;width:auto;max-width:none;padding:12px 16px}.guide-card h2{font-size:18px}.guide-card p{font-size:15px;line-height:1.6;max-height:120px;overflow:auto}.guide-nav{margin-top:8px;gap:8px}.notice{top:120px;font-size:14px}.dialog-heading{padding:12px 12px 12px 20px}.dialog-heading h2{font-size:19px}.dialog-content{padding:20px;font-size:16px}}@media(max-height:600px)and (min-width:768px){.topbar{top:12px}.floating-panel{top:80px;bottom:80px;max-height:none}.workspace-dock{bottom:12px}.selection-card{bottom:80px;padding:10px 16px}.selection-card>p{display:none}.guide-card{bottom:80px;padding:10px 16px}.guide-card p{max-height:64px;overflow:auto}.guide-heading{margin-top:0}.guide-heading .icon-button{height:32px}.guide-nav{margin-top:8px}.explode-control{top:80px}.detail{overflow:auto}.detail .panel-scroll{overflow:visible;flex-shrink:0}.detail .panel-heading{position:sticky;top:0;background:#fff;z-index:1}.detail-intro{padding:12px 20px}.detail-intro p{margin-bottom:10px}}@media(max-width:767px)and (max-height:600px){.model-workspace{min-height:0}.floating-panel,.floating-panel.catalog,.floating-panel.detail{top:180px;bottom:76px;height:auto;max-height:none;overflow:auto}.floating-panel>.panel-heading{position:sticky;top:0;background:#fff;z-index:2}.floating-panel .panel-scroll{overflow:visible;flex-shrink:0}.floating-panel .part-list{padding-bottom:12px}.catalog-footer{padding:12px 20px}.selection-card{bottom:76px;padding:8px 14px}.selection-card>p{display:none}.workspace-dock{bottom:8px}.guide-card{bottom:76px;max-height:calc(100% - 200px);overflow:auto}}@media(max-width:767px)and (max-height:400px){.floating-panel>.panel-heading{position:static}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
