.results-exports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .5rem; }
.results-exports > button { min-height: 44px; }
.results-exports > .csv-exports { padding: 0 .75rem; }
.results-exports .csv-exports summary { padding-block: .65rem; }
.results-exports .csv-exports[open] { padding-bottom: .75rem; }
.csv-exports[open] summary { margin-bottom: .55rem; }
.report-date { grid-template-columns: minmax(0, 1fr); }
.report-date input { height: 48px; max-width: 100%; }
.report-controls .roster-label { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .9rem; }
.report-controls .roster-label input { width: 20px; height: 20px; accent-color: var(--red); }
.report-controls .primary { min-width: 9rem; }
.report-document {
  color: #181919; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 3.8vw, 2.2rem); font-size: .91rem; overflow-wrap: anywhere;
}
.report-title { padding-bottom: 1rem; border-bottom: 2px solid var(--red); }
.report-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; margin-bottom: 1.05rem; }
.report-logo {
  display: inline-flex; align-items: center; gap: 12px; color: #101112; text-decoration: none;
  font: 600 15px/1.25 "Fakt Pro", Arial, sans-serif; letter-spacing: .08em; white-space: nowrap;
}
.report-logo img { flex: none; width: 68px; height: 55px; object-fit: contain; }
.report-domain { color: var(--red-dark); font-size: .82rem; text-underline-offset: .16em; }
.report-title h1 { font-size: clamp(1.6rem, 5.3vw, 2.7rem); letter-spacing: -.035em; }
.report-subject { margin-top: .35rem; font-size: 1.2rem; font-weight: 600; }
.report-period { margin-top: .15rem; color: var(--muted); font-size: .83rem; }
.report-overview { margin: 1rem 0 1.3rem; }
.report-overview dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 0 0 .65rem; }
.report-overview dl > div { border-inline-start: 1px solid #d8d5cd; padding-inline-start: .55rem; }
.report-overview dt { font-size: .73rem; color: #55585a; }
.report-overview dd { margin: .12rem 0 0; font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-overview > p { margin-top: .36rem; color: var(--muted); font-size: .78rem; }
.report-bar { height: 5px; background: #e6dfd7; border-radius: 3px; overflow: hidden; }
.report-bar span { display: block; height: 100%; background: var(--red); }
.report-section { margin-top: 1.25rem; }
.report-section h2 { margin-bottom: .45rem; font-size: 1rem; }
.report-trend ol { display: grid; gap: .4rem; margin: .65rem 0 0; padding: 0; list-style: none; }
.report-trend li { display: grid; grid-template-columns: minmax(5.2rem, auto) minmax(1.4rem, 1fr) auto auto; gap: .55rem; align-items: center; font-size: .8rem; font-variant-numeric: tabular-nums; }
.report-trend li > :last-child { min-width: 3.3rem; text-align: right; color: #55585a; }
.report-table-scroll { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; text-align: start; }
.report-count-table { table-layout: fixed; }
.report-count-label { width: 30%; }
.report-count-column { width: 14%; }
.report-count-score { width: 12%; }
.report-count-rate { width: 16%; }
.report-table th, .report-table td { padding: .44rem .36rem; border-bottom: 1px solid #dedbd4; text-align: start; vertical-align: top; }
.report-table thead th { background: #f2f0eb; color: #292a2b; font-size: .75rem; font-weight: 600; }
.report-table tbody th { font-weight: 600; }
.report-table .report-number { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-table thead th:nth-last-child(-n+4) { text-align: right; }
.report-table .report-round-count { text-align: center; }
.report-context { display: block; margin-top: .12rem; color: #5a5c60; font-size: .77rem; font-weight: 400; }
.report-notes { white-space: pre-wrap; }
.report-round-with-context > :is(th, td) { padding-bottom: .12rem; border-bottom: 0; }
.report-round-context > td { padding-top: 0; }
.report-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: .4rem 1rem; margin-top: 1.25rem; padding-top: .6rem;
  border-top: 1px solid var(--line); font-size: .78rem; break-inside: avoid;
}
.report-footer a { color: var(--red-dark); text-decoration: underline; text-underline-offset: .15em; }
@media screen and (max-width: 520px) {
  .report-logo { font-size: 13px; }
  .report-logo img { width: 55px; height: 45px; }
  .report-overview dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-table { min-width: 24rem; }
  .report-log { min-width: 27rem; }
}
@media print {
  @page { margin: 13mm; }
  body.report-mode { background: #fff; color: #181919; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report-mode .top, .report-mode .report-nav, .report-mode .report-controls, .report-mode #app > .error { display: none !important; }
  .report-mode main { max-width: none; padding: 0; }
  .report-mode .report-screen { display: block; }
  .report-document { padding: 0; border: 0; border-radius: 0; font-size: 9pt; }
  .report-title, .report-overview, .report-trend { break-inside: avoid; }
  .report-title h1 { font-size: 25pt; }
  .report-subject { font-size: 13pt; }
  .report-section h2 { break-after: avoid; font-size: 11pt; }
  .report-table-scroll { overflow: visible; }
  .report-table thead { display: table-header-group; }
  .report-table tr { break-inside: avoid; }
  .report-log .report-round-with-context { break-after: avoid; }
  .report-table thead th, .report-context { font-size: 8pt; }
}
