.reports-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reports-title h1 {
  margin: 0 0 6px;
  font-size: 28px;
}

.reports-title p {
  margin: 0;
  color: var(--muted);
}

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

.reports-filters {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.reports-date label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.report-kpi {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.report-kpi-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-kpi-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 6px;
}

.report-kpi-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.report-charts {
  margin-top: 18px;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.report-card-wide {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.report-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.report-pill {
  background: var(--accent-ghost-strong);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.report-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6px, 1fr));
  gap: 6px;
  align-items: end;
  height: 150px;
}

.report-bar span {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-sky));
  border-radius: 999px;
  min-height: 6px;
}

.report-axis {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.report-table,
.report-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-ghost);
}

.report-row.compact {
  padding: 8px 10px;
}

.report-sub {
  font-size: 12px;
  color: var(--muted);
}

.report-value {
  font-weight: 700;
}

.report-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-mid);
  position: relative;
  overflow: hidden;
}

.report-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
  background: linear-gradient(0deg, var(--accent-ghost), var(--accent-ghost)), var(--card);
}

.report-card-disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

.report-card-disabled:hover {
  transform: none;
  box-shadow: var(--shadow-mid);
  background: var(--card);
}

.report-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.45);
  display: grid;
  place-items: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(2px);
}

.report-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
}

.report-icon.accent { background: var(--accent); }
.report-icon.warm { background: var(--accent-warm); }
.report-icon.sky { background: var(--accent-sky); }
.report-icon.gold { background: var(--accent-gold); }

.report-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.report-meta strong {
  font-size: 16px;
}

.report-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.report-author {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-link {
  margin-left: auto;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

.report-card {
  border-radius: var(--radius-lg);
}

.report-icon {
  border-radius: var(--radius-md);
}

@media (max-width: 1100px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
}
