:root{--navy:#0b2948;--teal:#0b6b64;--line:#dbe4ec;--soft:#f3f6f9;--green:#19733a;--greenbg:#eaf7ed;--red:#a62c2c;--amber:#996515}*{box-sizing:border-box}body{margin:0;background:#e9eef3;font-family:Arial,Helvetica,sans-serif;color:#10243b}.app{display:grid;grid-template-columns:390px minmax(720px,900px);gap:22px;align-items:start;justify-content:center;padding:22px}.panel{background:#fff;border-radius:14px;padding:20px;box-shadow:0 8px 30px #20304020;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}.panel h1{margin:0;color:var(--navy)}.panel h2{font-size:15px;margin:22px 0 8px;border-bottom:1px solid var(--line);padding-bottom:6px}.panel p{font-size:13px;color:#607080}.grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wide{grid-column:1/-1}label{font-size:11px;font-weight:700;color:#405269}input,select{width:100%;margin-top:4px;padding:9px;border:1px solid #cbd6e0;border-radius:7px;background:white;font-size:12px}.actions{display:flex;gap:8px;margin-top:18px}.actions button{border:0;border-radius:8px;padding:10px 13px;cursor:pointer}.primary{background:var(--teal);color:white}.hint{font-size:11px!important}.receipt{background:#fff;width:210mm;min-height:297mm;padding:15mm 14mm 12mm;box-shadow:0 8px 30px #20304022}header{display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:13px;align-items:center}.logo-placeholder{width:58px;height:58px;border-radius:12px;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;overflow:hidden}.logo-placeholder img{width:100%;height:100%;object-fit:contain;background:white}.brand-name{font-family:Georgia,serif;font-size:27px;font-weight:bold;color:var(--navy)}.brand-sub{font-size:9px;letter-spacing:2px;color:#65798c;margin-top:4px}.issuer{text-align:right;display:flex;flex-direction:column;font-size:10px;line-height:1.5}.rule{height:2px;background:var(--navy);margin:17px 0 19px}.title-row{display:flex;justify-content:space-between;align-items:flex-start}.title-row h1{font:700 29px Georgia,serif;margin:0;color:var(--navy)}.subtitle{font:20px Georgia,serif;margin-top:5px}.meta{display:flex;flex-direction:column;text-align:right;font-size:10px;line-height:1.65}.status{display:flex;align-items:center;gap:15px;border:1px solid #b9dfc2;background:var(--greenbg);padding:13px 16px;border-radius:8px;margin:21px 0}.status .check{width:42px;height:42px;border-radius:50%;background:var(--green);color:white;font-size:30px;text-align:center;line-height:42px}.status strong{font:700 20px Georgia,serif;color:#145c2c}.status p{margin:5px 0 0;font-size:11px}.status.pending{background:#fff7df;border-color:#efd58c}.status.pending .check{background:var(--amber)}.status.pending strong{color:#7b5711}.status.failed{background:#fff0f0;border-color:#edbcbc}.status.failed .check{background:var(--red)}.status.failed strong{color:#862323}.accounts{display:grid;grid-template-columns:1fr 1fr;gap:17px}.card{border:1px solid var(--line);border-radius:7px;overflow:hidden}.card h3,.details h3{margin:0;background:linear-gradient(90deg,#e9eef3,#f8fafc);padding:9px 11px;font:700 14px Georgia,serif}.card dl{padding:8px 11px}.card dl,.details dl{display:grid;grid-template-columns:39% 61%;margin:0;font-size:10.5px;line-height:1.45}.card dt,.card dd,.details dt,.details dd{padding:4px 0;margin:0}.card dd{font-weight:600;overflow-wrap:anywhere}.details{margin-top:17px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.details dl{padding:9px 12px;grid-template-columns:30% 70%}.amount{font-size:17px;font-weight:800}.notice{display:flex;gap:12px;border:1px solid #cad9e6;border-radius:7px;padding:11px 13px;margin-top:18px;background:#fbfdff}.notice b{width:22px;height:22px;border-radius:50%;background:#687c90;color:#fff;text-align:center;line-height:22px}.notice p{font-size:9.5px;line-height:1.45;margin:0;flex:1}footer{border-top:1.5px solid var(--navy);margin-top:24px;padding-top:9px;display:flex;justify-content:space-between;font-size:9px;color:#53687b}.footer-ref{text-align:right}@media(max-width:1200px){.app{grid-template-columns:1fr}.panel{position:static;max-height:none}.receipt{margin:auto}}@media print{body{background:white}.app{display:block;padding:0}.no-print{display:none!important}.receipt{box-shadow:none;margin:0;width:210mm;height:297mm;min-height:297mm;padding:13mm 14mm 10mm;overflow:hidden}@page{size:A4;margin:0}}
