.report-view { background: #fff; color: #28323b; }
.property-visual { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; margin: 20px 0 28px; }
.property-visual.with-agent { grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr); }
.property-photo { margin: 0; min-width: 0; }
.photo-stage { background: #edf2f3; aspect-ratio: 16 / 9; max-height: 460px; display: grid; place-items: center; overflow: hidden; }
#house-photo { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#photo-empty { display: flex; flex-direction: column; gap: 16px; align-items: center; color: #647680; font-size: 14px; padding: 24px; text-align: center; }
#photo-empty img { width: 56px; height: 56px; }
.property-photo figcaption { color: #6a7780; font-size: 11px; padding-top: 8px; }
.agent-panel { padding: 24px 0 20px 28px; border-left: 1px solid #dce5e6; align-self: stretch; min-width: 0; }
.agent-brand { display: flex; align-items: center; gap: 12px; margin: 22px 0 30px; font-size: 20px; }
.agent-logo { max-width: 140px; max-height: 64px; object-fit: contain; }
.agent-monogram { display: grid; place-items: center; background: #155b50; color: white; width: 50px; height: 50px; flex-shrink: 0; font-size: 22px; font-family: Georgia, serif; }
.agent-identity { display: flex; align-items: center; gap: 18px; }
.agent-portrait { width: 92px; height: 112px; object-fit: cover; border-radius: 4px; }
.agent-identity h2 { font-size: 22px; margin-bottom: 6px; }
.agent-identity p { font-size: 13px; margin: 0 0 6px; color: #667780; }
.agent-identity small { font-size: 11px; }
.agent-contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-size: 14px; }
.agent-panel a, .agent-panel strong, .agent-panel h2, .agent-contacts span { overflow-wrap: anywhere; }
.agent-disclaimer { font-size: 11px; color: #73818a; margin: 22px 0 0; }
.visual-summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; border-top: 1px solid #dfe5e8; padding: 30px 0; }
.visual-summary h2 { font-size: 21px; margin-bottom: 24px; }
.value-row { margin: 0 0 20px; }
.chart-label { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 8px; }
.chart-label strong { font-size: 16px; }
.chart-track { height: 10px; background: #edf1f3; min-width: 0; overflow: hidden; }
.chart-track span { display: block; height: 100%; background: #2f7b6f; }
.value-0 .chart-track span { background: #537f9c; }
.value-1 .chart-track span { background: #b88b38; }
.value-row small { font-size: 10px; display: block; margin-top: 6px; }
.chart-note { color: #71808a; font-size: 11px; margin: 12px 0 0; }
.coverage-row { display: grid; grid-template-columns: 130px minmax(0,1fr) 34px; gap: 12px; align-items: center; font-size: 11px; margin-bottom: 9px; }
.coverage-row .chart-track { height: 6px; }
.coverage-row small { text-align: right; font-size: 10px; }
.branding-editor { margin: 18px 0; padding: 16px 0; border-block: 1px solid #dfe5e8; }
.branding-editor summary { cursor: pointer; color: #17695e; font-size: 13px; font-weight: 600; }
.branding-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 12px 0; }
.branding-fields label { font-size: 12px; min-width: 0; }
.branding-fields input { font-size: 13px; }
.branding-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 400; }
.branding-toggle input { width: 16px; height: 16px; }
#branding-message { font-size: 13px; }
@media(max-width: 900px) { .property-visual.with-agent { grid-template-columns: 1fr; } .agent-panel { border-left: 0; border-top: 1px solid #dce5e6; padding: 20px 0 0; } .agent-brand { margin: 12px 0 20px; } }
@media(max-width: 700px) { .visual-summary { grid-template-columns: 1fr; gap: 28px; } .branding-fields { grid-template-columns: 1fr; } .coverage-row { grid-template-columns: 110px minmax(0,1fr) 30px; gap: 8px; } .photo-stage { max-height: none; } }
@media print { .property-visual, .visual-summary { break-inside: avoid; } .photo-stage { max-height: 260px; } .property-visual.with-agent { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); } .agent-panel { border: 0; padding: 10px; } .agent-portrait { width: 60px; height: 76px; } .agent-brand { font-size: 16px; margin: 8px 0 14px; } .agent-identity h2 { font-size: 18px; } .visual-summary { gap: 30px; } .chart-track, .agent-monogram { print-color-adjust: exact; } }
.report-view main { max-width: 1280px; padding-top: 28px; }
.report-view .site-bar { padding-inline: max(24px, calc((100% - 1232px) / 2)); }
.report-view .notice { margin: 0 0 24px; font-size: 13px; padding: 10px 14px; }
#back-link { font-size: 13px; text-decoration: none; }
.eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 700; color: #576876; margin: 0 0 10px; }
.property-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.property-heading h1 { font-size: 32px; max-width: 860px; margin: 0; }
.property-heading .muted { font-size: 12px; margin: 10px 0 0; }
.report-actions { display: flex; gap: 8px; flex-shrink: 0; }
.report-actions button { width: 42px; height: 42px; padding: 10px; }
#report-message { color: #52616d; font-size: 14px; margin: 18px 0 24px; }
.property-highlights { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); margin: 0; border-block: 1px solid #dfe5e8; padding: 24px 0; gap: 16px; }
.property-highlights > div { min-width: 0; padding-left: 16px; border-left: 1px solid #e1e6e9; }
.property-highlights > div:first-child { padding-left: 0; border: 0; }
.property-highlights dt { font-size: 12px; color: #61717b; margin-bottom: 9px; }
.property-highlights dd { font-size: 23px; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.property-highlights dd.metric-text { font-size: 16px; line-height: 1.5; }
.research-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; padding: 22px 0; align-items: center; }
.research-summary strong { font-size: 13px; margin-left: 12px; font-weight: 500; }
.research-summary progress { display: block; height: 5px; margin-top: 12px; border: none; border-radius: 0; background: #edf1f2; }
.research-summary progress::-webkit-progress-bar { background: #edf1f2; }
.research-summary progress::-webkit-progress-value { background: #218575; }
.research-summary p { font-size: 12px; margin: 0; }
.report-layout { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 36px; border-top: 1px solid #dfe5e8; padding-top: 28px; }
.report-sidebar { position: sticky; top: 24px; align-self: start; }
#section-nav { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
#section-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; color: #52616d; border-left: 2px solid transparent; font-size: 13px; text-decoration: none; }
#section-nav a[aria-current="true"] { border-left-color: #1c7969; color: #17695e; background: #edf6f2; font-weight: 600; }
#section-nav a:hover { background: #f3f6f7; }
#section-nav small { font-size: 11px; color: inherit; }
.sidebar-note { border-top: 1px solid #e1e6e9; padding-top: 18px; margin-top: 24px; font-size: 12px; color: #687780; line-height: 1.7; }
.finding-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr); gap: 12px; padding-bottom: 24px; }
.finding-filters > div { min-width: 0; }
.finding-filters label { font-size: 11px; font-weight: 600; color: #61717b; margin: 0 0 7px; }
.finding-filters input, .finding-filters select { font-size: 13px; height: 40px; margin: 0; padding: 8px 10px; border-color: #d7dfe3; max-width: none; width: 100%; }
.report-view .report-section { padding: 0 0 30px; border: 0; }
.section-heading { display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: #f3f6f8; border-top: 1px solid #dde4e8; }
.section-number { font-size: 12px; color: #56798e; font-weight: 600; }
.section-heading h2 { font-size: 18px; margin: 0; }
.section-heading > small { margin-left: auto; white-space: nowrap; font-size: 11px; }
.report-section dl { margin: 0; }
.report-view .fact { grid-template-columns: minmax(150px, .85fr) minmax(0,1.7fr); padding: 20px 16px; gap: 24px; border-top: 0; border-bottom: 1px solid #e5eaed; }
.report-view .fact dt { font-size: 13px; line-height: 1.6; }
.report-view .fact dt small { font-size: 10px; color: #6a7c86; margin-top: 4px; font-weight: 400; }
.report-view .fact dd { font-size: 14px; line-height: 1.65; }
.report-view .fact .source { font-size: 11px; margin-top: 7px; color: #71808a; }
.report-view .fact .source a { color: #48728d; }
.report-view .fact .status { font-size: 11px; font-weight: 500; padding: 3px 7px; }
.report-view .fact .status.unavailable { color: #65717c; background: #eef1f3; }
#filter-empty { padding: 32px 16px; background: #f4f6f7; color: #637480; }
@media(max-width: 1000px) { .report-layout { grid-template-columns: 170px minmax(0,1fr); gap: 20px; } .property-highlights { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 24px; } .property-highlights > div:nth-child(4) { border: 0; padding-left: 0; } }
@media(max-width: 700px) {
    .report-sidebar { display: none; } .report-layout { display: block; }
    .property-heading { align-items: flex-start; gap: 12px; } .property-heading h1 { font-size: 24px; }
    .report-actions { gap: 5px; } .report-actions button { width: 36px; height: 36px; padding: 8px; }
    .research-summary { grid-template-columns: 1fr; gap: 12px; } .research-summary strong { display: inline-block; margin: 8px 0 0 8px; font-size: 12px; }
    .finding-filters { grid-template-columns: 1fr 1fr; } .finding-filters > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
    .property-highlights dd { font-size: 20px; } .property-highlights dd.metric-text { font-size: 14px; }
    .report-view .fact { grid-template-columns: 1fr; gap: 8px; padding: 18px 12px; }
    .report-view .fact dt small { display: inline; margin-left: 8px; }
    .section-heading { padding-inline: 12px; } .section-heading h2 { font-size: 16px; }
}
@media print { .report-view main { padding: 0; } .report-layout { display: block; } .property-heading h1 { font-size: 26px; } .report-section[hidden], .fact[hidden] { display: grid !important; } .report-section[hidden] { display: block !important; } .section-heading { break-after: avoid; } .property-highlights { grid-template-columns: repeat(6,minmax(0,1fr)); } #filter-empty { display: none; } }
