.dashboard-client-sources { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e3eaf2; }
.dashboard-source-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dashboard-source-heading h3 { margin: 0; color: #203a5e; font-size: 15px; }
.dashboard-source-heading p { margin: 6px 0 0; color: #64748b; font-size: 12px; }
.dashboard-source-heading p strong { color: #245fc4; font-size: 17px; }
.dashboard-source-date { display: flex; align-items: end; gap: 7px; }
.dashboard-source-date label { display: grid; gap: 4px; color: #64748b; font-size: 11px; }
.dashboard-source-date input { min-width: 0; padding: 6px 8px; border: 1px solid #dce3ec; border-radius: 7px; color: #33465f; background: #fff; font: inherit; }
.dashboard-source-date button { min-height: 30px; padding: 6px 9px; font-size: 11px; }
.dashboard-source-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 13px 0 10px; padding: 0; list-style: none; }
.dashboard-source-channels li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; background: #f4f7fc; }
.dashboard-source-channels span { color: #47617b; font-size: 12px; overflow-wrap: anywhere; }
.dashboard-source-channels strong { color: #203a5e; font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dashboard-source-channels small { color: #8492a4; font-size: 10px; font-weight: 400; }
.dashboard-source-people summary { padding: 7px 0; color: #245fc4; font-size: 12px; font-weight: 600; cursor: pointer; }
.dashboard-source-table-wrap { max-width: 100%; overflow-x: auto; }
.dashboard-source-table-wrap table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: right; }
.dashboard-source-table-wrap th, .dashboard-source-table-wrap td { padding: 9px 12px; border-bottom: 1px solid #edf1f5; color: #47617b; white-space: nowrap; }
.dashboard-source-table-wrap th:first-child { text-align: left; }
.dashboard-source-table-wrap thead th { color: #64748b; background: #f8fafc; font-size: 11px; }
.dashboard-source-note, .dashboard-source-empty { margin: 9px 0 0; color: #8492a4; font-size: 11px; line-height: 1.65; }
.dashboard-source-date input:focus-visible, .dashboard-source-people summary:focus-visible { outline: 2px solid #245fc4; outline-offset: 2px; }

@media (max-width: 760px) {
  .mobile-client-budget-source { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; }
  .mobile-client-budget-source .mobile-client-source { display: inline-block; max-width: 100%; padding: 1px 4px; border-radius: 4px; color: #47617b; background: #edf3fb; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
}
@media (max-width: 570px) {
  .dashboard-source-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .dashboard-source-date { width: 100%; }
  .dashboard-source-date label { flex: 1; }
  .dashboard-source-date input { width: 100%; box-sizing: border-box; }
  .dashboard-source-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
