:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #122033;
  --muted: #627089;
  --line: #dde6f1;
  --accent: #0f8b8d;
  --accent-dark: #0a5f73;
  --success: #2f9e6d;
  --shadow: 0 20px 50px rgba(31, 49, 75, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.14), transparent 34rem),
    linear-gradient(135deg, #f8fbff 0%, var(--bg) 48%, #edf4f8 100%);
}

.dashboard {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 40px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(221, 230, 241, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(31, 49, 75, 0.1);
}

.date-filter-icon {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent-dark);
  border-radius: 8px;
  background: var(--surface-soft);
}

.date-filter-icon::before,
.date-filter-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
}

.date-filter-icon::before {
  top: 9px;
  height: 2px;
  background: var(--accent-dark);
}

.date-filter-icon::after {
  top: 17px;
  height: 7px;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.date-filter label {
  display: grid;
  gap: 3px;
}

.date-filter label span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.date-filter input {
  width: 150px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.date-filter input:focus {
  color: var(--accent-dark);
}

.date-filter-separator {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.date-filter button {
  padding: 11px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.date-filter button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 95, 115, 0.24);
}

.date-filter button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.status {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(31, 49, 75, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(221, 230, 241, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--success));
}

.metric-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.metric-icon svg,
.metric-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.metric-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-icon-person {
  position: relative;
}

.metric-icon-person::before {
  content: "";
  display: none;
}

.metric-icon-person::after {
  content: "";
  display: none;
}

.metric-icon-money {
  position: relative;
}

.metric-icon-money::before {
  content: "";
  display: none;
}

.metric-icon-money-pending {
  color: #b85c00;
  background: rgba(255, 166, 0, 0.12);
}

.metric-icon-check {
  position: relative;
}

.metric-icon-pending {
  position: relative;
}

.metric-icon-pending::before {
  content: "";
  display: none;
}

.metric-icon-pending::after {
  content: "";
  display: none;
}

.metric-icon-check::before {
  content: "";
  display: none;
}

.metric-icon-percent {
  font-size: 1.1rem;
  font-weight: 800;
}

.metric-card p {
  min-height: 42px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.55rem;
  line-height: 1;
  letter-spacing: 0;
}

.metric-subdetail {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 10px;
  border: 1px solid rgba(200, 50, 65, 0.18);
  border-radius: 8px;
  background: rgba(200, 50, 65, 0.08);
  color: #7d2430;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.metric-card-currency > strong {
  font-size: 2rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1450px) {
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metric-trend {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.metric-trend strong {
  display: inline;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.metric-trend span {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.metric-trend-up strong {
  color: #0f9f68;
}

.metric-trend-down strong {
  color: #c83241;
}

.metric-trend-neutral strong {
  color: var(--muted);
}

.export-button {
  margin-top: 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.export-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 141, 0.35);
  background: rgba(15, 139, 141, 0.08);
}

.export-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.export-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.performance-list {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(31, 49, 75, 0.08);
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.list-header h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.list-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.branch-list {
  padding: 12px;
}

.branch-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.branch-item + .branch-item {
  margin-top: 10px;
}

.branch-item summary {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(5, minmax(108px, 140px));
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.branch-item summary::-webkit-details-marker {
  display: none;
}

.branch-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.branch-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  transition: transform 160ms ease;
}

.branch-item[open] .branch-arrow {
  transform: rotate(90deg);
}

.branch-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch-stat,
.agent-stat {
  display: grid;
  min-height: 48px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.stat-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
}

.stat-button {
  display: grid;
  min-width: 72px;
  padding: 5px 9px;
  border: 1px solid rgba(15, 139, 141, 0.22);
  border-radius: 8px;
  background: rgba(15, 139, 141, 0.08);
  color: var(--accent-dark);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  place-items: center;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.stat-button:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 141, 0.42);
  background: rgba(15, 139, 141, 0.14);
}

.stat-button:focus-visible {
  outline: 3px solid rgba(15, 139, 141, 0.28);
  outline-offset: 2px;
}

.stat-button-danger {
  border-color: rgba(200, 50, 65, 0.28);
  background: rgba(200, 50, 65, 0.08);
  color: #b42335;
}

.stat-button-danger:hover {
  border-color: rgba(200, 50, 65, 0.48);
  background: rgba(200, 50, 65, 0.14);
}

.agent-list {
  border-top: 1px solid var(--line);
}

.agent-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(5, minmax(108px, 140px));
  gap: 14px;
  align-items: center;
  padding: 14px 18px 14px 58px;
}

.agent-row + .agent-row {
  border-top: 1px solid var(--line);
}

.agent-row:hover {
  background: rgba(15, 139, 141, 0.06);
}

.agent-name {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.agent-sources {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.table-empty {
  margin: 0;
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.client-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 12px;
}

.client-modal[hidden] {
  display: none;
}

.client-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 51, 0.38);
  backdrop-filter: blur(3px);
}

.client-modal-panel {
  position: relative;
  width: min(1500px, calc(100vw - 24px));
  max-height: min(900px, calc(100vh - 24px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(18, 32, 51, 0.28);
}

.client-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #f7fafc);
}

.client-modal-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.client-modal-header h2 {
  margin: 0;
  color: #0f1d32;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.1;
  white-space: nowrap;
}

.client-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.client-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.client-search {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(390px, 100%);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 49, 75, 0.06);
}

.client-search span {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.client-search span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
  transform: rotate(45deg);
}

.client-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.client-export-button {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 49, 75, 0.08);
}

.client-export-button:hover {
  border-color: rgba(15, 139, 141, 0.35);
  color: var(--accent-dark);
}

.client-modal-body {
  max-height: calc(min(900px, 100vh - 24px) - 166px);
  overflow: auto;
  padding: 0 24px 18px;
}

.client-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
}

.client-table th,
.client-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.client-table th {
  background: #fbfdff;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-table td {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.client-table tbody tr:last-child td {
  border-bottom: 0;
}

.client-table tbody tr:hover {
  background: rgba(15, 139, 141, 0.05);
}

.client-id-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(15, 139, 141, 0.08);
  color: var(--accent-dark);
  font-weight: 800;
}

.client-email-cell,
.client-phone-cell {
  color: #34445c;
}

.client-table th:nth-child(1),
.client-table td:nth-child(1) {
  width: 105px;
}

.client-table th:nth-child(2),
.client-table td:nth-child(2) {
  min-width: 420px;
}

.client-table th:nth-child(3),
.client-table td:nth-child(3) {
  min-width: 280px;
}

.client-table th:nth-child(4),
.client-table td:nth-child(4) {
  min-width: 160px;
}

@media (max-width: 920px) {
  .dashboard-header {
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
  }

  .date-filter {
    width: 100%;
    flex-wrap: wrap;
  }

  .date-filter label {
    flex: 1 1 150px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branch-item summary,
  .agent-row {
    grid-template-columns: 1fr 1fr;
  }

  .branch-name,
  .agent-name {
    grid-column: 1 / -1;
  }

  .agent-row {
    padding-left: 18px;
  }

  .client-modal-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .client-search {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .dashboard {
    padding: 24px 14px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .status {
    width: 100%;
    text-align: center;
  }

  .date-filter {
    align-items: stretch;
  }

  .date-filter-icon,
  .date-filter-separator {
    display: none;
  }

  .date-filter input {
    width: 100%;
  }

  .date-filter button {
    width: 100%;
  }

  .metric-card {
    min-height: 170px;
  }
}

body {
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.08), transparent 26rem),
    linear-gradient(180deg, #f8fbff 0%, #f2f7fb 100%);
}

.dashboard {
  padding: 28px 52px 34px;
}

.dashboard-header {
  align-items: flex-start;
  margin-bottom: 28px;
}

.eyebrow {
  margin-bottom: 8px;
  color: #006b7b;
}

h1 {
  max-width: 680px;
  color: #0f1d32;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.12;
}

.header-actions {
  gap: 12px;
}

.date-filter {
  padding: 10px;
  border-color: rgba(210, 222, 235, 0.98);
  background: #ffffff;
}

.date-filter button {
  background: linear-gradient(180deg, #08788a, #005f70);
  box-shadow: 0 10px 24px rgba(0, 95, 112, 0.2);
}

.status {
  position: relative;
  padding-left: 28px;
  background: #ffffff;
  color: #2c4663;
}

.status::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1ba673;
  transform: translateY(-50%);
}

.metrics {
  align-items: stretch;
  gap: 16px;
}

.metric-card {
  display: grid;
  min-height: 188px;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: 40px 52px 36px 30px;
  align-content: start;
  column-gap: 13px;
  row-gap: 4px;
  padding: 18px 20px;
  border-color: #dbe7f2;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(24, 47, 74, 0.08);
}

.metric-card::before {
  display: none;
}

.metric-icon {
  grid-column: 1;
  grid-row: 1;
  width: 38px;
  height: 38px;
  margin: 0;
  background: rgba(15, 139, 141, 0.11);
  color: #006b7b;
}

.metric-card p {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-height: 0;
  margin: 2px 0 0;
  color: #526986;
  line-height: 1.25;
}

.metric-card strong {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  color: #0f1d32;
}

.metric-subdetail {
  grid-column: 1 / -1;
  grid-row: 4;
  align-self: center;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #7d2430;
}

.metric-trend {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: start;
  min-width: 0;
  flex-wrap: nowrap;
  row-gap: 2px;
  line-height: 1.25;
}

.export-button {
  align-self: flex-end;
  min-width: 220px;
  border-color: #d2deeb;
  background: #ffffff;
  color: #526986;
}

.performance-list {
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(24, 47, 74, 0.08);
}

.list-header {
  padding: 22px 24px 16px;
}

.view-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.list-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.performance-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 340px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 49, 75, 0.06);
}

.performance-search span {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.performance-search span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
  transform: rotate(45deg);
}

.performance-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.view-switch button {
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #526986;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.view-switch button.active {
  background: rgba(15, 139, 141, 0.1);
  color: #006b7b;
}

.branch-list-head {
  display: none;
  grid-template-columns: minmax(260px, 1fr) repeat(5, minmax(108px, 140px));
  gap: 14px;
  padding: 16px 26px 10px;
  border-top: 1px solid var(--line);
  color: #607391;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.branch-list-head span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.branch-list-head span:first-child {
  justify-content: flex-start;
  text-align: left;
}

.branch-list {
  padding: 0 16px 18px;
}

.branch-item {
  border-color: #dbe7f2;
  box-shadow: 0 8px 22px rgba(24, 47, 74, 0.06);
}

.branch-item summary,
.agent-row {
  grid-template-columns: minmax(260px, 1fr) repeat(5, minmax(108px, 140px));
}

.agent-view-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(5, minmax(108px, 140px));
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.branch-item summary {
  padding: 14px 16px;
  align-items: center;
}

.branch-title {
  color: #0f1d32;
}

.branch-arrow {
  width: 26px;
  height: 26px;
}

.stat-label {
  font-size: 0.68rem;
}

.stat-button {
  min-width: 62px;
  padding: 6px 12px;
}

.agent-row {
  padding: 13px 16px 13px 54px;
  align-items: center;
}

@media (max-width: 1100px) {
  .dashboard {
    padding: 24px 16px;
  }

  .list-header {
    align-items: stretch;
    flex-direction: column;
  }

  .list-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .performance-search {
    width: 100%;
  }

  .export-button {
    width: 100%;
  }

  .branch-list-head {
    display: none;
  }

  .branch-item summary,
  .agent-row,
  .agent-view-row {
    grid-template-columns: 1fr 1fr;
  }

  .branch-name,
  .agent-name {
    grid-column: 1 / -1;
  }

  .agent-row {
    padding-left: 18px;
  }
}
