:root{font-family:system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#172334;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}header{height:auto;min-height:72px;background:#10263e;color:white;padding:17px max(24px,calc((100vw - 1440px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}header strong{font-size:21px;display:block}header span{font-size:12px;color:#a9bdcf}header .header-note{color:#d6e8ff}main{max-width:1440px;margin:25px auto;display:grid;grid-template-columns:minmax(340px,440px) minmax(420px,1fr);gap:20px;padding:0 24px}.panel{background:white;border:1px solid #dfe7f0;border-radius:15px;box-shadow:0 4px 24px #1d3e5b0a}.controls{padding:22px;align-self:start}.controls h2,.preview h2{font-size:16px;margin:5px 0 16px}.controls h2:not(:first-child){margin-top:26px;padding-top:18px;border-top:1px solid #e8eef4}.drop{border:2px dashed #9bb9d5;background:#f6faff;border-radius:12px;min-height:146px;text-align:center;display:flex!important;align-items:center;justify-content:center;gap:5px;flex-direction:column;cursor:pointer}.drop input{display:none}.drop-icon{font-size:28px;color:#236ab1}.drop small,.help,.footnote{font-size:12px;color:#66788b;line-height:1.65}.drop.active{border-color:#1683ed;background:#e8f4ff}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:10px 0;font-size:12px;color:#617386}.thumbs{display:flex;gap:8px;overflow-x:auto;min-height:23px;max-width:100%}.thumb{position:relative;flex:none;width:100px;background:#f7f9fc;border:1px solid #e2e8ef;border-radius:8px;padding:5px}.thumb img{width:100%;height:64px;object-fit:contain;background:white}.thumb .filename{font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.thumb button{position:absolute;top:0;right:0;padding:1px 5px;background:#fff;border:1px solid #d5dee7;cursor:pointer;border-radius:4px}.controls label:not(.drop):not(.check){display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;margin:11px 0 0}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.controls select,.controls input[type=number]{width:100%;height:38px;border:1px solid #cbd7e3;border-radius:7px;background:#fff;padding:0 9px;color:#172334;font-size:13px}.check{display:flex;align-items:center;gap:7px;font-size:12px;margin-top:14px}.actions{display:flex;gap:10px}button{cursor:pointer;font:inherit}button:disabled{opacity:.35;cursor:not-allowed}.primary{flex:1;background:#1765a7;color:white;border:0;border-radius:9px;padding:12px 8px;font-weight:650}.secondary{background:#087d77}.ghost{background:#f2f6fb;border:1px solid #d8e2ed;color:#345573;border-radius:7px;padding:5px 9px}.help{margin-bottom:6px}#status{font-size:12px;color:#245b7b;min-height:16px;line-height:1.6}.preview{padding:18px;align-self:start}.preview-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.preview-head h2{margin:0}.preview-head p{color:#637587;font-size:12px;margin:7px 0}.pager{display:flex;align-items:center;gap:10px;color:#536879;font-size:12px}.pager button{font-size:18px}.stage{min-height:530px;background:linear-gradient(45deg,#e8eef5 25%,transparent 25%,transparent 75%,#e8eef5 75%),linear-gradient(45deg,#e8eef5 25%,#f6f8fa 25%,#f6f8fa 75%,#e8eef5 75%);background-size:16px 16px;background-position:0 0,8px 8px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:25px}#sheet{max-width:100%;max-height:78vh;width:auto;height:auto;box-shadow:0 7px 28px #17233442;background:white}.footnote{margin:13px 2px 1px}@media(max-width:870px){main{grid-template-columns:1fr}.stage{min-height:300px}header .header-note{display:none}}@media(max-width:450px){main{padding:0 10px}.controls,.preview{padding:14px}.two{gap:6px}}
