/* Sample report page: hero summary, highlighted findings, and the paged list of all findings. */
.sr-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 64px; align-items: center; }
.sr-hero h1 { font-size: clamp(38px, 4vw, 56px); }
.sr-hero .review-lead { color: #3f4b44; }
.sr-summary { padding: 30px; border: 1px solid #d2e0d7; border-radius: 18px; background: #fff; box-shadow: 0 18px 45px rgba(24,62,43,.05); }
.sr-summary .eyebrow { margin-bottom: 12px; }
.sr-project { display: grid; gap: 4px; margin: 0 0 22px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.sr-project span { color: #5b675f; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.sr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 18px; border: 1px solid #e1e8e3; border-radius: 12px; overflow: hidden; background: #e1e8e3; }
.sr-stats div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 16px 18px; background: #fbfcfa; }
.sr-stats dt { color: #5b675f; font-size: 13px; line-height: 1.4; }
.sr-stats dd { margin: 0; color: #1f2b24; font-size: 34px; font-weight: 650; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sr-breakdown { margin: 0; color: #4a564e; font-size: 14px; line-height: 1.6; }

.review-page #highlights .review-section-intro p { color: #3f4b44; font-size: 17px; }
.sr-cards { display: grid; gap: 40px; margin-top: 44px; }
.sr-card { padding: 36px; border: 1px solid #dce5df; border-radius: 16px; background: #fff; scroll-margin-top: 90px; }
.sr-card:target { outline: 2px solid #789c87; outline-offset: 3px; }
.sr-card header h3 { margin: 14px 0 0; font-size: 25px; line-height: 1.3; }
.sr-number { color: #7b867e; font-variant-numeric: tabular-nums; }
.review-page .sr-severity-medium { color: #8a5a12; background: #fdf3de; }
.sr-contrast { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 24px 0; }
.sr-contrast p { display: grid; gap: 4px; flex: 1 1 220px; margin: 0; padding: 14px 18px; border: 1px solid #f0d9a8; border-radius: 10px; background: #fffaf0; line-height: 1.35; }
.sr-contrast span { color: #6f5f40; font-size: 13px; }
.sr-contrast strong { color: #2a2418; font-size: 21px; font-weight: 650; letter-spacing: -.015em; }
.sr-vs { align-self: center; color: #8a7a5c; font-size: 14px; font-weight: 600; }
.sr-evidence { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: start; }
.sr-shot { margin: 0; border: 1px solid #dce5df; border-radius: 10px; overflow: hidden; background: #fff; }
.sr-shot figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #e6ece8; color: #3f4b44; font-size: 13px; line-height: 1.4; }
.sr-kind { padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 650; }
.sr-kind-drawing { color: #22594f; background: #e6f1ec; }
.sr-kind-spec { color: #3d4f8a; background: #e9edf8; }
.sr-shot a { display: block; cursor: zoom-in; }
.sr-shot img { display: block; width: 100%; height: auto; }
.sr-outcome { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0 0; }
.sr-outcome dt { margin-bottom: 6px; color: #1f2b24; font-size: 15px; font-weight: 650; }
.sr-outcome dd { margin: 0; color: #3f4b44; font-size: 16px; line-height: 1.65; }
.review-page .sr-more { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e1e8e3; border-bottom: 0; }
.review-page .sr-more > summary { display: inline-flex; justify-content: flex-start; gap: 0; padding: 4px 0; color: var(--green); font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; }
.review-page .sr-more > summary::after { content: none; }
.sr-more > summary::-webkit-details-marker { display: none; }
.sr-more > summary::before { content: '+'; margin-right: 8px; }
.sr-more[open] > summary::before { content: '−'; }
.review-page .sr-more p { margin: 12px 0 0; color: #3f4b44; font-size: 16px; line-height: 1.7; max-width: 820px; }

.sr-row > summary { padding: 20px 24px; }
.sr-row .report-finding-main { gap: 8px; }
.sr-row .report-finding-title { font-size: 17px; }
.sr-sheets { color: #5b675f; font-size: 13px; line-height: 1.5; }
.sr-row .report-finding-body { font-size: 15px; }
.sr-row .report-finding-body p { color: #3f4b44; }
.sr-row .report-summary p { margin: 0 0 10px; }
.sr-row .report-finding-body .review-text-link { margin-top: 6px; }
#all-findings .report-count { color: #4a564e; font-size: 14px; }

.sr-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.sr-pager-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.sr-pager button { min-width: 40px; min-height: 40px; padding: 8px 12px; border: 1px solid #cad8ce; border-radius: 8px; background: #fff; color: #2d3a31; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sr-pager button:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.sr-pager button[aria-current="page"] { border-color: var(--green); background: var(--green); color: #fff; }
.sr-pager button:disabled { color: #a3aea6; cursor: default; }

@media (max-width: 1000px) {
  .sr-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .sr-card { padding: 20px; }
  .sr-card header h3 { font-size: 20px; }
  .sr-contrast strong { font-size: 18px; }
  .sr-evidence, .sr-outcome { grid-template-columns: 1fr; }
  .sr-outcome { gap: 18px; }
  .sr-vs { display: none; }
  .sr-stats dd { font-size: 28px; }
  .sr-summary { padding: 22px; }
  .sr-pager { justify-content: center; }
  .sr-pager-pages { justify-content: center; order: -1; width: 100%; }
}
