.report-purpose { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid #cbd6de; }
.report-purpose label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 8px; color: #f2f7fa; }
.report-purpose select { width: 100%; max-width: 440px; min-height: 46px; padding: 10px 12px; border: 1px solid #879eae; border-radius: 8px; background: white; color: #102638; font: inherit; }
.report-purpose p, .report-print-help { font-size: 13px; line-height: 1.5; color: #c4d5e1; margin: 9px 0; }
.report-breakdowns:not([hidden]) { display: grid; gap: 12px; padding: 8px 0 16px; }
.report-breakdowns[hidden] { display: none; }
body[data-page="insulation"] .report-screen-material-table { table-layout: fixed; width: 100%; }
body[data-page="insulation"] .report-screen-material-table th:first-child { width: 64%; }
body[data-page="insulation"] .report-screen-material-table td { overflow-wrap: anywhere; }
body[data-page="insulation"] .report-screen-material-table td:nth-child(2) { text-align: right; }
.report-breakdowns label, .report-breakdowns .check-line span { min-height: 30px; color: #d5e2ec; }
@media(max-width: 600px) {
 .supplier-summary .clipboard-actions { display: grid; grid-template-columns: 1fr; }
 .supplier-summary .copy-button, .supplier-summary .print-button { width: 100%; min-height: 46px; white-space: normal; }
 .report-purpose select { max-width: none; }
}
@media print {
 @page { margin: 0.55in; }
 .professional-report { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1.45; }
 .professional-report .print-brand { border-bottom: 2px solid #31536a; color: #102638; padding-bottom: 6px; margin-bottom: 10px; }
 .professional-report .print-brand strong { font-size: 22pt; }
 .professional-report .print-brand span { font-size: 10pt; text-align: right; }
 .professional-report h1 { font-size: 20pt; line-height: 1.2; margin: 10px 0 6px; color: #102638; }
 .professional-report .report-basis { font-size: 8.5pt; color: #526675; margin: 0 0 8px; }
 .professional-report .print-section, .professional-report .print-ceiling-block, .professional-report .print-spec-list, .professional-report .print-spec-block { break-inside: auto; }
 .professional-report h2, .professional-report h3 { break-after: avoid; }
 .professional-report[data-purpose="supplier"] .print-ceiling-block { break-inside: avoid; }
 .professional-report h2 { font-size: 12pt; color: #102638; }
 .professional-report .print-table { table-layout: fixed; font-size: 9pt; }
 .professional-report .print-table th, .professional-report .print-table td { overflow-wrap: anywhere; padding: 5px 8px; }
 .professional-report[data-purpose="detailed"] .print-table { line-height: 1.3; }
 .professional-report[data-purpose="detailed"] .print-table td { padding-top: 3px; padding-bottom: 3px; }
 .professional-report[data-purpose="detailed"] h3 { margin-top: 8px; margin-bottom: 4px; }
 .professional-report .print-accessory-note { padding: 6px 8px; margin: 8px 0; }
 .professional-report .print-subhead { margin-bottom: 10px; }
 .professional-report .print-act-spec-table td { padding: 3px 8px; }
 .professional-report .print-act-spec-table td:first-child { width: 17%; overflow-wrap: normal; word-break: normal; }
 .professional-report .print-insulation-spec-table td:first-child { width: 28%; overflow-wrap: normal; }
 .professional-report .report-item { break-inside: avoid; }
 body[data-page="drywall"] .professional-report .print-section { margin: 10px 0; }
 body[data-page="drywall"] .professional-report .print-table th { padding-top: 3px; padding-bottom: 3px; }
 body[data-page="drywall"] .professional-report .print-disclaimer { margin-top: 5px; }
 .professional-report .report-wall-table th:nth-child(1) { width: 7%; }
 .professional-report .report-wall-table th:nth-child(2) { width: 11%; }
 .professional-report .report-wall-table th:nth-child(3) { width: 34%; }
 .professional-report .report-wall-table th:nth-child(4) { width: 14%; }
 .professional-report .report-wall-table th:nth-child(5) { width: 20%; }
 .professional-report .report-wall-table th:nth-child(6) { width: 14%; }
 .professional-report .report-ceiling-table th:nth-child(1) { width: 12%; }
 .professional-report .report-ceiling-table th:nth-child(2) { width: 37%; }
 .professional-report .report-ceiling-table th:nth-child(3) { width: 14%; }
 .professional-report .report-ceiling-table th:nth-child(4) { width: 23%; }
 .professional-report .report-ceiling-table th:nth-child(5) { width: 14%; }
 .professional-report .print-table:not(.report-material-table) { break-inside: avoid; }
 .professional-report .print-meta { gap: 5px 20px; margin: 10px 0 12px; }
 .professional-report .print-section { margin: 14px 0; }
 .professional-report .report-footer { break-inside: avoid; }
 .professional-report .report-tail { break-inside: avoid; }
 .professional-report .print-table thead { display: table-header-group; }
 .professional-report .print-table tr { break-inside: avoid; }
 .professional-report .print-table th { color: #31536a; font-size: 8pt; background: #eef2f5; }
 .professional-report .report-material-table th:first-child { width: 66%; }
 .professional-report .report-material-table th:nth-child(2), .professional-report .report-material-table td:nth-child(2) { width: 18%; text-align: right; font-variant-numeric: tabular-nums; }
 .professional-report .report-material-table th:last-child, .professional-report .report-material-table td:last-child { width: 16%; text-align: left; }
 .professional-report .print-meta strong { overflow-wrap: anywhere; }
 .professional-report .print-site-footer { margin-top: 12px; border-top: 1px solid #cbd6de; padding-top: 6px; font-size: 9pt; }
 .professional-report .print-disclaimer { margin-top: 10px; padding-top: 6px; }
 .professional-report .print-disclaimer, .professional-report .print-accessory-note { font-size: 8pt; color: #526675; }
}

@media print {
 .professional-report .report-calculations .act-math-block { color: #102638; background: transparent; border: 0; padding: 0; margin: 10px 0; break-inside: auto; }
 .professional-report .report-calculations .math-line { display: block; border-bottom: 1px solid #e1e7eb; padding: 4px 0; }
 .professional-report .report-calculations .math-line span { display: block; font-weight: bold; color: #31536a; }
 .professional-report .report-calculations code { white-space: normal; overflow-wrap: anywhere; font: inherit; color: #102638; background: transparent; }
 .professional-report .report-calculations p, .professional-report .report-calculations li { overflow-wrap: anywhere; color: #102638; }
 .professional-report .act-math-block-head { color: #102638; background: transparent; }
 .professional-report[data-purpose="estimate"] .print-table { break-inside: auto; }
 .professional-report[data-purpose="estimate"] .print-table td:last-child { font-variant-numeric: tabular-nums; text-align: right; }
 .professional-report[data-purpose="estimate"] .compact-table th:first-child { width: 30%; }
 .professional-report[data-purpose="estimate"] .compact-table th:last-child { width: 20%; }
 .professional-report[data-purpose="estimate"] .print-section:last-of-type, .professional-report .report-price-summary { break-inside: avoid; }
}

@media print {
 .report-adapted p { margin: 6px 0; }
 .report-adapted .report-calculations h4 { margin: 8px 0 4px; break-after: avoid; }
 .report-adapted .report-calculations li { margin: 3px 0; }
 .professional-report[data-purpose="estimate"] .print-section:first-of-type th:first-child { width: 50%; }
 .professional-report[data-purpose="estimate"] .print-section:first-of-type th:nth-child(2) { width: 30%; }
 .professional-report[data-purpose="estimate"] .print-section:first-of-type th:last-child { width: 20%; }
}
