.report-filter-redesign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  padding: 20px 0 16px;
}
.report-main-filters, .report-quick-filters, .report-extra-filters {
  display: grid;
  gap: 16px;
  grid-column: 1 / -1;
  min-width: 0;
}
.report-main-filters { grid-template-columns: minmax(230px, 2fr) repeat(2, minmax(140px, 1fr)) minmax(170px, 1.2fr); }
.report-quick-filters { grid-template-columns: repeat(2, minmax(140px, 1fr)) minmax(230px, 2fr); }
.report-extra-filters { grid-template-columns: repeat(3, minmax(130px, 1fr)); padding-top: 16px; }
.report-filter-redesign .report-type { grid-column: auto; }
.report-filter-redesign .field { min-width: 0; }
.report-filter-redesign input, .report-filter-redesign select { width: 100%; min-width: 0; }
.report-advanced { min-width: 0; align-self: start; }
.report-advanced summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}
.report-advanced summary::-webkit-details-marker { display: none; }
.report-advanced summary svg { width: 16px; height: 16px; }
.report-advanced[open] summary svg:last-child { transform: rotate(180deg); }
.report-filter-footer { display: flex; align-items: start; gap: 8px; justify-content: flex-end; }
.main:has(.report-filter-redesign) > .summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 16px 0;
  border-top: 0;
}
.main:has(.report-filter-redesign) > .summary-strip span { padding: 0 24px; border-left: 1px solid var(--line); }
.main:has(.report-filter-redesign) > .summary-strip span:first-child { padding-left: 0; border: 0; }
.main:has(.report-filter-redesign) > .summary-strip strong { font-size: 21px; margin: 0; font-variant-numeric: tabular-nums; }
.report-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.report-results-head h2 { font-size: 15px; font-weight: 600; margin: 0; }
.report-results-head h2 span { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.report-view-switch { display: flex; gap: 0; }
.report-view-switch button { border-radius: 0; font-size: 12px; min-height: 32px; }
.report-view-switch button:first-child { border-radius: 4px 0 0 4px; }
.report-view-switch button:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.report-view-switch button[aria-pressed=true] { background: color-mix(in srgb, var(--brand) 14%, transparent); color: inherit; border-color: var(--brand); }
.report-screen-table { min-height: 260px; }
.report-screen-table .report-compact { table-layout: auto; width: 100%; }
.report-screen-table .report-compact:has(th:nth-child(8)) { min-width: 1040px; }
.report-screen-table .report-compact th { white-space: nowrap; min-width: 0; font-size: 11px; }
.report-screen-table .report-compact td { white-space: normal; line-height: 1.5; vertical-align: middle; overflow-wrap: anywhere; padding-block: 13px; }
.report-screen-table .report-compact .num { white-space: nowrap; }
.report-primary { display: block; }
.report-secondary { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.report-screen-table .report-row-action { width: 44px; min-width: 44px; padding-inline: 6px; }
.report-row-action .icon { width: 30px; height: 30px; min-height: 30px; background: transparent; border-color: transparent; }
.report-row-action .icon:hover { border-color: var(--line); }
.report-row-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.report-row-detail div { border-bottom: 1px solid var(--line); padding: 14px 0; min-width: 0; }
.report-row-detail dt { color: var(--muted); font-size: 12px; }
.report-row-detail dd { margin: 7px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
  .report-main-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-quick-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-quick-filters .report-search { grid-column: 1 / -1; }
  .report-extra-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .report-filter-redesign { gap: 14px; }
  .report-main-filters, .report-quick-filters { gap: 12px; }
  .report-main-filters .report-type { grid-column: 1 / -1; }
  .report-main-filters > .field:last-child { grid-column: 1 / -1; }
  .report-advanced { grid-column: 1 / -1; }
  .report-filter-footer { grid-column: 1 / -1; justify-content: flex-start; }
  .main:has(.report-filter-redesign) > .summary-strip span { padding: 0 10px; }
  .main:has(.report-filter-redesign) > .summary-strip strong { font-size: 15px; white-space: normal; overflow-wrap: anywhere; }
  .main:has(.report-filter-redesign) > .summary-strip span { font-size: 11px; }
  .report-results-head { flex-wrap: wrap; }
  .report-row-detail { grid-template-columns: 1fr; }
}
@media print { .report-results-head, .report-filter-redesign { display: none !important; } }
