@import url('/font.css');
.estimate-sheet{background:#fff;border:1px solid #DADADA;border-radius:10px;color:#2B2B2B;font:13px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;overflow:hidden}.estimate-sheet *{box-sizing:border-box}.estimate-sheet h2,.estimate-sheet h3,.estimate-sheet p,.estimate-sheet dl,.estimate-sheet dd{margin:0}.estimate-header{padding:30px 32px 25px;border-top:5px solid #D96A1D;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-bottom:1px solid #DADADA}.estimate-kicker{font-size:9px;font-weight:800;letter-spacing:1.8px;color:#626262;margin-bottom:9px}.estimate-header h2{font-size:23px;line-height:1.25;letter-spacing:-.6px;max-width:390px;overflow-wrap:anywhere}.estimate-header p{color:#626262;margin-top:8px;font-size:14px}.estimate-stamp{display:grid;text-align:right;gap:5px;max-width:240px;overflow-wrap:anywhere}.estimate-stamp>span{font-size:23px;letter-spacing:2px;font-weight:800;color:#A24810}.estimate-stamp strong{font-size:12px}.estimate-stamp small{color:#626262;font-size:11px}.estimate-details{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px 32px}.estimate-sheet h3{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;color:#626262;font-weight:800;margin-bottom:8px}.estimate-details p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.estimate-details .estimate-customer{font-size:14px;font-weight:750;color:#2B2B2B}.estimate-details dl{display:grid;gap:7px;align-content:start}.estimate-details dl>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:10px;font-size:11px}.estimate-details dt{color:#626262}.estimate-details dd{font-weight:650;overflow-wrap:anywhere}.estimate-scope{margin:0 32px 22px;padding:14px 16px;background:#FFFFFF;border-left:3px solid #DADADA;border-radius:0 5px 5px 0}.estimate-scope p,.estimate-notes p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.estimate-table-wrap{padding:0 32px}.estimate-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.estimate-number{width:34px}.estimate-quantity{width:82px}.estimate-rate{width:92px}.estimate-amount{width:102px}.estimate-table th{padding:11px 9px;background:#2B2B2B;color:#fff;font-size:9px;letter-spacing:.7px;text-transform:uppercase;font-weight:650;text-align:left}.estimate-table th.num,.estimate-table td.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.estimate-table td{padding:13px 9px;border-bottom:1px solid #DADADA;vertical-align:top}.estimate-table tbody tr:nth-child(even){background:#FFFFFF}.estimate-line-number{color:#767676;font-size:10px;padding-top:15px!important}.estimate-description{font-weight:550;overflow-wrap:anywhere}.estimate-unit{font-size:10px;color:#626262}.estimate-line-amount{font-weight:750}.estimate-unpriced{font-size:10px;color:#a65a14;font-weight:700}.estimate-bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 32px 24px}.estimate-bottom>p{font-size:10px;color:#626262;padding-top:12px}.estimate-total{text-align:right;border-top:3px solid #D96A1D;padding:12px 0 0;min-width:230px;display:grid;gap:3px}.estimate-total>span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}.estimate-total strong{font-size:32px;letter-spacing:-1px;line-height:1.2;font-variant-numeric:tabular-nums}.estimate-total small{font-size:9px;color:#626262}.estimate-warning{margin:0 32px 22px;padding:12px;background:#fff5e8;border:1px solid #f1d7b1;border-radius:5px;font-size:11px;color:#85501b}.estimate-notes{padding:0 32px 24px}.estimate-footer{border-top:1px solid #DADADA;padding:16px 32px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;background:#FFFFFF}.estimate-footer p{font-size:9px;color:#626262;max-width:400px}.estimate-footer>span{font-size:9px;color:#626262;white-space:nowrap}.estimate-footer b{color:#2B2B2B}.estimate-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px;flex-wrap:wrap}.estimate-actions p{font-size:11px;color:#626262}.estimate-print-body{margin:0;padding:30px;background:#FFFFFF}.estimate-print-body .estimate-sheet{max-width:900px;margin:auto}.estimate-print-body .estimate-print-controls{max-width:900px;margin:0 auto 18px;display:flex;justify-content:flex-end}.estimate-print-controls button{padding:10px 18px;border:0;border-radius:6px;background:#2B2B2B;color:white;font:600 13px system-ui;cursor:pointer}@media(max-width:600px){.estimate-header{padding:20px 16px;gap:14px}.estimate-header h2{font-size:18px}.estimate-stamp>span{font-size:17px}.estimate-details{padding:18px 16px;grid-template-columns:1fr;gap:16px}.estimate-scope{margin:0 16px 18px}.estimate-table-wrap{padding:0 12px;overflow:auto}.estimate-table{min-width:470px}.estimate-bottom{padding:18px 16px;gap:10px}.estimate-total{min-width:180px}.estimate-total strong{font-size:27px}.estimate-footer{padding:14px 16px;display:block}.estimate-footer>span{display:block;margin-top:8px}.estimate-warning{margin:0 16px 18px}.estimate-notes{padding:0 16px 18px}.estimate-print-body{padding:10px}}@page{size:letter;margin:14mm}@media print{.estimate-print-body{background:#fff;padding:0}.estimate-print-body .estimate-print-controls{display:none}.estimate-sheet{border:0;border-radius:0;font-size:11px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.estimate-header{padding:12px 0 20px}.estimate-details{padding:20px 0}.estimate-scope{margin:0 0 18px}.estimate-table-wrap{padding:0;overflow:visible}.estimate-table{min-width:0}.estimate-table thead{display:table-header-group}.estimate-table tr{break-inside:avoid}.estimate-bottom{padding:18px 0;break-inside:avoid}.estimate-notes{padding:0 0 20px}.estimate-warning{margin:0 0 18px}.estimate-footer{padding:14px 0;background:white;break-inside:avoid}.estimate-stamp,.estimate-total{break-inside:avoid}}

.support-section{padding:0 32px 24px}.support-request{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.support-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.support-facts>div{padding:10px 0;border-bottom:1px solid #DADADA;break-inside:avoid}.support-facts dt{font-size:10px;color:#626262;margin-bottom:4px}.support-facts dd{font-size:12px;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere}.support-empty{font-size:12px;color:#626262}.support-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 16px}.support-amounts>div{background:#FFFFFF;border:1px solid #DADADA;border-radius:6px;padding:14px;break-inside:avoid}.support-amounts span{display:block;font-size:10px;color:#626262;margin-bottom:5px}.support-amounts strong{font-size:17px;font-variant-numeric:tabular-nums}.support-review ul{margin:8px 0 0;padding-left:18px}.support-review li+li{margin-top:5px}@media(max-width:600px){.support-section{padding:0 16px 20px}.support-facts{grid-template-columns:1fr}.support-amounts strong{font-size:14px}}@media print{.support-section{padding:0 0 20px}.support-facts{grid-template-columns:1fr 1fr}.support-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.support-review{break-inside:avoid}}

/* Contractor-first document treatment, using the existing document contents. */
.estimate-sheet{color:#2B2B2B;border-color:#DADADA;border-radius:9px;font-variant-numeric:tabular-nums}
.estimate-header{border-top:3px solid #D96A1D;border-bottom:1px solid #DADADA}
.estimate-header h2{font-family:Montserrat,Inter,sans-serif;font-weight:700;font-size:25px}
.estimate-stamp>span{font-family:Montserrat,Inter,sans-serif;color:#A24810;font-size:22px}
.estimate-kicker{color:#626262}.estimate-sheet h3{color:#A24810;font-weight:650}
.estimate-scope{background:#FFFFFF;border:1px solid #DADADA;border-left:3px solid #D96A1D;border-radius:0}
.estimate-table th{background:#FFFFFF;color:#555555;border-top:1px solid #D96A1D;border-bottom:1px solid #DADADA}
.estimate-table td{border-color:#E5E5E5}.estimate-table tbody tr:nth-child(even){background:#FFFFFF}
.estimate-total{border-color:#D96A1D}.estimate-total strong{font-weight:650}
.estimate-footer{background:#FFFFFF;border-color:#DADADA}.estimate-footer b{color:#2B2B2B}
.estimate-print-body{background:#FFFFFF}.estimate-print-controls button{background:#D96A1D;color:#211A14;font-family:Inter,sans-serif}
.support-amounts>div{background:#FFFFFF;border-color:#DADADA}
@media print{.estimate-header{padding:12px 0 18px}.estimate-header h2{font-size:23px}.estimate-table td{padding:10px 9px}.estimate-details,.estimate-scope,.estimate-header{break-inside:avoid}.estimate-table thead{display:table-header-group}.estimate-table tr{break-inside:avoid}.estimate-sheet{border-radius:0}}
@media print{
 .estimate-header{padding:10px 0 14px;gap:18px}
 .estimate-header p{font-size:12px;margin-top:6px}
 .estimate-kicker{margin-bottom:6px}
 .estimate-details{padding:14px 0;gap:20px}
 .estimate-details dl{gap:5px}.estimate-details p{font-size:11px}
 .estimate-scope{padding:10px 12px;margin-bottom:14px}
 .estimate-scope p,.estimate-notes p{font-size:10.5px;line-height:1.5}
 .estimate-table{font-size:11px}.estimate-table th{padding:8px}
 .estimate-table td{padding:7px 8px}.estimate-line-number{padding-top:9px!important}
 .estimate-bottom{padding:14px 0}.estimate-total{padding-top:9px}
 .estimate-notes{padding-bottom:12px}.estimate-sheet h3{margin-bottom:6px}
 .estimate-footer{padding:10px 0}.estimate-footer p,.estimate-footer>span{font-size:8px}
}
@page{size:letter;margin:12mm}
@media print{
 .estimate-table td{padding:5px 8px}.estimate-line-number{padding-top:7px!important}
 .estimate-details{padding:12px 0}.estimate-notes{padding-bottom:8px;break-inside:avoid}
 .estimate-sheet h3{break-after:avoid}.estimate-footer{margin-top:4px}
}

/* Clean, email-ready client invoice with a restrained charcoal/orange identity. */
.professional-invoice{max-width:900px;margin-inline:auto;border-radius:8px}
.professional-invoice .invoice-header{align-items:center;padding:30px 34px;border-top:5px solid #D96A1D}
.professional-invoice .invoice-header h2{font-size:25px}.professional-invoice .invoice-header>div:first-child>p{font-size:11px;white-space:pre-wrap;max-width:390px}
.professional-invoice .invoice-header .estimate-stamp>span{font-size:30px;letter-spacing:2.5px;color:#2B2B2B}
.invoice-identity{padding:26px 34px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.invoice-identity h3{font-size:10px}.invoice-identity p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.invoice-identity .invoice-billto{font-weight:750;font-size:16px}
.invoice-identity dl{margin:0;display:grid;gap:7px}
.invoice-identity dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;font-size:11px}
.invoice-identity dt{color:#626262}.invoice-identity dd{font-weight:700;overflow-wrap:anywhere;margin:0}
.invoice-work{margin:4px 34px 26px;padding:16px 19px;border:1px solid #E5E5E5;border-left:3px solid #D96A1D}
.invoice-work h2{font-size:16px;font-weight:700;margin:0 0 7px}
.invoice-work p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.professional-invoice .estimate-table-wrap{padding:0 34px}
.professional-invoice .estimate-table th{background:#2B2B2B;color:#fff;border:0}
.professional-invoice .estimate-table td{padding:11px 9px}
.invoice-settlement{padding:26px 34px 20px;display:grid;grid-template-columns:1fr minmax(220px,290px);gap:32px;align-items:start}
.invoice-payment-notes{padding-top:8px}.invoice-payment-notes p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;color:#626262}
.invoice-amounts{display:grid;gap:8px}.invoice-amounts>div{display:flex;justify-content:space-between;gap:18px;font-size:12px}.invoice-amounts>div span{color:#626262}.invoice-amounts strong{font-variant-numeric:tabular-nums}
.invoice-amounts .invoice-due{padding:14px 0 0;border-top:3px solid #D96A1D;align-items:center}.invoice-due span{font-weight:700!important;color:#2B2B2B!important}.invoice-due strong{font-size:25px;white-space:nowrap}
.invoice-notes{padding:0 34px 22px}.invoice-notes p{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}
.invoice-footer{padding:17px 34px}.invoice-warning ul{padding-left:20px;margin:6px 0 0}
@media(max-width:600px){.professional-invoice .invoice-header{padding:20px 18px}.invoice-identity{grid-template-columns:1fr;padding:20px 18px}.invoice-work{margin:0 18px 20px}.professional-invoice .estimate-table-wrap{padding:0 12px}.invoice-settlement{padding:22px 18px;grid-template-columns:1fr;gap:18px}.invoice-notes{padding:0 18px 20px}.invoice-footer{padding:14px 18px}}
@media print{.professional-invoice .invoice-header{padding:12px 0 18px}.invoice-identity{padding:18px 0;gap:18px}.invoice-work{margin:0 0 18px;break-inside:avoid}.professional-invoice .estimate-table-wrap{padding:0}.professional-invoice .estimate-table th{background:#2B2B2B!important;color:white!important}.invoice-settlement{padding:18px 0;break-inside:avoid}.invoice-notes{padding:0 0 14px}.invoice-footer{padding:14px 0}}
