.report-header { display: flex; align-items: center; gap: 24px; padding: 14px 32px; background: white; border-bottom: 1px solid var(--border); }
.report-header img { width: 142px; height: 46px; }
.report-header-label { color: var(--muted); font-size: 10px; letter-spacing: 1.5px; font-weight: 700; }
.report-header a { margin-left: auto; font-size: 12px; }
.report-preview-notice { padding: 10px 32px; background: #fff5df; color: #85421c; font-size: 12px; border-bottom: 1px solid #eadcc1; }
.report-preview-notice strong { margin-right: 12px; }
.report-page main { max-width: 1600px; padding: 28px 32px; }
.report-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.report-title .eyebrow { color: var(--teal-dark); margin: 0 0 8px; }
.report-title h1 { font-size: clamp(24px, 3vw, 34px); }
.report-title .muted { margin: 8px 0 16px; }
.report-filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 16px; }
.report-filter-bar input { width: 154px; }
.report-filter-bar .us-date-control { min-width: 240px; }
.report-filter-bar .us-date-control > input { width: 0; }
.report-filter-bar .us-date-control > button { width: auto; }
.report-filter-bar label:last-of-type { flex: 1; min-width: 145px; }
.report-caption { font-size: 12px; color: var(--muted); margin: 12px 0; }
.report-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid #d4dedb; gap: 6px; margin: 20px 0; }
.report-tabs a { padding: 12px 18px; text-decoration: none; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; }
.report-tabs a[aria-current="page"] { color: var(--teal-dark); border-bottom-color: var(--teal); }
.report-page .stats .stat small { color: var(--muted); font-size: 11px; }
.report-results { margin-bottom: 20px; }
.report-loading { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 220px; padding: 28px; color: var(--teal-dark); }
.report-loading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.report-loading-spinner { flex: 0 0 30px; height: 30px; border: 3px solid #d5e0dc; border-top-color: var(--teal); border-radius: 50%; animation: report-loading-spin 0.9s linear infinite; }
@keyframes report-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .report-loading-spinner { animation: none; } }
.report-export-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.report-results .card-heading { flex-wrap: wrap; }
#report-export-status:empty { display: none; }
.report-results .report-caption { padding: 0 20px; }
.report-results th { text-transform: none; letter-spacing: 0; font-size: 12px; min-width: 100px; }
.report-results :is(th, td) { padding: 14px 16px; }
.report-results td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-results tfoot { font-weight: 650; background: #edf7f5; }
.report-results .table-scroll { max-height: 620px; }
.report-results thead { position: sticky; top: 0; z-index: 1; }
.report-results button[data-call] { min-height: 32px; padding: 5px 10px; font-size: 12px; }
.report-results .section-actions { padding: 16px 20px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.report-trend { padding: 4px 20px 16px; }
.report-trend p { font-size: 12px; color: var(--muted); }
.report-bar-chart { display: flex; align-items: end; height: 90px; gap: 3px; overflow-x: auto; }
.report-bar { flex: 1; min-width: 8px; border-radius: 3px 3px 0 0; background: var(--teal); }
.report-zero { height: 2px !important; background: #c9d4d2; }
.report-definitions { padding: 16px 20px; font-size: 12px; color: var(--muted); }
.report-definitions summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.report-definitions p { max-width: 110ch; }
.report-page .notice { margin: 12px 0; }
.report-target { color: #984421; font-weight: 650; }
#report-call-dialog { width: min(640px, calc(100% - 32px)); max-height: 85vh; overflow-y: auto; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); padding: 0; }
#report-call-dialog::backdrop { background: #18363966; }
#report-call-body { padding: 0 20px 20px; }
.report-view { --report-accent: #00a4ac; }
.report-view .report-compact-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; padding: 10px 0; margin: 0; }
.report-view .report-compact-controls label { width: auto; min-width: 0; font-size: 11px; gap: 4px; }
.report-view .report-compact-controls :is(input, select) { width: 100%; min-width: 0; min-height: 36px; font-size: 12px; }
.report-view .report-compact-controls select { max-width: 210px; }
.report-view .report-compact-controls button { width: auto; min-height: 36px; font-size: 12px; padding: 7px 12px; }
.report-view .report-compact-controls .us-date-control { min-width: 0; max-width: 190px; }
.report-view .report-compact-controls .us-date-control > input { width: 0; min-width: 0; }
.report-view .report-compact-controls .us-date-control > button { width: auto; }
.report-custom-dates { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.report-view .report-compact-controls .report-custom-dates > label { flex: 0 1 190px; width: 190px; }
.report-view .report-table-caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.report-view-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.report-view .report-tabs { margin: 0; border: 0; gap: 4px; }
.report-view .report-tabs a { padding: 12px; font-size: 13px; }
.report-source { font-size: 11px; color: var(--muted); white-space: nowrap; }
.report-view > .report-caption { margin: 10px 0 14px; }
.report-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.report-highlight { display: flex; flex-direction: column; padding: 14px; border-top: 3px solid var(--report-accent); min-width: 0; }
.report-highlight:last-child { border-top-color: var(--coral, #fa8777); }
.report-highlight span { color: var(--muted); font-size: 12px; }
.report-highlight strong { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; font-variant-numeric: tabular-nums; margin: 8px 0; overflow-wrap: anywhere; }
.report-highlight strong.report-highlight-time { font-size: clamp(16px, 1.6vw, 20px); }
.report-highlight small { color: var(--muted); font-size: 11px; }
.report-view .report-results { margin-bottom: 14px; }
.report-view .card-heading { padding: 12px 18px; gap: 12px; align-items: center; }
.report-view .card-heading h2 { font-size: 17px; }
.report-view .card-heading p { max-width: 68ch; margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.report-view .report-export-actions button { min-height: 36px; font-size: 12px; padding: 7px 12px; }
.report-view .report-results-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 0 20px; }
.report-view .report-results-meta .report-caption { padding: 0; margin: 10px 0; }
.report-data-export { margin: 0 0 12px; }
.report-data-export > summary { cursor: pointer; padding: 13px 18px; font-size: 13px; font-weight: 650; color: var(--teal-dark); }
.report-data-export > summary small { margin-left: 12px; font-weight: 400; color: var(--muted); font-size: 11px; }
.report-data-export[open] > summary { border-bottom: 1px solid var(--border); }
.report-export-body { padding: 0 18px 8px; }
.report-export-body > .report-caption { margin: 12px 0 4px; max-width: 95ch; }
.report-download-action { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 300px; }
.report-view .report-export-actions { align-items: flex-start; }
.report-view .report-results > .card-heading { align-items: flex-start; }
.report-prepared-files { display: flex; flex-wrap: wrap; gap: 0 12px; padding: 0 18px; }
.report-view .report-prepared-files > .report-download-panel { flex: 1 1 280px; margin: 0 0 12px; }
.report-view .report-results :is(th, td) { padding: 12px 14px; }
.report-view .report-results td { font-size: 12px; }
.report-view .report-results thead { position: static; }
.report-view .report-results .table-scroll { max-height: none; }
.report-view .report-download-panel { margin: 6px 0 0; padding: 9px 10px; max-width: 100%; background: #edf7f5; border: 1px solid #c9e6e1; border-radius: 8px; overflow-wrap: anywhere; }
.report-download-panel p { margin: 0; font-size: 12px; }
.report-save { display: inline-block; margin-top: 10px; padding: 8px 14px; border-radius: 6px; background: var(--teal-dark); color: white; text-decoration: none; font-size: 13px; font-weight: 600; }
.report-view > .report-definitions { padding: 10px 0; }
.report-command-strip { margin-bottom: 14px; padding: 10px 14px 12px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.report-command-strip .report-view-nav { border: 0; margin-bottom: 10px; }
.report-command-strip .report-tabs { background: #e5eeeb; padding: 4px; border-radius: 10px; gap: 3px; }
.report-command-strip .report-tabs a { border: 0; border-radius: 7px; padding: 9px 13px; font-size: 12px; color: #5b6b70; }
.report-command-strip .report-tabs a[aria-current="page"] { background: white; box-shadow: 0 1px 4px #203b3812; color: var(--teal-dark); }
.report-command-strip .report-source { font-size: 10px; }
.report-view .report-command-strip .report-filter-bar { padding: 0; gap: 8px; }
.report-view .report-command-strip .report-filter-bar > label { display: flex; flex-direction: row; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; padding: 0 10px; border: 1px solid #d5e0dc; border-radius: 8px; background: white; color: #718084; font-size: 11px; }
.report-view .report-command-strip .report-filter-bar > label > select { width: auto; max-width: 180px; padding: 6px 20px 6px 0; min-height: 34px; background-color: transparent; border: 0; border-radius: 0; color: #203b40; font-weight: 600; }
.report-view .report-command-strip #report-refresh { width: 36px; min-height: 36px; padding: 9px; border: 1px solid #d5e0dc; border-radius: 8px; background: white; color: var(--teal-dark); }
.report-command-strip #report-refresh::before { content: ""; display: block; width: 16px; height: 16px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.5 5.5A9 9 0 1 0 21 12h-2a7 7 0 1 1-2-5H13V5h8v8h-2V7.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.report-command-strip #report-scope { margin: 8px 0 0; font-size: 10px; line-height: 1.5; color: #758387; }
.report-command-strip .report-custom-dates { flex-basis: 100%; padding: 10px 0 0; border-top: 1px solid var(--border); }
@media (max-width: 850px) {
  .report-source { display: none; }
}
@media (max-width: 600px) {
  .report-command-strip .report-view-nav { align-items: stretch; }
  .report-command-strip .report-tabs { width: 100%; }
  .report-command-strip .report-tabs a { flex: 1; text-align: center; padding: 9px 7px; font-size: 11px; }
  .report-view .report-command-strip .report-filter-bar > label { flex: 1 1 130px; }
  .report-view .report-command-strip .report-filter-bar > label > select { flex: 1; width: 0; max-width: none; }
  .report-view .report-compact-controls { gap: 10px; }
  .report-view .report-compact-controls > label { flex: 1 1 130px; }
  .report-view .report-compact-controls select { max-width: none; }
  .report-custom-dates { width: 100%; }
  .report-custom-dates label { flex: 1 1 130px; }
  .report-data-export > summary small { display: block; margin: 4px 0 0 16px; }
  .report-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .report-view .report-tabs a { padding: 10px 8px; font-size: 12px; }
  .report-highlight { padding: 12px; }
  .report-view .card-heading { padding: 14px; }
  .report-view .report-results-meta { padding: 0 14px; }
}
.report-call-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0; }
.report-call-fields dt { color: var(--muted); font-size: 12px; }
.report-call-fields dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .report-header { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .report-header-label { display: none; }
  .report-preview-notice { padding: 10px 16px; }
  .report-page main { padding: 20px 16px; }
  .report-title { align-items: start; }
  .report-title > .badge { display: none; }
  .report-filter-bar label, .report-filter-bar input, .report-filter-bar button { width: 100%; }
  .report-tabs { gap: 0; }
  .report-tabs a { padding: 10px 9px; font-size: 12px; }
  .report-page .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .report-command-strip { display: none !important; }
  .report-view .report-view-nav, .report-view .report-download-panel, .report-view > details { display: none !important; }
  .report-filter-bar, .report-tabs, #report-local-filters, #report-timing-control, #report-pagination, .report-export-actions, #report-export-status, .report-header a, dialog { display: none !important; }
  .report-page main { max-width: none; padding: 0; }
  .report-results .table-scroll { max-height: none; overflow: visible; }
  .report-results table { font-size: 9px; }
  .report-results :is(th, td) { padding: 5px; }
  .report-preview-notice { color: black; border: 1px solid; }
  .report-page .card { overflow: visible; }
}
