
.reports-module-page {
  max-width: 1500px;
}

.reports-page-shell {
  border: 1px solid rgba(85, 124, 164, 0.38);
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 26, 45, 0.96), rgba(6, 20, 35, 0.98));
}

.reports-titlebar,
.reports-title-group,
.reports-actions,
.reports-table-footer,
.reports-panel-title {
  display: flex;
  align-items: center;
}

.reports-titlebar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.reports-title-group,
.reports-actions {
  gap: 10px;
}

.reports-title-group h1,
.reports-title-group p {
  margin: 0;
}

.reports-title-group h1 {
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.reports-page-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(138, 190, 255, 0.55);
  border-radius: 9px;
  background: linear-gradient(180deg, #2c79ee, #1555ba);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.reports-summary-grid,
.reports-hub-summary {
  display: grid;
  margin-bottom: 14px;
  border: 1px solid rgba(91, 128, 166, 0.22);
  border-radius: 9px;
  background: rgba(9, 29, 49, 0.82);
}

.reports-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reports-hub-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reports-summary-grid article,
.reports-hub-summary article {
  min-height: 92px;
  padding: 14px 18px;
  border-right: 1px solid rgba(91, 128, 166, 0.2);
}

.reports-summary-grid article:last-child,
.reports-hub-summary article:last-child {
  border-right: 0;
}

.reports-summary-grid small,
.reports-summary-grid strong,
.reports-summary-grid span,
.reports-hub-summary small,
.reports-hub-summary strong,
.reports-hub-summary span {
  display: block;
}

.reports-summary-grid small,
.reports-summary-grid span,
.reports-hub-summary small,
.reports-hub-summary span,
.reports-panel-empty {
  color: var(--muted-text, #8fa6bd);
  font-size: 0.72rem;
}

.reports-summary-grid strong,
.reports-hub-summary strong {
  margin: 8px 0 4px;
  font-size: 1.3rem;
}

.reports-filterbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(145px, 0.65fr)) auto;
  gap: 10px;
  margin-bottom: 12px;
}

.reports-filterbar input,
.reports-filterbar select {
  width: 100%;
  min-height: 38px;
}

.reports-table-shell,
.reports-panel,
.report-category-card {
  border: 1px solid rgba(91, 128, 166, 0.22);
  border-radius: 9px;
  background: rgba(9, 29, 49, 0.82);
}

.reports-table-header {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(91, 128, 166, 0.2);
  color: #9fb4ca;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.reports-empty-state {
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 28px;
  text-align: center;
}

.reports-empty-state h2,
.reports-empty-state p {
  margin: 0;
}

.reports-empty-state p {
  max-width: 620px;
  color: var(--muted-text, #8fa6bd);
  font-size: 0.8rem;
}

.reports-empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px dashed rgba(112, 148, 186, 0.34);
  border-radius: 50%;
  background: rgba(17, 44, 72, 0.45);
  color: #7193b7;
  font-size: 0.8rem;
  font-weight: 800;
}

.reports-table-footer {
  justify-content: space-between;
  padding: 12px 2px 0;
  color: #8fa6bd;
  font-size: 0.72rem;
}

.reports-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-category-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

.report-category-card:hover {
  border-color: rgba(91, 157, 230, 0.48);
  background: rgba(14, 39, 65, 0.92);
}

.report-category-card h2,
.report-category-card p {
  margin: 0;
}

.report-category-card h2 {
  font-size: 0.9rem;
}

.report-category-card p {
  margin-top: 5px;
  color: #8fa6bd;
  font-size: 0.74rem;
}

.report-category-card > strong {
  color: #65a4ff;
  font-size: 0.74rem;
}

.report-category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(112, 148, 186, 0.34);
  border-radius: 9px;
  background: rgba(17, 44, 72, 0.55);
  color: #8abaff;
  font-size: 0.72rem;
  font-weight: 800;
}

.reports-recent-panel {
  margin-top: 14px;
  padding: 14px 16px;
}

.reports-panel-title {
  justify-content: space-between;
  gap: 12px;
}

.reports-panel-title h2 {
  margin: 0;
  font-size: 0.86rem;
}

.reports-panel-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 1100px) {
  .reports-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reports-filterbar {
    grid-template-columns: 1fr 1fr;
  }

  .reports-table-header {
    display: none;
  }
}

@media (max-width: 760px) {
  .reports-titlebar,
  .reports-actions,
  .reports-table-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .reports-summary-grid,
  .reports-hub-summary,
  .reports-hub-grid,
  .reports-filterbar {
    grid-template-columns: 1fr;
  }

  .reports-summary-grid article,
  .reports-hub-summary article {
    border-right: 0;
    border-bottom: 1px solid rgba(91, 128, 166, 0.2);
  }

  .reports-summary-grid article:last-child,
  .reports-hub-summary article:last-child {
    border-bottom: 0;
  }
}
