.role-dash { background: var(--bg); }
.role-dash .role-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 16px 0; }
.role-dash .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.role-dash .role-kpi-label { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.role-dash .role-kpi-value { font-size: 26px; font-weight: 700; }
.role-dash .role-chart-card, .role-dash .role-alerts-card, .role-dash .role-events-card { margin-bottom: 16px; }
.role-dash .role-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.role-dash .role-chart-title { font-weight: 600; }
.role-dash #dashChart { height: 200px !important; }
.role-dash .role-range-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.role-dash .filter-pill { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 13px; }
.role-dash .filter-pill.is-active { background: var(--chip-blue-bg); border-color: var(--primary); color: var(--primary); }
.role-dash .role-empty { color: var(--muted); padding: 8px 0; }
.role-dash .role-event-item { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.role-dash .chip { display: inline-block; border-radius: 999px; padding: 6px 12px; margin: 4px 6px 0 0; font-size: 13px; text-decoration: none; }
.role-dash .chip-red { background: var(--chip-red-bg); color: var(--chip-red-text); }
.role-dash .chip-orange { background: var(--chip-orange-bg); color: var(--chip-orange-text); }
.role-dash .chip-green { background: var(--chip-green-bg); color: var(--chip-green-text); }
.role-dash .is-hidden { display: none; }
@media (max-width: 900px) { .role-dash .role-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
/* роль-скоуп: расходящиеся значения */
.role-dash[data-role="admin"] .role-chart-title { margin-bottom: 8px; }
.role-dash[data-role="creator"] .role-chart-empty { color: var(--muted); text-align: center; padding: 24px 12px; font-size: 14px; }
.role-dash[data-role="advertiser"] .role-chart-empty { height: 100px; display: flex; align-items: center; justify-content: center; color: var(--muted); background: var(--bg); border-radius: 6px; font-size: 13px; }
.role-dash[data-role="advertiser"] .role-kpi-notice { display: flex; align-items: flex-start; gap: 10px; background: var(--chip-orange-bg); border: 1px solid var(--warn); border-radius: 16px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; color: var(--ink); }
.role-dash[data-role="advertiser"] .role-kpi-retry { margin-left: auto; text-decoration: underline; cursor: pointer; color: inherit; padding-left: 8px; white-space: nowrap; }
.role-dash[data-role="advertiser"] .role-kpi-value.unavail { color: var(--muted); opacity: 0.55; }
