:root{--ink:#243c36;--muted:#78847d;--paper:#f7f7f2;--line:#e3e7df;--accent:#315e4e}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}header{height:80px;border-bottom:1px solid var(--line);padding:0 4%;display:flex;justify-content:space-between;align-items:center;background:#fffdf8}a{color:inherit;text-decoration:none}header>div{display:flex;gap:24px;align-items:center}.brand{font-size:23px;font-weight:650;display:flex;align-items:center;gap:12px}.brandmark{font-size:32px;color:var(--accent)}small{font-size:11px;font-weight:400}.brand small{letter-spacing:2px;margin-left:12px}.badge{font-size:11px;border:1px solid #cdd7ca;padding:6px 10px;border-radius:20px}main{max-width:1540px;margin:auto;padding:44px 4% 20px}.intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:34px}.eyebrow{color:#66806c;font-size:12px;letter-spacing:2px}h1{font-size:32px;letter-spacing:1px;font-weight:550;margin:10px 0 13px}.intro p:not(.eyebrow){color:var(--muted)}.privacy{font-size:12px;line-height:2;color:#5d7666}.workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px}aside{display:flex;flex-direction:column;gap:18px}.panel,.stage{background:#fffefb;border:1px solid var(--line);border-radius:14px}.panel{padding:22px}h2{font-size:16px;margin:0 0 20px;font-weight:600}h2 b{font-size:11px;color:#829b88;margin-right:12px;font-weight:500}.upload{border:1px dashed #b4c5b4;background:#f5f7f0;border-radius:9px;min-height:155px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:9px;cursor:pointer}.upload:hover{background:#edf2e8}.upload .plus{font-size:28px;font-weight:300}.upload span:last-of-type{font-size:10px;color:var(--muted)}.upload input{display:none}.hint{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0}.textbutton{border:0;background:none;padding:5px 0;color:var(--accent);font-size:12px}.panel label:not(.upload),.editgrid label{display:block;font-size:12px;margin:17px 0}input[type=range]{width:100%;accent-color:var(--accent);margin-top:10px}output{float:right;color:var(--muted)}select{display:block;width:100%;margin-top:9px;border:1px solid var(--line);padding:10px;color:var(--ink);background:#fff;border-radius:6px}input[type=color]{float:right;width:38px;height:24px;border:0;padding:0;background:none}.swatches{display:flex;gap:9px}.swatches button{height:24px;width:24px;border-radius:50%;background:var(--swatch);padding:0;border:2px solid #fff;box-shadow:0 0 0 1px #ddd}button{font:inherit;font-size:12px;border-radius:6px;border:1px solid #ced8ce;background:#fffefb;color:var(--ink);padding:10px 16px;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.95)}.primary{background:var(--accent);border-color:var(--accent);color:white}.stage{padding:26px;min-width:0;align-self:start}.stagehead{display:flex;align-items:center;justify-content:space-between;gap:16px}.stagehead h2{margin-bottom:8px}.stagehead p{font-size:11px;color:var(--muted);margin:0}.empty{min-height:480px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f5f6f0;border:1px solid #e9ede3;border-radius:9px;text-align:center;margin-top:25px}.empty[hidden]{display:none}.emptytiles{display:grid;grid-template-columns:repeat(2,58px);gap:9px;transform:rotate(-7deg);margin:10px 0 22px}.emptytiles i{height:58px;background:#e9ede2;border:1px solid #dce2d3;border-radius:8px;font-style:normal;display:grid;place-items:center;font-size:27px;color:#94a283}.empty h3{font-size:18px;font-weight:500}.empty p{font-size:12px;color:var(--muted);line-height:2}.empty small{margin:22px;color:#929b8a}.stagefoot{display:flex;justify-content:space-between;align-items:center;margin-top:16px;color:var(--muted);font-size:11px}#canvasWrap{margin-top:22px;padding:18px;background:#eeefe9;border-radius:8px;text-align:center}#preview{max-width:100%;max-height:850px;object-fit:contain;display:block;margin:auto;box-shadow:0 8px 24px #12291e18}#status:not(:empty){margin-top:15px;padding:12px;background:#f4edda;border-radius:6px;font-size:12px;line-height:1.8}h3{font-size:14px}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:10px}.items button{padding:6px;min-width:0;text-align:left}.items img{width:100%;aspect-ratio:1;object-fit:contain;background:#eef0e9;border-radius:4px}.items span{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0}.items em{font-size:10px;font-style:normal;color:#8d7444}footer{display:flex;justify-content:space-between;font-size:10px;color:#8a9589;margin-top:30px;padding:16px 0}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);max-width:900px;width:90vw;max-height:90vh;overflow:auto;background:var(--paper)}dialog::backdrop{background:#18292077}.close{float:right;border:0;font-size:24px;padding:0 8px}.editgrid{display:grid;grid-template-columns:1.25fr 1fr;gap:28px}#editCanvas{width:100%;border-radius:8px;touch-action:none}#editName{font-size:12px;overflow-wrap:anywhere}.editgrid .primary{display:block;width:100%;margin-top:15px}.danger{color:#9a4d41;margin-left:10px}button:focus-visible,a:focus-visible{outline:3px solid #a8c6a9;outline-offset:3px}@media(max-width:850px){.brand small,.privacy{display:none}main{padding:24px 16px}header{height:65px;padding:0 18px}.workspace{grid-template-columns:1fr}.intro{margin-bottom:20px}h1{font-size:25px}aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.panel{padding:16px}.stage{padding:17px}.empty{min-height:330px}.badge{font-size:9px}header>div{gap:10px}.editgrid{grid-template-columns:1fr}footer{gap:12px} }@media(max-width:480px){aside{grid-template-columns:1fr}.brand{font-size:20px}header .badge{display:none}.intro p:not(.eyebrow){font-size:12px}.stagehead{align-items:start}.stagehead button{padding:10px}.stagefoot{font-size:9px}footer{display:block}footer span{display:block;margin-top:8px}}

#importStatus{font-size:12px;line-height:1.7;margin-top:12px;padding:10px;background:#f4edda;border-radius:6px;overflow-wrap:anywhere}#summary{scroll-margin-top:20px}
