:root{--paper:#f6f4ef;--ink:#282c26;--muted:#85877e;--line:#e6e6de;--green:#46593e;--soft:#e9ede4}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a,label,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}header{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;max-width:1440px;margin:auto;padding:0 5%}.brand{font-size:18px;font-weight:600;letter-spacing:1px}.brand>span{color:#9caa8e;padding:0 10px}.brand small{font-weight:400;font-size:10px;letter-spacing:2px;margin-left:18px;color:var(--muted)}.connection{font-size:12px;color:var(--green);display:flex;align-items:center;gap:8px}.connection:before{content:"";width:7px;height:7px;background:#839c6f;border-radius:50%}main{max-width:1280px;margin:auto;padding:0 44px}.intro{padding:54px 0 36px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:600}h1{font-size:40px;font-weight:500;letter-spacing:1px;margin:13px 0 12px}h1 em{font-family:Georgia,"Songti SC",serif;font-style:normal;color:var(--green)}.intro p{color:var(--muted);font-size:14px}.workspace{display:grid;grid-template-columns:420px 1fr;gap:28px;align-items:start}.editor{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.step{margin-bottom:26px}.step-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}h2{font-size:16px;font-weight:600;margin:0}.step-head h2>span{font-size:11px;color:#97a18f;margin-right:10px;font-weight:500}.step-head small{font-size:10px;color:var(--muted)}h2 i{font-style:normal;font-size:10px;font-weight:400;color:var(--muted)}.dropzone{border:1px dashed #cfd5c9;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fbfcf9;cursor:pointer;transition:.2s;min-height:150px;position:relative}.dropzone:hover,.dropzone.dragover{background:var(--soft);border-color:#75876b}.dropzone input{position:absolute;width:1px;height:1px;opacity:0}.dropzone:focus-within{outline:2px solid var(--green);outline-offset:2px}.upload-symbol{width:34px;height:34px;line-height:34px;text-align:center;font-size:25px;color:#87977a;background:#eef1e9;border-radius:50%;margin-bottom:10px}.dropzone strong,.dropzone b{font-weight:500;font-size:13px}.dropzone>span{color:#999d91;font-size:11px;margin-top:8px}.compact{min-height:78px}.previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.previews:empty{display:none}.preview{position:relative;border-radius:8px;background:#f7f8f5;overflow:hidden;border:1px solid var(--line)}.preview img{width:100%;height:100px;object-fit:contain;display:block}.preview .remove{position:absolute;right:4px;top:4px;border:0;border-radius:50%;width:22px;height:22px;background:#fffE;box-shadow:0 1px 8px #0001;color:#555}.preview p{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:5px 6px;color:var(--muted)}.preview select{width:100%;border:0;border-top:1px solid var(--line);padding:5px;font-size:10px;background:white;color:#555}.single{grid-template-columns:1fr}.single .preview{display:flex;align-items:center;gap:10px;padding:6px}.single .preview img{width:60px;height:76px;border-radius:4px}.single .preview p{max-width:245px}.hint{font-size:10px;line-height:1.6;color:var(--muted);margin:8px 0}.options{border-top:1px solid var(--line);padding-top:20px}.field-label{display:block;font-size:12px;margin-bottom:10px;font-weight:500}.field-label small{color:var(--muted);font-weight:400}.framing{display:flex;gap:8px}.framing label{display:flex;align-items:flex-start;flex:1;padding:10px 8px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.framing label:has(input:checked){border-color:#9caa8e;background:#f3f6ef}.framing input{accent-color:var(--green);margin:2px 6px 0 0}.framing b{font-size:11px;font-weight:500}.framing small{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:3px}.notice{font-size:10px;color:#938564;margin:8px 0 18px;line-height:1.6}textarea{resize:vertical;width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:12px;line-height:1.7;color:var(--ink);outline:none;min-height:80px}textarea:focus{border-color:#9caa8e}textarea::placeholder{color:#b4b7ad}.primary{background:var(--green);color:white;width:100%;border:0;border-radius:9px;height:48px;margin-top:20px;font-size:14px;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.primary:hover{background:#374730}.primary span{font-size:21px}.privacy{font-size:9px;line-height:1.8;color:#a2a69b;text-align:center;margin:12px 0 0}#error{color:#994b39;background:#faf0ed;border-radius:8px;padding:12px;font-size:12px;margin-top:12px}.viewer{border:1px solid var(--line);border-radius:18px;background:#eeeee7;overflow:hidden;position:sticky;top:20px;min-width:0}.viewer-head{padding:25px 28px;display:flex;align-items:center;justify-content:space-between}.viewer-head h2{font-size:21px;font-weight:500;margin-top:8px}.tag{font-size:9px;letter-spacing:.8px;border:1px solid #d9ddcf;border-radius:20px;padding:7px 10px;color:#7e8974}.empty{min-height:535px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at center,#f9f9f3 0%,#eeeee7 70%)}.hanger{font-family:Georgia,serif;font-size:100px;color:#aeb9a2;line-height:1;width:150px;text-align:center;margin-bottom:28px}.empty h3{font-weight:400;font-size:17px;margin:0 0 16px}.empty p{text-align:center;font-size:12px;line-height:2;color:#93998b}.empty-notes{display:flex;gap:18px;margin-top:40px;font-size:10px;color:#9ba28f}.empty-notes span:before{content:"· ";color:#7e8b6f}.model-note{color:#929989;text-align:center;font-size:9px;padding:8px 18px 15px}.result-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 20px 15px;gap:5px}.tabs{display:flex;gap:3px;background:#e2e5da;padding:3px;border-radius:7px}.tabs button{border:0;background:none;font-size:11px;padding:7px 10px;border-radius:5px;color:#7a8370}.tabs button.selected{background:#fff;color:var(--green);box-shadow:0 1px 3px #0001}.download{font-size:11px;color:var(--green)}.image-stage{margin:0 20px;display:flex;gap:10px;justify-content:center;min-height:100px}.image-stage figure{margin:0;flex:1;min-width:0;position:relative;text-align:center}.image-stage img{max-height:680px;max-width:100%;object-fit:contain;border-radius:9px;display:block;margin:auto}.image-stage figcaption{font-size:10px;color:#798370;margin:8px 0}.progress{margin:18px 20px;padding:16px;border-radius:10px;background:#f9faf5;display:flex;gap:12px;align-items:center}.progress b{font-size:12px;font-weight:500}.progress p{font-size:11px;line-height:1.6;color:#929a85;max-width:390px;word-break:break-word;margin:5px 0 0}.spinner{width:18px;height:18px;flex:none;border:2px solid #dce2d3;border-top-color:#6d815b;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.text-button{border:0;background:none;color:#9a7661;font-size:10px;margin-left:auto;white-space:nowrap}.result-notes{font-size:11px;line-height:1.8;padding:10px 22px;color:#7f886f}.result-notes p{margin:4px 0}details{margin:10px 22px;color:#7e8873;font-size:10px}summary{cursor:pointer}pre{white-space:pre-wrap;max-height:250px;overflow:auto;font-size:10px;line-height:1.6}.history{margin:44px 0 50px}.history-heading{display:flex;align-items:center;gap:18px;margin-bottom:20px}.history-heading span{font-size:11px;color:var(--muted)}.history-list{display:flex;gap:16px;overflow:auto;padding-bottom:12px}.history-card{flex:0 0 130px;border:1px solid var(--line);background:white;border-radius:10px;padding:7px;text-align:left}.history-card.selected{border-color:#81936f}.history-card img{width:114px;height:150px;object-fit:cover;border-radius:5px}.history-card b,.history-card small{display:block;font-size:10px;margin:6px 3px;font-weight:400}.history-card small{color:var(--muted);font-size:9px}footer{border-top:1px solid var(--line);padding:26px 5%;display:flex;justify-content:space-between;letter-spacing:2px;font-size:10px;color:#9ca393}footer span{letter-spacing:0}[hidden]{display:none!important}@media(min-width:1400px){main{max-width:1360px}.workspace{grid-template-columns:440px 1fr}}@media(max-width:900px){main{padding:0 20px}.workspace{grid-template-columns:350px 1fr;gap:16px}.editor{padding:18px}.brand small{display:none}.tag{display:none}.empty{min-height:500px}.viewer-head{padding:20px}.empty-notes{gap:8px}.framing label{padding:8px 4px}.step-head small{font-size:9px}}@media(max-width:700px){header{height:68px;padding:0 20px}.brand{font-size:15px}.connection{font-size:10px}.intro{padding:32px 0 22px}h1{font-size:31px}.intro p{font-size:12px}.workspace{display:flex;flex-direction:column}.editor,.viewer{width:100%}.viewer{position:static}.empty{min-height:330px}.image-stage img{max-height:600px}.history{margin-top:30px}.privacy{font-size:9px}.step-head small{font-size:10px}.history-list{gap:10px}}

.failure{margin:0 20px 20px;padding:20px;border:1px solid #e4cfb9;border-radius:10px;background:#fbf5ec;color:#665344}.failure h3{font-size:16px;margin:0 0 12px;font-weight:600}.failure p{font-size:13px;line-height:1.85;margin:8px 0}.failure .failure-next{color:#827362;font-size:12px}.failure details{margin:14px 0 0;border-top:1px solid #eadfd1;padding-top:12px;color:#867c70}.failure summary{font-size:11px}.failure pre{overflow-wrap:anywhere;max-height:180px}

.timing-card{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:13px;line-height:1.6;white-space:normal}.timing-card h4{margin:0 0 10px;font-size:14px}.timing-card dl{display:grid;grid-template-columns:1fr auto;gap:6px 18px;margin:0}.timing-card dd{margin:0;font-variant-numeric:tabular-nums;color:var(--green)}.timing-card .hint{font-size:11px;margin:12px 0 0}
