.app:not([data-view="customer-pool"]) > .customer-pool-view {
  display: none !important;
}

.app[data-view="customer-pool"] > .dashboard,
.app[data-view="customer-pool"] > .daily-report-view,
.app[data-view="customer-pool"] > .daily-report-manager-view,
.app[data-view="customer-pool"] > .customer-management,
.app[data-view="customer-pool"] > .customer-detail-view,
.app[data-view="customer-pool"] > .comments-inbox-view,
.app[data-view="customer-pool"] > .customer-form-view,
.app[data-view="customer-pool"] > .sales-customer-analytics,
.app[data-view="customer-pool"] > .layout,
.app[data-view="customer-pool"] > .role-management,
.app[data-view="customer-pool"] > .user-management,
.app[data-view="customer-pool"] > .sales-management,
.app[data-view="customer-pool"] > .customer-field-management,
.app[data-view="customer-pool"] > .ai-management,
.app[data-view="customer-pool"] > .event-drawer {
  display: none !important;
}

.customer-pool-view {
  background: #f3f6f7;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.customer-pool-view[hidden] {
  display: none !important;
}

.customer-pool-view,
.customer-pool-view *,
.customer-pool-view *::before,
.customer-pool-view *::after {
  box-sizing: border-box;
}

.customer-pool-page {
  color: var(--text, #17232e);
  margin: 0 auto;
  max-width: 1360px;
  padding: 20px 24px 36px;
  width: 100%;
}

.customer-pool-page-head {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.customer-pool-page-head > div {
  min-width: 0;
}

.customer-pool-page-context {
  color: #42625f;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 3px;
}

.customer-pool-page-head h1 {
  color: #123b38;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

.customer-pool-page-head p {
  color: #53645f;
  font-size: 13px;
  line-height: 1.55;
  margin: 6px 0 0;
  max-width: 68ch;
  text-wrap: pretty;
}

.customer-pool-button {
  align-items: center;
  background: #176363;
  border: 1px solid #176363;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  justify-content: center;
  min-height: 38px;
  padding: 7px 14px;
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.customer-pool-button:hover:not(:disabled) {
  background: #104f4f;
  border-color: #104f4f;
}

.customer-pool-button:active:not(:disabled) {
  transform: translateY(1px);
}

.customer-pool-button:focus-visible,
.customer-pool-filter-toggle:focus-visible,
.customer-pool-modal-head button:focus-visible,
.customer-pool-binding:focus-within {
  outline: 3px solid rgba(31, 122, 122, 0.28);
  outline-offset: 2px;
}

.customer-pool-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.customer-pool-button-secondary {
  background: #fff;
  border-color: #bdd0d2;
  color: #274c4b;
}

.customer-pool-button-secondary:hover:not(:disabled) {
  background: #eaf3f2;
  border-color: #8eb3b3;
  color: #123b38;
}

.customer-pool-overview {
  background: #fff;
  border: 1px solid #d8e3e8;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
  overflow: hidden;
}

.customer-pool-metric {
  display: grid;
  gap: 2px;
  min-height: 88px;
  padding: 15px 18px;
  position: relative;
}

.customer-pool-metric + .customer-pool-metric::before {
  background: #e1e9eb;
  content: '';
  inset: 14px auto 14px 0;
  position: absolute;
  width: 1px;
}

.customer-pool-metric span {
  color: #53645f;
  font-size: 12px;
  font-weight: 650;
}

.customer-pool-metric strong {
  color: #123b38;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.customer-pool-metric small {
  color: #687974;
  font-size: 11px;
}

.customer-pool-skeleton strong,
.customer-pool-skeleton small {
  animation: customer-pool-pulse 1.2s ease-in-out infinite;
  background: #e8eff0;
  border-radius: 5px;
  color: transparent;
  max-width: 82px;
}

.customer-pool-notice {
  align-items: center;
  background: #fff8e9;
  border: 1px solid #ead6a9;
  border-radius: 10px;
  color: #6f5016;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 4px 10px;
  margin-bottom: 12px;
  padding: 10px 13px;
}

.customer-pool-notice span {
  color: #765f35;
}

.customer-pool-filter-shell {
  background: #fff;
  border: 1px solid #d8e3e8;
  border-radius: 14px;
  margin-bottom: 16px;
  padding: 13px;
}

.customer-pool-filter-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #123b38;
  cursor: pointer;
  display: none;
  font: inherit;
  justify-content: space-between;
  min-height: 42px;
  padding: 0;
  width: 100%;
}

.customer-pool-filter-toggle span {
  font-size: 15px;
  font-weight: 800;
}

.customer-pool-filter-toggle strong {
  color: #4f6662;
  font-size: 12px;
  font-weight: 650;
}

.customer-pool-filter-form {
  display: flex;
  gap: 10px;
}

.customer-pool-filter-grid {
  display: grid;
  flex: 1 1 auto;
  gap: 9px;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  min-width: 0;
}

.customer-pool-filter-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-pool-filter-field span {
  color: #53645f;
  font-size: 11px;
  font-weight: 700;
}

.customer-pool-filter-field select,
.customer-pool-filter-field input {
  appearance: none;
  background-color: #fff;
  border: 1px solid #cbdadd;
  border-radius: 8px;
  color: #1d3436;
  font: inherit;
  font-size: 12px;
  height: 36px;
  min-width: 0;
  padding: 0 9px;
  width: 100%;
}

.customer-pool-filter-field select {
  background-image: linear-gradient(45deg, transparent 50%, #58706e 50%), linear-gradient(135deg, #58706e 50%, transparent 50%);
  background-position: calc(100% - 13px) 15px, calc(100% - 9px) 15px;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  padding-right: 24px;
}

.customer-pool-filter-field select:focus,
.customer-pool-filter-field input:focus {
  border-color: #4c9290;
  outline: 3px solid rgba(31, 122, 122, 0.14);
}

.customer-pool-filter-actions {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.customer-pool-results {
  min-width: 0;
}

.customer-pool-results-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  padding: 0 2px;
}

.customer-pool-results-head h2 {
  color: #233c3c;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.customer-pool-results-head span {
  color: #647670;
  font-size: 12px;
}

.customer-pool-list {
  display: grid;
  gap: 10px;
}

.customer-pool-card {
  background: #fff;
  border: 1px solid #d8e3e8;
  border-radius: 14px;
  padding: 15px 17px 13px;
  transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.customer-pool-card:hover {
  border-color: #a8c5c5;
  transform: translateY(-1px);
}

.customer-pool-card-hot {
  background: #fffdf8;
  border-color: #e5c878;
}

.customer-pool-card-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.customer-pool-card-identity {
  min-width: 0;
}

.customer-pool-card-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-pool-card-title-row h2 {
  color: #172f31;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 4px 0 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.customer-pool-level,
.customer-pool-important,
.customer-pool-hot {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  min-height: 23px;
  padding: 3px 8px;
  white-space: nowrap;
}

.customer-pool-level {
  background: #e8f3f2;
  color: #155a59;
}

.customer-pool-muted-badge {
  background: #eef2f3;
  color: #566966;
}

.customer-pool-important {
  background: #f3ecff;
  color: #68449b;
}

.customer-pool-hot {
  background: #fff0cf;
  color: #865b0b;
}

.customer-pool-contact {
  align-items: center;
  color: #526661;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 5px;
  margin: 6px 0 0;
}

.customer-pool-contact span[aria-hidden] {
  color: #a4b0ae;
}

.customer-pool-card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.customer-pool-card-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 13px;
}

.customer-pool-card-facts > span {
  background: #f6f8f8;
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
}

.customer-pool-card-facts small {
  color: #637570;
  font-size: 10px;
  font-weight: 650;
}

.customer-pool-card-facts strong {
  color: #2d4443;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-pool-card-copy {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 11px;
}

.customer-pool-card-copy p {
  margin: 0;
  min-width: 0;
}

.customer-pool-card-copy span {
  color: #61736e;
  display: block;
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 3px;
}

.customer-pool-card-copy strong {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #253b3c;
  display: -webkit-box;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.customer-pool-card-foot {
  align-items: center;
  border-top: 1px solid #e5ecee;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
}

.customer-pool-reason {
  color: #49625e;
  font-size: 11px;
  font-weight: 700;
}

.customer-pool-counts {
  color: #62736f;
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 12px;
}

.customer-pool-counts strong {
  color: #1c4240;
}

.customer-pool-card-blocked {
  background: #f6f3ed;
  border-radius: 7px;
  color: #705b35;
  font-size: 11px;
  margin: 9px 0 0;
  padding: 7px 9px;
}

.customer-pool-card-skeleton {
  display: grid;
  gap: 10px;
  min-height: 170px;
}

.customer-pool-card-skeleton span {
  animation: customer-pool-pulse 1.2s ease-in-out infinite;
  background: #e7edef;
  border-radius: 7px;
  display: block;
  height: 22px;
}

.customer-pool-card-skeleton span:nth-child(2) {
  height: 52px;
  width: 70%;
}

.customer-pool-card-skeleton span:nth-child(3) {
  height: 34px;
  width: 45%;
}

.customer-pool-state {
  align-items: center;
  background: #fff;
  border: 1px solid #d8e3e8;
  border-radius: 14px;
  color: #526560;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-height: 210px;
  padding: 28px;
  text-align: center;
}

.customer-pool-state strong {
  color: #253d3d;
  font-size: 15px;
}

.customer-pool-state span {
  font-size: 12px;
  line-height: 1.55;
  max-width: 58ch;
}

.customer-pool-state-denied {
  background: #fff9ed;
  border-color: #ead7ad;
}

.customer-pool-load-more {
  align-items: center;
  color: #677772;
  display: flex;
  font-size: 12px;
  justify-content: center;
  min-height: 64px;
  padding-top: 10px;
}

.customer-pool-modal-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 2300;
}

.customer-pool-modal-backdrop {
  background: rgba(14, 28, 31, 0.56);
  border: 0;
  cursor: default;
  inset: 0;
  padding: 0;
  position: absolute;
}

.customer-pool-modal {
  background: #fff;
  border-radius: 14px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(760px, calc(100dvh - 44px));
  max-width: 680px;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: min(680px, 100%);
  z-index: 1;
}

.customer-pool-modal:focus {
  outline: 0;
}

.customer-pool-modal-head {
  align-items: center;
  border-bottom: 1px solid #e0e8ea;
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px 16px;
}

.customer-pool-modal-head > div {
  min-width: 0;
}

.customer-pool-modal-head span {
  color: #5e726d;
  display: block;
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 2px;
}

.customer-pool-modal-head h2 {
  color: #173936;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.customer-pool-modal-head button {
  align-items: center;
  background: #f1f5f5;
  border: 0;
  border-radius: 8px;
  color: #365250;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 22px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.customer-pool-modal-head button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.customer-pool-modal-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 17px;
}

.customer-pool-modal-foot {
  align-items: center;
  background: #fbfcfc;
  border-top: 1px solid #e0e8ea;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-height: 64px;
  padding: 11px 16px;
}

.customer-pool-modal-loading {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 14px 0;
}

.customer-pool-modal-loading span {
  animation: customer-pool-pulse 1.2s ease-in-out infinite;
  background: #e7edef;
  border-radius: 7px;
  display: block;
  height: 52px;
}

.customer-pool-modal-loading span:nth-child(2) {
  width: 78%;
}

.customer-pool-modal-loading span:nth-child(3) {
  width: 58%;
}

.customer-pool-summary-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.customer-pool-summary-head h3 {
  color: #183937;
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.customer-pool-summary-head p {
  align-items: center;
  color: #526661;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 5px;
  margin: 5px 0 0;
}

.customer-pool-summary-badges {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.customer-pool-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 15px 0;
}

.customer-pool-summary-grid div {
  background: #f5f8f8;
  border-radius: 8px;
  min-width: 0;
  padding: 9px 10px;
}

.customer-pool-summary-grid dt {
  color: #61736e;
  font-size: 10px;
  font-weight: 650;
}

.customer-pool-summary-grid dd {
  color: #263f3e;
  font-size: 12px;
  font-weight: 700;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.customer-pool-summary-copy {
  margin-top: 12px;
}

.customer-pool-summary-copy > span {
  color: #5b6e69;
  font-size: 11px;
  font-weight: 700;
}

.customer-pool-summary-copy p {
  color: #263c3d;
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.customer-pool-summary-counts {
  border-top: 1px solid #e3eaec;
  color: #60716d;
  display: flex;
  gap: 18px;
  margin-top: 15px;
  padding-top: 12px;
}

.customer-pool-summary-counts strong {
  color: #1e4542;
}

.customer-pool-claim-customer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-pool-claim-customer > span:first-child {
  color: #5c706b;
  font-size: 12px;
}

.customer-pool-claim-customer > strong {
  color: #193a38;
  font-size: 16px;
  margin-right: 3px;
  overflow-wrap: anywhere;
}

.customer-pool-claim-quota {
  background: #f3f7f7;
  border-radius: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 13px;
  padding: 11px 13px;
}

.customer-pool-claim-quota > span {
  display: grid;
  gap: 2px;
}

.customer-pool-claim-quota small {
  color: #61736e;
  font-size: 10px;
}

.customer-pool-claim-quota strong {
  color: #164c48;
  font-size: 16px;
}

.customer-pool-responsibility {
  background: #eef7f5;
  border: 1px solid #c6dfda;
  border-radius: 10px;
  color: #315954;
  margin-top: 13px;
  padding: 11px 12px;
}

.customer-pool-responsibility > strong {
  color: #174d48;
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.customer-pool-responsibility p {
  font-size: 12px;
  line-height: 1.55;
  margin: 3px 0;
}

.customer-pool-hot-warning {
  color: #76520e;
  font-weight: 700;
}

.customer-pool-inline-warning,
.customer-pool-inline-error,
.customer-pool-no-binding {
  border-radius: 8px;
  display: grid;
  font-size: 12px;
  gap: 3px;
  margin: 11px 0 0;
  padding: 9px 10px;
}

.customer-pool-inline-warning,
.customer-pool-no-binding {
  background: #fff7e8;
  color: #6f531c;
}

.customer-pool-inline-error {
  background: #fdeeed;
  color: #98392f;
}

.customer-pool-bindings {
  border: 0;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.customer-pool-bindings legend {
  color: #304a48;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 7px;
}

.customer-pool-binding {
  align-items: center;
  border: 1px solid #d3e0e1;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 9px 11px;
}

.customer-pool-binding:hover,
.customer-pool-binding-selected {
  background: #edf6f5;
  border-color: #6da7a4;
}

.customer-pool-binding input {
  accent-color: #176363;
  height: 18px;
  margin: 0;
  width: 18px;
}

.customer-pool-binding > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.customer-pool-binding strong {
  color: #24413f;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.customer-pool-binding strong small {
  background: #dceceb;
  border-radius: 999px;
  color: #285c58;
  font-size: 10px;
  margin-left: 4px;
  padding: 2px 6px;
}

.customer-pool-binding > span > span {
  color: #61736f;
  font-size: 11px;
}

.customer-pool-modal-success .customer-pool-modal-body {
  align-content: start;
  display: grid;
  justify-items: center;
  padding: 26px 24px 22px;
  text-align: center;
}

.customer-pool-success-mark {
  align-items: center;
  background: #def1e8;
  border-radius: 999px;
  color: #15734a;
  display: flex;
  font-size: 26px;
  font-weight: 850;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.customer-pool-success-copy h3 {
  color: #183c38;
  font-size: 20px;
  margin: 13px 0 5px;
}

.customer-pool-success-copy p {
  color: #4f6560;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 54ch;
}

.customer-pool-deadline {
  background: #f1f7f6;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  margin-top: 17px;
  min-width: min(340px, 100%);
  padding: 12px 16px;
}

.customer-pool-deadline span,
.customer-pool-deadline small {
  color: #5a6e69;
  font-size: 11px;
}

.customer-pool-deadline strong {
  color: #194d48;
  font-size: 17px;
}

.customer-pool-deadline b {
  color: #82570a;
  font-variant-numeric: tabular-nums;
}

.customer-pool-success-note {
  color: #71807c;
  font-size: 10px;
  margin: 10px 0 0;
}

.customer-pool-confirming {
  align-items: center;
  color: #506560;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  text-align: center;
}

.customer-pool-confirming > span {
  animation: customer-pool-spin 900ms linear infinite;
  border: 3px solid #d8e7e5;
  border-radius: 999px;
  border-top-color: #176363;
  height: 34px;
  margin-bottom: 13px;
  width: 34px;
}

.customer-pool-confirming strong {
  color: #24433f;
  font-size: 14px;
}

.customer-pool-confirming p {
  font-size: 12px;
  margin: 5px 0 0;
}

@keyframes customer-pool-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes customer-pool-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .customer-pool-filter-grid {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  .customer-pool-card-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .customer-pool-page {
    padding: 17px 16px 28px;
  }

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

  .customer-pool-metric:nth-child(3)::before {
    display: none;
  }

  .customer-pool-metric:nth-child(n + 3) {
    border-top: 1px solid #e1e9eb;
  }

  .customer-pool-filter-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .customer-pool-card-copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .app[data-view="customer-pool"] {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .customer-pool-view {
    max-width: 100%;
    overflow-x: hidden;
  }

  .customer-pool-page {
    max-width: 100%;
    padding: 12px 12px calc(28px + env(safe-area-inset-bottom));
  }

  .customer-pool-page-head {
    align-items: center;
    margin-bottom: 12px;
  }

  .customer-pool-page-head h1,
  .customer-pool-page-context {
    display: none;
  }

  .customer-pool-page-head p {
    font-size: 12px;
    margin: 0;
  }

  .customer-pool-page-head > .customer-pool-button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .customer-pool-overview {
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .customer-pool-metric {
    min-height: 78px;
    padding: 12px;
  }

  .customer-pool-metric strong {
    font-size: 19px;
  }

  .customer-pool-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-pool-filter-shell {
    border-radius: 12px;
    padding: 0 12px;
  }

  .customer-pool-filter-toggle {
    display: flex;
  }

  .customer-pool-filter-form {
    display: none;
    padding: 3px 0 12px;
  }

  .customer-pool-filter-form-open {
    display: block;
  }

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

  .customer-pool-filter-actions {
    margin-top: 12px;
  }

  .customer-pool-filter-actions .customer-pool-button {
    flex: 1 1 0;
    min-height: 44px;
  }

  .customer-pool-results-head {
    margin-bottom: 8px;
  }

  .customer-pool-card {
    border-radius: 12px;
    padding: 13px 12px 11px;
  }

  .customer-pool-card:hover {
    transform: none;
  }

  .customer-pool-card-head {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .customer-pool-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-pool-card-actions .customer-pool-button {
    min-height: 44px;
  }

  .customer-pool-card-facts {
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 11px;
  }

  .customer-pool-card-facts > span {
    padding: 8px;
  }

  .customer-pool-card-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .customer-pool-counts {
    width: 100%;
  }

  .customer-pool-load-more .customer-pool-button {
    min-height: 44px;
    width: 100%;
  }

  .customer-pool-modal-layer {
    align-items: flex-end;
    padding: 0;
  }

  .customer-pool-modal {
    border-radius: 14px 14px 0 0;
    max-height: min(88dvh, 780px);
    max-width: none;
    padding-bottom: env(safe-area-inset-bottom);
    width: 100%;
  }

  .customer-pool-modal-head {
    min-height: 62px;
    padding: 10px 12px;
  }

  .customer-pool-modal-body {
    padding: 14px 12px;
  }

  .customer-pool-modal-foot {
    padding: 10px 12px;
    position: sticky;
  }

  .customer-pool-modal-foot .customer-pool-button {
    flex: 1 1 0;
    min-height: 46px;
  }

  .customer-pool-summary-head {
    flex-direction: column;
  }

  .customer-pool-summary-badges {
    justify-content: flex-start;
  }

  .customer-pool-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .customer-pool-filter-grid,
  .customer-pool-card-facts {
    grid-template-columns: 1fr;
  }

  .customer-pool-overview {
    grid-template-columns: 1fr 1fr;
  }

  .customer-pool-metric {
    padding: 10px;
  }

  .customer-pool-metric strong {
    font-size: 18px;
  }

  .customer-pool-card-title-row h2 {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-pool-button,
  .customer-pool-card {
    transition: none;
  }

  .customer-pool-skeleton strong,
  .customer-pool-skeleton small,
  .customer-pool-card-skeleton span,
  .customer-pool-modal-loading span {
    animation: none;
  }
}
