*{box-sizing:border-box} :root{--ink:#20343b;--muted:#819096;--accent:#187d75;--line:#e3e9eb;--soft:#f5f8f8;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK SC","Microsoft YaHei",sans-serif}body{margin:0;color:var(--ink);font:13px/1.5 var(--font);background:#f5f7f8;height:100dvh;overflow:hidden}button,a,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid #279c8f;outline-offset:3px}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:wait}svg{width:18px;height:18px;display:block;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}button span[data-icon]{display:inline-flex}.masthead{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:18px}.brand{display:flex;align-items:center;gap:11px;font-weight:650;font-size:19px;letter-spacing:-.5px}.brand small{display:block;font-size:8px;line-height:1.2;letter-spacing:3.3px;font-weight:600;color:var(--muted);padding-top:2px}.brand-mark{width:31px;height:31px;border:6px solid var(--ink);border-radius:50%;position:relative}.brand-mark:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;right:-7px;top:-5px;background:#25a38b;border:2px solid white}.header-title{font-size:14px;font-weight:550;margin-left:35px}.header-title span{font-size:10px;font-weight:450;letter-spacing:1.5px;color:#9ba8ab;margin-left:12px}.button{background:var(--accent);color:white;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;font-size:12px;font-weight:550}.button:hover{background:#13675f}.button svg{width:16px;height:16px}.app{height:calc(100dvh - 106px);display:grid;grid-template-columns:250px minmax(0,1fr) 280px;gap:1px;background:var(--line)}.panel{background:white;display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d8e2e4 transparent}.panel-heading{height:65px;padding:0 21px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.panel h2,.section-heading h2{font-size:13px;margin:0;font-weight:650;letter-spacing:.3px}.quiet-tag{font-size:10px;color:#8b9b9f;border:1px solid #e6edee;border-radius:4px;padding:2px 6px;font-weight:400}.model-list{padding:0 13px 21px;display:grid;gap:8px;border-bottom:1px solid var(--line)}.model-card{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid #e8edef;border-radius:8px;padding:12px 13px;position:relative;min-width:0;transition:background .16s,border-color .16s}.model-card:hover{background:#f8fbfb;border-color:#b9d7d3}.model-card.active{background:#eff8f6;border-color:#98c9bf}.model-monogram{height:39px;width:42px;display:flex;align-items:center;justify-content:center;background:#f0f3f4;border:1px solid #e2e8e9;border-radius:6px;font-size:15px;font-weight:650;letter-spacing:-.6px;flex-shrink:0}.model-card.active .model-monogram{background:white;color:var(--accent);border-color:#d7e8e4}.model-card strong{display:block;font-size:14px;font-weight:650;line-height:1.5}.model-card small{display:block;font-size:10px;color:#89999e;margin-top:1px;white-space:nowrap}.model-dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:transparent;flex-shrink:0}.model-card.active .model-dot{background:#1a8f7e}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 21px 12px}.section-heading>span[data-icon]{color:#9ba8ac}.section-heading svg{width:15px;height:15px}.file-tree{padding:0 12px 12px;min-height:115px}.tree-folder{display:flex;align-items:center;gap:7px;padding:7px 8px;font-size:12px;font-weight:550;list-style:none;cursor:pointer}.tree-folder::-webkit-details-marker{display:none}.tree-folder svg{height:16px;width:16px;color:#84999d}.tree-folder:before{content:"›";font-size:16px;color:#92a2a6;width:10px;transform:rotate(90deg)}details:not([open])>.tree-folder:before{transform:none}.tree-nested{padding-left:14px}.file-row{width:100%;display:flex;align-items:center;gap:7px;font-size:11px;padding:7px 8px;border-radius:5px;text-align:left;margin:2px 0}.file-row:hover{background:#f2f7f7}.file-row.selected{background:#e8f3f0;color:#167c70}.file-row svg{width:15px;height:15px;color:#9ca9ac;flex-shrink:0}.file-row.selected svg{color:#16877b}.file-row .file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row small{font-size:8px;letter-spacing:.6px;color:#a4afb1;margin-left:auto}.file-actions{display:flex;align-items:center;justify-content:space-between;margin:0 20px;padding:10px 0 18px;border-bottom:1px solid var(--line);font-size:10px;color:#a2afb2}.text-button{display:flex;align-items:center;gap:6px;font-size:11px;color:#6a858b;padding:0}.text-button:hover{color:var(--accent)}.text-button svg{width:14px;height:14px}.source-box{margin:18px 20px 0;font-size:10px;color:#92a0a5;display:flex;gap:7px;line-height:1.9}.source-dot{width:5px;height:5px;border-radius:50%;background:#a7bab9;margin-top:7px;flex-shrink:0}.source-link{margin:9px 31px 22px;font-size:10px;color:#74928f;display:flex;align-items:center;gap:5px}.source-link[hidden]{display:none}.source-link svg{height:11px;width:11px}.viewport{position:relative;isolation:isolate;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#f6f9fa 0,#edf2f4 80%)}#scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.scene-top{position:absolute;left:34px;right:25px;top:28px;z-index:2;pointer-events:none;display:flex;justify-content:space-between;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:2px;color:#83989c;font-weight:600}.scene-title h1{font-size:37px;line-height:1.1;letter-spacing:-1.5px;margin:5px 0 6px;font-weight:650}.scene-title p{font-size:11px;color:#7f9399;margin:0}.ready-pill{display:flex;align-items:center;gap:6px;background:#ffffffb8;border:1px solid #e2eaea;border-radius:30px;padding:5px 9px;color:#78908f;font-size:9px;margin-top:3px}.ready-pill i,.status-dot{width:5px;height:5px;background:#279886;border-radius:50%;display:inline-block;flex-shrink:0}.scene-tools{position:absolute;z-index:3;left:50%;transform:translateX(-50%);top:150px;display:flex;align-items:center;gap:4px;padding:5px;background:#ffffffed;box-shadow:0 4px 16px #1a3b4110;border:1px solid #e0e8e9;border-radius:9px;white-space:nowrap}.tool{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;padding:7px 9px;border-radius:5px;color:#788d94;transition:background .15s}.tool:hover{background:#eff5f5}.tool.active{background:#edf5f3;color:#1e7f73}.tool svg{width:14px;height:14px}.tool.icon-only{padding:7px 8px}.tool-divider{width:1px;height:18px;background:#e6ecec;margin:0 2px}.view-picker{position:absolute;z-index:2;right:22px;bottom:63px;display:flex;gap:3px;background:#ffffffbf;border:1px solid #dfe8e8;border-radius:6px;padding:3px}.view-picker button{padding:5px 9px;border-radius:3px;font-size:10px;color:#84969b}.view-picker button.active{background:#e6eeed;color:#387f77}.view-bottom{position:absolute;bottom:23px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;color:#93a5aa;font-size:9px}.axis-legend{display:flex;align-items:center;gap:5px;font-size:9px}.axis-legend i{display:inline-block;width:12px;height:2px;margin-left:6px}.axis-legend .x{background:#cb8f87}.axis-legend .y{background:#79a294}.axis-legend .z{background:#83a0b8}.interaction-tip b{font-weight:400;padding:0 6px;color:#bfcbcd}.touch-tip{display:none}.loading{position:absolute;inset:0;z-index:4;background:#edf2f4e8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;font-size:12px;color:#72918f;transition:opacity .2s}.loading[hidden]{display:none}.spinner{border:2px solid #dce7e5;border-top-color:#267f73;border-radius:50%;width:26px;height:26px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.properties{padding:0 22px 20px;border-bottom:1px solid var(--line)}.property-title{display:flex;align-items:center;gap:12px;margin:3px 0 23px}.small-model-mark{width:43px;height:43px;border-radius:9px;background:#f1f7f5;display:flex;align-items:center;justify-content:center;color:#337d72;font-size:16px;font-weight:600}.property-title h3{margin:0;font-weight:650;font-size:16px}.property-title p{margin:2px 0 0;font-size:10px;color:#96a4a8}dl{margin:0;display:grid;grid-template-columns:75px 1fr;gap:12px 8px;font-size:11px}dt{color:#99a6aa}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;color:#587178}.info-note{font-size:10px;line-height:1.9;color:#809595;background:#f4f8f7;border-left:2px solid #ccdfd8;padding:9px 10px;margin-top:22px;border-radius:0 4px 4px 0}.joint-panel{padding:2px 21px 18px}.empty-joints{display:flex;align-items:center;flex-direction:column;text-align:center;padding:12px 5px 3px}.empty-joints>span{display:flex;padding:12px;border:1px solid #e9eeee;border-radius:10px;background:#fafcfc;color:#94aaa8;margin-bottom:11px}.empty-joints>span svg{width:21px;height:21px}.empty-joints strong{font-size:11px;font-weight:500;color:#78908e}.empty-joints p{font-size:10px;line-height:1.9;color:#a0afb1;max-width:190px;margin:6px 0 12px}.joint-group{border-bottom:1px solid #edf1f2;padding:5px 0 10px}.joint-group summary{font-size:11px;font-weight:550;padding:5px 0;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}.joint-group summary:after{content:"＋";color:#99aaa9}.joint-group[open] summary:after{content:"−"}.joint-control{padding:6px 0}.joint-control label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8a9c9e;gap:5px}.joint-control output{color:#427c73;font-variant-numeric:tabular-nums}.joint-control input{display:block;width:100%;height:16px;accent-color:#278f7c;cursor:pointer;margin:5px 0 0}.stand-button{width:100%;border:1px solid #dce8e4;background:#f4f9f7;border-radius:5px;padding:7px;margin:0 0 12px;font-size:11px;color:#5b8a80}.selection-section{margin:0 21px;padding:16px 0;border-top:1px solid var(--line)}.selection-section h3{font-size:10px;font-weight:500;color:#96a7aa;margin:0 0 8px}.selected-file{font-size:11px;color:#5b7a7e;word-break:break-all}.selection-section p{font-size:9px;color:#a4b1b3;margin:5px 0 0}.right-bottom{margin-top:auto;display:flex;align-items:center;gap:7px;color:#a6b2b5;font-size:9px;padding:17px 21px;border-top:1px solid #edf1f2}.right-bottom svg{width:13px;height:13px}.statusbar{height:30px;padding:0 21px;display:flex;align-items:center;gap:27px;border-top:1px solid var(--line);background:#fff;color:#9ba8ac;font-size:9px;letter-spacing:.2px}.statusbar>span:first-child{display:flex;align-items:center;gap:7px}.status-end{margin-left:auto;color:#b4bdc0;font-size:8px}.icon-button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:#82999d;border-radius:5px}.icon-button:hover{background:#edf5f3}.icon-button svg{width:16px;height:16px}.drawer-close{display:none}.mobile-nav{display:none}.backdrop{position:fixed;inset:67px 0 55px;background:#1a353b36;z-index:9}.backdrop[hidden]{display:none}.toast{position:absolute;z-index:5;left:50%;bottom:85px;transform:translateX(-50%);background:#214841ee;color:white;padding:10px 16px;border-radius:7px;white-space:nowrap;font-size:11px}.toast[hidden]{display:none}dialog{border:1px solid #dce8e6;border-radius:12px;padding:0;max-width:850px;width:92vw;height:75dvh;color:var(--ink);box-shadow:0 20px 100px #1c353d35}dialog::backdrop{background:#19383f65;backdrop-filter:blur(3px)}.dialog-heading{height:80px;padding:15px 23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:16px;margin:4px 0 0}.dialog-heading .eyebrow{font-size:7px}pre{padding:18px 24px;margin:0;overflow:auto;height:calc(100% - 80px);font:11px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f6faf9;color:#406360;tab-size:2}
@media(min-width:1600px){.app{grid-template-columns:280px minmax(0,1fr) 300px}.scene-top{left:45px;top:36px}.scene-title h1{font-size:46px}.scene-tools{top:160px}.panel-heading{height:74px}.model-card{padding:16px}.model-list{padding-bottom:27px}.properties{padding-top:7px}}
@media(max-width:1100px) and (min-width:761px){.app{grid-template-columns:210px minmax(0,1fr) 245px}.masthead{padding:0 20px}.brand{font-size:16px}.brand-mark{height:26px;width:26px;border-width:5px}.model-list{padding:0 10px 17px}.model-card{padding:9px;gap:8px}.model-monogram{width:34px;height:34px;font-size:13px}.model-card small{font-size:8px}.panel-heading,.section-heading{padding-left:16px;padding-right:16px}.properties,.joint-panel{padding-left:16px;padding-right:16px}.scene-top{left:23px;right:18px}.ready-pill{font-size:8px}.scene-tools{top:153px;gap:0;padding:4px}.tool{padding:7px}.interaction-tip{font-size:8px}.view-bottom{left:17px;right:17px}.header-title{margin-left:0}}
@media(max-width:760px){.masthead{height:67px;padding:0 17px;gap:8px}.brand{font-size:16px;gap:8px}.brand-mark{width:24px;height:24px;border-width:5px}.brand small{font-size:6px;letter-spacing:3px}.brand-mark:after{width:6px;height:6px;right:-7px;top:-5px}.header-title{display:none}.button{font-size:10px;padding:8px 11px;gap:6px}.button svg{width:14px;height:14px}.app{height:calc(100dvh - 122px - env(safe-area-inset-bottom));display:block}.viewport{width:100%;height:100%}.left-panel,.right-panel{display:none;position:fixed;top:67px;bottom:calc(55px + env(safe-area-inset-bottom));width:min(310px,86vw);z-index:10;box-shadow:8px 0 40px #173b4222}.left-panel{left:0}.right-panel{right:0}.drawer-left .left-panel,.drawer-right .right-panel{display:flex}.drawer-close{display:flex;margin-left:auto}.panel-heading .quiet-tag,.panel-heading>span[data-icon]{display:none}.scene-top{left:22px;right:18px;top:25px}.eyebrow{font-size:7px;letter-spacing:1.6px}.scene-title h1{font-size:36px}.scene-title p{font-size:10px}.ready-pill{font-size:8px;padding:5px 8px}.scene-tools{top:126px;gap:3px}.tool{font-size:10px;padding:7px 8px}.tool svg{width:14px;height:14px}.tool.icon-only{padding:7px 8px}.view-picker{right:20px;bottom:54px}.view-picker button{font-size:10px;padding:6px 9px}.view-bottom{left:17px;right:17px;bottom:19px;font-size:8px}.interaction-tip{display:none}.touch-tip{display:block;font-size:8px}.axis-legend{font-size:8px;gap:3px}.axis-legend i{width:9px;margin-left:3px}.statusbar{display:none}.mobile-nav{display:flex;height:calc(55px + env(safe-area-inset-bottom));padding:0 16px env(safe-area-inset-bottom);border-top:1px solid var(--line);background:white;align-items:center;justify-content:space-between;gap:14px}.mobile-nav button{display:flex;gap:7px;align-items:center;color:#7f949a;font-size:11px;padding:9px 4px}.mobile-nav svg{width:17px;height:17px}.mobile-nav>span{font-size:12px;color:#287f72;letter-spacing:.5px;font-weight:600}.file-tree{font-size:12px}.file-row{font-size:12px;padding-top:9px;padding-bottom:9px}.properties dl{font-size:12px}.source-box{font-size:11px}.info-note{font-size:11px}.joint-control label{font-size:11px}.joint-control input{height:21px;margin-top:8px}.scene-title{max-width:58%}.status-end{display:none}dialog{height:80dvh;width:94vw}.dialog-heading{padding-left:18px}pre{padding:15px;font-size:10px}.toast{font-size:10px;max-width:88vw;white-space:normal;text-align:center}}
@media(max-width:370px){.tool{padding:6px}.scene-tools{gap:0}.scene-title h1{font-size:31px}.ready-pill{font-size:7px}.view-bottom{right:12px;left:12px}.touch-tip{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.viewport:fullscreen{width:100vw;height:100dvh}
.panel>.model-list,.panel>.section-heading,.panel>.file-tree,.panel>.file-actions,.panel>.source-box,.panel>.source-link,.panel>.properties,.panel>.joint-panel,.panel>.selection-section,.panel>.right-bottom{flex-shrink:0}
