#analyticsContainersView.hidden { display: none; }
#analyticsContainersView .cxc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 2px 24px;
  min-width: 0;
}
#analyticsContainersView .cxc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  background: #ce2a2a;
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
}
#analyticsContainersView .cxc-top h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.04em;
}
#analyticsContainersView .cxc-top p {
  margin: 4px 0 0;
  font-size: 12px;
  font-style: italic;
  opacity: 0.92;
}
#analyticsContainersView .cxc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
#analyticsContainersView .cxc-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
#analyticsContainersView .cxc-filters select,
#analyticsContainersView .cxc-filters input {
  min-width: 140px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #122144;
  background: #fff;
}
#analyticsContainersView .cxc-btn {
  height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #122144;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
#analyticsContainersView .cxc-btn:disabled { opacity: 0.6; cursor: wait; }
#analyticsContainersView .cxc-updated {
  font-size: 12px;
  align-self: center;
  min-width: 180px;
}
#analyticsContainersView .cxc-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
#analyticsContainersView .cxc-kpi {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(18, 33, 68, 0.04);
}
#analyticsContainersView .cxc-kpi span {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}
#analyticsContainersView .cxc-kpi strong {
  font-size: 20px;
  color: #122144;
}
#analyticsContainersView .cxc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 12px;
}
#analyticsContainersView .cxc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  min-width: 0;
}
#analyticsContainersView .cxc-card h3 {
  margin: 0;
  padding: 12px 14px 0;
  font-size: 14px;
  color: #122144;
}
#analyticsContainersView .cxc-card .cxc-note {
  margin: 2px 14px 0;
  font-size: 11px;
  color: #6b7280;
}
#analyticsContainersView .cxc-chart {
  position: relative;
  height: 220px;
  padding: 8px 12px 12px;
}
#analyticsContainersView .cxc-chart.tall { height: 260px; }
#analyticsContainersView .cxc-table-wrap {
  overflow: auto;
  max-height: 520px;
  margin-top: 8px;
}
#analyticsContainersView table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
#analyticsContainersView th,
#analyticsContainersView td {
  padding: 8px 10px;
  border-bottom: 1px solid #eef1f7;
  white-space: nowrap;
  text-align: left;
}
#analyticsContainersView th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #122144;
  z-index: 1;
}
#analyticsContainersView td.num,
#analyticsContainersView th.num { text-align: right; }
#analyticsContainersView .cxc-bad { color: #ce2a2a; font-weight: 700; }
#analyticsContainersView .cxc-ok { color: #15803d; font-weight: 700; }
#analyticsContainersView .cxc-empty,
#analyticsContainersView .cxc-status {
  padding: 18px 14px;
  color: #6b7280;
  font-size: 13px;
}
#analyticsContainersView .cxc-status.erro { color: #b91c1c; }
#analyticsContainersView .cxc-span-2 { grid-column: 1 / -1; }
@media (max-width: 1100px) {
  #analyticsContainersView .cxc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #analyticsContainersView .cxc-grid { grid-template-columns: 1fr; }
}
