:root{font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;color:#26342b;background:#f6f7f4;font-synthesis:none;font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.5;cursor:wait}input,textarea,select{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #648c4c;outline-offset:3px}button:hover{filter:brightness(.95)}.rail{position:fixed;inset:0 auto 0 0;width:92px;background:#fff;border-right:1px solid #e4e8df;display:flex;align-items:center;flex-direction:column;z-index:2}.brand{font-size:34px;font-weight:850;letter-spacing:-5px;text-decoration:none;color:#213d2a;margin:28px 0 49px}.brand span{color:#7c9c60}.brand i{font-size:10px;letter-spacing:0;vertical-align:top}.nav{width:76px;height:74px;margin-bottom:15px;font-size:25px;border-radius:12px;color:#90978d}.nav small{font-size:10px;display:block;margin-top:7px}.nav.active{background:#eaf0e4;color:#365639}.rail-bottom{margin-top:auto;margin-bottom:28px;text-align:center}.avatar{display:block;background:#2c4734;color:#fff;width:31px;height:31px;line-height:31px;border-radius:50%;margin:0 auto 12px}.rail-bottom small{font-size:9px;color:#999}main{margin-left:92px;padding:0 30px}header{height:111px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;color:#91988e}.breadcrumb b{margin:0 12px;color:#bdc3b7}h1{font-size:22px;font-weight:550;margin:13px 0 0;letter-spacing:1px}h1 span{font-size:9px;color:#8e9788;margin-left:18px;letter-spacing:2px}.header-actions{display:flex;align-items:center;gap:7px;font-size:10px;color:#788471}.status-dot,.live-dot{display:inline-block;width:6px;height:6px;background:#789860;border-radius:50%}.quiet{border:1px solid #dce2d6;border-radius:7px;margin-left:18px;padding:10px 14px;background:#fff;font-size:11px}.steps{display:flex;align-items:center;gap:22px;height:66px;border-top:1px solid #e2e6dc;border-bottom:1px solid #e2e6dc;margin-bottom:26px;font-size:11px;color:#92998b}.steps span{display:flex;align-items:center;gap:10px;white-space:nowrap}.steps b{font-size:10px;font-weight:400;border:1px solid #d5ddcc;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}.steps .current{color:#355037}.steps .current b{background:#dfe9d4;border-color:#dfe9d4}.steps i{width:42px;height:1px;background:#dce2d5}.steps em{font-style:normal;font-size:10px;margin-left:auto}.workspace{display:grid;grid-template-columns:270px minmax(420px,1fr) 263px;gap:20px;align-items:start}.panel{background:#fff;border:1px solid #e2e6dd;border-radius:12px;padding:22px 20px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}h2{font-size:14px;font-weight:600;margin:0}.section-title>span{font-size:8px;letter-spacing:1.5px;color:#9ca592}.field-label{display:flex;gap:10px;align-items:center;color:#94a183;font-size:10px;margin:25px 0 13px}.field-label b{color:#46503e;font-size:12px;font-weight:500}.field-label button{margin-left:auto;font-size:19px}.template-list{display:flex;gap:9px;overflow:auto;padding-bottom:3px}.template{position:relative;border:1px solid #e2e7dc;border-radius:8px;min-width:104px;padding:15px 7px 12px;display:flex;align-items:center;flex-direction:column;background:#fbfcf9}.template.selected{background:#eef3e8;border-color:#8ca579}.template b{font-size:11px;margin-top:13px}.template small{font-size:9px;color:#98a08f;margin-top:5px}.template i{position:absolute;top:7px;right:7px;font-size:9px;color:#67834c}.cup-icon{display:block;width:29px;height:42px;background:linear-gradient(90deg,#496145,#9bad8d 50%,#566c4f);border-radius:7px 7px 8px 8px;position:relative;margin-top:10px;box-shadow:2px 4px 6px #bec7b5}.cup-icon:before{content:"";position:absolute;top:-9px;left:4px;width:21px;height:12px;background:#44543d;border-radius:3px}.cup-icon:not(.tall):after{content:"";position:absolute;right:-7px;top:11px;width:8px;height:19px;border:4px solid #586c4d;border-left:0;border-radius:0 5px 5px 0}.cup-icon.tall{width:22px;height:49px;margin-top:3px;border-radius:8px}.cup-icon.tall:before{width:20px;left:1px}.meta{font-size:9px;color:#8f9983;margin:10px 0 0}.promptbox{border:1px solid #dfe5d6;border-radius:8px;padding:12px;background:#fafbf8}.promptbox textarea{width:100%;height:112px;resize:vertical;min-height:80px;border:0;background:none;font-size:12px;line-height:1.9;color:#45503d}.promptbox span{font-size:9px;color:#a0a994}.chips{display:flex;gap:5px;margin-top:10px;flex-wrap:wrap}.chips button{font-size:9px;background:#f1f4ed;border-radius:4px;padding:6px 7px;color:#738065}input:not([type=checkbox]):not([type=color]),select{width:100%;border:1px solid #e0e5d9;border-radius:6px;background:#fbfcf9;padding:10px;color:#425039}.palette{display:flex;align-items:center;gap:10px;margin:15px 0 23px}.palette button{width:24px;height:24px;border-radius:50%;background:var(--swatch)}.palette button.chosen{outline:1px solid #67864e;outline-offset:3px}.palette input{width:24px;height:24px;border:0;padding:0;background:transparent}.mode-row{display:flex;align-items:center;justify-content:space-between;margin:12px 0;font-size:10px;color:#7a866d}.mode-row select{width:auto;font-size:10px;padding:6px}.primary{width:100%;background:#d6eab7;border:1px solid #bed598;padding:14px 12px;border-radius:7px;font-size:12px;font-weight:600;text-align:left}.primary span{float:right}.footnote{font-size:9px;color:#97a08d;text-align:center;line-height:1.7}.preview-panel{min-width:0}.preview-top{height:48px;display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e1e6d9;border-bottom:0;border-radius:12px 12px 0 0;padding:0 15px}.tabs{display:flex;gap:5px}.tabs button{padding:7px 14px;font-size:11px;color:#909989;border-radius:5px}.tabs .selected{background:#edf2e6;color:#48613a}.icon-btn{border:1px solid #dfe5d8;background:#ffffff90;border-radius:6px;width:29px;height:29px;font-size:18px}.stage{height:440px;background:radial-gradient(ellipse at 50% 40%,#f8faf4 0,#e9eee2 68%,#e3e9da);position:relative;overflow:hidden;border-left:1px solid #e1e6d9;border-right:1px solid #e1e6d9}.stage-caption{position:absolute;top:20px;left:20px;z-index:1;font-size:10px;color:#5d7050}.stage-caption .live-dot{margin-right:5px}.stage-caption small{display:block;font-size:8px;margin:7px 0;color:#97a18d}#three{width:100%;height:100%;position:relative;z-index:1}#three canvas{display:block}.stage-watermark{position:absolute;left:27px;bottom:68px;font-size:46px;font-weight:800;letter-spacing:-2px;line-height:.94;color:#8c9d751c;pointer-events:none}.stage-bottom{position:absolute;left:17px;right:17px;bottom:14px;display:flex;align-items:center;justify-content:space-between;z-index:2}.stage-bottom>span{font-size:9px;color:#92a084}.angles{display:flex;background:#ffffffa6;border:1px solid #dfe6d5;border-radius:7px;padding:3px}.angles button{font-size:9px;padding:6px 10px;border-radius:4px;color:#839074}.angles .selected{background:#e3ebd8;color:#4b6139}#flat,#drawing{position:absolute;width:90%;height:72%;object-fit:contain;left:5%;top:17%;z-index:2}.preview-info{background:#fff;border:1px solid #e1e6d9;border-top:0;border-radius:0 0 12px 12px;padding:20px;display:flex;align-items:center;justify-content:space-between}.preview-info h2{font-size:15px}.preview-info h2 span{font-size:9px;font-weight:400;color:#91a07e;margin-left:9px}.preview-info p{font-size:9px;color:#8e9983;margin:8px 0 0;max-width:380px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pill{font-size:9px;padding:7px 9px;background:#f3f6ee;border-radius:20px;color:#80906f}.variants-head{display:flex;justify-content:space-between;align-items:center;margin:23px 0 14px}.variants-head h2{font-size:13px}.variants-head small{font-size:9px;color:#94a085;font-weight:400;margin-left:10px}.variants-head>span{font-size:8px;letter-spacing:1px;color:#a1aa97}.variants{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.variant{background:#fff;border:1px solid #e0e6d8;border-radius:7px;padding:5px;min-width:0}.variant.selected{border-color:#839e6c;background:#eff5e7}.variant img{width:100%;height:57px;object-fit:cover;border-radius:4px}.variant span{display:block;font-size:8px;white-space:nowrap;padding:6px 0 3px}.empty{grid-column:1/-1;border:1px dashed #d9e2ce;border-radius:9px;text-align:center;padding:18px;color:#99a68b;font-size:24px}.empty p{font-size:11px}.project-tag{font-size:8px;letter-spacing:1px;color:#8f9b82;display:flex;justify-content:space-between}.project-tag span{font-size:8px;color:#7e975f;letter-spacing:0}h3{font-size:18px;font-weight:550;margin:18px 0 8px}.subtext{font-size:10px;color:#8f9984;line-height:1.8;margin:8px 0 16px}.detail-grid{display:grid;grid-template-columns:1fr auto;gap:15px;font-size:10px;margin-top:23px}.detail-grid span{color:#969f8d}.detail-grid b{font-size:10px;font-weight:500}.divider{height:1px;background:#edf0e7;margin:22px 0}h4{font-size:12px;font-weight:550;margin:0 0 13px}.full{width:100%;padding:11px;border-radius:6px;font-size:11px}.outline{border:1px solid #dce4d1;background:#fafcf7}.dark{background:#314b34;color:#f5f9ef}.check{display:flex;align-items:center;gap:6px;font-size:9px;color:#8a967d;margin:13px 0}.check input{accent-color:#668d4c}.small-tag{float:right;font-size:8px;color:#8e9e7c;background:#f1f5ea;border-radius:3px;padding:3px 5px}.exports button{display:flex;align-items:center;width:100%;border:1px solid #e3e8dc;border-radius:5px;margin-bottom:7px;padding:10px;font-size:11px}.exports b{font-size:10px;width:35px;text-align:left}.exports small{font-size:9px;flex:1;text-align:left;color:#9aa58e}.warning{font-size:9px;color:#a4a18c;line-height:1.8;margin-bottom:0}footer{display:flex;justify-content:space-between;color:#a2ab98;font-size:9px;padding:22px 0}footer b{margin:0 9px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%) translateY(80px);padding:14px 24px;background:#263c2d;color:#fff;border-radius:9px;z-index:10;transition:transform .2s;box-shadow:0 5px 25px #0002}#toast.show{transform:translate(-50%) translateY(0)}dialog{border:1px solid #dae3d0;border-radius:16px;max-width:850px;width:80vw;padding:32px;color:#35462e;box-shadow:0 20px 100px #15271030}dialog::backdrop{background:#1c2b2266;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}dialog h2{font-size:21px;margin-bottom:20px}dialog p{font-size:12px;line-height:1.8;color:#8b977f}.close{position:absolute;right:15px;top:12px;font-size:25px}.reference{width:100%;max-height:65vh;object-fit:contain}.library{border:1px solid #e0e7d8;border-radius:8px;padding:15px;margin:10px 0}.library h3{margin:0;font-size:15px}form>label{display:block;margin:18px 0}form input,form select{margin-top:7px}.form-row{display:flex;gap:20px}.form-row label{flex:1}.history{max-height:60vh;overflow:auto}.history button{display:block;width:100%;text-align:left;padding:15px;border-bottom:1px solid #e6ebdf}.history small{display:block;color:#98a18e;margin-top:7px}@media(min-width:1600px){main{padding:0 42px}.workspace{grid-template-columns:290px minmax(500px,1fr) 280px;gap:26px}.stage{height:490px}.panel{padding:25px}.variant img{height:70px}}@media(max-width:1180px){.workspace{grid-template-columns:240px minmax(360px,1fr)}.details{grid-column:1/-1;display:block}.steps em,h1 span{display:none}.stage-bottom>span{display:none}}@media(max-width:740px){.rail{width:62px}.brand{font-size:27px}.nav{width:54px}.nav small{font-size:8px}.rail-bottom small{display:none}main{margin-left:62px;padding:0 14px}header{height:95px}h1{font-size:16px}.header-actions{display:none}.steps{gap:8px;font-size:9px}.steps i{width:10px}.steps b{display:none}.workspace{display:flex;flex-direction:column}.panel,.preview-panel{width:100%}.stage{height:400px}.variants-head>span{display:none}.variant span{font-size:7px}.variants{grid-template-columns:repeat(5,1fr)}footer{font-size:8px}.preview-info{padding:14px}.pill{display:none}}.readiness{margin-top:18px;padding:9px 10px;border-radius:6px;font-size:9px;text-align:center}.warning-state{background:#fff3dc;color:#96681f;border:1px solid #efd8ac}.ready-state{background:#e8f4df;color:#477038;border:1px solid #c8deb8}.config-note{background:#f5f7f1;border-radius:7px;padding:10px}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-actions .primary{text-align:center}@media(max-width:740px){header{flex-wrap:wrap;gap:12px}.header-actions{display:flex;flex-wrap:wrap;gap:8px;font-size:11px}}.text-edge-card{margin:18px 0;border:1px solid #dce3d7;border-radius:12px;background:#f7f9f4;padding:14px}.edge-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.edge-heading b{font-size:13px;color:#324a36}.edge-heading small{display:block;font-size:11px;color:#84917e;margin-top:4px}.edge-heading input{width:18px;height:18px;accent-color:#48653f}#frameOptions{margin-top:16px}#frameOptions[hidden]{display:none}.edge-color{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:16px}.edge-color input{width:38px;height:28px;border:1px solid #dce3d7;border-radius:6px;padding:2px;cursor:pointer}.edge-control{display:block;margin-top:12px;font-size:12px;color:#63715e}.edge-control>div{display:flex;align-items:center;gap:8px;margin-top:7px}.edge-control input[type=range]{flex:1;min-width:0;accent-color:#607b4e;padding:0}.edge-control input[type=number]{width:58px;padding:6px;border-radius:6px;background:#fff;text-align:center}.edge-control small{font-size:10px;color:#8a9585}.webgl-fallback{position:absolute;top:12%;right:8%;bottom:12%;left:8%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;color:#34503d;z-index:2}.webgl-fallback img{width:100%;height:50%;object-fit:contain}.webgl-fallback p{max-width:440px;font-size:14px;line-height:1.7;margin:0}.webgl-fallback button{background:#fff;padding:10px 20px}
