/* Charts / SE widgets */
.chart-wrap { height: 260px; position: relative; }
    .chart-wrap-sm { height: 200px; position: relative; }
    .chart-wrap-lg { height: 320px; position: relative; }
    .se-domain-head { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
    .se-domain-head h2 { font-size:20px; }
    .se-domain-head .domain-sub { color:var(--muted); font-size:13px; margin-top:4px; }
    .se-meta-row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; font-size:12px; color:var(--muted); }
    .range-pills { display:flex; gap:4px; flex-wrap:wrap; }
    .range-pill, .metric-chip {
      background:#1a2338; border:1px solid #34405e; color:#9da9be; padding:6px 10px;
      border-radius:6px; font-size:11px; font-weight:600; cursor:pointer;
    }

    .range-pill.active, .metric-chip.active { background:rgba(255,122,33,.15); border-color:var(--accent); color:#fff; }
    .metric-chips { display:flex; gap:6px; flex-wrap:wrap; }
    .se-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
    .chart-wrap-se { height:340px; position:relative; }
    .chart-wrap-se-md { height:300px; position:relative; }
    .chart-loading, .chart-empty {
      position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
      background:rgba(11,16,32,.55); border-radius:8px; z-index:2; font-size:13px; color:var(--muted); text-align:center; padding:16px;
    }

    .chart-loading { display:none; }
    .chart-loading.show { display:flex; }
    .traffic-dist { display:flex; flex-direction:column; gap:10px; }
    .traffic-dist-row { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:13px; }
    .traffic-dist-track { flex:1; height:10px; background:#1a2338; border-radius:6px; overflow:hidden; }
    .traffic-dist-fill { height:100%; background:linear-gradient(90deg,var(--accent),#ffb347); }
    .bl-change-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
    .bl-change-item { background:#0d1426; border:1px solid var(--border); border-radius:10px; padding:14px; }
    .bl-change-item .lbl { font-size:11px; color:var(--muted); text-transform:uppercase; margin-bottom:6px; }
    .bl-change-item .val { font-size:22px; font-weight:700; }
      .dashboard-grid, .dashboard-grid-3, .winners-losers, .se-grid-2 { grid-template-columns: 1fr; }
      .chart-wrap-se { height:300px; }
      .chart-wrap-se-md { height:280px; }
      .bl-change-grid { grid-template-columns: 1fr; }
      .chart-wrap-se, .chart-wrap-se-md { height:260px; }
