:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:#172033;background:#eef2f7;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.docs-shell{min-height:100vh;background:linear-gradient(180deg,#f8fafc,#eef2f7 42%,#e7edf5)}.docs-toolbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(14px,3vw,36px);background:#ffffffeb;border-bottom:1px solid #dce3ee;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.docs-brand{display:flex;align-items:center;min-width:0;gap:14px}.brand-mark{display:inline-grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:8px;background:#111827;color:#fff;font-size:13px;font-weight:800}.document-label{font-size:12px;font-weight:800;color:#64748b;text-transform:uppercase}.docs-brand h1{margin:1px 0 0;color:#111827;font-size:clamp(18px,2.4vw,24px);line-height:1.12}.docs-brand p{margin:3px 0 0;color:#64748b;font-size:13px}.docs-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.tool-button{min-height:38px;padding:0 15px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#1f2937;font-weight:700;cursor:pointer;box-shadow:0 1px 2px #0f172a0f}.tool-button:hover{border-color:#94a3b8;background:#f8fafc}.tool-button.primary{border-color:#111827;background:#111827;color:#fff}.tool-button.primary:hover{background:#0f172a}.docs-document-area{min-height:calc(100vh - 72px);padding:clamp(16px,3vw,34px);overflow:auto}.a4-preview-shell{display:flex;justify-content:center;align-items:flex-start;min-width:0;padding:6px}.a4-preview-paper{width:210mm;min-width:210mm;min-height:297mm;flex-shrink:0;overflow:hidden;padding:20px;border:1px solid #d9e2ef;border-radius:8px;background:#fff;box-shadow:0 18px 48px #0f172a21;zoom:.9}.receipt-paper,.other-receipt-paper{padding:0}.state-panel{width:min(520px,calc(100vw - 32px));margin:15vh auto 0;padding:30px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;text-align:center;box-shadow:0 14px 34px #0f172a17}.state-panel h2{margin:0 0 8px;color:#111827;font-size:22px}.state-panel p{margin:0;color:#64748b}.error-panel{border-color:#fecaca}.loader{width:34px;height:34px;margin:0 auto 14px;border:3px solid #dbe3ef;border-top-color:#111827;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.other-receipt{display:flex;min-height:297mm;flex-direction:column;gap:22px;padding:32px;color:#111;background:#fff;font-family:Arial,sans-serif;font-size:13px}.other-receipt-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.business-block{min-width:0;flex:1}.business-name{color:#111;font-size:22px;font-weight:800;overflow-wrap:anywhere}.business-detail{max-width:460px;margin-top:4px;color:#555;font-size:12px;line-height:1.5}.bill-meta{min-width:220px;text-align:right;line-height:1.6}.receipt-divider{width:100%;margin:0;border:0;border-top:2px solid #111}.party-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.eyebrow{margin-bottom:8px;color:#666;font-size:12px;font-weight:800;text-transform:uppercase}.customer-name{margin-bottom:3px;color:#111;font-size:16px;font-weight:800}.small-line{color:#222;font-size:13px;line-height:1.45}.transaction-box{padding:12px;border:1px solid #ddd}.transaction-line{display:flex;justify-content:space-between;gap:16px;padding:3px 0}.transaction-line span{color:#666;font-size:12px;font-weight:700}.transaction-line strong{color:#111;font-size:12px;text-align:right}.section-title{margin-bottom:8px;font-size:13px;font-weight:800}.detail-grid{display:grid;border-top:1px solid #ddd;border-left:1px solid #ddd}.detail-cell{min-width:0;padding:10px;border-right:1px solid #ddd;border-bottom:1px solid #ddd}.detail-cell.wide{grid-column:1 / -1}.detail-label{margin-bottom:3px;color:#666;font-size:11px;font-weight:700;text-transform:uppercase}.detail-value{color:#111;font-size:13px;font-weight:600;overflow-wrap:anywhere;white-space:pre-wrap}.items-head,.items-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 130px 130px;border:1px solid #d9d9d9}.items-head{border-bottom:0;background:#f3f3f3;color:#333;font-size:12px;font-weight:800}.items-head>div,.items-row>div{min-width:0;padding:11px 12px;border-right:1px solid #d9d9d9}.items-head>div:last-child,.items-row>div:last-child{border-right:0}.center{text-align:center}.right{text-align:right}.line-title{font-size:13px;font-weight:800}.muted{margin-top:4px;color:#666;font-size:12px}.summary-wrap{display:flex;justify-content:flex-end}.summary{width:320px}.summary-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #ddd;font-size:13px;font-weight:600}.summary-row.total{border-bottom:2px solid #111;font-size:16px;font-weight:900}.signatures{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding-top:34px}.signature-line{height:28px;border-bottom:1px solid #111}.signature-label{margin-top:8px;color:#666;font-size:12px}.signature-label.right{text-align:right}.generated{padding-top:12px;color:#777;font-size:11px;text-align:center}@media(max-width:1200px){.a4-preview-paper{zoom:.76}}@media(max-width:760px){.docs-toolbar{position:static;align-items:flex-start;flex-direction:column}.docs-actions{width:100%;justify-content:stretch}.tool-button{flex:1}.docs-document-area{padding:12px 0 20px}.a4-preview-paper{zoom:.55}}@page{size:A4 portrait;margin:10mm}@media print{html,body,#root{width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.docs-toolbar,.PWABadge{display:none!important}.docs-shell,.docs-document-area,.a4-preview-shell{display:block!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important}.a4-preview-paper{width:190mm!important;min-width:auto!important;max-width:none!important;min-height:auto!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;zoom:1!important}.bill-print-root>*{width:100%!important;max-width:none!important}.bill-print-keep-together{break-inside:avoid!important;page-break-inside:avoid!important}table{break-inside:auto;page-break-inside:auto}thead{display:table-header-group}tr,td,th{break-inside:avoid;page-break-inside:avoid}}.PWABadge-container{padding:0;margin:0;width:0;height:0}.PWABadge-toast{position:fixed;right:0;bottom:0;margin:16px;padding:12px;border:1px solid #8885;border-radius:4px;z-index:1;text-align:left;box-shadow:3px 4px 5px #8885;background-color:#fff}.PWABadge-toast-message{margin-bottom:8px}.PWABadge-toast-button{border:1px solid #8885;outline:none;margin-right:5px;border-radius:2px;padding:3px 10px}@media print{@page{size:A4 portrait;margin:1cm}body{margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}.mmc-bill-theme1{width:100%;margin:0 auto}}.mmc-bill-theme1{--theme-primary: #2563eb;--theme-secondary: #f8f9fa;width:100%;background:#fff;color:#000}.mmc-bill-theme1,.mmc-bill-theme1 td,.mmc-bill-theme1 p,.mmc-bill-theme1 span,.mmc-bill-theme1 li{font-family:Inter,Arial,sans-serif;font-weight:500;font-size:11px;line-height:1.3;margin:0!important}.mmc-bill-theme1 h1,.mmc-bill-theme1 h4,.mmc-bill-theme1 th,.mmc-bill-theme1 .text-bold{font-family:Inter,Arial,sans-serif;font-weight:800}.mmc-bill-theme1 .company-title{color:var(--theme-primary)}.mmc-bill-theme1 .company-title-small{font-size:14px!important;font-weight:500}.mmc-bill-theme1 .company-title-medium{font-size:17px!important;font-weight:500}.mmc-bill-theme1 .company-title-large{font-size:22px!important;font-weight:600}.mmc-bill-theme1 .sub-text{font-size:10px;color:gray;font-weight:300}.mmc-bill-theme1 .text-bold{font-size:11px;font-weight:700}.mmc-bill-theme1 .invoice-container{max-width:900px;font-family:Inter,Arial,sans-serif;color:#000}.mmc-bill-theme1 .invoice-header{display:flex;align-items:flex-start;border-bottom:3px solid var(--theme-primary);padding-bottom:5px;gap:10px}.mmc-bill-theme1 .logo-section{flex-shrink:0}.mmc-bill-theme1 .logo-section img{height:90px;width:90px;object-fit:contain}.mmc-bill-theme1 .company-info{flex:1;line-height:1.7}.mmc-bill-theme1 .invoice-title{flex-shrink:0;text-align:right}.mmc-bill-theme1 .invoice-title h1{margin:0;font-size:24px}.mmc-bill-theme1 .bill-section{display:flex;justify-content:space-between;margin:20px 0;gap:20px}.mmc-bill-theme1 .bill-to,.mmc-bill-theme1 .ship-to,.mmc-bill-theme1 .invoice-details{flex:1}.mmc-bill-theme1 .bill-to h4,.mmc-bill-theme1 .ship-to h4,.mmc-bill-theme1 .invoice-details h4{margin:0 0 5px;font-size:12px}.mmc-bill-theme1 .bill-section ul{list-style:none;padding:0;margin:0}.mmc-bill-theme1 .bill-section li{margin-bottom:3px}.mmc-bill-theme1 .invoice-details{text-align:right}.mmc-bill-theme1 .detail-row{display:flex;justify-content:space-between;margin-bottom:5px}.mmc-bill-theme1 .invoice-table{width:99.9%;border-collapse:collapse;margin:20px 0;color:#000}.mmc-bill-theme1 .invoice-table th,.mmc-bill-theme1 .invoice-table td{border-left:1px solid #d1d1d1;border-right:1px solid #d1d1d1;padding:8px;text-align:left;vertical-align:top}.mmc-bill-theme1 .invoice-table th{border-top:1px solid #d1d1d1;border-bottom:1px solid #d1d1d1;background-color:var(--theme-secondary);font-weight:800;text-align:center}.mmc-bill-theme1 .invoice-table tr:last-child td{border-bottom:1px solid #d1d1d1}.mmc-bill-theme1 .invoice-table td:nth-child(2){text-align:left}.mmc-bill-theme1 .invoice-table td:nth-child(3),.mmc-bill-theme1 .invoice-table td:nth-child(4),.mmc-bill-theme1 .invoice-table td:nth-child(5),.mmc-bill-theme1 .invoice-table td:nth-child(6),.mmc-bill-theme1 .invoice-table td:nth-child(7){text-align:right}.mmc-bill-theme1 .invoice-table .center-cell{text-align:center!important}.mmc-bill-theme1 .invoice-table .num-cell{text-align:right!important}.mmc-bill-theme1 .invoice-footer{display:flex;justify-content:space-between;margin-top:20px;gap:20px;color:#000}.mmc-bill-theme1 .left-footer-section{flex:1}.mmc-bill-theme1 .totals-section{flex:0 0 300px}.mmc-bill-theme1 .total-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #d1d1d1}.mmc-bill-theme1 .total-row:last-child{font-weight:700;font-size:12px}.mmc-bill-theme1 .total-label{font-weight:600}.mmc-bill-theme1 .total-value{text-align:right;min-width:80px}.mmc-bill-theme1 .extra-discount-row{color:#15803d}.mmc-bill-theme1 .notes{margin-bottom:15px}.mmc-bill-theme1 .notes h4{margin-top:0}.mmc-bill-theme1 .payment-card{margin-top:14px;padding:10px;border:1px solid #d1d1d1;page-break-inside:avoid}.mmc-bill-theme1 .payment-heading{font-weight:800;margin-bottom:8px}.mmc-bill-theme1 .payment-content{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.mmc-bill-theme1 .payment-bank{flex:1;min-width:170px}.mmc-bill-theme1 .payment-line{display:flex;justify-content:space-between;gap:8px;padding:2px 0}.mmc-bill-theme1 .payment-line span{color:#606060}.mmc-bill-theme1 .payment-line strong{text-align:right}.mmc-bill-theme1 .payment-qr{display:flex;gap:8px;align-items:center}.mmc-bill-theme1 .payment-qr img{width:82px;height:82px}.mmc-bill-theme1 .payment-qr-text{display:flex;flex-direction:column;gap:4px}.mmc-bill-theme1 .payment-instructions{margin-top:8px!important;color:#606060}.mmc-bill-theme1 .signature-section{margin-top:30px;text-align:right;padding-top:20px;page-break-inside:avoid}.mmc-bill-theme1 .blank-signature,.mmc-bill-theme1 .signature-image{display:inline-block;text-align:center;margin-right:20px}.mmc-bill-theme1 .blank-signature-line{border-bottom:1px solid #000;width:200px;height:60px}.mmc-bill-theme1 .signature-image img{width:150px;height:70px;object-fit:contain}.mmc-bill-theme1 table{page-break-inside:auto}.mmc-bill-theme1 tr{page-break-inside:avoid;page-break-after:auto}.mmc-bill-theme1 td{page-break-inside:avoid}.mmc-bill-theme1 thead{display:table-header-group}.mmc-bill-theme1 tbody{display:table-row-group}@page{size:A4;margin:.8cm!important}@media print{.mmc-bill-theme2 .invoice-table{-webkit-print-color-adjust:exact;print-color-adjust:exact}.mmc-bill-theme2{width:100%;margin:0 auto;page-break-inside:avoid;color:#000}.mmc-bill-theme2 .invoice-container{width:100%;max-width:100%}.mmc-bill-theme2 table{page-break-inside:auto}.mmc-bill-theme2 tr{page-break-inside:avoid;page-break-after:auto}.mmc-bill-theme2 .footer-wrapper,.mmc-bill-theme2 .notes-card{page-break-inside:avoid!important;break-inside:avoid!important}}.mmc-bill-theme2{--theme-primary: #2563eb;--theme-secondary: #f1f5f9;--border-radius: 8px;--shadow: 0 1px 3px rgba(0, 0, 0, .1);width:100%;background:#fff}.mmc-bill-theme2,.mmc-bill-theme2 td,.mmc-bill-theme2 p,.mmc-bill-theme2 span,.mmc-bill-theme2 div{font-family:Inter,Arial,sans-serif;font-weight:400;font-size:11px;margin:0;line-height:1.1;color:#1e293b}.mmc-bill-theme2 .card-header,.mmc-bill-theme2 th{font-family:Inter,Arial,sans-serif;font-weight:600;font-size:12px;color:var(--theme-primary)}.mmc-bill-theme2 .company-title-small{font-size:18px!important;font-weight:600}.mmc-bill-theme2 .company-title-medium{font-size:24px!important;font-weight:700}.mmc-bill-theme2 .company-title-large{font-size:32px!important;font-weight:800}.mmc-bill-theme2 .company-title{color:var(--theme-primary);margin-bottom:4px}.mmc-bill-theme2 .text-bold{font-weight:700}.mmc-bill-theme2 .invoice-container{max-width:900px;font-family:Inter,Arial,sans-serif;background:#fff}.mmc-bill-theme2 .top-header{border-radius:var(--border-radius);display:flex;align-items:flex-start;border-bottom:3px solid var(--theme-primary);padding-bottom:7px;margin-bottom:15px;gap:15px;background:linear-gradient(135deg,white 20%,var(--theme-primary) 100%)}.mmc-bill-theme2 .logo-section{flex-shrink:0}.mmc-bill-theme2 .logo-section img{height:90px;width:90px;object-fit:contain}.mmc-bill-theme2 .company-section,.mmc-bill-theme2 .company-section div,.mmc-bill-theme2 .company-section span{flex:1;line-height:1.5}.mmc-bill-theme2 .invoice-title{flex-shrink:0;text-align:right}.mmc-bill-theme2 .invoice-title h2{margin:0;font-weight:700;background:var(--theme-primary);color:#fff;padding:6px 10px;border-radius:4px;letter-spacing:.5px}.mmc-bill-theme2 .info-cards-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.mmc-bill-theme2 .info-card{background:var(--theme-secondary);border:1px solid #e2e8f0;border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow)}.mmc-bill-theme2 .card-header{background:#fff;padding:12px 15px;border-bottom:1px solid #e2e8f0;font-weight:600;font-size:12px;color:var(--theme-primary)}.mmc-bill-theme2 .card-content{padding:15px}.mmc-bill-theme2 .client-name{font-weight:600;color:#1e293b;margin-bottom:5px}.mmc-bill-theme2 .detail-row{display:flex;justify-content:space-between;margin-bottom:8px;align-items:center}.mmc-bill-theme2 .detail-heading{font-weight:800}.mmc-bill-theme2 .detail-value{font-weight:600}.mmc-bill-theme2 .table-container{margin:15px 0;border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid #e2e8f0}.mmc-bill-theme2 .invoice-table{width:100%;border-collapse:collapse;background:#fff}.mmc-bill-theme2 .invoice-table th{background:var(--theme-primary);color:#fff;padding:15px 12px;text-align:center;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.mmc-bill-theme2 .invoice-table td{padding:7px;border-bottom:1px solid #f1f5f9;vertical-align:top}.mmc-bill-theme2 .item-row:hover{background-color:#f8fafc}.mmc-bill-theme2 .item-row:last-child td{border-bottom:none}.mmc-bill-theme2 .col-sno{width:40px;text-align:center}.mmc-bill-theme2 .col-item{width:28%}.mmc-bill-theme2 .col-extra,.mmc-bill-theme2 .col-qty{width:70px;text-align:center}.mmc-bill-theme2 .col-rate,.mmc-bill-theme2 .col-disc,.mmc-bill-theme2 .col-tax{width:85px;text-align:right}.mmc-bill-theme2 .col-amount{width:100px;text-align:right}.mmc-bill-theme2 .sno-cell{text-align:center;font-weight:600;color:gray}.mmc-bill-theme2 .qty-cell{text-align:center}.mmc-bill-theme2 .extra-cell{text-align:center;word-break:break-word}.mmc-bill-theme2 .rate-cell,.mmc-bill-theme2 .disc-cell,.mmc-bill-theme2 .tax-cell,.mmc-bill-theme2 .amount-cell{text-align:right}.mmc-bill-theme2 .item-name{font-weight:600;color:#1e293b;margin-bottom:3px}.mmc-bill-theme2 .item-description{font-size:10px;color:gray;font-style:italic}.mmc-bill-theme2 .footer-wrapper{page-break-inside:avoid;break-inside:avoid}.mmc-bill-theme2 .invoice-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.mmc-bill-theme2 .left-footer-section{flex:1;min-width:0}.mmc-bill-theme2 .left-footer-section .notes-card{margin-top:0}.mmc-bill-theme2 .totals-card{flex:0 0 280px;background:#fff;border:1px solid #e2e8f0;border-radius:var(--border-radius);padding:7px 10px;box-shadow:var(--shadow)}.mmc-bill-theme2 .total-line{display:flex;justify-content:space-between;padding:7px 0;font-size:12px}.mmc-bill-theme2 .total-main{font-weight:700;font-size:14px;color:var(--theme-primary);border-top:2px solid var(--theme-primary);border-bottom:2px solid var(--theme-primary);margin:5px 0}.mmc-bill-theme2 .balance-due{font-weight:700;font-size:13px;background:var(--theme-secondary);padding:12px 7px;margin:0 -7px -4px;border-radius:0 0 var(--border-radius) var(--border-radius)}.mmc-bill-theme2 .extra-discount-line{color:#15803d}.mmc-bill-theme2 .notes-card{margin-top:20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow)}.mmc-bill-theme2 .payment-card{margin-top:14px;background:#fff;border:1px solid #e2e8f0;border-radius:var(--border-radius);padding:12px;box-shadow:var(--shadow);page-break-inside:avoid}.mmc-bill-theme2 .payment-heading{color:var(--theme-primary);font-weight:700;margin-bottom:8px}.mmc-bill-theme2 .payment-content{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}.mmc-bill-theme2 .payment-bank{flex:1;min-width:180px}.mmc-bill-theme2 .payment-line{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.mmc-bill-theme2 .payment-line span{color:#64748b}.mmc-bill-theme2 .payment-line strong{color:#1e293b;text-align:right}.mmc-bill-theme2 .payment-qr{display:flex;gap:9px;align-items:center}.mmc-bill-theme2 .payment-qr img{width:86px;height:86px}.mmc-bill-theme2 .payment-qr-text{display:flex;flex-direction:column;gap:4px}.mmc-bill-theme2 .payment-instructions{margin-top:8px;color:#64748b}.mmc-bill-theme2 .signature-section{text-align:right;padding-top:10px;page-break-inside:avoid}.mmc-bill-theme2 .blank-signature,.mmc-bill-theme2 .signature-image{display:inline-block;text-align:center;margin-right:20px}.mmc-bill-theme2 .blank-signature-line{border-bottom:1px solid #000;width:200px;height:60px}.mmc-bill-theme2 .signature-image img{width:150px;height:70px;object-fit:contain;margin-bottom:5px}.mmc-bill-theme2 .signature-image div,.mmc-bill-theme2 .blank-signature div{font-size:10px;color:gray;font-weight:500;margin-top:5px}@media print{@page{size:A4 portrait;margin:1cm}body{margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}.mmc-bill-theme3{width:100%;margin:0 auto}}.mmc-bill-theme3{--theme-primary: #6b7280;--theme-secondary: #f9fafb;width:100%;background:#fff}.mmc-bill-theme3,.mmc-bill-theme3 td,.mmc-bill-theme3 p,.mmc-bill-theme3 span,.mmc-bill-theme3 div{font-family:Inter,Arial,sans-serif;font-weight:400;font-size:11px;line-height:1.1;color:#111827}.mmc-bill-theme3 h1,.mmc-bill-theme3 h4,.mmc-bill-theme3 th{font-family:Inter,Arial,sans-serif;font-weight:700;margin:0}.mmc-bill-theme3 .paper{min-height:297mm;display:flex;flex-direction:column;position:relative}.mmc-bill-theme3 .content-wrapper{flex:1;display:flex;flex-direction:column}.mmc-bill-theme3 .header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:0}.mmc-bill-theme3 .header-left{flex:1;display:flex;flex-direction:column;gap:16px}.mmc-bill-theme3 .bill-type h1{margin:0;font-size:23px;font-weight:700;letter-spacing:.5px}.mmc-bill-theme3 .company-info{display:flex;align-items:baseline;flex-wrap:wrap;margin-top:20px}.mmc-bill-theme3 .company-info .company-name{font-weight:700;color:var(--theme-primary)}.mmc-bill-theme3 .company-info .company-name.title-small{font-size:15px}.mmc-bill-theme3 .company-info .company-name.title-medium{font-size:18px}.mmc-bill-theme3 .company-info .company-name.title-large{font-size:21px}.mmc-bill-theme3 .company-info .company-address-inline{font-size:11px;font-weight:400}.mmc-bill-theme3 .header-right{flex:0 0 auto;display:flex;align-items:flex-start}.mmc-bill-theme3 .logo-section img{height:90px;width:90px;object-fit:contain}.mmc-bill-theme3 .header-border{border-bottom:3px solid var(--theme-primary);margin-top:4px;margin-bottom:12px}.mmc-bill-theme3 .meta{display:flex;justify-content:space-between;margin:12px 0;gap:16px}.mmc-bill-theme3 .meta h4{margin:0 0 8px;font-size:11px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.mmc-bill-theme3 .meta-left{flex:1}.mmc-bill-theme3 .bill-to-section,.mmc-bill-theme3 .ship-to-section{margin-bottom:16px}.mmc-bill-theme3 .client-name{font-size:12px;font-weight:600;color:#111827;margin-bottom:4px}.mmc-bill-theme3 .client-info{font-size:11px;color:#111827;font-weight:600;margin-bottom:2px}.mmc-bill-theme3 .meta-center{flex:1;display:flex;flex-direction:column;gap:12px}.mmc-bill-theme3 .detail-col{display:flex;flex-direction:column;gap:4px}.mmc-bill-theme3 .detail-label{color:#6b7280;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.5px}.mmc-bill-theme3 .detail-value{color:#111827;font-weight:600;font-size:12px}.mmc-bill-theme3 .meta-right{flex:0 0 auto;text-align:right}.mmc-bill-theme3 .invoice-total-label{font-size:11px;color:#6b7280;font-weight:500;margin-bottom:4px}.mmc-bill-theme3 .invoice-total-amount{font-size:32px;font-weight:700;color:var(--theme-primary);line-height:1}.mmc-bill-theme3 table.items{width:100%;border-collapse:collapse;margin-top:12px}.mmc-bill-theme3 table.items th,.mmc-bill-theme3 table.items td{border-left:none;border-right:none;border-bottom:1px solid #e5e7eb;padding:7px;font-size:11px}.mmc-bill-theme3 table.items th{background:var(--theme-secondary);text-align:center;font-weight:700;color:#374151;font-size:10px;text-transform:uppercase;letter-spacing:.5px;border-top:3px solid var(--theme-primary);border-bottom:none;padding:10px 12px}.mmc-bill-theme3 .item-name{font-weight:600;color:#111827;margin-bottom:2px}.mmc-bill-theme3 .sub-text{color:#6b7280;font-size:10px;font-weight:400}.mmc-bill-theme3 .num{text-align:right!important}.mmc-bill-theme3 .extra{text-align:center!important;word-break:break-word}.mmc-bill-theme3 table.items td:nth-child(1){text-align:center}.mmc-bill-theme3 table.items td:nth-child(2){text-align:left}.mmc-bill-theme3 table.items td:nth-child(3),.mmc-bill-theme3 table.items td:nth-child(4),.mmc-bill-theme3 table.items td:nth-child(5),.mmc-bill-theme3 table.items td:nth-child(6),.mmc-bill-theme3 table.items td:nth-child(7){text-align:right}.mmc-bill-theme3 .qty{text-align:center!important}.mmc-bill-theme3 table.items th:nth-child(2){text-align:left}.mmc-bill-theme3 .totals{display:flex;justify-content:space-between;gap:15px;margin-bottom:0;page-break-inside:avoid}.mmc-bill-theme3 .totals .left-section{flex:1;display:flex;flex-direction:column;gap:16px}.mmc-bill-theme3 .totals .notes h4{font-size:11px;font-weight:700;color:#6b7280;margin-bottom:8px;letter-spacing:.5px}.mmc-bill-theme3 .payment-card{border-top:1px solid #e5e7eb;padding-top:12px;page-break-inside:avoid}.mmc-bill-theme3 .payment-heading{font-size:11px;font-weight:700;color:#6b7280;margin-bottom:8px;letter-spacing:.5px}.mmc-bill-theme3 .payment-content{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.mmc-bill-theme3 .payment-bank{flex:1;min-width:170px}.mmc-bill-theme3 .payment-line{display:flex;justify-content:space-between;gap:8px;padding:2px 0}.mmc-bill-theme3 .payment-line span{color:#6b7280}.mmc-bill-theme3 .payment-line strong{text-align:right}.mmc-bill-theme3 .payment-qr{display:flex;gap:8px;align-items:center}.mmc-bill-theme3 .payment-qr img{width:82px;height:82px}.mmc-bill-theme3 .payment-qr-text{display:flex;flex-direction:column;gap:4px}.mmc-bill-theme3 .payment-instructions{margin-top:8px;color:#6b7280}.mmc-bill-theme3 .totals .numbers{flex:0 0 280px}.mmc-bill-theme3 .totals .numbers p{display:flex;justify-content:space-between;margin:8px 0;border-bottom:1px solid #e5e7eb;padding-bottom:8px;font-size:11px}.mmc-bill-theme3 .totals .numbers p span:first-child{color:#6b7280;font-weight:500}.mmc-bill-theme3 .totals .numbers p span:last-child{color:#111827;font-weight:600}.mmc-bill-theme3 .totals .numbers p.grand{font-weight:700;font-size:14px;border-bottom:2.5px solid var(--theme-primary);padding-bottom:10px;margin-top:12px}.mmc-bill-theme3 .totals .numbers p.grand span{color:#111827;font-weight:700}.mmc-bill-theme3 .signature-section{margin-top:10px;text-align:right;page-break-inside:avoid}.mmc-bill-theme3 .blank-signature,.mmc-bill-theme3 .signature-image{display:inline-block;text-align:center}.mmc-bill-theme3 .blank-signature-line{border-bottom:1px solid #000;width:200px;height:60px}.mmc-bill-theme3 .signature-image img{width:150px;height:70px;object-fit:contain;margin-bottom:5px}.mmc-bill-theme3 .signature-label{font-size:10px;color:#6b7280;font-weight:500;margin-top:5px}.mmc-bill-theme3 .business-footer{margin-top:auto;padding-top:20px;page-break-inside:avoid}.mmc-bill-theme3 .footer-line{border-top:1px solid #ccc;margin-bottom:10px}.mmc-bill-theme3 .footer-text{font-size:9px;text-align:left}.mmc-bill-theme3 .footer-business-name{font-weight:600}.mmc-bill-theme3 table{page-break-inside:auto}.mmc-bill-theme3 tr{page-break-inside:avoid;page-break-after:auto}.mmc-bill-theme3 td{page-break-inside:avoid}.mmc-bill-theme3 thead{display:table-header-group}.mmc-bill-theme3 tbody{display:table-row-group}@media print{.mmc-bill-theme3 .business-footer{position:fixed;bottom:0;left:0;right:0;margin:0;padding:7px 0 0;background:#fff}.mmc-bill-theme3 .footer-line{margin-bottom:8px}.mmc-bill-theme3 .paper{min-height:auto!important;height:auto!important;padding-bottom:0;display:block}.mmc-bill-theme3 .content-wrapper{flex:none;display:block}.mmc-bill-theme3 .totals,.mmc-bill-theme3 .signature-section{break-inside:avoid;page-break-inside:avoid}}@media print{@page{size:A4 portrait;margin:1cm}body{margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}.mmc-bill-theme4{width:100%;margin:0 auto}}.mmc-bill-theme4{--theme-primary: #0f766e;--theme-secondary: #ecfdf5;width:100%;background:#fff;color:#111827}.mmc-bill-theme4,.mmc-bill-theme4 td,.mmc-bill-theme4 p,.mmc-bill-theme4 span,.mmc-bill-theme4 div{font-family:Inter,Arial,sans-serif;font-size:11px;line-height:1.35;margin:0!important}.mmc-bill-theme4 th,.mmc-bill-theme4 h4,.mmc-bill-theme4 .text-bold,.mmc-bill-theme4 .section-label{font-family:Inter,Arial,sans-serif;font-weight:800}.mmc-bill-theme4 .invoice-container{max-width:900px;color:#111827}.mmc-bill-theme4 table{width:99.9%;border-collapse:collapse;page-break-inside:auto}.mmc-bill-theme4 tr{page-break-inside:avoid;page-break-after:auto}.mmc-bill-theme4 td{page-break-inside:avoid}.mmc-bill-theme4 thead{display:table-header-group}.mmc-bill-theme4 tbody{display:table-row-group}.mmc-bill-theme4 .header-table{border:1px solid #cbd5e1;margin-bottom:12px}.mmc-bill-theme4 .header-table td{border:1px solid #cbd5e1;padding:10px;vertical-align:top}.mmc-bill-theme4 .business-cell{width:62%}.mmc-bill-theme4 .invoice-meta-cell{width:38%}.mmc-bill-theme4 .business-wrap{display:flex;align-items:flex-start;gap:12px}.mmc-bill-theme4 .logo-section{width:82px;min-width:82px;height:82px;display:flex;align-items:center;justify-content:center}.mmc-bill-theme4 .logo-section img{width:82px;height:82px;object-fit:contain}.mmc-bill-theme4 .company-info{flex:1}.mmc-bill-theme4 .company-title{color:var(--theme-primary);font-weight:800;letter-spacing:.02em;text-transform:uppercase}.mmc-bill-theme4 .company-title-small{font-size:14px!important}.mmc-bill-theme4 .company-title-medium{font-size:18px!important}.mmc-bill-theme4 .company-title-large{font-size:23px!important}.mmc-bill-theme4 .company-line{margin-top:3px!important}.mmc-bill-theme4 .invoice-title{padding:8px 10px;margin:-10px -10px 10px!important;background:var(--theme-primary);color:#fff;font-size:22px;font-weight:900;text-align:center;letter-spacing:.08em}.mmc-bill-theme4 .invoice-info{display:grid;gap:7px}.mmc-bill-theme4 .invoice-info>div{display:flex;justify-content:space-between;gap:14px;padding-bottom:5px;border-bottom:1px dashed #cbd5e1}.mmc-bill-theme4 .party-cell{width:50%;min-height:86px}.mmc-bill-theme4 .section-label{margin-bottom:5px!important;color:var(--theme-primary);text-transform:uppercase;letter-spacing:.08em}.mmc-bill-theme4 .party-name{font-weight:800;font-size:12px}.mmc-bill-theme4 .party-address{color:#334155;margin-top:4px!important}.mmc-bill-theme4 .item-table,.mmc-bill-theme4 .tax-calc-table{margin-top:10px}.mmc-bill-theme4 .item-table th,.mmc-bill-theme4 .item-table td,.mmc-bill-theme4 .tax-calc-table th,.mmc-bill-theme4 .tax-calc-table td{border:1px solid #cbd5e1;padding:7px;vertical-align:top}.mmc-bill-theme4 .item-table th,.mmc-bill-theme4 .tax-calc-table th{background:var(--theme-secondary);color:#0f172a;text-align:center;text-transform:uppercase;font-size:10px;letter-spacing:.04em}.mmc-bill-theme4 .col-sno{width:42px}.mmc-bill-theme4 .col-items{min-width:190px;text-align:left!important}.mmc-bill-theme4 .col-hsn,.mmc-bill-theme4 .col-extra,.mmc-bill-theme4 .col-qty{width:70px}.mmc-bill-theme4 .col-rate,.mmc-bill-theme4 .col-discount,.mmc-bill-theme4 .col-tax{width:88px}.mmc-bill-theme4 .col-amount{width:100px}.mmc-bill-theme4 .center-cell{text-align:center!important}.mmc-bill-theme4 .num-cell{text-align:right!important}.mmc-bill-theme4 .sub-text{color:#64748b;font-size:10px;font-weight:400}.mmc-bill-theme4 .item-total-row td,.mmc-bill-theme4 .tax-total-row td{background:var(--theme-secondary);font-weight:800}.mmc-bill-theme4 .total-label-cell{text-align:right}.mmc-bill-theme4 .split-head{padding:0!important}.mmc-bill-theme4 .split-head>span{display:block;padding:6px}.mmc-bill-theme4 .split-head>div{display:grid;grid-template-columns:.8fr 1.2fr;border-top:1px solid #cbd5e1}.mmc-bill-theme4 .split-head>div span{padding:5px}.mmc-bill-theme4 .split-head>div span+span{border-left:1px solid #cbd5e1}.mmc-bill-theme4 .split-cell{padding:0!important}.mmc-bill-theme4 .split-cell-inner{display:grid;grid-template-columns:.8fr 1.2fr;gap:0;text-align:right}.mmc-bill-theme4 .split-cell-inner span{padding:7px}.mmc-bill-theme4 .split-cell-inner span+span{border-left:1px solid #cbd5e1}.mmc-bill-theme4 .footer-section{display:flex;justify-content:space-between;gap:20px;margin-top:16px!important}.mmc-bill-theme4 .left-footer-section{flex:1;min-width:0}.mmc-bill-theme4 .totals-section{flex:0 0 300px;border:1px solid #cbd5e1;align-self:flex-start}.mmc-bill-theme4 .total-row{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid #cbd5e1}.mmc-bill-theme4 .total-row:last-child{border-bottom:0}.mmc-bill-theme4 .total-label{font-weight:700}.mmc-bill-theme4 .total-value{text-align:right;min-width:95px}.mmc-bill-theme4 .grand-total{background:var(--theme-primary);color:#fff;font-weight:900;font-size:12px}.mmc-bill-theme4 .balance-due{color:#dc2626;font-weight:800}.mmc-bill-theme4 .extra-discount-row{color:#15803d}.mmc-bill-theme4 .notes{padding:10px;border:1px solid #cbd5e1;margin-bottom:12px!important}.mmc-bill-theme4 .notes h4{margin:0 0 6px!important;color:var(--theme-primary)}.mmc-bill-theme4 .notes p{margin:4px 0!important}.mmc-bill-theme4 .payment-card{margin-top:12px!important;padding:10px;border:1px solid #cbd5e1;page-break-inside:avoid}.mmc-bill-theme4 .payment-heading{color:var(--theme-primary);font-weight:800;margin-bottom:8px!important}.mmc-bill-theme4 .payment-content{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.mmc-bill-theme4 .payment-bank{flex:1;min-width:170px}.mmc-bill-theme4 .payment-line{display:flex;justify-content:space-between;gap:8px;padding:2px 0}.mmc-bill-theme4 .payment-line span{color:#64748b}.mmc-bill-theme4 .payment-line strong{text-align:right}.mmc-bill-theme4 .payment-qr{display:flex;gap:8px;align-items:center}.mmc-bill-theme4 .payment-qr img{width:82px;height:82px}.mmc-bill-theme4 .payment-qr-text{display:flex;flex-direction:column;gap:4px}.mmc-bill-theme4 .payment-instructions{margin-top:8px!important;color:#64748b}.mmc-bill-theme4 .signature-section{margin-top:28px!important;text-align:right;padding-top:18px;page-break-inside:avoid}.mmc-bill-theme4 .blank-signature,.mmc-bill-theme4 .signature-image{display:inline-block;text-align:center;margin-right:20px!important}.mmc-bill-theme4 .blank-signature-line{border-bottom:1px solid #111827;width:200px;height:58px}.mmc-bill-theme4 .signature-image img{width:150px;height:70px;object-fit:contain}
