@import"https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap";:root{font-family:Be Vietnam Pro,Arial,sans-serif;color:#0a2456;background:#f4f7fd;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.app{min-height:100vh;background:radial-gradient(circle at 100% 0,#dce7ff 0,transparent 28%),#f4f7fd}.topbar{height:84px;background:#fff;border-bottom:1px solid #e4eafb;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1720px)/2));box-shadow:0 4px 20px #17366a08}.brand{display:flex;align-items:center;gap:13px}.brand img{width:54px;height:54px;object-fit:contain}.brand strong{display:block;font-size:16px;letter-spacing:.02em;font-weight:800}.brand span{display:block;color:#7790ba;font-size:10px;font-weight:700;letter-spacing:.18em;margin-top:4px}.top-note{font-size:12px;color:#59709b;display:flex;align-items:center;gap:8px}.online-dot{width:8px;height:8px;border-radius:50%;background:#21c7aa;box-shadow:0 0 0 4px #d9f7ef}.workspace{max-width:1720px;margin:auto;padding:26px 24px 60px;display:grid;grid-template-columns:minmax(520px,.96fr) minmax(500px,1.04fr);gap:24px;align-items:start}.panel,.preview-panel{background:#fff;border:1px solid #e2eafa;border-radius:22px;box-shadow:0 12px 38px #1743850b}.editor{padding:28px}.panel-heading{display:flex;gap:16px;align-items:center;padding-bottom:25px;border-bottom:1px solid #edf1f8}.heading-icon{width:52px;height:52px;background:linear-gradient(145deg,#e5f8ff,#e9e7ff);border-radius:15px;color:#3147d8;display:grid;place-items:center}.eyebrow{font-size:11px;letter-spacing:.2em;color:#4a66d6;font-weight:800}.panel-heading h2,.preview-heading h2{font-size:24px;margin:5px 0 6px;letter-spacing:-.04em}.panel-heading p{color:#8292ad;font-size:12px;margin:0}.section-label{font-size:11px;color:#122c66;font-weight:800;letter-spacing:.1em;margin:26px 0 13px;display:flex;align-items:center;gap:9px}.section-label span{font-size:10px;color:#fff;background:#2141d7;border-radius:6px;padding:5px 6px}.section-label em{margin-left:auto;font-size:10px;color:#a2afc5;font-style:normal;font-weight:500;letter-spacing:0}textarea{width:100%;height:170px;resize:vertical;padding:16px;border:1px solid #dfe7f5;border-radius:13px;outline:none;line-height:1.6;color:#0c2454;background:#fdfefe;font-size:13px}textarea:focus,input:focus{border-color:#5973f4!important;box-shadow:0 0 0 3px #5973f41a}textarea::placeholder,input::placeholder{color:#aab7ca}.action-row{display:flex;gap:8px;margin-top:10px}.soft,.icon-btn,.secondary{background:#f1f5ff;border:1px solid #e1eafa;color:#2340a5;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.soft:hover,.icon-btn:hover,.secondary:hover{background:#e8efff}.icon-btn{margin-left:auto;color:#6b7fa8}.warnings{display:flex;gap:10px;background:#fff8e8;border:1px solid #f5dfae;border-radius:11px;padding:11px 13px;color:#8a5b0d;font-size:11px;margin-top:15px}.warnings svg{flex:none}.warnings p{margin:0 0 4px}.details-head{margin-top:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:13px;min-width:0}.field>span{font-size:11px;color:#52668f;font-weight:700}.field input{height:41px;width:100%;padding:0 12px;border:1px solid #e0e7f3;border-radius:9px;outline:0;color:#122a5c;background:#fff;font-size:12px}.item-section{margin:6px 0 14px}.item-heading,.item-title{display:flex;justify-content:space-between;align-items:center}.item-heading{margin-bottom:10px}.item-heading strong{font-size:12px}.item-heading button,.item-title button{border:0;background:none;color:#244bd3;font-size:11px;font-weight:700;display:flex;align-items:center;gap:5px}.item-editor{border:1px solid #e5ebf7;background:#f9fbff;border-radius:12px;padding:12px 13px 0;margin-bottom:9px}.item-title{margin-bottom:10px;color:#8093b7;font-size:10px;letter-spacing:.1em;font-weight:800}.payment-summary{margin:18px 0 14px;padding:17px 18px;border-radius:13px;background:linear-gradient(115deg,#ecf3ff,#edeaff);display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-summary div span{display:block;color:#49649a;font-size:10px;letter-spacing:.1em;font-weight:800}.payment-summary div strong{display:block;font-size:24px;color:#203bdf;margin-top:4px}.status{font-size:10px;white-space:nowrap;color:#98712a;background:#fff5d9;padding:6px 8px;border-radius:20px}.status.ready{color:#16866e;background:#dffaf2}.inline-error{font-size:11px;color:#c04050}.retry{background:#fff0f0;color:#a52b43;border:1px solid #f7ced6;border-radius:8px;padding:9px 13px;display:flex;align-items:center;gap:7px;margin-bottom:10px}.export-actions{display:flex;gap:9px}.primary{border:0;background:linear-gradient(110deg,#1640d8,#672cff);color:#fff;border-radius:10px;padding:13px 20px;box-shadow:0 8px 18px #3049dc30;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;flex:1}.secondary{padding:13px 17px}.copy-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.copy-actions button{background:#fff;border:1px solid #e2e9f5;color:#536890;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:600;display:flex;gap:5px;align-items:center}.retain{display:flex;align-items:center;gap:7px;color:#8392ad;font-size:11px;margin-top:18px}.retain input{accent-color:#334de4}.preview-panel{padding:20px;background:linear-gradient(145deg,#f6f9ff,#edf2ff);position:sticky;top:16px}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 6px 16px}.preview-heading h2{font-size:19px;margin-bottom:0}.preview-heading>span{font-size:10px;color:#6982b0;font-weight:800;border:1px solid #d8e4fa;background:#fff;border-radius:20px;padding:7px 10px}.preview-wrap{width:100%;display:flex;justify-content:center;overflow:hidden}.preview-scaled{flex:none;overflow:visible}.preview-caption{display:flex;align-items:center;justify-content:center;gap:6px;color:#6a80aa;font-size:11px;margin:16px 0 4px}.preview-caption svg{color:#20b998}.export-stage{position:fixed;left:-20000px;top:0;width:1080px;z-index:-1}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#102763;color:#fff;padding:12px 18px;border-radius:10px;box-shadow:0 10px 30px #11285c40;z-index:10;font-size:12px;max-width:90vw}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.bill{width:1080px;min-height:1350px;background:#fff;color:#0a2358;padding:32px 60px 28px;position:relative;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 16px 42px #2e56aa18;font-family:Be Vietnam Pro,Arial,sans-serif}.bill:before,.bill:after{content:"";position:absolute;background:linear-gradient(130deg,#edf3ff,#d9e5ff);width:310px;height:310px;transform:rotate(45deg);z-index:0}.bill:before{top:-220px;right:-190px}.bill:after{bottom:-215px;left:-190px}.bill>*{position:relative;z-index:1}.bill-top{text-align:center}.bill-top img{width:310px;height:170px;object-fit:contain;margin:-10px auto -5px;display:block}.bill-kicker{font-size:13px;font-weight:800;color:#6e85b3;letter-spacing:.22em;margin:4px 0 0}.bill-top h1{font-size:49px;line-height:1.1;letter-spacing:-.055em;margin:7px 0 14px;font-weight:800}.bill-top h1 span{background:linear-gradient(110deg,#6134fc,#08bdeb);-webkit-background-clip:text;background-clip:text;color:transparent}.bill-top p{font-size:24px;font-weight:800;margin:0 0 18px;text-align:left}.bill-details{border:2px solid #dbe6fc;border-radius:18px;padding:20px 27px 18px;background:#ffffffef}.bill-row{display:flex;align-items:baseline;gap:15px;font-size:22px;line-height:1.45;margin:5px 0;overflow-wrap:anywhere}.bill-row strong{white-space:nowrap;font-weight:800}.bill-row>span:last-child{font-weight:500}.leaf{color:#83d20b;font-size:24px;width:26px;flex:none}.bill-items-title{font-size:22px;font-weight:800;margin:8px 0}.bill-item{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:start;padding:10px 0;border-bottom:1px solid #e2eaff;font-size:18px}.bill-item strong{overflow-wrap:anywhere}.bill-item b{color:#273cbd}.bill-total{background:linear-gradient(110deg,#eaf1ff,#f0edff);border-radius:14px;padding:13px 18px;margin:18px -11px 13px;display:flex;justify-content:space-between;align-items:center;gap:15px}.bill-total span{font-size:24px;font-weight:800}.bill-total strong{font-size:31px;color:#2044dc;white-space:nowrap}.bill-transfer{font-size:20px;display:flex;gap:9px;flex-wrap:wrap;overflow-wrap:anywhere}.bill-transfer span,.bill-transfer strong{font-weight:800}.bill-qr-title{display:flex;align-items:center;gap:20px;margin:20px 5px 12px;color:#1840c7;font-size:22px;white-space:nowrap}.bill-qr-title i{height:2px;background:#91b0f7;flex:1}.bill-qr-box{width:320px;height:320px;border:2px solid #afc7ff;border-radius:17px;margin:0 auto 20px;padding:10px;display:grid;place-items:center;background:#fff}.bill-qr-box img{width:296px;height:296px;object-fit:contain;image-rendering:auto}.qr-empty{text-align:center;color:#8192b0;font-size:15px;display:flex;align-items:center;flex-direction:column;gap:8px}.bill-bank{margin-top:auto;display:grid;grid-template-columns:220px 1fr;gap:35px;background:linear-gradient(110deg,#ecf2ff,#f1f3ff);border-radius:20px;padding:23px 35px;align-items:center}.bank-mark{height:124px;width:165px;border-radius:15px;background:#092fe1;color:#fff;display:flex;align-items:center;justify-content:center;font-size:41px;font-weight:800;letter-spacing:-.08em}.bank-mark span{color:#f43143;font-size:46px;margin-right:6px}.bank-lines{border-left:2px solid #9db8f9;padding-left:38px}.bank-lines div{display:grid;grid-template-columns:170px 1fr;gap:10px;font-size:19px;line-height:1.52}.bank-lines b{font-size:20px;overflow-wrap:anywhere}.bill-foot{text-align:center;font-size:12px;color:#8190ae;margin:13px 0 0}@media(max-width:1150px){.workspace{grid-template-columns:1fr;max-width:780px}.preview-panel{position:static}.topbar{padding:0 24px}}@media(max-width:650px){.topbar{height:70px;padding:0 15px}.brand img{width:45px;height:45px}.brand strong{font-size:13px}.brand span{font-size:8px}.top-note{display:none}.workspace{padding:14px 10px 30px;gap:14px}.editor{padding:17px}.panel,.preview-panel{border-radius:15px}.panel-heading h2{font-size:20px}.panel-heading p{line-height:1.5}.heading-icon{width:42px;height:42px;flex:none}.form-grid{gap:9px}.field input{font-size:11px}.action-row{flex-wrap:wrap}.section-label em{display:none}.payment-summary{align-items:flex-start;flex-direction:column}.export-actions{flex-direction:column}.preview-panel{padding:12px}.preview-heading h2{font-size:17px}}
