.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi-value { font-size: 38px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 2px; }
.kpi-sub { font-size: 12px; color: var(--text-dim); }
.funnel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 24px; }
.funnel-stages { display: flex; flex-direction: column; gap: 12px; }
.funnel-stage-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border-radius: var(--radius-xs); padding: 14px 16px; transition: all 0.2s;
}
.funnel-stage-row:hover { background: rgba(255,255,255,0.06); }
.funnel-stage-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.funnel-stage-info { flex: 1; }
.funnel-stage-name { font-size: 13px; font-weight: 600; color: var(--text-bright); }
.funnel-stage-detail { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.funnel-stage-right { text-align: right; }
.funnel-stage-count { font-size: 22px; font-weight: 700; }
.alert-full { margin-top: 24px; }
.activity-group { margin-bottom: 14px; }
.activity-group:last-child { margin-bottom: 0; }
.activity-group-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 6px;
  background: rgba(255,255,255,0.03); border-radius: var(--radius-xs); cursor: default;
}
.activity-group-title { flex: 1; font-size: 13px; font-weight: 600; color: var(--text-bright); }
.activity-group-stage { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.activity-group-status { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 600; }
.activity-events { padding: 0 14px 10px 14px; }
.activity-stage-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 12px; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.activity-stage-row:last-child { border-bottom: none; }
.activity-stage-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.activity-stage-name { font-size: 12px; font-weight: 600; min-width: 70px; }
.activity-stage-status { font-size: 11px; font-weight: 600; min-width: 40px; }
.activity-steps {
  font-size: 10px; color: var(--text-dim); opacity: 0.7;
  background: rgba(255,255,255,0.05); padding: 1px 6px; border-radius: 8px;
}
.activity-stage-time { margin-left: auto; font-size: 11px; color: var(--text-dim); white-space: nowrap; }
.alert-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 8px;
  background: rgba(255,255,255,0.03); border-radius: var(--radius-xs); border-left: 3px solid transparent;
}
.alert-item.error { border-left-color: var(--red); }
.alert-item.warn { border-left-color: var(--yellow); }
.alert-item.ok { border-left-color: var(--green); }
.alert-icon { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.alert-item.error .alert-icon { background: var(--red); }
.alert-item.warn .alert-icon { background: var(--yellow); }
.alert-item.ok .alert-icon { background: var(--green); }
.alert-text { flex: 1; font-size: 13px; }
.alert-text .dim { color: var(--text-dim); }
.breakdown-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.breakdown-table th {
  text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-dim); padding: 8px 10px;
  border-bottom: 1px solid var(--glass-border);
}
.breakdown-table td { padding: 8px 10px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.03); }
.breakdown-table tr:last-child td { border-bottom: none; }
.stage-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
@media (max-width: 560px) {
  .kpi-grid { gap: 10px; margin-bottom: 16px; }
  .kpi-value { font-size: 28px; }
  .funnel-grid { gap: 14px; margin-bottom: 16px; }
  .funnel-stage-row { padding: 10px 12px; gap: 10px; }
  .funnel-stage-count { font-size: 18px; }
  .activity-group-header { padding: 8px 10px; }
  .activity-events { padding: 0 10px 8px 10px; }
  .alert-item { padding: 10px 12px; gap: 10px; }
  .alert-text { font-size: 12px; }
  .breakdown-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .breakdown-table th, .breakdown-table td { padding: 6px 8px; white-space: nowrap; }
  .alert-full { margin-top: 16px; }
}
