[data-theme="light"] .admin-tabs,
[data-theme="light"] .filter-bar {
  background:#ffffff;
  border-color:#cbd5e1;
  color:#0f172a;
}
[data-theme="light"] .admin-tabs a {
  color:#475569;
}
[data-theme="light"] .admin-tabs a:hover {
  background:#eff6ff;
  color:#1d4ed8;
}
[data-theme="light"] .admin-tabs a.active {
  background:#dbeafe;
  color:#1e3a8a;
}
[data-theme="light"] .filter-bar label {
  color:#334155;
}
[data-theme="light"] .filter-bar input,
[data-theme="light"] .filter-bar select,
[data-theme="light"] .actions select {
  background:#ffffff;
  color:#0f172a !important;
  -webkit-text-fill-color:#0f172a !important;
  border-color:#94a3b8;
}
[data-theme="light"] .metric-card,
[data-theme="light"] .summary-grid > div {
  background:#ffffff;
  color:#0f172a;
  border-color:#cbd5e1;
}
[data-theme="light"] .metric-card span,
[data-theme="light"] .metric-card small,
[data-theme="light"] .summary-grid small {
  color:#475569;
}
[data-theme="light"] .metric-card strong,
[data-theme="light"] .summary-grid b,
[data-theme="light"] .summary-grid > div > strong {
  color:#0f172a;
}
[data-theme="light"] .analytics-section-toggle {
  background:#ffffff !important;
  color:#0f172a !important;
  border-color:#94a3b8 !important;
}
.analytics-section-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.analytics-section-actions {
  display:flex;
  align-items:center;
  gap:.65rem;
  flex-wrap:wrap;
}
.analytics-section-toggle {
  width:2rem;
  height:2rem;
  padding:0;
  border:1px solid var(--border-color,#475569);
  border-radius:50%;
  background:transparent;
  color:var(--text-primary,#f8fafc);
  font-size:1.15rem;
  line-height:1;
  cursor:pointer;
}
.analytics-section-body[hidden] {
  display:none;
}
@media(max-width:650px){
  .analytics-section-heading{flex-direction:column}
  .analytics-section-actions{width:100%;justify-content:space-between}
}
