/* Brand tokens taken from homeplan-sketchup-www: variable.less, CatMenu.vue. */
:root{--green:#14af64;--green-dark:#087744;--mint:#eaf8ef;--green-bright:#4dd87c;--text:#17251d;--secondary:#758178;--line:#e8ece8;--surface:#f5f6f5;--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;font:13px/1.5 var(--font);color:var(--text);background:#fff}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.42}a{text-decoration:none;color:inherit}svg{width:20px;height:20px;display:block;flex-shrink:0}i{display:inline-flex;font-style:normal}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:19px;font-weight:650;letter-spacing:.2px}h2{font-size:14px;font-weight:600}small{font-size:11px}[hidden]{display:none!important}
.app-header{height:60px;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 24px;gap:0}.brand{width:150px;display:flex;align-items:center}.brand img{object-fit:contain}.breadcrumb{display:flex;align-items:center;gap:15px;color:#8a948c;font-size:12px;padding-left:24px;border-left:1px solid var(--line)}.breadcrumb i svg{width:13px;height:13px;color:#b5bdb7}.breadcrumb strong{font-size:14px;color:var(--text);font-weight:600}.beta{font-size:8px;letter-spacing:.8px;color:#659578;background:#edf7f0;border:1px solid #dceee1;border-radius:4px;padding:1px 4px;margin-left:-9px}.header-actions{margin-left:auto;display:flex;gap:18px;align-items:center}.environment{font-size:11px;color:#8a7955;background:#faf7ee;border:1px solid #ede5d1;border-radius:5px;padding:3px 9px}.avatar{border-radius:50%;width:29px;height:29px;display:grid;place-items:center;background:#ecf4df;color:#77915d;font-size:12px}.icon-button{width:32px;height:32px;padding:6px;display:grid;place-items:center;border-radius:6px;color:#737e75}.icon-button:hover{background:#f0f3f0;color:var(--text)}
.app-body{display:flex;height:calc(100vh - 60px);height:calc(100dvh - 60px);min-height:650px;overflow:hidden}.rail{width:68px;flex:none;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:18px 6px;gap:12px;background:#fff;z-index:3}.rail-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#7a857d;width:55px;height:63px;border-radius:9px;white-space:nowrap}.rail-item svg{width:22px;height:22px}.rail-item:hover{background:#f5f7f5}.rail-item.active{background:var(--mint);color:var(--green-dark);font-weight:600}.rail-bottom{margin-top:auto}
.settings{width:290px;flex:none;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fff;z-index:2}.settings-scroll{padding:24px 22px 8px;overflow-y:auto;flex:1}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.tiny-label{font-size:10px;color:#97a298}.source-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.text-button{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:#68796c;padding:0}.text-button svg{width:13px;height:13px}.text-button:hover{color:var(--green-dark)}.source-card{display:block;width:100%;height:124px;padding:0;overflow:hidden;position:relative;border:1px solid #e1e5df;border-radius:8px;background:#f4f5f1}.source-card>img{width:100%;height:100%;object-fit:cover;display:block}.source-tag{position:absolute;top:8px;left:8px;background:#fffE;border-radius:3px;padding:2px 6px;font-size:9px;color:#626f63}.source-hover{position:absolute;inset:0;background:#12221855;display:flex;align-items:center;justify-content:center;gap:5px;color:white;opacity:0;transition:opacity .2s}.source-card:hover .source-hover{opacity:1}.source-caption{display:flex;justify-content:space-between;gap:8px;margin-top:10px;align-items:center}.source-caption strong{font-size:12px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.source-caption>span{font-size:9px;color:#8e978f;flex:none}.source-origin{display:flex;align-items:center;gap:4px;color:#99a29b;font-size:10px;margin-top:5px}.source-origin svg{width:11px;height:11px}
.control-group{border:0;padding:0;min-width:0;margin:29px 0 0}.control-group legend{font-size:13px;font-weight:600;margin-bottom:12px}.lighting-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.light-choice,.quality-choice{position:relative;cursor:pointer;display:block}.light-choice input,.quality-choice input{position:absolute;opacity:0;width:1px;height:1px}.light-choice>span{display:block;border:1px solid var(--line);border-radius:7px;overflow:hidden;position:relative;transition:.18s}.light-choice img{width:100%;height:80px;display:block;object-fit:contain;background:#f2f4f1;filter:saturate(.65)}.light-choice strong{display:block;text-align:center;font-size:10px;font-weight:500;padding:8px 0;white-space:nowrap}.light-choice input:checked+span,.quality-choice input:checked+span{border-color:var(--green);background:#f1fbf5;box-shadow:0 0 0 .5px var(--green)}.light-choice input:checked+span strong{color:var(--green-dark);font-weight:650}.choice-check{display:none;position:absolute;right:4px;top:4px;border-radius:50%;color:#fff;background:var(--green);font-size:8px;line-height:13px;width:13px;text-align:center;font-weight:400}.light-choice input:checked+span .choice-check{display:block}.light-choice input:focus-visible+span,.quality-choice input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}.light-choice input:disabled+span,.quality-choice input:disabled+span{opacity:.45;cursor:not-allowed}.field-description{font-size:10px;color:#8c978e;line-height:1.8;margin-top:10px}.quality-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quality-choice>span{display:flex;flex-direction:column;align-items:flex-start;padding:13px 12px 12px;border:1px solid var(--line);border-radius:8px;position:relative}.quality-choice i{color:#8d9b92;margin-bottom:8px}.quality-choice strong{font-size:12px;font-weight:550}.quality-choice small{font-size:9px;color:#97a198;margin-top:3px;white-space:nowrap}.quality-choice input:checked+span i{color:var(--green-dark)}.quality-check{position:absolute;right:10px;top:12px;font-size:10px;width:14px;height:14px;border-radius:50%;border:1px solid #dce3dd;line-height:12px;text-align:center;color:transparent;font-weight:400}.quality-choice input:checked+span .quality-check{background:var(--green);border-color:var(--green);color:white}.output-spec{display:flex;align-items:center;justify-content:space-between;margin-top:24px;border-top:1px solid var(--line);padding-top:17px;font-size:10px}.output-spec>span{display:flex;align-items:center;gap:6px;color:#8b988e}.output-spec svg{width:14px;height:14px}.output-spec strong{font-weight:500;color:#536258}.output-spec strong span{color:#b6beb7}.settings-tip{display:flex;gap:8px;margin-top:20px;color:#899b8d;font-size:10px;line-height:1.8}.settings-tip svg{width:16px;height:16px;margin-top:2px}.generate-footer{padding:16px 22px 21px;border-top:1px solid var(--line);background:#fff}.generate-footer>p{font-size:9px;color:#95a097;text-align:center;margin-bottom:10px}.primary{height:43px;border-radius:7px;background:var(--green);color:white;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:13px;font-weight:600;transition:background .2s,transform .15s}.primary:hover:not(:disabled){background:#099651}.primary:active:not(:disabled){transform:translateY(1px)}.primary svg{width:17px;height:17px}.generate-footer .primary>i:last-child{margin-left:auto}.generate-footer .primary>i:first-child{margin-right:auto}.generate-footer .primary{padding:0 15px}
.workspace{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;background:#f2f4f2}.canvas-toolbar{height:58px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--line);background:#fff;flex:none;gap:14px}.canvas-toolbar>div:first-child{display:flex;align-items:center;gap:8px;white-space:nowrap}.status-dot{width:5px;height:5px;background:#97ad9b;border-radius:50%}.canvas-toolbar strong{font-size:12px;font-weight:500}.canvas-toolbar #canvas-detail{color:#9eaaa1;font-size:10px;margin-left:3px}.toolbar-actions{display:flex;gap:10px;align-items:center;margin-left:auto}.tool-button{display:flex;align-items:center;gap:5px;font-size:11px;padding:6px 10px;white-space:nowrap;border-radius:5px;border:1px solid transparent;height:31px;color:#68756d}.tool-button svg{width:15px;height:15px}.tool-button:hover:not(:disabled){background:#f3f6f3}.tool-button.active{color:var(--green-dark);background:var(--mint)}.tool-button.download{border-color:#dce5de;background:#fff;color:#4f6457}
.canvas-area{flex:1;position:relative;min-height:260px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:54px 35px 91px;background-image:radial-gradient(#c6cec64f .65px,transparent .65px);background-size:10px 10px}.canvas-top-label{position:absolute;left:25px;top:20px;display:flex;align-items:center;gap:10px;color:#8f9a91;font-size:10px}.canvas-top-label>span:first-child{padding:3px 9px;border:1px solid #dbe2db;border-radius:4px;background:#fafcfad9;color:#758379}.canvas-top-label>span:last-child{font-size:9px}.image-wrap{position:relative;flex:none;line-height:0;box-shadow:0 10px 35px #25362314;border-radius:5px;background:#ddd;max-width:100%;user-select:none}.image-wrap>img{width:100%;height:100%;display:block;object-fit:fill;border-radius:5px;user-select:none;-webkit-user-drag:none;transition:filter .7s}.image-wrap.editing{cursor:crosshair;touch-action:none}.canvas-caption{position:absolute;left:20px;right:20px;bottom:32px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#95a096}.canvas-caption svg{width:13px;height:13px}.canvas-caption.editing-caption{color:var(--green-dark);bottom:82px}.floating-tools{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);height:42px;border:1px solid #e3e8e0;border-radius:9px;background:#fffF;box-shadow:0 5px 20px #1a332110;display:flex;align-items:center;gap:2px;padding:5px;white-space:nowrap}.floating-tools button{height:30px;display:flex;align-items:center;gap:6px;padding:0 12px;border-radius:5px;font-size:11px;color:#637267}.floating-tools svg{width:15px;height:15px}.floating-tools button:hover,.floating-tools button.active{background:var(--mint);color:var(--green-dark)}.tool-separator{height:14px;width:1px;background:var(--line);margin:0 2px}.floating-tools #before-button:disabled{display:none}.floating-tools .tool-separator:has(+button:disabled){display:none}
.versions-panel{height:162px;flex:none;background:#fff;border-top:1px solid var(--line);padding:15px 24px 17px}.versions-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.versions-heading h2{font-size:11px;font-weight:500;display:flex;align-items:center;gap:7px}.versions-heading h2 span{color:#9ba69d;font-size:10px}.versions-heading>span{color:#a3ada5;font-size:9px}.versions{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 5px}.version-empty{display:flex;align-items:center;gap:9px;color:#aeb7af;font-size:11px;height:87px}.version-empty svg{width:22px;height:22px}.version-card{width:125px;flex:none;padding:0;text-align:left;border-radius:5px;position:relative}.version-card img{width:125px;height:64px;object-fit:cover;border:2px solid transparent;border-radius:5px;display:block}.version-card.active img{border-color:var(--green);box-shadow:0 0 0 2px #dff2e5}.version-card strong{display:block;font-size:10px;font-weight:500;margin-top:4px}.version-card small{display:block;font-size:8px;color:#9aa59c}.version-card .version-badge{position:absolute;top:5px;left:5px;font-size:7px;padding:1px 3px;border-radius:2px;background:#ffffffde;color:#697e6d}.version-card.active:after{content:'✓';position:absolute;right:5px;top:45px;border-radius:50%;background:var(--green);color:#fff;line-height:12px;width:12px;text-align:center;font-size:8px}
.product-drawer{width:0;flex:none;background:#fff;border-left:0 solid var(--line);overflow:hidden;display:flex;flex-direction:column;transition:width .28s ease;visibility:hidden;position:relative;z-index:5}.product-drawer.open{width:304px;border-left-width:1px;visibility:visible}.product-drawer>*{min-width:260px}.drawer-header{padding:22px 20px 0;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:8px;letter-spacing:1.6px;color:#94a49a;font-weight:500}.drawer-header h2{font-size:16px;margin-top:4px}.drawer-description{font-size:11px;color:#9aa59c;padding:9px 20px 16px}.product-search{margin:0 20px;height:34px;border:1px solid #e8ece8;border-radius:6px;display:flex;align-items:center;gap:6px;padding:0 10px;background:#f7f9f7;min-width:0}.product-search svg{width:15px;height:15px;color:#99a69c}.product-search input{width:100%;border:0;outline:0;background:none;font-size:11px;color:var(--text);min-width:0}.product-search input::placeholder{color:#a7b0a8}.product-categories{display:flex;gap:4px;margin:14px 20px 9px;overflow-x:auto;min-width:0;flex:none}.product-categories button{padding:4px 9px;font-size:10px;white-space:nowrap;border-radius:5px;color:#8b988f}.product-categories button.active{color:#13713f;background:#e9f8ee}.catalog-caption{display:flex;justify-content:space-between;font-size:10px;color:#9aa79e;margin:4px 20px 9px;min-width:0}.product-list{padding:0 20px 16px;overflow-y:auto;flex:1;min-height:100px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px 9px}.product-card{display:block;text-align:left;padding:0;min-width:0;border-radius:6px}.product-picture{width:100%;height:101px;border:1px solid #eff1ec;background:#fafbf9;border-radius:6px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.product-picture img{width:90%;height:90%;object-fit:contain;mix-blend-mode:multiply}.product-picture .photo{width:100%;height:100%;object-fit:cover;mix-blend-mode:normal}.product-card.selected .product-picture{border-color:var(--green);box-shadow:0 0 0 1px var(--green);background:#f0fbf3}.product-picture .check{position:absolute;right:5px;top:5px;width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;display:none;align-items:center;justify-content:center}.product-picture .check svg{width:11px;height:11px}.product-card.selected .check{display:flex}.product-picture .illustration{position:absolute;left:5px;bottom:4px;font-size:7px;color:#a7afa7;background:#fff9;padding:1px 3px;border-radius:3px}.product-card strong{display:block;font-size:10px;font-weight:500;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-card small{display:block;font-size:8px;color:#a1aba3;margin-top:2px}.product-empty{grid-column:1/-1;color:#95a198;text-align:center;padding:35px 0;font-size:12px}.drawer-footer{padding:13px 20px 14px;border-top:1px solid var(--line);background:#fff}.drawer-footer>p{font-size:9px;color:#9faaA3;text-align:center;margin-top:8px}.drawer-footer .primary{margin-top:12px;height:40px;font-size:12px}.selected-product{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:10px;font-size:10px;color:#55795e}.selected-product>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.selected-product button{font-size:9px;flex:none}summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;color:#8c9a8f;font-size:10px;user-select:none}summary::-webkit-details-marker{display:none}summary>i:last-child{margin-left:auto;transition:transform .2s}summary svg{width:13px;height:13px}details[open] summary>i:last-child{transform:rotate(90deg)}textarea{display:block;width:100%;border:1px solid #dfe7e0;border-radius:6px;background:#fafcf9;padding:9px;margin-top:10px;resize:vertical;font-size:11px;line-height:1.7}textarea::placeholder{color:#a5afa7}
.selection{position:absolute;border:1.5px solid #31cf77;background:#4de68914;box-shadow:0 0 0 9999px #14281916;pointer-events:auto;cursor:move;line-height:normal}.selection:active{cursor:grabbing}.selection>button{pointer-events:auto;position:absolute;right:-12px;top:-13px;width:24px;height:24px;border-radius:50%;background:#fff;border:1px solid #ceebd6;color:#417451;box-shadow:0 2px 9px #0c3e1620;z-index:3;line-height:18px;font-size:18px;display:grid;place-items:center;padding:0}.selection-label{position:absolute;left:-1px;top:-23px;background:#31bb6d;color:white;border-radius:4px 4px 0 0;padding:3px 7px;white-space:nowrap;font-size:9px;line-height:17px}.selection>b{position:absolute;width:5px;height:5px;background:#fff;border:1px solid var(--green)}.selection>b:nth-of-type(1){left:-3px;top:-3px}.selection>b:nth-of-type(2){right:-3px;top:-3px}.selection>b:nth-of-type(3){left:-3px;bottom:-3px}.selection>b:nth-of-type(4){right:-3px;bottom:-3px}
.compare-layer{position:absolute;inset:0;clip-path:inset(0 50% 0 0);overflow:hidden;border-radius:5px;pointer-events:none}.compare-layer img{width:100%;height:100%;object-fit:fill}.compare-layer span{position:absolute;left:12px;top:12px;background:#17251daa;color:white;line-height:24px;border-radius:4px;font-size:10px;padding:0 9px}.compare-divider{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#fff;pointer-events:none;box-shadow:0 0 4px #0002}.compare-divider b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:31px;height:31px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#435c4a;box-shadow:0 2px 5px #0002}.compare-divider svg{width:20px;height:20px}.compare-slider{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0}.compare-slider:focus-visible{opacity:.12}
.render-overlay{position:absolute;inset:0;overflow:hidden;background:#09221720;border-radius:5px;line-height:1.5;display:flex;align-items:center;justify-content:center}.image-wrap.rendering>img{animation:develop-image 12s ease-out forwards;filter:blur(12px);transform:translateZ(0)}.image-wrap.rendering{overflow:hidden}.scan-light{position:absolute;width:36%;height:150%;top:-25%;left:-50%;background:linear-gradient(90deg,transparent,#effff744,transparent);filter:blur(10px);transform:skewX(-18deg);animation:sweep 3.2s ease-in-out infinite}.render-message{color:white;z-index:1;text-align:center;text-shadow:0 1px 12px #0004;background:#15261d80;backdrop-filter:blur(9px);padding:24px 39px;border:1px solid #ffffff30;border-radius:14px;min-width:250px}.render-message h2{font-size:18px;font-weight:500;letter-spacing:2px;margin-top:10px}.render-message p{font-size:11px;color:#e2f2e8;margin-top:6px}.render-message small{display:block;font-size:9px;color:#d1e0d5;margin-top:10px}.render-orbit{display:inline-flex;padding:9px;border-radius:50%;border:1px solid #d7ffdc55;background:#ffffff12;animation:breathe 2s ease-in-out infinite}.render-orbit svg{width:24px;height:24px}.indeterminate{height:2px;background:#ffffff25;border-radius:2px;overflow:hidden;width:132px;margin:19px auto 0}.indeterminate span{display:block;height:100%;width:40%;background:#abf3c4;animation:loading 1.8s infinite ease-in-out}.canvas-error{position:absolute;left:20px;right:20px;bottom:22px;padding:12px 14px;background:#fff4ed;border:1px solid #f2d6c2;border-radius:8px;color:#8e5532;display:flex;align-items:center;gap:10px;box-shadow:0 4px 18px #0001;font-size:11px;z-index:8}.canvas-error>i svg{width:18px;height:18px}.canvas-error>span{flex:1}.canvas-error>button:not(.icon-button){font-size:11px;white-space:nowrap;text-decoration:underline}.canvas-error .icon-button{width:22px;height:22px;color:#a47a5c}
.empty-state{text-align:center;display:flex;flex-direction:column;align-items:center}.empty-state>i{padding:22px;border-radius:20px;background:#e5eee5;color:#78a389;margin-bottom:22px}.empty-state>i svg{width:40px;height:40px}.empty-state h2{font-size:22px;font-weight:500}.empty-state p{color:#93a197;font-size:12px;margin:12px 0 24px}.empty-state .primary{width:auto;padding:0 23px}.empty-state .text-button{margin-top:16px}.modal{border:0;border-radius:14px;padding:27px;width:460px;max-width:calc(100vw - 32px);box-shadow:0 25px 100px #0d291c33;color:var(--text)}.modal::backdrop{background:#17231c55;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modal h2{font-size:18px;font-weight:600}.modal>.modal-heading+ p{color:#8d9a90;font-size:11px;margin:0 0 20px}.drop-zone{border:1px dashed #a9c7b3;background:#f7fbf8;border-radius:9px;height:176px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#5d836a}.drop-zone strong{font-size:13px;font-weight:500}.drop-zone>span{font-size:10px;color:#9aa69d}.drop-zone svg{width:28px;height:28px}.drop-zone.dragover{background:#e6f8ed;border-color:var(--green)}.import-separator{position:relative;border-top:1px solid var(--line);margin:25px 0 21px;text-align:center;height:1px}.import-separator span{position:relative;top:-10px;padding:0 12px;background:white;font-size:11px;color:#a1aba3}.sample-project-button{display:flex;text-align:left;align-items:center;width:100%;border:1px solid var(--line);border-radius:8px;padding:9px;gap:12px}.sample-project-button:hover{border-color:#aed4bb}.sample-project-button img{width:72px;height:46px;border-radius:4px;object-fit:cover}.sample-project-button>span{display:flex;flex-direction:column;gap:5px}.sample-project-button strong{font-size:11px;font-weight:500}.sample-project-button small{font-size:9px;color:#9aa79e}.sample-project-button i{margin-left:auto;color:#88a48f}.import-error{color:#b26441;font-size:11px;margin-top:12px}.projects-list{display:flex;flex-direction:column;gap:10px;max-height:60vh;overflow:auto}.project-link{border:1px solid var(--line);padding:8px;display:flex;align-items:center;gap:15px;border-radius:8px;text-align:left}.project-link:hover{background:#f4faf6}.project-link img{width:95px;height:58px;object-fit:cover;border-radius:5px}.project-link strong,.project-link small{display:block}.project-link strong{font-weight:500;font-size:12px}.project-link small{color:#94a299;margin-top:6px;font-size:10px}.help-modal ol{padding-left:23px;counter-reset:steps}.help-modal li{padding-left:8px;margin:22px 0;color:var(--green-dark)}.help-modal li strong{font-size:13px;font-weight:500;color:#30493a}.help-modal li p{color:#95a098;font-size:11px;margin-top:6px;line-height:1.9}.help-note{background:#f5f8f4;border-radius:8px;padding:13px;color:#8b988e;font-size:10px;line-height:1.9}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);border:1px solid #e0eade;background:#fff;box-shadow:0 7px 30px #0c2f1720;padding:11px 20px;border-radius:8px;color:#506b58;font-size:12px;z-index:50;max-width:80vw;text-align:center}.workspace:fullscreen{background:#f2f4f2}.workspace:fullscreen .versions-panel{display:none}.busy button:not([data-help]),.busy input,.busy textarea{cursor:wait}.locked{pointer-events:none;opacity:.6}
@keyframes sweep{0%{left:-50%}100%{left:130%}}@keyframes breathe{50%{transform:scale(1.08);box-shadow:0 0 28px #c5ffdf33}}@keyframes develop-image{0%{filter:blur(16px) saturate(.65)}60%{filter:blur(6px) saturate(.9)}100%{filter:blur(3px)}}@keyframes loading{0%{transform:translateX(-120%)}100%{transform:translateX(350%)}}
@media(min-width:1600px){.settings{width:315px}.source-card{height:145px}.settings-scroll{padding:27px}.generate-footer{padding:18px 27px 25px}.product-drawer.open{width:338px}.product-picture{height:125px}.canvas-area{padding-left:55px;padding-right:55px}}
@media(max-width:1180px){.settings{width:266px}.settings-scroll{padding:21px 18px 10px}.generate-footer{padding:15px 18px}.canvas-toolbar{padding:0 16px}.canvas-toolbar #canvas-detail{display:none}.product-drawer{position:absolute;right:0;top:60px;bottom:0;box-shadow:-8px 0 35px #253b1f16}.product-drawer.open{width:300px}.canvas-area{padding:55px 22px 92px}.quality-choice>span{padding:11px 9px}.quality-choice small{font-size:8px}.light-choice strong{font-size:9px}.versions-panel{padding-left:18px;padding-right:18px}}
@media(max-width:800px){.app-header{height:52px;padding:0 15px}.brand{width:135px}.breadcrumb{padding-left:14px;gap:8px}.breadcrumb>span:first-child,.breadcrumb>i,.beta{display:none}.header-actions{gap:8px}.header-actions .avatar{display:none}.app-body{height:calc(100dvh - 52px)}.rail{width:54px;padding:14px 3px}.rail-item{width:46px;font-size:9px}.settings{width:228px}.settings-scroll{padding:19px 13px 10px}.tiny-label{display:none}.source-card{height:102px}.source-caption>span{display:none}.quality-choices{grid-template-columns:1fr}.quality-choice>span{padding:9px 12px 9px 40px}.quality-choice i{position:absolute;left:12px;top:15px}.quality-choice small{font-size:9px}.settings-tip{display:none}.quality-check{top:16px}.control-group{margin-top:20px}.lighting-choices{gap:4px}.light-choice strong{font-size:8px}.canvas-toolbar{height:50px;padding:0 11px}.tool-button{padding:4px 5px}.toolbar-actions{gap:4px}.canvas-toolbar>div:first-child{display:none}.toolbar-actions{margin-left:0;justify-content:space-between;width:100%}.canvas-area{padding:42px 15px 100px}.versions-heading>span{display:none}.floating-tools{bottom:28px}.floating-tools button{padding:0 7px;font-size:10px;gap:4px}.floating-tools svg{width:13px;height:13px}.product-drawer{top:52px}.render-message{padding:18px;min-width:200px}.render-message h2{font-size:15px}.generate-footer>p{font-size:8px}}
@media(max-width:580px){.app-body{min-height:0;height:auto;display:grid;grid-template-columns:1fr;overflow:visible}.rail{display:none}.settings{width:100%;border-right:0;border-bottom:1px solid var(--line)}.settings-scroll{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;padding:18px}.section-heading{grid-column:1/-1;margin:0}.source-heading{grid-column:1/-1;margin:0}.source-card{grid-column:1;grid-row:3/5;height:108px}.source-caption{display:block;grid-column:2;margin:0}.source-origin{grid-column:2;margin:0;align-self:start}.control-group{margin:0;min-width:0}.control-group legend{margin-bottom:8px}.quality-choices{grid-template-columns:1fr 1fr;gap:5px}.quality-choice>span{padding:10px 5px}.quality-choice i,.quality-choice small,.quality-check{display:none}.quality-choice strong{font-size:10px}.light-choice img{height:34px}.output-spec{grid-column:1/-1;margin:0;padding-top:10px}.field-description{display:none}.generate-footer{border-top:0;padding:0 18px 17px}.generate-footer>p{text-align:left;margin-bottom:8px}.workspace{min-height:500px}.canvas-area{min-height:280px}.canvas-toolbar{height:48px}.canvas-area{padding-bottom:77px}.versions-panel{height:154px}.product-drawer{position:fixed;top:52px;width:0;max-width:85vw}.product-drawer.open{width:300px}.canvas-top-label{top:12px;left:17px}.canvas-caption{bottom:26px;font-size:10px}.canvas-caption.editing-caption{bottom:67px}.floating-tools{bottom:14px}.environment{font-size:9px}.breadcrumb strong{font-size:12px}.canvas-error{bottom:10px;left:10px;right:10px}.render-message{padding:14px}.render-orbit{padding:5px}.render-orbit svg{width:18px;height:18px}.render-message h2{font-size:13px}.render-message p{font-size:9px}.indeterminate{margin-top:10px}}
@media(max-height:800px) and (min-width:581px){.settings-scroll{padding-top:18px}.section-heading{margin-bottom:18px}.source-card{height:88px}.source-heading{margin-bottom:9px}.source-caption{margin-top:7px}.source-origin{margin-top:3px}.control-group{margin-top:18px}.control-group legend{margin-bottom:9px}.light-choice img{height:52px}.light-choice strong{padding:6px 0}.field-description{margin-top:7px;font-size:9px}.quality-choice>span{padding-top:10px;padding-bottom:10px}.quality-choice i{margin-bottom:5px}.quality-choice i svg{width:17px;height:17px}.output-spec{margin-top:14px;padding-top:12px}.settings-tip{display:none}.generate-footer{padding-top:12px;padding-bottom:15px}}
/* Alignment with the signed-in commodity page: neutral rail, dark icons, pills and white product cards. */
.rail{background:#f5f5f5}.rail-item{color:#535e56;font-size:11px}.rail-item.active{background:white;color:#09120c;border-radius:12px}.rail-item.active svg{color:#0b6838}.primary{background:#4dd87c;color:#092d17}.primary:hover:not(:disabled){background:#39cc6b}.light-choice strong{font-size:11px}.quality-choice strong{font-size:13px}.quality-choice small{font-size:10px}.field-description{font-size:11px}.source-meta,.source-origin{font-size:11px}.generate-footer>p{font-size:10px}.canvas-toolbar strong{font-size:13px}.tool-button{font-size:12px}.floating-tools button{font-size:12px}.versions-heading h2{font-size:12px}.versions-heading>span{font-size:10px}.version-card strong{font-size:11px}.version-card small{font-size:9px}.product-search{border-radius:18px;background:#f4f4f4;border-color:#f4f4f4}.product-search input{font-size:12px}.product-categories button{border-radius:16px;background:#f4f4f4;font-size:11px;padding:5px 10px;color:#4a524d}.product-categories button.active{background:#4dd87c;color:#09120c}.product-picture{background:#fff;border-color:#dfdfdf;border-radius:4px}.product-picture img{width:94%;height:94%;mix-blend-mode:normal}.product-card strong{font-size:12px}.product-card small{font-size:10px}.drawer-description{font-size:12px}.catalog-caption{font-size:11px}.selected-product{font-size:11px}.drawer-footer summary{font-size:11px}
@media(max-width:800px){.light-choice strong{font-size:9px}.quality-choice small{font-size:9px}.rail-item{font-size:9px}.floating-tools button{font-size:10px}}
.product-categories{scrollbar-width:none}.product-categories::-webkit-scrollbar{display:none}.product-list,.settings-scroll,.versions{scrollbar-width:thin;scrollbar-color:#d7ddd7 transparent}
@media(max-width:1000px) and (min-width:581px){.editing-open .settings{display:none}.editing-open .product-drawer{position:relative;top:0;bottom:auto;box-shadow:none;width:285px}.editing-open .canvas-toolbar #canvas-detail{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.image-wrap.rendering>img{filter:blur(5px)}}

/* Keep supporting copy readable without enlarging the main headings. */
.tiny-label,.quality-choice small,.generate-footer>p,.settings-tip,.canvas-toolbar #canvas-detail,.canvas-top-label,.versions-heading>span,.versions-heading h2 span,.catalog-caption,.product-card small,.selected-product,.drawer-footer summary,.drawer-footer>p,.drop-zone>span,.project-link small,.help-note{font-size:12px}
.source-origin,.field-description,.version-empty,.drawer-description,.modal>.modal-heading+p,.help-modal li p{font-size:13px}
.source-caption>span,.source-tag,.canvas-top-label>span:last-child,.version-card small,.sample-project-button small{font-size:11px}
.eyebrow{font-size:10px}.version-card .version-badge{font-size:9px}.render-message small{font-size:11px}
.quality-choice small{white-space:normal;line-height:1.5}.quality-choice>span{height:100%}
.tiny-label,.source-origin,.field-description,.quality-choice small,.generate-footer>p,.canvas-toolbar #canvas-detail,.canvas-top-label,.versions-heading>span,.version-card small,.drawer-description,.product-card small,.project-link small{color:#78847c}
.version-card{width:145px}.version-card img{width:145px}.version-card strong{font-size:12px}.versions-panel{height:170px}
.output-settings{border-top:1px solid var(--line);margin-top:22px;padding-top:17px}.output-settings h2{font-size:13px;margin-bottom:14px}
.output-field{padding:0;border:0;margin:0 0 13px;min-width:0}.output-field legend{font-size:12px;color:#69776e;margin-bottom:8px}
.resolution-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ratio-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.output-choice{position:relative;cursor:pointer}.output-choice input{position:absolute;opacity:0;width:1px;height:1px}.output-choice>span{display:flex;align-items:center;justify-content:center;border:1px solid #e1e7e2;border-radius:6px;min-height:33px;font-size:13px;color:#516357;background:#fff;transition:background .15s,border-color .15s}
.output-choice input:checked+span{border-color:var(--green);background:#effaf3;color:var(--green-dark);box-shadow:0 0 0 .5px var(--green)}.output-choice input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}.output-choice input:disabled+span{opacity:.5;cursor:not-allowed}
.ratio-choice>span{height:57px;flex-direction:column;gap:6px;padding:6px 2px}.ratio-choice b{font-size:12px;font-weight:500;white-space:nowrap}.ratio-symbol{display:flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:2px;font-size:12px;line-height:1;flex:none}
.output-size{font-size:12px;color:#536b5b;line-height:1.6}.output-note{font-size:12px;color:#78847c;line-height:1.65;margin-top:4px}
.compare-layer{background:#edf0ed}.compare-layer img{object-fit:contain}
@media(max-width:800px){.quality-choice small{font-size:11px}.source-origin,.field-description{font-size:12px}.ratio-choices{gap:4px}.ratio-choice b{font-size:11px}.tiny-label{display:none}}
@media(max-width:580px){.output-settings{grid-column:1/-1;margin-top:0}.ratio-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.quality-choice strong{font-size:12px}.light-choice strong{font-size:10px}.versions-panel{height:170px}}

.test-data-entry{display:flex;align-items:center;gap:6px;border:1px solid #dce5de;border-radius:6px;padding:6px 10px;color:#52695a;font-size:12px;background:#f8fbf9;white-space:nowrap}.test-data-entry svg{width:15px;height:15px}.test-data-entry:hover{border-color:var(--green);color:var(--green-dark)}
.test-data-modal{width:850px;max-height:calc(100dvh - 40px);padding:24px}.test-data-modal[open]{display:flex;flex-direction:column}.test-data-modal .modal-heading{flex:none;margin-bottom:18px}.test-data-modal .modal-heading h2{margin-top:5px}.test-data-modal .eyebrow{font-size:12px;letter-spacing:0;color:#789082}#test-data-content{overflow:auto;min-height:0;padding-right:8px;scrollbar-width:thin;scrollbar-color:#d7ddd7 transparent}
.test-scene{display:flex;align-items:center;gap:13px;background:#f6f8f6;border-radius:8px;padding:11px}.test-scene img{width:110px;height:62px;object-fit:contain;border-radius:5px;background:#fff}.test-scene strong{font-size:14px;font-weight:600}.test-scene p{color:#77857b;font-size:12px;margin-top:5px}.test-data-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.test-data-summary>div{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:13px 16px;border:1px solid #e1e9e3;border-radius:8px}.test-data-summary span{font-size:13px;color:#53665a}.test-data-summary strong{font-size:18px;color:var(--green-dark);grid-column:2;grid-row:1/3;align-self:center}.test-data-summary small{font-size:12px;color:#78877d}.test-data-explainer{font-size:13px;line-height:1.8;color:#667b6d;margin-bottom:21px}
.test-pool-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.test-pool-heading h3{font-size:14px}.test-pool-heading .text-button{font-size:13px;color:var(--green-dark)}.test-upload-help{font-size:12px;color:#829087;margin:7px 0 13px}.test-product-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border:1px dashed transparent;padding:1px}.test-product-list.dragover{border-color:var(--green);background:#f0fbf4}
.test-product{border:1px solid #e0e7e1;border-radius:7px;overflow:hidden;min-width:0;background:white}.test-product.high-risk{border-color:var(--green);box-shadow:0 0 0 .5px var(--green)}.test-product-photo{height:128px;position:relative;display:flex;align-items:center;justify-content:center;background:#fff}.test-product-photo img{width:94%;height:94%;object-fit:contain}.test-product-remove{position:absolute;right:5px;top:5px;border-radius:50%;width:25px;height:25px;padding:5px;background:#f3f5f3dd;color:#78887c}.test-product-remove svg{width:15px;height:15px}.test-product-remove:hover{color:#a2463b;background:#fcf0ed}.test-product-name{display:block;width:calc(100% - 16px);min-width:0;margin:6px 8px;padding:5px 6px;border:1px solid #e3e9e4;border-radius:4px;font-size:12px;color:#405b49;background:#fbfcfb}.test-risk-choice{display:flex;align-items:center;gap:5px;font-size:12px;padding:7px 9px 10px;cursor:pointer;color:#526c5b;white-space:nowrap}.test-risk-choice input{accent-color:var(--green);width:14px;height:14px;margin:0;flex:none}.high-risk .test-risk-choice{color:var(--green-dark)}
.test-pool-empty{grid-column:1/-1;min-height:160px;padding:24px;border:1px dashed #bccfc2;border-radius:8px;background:#f9fcf9;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center;color:#547763}.test-pool-empty svg{width:28px;height:28px}.test-pool-empty strong{font-size:14px;font-weight:500}.test-pool-empty span{font-size:12px;color:#859589}
.test-reference-plan{padding:15px;border-radius:8px;background:#f1f9f3;margin:19px 0 6px}.test-reference-plan>strong{font-size:13px;color:#466953;font-weight:500}.test-reference-plan>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.test-reference-chip{display:flex;align-items:center;gap:7px;border:1px solid #ddeade;background:white;padding:5px 8px;border-radius:5px;font-size:12px;color:#63806b;max-width:230px}.test-reference-chip img{width:36px;height:28px;object-fit:contain}.test-reference-chip>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.test-data-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:15px;padding-top:15px}.test-data-footer>p{color:#78867c;font-size:12px;line-height:1.6;overflow-wrap:anywhere;max-height:90px;overflow:auto;flex:1}.test-data-footer>p.error{color:#ad6044}.test-data-footer>.primary{width:auto;padding:0 24px;flex:none}.test-data-intro{padding:35px 20px;display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center}.test-data-intro>i{padding:15px;background:#eff8f1;color:#5e9270;border-radius:12px}.test-data-intro p{font-size:13px;color:#77887d;max-width:420px;line-height:1.8}.test-data-intro .primary{width:auto;padding:0 30px;margin-top:8px}
@media(max-width:800px){.test-data-entry{padding:5px 7px;font-size:11px;gap:4px}.header-actions{gap:7px}.test-data-modal{padding:20px;width:650px}.test-product-list{grid-template-columns:repeat(3,minmax(0,1fr))}.test-data-summary>div{padding:10px}.test-data-summary strong{font-size:16px}}
@media(max-width:580px){.test-data-entry i{display:none}.header-actions .environment{display:none}.test-data-modal{padding:16px;max-height:calc(100dvh - 24px)}.test-data-modal .modal-heading h2{font-size:16px}.test-product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.test-data-summary{gap:7px}.test-data-summary>div{display:flex;flex-direction:column;gap:5px}.test-data-summary strong{align-self:flex-start}.test-data-summary small{font-size:11px}.test-data-footer{gap:10px}.test-data-footer>.primary{padding:0 13px;font-size:12px}.test-scene img{width:80px}.test-scene strong{font-size:13px}.test-pool-heading .text-button{font-size:12px}}

/* Keep editing guidance below the image, with space reserved by fitImage. */
.canvas-area:has(.editing-caption){flex-direction:column;gap:18px}
.canvas-caption.editing-caption{position:static;flex:none;min-height:20px;line-height:20px;font-size:12px;text-align:center;margin:0;max-width:100%}
.drawer-header h2{margin-top:0}
.drawer-footer{flex:none}
#edit-instruction{min-height:112px;max-height:220px;padding:12px;font-size:13px;line-height:1.7}

.output-ratio{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:12px;color:#78847c}.output-ratio strong{font-size:13px;font-weight:500;color:#4c6756}

.generate-footer .primary.inactive-for-edit{background:#e4e8e5;color:#8b948e;opacity:1;cursor:not-allowed}
