.ev-report {
  box-sizing: border-box;
  width: min(98vw, 76rem);
  max-width: calc(100% - 1rem);
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(.8rem, 2.2vw, 1.65rem);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.ev-report::backdrop { background: rgb(25 32 30 / .55); }
.ev-head, .ev-filters, .ev-actions { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.ev-head { justify-content: space-between; margin-bottom: .75rem; }
.ev-head h2, .ev-head h3 { margin: 0; }
.ev-filters { align-items: flex-end; margin: 1rem 0; }
.ev-filters label { margin: 0; }
.ev-filters select, .ev-filters input { display: block; max-width: 100%; }
.ev-status:empty { display: none; }
.ev-status { color: var(--muted); }
.ev-metrics { margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: .65rem; }
.ev-metrics div { padding: .65rem .85rem; background: var(--paper); border-radius: .55rem; }
.ev-metrics dt { color: var(--muted); font-size: .9em; }
.ev-metrics dd { font-weight: 650; margin: .25rem 0 0; }
.ev-table-wrap { max-width: 100%; overflow-x: auto; margin: .8rem 0; }
.ev-table-wrap table { width: 100%; border-collapse: collapse; }
.ev-table-wrap :is(th, td) { padding: .55rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; min-width: 5.5rem; }
.ev-table-wrap .text-button { display: block; text-align: left; }
