@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Inter:wght@400;500;600;700&display=swap";:root{color:#17272b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--green:#193f36;--copper:#d37855;--muted:#7b858d;--line:#e6ebec;background:#fff;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--copper);outline-offset:4px}h1,h2,h3,p{margin:0}svg{flex-shrink:0}button{transition:background .14s,border-color .14s,box-shadow .14s}button:hover:not(:disabled){filter:brightness(.97)}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-header{background:#fff;border:1px solid #e0e6e7;justify-content:space-between;align-items:center;gap:24px;height:78px;padding:0 24px 0 28px;display:flex}.brand{white-space:nowrap;align-items:center;gap:8px;display:flex}.brand-mark{width:38px;height:38px;margin-right:15px}.brand-name{letter-spacing:.5px;color:#163a32;font-family:Barlow Condensed,Inter,sans-serif;font-size:26px;font-weight:700}.brand-name span{padding:0 5px;font-family:Inter,sans-serif;font-size:22px;font-weight:400}.brand-subtitle{letter-spacing:.15px;font-size:16px;font-weight:600}.header-actions{align-items:center;gap:18px;display:flex}.button{white-space:nowrap;background:#fff;border:1px solid #8b979d;border-radius:5px;justify-content:center;align-items:center;gap:13px;min-height:42px;padding:0 22px;font-size:14px;font-weight:500;display:inline-flex}.button.primary{border-color:var(--green);background:var(--green);color:#fff;min-width:167px}.button.small{border-color:#6c8c83;min-height:37px;padding:0 23px;font-size:13px}.text-button{color:var(--green);background:0 0;border:0;justify-content:center;align-items:center;gap:12px;padding:7px 0;font-size:13px;display:flex}.workspace{grid-template-columns:minmax(245px,19%) minmax(0,1fr) minmax(285px,20.7%);min-height:calc(100svh - 78px);display:grid}.panel-rail{border-right:1px solid var(--line);z-index:1;background:#fff;padding:23px 18px 18px;position:relative}.rail-heading{padding:0 5px 14px}.rail-heading h2,.texture-inspector h2{font-size:20px;font-weight:600;line-height:1.45}.rail-heading p{color:#77818a;margin-top:6px;font-size:14px;line-height:1.5}.panel-list{flex-direction:column;display:flex}.panel-option{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;border-radius:0;align-items:center;gap:15px;width:100%;min-height:clamp(68px,8.4vh,84px);padding:9px 10px;font-size:15px;font-weight:500;display:flex;position:relative}.panel-option.selected{background:#e8f2ee;border-bottom-color:#0000;border-radius:4px}.panel-option.selected:before{content:"";background:var(--copper);border-radius:4px 0 0 4px;width:4px;position:absolute;inset:0 auto 0 0}.panel-option>svg{color:#3b5e57;margin-left:auto}.panel-thumb{background:#e9eded;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:clamp(76px,6.5vw,104px);height:62px;display:flex;overflow:hidden}.panel-thumb img{object-fit:cover;width:100%;height:100%}.upload-zone{border:1px dashed #cbd5d9;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-height:252px;margin:20px 2px 0;padding:22px 10px 16px;transition:background .15s;display:flex}.upload-zone>svg{color:#69777e;margin-bottom:16px}.upload-zone h3{text-align:center;font-size:15px;font-weight:500;line-height:1.5}.upload-zone p{color:var(--muted);margin:5px 0 19px;font-size:12px;line-height:1.6}.template-download{text-underline-offset:3px;margin-top:16px;text-decoration:underline}.upload-zone.dragging{border-color:var(--green);background:#e8f2ee}.upload-zone.is-busy{background:#f6f8f7}.privacy-note{color:var(--muted);justify-content:center;align-items:center;gap:9px;margin-top:21px;font-size:12px;line-height:1.6;display:flex}.template-note{text-align:center;color:#9ba3a7;margin-top:10px;font-size:10px;line-height:1.8}.model-viewport{background:#e5e9e9;min-height:740px;position:relative;overflow:hidden}.canvas-host{position:absolute;inset:0}.canvas-host canvas{touch-action:none;width:100%;height:100%;display:block}.viewport-heading{pointer-events:none;position:absolute;top:24px;left:28px}.viewport-heading h1{letter-spacing:.2px;font-size:21px;font-weight:600;line-height:1.5}.viewport-heading p{color:#899299;margin-top:3px;font-size:13px;line-height:1.6}.camera-toolbar{white-space:nowrap;background:#ffffffed;border:1px solid #edf0f0;border-radius:40px;align-items:center;gap:2px;padding:5px;display:flex;position:absolute;bottom:88px;left:50%;transform:translate(-50%);box-shadow:0 5px 15px #243b3b08}.camera-toolbar button{background:0 0;border:0;border-radius:28px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-size:12px;font-weight:500;display:flex;position:relative}.camera-toolbar button:not(:last-child):not(.active):after{content:"";background:var(--line);width:1px;height:20px;position:absolute;top:12px;right:0}.camera-toolbar button.active{background:var(--green);color:#fff;padding:0 20px}.top-icon{transform:rotate(90deg)}.viewport-note{color:#858f97;letter-spacing:.2px;pointer-events:none;align-items:center;gap:9px;font-size:12px;display:flex;position:absolute;bottom:29px;left:24px}.viewport-status{text-align:center;background:#fffffff2;border:1px solid #e0e6e4;border-radius:6px;max-width:85%;padding:18px 24px;font-size:14px;line-height:1.6;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);box-shadow:0 7px 28px #263e3b14}.texture-inspector{border-left:1px solid var(--line);background:#fff;padding:23px 20px 22px}.texture-inspector>h2{margin:0 1px 20px}.texture-preview{background:#f1f3f3;border:1px solid #dbe2e4;border-radius:5px;width:100%;height:clamp(130px,17vh,171px);padding:0;display:block;overflow:hidden}.texture-preview img{object-fit:contain;width:100%;height:100%;display:block}.texture-file{color:#737e89;justify-content:space-between;align-items:center;gap:9px;margin:10px 1px 9px;font-size:13px;line-height:1.7;display:flex}.texture-file>span:first-child{white-space:nowrap;text-overflow:ellipsis;max-width:82%;overflow:hidden}.file-format{letter-spacing:.2px;white-space:nowrap;font-size:10px}.inspector-section{border-bottom:1px solid var(--line);padding:18px 2px}.inspector-section h3{margin-bottom:12px;font-size:15px;font-weight:600;line-height:1.5}.position-section{padding-top:17px}.position-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.position-grid label{color:#697279;font-size:13px;line-height:1.5}.position-grid input{color:#26343a;background:#fff;border:1px solid #d2dbdf;border-radius:4px;width:100%;min-height:37px;margin-top:9px;padding:7px 11px;font-size:14px;display:block}.range-row{align-items:center;gap:14px;display:flex}.range-row output{text-align:center;border:1px solid #d2dbdf;border-radius:4px;min-width:51px;padding:7px 6px;font-size:13px;line-height:1.5}.range-row input[type=range]{appearance:none;background:linear-gradient(to right,var(--green) var(--range-fill),#e0e5e7 var(--range-fill));cursor:pointer;border-radius:7px;flex:1;min-width:0;height:8px;margin:0}.range-row input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--green);border:3px solid #fff;border-radius:50%;width:21px;height:21px;box-shadow:0 1px 4px #36444160}.range-row input[type=range]::-moz-range-thumb{background:var(--green);border:3px solid #fff;border-radius:50%;width:15px;height:15px;box-shadow:0 1px 4px #36444160}.toggle-row{justify-content:space-between;align-items:center;padding:18px 2px;display:flex}.toggle-row h3{margin:0}.toggle{background:#d1d7da;border:0;border-radius:24px;align-items:center;width:42px;height:24px;padding:3px;transition:background .2s;display:flex}.toggle span{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;display:block}.toggle.on{background:var(--green)}.toggle.on span{transform:translate(18px)}.reset-button{border-color:#6c8c83;width:100%;min-height:46px;margin-top:20px;font-size:13px}.file-details{color:#8c969b;flex-direction:column;gap:4px;margin:15px 1px 0;font-size:10px;line-height:1.6;display:flex}.file-details p{color:#9ba3a7}.export-note{color:#8a949b;justify-content:center;align-items:center;gap:11px;margin-top:20px;font-size:11px;line-height:1.6;display:flex}.notice{z-index:20;background:var(--green);color:#fff;white-space:pre-line;border:1px solid #467469;border-radius:8px;align-items:flex-start;gap:18px;width:max-content;max-width:min(760px,100% - 32px);padding:14px 17px;font-size:13px;line-height:1.7;display:flex;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 6px 30px #1a31252b}.notice.error{color:#843f25;background:#fff7f1;border-color:#d9b9a9}.notice button{color:inherit;background:0 0;border:0;padding:3px;display:flex}@media (height>=1050px) and (width>=1000px){.panel-rail{padding-top:27px}.panel-option{min-height:88px}.upload-zone{min-height:278px}.texture-inspector{padding-top:27px}.inspector-section{padding-top:23px;padding-bottom:23px}.file-details{margin-top:22px}}@media (width<=1200px){.workspace{grid-template-columns:230px minmax(0,1fr) 260px}.panel-rail{padding-left:12px;padding-right:12px}.panel-option{gap:11px;padding-left:8px;font-size:14px}.panel-thumb{width:74px;height:53px}.texture-inspector{padding-left:15px;padding-right:15px}.camera-toolbar button{gap:6px;padding:0 11px}.camera-toolbar button.active{padding:0 14px}.app-header{padding-left:22px;padding-right:20px}.header-actions{gap:10px}.brand-mark{margin-right:8px}.brand-subtitle{font-size:14px}.button{padding-left:18px;padding-right:18px}.viewport-heading{left:22px}}@media (width<=950px){.workspace{grid-template-columns:220px minmax(0,1fr)}.model-viewport{min-height:720px}.texture-inspector{border-top:1px solid var(--line);grid-column:1/-1;grid-template-columns:230px repeat(2,minmax(0,1fr));gap:14px 28px;padding:24px;display:grid}.texture-inspector>h2{grid-column:1/-1;margin:0}.texture-preview{grid-row:2/4;height:164px}.texture-file{grid-area:4/1;align-self:start;margin-top:-6px}.inspector-section{padding-top:8px;padding-bottom:12px}.position-section{grid-area:2/2/4}.toggle-row{grid-area:4/2}.reset-button{grid-area:4/3;align-self:start;margin:0}.file-details{grid-area:5/1/auto/3;margin:0}.export-note{grid-area:5/3;align-self:start;margin:0}.app-header{gap:16px;height:72px;padding:0 17px}.brand-name{font-size:23px}.brand-subtitle{font-size:12px}.brand-mark{width:32px;height:32px;margin-right:4px}.header-actions{gap:7px}.header-actions .button{min-height:38px;padding:0 12px;font-size:12px}.button.primary{gap:8px;min-width:124px}.camera-toolbar{bottom:80px}.camera-toolbar button{padding:0 9px}.camera-toolbar button.active{padding:0 12px}}@media (width<=680px){.app-header{flex-direction:column;align-items:flex-start;gap:13px;height:auto;min-height:109px;padding:16px 16px 13px}.brand-mark{width:27px;height:27px;margin-right:6px}.brand-name{font-size:23px}.brand-subtitle{font-size:12px}.header-actions{grid-template-columns:1fr 1fr 1.35fr;gap:9px;width:100%;display:grid}.header-actions .button{min-height:34px;padding:0 8px;font-size:11px}.header-actions .button.primary{min-width:0}.header-actions svg{width:15px}.workspace{flex-direction:column;display:flex}.model-viewport{order:1;height:430px;min-height:430px}.panel-rail{border:0;order:2;padding:20px 16px 15px}.texture-inspector{border-left:0;order:3;padding:22px 18px;display:block}.rail-heading{justify-content:space-between;align-items:center;padding:0 0 13px;display:flex}.rail-heading h2,.texture-inspector h2{font-size:18px}.rail-heading p{margin:0;font-size:11px}.panel-list{flex-direction:row;gap:6px}.panel-option{border:1px solid #e6ebec;border-radius:5px;flex-direction:column;gap:7px;width:calc(20% - 4.8px);min-height:82px;padding:9px 4px 10px;font-size:10px}.panel-thumb{width:100%;height:41px}.panel-option>svg{display:none}.panel-option.selected:before{width:3px}.upload-zone{min-height:179px;margin:17px 0 0;padding:15px;position:relative}.upload-zone>svg{width:26px;height:26px;margin-bottom:7px}.upload-zone h3{font-size:13px}.upload-zone p{margin:3px 0 12px;font-size:10px}.upload-zone .button{min-height:32px;font-size:11px}.template-download{gap:5px;margin:0;font-size:10px;position:absolute;bottom:16px;right:16px}.template-download svg{width:13px}.privacy-note{margin-top:13px;font-size:11px}.template-note{margin-top:5px;font-size:9px}.viewport-heading{top:17px;left:18px}.viewport-heading h1{font-size:18px}.viewport-heading p{font-size:11px}.camera-toolbar{gap:0;max-width:calc(100% - 22px);padding:4px;bottom:48px}.camera-toolbar button{gap:5px;min-height:36px;padding:0 10px;font-size:10px}.camera-toolbar button.active{padding:0 12px}.camera-toolbar button svg{width:14px}.camera-toolbar button:not(:last-child):not(.active):after{top:8px}.viewport-note{font-size:10px;bottom:17px;left:18px}.viewport-note svg{width:12px}.texture-inspector>h2{margin-bottom:16px}.texture-preview{height:185px}.texture-file{margin-top:10px;font-size:12px}.position-section{padding-top:16px}.position-grid input{min-height:39px}.inspector-section{padding:18px 0}.reset-button{margin-top:20px}.file-details{margin-top:16px;font-size:10px}.export-note{margin-top:17px}.notice{gap:10px;max-height:50vh;padding:12px;font-size:12px;bottom:13px;overflow:auto}}.viewport-note a{color:inherit;text-underline-offset:3px;pointer-events:auto;margin-left:5px;font-size:10px;text-decoration:underline}.panel-option>span:not(.panel-thumb){white-space:nowrap}@media (width>=951px){.app-shell{height:100dvh;overflow:hidden}.workspace{height:calc(100dvh - 78px);min-height:0}.model-viewport{height:100%;min-height:0}.panel-rail,.texture-inspector{scrollbar-width:thin;scrollbar-color:#d7dfdc transparent;min-height:0;overflow-y:auto}.camera-toolbar{bottom:72px}}@media (width>=951px) and (height<=800px){.app-header{height:64px}.workspace{height:calc(100dvh - 64px)}.panel-rail{padding-top:17px;padding-bottom:12px}.rail-heading{padding-bottom:10px}.rail-heading h2,.texture-inspector h2{font-size:18px}.panel-option{gap:10px;min-height:64px;padding-top:6px;padding-bottom:6px;font-size:13px}.panel-thumb{width:70px;height:48px}.upload-zone{min-height:190px;margin-top:15px;padding:14px 8px}.upload-zone>svg{width:29px;height:29px;margin-bottom:9px}.upload-zone h3{font-size:13px}.upload-zone p{margin:4px 0 12px;font-size:11px}.template-download{margin-top:10px;font-size:11px}.privacy-note{margin-top:14px;font-size:11px}.template-note{margin-top:6px;font-size:9px}.texture-inspector{padding-top:17px}.texture-inspector>h2{margin-bottom:14px}.texture-preview{height:120px}.texture-file{margin-top:7px;font-size:12px}.inspector-section{padding:12px 1px}.inspector-section h3{margin-bottom:9px;font-size:13px}.position-grid label{font-size:12px}.position-grid input{min-height:32px;margin-top:6px;padding:5px 9px;font-size:13px}.range-row output{min-width:46px;padding:5px;font-size:12px}.toggle-row h3{margin:0}.reset-button{min-height:39px;margin-top:14px;font-size:12px}.file-details{gap:2px;margin-top:11px;font-size:9px}.export-note{margin-top:12px;font-size:10px}.viewport-heading{top:18px}.camera-toolbar{bottom:57px}.viewport-note{bottom:20px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
