.reporting-page .page-breadcrumb{display:flex;gap:8px;align-items:center;margin:4px 0 18px}
.reporting-page .module-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:14px}
.reporting-page .module-heading h1{margin:0}.reporting-page .module-heading p{margin:4px 0 0}
.reporting-page .settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.reporting-page .standard-card{overflow:hidden}
.reporting-page .settings-card>div{display:grid;padding:7px 13px 14px}.reporting-page .settings-card a{display:flex;align-items:center;padding:10px 3px;border-bottom:1px solid #edf0f3}.reporting-page .settings-card a:hover{color:var(--hcf-text-link);background:#fafbfd}
.reporting-page .settings-card>header .card-note{color:var(--hcf-text-meta);font-size:var(--hcf-text-small);font-weight:var(--hcf-weight-bold)}
.reporting-page .icon{display:block;width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.reporting-page .settings-card a .icon{width:18px;height:18px;margin-left:auto}
.reporting-page .module-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.reporting-page .outline-small.disabled{opacity:.5;pointer-events:none}
.report-view-page .standard-card{margin-bottom:18px}.report-view-page .filter-card{position:relative;z-index:2;overflow:visible}.report-view-page .card-note{color:var(--hcf-text-meta);font-size:var(--hcf-text-small);font-weight:var(--hcf-weight-bold)}
.report-filters{padding:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.report-filters label{display:grid;gap:6px}.report-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.date-range-filter{grid-column:span 2}.report-filter-actions,.report-result-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-filter-actions{grid-column:-2/-1;align-self:end;justify-content:flex-end}.report-result-actions{margin-left:auto;justify-content:flex-end}.result-card .hcf-table-wrap{margin:0;border:0;border-radius:0}.report-empty{text-align:center!important;padding:36px 16px!important;color:var(--hcf-text-meta)}
.report-notice{display:flex;align-items:flex-start;gap:8px;padding:11px 16px;background:#eef5ff;color:var(--hcf-text-meta);border-bottom:1px solid #d9e7f8;font-size:var(--hcf-text-table)}.report-notice.warning{background:#fff7df;color:var(--hcf-text-warning)}.report-notice .icon{width:18px;height:18px;flex:none;margin-top:1px}
@media(max-width:1180px){.reporting-page .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.client-status-page{max-width:1320px;margin:auto}
.status-report-actions{display:flex;justify-content:flex-end;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.status-report-actions .disabled{opacity:.5;pointer-events:none}
.report-result-actions .disabled{opacity:.5;pointer-events:none}
.status-report-top{height:8px;background:linear-gradient(90deg,var(--hcf-navy) 0 86%,var(--hcf-gold) 86% 100%)}
.status-report-header{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr);gap:24px;align-items:start;padding:22px 28px 16px;border-bottom:2px solid var(--hcf-navy)}
.status-report-header h1,.status-report-header h2{margin:0}.status-report-header p{margin:5px 0 0;color:var(--hcf-text-meta);font-size:var(--hcf-text-small)}
.status-report-client{margin-bottom:4px}
.status-report-kicker{color:var(--hcf-text-meta);font-size:var(--hcf-text-label);font-weight:var(--hcf-weight-label);letter-spacing:var(--hcf-tracking-caps);text-transform:uppercase;margin-bottom:4px}
.status-report-meta{border-left:4px solid var(--hcf-gold);padding-left:14px;color:var(--hcf-text-meta);font-size:var(--hcf-text-small);line-height:1.55}
.status-report-summary{display:grid;grid-template-columns:1.5fr repeat(4,.7fr);background:#fafbfc;border-bottom:1px solid var(--hcf-line)}
.status-report-summary>div{min-width:0;padding:12px 16px;border-right:1px solid var(--hcf-line)}.status-report-summary>div:last-child{border-right:0}
.status-report-summary span{display:block;font-size:var(--hcf-text-label);font-weight:var(--hcf-weight-label);letter-spacing:var(--hcf-tracking-caps);text-transform:uppercase;color:var(--hcf-text-meta)}
.status-report-summary strong{display:block;margin-top:2px;color:var(--hcf-text-meta)}.status-report-summary .status-report-count{font-size:var(--hcf-text-metric);font-weight:var(--hcf-weight-bold);color:var(--hcf-text)}
.status-report-content{padding:16px 20px 22px}
.status-report-portfolio{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;border-bottom:3px solid var(--hcf-gold);padding:0 2px 8px;margin-bottom:9px}
.status-report-portfolio h3{margin:0}.status-report-portfolio p{margin:2px 0 0;font-size:var(--hcf-text-small);color:var(--hcf-text-meta)}
.status-report-portfolio small{font-size:var(--hcf-text-caption);color:var(--hcf-text-meta)}
.status-report-group{margin:0 0 12px;break-inside:avoid}
.status-report-grouphead{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--hcf-navy);border:1px solid var(--hcf-navy);border-bottom:0;padding:8px 10px;color:var(--hcf-text-inverse)}
.status-report-grouphead span{color:var(--hcf-text-inverse-meta);font-size:var(--hcf-text-caption);margin-left:10px;font-weight:var(--hcf-weight-regular)}.status-report-grouphead small{color:var(--hcf-text-accent);font-weight:var(--hcf-weight-label);letter-spacing:var(--hcf-tracking-caps);text-transform:uppercase;font-size:var(--hcf-text-caption);white-space:nowrap}
.status-report-table-wrap{overflow-x:auto}
.client-status-report table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid var(--hcf-line)}
.client-status-report th{background:#eaf0f4;text-align:left;padding:6px 7px;border-bottom:1px solid var(--hcf-line)}
.client-status-report td{padding:8px 7px;border-bottom:1px solid #e8edf0;vertical-align:top;line-height:1.32;overflow-wrap:anywhere}
.client-status-report tbody tr:nth-child(even){background:#fcfdfe}.client-status-report tbody tr:last-child td{border-bottom:0}
.client-status-report th:nth-child(1),.client-status-report td:nth-child(1){width:9%}.client-status-report th:nth-child(2),.client-status-report td:nth-child(2){width:23%}.client-status-report th:nth-child(3),.client-status-report td:nth-child(3){width:12%}.client-status-report th:nth-child(4),.client-status-report td:nth-child(4){width:15%}.client-status-report th:nth-child(5),.client-status-report td:nth-child(5){width:11%}.client-status-report th:nth-child(6),.client-status-report td:nth-child(6){width:30%}
.status-report-tenant{color:var(--hcf-text-meta)}.client-status-report td>span:not(.status-action-pill){display:block;font-size:var(--hcf-text-caption);color:var(--hcf-text-meta);margin-top:1px}
.status-report-date{white-space:nowrap}.status-report-note{font-size:var(--hcf-text-small);color:var(--hcf-text-meta);margin-top:4px;white-space:pre-line}
.status-report-footer{padding:11px 20px 14px;border-top:1px solid var(--hcf-line);display:flex;justify-content:space-between;gap:20px;font-size:var(--hcf-text-caption);color:var(--hcf-text-meta)}
.portfolio-summary-report .status-report-footer{justify-content:flex-end}
@media screen and (max-width:900px){.status-report-header,.status-report-portfolio,.status-report-footer{display:block}.status-report-meta{text-align:left;margin-top:8px}.status-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.status-report-summary>div{border-bottom:1px solid var(--hcf-line)}.status-report-summary>div:nth-child(even){border-right:0}.status-report-summary>div:last-child{grid-column:1/-1;border-bottom:0}.status-report-content{padding:10px}.client-status-report table{min-width:920px}}

.status-action-pill{display:inline-block;max-width:100%;padding:3px 7px;border-radius:999px;border:1px solid var(--hcf-line);font-size:var(--hcf-text-caption);font-weight:var(--hcf-weight-bold);letter-spacing:var(--hcf-tracking-caps);color:var(--hcf-text-meta);background:#eef1f3;overflow-wrap:anywhere}
.status-action-pill.court{color:var(--hcf-text-link);background:#edf4fb;border-color:#cfe0ee}
.status-action-pill.warrant{color:var(--hcf-text-danger);background:#fceeed;border-color:#efd2cf}
.status-action-pill.critical{color:var(--hcf-text-inverse);background:var(--hcf-text-danger);border-color:var(--hcf-text-danger)}
.status-action-pill.notice{color:var(--hcf-text-warning);background:#fff6dc;border-color:#ead9a7}
.status-action-pill.petition{color:var(--hcf-text-warning);background:#fff6dc;border-color:#ead9a7}
.status-action-pill.demand{color:var(--hcf-text-warning);background:#f7f1d9;border-color:#e3d79b}
.status-action-pill.service{color:var(--hcf-text-success);background:#eaf5f0;border-color:#cde4d9}
.status-action-pill.hold{color:var(--hcf-text-meta);background:#eef1f3;border-color:#d9dfe3}
.receivable-total-strip{grid-template-columns:minmax(0,1.25fr) repeat(6,minmax(0,.78fr))}
.receivable-total-strip>div{padding:12px 13px}
.receivable-total-strip strong{font-size:var(--hcf-text-table);font-weight:var(--hcf-weight-bold);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.receivable-total-strip .receivable-metric-total{font-size:var(--hcf-text-card-title)}
.receivable-total-strip .receivable-balance-due{background:var(--hcf-navy)}
.receivable-balance-due span{color:var(--hcf-text-inverse-meta)}.receivable-balance-due strong{color:var(--hcf-text-inverse)}
.receivable-table-wrap{overflow-x:auto;border:1px solid var(--hcf-line)}
.client-receivable-report table{width:100%;border-collapse:collapse;table-layout:fixed}
.client-receivable-report th{padding:7px;background:var(--hcf-navy);color:var(--hcf-text-inverse);text-align:left;border-right:1px solid rgba(255,255,255,.15)}
.client-receivable-report td{padding:8px 7px;vertical-align:top;border-bottom:1px solid var(--hcf-line);overflow-wrap:anywhere}
.client-receivable-report tbody tr:nth-child(even){background:#fcfdfe}
.client-receivable-report th:first-child,.client-receivable-report tbody td:first-child{width:11%}
.client-receivable-report th:nth-child(2),.client-receivable-report tbody td:nth-child(2){width:25%}
.client-receivable-report th:nth-child(n+3),.client-receivable-report tbody td:nth-child(n+3){width:10.666%}
.client-receivable-report td span{display:block;color:var(--hcf-text-meta);font-size:var(--hcf-text-caption);margin-top:2px;line-height:1.25}
.client-receivable-report .receivable-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.client-receivable-report .receivable-older{color:var(--hcf-text-warning)}
.receivable-total{color:var(--hcf-text-meta)}
.client-receivable-report tfoot td{background:#eaf0f4;border-top:2px solid var(--hcf-navy);font-weight:var(--hcf-weight-bold)}
.receivable-payment-note{display:flex;justify-content:space-between;gap:20px;margin-top:12px;padding:10px 12px;background:#f3f6f8;border-left:4px solid var(--hcf-gold);font-size:var(--hcf-text-small);color:var(--hcf-text-meta)}
.receivable-aging-note{margin:10px 0 0;font-size:var(--hcf-text-caption);color:var(--hcf-text-meta)}
@media screen and (max-width:1100px){.receivable-total-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.receivable-total-strip>div{border-bottom:1px solid var(--hcf-line)}.receivable-total-strip>div:last-child{grid-column:1/-1}}
@media screen and (max-width:900px){.status-report-header{grid-template-columns:1fr}.receivable-total-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.receivable-payment-note{display:block}.receivable-payment-note>div+div{margin-top:6px}.client-receivable-report table{min-width:980px}}
/* Print the visible summary at its screen type scale and spacing. Responsive screen rules must not
   change the paper layout, including when printing from a narrow browser window. */
@media print{
    @page client-status-summary{size:landscape;margin:.35in}
    .portfolio-summary-report{page:client-status-summary;print-color-adjust:exact;-webkit-print-color-adjust:exact}
    .client-status-page>.module-heading,.report-view-page>.module-heading,.result-card>header,.report-result-actions,.status-report-actions,.status-screen-only,.skip-link,.hcf-topbar{display:none!important}
    .client-status-page{max-width:none}
    .client-status-page .portfolio-summary-report{overflow:visible;margin:0}
    .status-report-table-wrap,.receivable-table-wrap{overflow:visible}
    /* A large building table must start in the available space and continue across pages. */
    .status-report-group:has(tbody tr:nth-child(7)){break-inside:auto}
    .portfolio-summary-report thead{display:table-header-group}
    .portfolio-summary-report tr,.status-report-header,.status-report-summary,.status-report-footer{break-inside:avoid}
    .status-report-grouphead,.status-report-portfolio{break-after:avoid}
    .client-receivable-report tfoot{display:table-row-group}
    .receivable-payment-note{break-inside:avoid}
}
@media(max-width:900px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.reporting-page .module-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.reporting-page .settings-grid,.report-filters{grid-template-columns:1fr}.date-range-filter{grid-column:auto}.report-range{grid-template-columns:1fr}.report-filter-actions,.report-result-actions{justify-content:flex-start}.reporting-page .module-actions{width:100%}}
@media print{.hcf-sidebar,.page-breadcrumb,.filter-card,.report-filter-actions,.report-result-actions .hcf-button-secondary,.module-actions,#hcf-page-loader,#blazor-error-ui{display:none!important}.hcf-shell{display:block}.hcf-content{padding:0;max-width:none}.reporting-page .module-heading{display:block}.report-view-page .standard-card:not(.portfolio-summary-report){border:0;box-shadow:none}.result-card .hcf-table-wrap{overflow:visible}.hcf-table th,.hcf-table td{padding:6px!important}}

/* Recorded report documents share the portfolio statement layout. */
.operational-report-metrics { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.operational-report-table { width: 100%; min-width: 55rem; border-collapse: collapse; }
.operational-report .receivable-number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.operational-report-metrics strong { font-size: var(--hcf-text-metric); font-weight: var(--hcf-weight-bold); overflow-wrap: anywhere; }
.operational-report-table th { background: var(--hcf-navy); color: var(--hcf-text-inverse); padding: .6rem; }
.operational-report-table td { padding: .6rem; border-bottom: 1px solid var(--hcf-line); vertical-align: top; }
@media print {
    .operational-report-table { min-width: 0; table-layout: fixed; }
    .portfolio-summary-report table th { line-height: 1.25; }
    .portfolio-summary-report table td { line-height: 1.35; }
    .operational-report-table th,.operational-report-table td { padding: 5pt 4pt; overflow-wrap: break-word; word-break: normal; }
    .operational-report .receivable-number,.operational-report .report-date { white-space: nowrap; }
    .operational-report-table tfoot { display: table-row-group; }
}
.operational-report-table tbody tr:nth-child(even) { background: var(--hcf-canvas); }
.operational-report-table tfoot { border-top: 2px solid var(--hcf-navy); background: var(--hcf-canvas); font-weight: var(--hcf-weight-bold); }
.report-document-actions { margin: 1rem 0; }
.report-group + .report-group { margin-top: 1.25rem; }
.report-group-heading > div { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.report-group-heading-row { display: none; }
.report-total-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; }
.report-total-values { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.5rem; font-variant-numeric: tabular-nums; }
.report-total-values > span { white-space: nowrap; }
.report-total-label { color: var(--hcf-text-meta); font-weight: var(--hcf-weight-regular); }
@media print {
    .report-view-page .result-card > header, .report-document-actions, .report-view-page .filter-card, .report-view-page .module-heading, .report-view-page .page-breadcrumb { display: none !important; }
    .operational-report-table thead { display: table-header-group; }
    .operational-report-table tr { break-inside: avoid; }
    .operational-report-table { min-width: 0; }
    .report-view-page .operational-report, .report-view-page .result-card { overflow: visible !important; }
}

.operational-report-table .report-description { min-width: 18rem; white-space: pre-wrap; overflow-wrap: anywhere; }
@media print { .operational-report-table .report-description { min-width: 0; overflow-wrap: break-word; } }

.report-export-status { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: 1rem; width: 100%; }
.report-export-ready { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; width: 100%; }
.report-export-files { display: grid; gap: .5rem; max-height: 24rem; overflow: auto; width: 100%; list-style: none; padding: 0; margin: 0; }
.report-export-files > li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-block: .25rem; }
.report-export-file-details { display: grid; gap: .25rem; }
.report-export-file-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.report-export-dialog-content { padding: 1rem 1.25rem; }
.report-export-dialog-content .report-export-status { padding: 0; }
.report-export-dialog-content .report-export-status > progress { width: 100%; }
.report-export-dialog-content .report-export-ready { align-items: flex-start; flex-direction: column; }
.report-export-dialog-content .report-export-files { max-height: none; overflow: visible; }
.report-export-dialog-content .report-export-files > li { padding-block: .75rem; }
.report-export-dialog-content .report-export-file-details span { font-size: var(--hcf-text-small); color: var(--hcf-text-meta); }
.report-export-dialog-content > .field-note { margin: 1rem 0 0; }

.case-report-preview{width:100%;height:min(76vh,900px);border:0}
.report-view-page .court-calendar-preview{overflow:hidden}
.report-view-page .court-calendar-preview iframe{width:100%;border:0;display:block;min-height:320px}
