:root{font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--app-bg);--brand-green:#00a672;--brand-charcoal:#30302e;--brand-white:#fff;--app-bg:#edf1ee;--text:#203b2f;--heading:#294936;--secondary:#4b6658;--muted:#596d5f;--surface:#fcfdfb;--surface-raised:#fff;--surface-soft:#f3f6f3;--surface-inset:#ebf0ec;--surface-hover:#e7efe8;--surface-selected:#edf6ef;--line:#d6e0d9;--line-strong:#acbfb1;--line-subtle:#e5ebe6;--accent:#007a55;--accent-text:#064;--accent-border:#278760;--on-accent:#fff;--action-bg:var(--brand-green);--action-hover:#1ebc86;--action-text:#062f22;--header-bg:#fff;--header-text:var(--text);--header-muted:var(--muted);--header-border:var(--line);--header-hover:var(--surface-hover);--focus:#007d56;--input-bg:#fff;--input-text:#244e37;--badge-bg:#e3f0e7;--stage-bg:#e8eeea;--stage-center:#f3f6f3;--stage-edge:#e5ece7;--frame-border:#c3d2c7;--guides:#1c3a2952;--preview-start:#e5eee8;--preview-end:#f2f7f3;--checker-base:#e8ede9;--checker-cell:#cbd5cf;--range-active:#287e54;--range-track:#c3d2c6;--thumb-outline:#fff;--switch-off:#98ad9b;--switch-knob:#fff;--axis-x:#99513f;--axis-y:#46743d;--axis-z:#386d92;--danger:#a63f39;--layout-front:#a4c8b4;--layout-edge:#648a73;--layout-middle:#c2dacb;--layout-back:#d9e8de;--floating-bg:#fffffff2;--sticky-bg:#fcfdfbf5;--overlay-bg:#f4f8f3f5;--loading-track:#c3d7c7;--scrim:#0d2118e6;--scrim-text:#f4faf6;--scrim-muted:#c4dacb;--toast-bg:#153e2d;--toast-text:#edf8f0;--toast-border:#3b7357;--toast-muted:#c4decd;--shadow-small:0 2px 7px #163b2512;--shadow:0 12px 40px #14322624;--preview-shadow:0 15px 15px #1b4c3520;--frame-shadow:0 14px 45px #304a3814;--sticky-shadow:0 -3px 20px #153e2114;--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23596d5f' stroke-width='1.5'/%3E%3C/svg%3E");font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-bg:#101a15;--text:#e7f0e9;--heading:#dcece1;--secondary:#bed0c4;--muted:#9db2a4;--surface:#18271f;--surface-raised:#22362a;--surface-soft:#1c2e24;--surface-inset:#112219;--surface-hover:#2a4233;--surface-selected:#203b2b;--line:#36503f;--line-strong:#58745f;--line-subtle:#2b4133;--accent:#58d99d;--accent-text:#78e4af;--accent-border:#4ab47d;--on-accent:#0c2d1d;--action-hover:#36c992;--header-bg:var(--brand-charcoal);--header-text:#edf3ee;--header-muted:#b9c8bf;--header-border:#475248;--header-hover:#3b4940;--focus:#79e7b3;--input-bg:#122219;--input-text:#e0eee4;--badge-bg:#294a34;--stage-bg:#101c15;--stage-center:#23372a;--stage-edge:#14231a;--frame-border:#48614f;--guides:#a6c2ae70;--preview-start:#294035;--preview-end:#1a2d22;--checker-base:#293a2f;--checker-cell:#1a2a21;--range-active:#64d89e;--range-track:#45604c;--thumb-outline:#173222;--switch-off:#536e5b;--switch-knob:#f1f7f2;--axis-x:#eea58c;--axis-y:#a7d997;--axis-z:#91c4e7;--danger:#f0a49b;--layout-front:#5f906f;--layout-edge:#a3c1ac;--layout-middle:#7eaa8c;--layout-back:#a2c4aa;--floating-bg:#203429f5;--sticky-bg:#18271ff5;--overlay-bg:#15261cf5;--loading-track:#3d5c46;--scrim:#08130eeb;--scrim-muted:#c4dacb;--toast-bg:#284534;--toast-text:#edf8f0;--toast-border:#5e8a6b;--toast-muted:#c4decd;--shadow-small:0 2px 7px #00000026;--shadow:0 12px 40px #0000004d;--preview-shadow:0 15px 15px #0003;--frame-shadow:0 14px 45px #00000040;--sticky-shadow:0 -3px 20px #00000040;--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23bed0c4' stroke-width='1.5'/%3E%3C/svg%3E")}*{box-sizing:border-box}body{color:var(--text);background:var(--app-bg);margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0;transition:background .16s,color .16s,border-color .16s,box-shadow .16s}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input,select{color:inherit}button svg{flex-shrink:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{vertical-align:middle}button:active:not(:disabled){transform:translateY(1px)}.app{flex-direction:column;height:100dvh;min-height:650px;display:flex}.topbar{background:var(--header-bg);height:78px;color:var(--header-text);border-bottom:1px solid var(--header-border);z-index:5;flex-shrink:0;justify-content:space-between;align-items:center;gap:24px;padding:0 25px;display:flex}.brand{flex-shrink:0;align-items:center;gap:21px;min-width:0;display:flex}.brand-divider{background:var(--line-strong);width:1px;height:29px}.brand-caption{letter-spacing:2.8px;color:var(--header-muted);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.brand-caption span{letter-spacing:2px;color:var(--header-text);font-size:13px;font-weight:400}.topbar-middle{align-items:center;gap:18px;margin-right:auto;padding-left:22px;display:flex}.workspace-label{color:var(--header-text);font-size:14px}.saved-label{color:var(--header-muted);align-items:center;gap:5px;font-size:12px;display:flex}.topbar-actions{flex-shrink:0;align-items:center;gap:9px;display:flex}.header-action{min-width:32px;min-height:36px;color:var(--header-text);border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:10px;font-size:13px;display:flex}.header-action:hover{background:var(--header-hover);color:var(--header-text)}.capture-button{background:var(--action-bg);color:var(--action-text);white-space:nowrap;box-shadow:var(--shadow-small);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:12px 17px;font-weight:650;display:inline-flex}.capture-button:hover:not(:disabled){background:var(--action-hover)}.capture-button.large{width:100%;min-height:46px;font-size:15px}.workspace{flex:1;grid-template-columns:248px minmax(320px,1fr) 294px;min-height:0;display:grid}.library-panel{background:var(--surface);border-right:1px solid var(--line);scrollbar-width:thin;flex-direction:column;padding:24px 17px 18px;display:flex;overflow-y:auto}.panel-title{padding:0 4px 19px}.eyebrow{letter-spacing:2px;color:var(--muted);font-size:10px;font-weight:650}.panel-title h1{letter-spacing:.2px;margin:8px 0;font-size:19px;font-weight:650}.panel-title p{color:var(--muted);font-size:12px}.product-list{flex-direction:column;gap:11px;display:flex}.product-card{border:1px solid var(--line);background:var(--surface-raised);border-radius:10px;transition:all .2s;position:relative;overflow:hidden}.product-card.active{border-color:var(--accent-border);box-shadow:0 0 0 1px var(--accent-border);background:var(--surface-selected)}.product-select{text-align:left;width:100%;padding:0;display:block}.product-details{padding:11px 12px 12px}.product-name{align-items:center;gap:6px;font-size:13px;font-weight:650;display:flex}.product-meta{color:var(--muted);letter-spacing:.2px;margin-top:5px;font-size:11px;display:block}.selected-check{background:var(--accent);color:var(--on-accent);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;display:flex}.product-add{width:26px;height:26px;color:var(--muted);background:var(--surface-soft);border-radius:6px;place-items:center;display:grid;position:absolute;bottom:13px;right:8px}.product-add:hover{color:var(--on-accent);background:var(--accent)}.mini-stage{background:linear-gradient(135deg,var(--preview-start),var(--preview-end));perspective:450px;justify-content:center;align-items:center;height:69px;padding:12px 15px 18px;display:flex;overflow:hidden}.mini-package{width:100%;height:26px;transform-style:preserve-3d;box-shadow:var(--preview-shadow);position:relative;transform:rotateX(24deg)rotateY(-20deg)rotate(-6deg)}.mini-package>img{object-fit:fill;width:100%;height:100%;display:block}.mini-side{transform-origin:top;filter:brightness(.78);width:100%;height:18px;position:absolute;top:100%;overflow:hidden;transform:rotateX(-90deg)}.mini-side img{width:100%;height:100%;display:block}.mini-stage.ppf .mini-package{height:27px}.mini-stage.window .mini-package{height:22px}.scene-list-section{margin-top:27px}.section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.section-heading h2,.layout-section h2{color:var(--heading);font-size:13px;font-weight:650}.section-heading h2 span{color:var(--muted);margin-left:5px;font-size:11px}.icon-button{width:29px;height:29px;color:var(--secondary);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover,.icon-button.active{background:var(--surface-hover);color:var(--accent-text)}.object-list{flex-direction:column;gap:5px;display:flex}.object-row{color:var(--secondary);border-radius:6px;display:flex}.object-row.active{background:var(--surface-selected);color:var(--accent-text)}.object-row>button:first-child{text-align:left;flex:1;align-items:center;gap:7px;min-width:0;padding:10px 8px;display:flex}.object-row>button>span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.object-row small{color:var(--muted);margin-left:auto;font-size:10px}.delete-object{width:29px;color:var(--muted)}.delete-object:hover{color:var(--danger)}.layout-section{padding-top:24px}.layout-options{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px;display:grid}.layout-options button{border:1px solid var(--line);color:var(--muted);border-radius:7px;padding:10px 4px;font-size:11px}.layout-options button:hover{border-color:var(--line-strong);background:var(--surface-hover)}.layout-drawing{width:43px;height:22px;margin:auto auto 6px;display:block;position:relative;transform:rotate(-6deg)}.layout-drawing i{background:var(--layout-front);border:1px solid var(--layout-edge);width:38px;height:9px;display:block;position:absolute;bottom:5px;left:2px;transform:skewY(-8deg)}.layout-drawing.two i:nth-child(2),.layout-drawing.three i:nth-child(2){background:var(--layout-middle);bottom:12px;left:6px}.layout-drawing.three i:nth-child(3){background:var(--layout-back);bottom:19px;left:9px}.library-footnote{color:var(--muted);gap:8px;margin-top:auto;padding:26px 3px 0;font-size:11px;line-height:1.7;display:flex}.library-footnote svg{flex-shrink:0;margin-top:2px}.viewport-panel{background:var(--stage-bg);flex-direction:column;min-height:0;display:flex;overflow:hidden}.viewport-toolbar{border-bottom:1px solid var(--line);background:var(--surface-soft);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;height:62px;padding:0 22px;display:flex}.tool-switch{background:var(--surface-inset);border:1px solid var(--line);border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex}.tool-switch button{color:var(--muted);border-radius:5px;align-items:center;gap:6px;padding:7px 12px;font-size:12px;display:flex}.tool-switch button.active{background:var(--surface-raised);box-shadow:var(--shadow-small);color:var(--accent-text)}.tool-switch button:hover:not(.active){background:var(--surface-hover)}.viewport-toolbar-right{align-items:center;gap:13px;display:flex}.aspect-picker{color:var(--muted);align-items:center;gap:9px;font-size:12px;display:flex}select{appearance:none;border:1px solid var(--line);background:var(--input-bg) var(--select-arrow) no-repeat right 10px center;border-radius:6px;padding:7px 28px 7px 10px;font-size:12px}.stage-area{background:radial-gradient(ellipse at 50% 35%,var(--stage-center) 0%,var(--stage-edge) 75%);flex-direction:column;flex:1;align-items:center;min-height:0;padding:25px 25px 19px;display:flex;position:relative}.stage-top-label{flex-shrink:0;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px;display:flex}.live-pill{color:var(--accent-text);background:var(--surface-soft);border:1px solid var(--line);border-radius:20px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;display:inline-flex}.live-pill>span{background:var(--accent);border-radius:50%;width:5px;height:5px}.stage-description{color:var(--muted);letter-spacing:.5px;font-size:11px}.frame-shell{flex:1;justify-content:center;align-items:center;width:100%;min-height:120px;padding:10px 0 22px;display:flex;container-type:size}.render-frame{width:min(100cqw,calc(100cqh * var(--frame-aspect)));border:1px solid var(--frame-border);max-width:100%;max-height:100%;box-shadow:var(--frame-shadow);background:#eef0f0;border-radius:3px;position:relative;overflow:hidden}.render-frame.transparent{background-color:var(--checker-base);background-image:linear-gradient(45deg,var(--checker-cell) 25%,transparent 25%),linear-gradient(-45deg,var(--checker-cell) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--checker-cell) 75%),linear-gradient(-45deg,transparent 75%,var(--checker-cell) 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.three-container{touch-action:none;position:absolute;inset:0}.three-container canvas{outline:none;display:block;width:100%!important;height:100%!important}.composition-guides{pointer-events:none;position:absolute;inset:0}.composition-guides i{background:var(--guides);position:absolute}.composition-guides i:first-child{width:1px;top:0;bottom:0;left:33.333%}.composition-guides i:nth-child(2){width:1px;top:0;bottom:0;left:66.666%}.composition-guides i:nth-child(3){height:1px;top:33.333%;left:0;right:0}.composition-guides i:nth-child(4){height:1px;top:66.666%;left:0;right:0}.view-presets{background:var(--floating-bg);border:1px solid var(--line);box-shadow:var(--shadow-small);border-radius:8px;flex-shrink:0;gap:3px;padding:5px;display:flex}.view-presets button{color:var(--secondary);border-radius:4px;padding:8px 14px;font-size:12px}.view-presets button:hover{background:var(--surface-hover);color:var(--accent-text)}.stage-help{letter-spacing:.3px;color:var(--muted);flex-shrink:0;gap:17px;margin-top:17px;font-size:10px;display:flex}.stage-help span+span:before{content:"·";margin-right:17px}.viewport-footer{background:var(--surface-soft);border-top:1px solid var(--line);height:40px;color:var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:0 21px;font-size:10px;display:flex}.viewport-footer>div{align-items:center;gap:9px;display:flex}.status-indicator{background:var(--accent);border-radius:50%;width:5px;height:5px}.footer-divider{background:var(--line);width:1px;height:10px}.inspector-panel{background:var(--surface);border-left:1px solid var(--line);flex-direction:column;min-height:0;display:flex}.inspector-tabs{border-bottom:1px solid var(--line);flex-shrink:0;grid-template-columns:repeat(4,1fr);height:63px;padding:0 9px;display:grid}.inspector-tabs button{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:11px;display:flex;position:relative}.inspector-tabs button.active{color:var(--accent-text)}.inspector-tabs button.active:after{content:"";background:var(--accent);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:11px;right:11px}.inspector-tabs button:hover{background:var(--surface-soft)}.inspector-content{scrollbar-width:thin;flex:1;min-height:0;padding:0 21px;overflow-y:auto}.control-section{border-bottom:1px solid var(--line-subtle);padding:22px 0}.control-section:last-child{border-bottom:0}.control-section h3{color:var(--heading);font-size:13px;font-weight:650}.control-section>.section-heading{margin-bottom:15px}.segmented{background:var(--surface-inset);border-radius:7px;gap:2px;margin-bottom:19px;padding:3px;display:flex}.segmented button{color:var(--muted);border-radius:5px;flex:1;padding:8px;font-size:12px}.segmented button.active{background:var(--surface-raised);color:var(--accent-text);box-shadow:var(--shadow-small)}.range-control{margin:15px 0 18px}.range-control label{color:var(--secondary);justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px;font-size:12px;display:flex}.number-wrap{color:var(--muted);border:1px solid var(--line);background:var(--input-bg);border-radius:5px;align-items:center;gap:3px;min-width:61px;padding:3px 6px;font-size:10px;display:flex}.number-wrap input{text-align:right;font-variant-numeric:tabular-nums;appearance:textfield;width:42px;color:var(--input-text);background:0 0;border:0;outline:0;padding:0;font-size:12px}.number-wrap input::-webkit-inner-spin-button{appearance:none}input[type=range]{appearance:none;background:linear-gradient(to right,var(--range-active) var(--range-progress),var(--range-track) var(--range-progress));cursor:pointer;border-radius:9px;width:100%;height:4px;margin:0;display:block}input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--thumb-outline);background:var(--range-active);width:13px;height:13px;box-shadow:var(--shadow-small);border-radius:50%}input[type=range]::-moz-range-thumb{border:2px solid var(--thumb-outline);background:var(--range-active);width:9px;height:9px;box-shadow:var(--shadow-small);border-radius:50%}.range-control.disabled{opacity:.65}.chip-group{gap:5px;margin-top:-2px;display:flex}.chip-group button{border:1px solid var(--line);color:var(--muted);border-radius:5px;flex:1;padding:6px;font-size:11px}.chip-group button.active{border-color:var(--line-strong);background:var(--surface-selected);color:var(--accent-text)}.field-hint{color:var(--muted);margin-top:11px;font-size:11px;line-height:1.7}.preset-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.preset-grid button,.wide-secondary{border:1px solid var(--line);color:var(--muted);background:var(--input-bg);border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:10px 8px;font-size:12px;display:flex}.preset-grid button:hover,.wide-secondary:hover{background:var(--surface-hover);color:var(--accent-text);border-color:var(--line-strong)}.wide-secondary{width:100%;margin-top:10px}.body-note{color:var(--secondary);font-size:12px;line-height:1.9}.body-note.muted{color:var(--muted);margin-top:12px;font-size:11px}.capture-panel{border-top:1px solid var(--line);background:var(--surface-soft);flex-shrink:0;padding:17px 20px 14px}.capture-summary{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;display:flex}.capture-summary strong{color:var(--heading);font-size:12px;font-weight:550}.capture-summary strong span{background:var(--badge-bg);color:var(--muted);border-radius:4px;margin-left:3px;padding:3px 5px;font-size:10px}.capture-panel p{color:var(--muted);text-align:center;min-height:14px;margin-top:10px;font-size:10px}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;margin:15px 0;display:flex;position:relative}.toggle-row>span:first-child{flex-direction:column;gap:6px;display:flex}.control-label{color:var(--secondary);font-size:12px}.toggle-row small{color:var(--muted);font-size:10px}.toggle-row input{opacity:0;z-index:1;cursor:pointer;width:32px;height:18px;margin:0;position:absolute;top:50%;right:0;transform:translateY(-50%)}.switch{pointer-events:none;background:var(--switch-off);border-radius:18px;flex-shrink:0;width:32px;height:18px;transition:all .15s;position:relative}.switch:after{content:"";background:var(--switch-knob);width:12px;height:12px;box-shadow:var(--shadow-small);border-radius:50%;transition:all .15s;position:absolute;top:3px;left:3px}.toggle-row input:checked+.switch{background:var(--accent)}.toggle-row input:checked+.switch:after{transform:translate(14px)}.toggle-row input:focus-visible+.switch{outline:3px solid var(--focus);outline-offset:3px}.light-presets{gap:7px;display:flex}.light-presets button{border:1px solid var(--line);color:var(--secondary);border-radius:7px;flex:1;padding:9px 3px;font-size:10px}.light-presets button:hover{background:var(--surface-hover);border-color:var(--line-strong)}.light-orb{background:radial-gradient(circle at 25% 25%,#e9f5db,#76a36e 70%,#285937);border-radius:50%;width:28px;height:28px;margin:0 auto 8px;display:block}.light-orb.dramatic{background:linear-gradient(130deg,#daf3bd 10%,#3d7150 40%,#0e2a20 80%)}.light-orb.flat{background:radial-gradient(circle at 50% 35%,#e5f1ce,#b3d19d)}.selected-product-info{background:var(--surface-selected);border:1px solid var(--line);border-radius:7px;padding:13px}.selected-product-info strong{color:var(--heading);font-size:13px;font-weight:600;display:block}.selected-product-info span{color:var(--muted);margin-top:7px;font-size:11px;display:block}.unit-label{color:var(--muted);font-size:11px}.axis-inputs{gap:7px;display:flex}.axis-inputs label{border:1px solid var(--line);background:var(--input-bg);border-radius:6px;align-items:center;gap:5px;width:33.333%;padding:7px 6px;display:flex}.axis-inputs label>span{font-size:10px;font-weight:650}.axis-x{color:var(--axis-x)}.axis-y{color:var(--axis-y)}.axis-z{color:var(--axis-z)}.axis-inputs input{text-align:right;appearance:textfield;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:11px}.axis-inputs input::-webkit-inner-spin-button{appearance:none}.source-tag{color:var(--muted);background:var(--surface-selected);border-radius:4px;padding:3px 6px;font-size:10px}.select-field{color:var(--muted);flex-direction:column;gap:9px;font-size:11px;display:flex}.select-field select{background-color:var(--input-bg);padding:10px 30px 10px 10px;font-size:12px}.output-dimensions{border:1px solid var(--line);background:var(--surface-soft);text-align:center;border-radius:8px;margin-top:15px;padding:20px 6px}.output-dimensions>strong{letter-spacing:1px;color:var(--heading);font-size:22px;font-weight:500;display:block}.output-dimensions strong span{color:var(--muted);font-size:17px;font-weight:300}.output-dimensions>span{color:var(--muted);margin-top:8px;font-size:10px;display:block}.background-swatches{align-items:center;gap:8px;margin:20px 0;display:flex}.background-swatches>button,.custom-color{width:29px;height:29px;box-shadow:0 0 0 1px var(--line);border:3px solid var(--surface);color:var(--accent);border-radius:50%;flex-shrink:0;place-items:center;display:grid;position:relative}.background-swatches>button.active{box-shadow:0 0 0 2px var(--accent-border)}.custom-color{cursor:pointer;border-color:var(--surface);background:conic-gradient(#9cd7a5,#9ebbd5,#d4a9ac,#e3dca4,#9cd7a5);overflow:hidden}.custom-color input{opacity:0;cursor:pointer;width:60px;height:60px;position:absolute;inset:-10px}.custom-color svg{pointer-events:none;color:var(--brand-white);filter:drop-shadow(0 1px 1px #0003)}.loading-overlay,.error-overlay{background:var(--overlay-bg);text-align:center;z-index:3;flex-direction:column;justify-content:center;align-items:center;gap:15px;padding:25px;display:flex;position:absolute;inset:0}.loading-overlay strong,.error-overlay strong{color:var(--heading);font-size:14px;font-weight:600}.loading-overlay small,.error-overlay small{color:var(--muted);font-size:11px;line-height:1.6}.error-overlay p{word-break:break-word;max-width:420px;font-size:12px;line-height:1.7}.error-overlay button{background:var(--surface-hover);border-radius:5px;padding:8px 15px;font-size:12px}.loading-ring{border:2px solid var(--loading-track);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:25px;height:25px;animation:1s linear infinite spin;display:block}@keyframes spin{to{transform:rotate(360deg)}}.capture-progress{z-index:20;background:var(--scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);color:var(--scrim-text);justify-content:center;align-items:center;gap:18px;padding:28px;display:flex;position:fixed;inset:0}.capture-progress strong{font-size:20px;font-weight:500}.capture-progress p{color:var(--scrim-muted);margin-top:10px;font-size:12px}.toast{z-index:30;background:var(--toast-bg);box-shadow:var(--shadow);color:var(--toast-text);border:1px solid var(--toast-border);border-radius:9px;align-items:center;gap:10px;max-width:90vw;padding:14px 17px;font-size:13px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%)}.toast>button{color:var(--toast-muted);margin-left:10px;padding:2px;display:flex}.toast>span{line-height:1.6}@media (min-width:1650px){.workspace{grid-template-columns:280px minmax(320px,1fr) 330px}.library-panel{padding:28px 22px 22px}.mini-stage{height:84px}.product-details{padding:13px 14px}.product-name{font-size:14px}.product-meta{font-size:12px}.product-add{bottom:17px;right:13px}.inspector-content{padding:0 25px}.control-section{padding:24px 0}.stage-area{padding:30px 38px 24px}.viewport-toolbar,.viewport-footer,.topbar{padding:0 30px}.panel-title h1{font-size:21px}}@media (max-width:1250px){.workspace{grid-template-columns:215px minmax(270px,1fr) 265px}.library-panel{padding:21px 13px}.inspector-content{padding:0 17px}.topbar-middle{display:none}.topbar{gap:12px;padding:0 18px}.viewport-toolbar{padding:0 13px}.tool-switch button{padding:7px 9px}.stage-area{padding:19px 18px 16px}.stage-description{display:none}.view-presets button{padding:8px 10px}.stage-help{gap:9px;font-size:9px}.stage-help span+span:before{margin-right:9px}.capture-panel{padding:15px 16px}.viewport-toolbar-right{gap:8px}.product-name{font-size:12px}.product-meta{font-size:10px}.mini-stage{height:60px}.layout-section{padding-top:20px}.library-footnote{font-size:10px}}@media (max-width:980px){.app{height:auto;min-height:100dvh}.topbar{height:69px;position:sticky;top:0}.brand{gap:13px}.brand-caption{letter-spacing:2px;font-size:10px}.brand-caption span{font-size:11px}.topbar-actions{gap:3px}.header-action{padding:8px}.header-action span{display:none}.capture-button{padding:10px 11px;font-size:12px}.workspace{grid-template-rows:560px auto;grid-template-columns:205px minmax(0,1fr)}.library-panel{grid-row:1/3}.viewport-panel{min-height:500px}.inspector-panel{border-left:0;border-top:1px solid var(--line);grid-column:2;min-height:450px}.inspector-tabs{height:60px}.inspector-content{grid-template-columns:1fr 1fr;align-content:start;gap:0 25px;padding:0 25px;display:grid;overflow:visible}.capture-panel{grid-template-columns:1fr auto;align-items:center;gap:5px 20px;display:grid}.capture-summary{margin:0}.capture-panel .capture-button{grid-area:1/2/3;width:220px}.capture-panel p{text-align:left;margin:0}.stage-area{padding:19px 20px}.frame-shell{min-height:200px}.library-footnote{margin-top:25px}}@media (max-width:660px){.topbar{gap:7px;padding:0 13px}.brand-caption{letter-spacing:1.3px;font-size:9px}.brand-caption span{letter-spacing:1px;font-size:10px}.brand-divider{display:none}.brand{gap:10px}.header-action{padding:8px 5px}.header-action svg{width:16px;height:16px}.topbar-actions .capture-button{display:none}.workspace{flex-direction:column;display:flex}.library-panel{border-right:0;border-bottom:1px solid var(--line);order:1;padding:17px 13px 14px;overflow:visible}.panel-title{align-items:baseline;gap:10px;padding:0 1px 12px;display:flex}.panel-title .eyebrow{display:none}.panel-title h1{margin:0;font-size:15px}.panel-title p{font-size:11px}.product-list{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.mini-stage{height:45px;padding:9px 8px 14px}.mini-package{height:13px}.mini-stage.ppf .mini-package{height:14px}.mini-stage.window .mini-package{height:12px}.mini-side{height:8px}.product-details{padding:8px 7px 9px}.product-name{white-space:nowrap;gap:3px;font-size:10px}.selected-check{width:12px;height:12px}.selected-check svg{width:9px;height:9px}.product-meta{letter-spacing:0;font-size:8px}.product-add{background:var(--floating-bg);width:19px;height:19px;top:4px;bottom:auto;right:4px}.product-add svg{width:12px;height:12px}.scene-list-section{margin-top:13px}.scene-list-section>.section-heading{margin-bottom:6px}.scene-list-section h2{font-size:11px}.object-list{flex-flow:wrap;gap:4px;display:flex}.object-row>button:first-child{padding:7px}.object-row>button>span{font-size:10px}.object-row small{font-size:9px}.object-row>button svg{width:13px;height:13px}.object-row .delete-object{width:23px}.layout-section,.library-footnote{display:none}.viewport-panel{order:2;height:420px;min-height:400px}.viewport-toolbar{gap:4px;height:53px;padding:0 12px}.tool-switch button{gap:4px;padding:6px 8px;font-size:11px}.tool-switch button svg{width:14px;height:14px}.aspect-picker{gap:4px;font-size:10px}.aspect-picker select{padding:6px 23px 6px 7px;font-size:11px}.viewport-toolbar-right{gap:4px}.viewport-toolbar-right>.icon-button{width:24px;height:25px}.stage-area{min-height:0;padding:14px 13px 13px}.stage-top-label{margin-bottom:0}.live-pill{padding:4px 7px;font-size:9px}.frame-shell{min-height:130px;padding:5px 0 17px}.view-presets{border-radius:6px;gap:0;padding:3px}.view-presets button{padding:7px 10px;font-size:10px}.stage-help{gap:7px;margin-top:12px;font-size:8px}.stage-help span+span:before{margin-right:7px}.viewport-footer{height:34px;padding:0 13px;font-size:9px}.viewport-footer>div{gap:6px}.inspector-panel{order:3;min-height:450px}.inspector-content{gap:0 22px;padding:0 18px}.inspector-tabs{background:var(--surface);z-index:4;height:58px;position:sticky;top:69px}.inspector-tabs button{font-size:11px}.control-section{padding:20px 0}.control-section h3{font-size:12px}.range-control label{font-size:11px}.preset-grid{gap:5px}.preset-grid button{padding:9px 3px;font-size:10px}.preset-grid button svg{display:none}.chip-group{gap:3px}.chip-group button{padding:5px 3px;font-size:10px}.wide-secondary{padding:9px 4px;font-size:10px}.body-note{font-size:11px}.field-hint{font-size:10px}.capture-panel{z-index:4;box-shadow:var(--sticky-shadow);background:var(--sticky-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);gap:7px 12px;padding:12px 16px;position:sticky;bottom:0}.capture-panel .capture-button{width:160px;min-height:43px;font-size:13px}.capture-panel p{font-size:8px}.capture-summary{flex-direction:column;align-items:start;gap:5px;font-size:9px}.capture-summary strong{font-size:11px}.background-swatches{flex-wrap:wrap;gap:6px}.light-presets{gap:3px}.light-presets button{padding:8px 1px;font-size:9px}.output-dimensions>strong{font-size:18px}.toast{width:calc(100vw - 28px);padding:12px;font-size:12px;bottom:95px}.axis-inputs{gap:3px}.axis-inputs label{gap:3px;padding:7px 4px}.axis-inputs input{font-size:10px}.toggle-row{gap:7px}.control-label{font-size:11px}.toggle-row small{font-size:9px}.source-tag{padding:3px;font-size:8px}.selected-product-info{padding:10px}.selected-product-info strong{font-size:11px}.selected-product-info span{font-size:9px}}.control-section h3,.section-heading h2,.layout-section h2,.range-control label,.number-wrap input,.control-label,.body-note,.product-name,.inspector-tabs button,.preset-grid button,.wide-secondary{font-size:14px}.view-presets button,.tool-switch button,.aspect-picker,.select-field select,.axis-inputs input{font-size:13px}.field-hint,.body-note.muted,.capture-panel p,.product-meta{font-size:12px}.saved-label,.stage-help,.viewport-footer{font-size:11px}.source-tag,.unit-label,.capture-summary,.select-field,.toggle-row small{font-size:12px}@media (max-width:660px){.product-name{font-size:11px}.product-meta{font-size:9px}.inspector-content{grid-template-columns:1fr}.control-section{padding:18px 0}.axis-inputs input,.body-note{font-size:14px}.preset-grid{grid-template-columns:repeat(3,1fr)}.source-tag{font-size:11px}.capture-panel p{font-size:10px}.capture-summary{font-size:11px}.stage-help,.viewport-footer{font-size:9px}.view-presets button,.tool-switch button{font-size:11px}}.brand-logo{object-fit:contain;flex:none;width:116px;height:auto;display:block}.brand-logo img{width:100%;height:auto;display:block}.loading-brand,.capture-brand{background:var(--brand-green);width:162px;max-width:100%;box-shadow:var(--shadow-small);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:14px 18px;display:flex}.loading-brand img,.capture-brand img{width:126px;max-width:100%;height:auto;display:block}.capture-progress>div:last-child{min-width:0;max-width:420px}.capture-progress .loading-ring{border-color:#a5efc8 #3c6750 #3c6750}.theme-switch{border:1px solid var(--header-border);background:var(--surface-inset);border-radius:9px;flex:none;align-items:center;gap:2px;margin-right:5px;padding:3px;display:flex}.theme-option{min-width:34px;min-height:34px;color:var(--header-muted);white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:12px;font-weight:500;line-height:1;display:inline-flex}.theme-option svg{width:16px;height:16px}.theme-option:hover:not([aria-pressed=true]){background:var(--surface-hover);color:var(--text)}.theme-option[aria-pressed=true]{background:var(--surface-selected);border-color:var(--accent-border);color:var(--accent-text);box-shadow:var(--shadow-small)}.theme-option:focus-visible{outline-color:var(--focus);outline-offset:2px}.library-panel,.inspector-content{scrollbar-color:var(--line-strong) transparent}select option{color:var(--input-text);background:var(--input-bg)}select:disabled,input:disabled{cursor:not-allowed}input::placeholder{color:var(--muted);opacity:1}.number-wrap:focus-within,.axis-inputs label:focus-within{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:2px}.number-wrap input:focus-visible,.axis-inputs input:focus-visible{outline:none}.product-card:not(.active):hover{border-color:var(--line-strong)}.inspector-tabs button.active{font-weight:650}.inspector-tabs button:focus-visible{outline-offset:-4px}.background-swatches>button.active svg{background:var(--surface);color:var(--accent-text);border-radius:50%}.error-overlay>svg{color:var(--danger)}.error-overlay button:hover{background:var(--surface-selected);color:var(--accent-text)}@media (max-width:980px){.theme-option{width:34px;padding:6px}.theme-option span{display:none}.theme-switch{margin-right:5px}}@media (max-width:660px){.brand-logo{width:90px}.brand-caption{display:none}.brand{gap:0}.topbar-actions{gap:3px;margin-left:auto}.header-action{width:32px;min-height:34px;padding:8px}.theme-switch{margin-right:2px}.theme-option{min-width:34px;min-height:34px}.capture-progress{text-align:center;flex-direction:column;gap:20px}.capture-progress strong{font-size:18px;line-height:1.5}.capture-progress p{line-height:1.7}}@media (max-width:359px){.topbar{gap:5px;padding-left:9px;padding-right:9px}.brand-logo{width:82px}.theme-switch{gap:1px;margin-right:0;padding:2px}.theme-option{width:32px;min-width:32px;min-height:32px}.topbar-actions{gap:1px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}.loading-ring{animation-duration:2s}}
