/* Job 51: report content and per-dwelling detail. The hero cascade stays untouched. */
.report-controls button[aria-selected=true] { background: #f5ede1; color: #452a1c; border-color: #f5ede1; }
.report-controls button[aria-selected=true] span { color: #5c3a26; }
.report-title { text-align: center; margin: 26px 0; font-size: 18px; }
.reports-ready .report-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.report-render { position: relative; }
.report-render img { width: 100%; display: block; }
.report-logo-box { position: absolute; top: 1.1%; right: 8%; width: 28%; height: 3.5%; display: grid; place-items: center; border: 1px dashed #a08b78; border-radius: 2px; box-shadow: inset 0 0 0 1px #fff, 0 1px 0 #fff; color: #796450; background: #faf8f3; font-size: clamp(6px,.65vw,10px); letter-spacing: .04em; }
.reports-ready .report-stack { min-height: 660px; padding-top: 20px; }
.reports-ready .report-page { width: 39%; }
.reports-ready .report-page--1 { transform: translateX(-70%) rotate(-7deg) scale(.91); }
.reports-ready .report-page--2 { transform: translateX(70%) rotate(7deg) scale(.91); }
.reports-ready .report-page.is-front { transform: translateY(18px); }
.reports-ready .report-page:not(.is-front) figcaption { opacity: 1; }
.report-page figcaption { font-size: 12px; line-height: 1.5; }
.report-page figcaption span { display: block; font-size: 10px; opacity: .8; }
.report-logo-note { text-align: center; color: #f5ede1; font-size: 13px; margin: 16px auto 0; }
.report-export-note { margin-top: 10px; }
.report-gallery > .photo--aerial { position: relative; max-width: 350px; margin: 28px auto 0; border: 1px solid #c9a97f66; border-radius: 12px; overflow: hidden; }
.report-gallery > .photo--aerial img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.report-gallery > .photo--aerial figcaption { position: static; padding: 12px; color: #f5ede1; background: #452a1c; font-size: 11px; }
.unit-breakdown { margin-top: 24px; }
.unit-breakdown h4 { font-size: 11px; color: var(--mk-label); margin: 0 0 8px; font-weight: 400; }
.unit-breakdown ul { list-style: none; padding: 0; margin: 0; }
.unit-breakdown li { display: grid; grid-template-columns: 1.25fr 1fr .65fr; gap: 10px; padding: 8px 0; line-height: 1.4; border-top: 1px solid var(--color-line); font-size: 12px; }
.unit-breakdown li > div { display: grid; gap: 2px; align-content: center; }
.unit-breakdown li > div > span { font-size: 10px; color: var(--mk-label); }
.unit-v, .unit-r { text-align: right; }
.unit-breakdown li:not(:has(.unit-r)) .unit-v { grid-column: 2 / 4; }
.tabs-ready .strategy-pane { min-height: 620px; }
.strategy-pane dl { gap: 12px; }
.strategy-counts { margin: 12px 0; }
@media screen and (max-width: 767px) {
  .report-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 20px; }
  .report-controls button { font-size: 12px; padding: 10px 14px; }
  .report-controls button:first-child { grid-column: 1 / -1; min-height: 44px; text-align: center; }
  .reports-ready .report-stack { min-height: 0; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 100%; gap: 20px 12px; padding: 0; }
  .reports-ready .report-page { width: 100%; grid-area: auto; transform: none; }
  .reports-ready .report-page.is-front { grid-column: 1 / -1; width: 80%; transform: none; }
  .reports-ready .report-page:not(.is-front) figcaption { font-size: 10px; margin-top: 10px; }
  .report-page figcaption span { font-size: 9px; }
  .report-logo-box { font-size: 7px; }
  .unit-breakdown li { grid-template-columns: 1.25fr 1fr .7fr; gap: 8px; font-size: 11px; padding-block: 10px; }
  .unit-n strong { font-size: 10px; }
  .unit-breakdown li > div > span { font-size: 9px; }
  .tabs-ready .strategy-pane { min-height: 625px; }
}
@media (prefers-reduced-motion: reduce) {
  .reports-ready .report-page { transition: none; }
}
@media print {
  .report-group[hidden] { display: block !important; }
  .report-group { break-inside: avoid; }
  .reports-ready .report-stack { min-height: 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .reports-ready .report-page { grid-area: auto; width: 100%; transform: none !important; }
  .reports-ready .report-title { position: static; width: auto; height: auto; clip-path: none; }
  .tabs-ready .strategy-pane { min-height: 0; }
}

.unit-v > [data-source], .unit-r > [data-source] { font-size: 12px; font-weight: 600; color: var(--color-ink); }

@media screen and (min-width: 1100px) {
  .report-gallery.reports-ready:has(.photo--aerial) { display: grid; grid-template-columns: minmax(0,1fr) 220px; column-gap: 28px; }
  .report-gallery > .report-controls { grid-column: 1 / -1; }
  .report-gallery > .report-group { grid-column: 1; grid-row: 2; }
  .report-gallery > .photo--aerial { grid-column: 2; grid-row: 2; align-self: center; margin: 0; }
  .report-logo-note, .report-export-note { grid-column: 1 / -1; }
}
@media screen and (min-width: 768px) {
  .reports-ready .report-stack:has(> .report-page:nth-child(2):last-child) .report-page--1 { transform: translateX(-38%) rotate(-7deg) scale(.91); }
  .reports-ready .report-stack:has(> .report-page:nth-child(2):last-child) .report-page.is-front { transform: translateX(32%) translateY(18px); }
}
/* Owner's report note (6 Oct 2026), under the Reports heading. */
.reports-pitch { max-width: 760px; margin: 28px auto 8px; padding: 20px 24px; border: 1px solid #c9a97f66; border-radius: 16px; background: #ffffff0d; text-align: center; }
.reports-pitch h3 { margin: 0 0 8px; color: #f5ede1; font-size: 1.15rem; }
.reports-pitch p { margin: 0; color: #e3d1b8; line-height: 1.6; }
@media (max-width: 767px) { .reports-pitch { padding: 16px; text-align: left; } }
