.report-section-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:10px 0;margin:0 0 12px;background:var(--panel);border-bottom:1px solid var(--border);position:static;top:auto;z-index:auto}
:root[data-theme] .report-section-tabs button{background:var(--panel2);color:var(--text);border:1px solid var(--border);min-height:40px;padding:7px 15px;font-weight:600;white-space:nowrap;box-shadow:none}
:root[data-theme] .report-section-tabs [aria-selected=true]{background:#245bc4;color:#fff;border-color:#69a8ff;box-shadow:0 0 0 1px #69a8ff}
.report-list-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.report-list-heading h2{margin:0}
.report-level-options{display:flex;gap:7px}.report-level-options [aria-pressed=true]{background:#245bc4;color:#fff;border-color:#69a8ff}
.report-list-actions{display:flex;gap:8px;justify-content:flex-end}.report-list-actions button{min-height:36px;padding:6px 13px}
.compact-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 14px}
.compact-report-metrics article{padding:10px 13px;background:var(--panel2);border:1px solid var(--border);border-radius:7px}
.compact-report-metrics small{display:block;color:var(--muted);margin-bottom:4px}.compact-report-metrics strong{font-size:21px;color:var(--cyan)}
.report-note-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.report-note-card{padding:12px;border:1px solid var(--border);border-radius:6px;background:var(--panel2)}
.report-note-card h4{margin:0 0 8px;color:var(--cyan)}.report-note-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.report-note-card small{display:block;color:var(--muted);margin-top:8px}
.report-modal-submitter{font-size:14px;color:var(--muted);margin:4px 0 12px}.report-form-section>h3{margin:0 0 14px;color:var(--cyan)}
#returnReviewDialog{width:min(1200px,96vw)}#returnReviewDialog .return-review-header{padding:13px 18px}#returnReviewDialog .return-review-body{padding:12px 18px}
#returnReviewDialog .return-review-footer{padding:10px 18px}#returnReviewDialog .return-review-footer[hidden]{display:none}
#returnReviewDialog .panel{padding:12px;margin-bottom:0}#returnReviewDialog .review-counts{max-height:43vh}
#returnReviewDialog .review-counts th,#returnReviewDialog .review-counts td{padding:7px 8px;font-size:14px}
#returnReviewDialog h2{font-size:21px}#returnReviewMeta{margin:4px 0}#returnReviewStatus{margin-top:5px}
.report-edit-dialog{width:min(1280px,96vw)}
.report-edit-dialog .report-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 0 12px;margin-bottom:12px;border:0;border-bottom:1px solid var(--border);background:transparent}
.report-edit-dialog #reportTitle{display:none}.report-edit-dialog #reportMeta{margin:0}.report-edit-dialog .report-form-section{margin:0;padding:12px}
.report-edit-dialog .report-form-section .table-wrap{max-height:40vh}.report-edit-dialog #reportSavebar{position:sticky;bottom:-20px;margin:12px 0 0;background:var(--panel);z-index:6}
.report-edit-dialog .report-form-section>p.muted.small{display:none}.report-edit-dialog #saveNextUnit{display:none!important}
#consolidatedUnitsDetails summary{cursor:pointer;font-weight:600}.consolidated-unit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.consolidated-unit-item{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid var(--border);border-radius:6px;padding:10px;background:var(--panel2)}
.consolidated-unit-item button{min-height:32px;padding:5px 10px}.consolidated-unit-item span{min-width:0;overflow-wrap:anywhere}
.report-appendix-link{font-size:inherit!important;padding:0!important;min-height:0!important;background:transparent!important;border:0!important;color:var(--cyan)!important;text-decoration:underline}
@media(max-width:700px){.report-section-tabs{flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}.report-section-tabs button{padding:7px 12px;flex-shrink:0}.compact-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-note-grid,.consolidated-unit-list{grid-template-columns:1fr}#returnReviewDialog{width:100vw;height:auto;max-height:94dvh;border-radius:9px;margin:auto}#returnReviewDialog .return-review-body{padding:10px}.report-edit-dialog #reportSavebar{bottom:-16px}.report-list-actions{justify-content:flex-start}}
/* Keep tabbed report dialogs stable; only their contents scroll. */
#returnReviewDialog,.report-edit-dialog{height:min(900px,92dvh);max-height:92dvh}#returnReviewDialog .return-review-body{scrollbar-gutter:stable}.report-edit-dialog{overflow:auto;scrollbar-gutter:stable}@media(max-width:700px){#returnReviewDialog,.report-edit-dialog{height:94dvh;max-height:94dvh}}
