/* Superfícies operacionais do portal; bibliotecas e fontes continuam locais. */
.portal-main { padding: 1.75rem 1.5rem 2.5rem; }
.report-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.report-heading h1 { font-size: 2rem; letter-spacing: -.04em; font-weight: 650; margin-bottom: .35rem; }
.report-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.debug-status { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.report-filters, .report-results { background: var(--surface); border: 1px solid var(--bs-border-color); border-radius: .5rem; }
.report-filters { padding: 1.25rem; }
.report-filter-fields { display: grid; grid-template-columns: minmax(145px, 1fr) minmax(145px, 1fr) minmax(200px, 2fr) auto; align-items: end; gap: 1rem; }
.report-filter-fields-fuel { grid-template-columns: repeat(2, minmax(145px, 1fr)) minmax(180px, 1.5fr) minmax(160px, 1.2fr) minmax(130px, 1fr) auto; }
.report-filter-fields > * { min-width: 0; }
.report-filter-fields .form-label { font-size: .875rem; font-weight: 600; margin-bottom: .4rem; }
.report-filter-fields .form-control, .report-filter-fields .form-select, .report-submit { min-height: 44px; }
.report-filter-fields input[type='date'] { width: 100%; }
.report-submit { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding-inline: 1.25rem; }
.report-filter-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .5rem; }
.report-feedback { font-size: .8rem; color: var(--muted); }
.report-feedback[data-error='true'] { color: var(--bs-danger-text-emphasis); }
.report-text-action { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0; font-size: .8rem; color: var(--muted); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.report-text-action:hover { color: var(--bs-body-color); }
.report-results { margin-top: 1.5rem; overflow: hidden; }
.report-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem; }
.report-results-heading h2 { font-size: 1.1rem; font-weight: 650; margin-bottom: .25rem; }
.report-results-heading p, .report-scroll-hint { font-size: .8rem; }
.report-scroll-hint { color: var(--muted); display: none; }
.report-summary { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; padding: 0 1.25rem 1.25rem; margin: 0; }
.report-summary dt { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: .35rem; }
.report-summary dd { font-size: 1.4rem; font-weight: 600; letter-spacing: -.035em; margin: 0; font-variant-numeric: tabular-nums; }
.report-summary-primary dd { color: var(--bs-primary-text-emphasis); }
.report-table-wrap { max-height: 65vh; border-top: 1px solid var(--bs-border-color); }
.report-table { width: 100%; font-size: .875rem; }
.report-table th { position: sticky; top: 0; z-index: 1; background: var(--bs-tertiary-bg); font-size: .8rem; font-weight: 600; }
.report-table th, .report-table td { padding: .9rem 1.1rem; white-space: nowrap; border-color: var(--bs-border-color); }
.report-table td { background: var(--surface); }
.report-table tfoot td { background: var(--bs-tertiary-bg); font-weight: 600; }
.report-number { font-variant-numeric: tabular-nums; }
.report-empty { text-align: center; border-top: 1px solid var(--bs-border-color); padding: 2.5rem 1rem; }
.report-empty > i { font-size: 1.7rem; color: var(--muted); margin-bottom: .8rem; }
.report-empty h3 { font-size: 1.1rem; }
.report-empty p { color: var(--muted); margin-bottom: .5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1199px) {
  .report-filter-fields-fuel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .portal-main { padding: 1.25rem .9rem 2rem; }
  .report-heading { align-items: start; flex-direction: column; margin-bottom: 1rem; }
  .report-heading h1 { font-size: 1.75rem; }
  .report-heading p:not(.report-eyebrow) { font-size: .9rem; }
  .report-filters { padding: 1rem; }
  .report-filter-fields, .report-filter-fields-fuel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .75rem; }
  .report-company, .report-product, .report-plate, .report-submit { grid-column: 1 / -1; }
  .report-filter-footer { flex-direction: column; align-items: start; gap: 0; margin-top: .75rem; }
  .report-filter-footer > div { justify-content: space-between; width: 100%; }
  .report-results { margin-top: 1rem; }
  .report-results-heading { align-items: start; flex-direction: column; padding: 1rem; gap: .75rem; }
  .report-summary { padding: 0 1rem 1rem; gap: 1rem 1.5rem; }
  .report-summary-primary { flex-basis: 100%; }
  .report-summary dd { font-size: 1.25rem; }
  .report-summary-primary dd { font-size: 1.75rem; }
  .report-table th, .report-table td { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
