:root{--ink:#18372c;--muted:#64746e;--green:#087b4d;--green-hover:#05643e;--line:#dce5df;--paper:#fff;--bg:#f5f8f6;--radius:14px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,label{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,.drop:focus-within{outline:3px solid #4d9f78;outline-offset:4px}button:disabled{opacity:.48;cursor:not-allowed}button:disabled:hover{background:var(--green)}[hidden]{display:none!important}h1,h2,p{margin:0}h1{font-size:34px;line-height:1.4;font-weight:650;letter-spacing:-.025em;text-wrap:balance}h2{font-size:17px;font-weight:600}.topbar{height:86px;border-bottom:1px solid var(--line);padding:0 max(30px,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;background:var(--paper);gap:20px}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:650}.brand:hover{text-decoration:none}.brand-sub{display:block;color:var(--muted);font-size:11px;letter-spacing:.12em;font-weight:400;margin-top:3px}.mode{font-size:12px;color:var(--muted);white-space:nowrap}.mode:before{content:"";display:inline-block;height:6px;width:6px;border-radius:50%;background:#91a69b;margin-right:7px}.workspace{max-width:1220px;padding:43px 30px 0;margin:0 auto}.intro p{color:var(--muted);font-size:15px;margin-top:10px;line-height:1.8}.notice{margin:26px 0 28px;padding:13px 17px;font-size:13px;line-height:1.8;border:1px solid var(--line);border-radius:8px;background:#edf4ef;color:#486353}.notice.error{color:#98362a;background:#fff2ee;border-color:#e9c9c1}.workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.editor{padding:28px 32px 30px}.drop{position:relative;margin-top:20px;display:flex;min-height:181px;border:1px dashed #a9beb1;border-radius:10px;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#fafcfb;cursor:pointer;transition:background .15s}.drop:hover,.drop.dragover{background:#edf6f0;border-color:var(--green)}.drop svg{color:#6f9380}.drop strong{font-size:14px;font-weight:500;text-align:center;padding:0 15px}.drop span{font-size:12px;color:var(--muted)}.drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.sample-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin:12px 0 26px}.text-button{color:var(--green);background:none;border:0;padding:7px 0;font-size:13px}.text-button:hover{text-decoration:underline}.field-label{display:block;font-size:13px;margin-bottom:9px}.field-label span{color:var(--muted);font-size:12px;margin-left:6px}input:not([type=file]){width:100%;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:7px;line-height:1.5;background:white;color:var(--ink);font-size:14px}input::placeholder{color:#64746e}.primary{display:inline-flex;justify-content:center;align-items:center;gap:15px;border:0;border-radius:8px;background:var(--green);color:white;padding:14px 24px;font-size:15px;font-weight:550;min-height:49px}.primary:hover{background:var(--green-hover);text-decoration:none}.generate{width:100%;margin-top:22px;justify-content:space-between}.generate span{font-size:22px;font-weight:400}.feedback{color:var(--muted);font-size:12px;line-height:1.7;margin-top:12px;min-height:21px}.feedback.error{color:#aa3a2e}.preview-panel{background:#f0f4f1;border-left:1px solid var(--line);display:flex;flex-direction:column;min-width:0;padding:28px 28px 20px}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.preview-head span{font-size:11px;color:var(--muted)}.preview-stage{min-height:340px;height:100%;max-height:550px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:25px 0}.preview-stage>img{max-width:100%;max-height:480px;object-fit:contain;box-shadow:0 8px 24px #18372c13}.empty{text-align:center;color:#536b5d;padding:15px}.empty svg{color:#a3b5aa}.empty p{font-size:14px;color:#536b5d;margin:16px 0 10px}.empty span{font-size:12px;line-height:1.8;display:block}.preview-foot{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px;margin-top:auto;padding-top:16px;border-top:1px solid #d9e2dc}.preview-foot span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-foot span:last-child{white-space:nowrap}.result{margin-top:22px;border-top:1px solid var(--line);padding-top:22px}.result-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.result-top h2{font-size:15px}.result-top a{font-size:12px}.result label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.copy-row{display:flex;gap:8px}.copy-row input{font-size:12px}.secondary{border:1px solid var(--line);background:white;color:var(--ink);padding:11px 16px;border-radius:7px;font-size:13px;white-space:nowrap}.secondary:hover{background:#edf4ef}.result p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:10px}details{margin-top:15px;font-size:12px;color:var(--muted)}summary{cursor:pointer;padding:5px 0}details label{margin-top:12px}.history{margin-top:36px}.history-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}.history-heading span{font-size:12px;color:var(--muted)}#history-empty{padding:26px 0;color:var(--muted);font-size:13px}#history-list{padding:0;margin:0;list-style:none}.history-item{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.history-item img{width:46px;height:46px;object-fit:cover;border-radius:5px;background:#e4ece6}.history-description{flex:1;min-width:0}.history-description strong{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-description span{display:block;font-size:11px;color:var(--muted);margin-top:6px}.history-item a{font-size:12px;white-space:nowrap}.history-item button{font-size:12px}footer{font-size:11px;color:var(--muted);padding:28px 0 30px;line-height:1.8}.auth{max-width:520px;margin-bottom:25px}.auth label{display:block;font-size:13px;margin-bottom:8px}.auth .inline{display:flex;gap:8px}.auth p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.7}.viewer{max-width:860px;margin:0 auto;padding:16px;text-align:center}.viewer img{max-width:100%;height:auto}.viewer p{font-size:13px;color:var(--muted);margin-top:20px}.jump{max-width:440px;margin:15vh auto 0;text-align:center;padding:24px}.jump h1{font-size:26px}.jump p{font-size:14px;line-height:1.8;color:var(--muted);margin-top:20px}.jump .primary{margin-top:30px;width:100%}.jump .jump-note{font-size:12px}.text-link{display:inline-block;margin-top:20px;font-size:14px}@media(max-width:760px){.topbar{height:72px;padding:0 20px}.workspace{padding:28px 18px 0}h1{font-size:27px}.intro p{font-size:13px;max-width:26em}.notice{margin:20px 0;font-size:12px}.workbench{grid-template-columns:1fr}.editor{padding:22px}.preview-panel{border-left:0;border-top:1px solid var(--line);padding:22px}.preview-stage{min-height:250px;max-height:420px}.preview-stage>img{max-height:330px}.history-heading{align-items:flex-start}.history-heading span{font-size:10px;padding-top:3px}.history-item{gap:10px}.history-item .secondary{padding:9px}.history-item img{width:38px;height:38px}.field-label span{font-size:11px}.drop{min-height:170px}.sample-row{font-size:11px}.copy-row{flex-wrap:wrap}.copy-row input{flex:1;min-width:170px}.copy-row button{flex-grow:1}.mode{font-size:11px}.brand{font-size:16px}}
