.modalbox:has(.estimate-workspace){width:1080px;padding:0;background:#eeeee6}.estimate-workspace{padding:30px}.estimate-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}.estimate-heading h2{font-size:32px;margin:8px 0}.estimate-heading p{margin:0}.estimate-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.estimate-card{padding:24px;background:white;border:1px solid #d9ddd1;border-radius:9px;margin-bottom:18px}.estimate-card h3{font-size:17px;margin:0 0 18px}.item-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding:16px 0;border-top:1px solid #e4e6dd}.item-row .item-description{grid-column:1/-1}.item-row label{margin:0;font-size:11px}.item-row input,.item-row select{padding:10px;font-size:12px}.item-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.item-bottom label{display:flex;align-items:center;gap:8px}.item-bottom input{width:16px;margin:0}.remove-item{border:0;background:transparent;color:#9a4530;font-size:11px}.estimate-summary{position:sticky;top:0;align-self:start}.summary-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:13px}.summary-row.grand{border-top:1px solid #d9ddd1;margin-top:10px;padding-top:18px;font-size:21px;font-weight:bold}.summary-row.credit{color:#a55128}.deposit-block{background:#f1f3eb;padding:15px;margin:20px 0;border-radius:5px}.deposit-block p{margin:0 0 5px;font-size:11px;color:#6d766c}.deposit-block strong{font-size:30px;letter-spacing:-1px}.estimate-actions{display:flex;gap:10px;flex-wrap:wrap}.estimate-actions .btn{flex:1;font-size:11px;padding:15px}.estimate-sheet{background:#fff;border-radius:7px;overflow:hidden;border:1px solid #dcded4}.sheet-brand{background:#202723;color:#fff;padding:28px;display:flex;justify-content:space-between;gap:20px;align-items:center}.sheet-brand img{width:64px;height:64px;border-radius:50%;margin-right:12px}.sheet-brand .sheet-logo{display:flex;align-items:center;font-size:21px;font-weight:bold}.sheet-brand small{display:block;font-size:9px;letter-spacing:1.4px;margin-top:6px;font-weight:normal}.sheet-content{padding:28px}.sheet-title{display:flex;justify-content:space-between;gap:20px;margin-bottom:30px}.sheet-title h2{font-size:32px;margin:0 0 10px}.sheet-meta{font-size:11px;color:#6d766c;line-height:1.8}.sheet-scope{font-size:13px;border-top:1px solid #e0e4d8;padding:15px 0}.sheet-table{width:100%;border-collapse:collapse;font-size:12px}.sheet-table th{text-align:left;color:#6b7569;border-bottom:2px solid #202723;padding:12px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.6px}.sheet-table td{padding:16px 8px;border-bottom:1px solid #e5e8dc;vertical-align:top}.sheet-table th:last-child,.sheet-table td:last-child{text-align:right}.sheet-table small{display:block;color:#778070;font-size:10px;margin-top:6px}.sheet-totals{max-width:360px;margin:22px 0 25px auto}.sheet-notes{border-top:1px solid #dce1d4;padding-top:20px;font-size:12px;line-height:1.7}.sheet-footer{background:#f0f2e9;padding:16px 28px;font-size:10px;color:#687267}.approval-area{padding:24px;margin-top:18px;background:#fff;border-radius:7px}.approval-area .fields{grid-template-columns:1fr 1fr}.mini-preset{padding:8px 10px;border:1px solid #dadfd2;background:#f8f9f3;border-radius:4px;font-size:11px}.preset-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.estimate-invalid{color:#9a4530;font-size:12px}.sheet-preview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}@media(max-width:750px){.estimate-workspace{padding:26px 16px 18px}.estimate-columns{grid-template-columns:1fr}.estimate-card{padding:18px}.estimate-heading{display:block}.estimate-heading .tag{margin-top:12px}.estimate-heading h2{font-size:27px}.estimate-summary{position:static}.sheet-brand{padding:20px 15px}.sheet-brand .sheet-logo{font-size:15px}.sheet-brand img{width:44px;height:44px}.sheet-content{padding:20px 14px}.sheet-title{display:block}.sheet-title h2{font-size:28px}.sheet-title .sheet-meta{margin-top:15px}.sheet-table{font-size:11px}.sheet-table th,.sheet-table td{padding:12px 4px}.sheet-table th:nth-child(3),.sheet-table td:nth-child(3){display:none}.approval-area{padding:18px}.approval-area .fields{grid-template-columns:1fr}}@media print{body>*{display:none!important}#modal{display:block!important;position:static;background:white;padding:0}#modal .modalbox{width:100%;max-height:none;padding:0;overflow:visible}#modal .close,.estimate-workspace>.sheet-preview-heading,.approval-area,.estimate-actions{display:none!important}.estimate-sheet{border:0}.estimate-workspace{padding:0}.sheet-brand{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
