body.staff-mode:not(.admin-mode) .staff-clients-page {
  min-height: calc(100dvh - 40px);
  padding: 0 26px 14px;
  color: #f7f8ff;
  font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.staff-mode:not(.admin-mode) .staff-clients-page.hidden {
  display: none !important;
}

body.staff-mode:not(.admin-mode) #staffView .staff-head.hidden,
body.staff-mode:not(.admin-mode) #staffView .kpi-grid.hidden,
body.staff-mode:not(.admin-mode) #staffView .staff-resource-tabs.hidden,
body.staff-mode:not(.admin-mode) #staffView .planning-box.hidden,
body.staff-mode:not(.admin-mode) #staffView .table-box.hidden {
  display: none !important;
}

.clients-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.clients-hero h1 {
  margin: 0;
  color: #f7f8ff;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 820;
  letter-spacing: -.02em;
}

.clients-hero p {
  margin: 12px 0 0;
  color: #9aa3b4;
  font-size: 14px;
  font-weight: 520;
}

.clients-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.clients-top-search,
.clients-panel-search {
  min-height: 42px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 8px;
  background: rgba(8, 12, 22, .74);
  color: #9aa3b4;
}

.clients-top-search {
  width: 258px;
  grid-template-columns: 36px minmax(0, 1fr) 38px;
}

.clients-top-search svg,
.clients-panel-search svg,
.clients-action-btn svg,
.client-profile-contact svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clients-top-search svg,
.clients-panel-search svg {
  justify-self: center;
}

body.staff-mode:not(.admin-mode) .clients-top-search input,
body.staff-mode:not(.admin-mode) .clients-panel-search input {
  min-width: 0;
  width: 100%;
  min-height: 0;
  height: auto;
  appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #f7f8ff !important;
  -webkit-text-fill-color: #f7f8ff !important;
  padding: 0 !important;
  font: inherit;
  font-size: 13px;
  font-weight: 520;
}

.clients-top-search input::placeholder,
.clients-panel-search input::placeholder {
  color: #6f7a8e;
}

.clients-top-search kbd {
  justify-self: center;
  color: #798397;
  font-size: 11px;
  font-weight: 700;
}

.clients-action-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 8px;
  background: rgba(8, 12, 22, .74);
  color: #f7f8ff;
  padding: 0 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition-property: background-color, border-color, transform;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.clients-action-btn:hover {
  background: rgba(14, 20, 34, .95);
  border-color: rgba(148, 163, 184, .28);
}

.clients-action-btn:active {
  transform: scale(.96);
}

body.staff-mode:not(.admin-mode) .clients-action-btn.primary {
  min-width: 160px;
  border-color: rgba(110, 74, 255, .72) !important;
  background: #5d36ff !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(93, 54, 255, .24) !important;
}

body.staff-mode:not(.admin-mode) .clients-action-btn.primary:hover {
  background: #6845ff;
}

.clients-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.clients-kpi,
.clients-table-panel,
.client-profile-panel {
  border: 1px solid rgba(148, 163, 184, .14);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, .045), transparent 38%),
    linear-gradient(180deg, rgba(17, 22, 33, .88), rgba(7, 10, 17, .94));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .028) inset,
    0 18px 48px rgba(0, 0, 0, .22);
}

.clients-kpi {
  position: relative;
  min-height: 126px;
  display: grid;
  grid-template-columns: 50px minmax(132px, 1fr) 92px;
  align-items: center;
  gap: 16px;
  padding: 21px 20px;
  border-radius: 10px;
  overflow: hidden;
}

.clients-kpi-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.clients-kpi-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clients-kpi.purple .clients-kpi-icon { background: rgba(123, 48, 255, .21); color: #8d54ff; }
.clients-kpi.blue .clients-kpi-icon { background: rgba(37, 99, 235, .19); color: #3f78ff; }
.clients-kpi.violet .clients-kpi-icon { background: rgba(123, 48, 255, .17); color: #8d54ff; }
.clients-kpi.amber .clients-kpi-icon { background: rgba(217, 119, 6, .16); color: #f0a020; }

.clients-kpi span,
.clients-kpi small {
  display: block;
}

.clients-kpi span {
  color: #a4adbe;
  font-size: 11px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.clients-kpi strong {
  display: block;
  margin-top: 14px;
  color: #ffffff;
  font-size: 29px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.clients-kpi small {
  margin-top: 12px;
  color: #1dcc8d;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 740;
  white-space: nowrap;
}

.clients-spark {
  width: 92px;
  height: 42px;
  align-self: end;
  justify-self: end;
  color: #6c34ff;
  opacity: .96;
  filter: drop-shadow(0 0 10px rgba(108, 52, 255, .2));
}

.clients-spark.blue {
  color: #2f6bff;
  filter: drop-shadow(0 0 10px rgba(47, 107, 255, .18));
}

.clients-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: stretch;
}

.clients-table-panel,
.client-profile-panel {
  border-radius: 10px;
  overflow: hidden;
}

.clients-tabs {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 68px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.clients-tabs button {
  position: relative;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #a6afbf;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.clients-tabs button.active {
  color: #ffffff;
}

.clients-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #6f3cff;
}

.clients-tabs em {
  min-width: 26px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(114, 77, 255, .15);
  color: #b7a5ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 790;
  font-variant-numeric: tabular-nums;
}

.clients-toolbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 170px minmax(0, 112px) minmax(0, 132px) 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
}

.clients-panel-search {
  grid-template-columns: 36px minmax(0, 1fr);
}

.clients-toolbar button,
.clients-table-footer button,
.client-history-button {
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 7px;
  background: rgba(8, 12, 22, .66);
  color: #dce3ee;
  padding: 0 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
}

.clients-toolbar button:hover,
.clients-table-footer button:hover,
.client-history-button:hover {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(14, 20, 34, .88);
}

.clients-columns {
  justify-self: end;
}

.clients-table-head,
.clients-table-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) 115px 145px 126px 126px 74px;
  align-items: center;
}

.clients-table-head {
  min-height: 42px;
  padding: 0 14px;
  color: #8f99ac;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.clients-table-body {
  padding: 0 14px 10px;
}

.clients-table-row {
  width: 100%;
  min-height: 74px;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, .09);
  border-radius: 0;
  background: transparent;
  color: #f7f8ff;
  padding: 0 0 0 0;
  text-align: left;
  cursor: pointer;
  transition-property: background-color, box-shadow, transform;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.clients-table-row.selected {
  border-top-color: rgba(91, 119, 255, .16);
  background: linear-gradient(90deg, rgba(35, 78, 176, .22), rgba(35, 78, 176, .045) 72%, transparent);
  box-shadow: inset 2px 0 0 #7a42ff;
}

.clients-table-row:hover {
  background: rgba(255, 255, 255, .025);
}

.client-cell {
  min-width: 0;
  padding: 0 10px;
  color: #eef3fb;
}

.client-cell strong,
.client-main strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-cell small,
.client-main small {
  display: block;
  margin-top: 4px;
  color: #8f99ac;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 540;
}

.client-main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.client-avatar,
.client-profile-avatar {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 820;
  letter-spacing: -.02em;
}

.client-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.client-avatar.violet,
.client-profile-avatar.violet,
.client-avatar.purple,
.client-profile-avatar.purple { background: linear-gradient(135deg, #5d36ff, #a11df6); }
.client-avatar.orange,
.client-profile-avatar.orange { background: linear-gradient(135deg, #ff8a00, #c46b00); }
.client-avatar.blue,
.client-profile-avatar.blue { background: linear-gradient(135deg, #1f64ff, #1744c8); }
.client-avatar.gold,
.client-profile-avatar.gold { background: linear-gradient(135deg, #d4a600, #9c7800); }
.client-avatar.green,
.client-profile-avatar.green { background: linear-gradient(135deg, #1ebf76, #0b8351); }
.client-avatar.teal,
.client-profile-avatar.teal { background: linear-gradient(135deg, #14b8a6, #0b8279); }

.client-status {
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 760;
}

.client-status.loyal { color: #c5a6ff; background: rgba(124, 58, 237, .18); }
.client-status.active { color: #69e0a6; background: rgba(16, 185, 129, .13); }
.client-status.new { color: #89bcff; background: rgba(37, 99, 235, .17); }
.client-status.inactive { color: #b4bcc8; background: rgba(148, 163, 184, .12); }

.client-cell small i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-left: 8px;
  border-radius: 999px;
  background: #14c984;
  vertical-align: middle;
}

.client-cell.actions {
  justify-self: center;
}

.client-cell.actions span {
  width: 32px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 7px;
  color: #a3adbd;
}

.clients-table-footer {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-top: 1px solid rgba(148, 163, 184, .1);
  color: #9aa3b4;
  font-size: 13px;
}

.clients-table-footer div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clients-table-footer button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
}

.clients-table-footer button.active {
  border-color: rgba(118, 74, 255, .72);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(118, 74, 255, .34);
}

.client-profile-panel {
  min-height: 620px;
  padding: 24px;
}

.client-profile-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 16px;
}

.client-profile-avatar {
  width: 54px;
  height: 54px;
  font-size: 18px;
}

.client-profile-head h2 {
  margin: 1px 0 8px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
}

.client-profile-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9ca6b7;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.client-profile-head button:hover {
  background: rgba(255, 255, 255, .04);
  color: #f7f8ff;
}

.client-profile-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-profile-tags span {
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(124, 58, 237, .2);
  color: #c7adff;
  font-size: 11px;
  font-weight: 760;
}

.client-profile-tags span + span {
  background: rgba(217, 119, 6, .16);
  color: #e4b35d;
}

.client-profile-contact {
  display: grid;
  gap: 13px;
  margin-top: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(148, 163, 184, .11);
}

.client-profile-contact p {
  margin: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #a8b2c1;
  font-size: 13px;
}

.client-profile-contact p:first-child {
  color: #6fa1ff;
}

.client-profile-stats {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 8px;
  overflow: hidden;
}

.client-profile-stats div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 0 18px;
}

.client-profile-stats div + div {
  border-left: 1px solid rgba(148, 163, 184, .1);
}

.client-profile-stats strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.client-profile-stats span {
  color: #8f99ac;
  font-size: 11px;
  font-weight: 560;
}

.client-last-booking {
  margin-top: 22px;
}

.client-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #dce3ee;
  font-size: 13px;
  font-weight: 720;
}

.client-panel-title button {
  border: 0;
  background: transparent;
  color: #7a5cff;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.client-last-card {
  display: grid;
  gap: 0;
  border: 1px solid rgba(148, 163, 184, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
}

.client-last-card > div {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #c9d1df;
  font-size: 12px;
}

.client-last-card > div + div {
  border-top: 1px solid rgba(148, 163, 184, .09);
}

.client-last-card em {
  color: #2bd28f;
  font-style: normal;
  font-weight: 730;
}

.client-last-card strong {
  color: #ffffff;
}

.client-profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, .11);
}

.client-profile-tabs button {
  position: relative;
  height: 42px;
  border: 0;
  background: transparent;
  color: #8f99ac;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
}

.client-profile-tabs button.active {
  color: #ffffff;
}

.client-profile-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #6f3cff;
}

.client-history-list {
  display: grid;
  margin-top: 14px;
}

.client-history-list div {
  min-height: 44px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #9aa3b4;
  font-size: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .08);
}

.client-history-list strong {
  color: #f7f8ff;
  font-weight: 760;
}

.client-history-list strong.negative {
  color: #ff5f5f;
}

.client-history-button {
  width: 100%;
  margin-top: 18px;
}

.clients-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #9aa3b4;
  font-size: 13px;
}

@media (max-width: 1320px) {
  .clients-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .clients-hero {
    flex-direction: column;
  }

  .clients-actions,
  .clients-top-search,
  .clients-action-btn {
    width: 100%;
  }

  .clients-kpis {
    grid-template-columns: 1fr;
  }

  .clients-table-panel {
    overflow-x: auto;
  }

  .clients-table-head,
  .clients-table-row {
    min-width: 880px;
  }
}

/* Reality pass: flatter SaaS surfaces, fewer decorative effects, real-data controls. */
body.staff-mode:not(.admin-mode) .clients-kpi,
body.staff-mode:not(.admin-mode) .clients-table-panel,
body.staff-mode:not(.admin-mode) .client-profile-panel {
  background: #0d121b;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .035) inset;
}

body.staff-mode:not(.admin-mode) .clients-kpi {
  grid-template-columns: 48px minmax(132px, 1fr) 88px;
}

body.staff-mode:not(.admin-mode) .clients-kpi small {
  color: #9aa3b4;
}

body.staff-mode:not(.admin-mode) .clients-spark {
  opacity: .78;
  filter: none;
}

body.staff-mode:not(.admin-mode) .client-avatar.violet,
body.staff-mode:not(.admin-mode) .client-profile-avatar.violet,
body.staff-mode:not(.admin-mode) .client-avatar.purple,
body.staff-mode:not(.admin-mode) .client-profile-avatar.purple {
  background: #4c2fbd;
}

body.staff-mode:not(.admin-mode) .client-avatar.orange,
body.staff-mode:not(.admin-mode) .client-profile-avatar.orange {
  background: #9a5a0a;
}

body.staff-mode:not(.admin-mode) .client-avatar.blue,
body.staff-mode:not(.admin-mode) .client-profile-avatar.blue {
  background: #244da8;
}

body.staff-mode:not(.admin-mode) .client-avatar.gold,
body.staff-mode:not(.admin-mode) .client-profile-avatar.gold {
  background: #8a6a0d;
}

body.staff-mode:not(.admin-mode) .client-avatar.green,
body.staff-mode:not(.admin-mode) .client-profile-avatar.green {
  background: #14774d;
}

body.staff-mode:not(.admin-mode) .client-avatar.teal,
body.staff-mode:not(.admin-mode) .client-profile-avatar.teal {
  background: #0f766e;
}

body.staff-mode:not(.admin-mode) .clients-action-btn.active,
body.staff-mode:not(.admin-mode) .clients-toolbar button.active {
  border-color: rgba(148, 163, 184, .42);
  background: rgba(26, 34, 48, .96);
}

.clients-filter-panel {
  display: grid;
  grid-template-columns: 190px 190px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin: -8px 0 22px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 10px;
  background: #0d121b;
}

.clients-filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: #8f99ac;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.clients-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 7px;
  background: #090d14;
  color: #f7f8ff;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  outline: none;
}

.clients-select:focus {
  border-color: rgba(148, 163, 184, .42);
}

.clients-filter-summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9aa3b4;
  font-size: 12px;
}

.clients-filter-summary strong {
  color: #ffffff;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

body.staff-mode:not(.admin-mode) .client-profile-panel.empty {
  display: grid;
  align-content: center;
  gap: 14px;
  color: #9aa3b4;
}

body.staff-mode:not(.admin-mode) .client-profile-panel.empty h2 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

body.staff-mode:not(.admin-mode) .client-profile-panel.empty p {
  margin: 0;
  max-width: 310px;
  line-height: 1.5;
}

.clients-empty.compact {
  min-height: 74px;
  border: 1px solid rgba(148, 163, 184, .1);
  border-radius: 8px;
}

.staff-clients-page.compact-clients .clients-table-head,
.staff-clients-page.compact-clients .clients-table-row {
  grid-template-columns: minmax(250px, 1.7fr) 115px 145px 126px 74px;
}

.staff-clients-page.compact-clients .clients-table-head span:nth-child(5),
.staff-clients-page.compact-clients .clients-table-row .client-cell:nth-child(5) {
  display: none;
}

body.staff-mode.staff-light:not(.admin-mode) .staff-clients-page {
  color: #111827;
}

body.staff-mode.staff-light:not(.admin-mode) .clients-hero h1,
body.staff-mode.staff-light:not(.admin-mode) .clients-kpi strong,
body.staff-mode.staff-light:not(.admin-mode) .client-cell strong,
body.staff-mode.staff-light:not(.admin-mode) .client-main strong,
body.staff-mode.staff-light:not(.admin-mode) .client-profile-head h2,
body.staff-mode.staff-light:not(.admin-mode) .client-profile-stats strong,
body.staff-mode.staff-light:not(.admin-mode) .client-last-card strong,
body.staff-mode.staff-light:not(.admin-mode) .clients-filter-summary strong {
  color: #111827;
}

body.staff-mode.staff-light:not(.admin-mode) .clients-kpi,
body.staff-mode.staff-light:not(.admin-mode) .clients-table-panel,
body.staff-mode.staff-light:not(.admin-mode) .client-profile-panel,
body.staff-mode.staff-light:not(.admin-mode) .clients-filter-panel {
  background: #ffffff;
  border-color: #d9dee8;
  box-shadow: none;
}

body.staff-mode.staff-light:not(.admin-mode) .clients-top-search,
body.staff-mode.staff-light:not(.admin-mode) .clients-panel-search,
body.staff-mode.staff-light:not(.admin-mode) .clients-action-btn,
body.staff-mode.staff-light:not(.admin-mode) .clients-toolbar button,
body.staff-mode.staff-light:not(.admin-mode) .clients-table-footer button,
body.staff-mode.staff-light:not(.admin-mode) .client-history-button,
body.staff-mode.staff-light:not(.admin-mode) .clients-select {
  background: #f8fafc;
  border-color: #d9dee8;
  color: #172033;
}

body.staff-mode.staff-light:not(.admin-mode) .clients-top-search input,
body.staff-mode.staff-light:not(.admin-mode) .clients-panel-search input {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
}

body.staff-mode.staff-light:not(.admin-mode) .clients-table-row.selected {
  background: #eef4ff;
  box-shadow: inset 2px 0 0 #4f46e5;
}

body.staff-mode.staff-light:not(.admin-mode) .clients-table-row:hover {
  background: #f8fafc;
}

body.staff-mode.staff-light:not(.admin-mode) .client-last-card {
  background: #f8fafc;
}

@media (max-width: 1120px) {
  .clients-filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .clients-filter-panel {
    grid-template-columns: 1fr;
  }
}
