:root{font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#333c37;background:#f6f5f0;font-synthesis:none;font-size:13px;--green:#365b43;--muted:#92958b;--border:#e7e7df}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #72956e;outline-offset:3px}a{color:inherit;text-decoration:none}#app{height:100dvh;min-height:660px;display:flex;flex-direction:column}.topbar{height:86px;flex-shrink:0;display:flex;align-items:center;padding:0 28px;gap:34px;border-bottom:1px solid var(--border);background:#fcfbf7}.brand{display:flex;align-items:center;gap:10px;min-width:208px;font-size:21px;font-weight:700;letter-spacing:2px}.brand-icon{font-size:42px;line-height:1;color:#41674c}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:2.5px;margin-top:3px}.project-title{display:flex;align-items:center;gap:15px;flex:1}.project-title input{width:160px;border:0;background:transparent;font-size:13px;color:#555e54;outline:none}.project-title input:hover{background:#f0f0e8;border-radius:4px}#save-state{font-size:10px;color:#999c90;padding-left:15px;border-left:1px solid var(--border)}.header-actions{display:flex;gap:10px;align-items:center}.header-actions button{padding:10px 15px;white-space:nowrap;font-size:12px}.quiet{color:#757d70}.button-secondary{border:1px solid #d8dcd0;border-radius:6px;background:#fdfdf9;padding:10px 18px}.button-primary{background:var(--green);color:#fff;border:1px solid var(--green);border-radius:6px;padding:10px 18px}.button-primary span{margin-left:16px}.button-primary:hover{background:#264631}.button-secondary:hover,.quiet:hover{background:#ebeee5}.workspace{display:grid;grid-template-columns:258px minmax(250px,1fr) 268px;flex:1;min-height:0}.left-panel,.right-panel{background:#fcfbf7;padding:26px 22px;position:relative;overflow:auto;scrollbar-width:thin}.left-panel{border-right:1px solid var(--border);display:flex;flex-direction:column}.right-panel{border-left:1px solid var(--border)}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel-title h2{font-size:15px;letter-spacing:1px;margin:0;font-weight:600}.panel-title>span{font-size:8px;letter-spacing:1px;color:#a5a89c}.muted{color:var(--muted);font-size:11px;line-height:1.8}.intro{margin:11px 0 25px}.tabs{display:flex;border-bottom:1px solid var(--border);margin-bottom:20px;gap:24px}.tabs button{font-size:11px;padding:0 0 12px;color:#909486;position:relative}.tabs button.active{color:var(--green);font-weight:600}.tabs button.active:after{content:"";position:absolute;height:2px;background:#4d6c49;bottom:-1px;left:0;right:0}.tabs span{font-size:9px;background:#eaede3;padding:1px 5px;border-radius:4px;margin-left:2px}.shape-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.shape-card{height:109px;background:#f5f4ed;border:1px solid #e8e8df;border-radius:7px;display:flex;align-items:center;flex-direction:column;justify-content:center;position:relative;transition:.16s}.shape-card:hover{background:#eeefe3;border-color:#a8b59a;transform:translateY(-2px)}.shape-card>span:nth-child(2){font-size:10px;margin-top:9px}.shape-card small{display:block;font-size:7px;letter-spacing:1px;color:#a1a596;margin-top:2px}.shape-card i{position:absolute;right:8px;top:5px;color:#9da790;font-style:normal;font-size:13px}.shape-preview{display:block;height:34px;width:34px;position:relative;filter:drop-shadow(2px 5px 3px #606e4224)}.cube{width:29px;height:29px;background:linear-gradient(115deg,#abb89a 50%,#81976f 51%);transform:rotate(-13deg) skewY(5deg);border-radius:3px;box-shadow:inset 0 5px #c5cdb2}.sphere{border-radius:50%;background:radial-gradient(circle at 30% 25%,#d5d9c4,#a0af87 55%,#74885e)}.cylinder{width:29px;background:linear-gradient(90deg,#b8c5a2,#859b6b);border-radius:50%/18%}.cylinder:before{content:"";position:absolute;top:0;width:100%;height:10px;border-radius:50%;background:#c4ceb4}.cone,.pyramid{background:linear-gradient(110deg,#c7cfb5 10%,#859a6b 90%);clip-path:polygon(50% 0,100% 90%,80% 100%,20% 100%,0 90%)}.pyramid{clip-path:polygon(50% 0,100% 82%,52% 100%,0 80%);background:linear-gradient(80deg,#b8c5a3 50%,#7f9469 51%)}.torus{border:10px solid #acbb94;border-top-color:#c1cbae;border-right-color:#8ea377;border-radius:50%;transform:rotateX(33deg)}.library-note{font-size:9px;color:#a1a58f;text-align:center;margin:14px 0 27px}.library-note span{margin-right:4px}.section-label{font-size:10px;font-weight:500;margin-bottom:12px}.section-label>span{display:block;font-size:7px;letter-spacing:1.5px;color:#a4a98f;margin-top:4px}.starter-card{display:block;width:100%;padding:0;text-align:left;border:1px solid #e1e5d6;border-radius:7px;overflow:hidden;background:#f6f7ee}.house-art{display:block;height:98px;background:radial-gradient(ellipse at 50% 80%,#d4dcc44d,transparent 65%),#edf0e4;position:relative}.house-body{position:absolute;width:47px;height:35px;background:#e8c8a2;left:calc(50% - 23px);top:47px;transform:skewY(-5deg);box-shadow:11px -4px #bfa886}.house-body i{display:block;background:#6b7053;width:10px;height:20px;margin:15px 0 0 20px}.house-roof{position:absolute;width:64px;height:30px;background:#a7785b;clip-path:polygon(50% 0,100% 100%,0 100%);top:22px;left:calc(50% - 31px);z-index:1;transform:skewY(-5deg)}.house-tree{position:absolute;width:24px;height:45px;background:#9dad7c;clip-path:polygon(50% 0,100% 75%,58% 75%,58% 100%,42% 100%,42% 75%,0 75%);left:28px;top:32px}.starter-caption{display:block;position:relative;padding:12px}.starter-caption b{font-size:11px;font-weight:500}.starter-caption small{display:block;color:#959c88;font-size:9px;margin-top:5px}.starter-caption i{position:absolute;right:13px;top:13px;font-style:normal;color:#8c9c7a}.starter-small{display:flex;gap:11px;align-items:center;text-align:left;padding:13px 0;width:100%}.starter-small>span:first-child{font-size:23px;color:#93a480}.starter-small>span:last-child{margin-left:auto;color:#9ba58d}.starter-small b{font-size:10px;font-weight:500}.starter-small small{display:block;font-size:9px;color:#9ba18f;margin-top:4px}.left-bottom{margin-top:auto;padding-top:25px;font-size:9px;color:#7a866e}.left-bottom div{margin:7px 0 0 12px;color:#a2a794;font-size:9px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#7d9870;margin-right:6px;vertical-align:middle}.canvas-panel{position:relative;overflow:hidden;background:#f0f0e8;min-height:450px}#viewport{position:absolute;top:0;right:0;bottom:0;left:0}#viewport canvas{display:block;width:100%;height:100%;touch-action:none;outline:0}.canvas-top{position:absolute;top:20px;left:23px;right:21px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.canvas-breadcrumb{font-size:10px;color:#858c7c;letter-spacing:.4px}.canvas-breadcrumb>span:not(.status-dot){padding:0 10px;color:#c1c6b7}.view-buttons{display:flex;gap:4px;pointer-events:auto}.view-buttons button{font-size:20px;width:31px;height:31px;border-radius:5px;color:#809075}.view-buttons button:hover,.view-buttons button.active{background:#e2e7d8}.toolbar{position:absolute;top:20px;left:50%;transform:translate(-50%);padding:5px;display:flex;gap:3px;border:1px solid #dedfd3;border-radius:8px;background:#fafaf5ed;box-shadow:0 3px 10px #5f6b4310}.toolbar button{width:45px;height:48px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:5px;color:#8d9483}.toolbar button>span{font-size:23px;line-height:1.1}.toolbar small{font-size:8px;margin-top:4px}.toolbar button.active{background:#e6ecdf;color:#3c6246}.toolbar button:hover{background:#edf0e6}.toolbar button#undo,.toolbar button#redo{width:29px}.tool-divider{width:1px;background:#e2e5d9;margin:8px 2px}.axis-widget{position:absolute;right:25px;bottom:75px;width:60px;height:60px}.axis-widget:before,.axis-widget:after{content:"";position:absolute;left:29px;top:25px;height:30px;width:1px;background:#b8c4a5;transform:rotate(-55deg);transform-origin:top}.axis-widget:after{transform:rotate(55deg)}.axis-widget button{position:absolute;font-size:10px;border-radius:50%;height:23px;width:23px;background:#e2e9d7;color:#7e9a63}.axis-widget button:first-child{left:18px;top:0;background:#dce6d1}.axis-widget button:nth-child(2){bottom:0;left:0;color:#7c92a2;background:#dce3e7}.axis-widget button:last-child{bottom:0;right:0;color:#b78377;background:#eee1d8}.canvas-bottom{position:absolute;bottom:19px;left:23px;right:23px;display:flex;justify-content:space-between;align-items:center;color:#959c89;font-size:9px;pointer-events:none}.canvas-bottom b{padding:0 9px;font-weight:400;color:#b5bba9}.mouse-icon{display:inline-block;border:1px solid #a5ae97;width:8px;height:12px;border-radius:4px;vertical-align:middle;margin-right:6px}.canvas-label{position:absolute;bottom:69px;left:27px;font-size:8px;color:#a5ad96;letter-spacing:2px;line-height:1.8;pointer-events:none}.canvas-label em{font-family:Georgia,serif;font-size:18px;letter-spacing:.2px;color:#8e9d7c}.selected-name{display:flex;align-items:center;gap:8px;padding:23px 0 20px;border-bottom:1px solid var(--border)}#selected-icon{width:28px;height:28px;border-radius:5px;background:#e9eddf;color:#7f9567;display:grid;place-items:center;font-size:20px}#object-name{width:110px;border:0;background:none;color:#454f41;outline:none;font-size:12px}.selected-badge{font-size:8px;color:#7d8d68;background:#edf0e4;padding:3px 5px;border-radius:4px;margin-left:auto;white-space:nowrap}.property-section{padding:21px 0;border-bottom:1px solid var(--border)}.property-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:500;margin-bottom:20px}.property-heading button{font-size:9px;color:#8f987f}.property-heading small{font-size:7px;letter-spacing:1px;color:#a0a58f}.field-title{font-size:10px;display:flex;justify-content:space-between;align-items:center;margin:17px 0 9px}.field-title small{font-size:7px;color:#a3a88f;letter-spacing:.7px}.vector-fields{display:flex;gap:5px}.vector-field{background:#f2f3eb;border:1px solid #e7e9de;border-radius:4px;display:flex;align-items:center;width:calc((100% - 10px)/3);padding:7px 5px}.vector-field>span{font-size:8px;margin-right:4px;color:#aa8172}.vector-field:nth-child(2)>span{color:#7e9664}.vector-field:nth-child(3)>span{color:#7f99a5}.vector-field input{min-width:0;width:100%;background:none;border:0;font-size:10px;color:#5b6451;outline:0;-moz-appearance:textfield}.vector-field input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.snap-setting{font-size:9px;display:flex;align-items:center;gap:5px;color:#8c957c;margin-top:15px}.snap-setting input{accent-color:#59744b;width:12px;height:12px}.snap-setting span{margin-left:auto;font-size:8px}.field-title #color-value{font-size:9px;color:#a1a58f}#color-swatches{display:flex;gap:8px;flex-wrap:wrap}.swatch{width:22px;height:22px;border-radius:50%;border:2px solid transparent;box-shadow:0 0 0 1px transparent}.swatch.active{border:2px solid #fcfbf7;box-shadow:0 0 0 1px #71875b}.custom-color{margin-top:13px;display:flex;align-items:center;font-size:9px;gap:7px;color:#8c957c;cursor:pointer}.custom-color input{width:17px;height:17px;border:0;background:none;padding:0;cursor:pointer}.custom-color>span:last-child{margin-left:auto}.range-label{display:flex;justify-content:space-between;font-size:9px;color:#8b927f;margin-top:24px}input[type=range]{width:100%;height:3px;margin:15px 0 0;accent-color:#718b5d}.actions-section{border:0;padding-bottom:10px}.actions-section button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 8px;color:#7b866e;border-radius:4px;text-align:left}.actions-section button:hover{background:#eff1e6}.actions-section button span{font-size:10px}.actions-section kbd{margin-left:auto;font-size:8px;font-family:inherit;color:#a6ad99}.actions-section .danger{color:#ac8275}.tip-card{background:#f0f2e7;border:1px solid #e6eadb;border-radius:6px;padding:15px 13px;margin-top:17px;font-size:10px}.tip-card>span{color:#859965;font-size:17px;vertical-align:middle;margin-right:6px}.tip-card b{font-size:10px;font-weight:500}.tip-card p{color:#929c83;line-height:1.9;font-size:9px;margin:7px 0 13px}.tip-card button{border-top:1px solid #e2e7d6;width:100%;text-align:left;padding:11px 0 0;font-size:9px;color:#7d8e6a}.tip-card button span{float:right}.footer{height:36px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:0 25px;border-top:1px solid var(--border);font-size:9px;color:#9ba18f;background:#fcfbf7}.footer b{font-weight:400;padding:0 8px}.footer>span:last-child>span{margin-left:9px;color:#889b73}.footer .status-dot{margin-left:7px;width:4px;height:4px}#empty-selection{text-align:center;padding:70px 0 35px}#empty-selection>span{font-size:43px;color:#b5c1a5}#empty-selection h3{font-size:13px;font-weight:500;color:#78876b}#empty-selection p{font-size:11px;color:#a1a792;line-height:1.9}.object-row{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font-size:11px;padding:11px 8px;border-radius:4px;margin-bottom:4px}.object-row.active{background:#e9eedf;color:#44633a}.object-row:hover{background:#eff1e8}.object-row>i{width:10px;height:10px;border-radius:3px}.object-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.object-row small{color:#9aa58d;font-size:8px}.scene-tip{margin-top:25px;font-size:9px}#toast{position:fixed;bottom:55px;left:50%;transform:translate(-50%,15px);background:#334c3b;color:#fff;border-radius:7px;padding:12px 24px;font-size:12px;opacity:0;transition:.2s;pointer-events:none;z-index:100}#toast.show{opacity:1;transform:translate(-50%)}dialog{border:1px solid #e0e5d6;border-radius:13px;padding:30px;width:450px;max-width:calc(100vw - 32px);background:#fcfbf7;color:#394631;box-shadow:0 25px 100px #17261140}dialog::backdrop{background:#25372255;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-size:24px;font-weight:500;margin:12px 0}dialog p{font-size:11px;color:#8a947c;line-height:1.9}.dialog-eyebrow{font-size:8px;letter-spacing:2px;color:#97a487}.dialog-close{float:right;font-size:24px;line-height:1;color:#8b947c}.export-option{display:flex;flex-direction:column;position:relative;width:100%;text-align:left;border:1px solid #e0e5d6;border-radius:7px;padding:15px;margin:12px 0}.export-option:hover{background:#eef2e5;border-color:#9caf86}.export-option b{font-size:14px;font-weight:500}.export-option b span{font-size:9px;background:#e5ecdb;color:#69834f;margin-left:8px;padding:3px 6px;border-radius:4px}.export-option small{font-size:10px;margin-top:7px;color:#8e9981}.export-option i{position:absolute;right:16px;top:20px;font-style:normal}.dialog-note{font-size:9px}dialog dl{font-size:11px;display:grid;grid-template-columns:1fr auto;gap:17px 10px;margin:25px 0}dialog dd{margin:0;color:#8c9c7a}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.webgl-error{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;text-align:center;padding:25px;color:#637956}.webgl-error p{line-height:1.9;font-size:12px}.webgl-error button{margin:auto;width:max-content}[hidden]{display:none!important}@media(min-width:1500px){.workspace{grid-template-columns:282px minmax(250px,1fr) 286px}.left-panel,.right-panel{padding-left:27px;padding-right:27px}.shape-card{height:119px}.toolbar{top:23px}.intro{margin-bottom:30px}}@media(max-width:1150px){.workspace{grid-template-columns:220px minmax(200px,1fr) 235px}.left-panel,.right-panel{padding:22px 16px}.topbar{gap:10px;padding:0 20px}.brand{min-width:190px}#save-state{display:none}.header-actions{gap:4px}.header-actions button{padding:9px 10px}.canvas-breadcrumb{display:none}.canvas-top{justify-content:flex-end;top:88px}.toolbar{top:20px}.shape-card{height:95px}.selected-name{gap:5px}#object-name{width:100px}.selected-badge{font-size:7px}}@media(max-width:850px){.workspace{grid-template-columns:160px minmax(180px,1fr) 200px}.left-panel,.right-panel{padding:18px 11px}.panel-title>span{display:none}.intro{font-size:9px}.shape-grid{gap:6px}.shape-card{height:90px}.tabs{gap:12px}.tabs button{font-size:10px}.brand{min-width:147px;font-size:17px;gap:5px}.brand-icon{font-size:34px}.brand small{font-size:6px}.project-title input{width:125px;font-size:11px}.header-actions button{padding:9px 7px;font-size:10px}.header-actions .quiet{display:none}.topbar{height:72px;padding:0 13px;gap:8px}.toolbar button{width:36px}.toolbar button#undo,.toolbar button#redo{width:23px}.canvas-bottom{left:12px;right:12px;font-size:8px}.canvas-bottom>span:first-child{max-width:145px;line-height:1.8}.canvas-bottom b{padding:0 2px}.field-title small{font-size:6px}.vector-field{padding:7px 3px}.vector-field input{font-size:9px}.selected-badge{display:none}#object-name{width:120px}.swatch{height:19px;width:19px}#color-swatches{gap:7px}.footer{font-size:8px;padding:0 12px}.footer>span:last-child{display:none}}@media(max-width:600px){#app{min-height:740px;height:auto}.topbar{height:65px;flex-wrap:wrap;gap:4px}.brand{min-width:130px}.project-title{flex:1}.project-title input{width:125px}.header-actions{gap:5px}.header-actions #save-project{display:none}.header-actions button{font-size:9px;padding:8px}.workspace{display:grid;grid-template-columns:1fr 185px;grid-template-rows:auto 560px}.left-panel{grid-column:1/-1;padding:12px 15px;border-right:0;border-bottom:1px solid var(--border);overflow:visible}.left-panel .panel-title,.intro,.library-note,.section-label,.starter-card,.starter-small,.left-bottom{display:none}.tabs{position:absolute;right:12px;top:12px;margin:0;border:0}.tabs button{padding:4px 0;font-size:9px}.shape-grid{grid-template-columns:repeat(6,1fr);gap:6px;padding-top:27px}.shape-card{height:76px}.shape-card small{display:none}.shape-preview{transform:scale(.8)}.shape-card>span:nth-child(2){font-size:9px;margin-top:5px}.shape-card i{display:none}.canvas-panel{grid-column:1;min-height:560px}.right-panel{grid-column:2;padding:16px 10px}.toolbar{gap:1px;padding:3px;top:12px}.toolbar button{width:28px;height:39px}.toolbar button>span{font-size:19px}.toolbar button#undo,.toolbar button#redo{width:20px}.toolbar small{font-size:7px}.tool-divider{margin:7px 0}.canvas-top{right:10px;top:66px}.canvas-top button{font-size:17px;width:27px;height:27px}.canvas-label{left:13px;bottom:90px}.canvas-bottom>span:first-child{max-width:105px}.canvas-bottom #mesh-count{display:none}.axis-widget{right:13px;bottom:70px;transform:scale(.85)}.selected-name{padding:19px 0 15px}.property-section{padding:16px 0}.tip-card{padding:10px}.tip-card p{font-size:8px}.footer{height:35px}.scene-tip{display:none}#object-list{display:flex;overflow:auto;padding-top:30px;gap:5px}.object-row{min-width:105px;margin:0;padding:10px 7px}.actions-section button{padding:8px 3px}.actions-section kbd{font-size:7px}}.generate-launch{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:15px 11px;border:1px solid #d5dfca;background:linear-gradient(120deg,#e8efdf,#f5f4e8);border-radius:8px;margin:0 0 23px}.generate-launch>span{font-size:28px;color:#6b8858}.generate-launch b{font-size:11px;font-weight:600;letter-spacing:.3px}.generate-launch small{display:block;font-size:8px;color:#8d9b7c;margin-top:5px}.generate-launch i{font-style:normal;margin-left:auto;color:#6f8a59}.generate-launch:hover{border-color:#8ba576;background:#e8eedf}.tabs{gap:17px}.tabs button{white-space:nowrap}.shape-symbol{font-size:35px;line-height:34px;color:#8da274;text-shadow:2px 3px 0 #d2dcca}.browse-models{display:block;text-align:left;font-size:11px;line-height:1.8;background:#edf0e4;border-radius:6px;padding:13px;width:100%;margin:20px 0}.browse-models span{display:block;font-size:9px;color:#8c9a7b;margin-top:5px}.model-search{display:flex;align-items:center;gap:6px;border:1px solid #e2e6d7;background:#f3f4ec;border-radius:5px;padding:9px}.model-search>span{font-size:17px;color:#91a07e}.model-search input{width:100%;min-width:0;border:0;background:none;font-size:10px;outline:0;color:#5f6e52}.model-search input::placeholder{color:#9da78f}.model-filters{display:flex;gap:2px;justify-content:space-between;margin:13px 0}.model-filters button{font-size:9px;color:#8c997c;padding:5px 6px;border-radius:4px}.model-filters button.active{background:#e4ebd8;color:#5b7647}#preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.preset-card{padding:0 0 12px;border:1px solid #e3e7da;border-radius:6px;background:#f3f4eb;text-align:left;overflow:hidden;transition:.15s;min-width:0}.preset-card:hover{border-color:#9eb28b;transform:translateY(-2px)}.preset-card img{display:block;width:100%;aspect-ratio:180/128;object-fit:contain;background:radial-gradient(ellipse at 50% 70%,#e2e9d5,transparent 70%)}.preset-card b,.preset-card small{display:block;padding:0 8px}.preset-card b{font-size:10px;font-weight:500}.preset-card small{font-size:8px;color:#98a189;margin-top:5px}.library-explainer{font-size:9px;line-height:1.8;margin:15px 0}#canvas-empty{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);text-align:center;width:90%;pointer-events:none;color:#5a704d}#canvas-empty button{pointer-events:auto}#canvas-empty .empty-spark{display:block;color:#96ae80;font-size:58px;line-height:1.3}#canvas-empty>small{display:block;font-size:8px;letter-spacing:3px;color:#9ba98b;margin:13px 0}#canvas-empty h1{font-size:25px;font-weight:400;letter-spacing:3px;margin:15px 0}#canvas-empty p{font-size:11px;color:#8c9b7c;line-height:1.9;margin-bottom:24px}#canvas-empty>div{display:flex;gap:10px;justify-content:center}#canvas-empty>div button{font-size:11px;padding:11px 15px}#empty-restore{display:block;margin:18px auto 0;color:#7d9269;font-size:10px;text-decoration:underline;text-underline-offset:4px}.generator-dialog{width:860px;padding:30px;max-height:calc(100dvh - 30px);overflow:auto}.generator-lead{margin-bottom:20px}.generator-tabs{display:flex;gap:8px;border-bottom:1px solid #e0e5d5;margin-bottom:23px}.generator-tabs button{font-size:12px;padding:11px 18px;border-bottom:2px solid transparent;color:#8f9c80}.generator-tabs button.active{border-color:#587847;color:#486039;background:#eff2e7;border-radius:5px 5px 0 0}.generator-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px}.generator-inputs{min-width:0}.generator-label{display:block;font-size:11px;color:#5f7252;margin:0 0 10px}.generator-inputs textarea{resize:vertical;width:100%;min-height:120px;max-height:200px;padding:13px;border:1px solid #dce3d1;border-radius:6px;background:#f5f6ee;color:#55684a;line-height:1.8;font:inherit;font-size:12px}.generator-inputs textarea::placeholder{color:#a3af98}.generator-note{font-size:10px;line-height:1.9;color:#919e83}.file-upload{display:flex;cursor:pointer;color:#718660;border:1px dashed #bfcdb0;border-radius:6px;padding:12px;font-size:11px;align-items:center}.file-upload small{font-size:8px;color:#a2af93;margin-left:auto}.text-upload{margin:10px 0}.prompt-examples{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.prompt-examples button{font-size:9px;border:1px solid #e0e6d5;background:#eff2e7;border-radius:4px;padding:6px 8px;color:#7c906b}.generator-preview-wrap{position:relative;min-height:335px;border-radius:9px;background:#eef0e6;overflow:hidden;border:1px solid #e2e7d8}#generator-preview{position:absolute;top:0;right:0;bottom:0;left:0}#generator-preview canvas{display:block;touch-action:none}#generator-placeholder{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;width:90%}#generator-placeholder>span{font-size:52px;color:#b1c09f}#generator-placeholder p{font-size:11px;line-height:1.9;color:#99a68c}.preview-caption{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#9eab91;font-size:8px;pointer-events:none}.generator-bottom{margin-top:24px;padding-top:20px;border-top:1px solid #e0e6d6;display:flex;align-items:center;justify-content:space-between;gap:15px}.generator-bottom>span{font-size:10px;color:#8f9e80}.generator-bottom button{white-space:nowrap;font-size:11px}#generate-preview{width:100%;font-size:11px;margin:8px 0}.generator-bottom .button-primary:disabled{opacity:.35}.image-upload{flex-direction:column;justify-content:center;gap:9px;min-height:115px;background:#f0f3e8}.image-upload>span{font-size:27px;color:#91a77b}.image-upload b{font-size:11px;font-weight:500}.image-upload small{margin:0;font-size:9px}.drag-over{background:#dfead2;border-color:#6c8c54}#image-preview{max-width:100%;height:90px;object-fit:contain;margin:10px auto;display:block;border-radius:4px}#image-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.generator-row{display:flex;gap:12px;margin:15px 0}.generator-row>label{flex:1;font-size:10px;color:#7f9070}.generator-row select,.generator-row input{margin-top:7px;width:100%;padding:8px;border:1px solid #dce4d0;border-radius:4px;background:#f8f9f2;font-size:11px;color:#6b815b}.generator-check{display:flex;align-items:center;gap:7px;font-size:10px;color:#879778;margin:10px 0}.generator-check input{accent-color:#6d8a57}#relief-text{width:100%;border:1px solid #dce3d1;background:#f5f6ee;border-radius:6px;padding:12px;margin-bottom:23px;color:#5e744e}#letter-color{border:0;background:none;width:60px;height:40px;padding:0;margin-bottom:12px}#generator-error{background:#f8e9e0;color:#a36b50;padding:10px 12px;border-radius:4px;font-size:10px;line-height:1.8}#generator-error:empty{display:none}@media(max-width:1150px){.tabs{gap:12px}.generate-launch{padding:11px 8px;gap:6px}.generate-launch b{font-size:10px}.generate-launch small{font-size:7px}.generate-launch>span{font-size:23px}.preset-card b{font-size:9px}}@media(max-width:850px){.generate-launch small{display:none}.generate-launch>span{font-size:19px}.generate-launch{gap:4px;padding:10px 6px}.generate-launch b{font-size:9px}.tabs{gap:8px}.tabs button{font-size:9px}.tabs span{font-size:7px;padding:1px 3px}.model-filters{flex-wrap:wrap;justify-content:flex-start;gap:2px}#preset-grid{gap:5px}.preset-card small{font-size:7px}.preset-card b{font-size:9px}.preset-card b,.preset-card small{padding-left:5px;padding-right:5px}#canvas-empty h1{font-size:20px}#canvas-empty>div{flex-direction:column;align-items:center}#canvas-empty p{font-size:10px}.generator-layout{gap:16px}.generator-dialog{padding:22px}}@media(max-width:600px){.left-panel{padding-top:12px}.generate-launch{width:160px;margin:0 0 8px;min-height:33px}.generate-launch b{font-size:10px}.tabs{top:21px;right:12px;gap:12px}.tabs button{padding:4px 0}.shape-grid{padding-top:0;max-height:170px;overflow:auto}.shape-card{height:72px}.shape-symbol{font-size:29px}.browse-models{margin:8px 0 0;padding:8px 10px;font-size:9px;display:flex;justify-content:space-between}.browse-models span{margin:0;font-size:8px}.model-search{margin-top:10px}.model-filters{margin:6px 0}#preset-grid{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}.preset-card{flex:0 0 92px}.preset-card img{height:66px}.preset-card b{font-size:9px}.library-explainer{margin:6px 0;font-size:8px}#object-list{padding-top:10px}#canvas-empty{top:45%;width:96%}#canvas-empty h1{font-size:17px;letter-spacing:1px}#canvas-empty>small{font-size:6px;letter-spacing:1px}#canvas-empty p{font-size:9px;padding:0 7px}#canvas-empty>div button{font-size:9px;padding:9px 10px}#canvas-empty .empty-spark{font-size:42px}#empty-restore{font-size:8px}.generator-dialog{padding:20px 16px}.generator-dialog h2{font-size:22px}.generator-lead{font-size:10px}.generator-layout{grid-template-columns:1fr;gap:15px}.generator-preview-wrap{min-height:230px;order:-1}.generator-tabs{gap:3px;margin-bottom:16px}.generator-tabs button{padding:10px 13px;font-size:11px}.generator-inputs textarea{min-height:85px}.generator-bottom{position:sticky;bottom:-20px;background:#fcfbf7;padding:14px 0 8px;margin-top:15px}.generator-bottom>span{font-size:9px}.generator-note{font-size:9px}.header-actions #restore-project{display:inline-block;font-size:8px;padding:6px 4px}.project-title input{width:100px}.header-actions{gap:2px}.brand{min-width:138px}.brand small{letter-spacing:1.5px}}@media(max-width:600px){.topbar{height:auto;min-height:106px;padding-top:9px;padding-bottom:9px;row-gap:8px}.header-actions{flex:0 0 100%;justify-content:flex-end}.header-actions #save-project,.header-actions #open-project{display:inline-flex}.header-actions button{padding:8px 11px}}
