:root{--bg:#f5f7fb;--ink:#1f2937;--muted:#6b7280;--card:#fff;--line:#e5e7eb;--brand:#111827;--accent:#2563eb;--radius:14px;--shadow:0 10px 25px #00000014}*{box-sizing:border-box}#root,body,html{height:100%}body{background:linear-gradient(180deg,#eef2f7,#f5f7fb);color:#1f2937;color:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial}.wrap{margin:28px auto 60px;max-width:1100px;padding:0 16px}header{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-bottom:18px}.title{color:#111827;color:var(--brand);font-size:clamp(20px,2.2vw,28px);font-weight:800;letter-spacing:.2px}.controls{display:flex;flex-wrap:wrap;gap:10px}button{-webkit-appearance:none;appearance:none;background:#2563eb;background:var(--accent);border:0;border-radius:12px;box-shadow:0 10px 25px #00000014;box-shadow:var(--shadow);color:#fff;cursor:pointer;font-weight:600;padding:10px 14px}button.secondary{background:#111827;color:#fff}button.ghost{background:#eef2f7;border:1px solid #e5e7eb;border:1px solid var(--line);color:#111827}button:active{transform:translateY(1px)}.grid{grid-gap:14px;display:grid;gap:14px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.four{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:880px){.four,.three,.two{grid-template-columns:1fr}}.panel{background:#fff;background:var(--card);border:1px solid #e5e7eb;border:1px solid var(--line);border-radius:14px;border-radius:var(--radius);box-shadow:0 10px 25px #00000014;box-shadow:var(--shadow);padding:16px}label{color:#6b7280;color:var(--muted);display:block;font-size:12px;font-weight:700;margin:4px 0 6px}input[type=date],input[type=number],input[type=tel],input[type=text],select,textarea{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--line);border-radius:10px;color:#1f2937;color:var(--ink);font-size:15px;outline:none;padding:12px 14px;width:100%}textarea{min-height:72px;resize:vertical}#invoicePreview{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 25px #00000014;box-shadow:var(--shadow);color:#111;margin:0 auto;overflow:visible;padding:28px;position:relative}.inv-head{align-items:flex-start;border-bottom:2px solid #f0f2f6;display:flex;gap:20px;justify-content:space-between;padding-bottom:14px}.brand{align-items:center;display:flex;gap:14px}.brand img{background:#fafafa;border:1px solid #f1f5f9;border-radius:12px;height:64px;object-fit:contain;width:64px}.brand .info{font-size:13px;line-height:1.4}.brand .name{font-size:18px;font-weight:800;letter-spacing:.3px}.inv-meta{font-size:13px;text-align:right}.invoice-title{font-size:28px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.section-title{font-size:14px;font-weight:700;letter-spacing:.2px;margin:18px 0 10px}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #eef2f7;font-size:13px;padding:10px 8px}th{background:#f8fafc;text-align:left}tfoot td{border-bottom:none}.right{text-align:right}.muted{color:#666}.totals{border:1px solid #eef2f7;border-radius:12px;margin-left:auto;max-width:100%;overflow:hidden;width:380px}.totals table{border-collapse:initial;width:100%}.totals tr td{padding:10px 12px}.totals tr:last-child td{border-top:2px solid #111;font-size:16px;font-weight:800}.badge-wrap{margin-top:10px;text-align:right}.badge-wrap img{max-height:140px;max-width:140px;object-fit:contain}.note-box{background:#f8fafc;border:1px dashed #e4e7ec;border-radius:10px;font-size:13px;padding:10px 0}.note-box .note-list{font-size:13px;line-height:1.6;list-style:disc;margin:0;overflow-wrap:anywhere;padding:10px 18px;word-break:break-word}.note-box .note-list li{line-height:1.5;margin:6px 0;white-space:normal}.badge-img{max-height:50px;object-fit:contain}.mini{font-size:12px}.row-actions button{border-radius:8px;font-size:13px;padding:8px 10px}.subtle{color:#6b7280;color:var(--muted);font-size:12px}.inv-footer{border-top:1px solid #eef2f7;color:#6b7280;font-size:12px;margin-top:16px;padding-top:8px;text-align:center}.product-table-wrap{-webkit-overflow-scrolling:touch;overflow:auto}.product-table{border-collapse:collapse;width:100%}@media (max-width:640px){.product-table thead{display:none}.product-table tr{background:#fff;border:1px solid #e5e7eb;border:1px solid var(--line);border-radius:12px;display:block;margin-bottom:10px;padding:10px}.product-table td{align-items:center;border-bottom:none;display:flex;font-size:14px;gap:10px;justify-content:space-between;padding:8px 4px}.product-table td:before{color:#6b7280;color:var(--muted);content:attr(data-label);flex:0 0 44%;font-weight:600;margin-right:10px;text-align:left}.product-table td input{flex:1 1;font-size:16px;min-height:40px;padding:10px 12px}.product-table td button.del,.totals{width:100%}.badge-wrap img{max-height:100px;max-width:100px}}@media print{body{background:#fff}.no-print{display:none!important}.wrap{margin:0;max-width:none}.bill-ship-grid{grid-gap:14px!important;display:grid!important;gap:14px!important;grid-template-columns:1fr 1fr!important}#invoicePreview{display:flex;flex-direction:column;max-width:1100px!important;overflow:visible!important;width:100%!important}.print-block{display:block}.print-block[data-print-order="2"]{order:2}.print-block[data-print-order="3"]{order:3}.print-block[data-print-order="4"]{order:4}.bill-ship-grid,.note-box,.totals{page-break-inside:avoid}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
/*# sourceMappingURL=main.23a21eee.css.map*/