@import url('./fonts.css');
:root{color-scheme:light;--ink:#252c28;--muted:#737b75;--line:#e4e8e2;--green:#315d49;--green-hover:#244b39;--canvas:#f3f4f0;--surface:#fff;--soft:#f6f7f4;--radius:12px;font-family:'Inter', 'Segoe UI',sans-serif;font-synthesis:none;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input,summary{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #74a38d;outline-offset:4px}button{transition:background .18s,color .18s,box-shadow .18s}button:active:not(:disabled){transform:translateY(1px)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}
.header{height:84px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:var(--surface);border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:19px;font-weight:650;letter-spacing:-.6px;white-space:nowrap}.brand b{font-weight:400;color:var(--muted)}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--green);color:white}.brand-mark svg{width:26px;height:26px;stroke-width:1.3}.beta{font-size:9px;letter-spacing:1px;color:#737b75;background:var(--soft);border:1px solid var(--line);border-radius:4px;padding:4px 5px;margin-left:3px;font-weight:600}.header-right{display:flex;align-items:center;gap:30px}.local-status{font-size:12px;color:#657068;display:flex;align-items:center;gap:8px}.local-status i,.viewport-footer i{background:#5b826b;width:6px;height:6px;border-radius:50%;display:inline-block}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:9px;height:44px;padding:0 19px;font-size:13px;font-weight:550}.button.primary{background:var(--green);color:white;box-shadow:0 2px 3px #1f382015}.button.primary:hover{background:var(--green-hover)}.button svg{width:17px;height:17px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 292px;height:calc(100dvh - 84px);min-height:570px}.viewport{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 43%,#fafbf8 0,#f1f3ee 73%)}.canvas-host{position:absolute;inset:0}.canvas-host canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px}.canvas-host canvas:focus-visible{outline:2px solid #74a38d}.view-heading{position:absolute;top:28px;left:32px;display:flex;flex-direction:column;gap:12px;pointer-events:none}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.6px;color:#818982}.view-name{font-size:14px;font-weight:500;display:flex;gap:9px;align-items:center}.view-name span{font-size:9px;letter-spacing:.4px;border:1px solid #d8ded5;padding:3px 5px;border-radius:4px;color:#838a80}.icon-button{width:44px;height:44px;padding:0;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#67716a}.icon-button:hover{background:#e6eae3;color:var(--green)}.fullscreen{position:absolute;top:26px;right:26px;border:1px solid #dfe4db;background:#ffffff95;width:40px;height:40px}.fullscreen svg{width:17px;height:17px}.zoom-tools{position:absolute;right:26px;top:46%;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;box-shadow:0 3px 12px #29332b05}.zoom-tools>span{height:1px;background:var(--line);margin:0 9px}.zoom-tools svg{width:17px;height:17px}.views{position:absolute;bottom:58px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:6px;background:#ffffffed;border:1px solid #e0e5dc;border-radius:12px;box-shadow:0 4px 24px #2434270b;white-space:nowrap}.views button{height:42px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border-radius:7px;font-size:12px;color:#727b72}.views button:hover{background:var(--soft);color:var(--green)}.views button.active{background:#eaf0e9;color:var(--green);font-weight:600}.views svg{width:18px;height:18px}.toolbar-divider{height:24px;width:1px;background:var(--line);margin:0 3px}.viewport-footer{position:absolute;bottom:22px;left:32px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#8a9188;font-size:10px}.viewport-footer>span:first-child{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1.2px}.viewport-footer i{width:4px;height:4px}.sidebar{background:var(--surface);border-left:1px solid var(--line);padding:28px 23px 20px;overflow:auto;display:flex;flex-direction:column;gap:0}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.sidebar-heading h2{margin:0;font-size:15px;font-weight:600}.format-tag{font-size:10px;background:var(--soft);border:1px solid var(--line);color:#7a837b;padding:4px 7px;border-radius:4px}.model-card{display:flex;align-items:center;gap:13px;min-width:0}.model-preview{width:60px;height:66px;flex-shrink:0;background:var(--soft);border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;overflow:hidden}.model-preview img{width:54px;height:60px;object-fit:contain;mix-blend-mode:multiply}.model-preview svg{width:25px;height:25px;color:#9aa297}.model-card>div:last-child{min-width:0}.model-card strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.model-card span{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere;line-height:1.5}.loaded{display:flex;align-items:center;gap:5px;color:#65816c;font-size:10px;margin-top:14px}.loaded svg{width:13px;height:13px}.model-details{margin:21px 0 0;display:flex;flex-direction:column;gap:14px}.model-details>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.model-details dt{font-size:11px;color:var(--muted)}.model-details dd{margin:0;font-size:12px;font-variant-numeric:tabular-nums;font-weight:500}.model-details .dimensions{display:block;margin-top:2px;border-top:1px solid var(--line);padding-top:18px}.dimensions dd{font-size:15px;letter-spacing:.2px;margin-top:10px;font-weight:500;white-space:nowrap}.dimensions>span{display:block;margin-top:6px;color:#939990;font-size:9px}.sidebar-section{border-top:1px solid var(--line);padding-top:21px;margin-top:23px}.sidebar-section h3{font-size:11px;font-weight:600;margin:0 0 12px}.toggle-row{display:flex;align-items:center;justify-content:space-between;height:43px;cursor:pointer;position:relative;font-size:11px;color:#69736b;gap:8px}.toggle-row>span:first-child{display:flex;align-items:center;gap:9px}.toggle-row svg{width:16px;height:16px;stroke-width:1.4;color:#9aa198}.toggle-row input{position:absolute;right:0;width:36px;height:24px;margin:0;opacity:0;cursor:pointer;z-index:1}.switch{height:20px;width:34px;border-radius:20px;background:#cbd2c9;transition:background .2s;flex-shrink:0}.switch:before{content:'';display:block;background:white;width:14px;height:14px;border-radius:50%;margin:3px;transition:transform .2s;box-shadow:0 1px 2px #24342724}.toggle-row input:checked+.switch{background:var(--green)}.toggle-row input:checked+.switch:before{transform:translateX(14px)}.toggle-row input:focus-visible+.switch{outline:3px solid #74a38d;outline-offset:3px}.navigation>div{display:flex;align-items:center;gap:9px;height:34px;font-size:11px;color:#838b82}.navigation>div>svg{width:16px;height:16px;stroke-width:1.3;color:#939c91}.navigation>div>span{flex:1}.navigation kbd{font-family:inherit;border:1px solid var(--line);border-radius:4px;padding:3px 5px;font-size:9px;color:#858d82;background:#fafbf8}.touch-hint{font-size:10px;line-height:1.7;color:#8a9287;display:none}.import-note{margin-top:22px;padding:13px 12px;background:#f6f7f3;border-radius:8px;border:1px solid #e8ebe3}.import-note summary{display:flex;align-items:center;gap:7px;font-size:10px;color:#74816d;cursor:pointer;list-style:none;line-height:1.7}.import-note summary::-webkit-details-marker{display:none}.import-note summary:after{content:'+';margin-left:auto;font-size:14px}.import-note[open] summary:after{content:'−'}.import-note svg{width:13px;height:13px}.import-note p{font-size:10px;line-height:1.7;color:#7c8576;margin:10px 0 0}.private-note{display:flex;align-items:center;gap:9px;color:#a1a89c;margin-top:auto;padding-top:28px}.private-note svg{width:14px;height:14px}.private-note p{font-size:9px;line-height:1.7;margin:0}.no-model{color:#9ca496;text-align:center;padding:35px 0 29px}.no-model svg{width:32px;height:32px;stroke-width:1}.no-model p{font-size:11px;line-height:1.8}.empty-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:105px 30px}.empty-icon{width:85px;height:85px;border:1px solid #dce4d6;background:#f9faf6b0;border-radius:24px;display:grid;place-items:center;transform:rotate(-8deg);margin-bottom:32px;box-shadow:0 12px 26px #20391b05}.empty-icon svg{width:48px;height:48px;stroke-width:.8;color:#73886a;transform:rotate(8deg)}.empty-state h1{font-size:clamp(28px,3.2vw,42px);line-height:1.15;font-weight:450;letter-spacing:-1.4px;margin:17px 0 13px}.empty-state p{font-size:13px;line-height:1.8;color:#7e8879;margin:0 0 24px}.text-button{background:none;border:0;font-size:11px;color:#637b58;height:44px;margin-top:9px}.text-button:hover{color:var(--green);text-decoration:underline}.file-limit{font-size:9px;letter-spacing:.6px;color:#9fa696;margin-top:4px}.loading{position:absolute;inset:0;background:#f3f4f0ee;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.loading strong{font-size:17px;font-weight:500}.loading>span{font-size:12px;color:var(--muted)}.spinner{width:32px;height:32px;border:2px solid #d5dfd1;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:8px}@keyframes spin{to{transform:rotate(360deg)}}.drop-overlay{position:absolute;inset:16px;border:2px dashed #638455;outline:20px solid #f3f4f0e8;background:#f3f4f0f0;z-index:10;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--green);pointer-events:none}.drop-overlay>svg{width:36px;height:36px;stroke-width:1.2}.drop-overlay>strong{font-size:23px;font-weight:500}.drop-overlay>span{font-size:12px;color:var(--muted)}.toast{position:fixed;bottom:22px;left:24px;max-width:min(550px,calc(100vw - 48px));display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #e7dbcd;color:#79572e;border-radius:12px;box-shadow:0 8px 30px #31281615;padding:10px 10px 10px 17px;z-index:30;font-size:12px;line-height:1.6}.toast>span{flex:1}.toast>svg{width:19px;height:19px}.viewport:fullscreen{width:100vw;height:100dvh}.viewport:fullscreen .canvas-host{inset:0}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 324px}.sidebar{padding-left:28px;padding-right:28px}.header{padding:0 36px}.view-heading{left:40px}}
@media(max-width:1050px){.header{padding:0 22px}.workspace{grid-template-columns:minmax(0,1fr) 270px}.sidebar{padding:25px 19px 19px}.local-status{display:none}.view-heading{left:24px}.views button{padding:0 9px}.views{gap:2px}.viewport-footer{left:24px;right:24px}.viewport-footer>span:last-child{max-width:50%;text-align:right}.dimensions dd{font-size:14px}}
@media(max-width:760px){.header{height:70px;padding:0 18px;gap:12px}.brand{font-size:16px;gap:9px}.brand-mark{width:34px;height:34px}.brand-mark svg{width:23px;height:23px}.beta{display:none}.header .button{padding:0 13px;font-size:11px;height:40px;gap:7px}.workspace{height:auto;min-height:0;display:flex;flex-direction:column}.viewport{height:68dvh;min-height:460px;width:100%}.sidebar{border-left:0;border-top:1px solid var(--line);padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:0 30px;overflow:visible}.sidebar-heading{grid-column:1/-1;margin-bottom:18px}.model-details{margin-top:18px}.sidebar-section{margin-top:0;padding-top:0;border-top:0}.navigation{grid-column:2;grid-row:3;padding-top:20px}.import-note{grid-column:1;margin-top:20px}.private-note{grid-column:1/-1;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.model-card{gap:9px}.model-preview{width:48px;height:56px}.model-preview img{width:42px;height:48px}.model-card strong{font-size:12px}.model-card span{font-size:9px}.view-heading{left:22px;top:22px}.view-heading .eyebrow{font-size:8px}.fullscreen{top:20px;right:18px}.zoom-tools{right:18px}.views{bottom:49px}.views button{height:42px;padding:0 10px}.views button span{font-size:10px}.viewport-footer{bottom:17px;font-size:9px;left:22px;right:20px}.viewport-footer>span:first-child{font-size:7px}.empty-state{padding:95px 20px}.empty-icon{width:65px;height:65px;margin-bottom:22px;border-radius:18px}.empty-icon svg{width:38px;height:38px}.empty-state h1{font-size:31px;margin-top:14px}.empty-state p{font-size:12px;margin-bottom:17px}.empty-state .eyebrow{font-size:8px}.touch-hint{display:block}.navigation>div{display:none}.no-model{padding:20px 0}.dimensions dd{font-size:12px}.dimensions dt{font-size:10px}}
@media(max-width:400px){.brand{font-size:14px}.header{padding:0 14px}.header .button{padding:0 10px}.views button{padding:0 8px;gap:5px}.views svg{width:16px;height:16px}.views{padding:5px;gap:1px}.sidebar{gap:0 19px;padding:22px 18px}.model-preview{display:none}.view-name{font-size:12px}.model-details dt{font-size:10px}.model-details dd{font-size:11px}}
.empty-state{padding:28px 30px}.empty-state>*{flex-shrink:0}
@media(max-width:760px){.empty-state{padding:24px 20px}.empty-state>.eyebrow,.empty-state>.file-limit{display:none}.empty-icon{width:50px;height:50px;margin-bottom:12px}}
@media(max-height:650px) and (min-width:761px){.header{height:60px}.workspace{height:calc(100dvh - 60px);min-height:0}.sidebar{padding-top:20px}.view-heading{top:18px;gap:7px}.fullscreen{top:16px}.canvas-host{top:38px;bottom:84px}.views{bottom:32px}.viewport-footer{bottom:11px}.viewport-footer>span:last-child{font-size:8px}.zoom-tools{top:35%}.empty-state{padding:25px}.empty-icon,.empty-state>.eyebrow,.empty-state>.file-limit{display:none}.empty-state h1{font-size:24px;margin:0 0 8px}.empty-state p{font-size:11px;margin:0 0 14px}.empty-state .text-button{height:28px;margin:2px 0 0}}
@media(prefers-reduced-motion:reduce){*,*:before{animation-duration:1ms!important;transition:none!important}}
