@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500;700&display=swap";:root{font-family:Inter,Arial,sans-serif;color:#172033;background:#f3f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid #e5e9f0;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:40px;height:40px;background:#152d4f;color:#fff;border-radius:11px;display:grid;place-items:center}.brand strong{display:block;font-size:15px}.brand small{display:block;color:#7b8798;font-size:11px;margin-top:4px}.top-actions{display:flex;gap:9px}.btn{border:1px solid #d9e0e9;border-radius:9px;padding:10px 14px;background:#fff;color:#24344d;font-weight:600;font-size:12px;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.btn.primary{background:#173b68;color:#fff;border-color:#173b68}.btn:hover{filter:brightness(.97)}.btn.wide{width:100%;justify-content:center;padding:13px}.workspace{max-width:1440px;margin:0 auto;padding:28px;display:grid;grid-template-columns:minmax(480px,1fr) 430px;gap:28px;align-items:start}.editor{display:flex;flex-direction:column;gap:14px}.section-heading,.preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}.section-heading h1,.preview-heading h2{font-size:21px;margin:0 0 5px}.section-heading p,.preview-heading p{font-size:12px;color:#7b8798;margin:0}.autosave,.paper-tag{font-size:10px;color:#3a7855;background:#e8f5ed;border-radius:30px;padding:6px 10px}.panel{background:#fff;border:1px solid #e5e9f0;border-radius:12px;padding:17px 18px;box-shadow:0 2px 8px #1b2a3d08}.panel h3{font-size:13px;margin:0 0 14px;color:#24344d}.panel-title{display:flex;align-items:center;justify-content:space-between}.panel-title h3{margin-bottom:14px}.text-btn{border:0;background:none;color:#356da8;font-size:11px;display:flex;align-items:center;gap:5px;cursor:pointer;margin-bottom:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field span{font-size:10px;font-weight:700;color:#657187}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5ed;border-radius:7px;padding:10px 11px;font-size:12px;color:#1d2b40;background:#fff;outline:none;min-width:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4d83bd;box-shadow:0 0 0 3px #4d83bd18}.field.full{margin-top:13px}.field textarea{resize:vertical}.editor-footer{padding:2px 0 12px}.editor-footer p{font-size:10px;color:#7b8798;text-align:center;line-height:1.5}.preview-area{position:sticky;top:100px}.preview-heading{margin-bottom:14px}.paper-tag{color:#52647b;background:#e9edf3;font-weight:700}.receipt{width:302px;min-height:700px;background:#fff;margin:0 auto;padding:15px 13px 17px;box-shadow:0 8px 28px #1b2a3d18;color:#111;font-family:Roboto Mono,Courier New,monospace;font-size:10px;line-height:1.28;overflow-wrap:anywhere}.receipt-head{text-align:center;border-bottom:1px solid #d9d9d9;padding-bottom:9px}.logo-mark{font-family:Arial,sans-serif;font-size:25px;color:#c52222;line-height:1}.company-name{font-family:Inter,Arial,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1px;margin-top:1px}.tagline{font-family:Inter,Arial,sans-serif;font-size:7px;color:#b32121;font-weight:700}.company-address{font-size:8px;margin-top:7px;line-height:1.35}.qr-wrap{display:flex;flex-direction:column;align-items:center;padding:12px 0 7px}.qr-wrap svg{width:112px;height:112px}.qr-hint{font-family:Arial,sans-serif;font-size:8px;color:#666;margin-top:4px}.tracking{text-align:center;font-size:19px;font-weight:700;letter-spacing:.4px;padding:9px 0;border-bottom:1px dashed #c9c9c9;white-space:normal;word-break:break-all}.route-grid{padding:8px 0;border-bottom:1px dashed #c9c9c9;display:grid;grid-template-columns:65px 1fr;gap:2px 8px}.route-grid div{display:contents}.route-grid b{font-weight:700}.route-grid span{font-weight:500}.receipt-section{padding:9px 0 7px;border-bottom:1px dashed #c9c9c9}.receipt-section h4{font-size:11px;margin:0 0 6px;font-weight:700}.receipt-row{display:grid;grid-template-columns:92px 1fr;gap:5px;min-height:13px}.receipt-row span{color:#333}.receipt-row b{font-weight:500;white-space:normal}.paid{color:#24814a!important}.item-line{display:flex;justify-content:space-between;gap:8px}.item-line>span{font-weight:700}.item-line small{display:block;font-weight:400;color:#444;font-size:8px;margin-top:3px}.item-line>b{white-space:nowrap}.total-line{display:flex;justify-content:space-between;border-top:1px dashed #ddd;margin-top:8px;padding-top:7px}.grand-total{display:flex;justify-content:space-between;padding:9px 0 3px;font-size:15px}.grand-total strong{font-size:16px}.exchange{display:flex;justify-content:space-between;font-size:9px;padding:2px 0}.payment{margin-top:7px}.remarks p{margin:3px 0 0}.barcode-wrap{padding:11px 0 8px;text-align:center;border-bottom:1px solid #ddd}.barcode{display:block;width:100%;height:48px}.barcode-number{font-size:8px;letter-spacing:.7px;margin-top:2px;word-break:break-all}.notes{font-size:8px;color:#555;padding-top:8px;line-height:1.35}.notes b{font-size:8px}.notes p{margin:3px 0 0}.thanks{text-align:center;font-family:Inter,Arial,sans-serif;font-size:8px;color:#666;padding-top:15px}footer{text-align:center;padding:20px;color:#8792a2;font-size:10px}@media(max-width:1000px){.workspace{grid-template-columns:1fr 380px;padding:18px;gap:18px}.topbar{padding:0 18px}}@media(max-width:760px){.topbar{height:auto;min-height:70px;align-items:flex-start;padding:14px;gap:12px;flex-direction:column}.top-actions{width:100%;flex-wrap:wrap}.workspace{display:flex;flex-direction:column;padding:14px}.editor,.preview-area{width:100%}.preview-area{position:static}.receipt{width:302px}.form-grid{grid-template-columns:1fr 1fr}}@media(max-width:420px){.form-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;gap:10px;flex-direction:column}}@page{size:80mm auto;margin:0}@media print{html,body{width:80mm!important;margin:0!important;padding:0!important;background:#fff!important}body *{visibility:hidden!important}#receipt,#receipt *{visibility:visible!important}#receipt{position:absolute!important;left:0!important;top:0!important;width:80mm!important;min-height:0!important;margin:0!important;padding:3mm 3mm 4mm!important;box-shadow:none!important;font-size:9pt!important;overflow:visible!important}#receipt .company-name{font-size:20pt!important}#receipt .tracking{font-size:15pt!important}#receipt .qr-wrap svg{width:31mm!important;height:31mm!important}#receipt .barcode{height:13mm!important}#receipt .receipt-section h4{font-size:9pt!important}#receipt .receipt-row{grid-template-columns:25mm 1fr!important}#receipt .company-address{font-size:7pt!important}#receipt .notes{font-size:6.5pt!important}.no-print{display:none!important}}
