/* WellPay Properties — responsive + search/form UX */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* —— Site nav (brand · links · auth) —— */
.wp-site-nav {
  background: #fff;
}

.wp-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 3.75rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.wp-nav-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.wp-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.wp-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #0f766e;
  cursor: pointer;
}

.wp-nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e7eb;
}

.wp-nav-drawer.open {
  display: flex;
  flex: 1 1 100%;
  width: 100%;
}

.wp-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.wp-nav-link {
  display: block;
  padding: 0.65rem 0.25rem;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.4rem;
}

.wp-nav-link:hover,
.wp-nav-link:focus-visible {
  color: #0f766e;
  background: #f0fdfa;
  outline: none;
}

.wp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: #0f766e;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.wp-nav-cta:hover {
  background: #0d9488;
}

.wp-nav-auth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.35rem;
  border-top: 1px dashed #e5e7eb;
}

.wp-nav-auth .lfe-auth-bar,
.wp-nav-auth #lfe-auth-bar {
  width: 100%;
  margin: 0 !important;
  justify-content: stretch;
}

.wp-nav-auth .lfe-auth-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wp-nav-auth .lfe-auth-actions button,
.wp-nav-auth .lfe-auth-btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  justify-content: center;
}

/* Desktop / tablet landscape: single row */
@media (min-width: 900px) {
  .wp-nav-inner {
    flex-wrap: nowrap;
  }

  .wp-nav-toggle {
    display: none;
  }

  .wp-nav-brand {
    flex: 0 1 auto;
    width: auto;
  }

  .wp-nav-drawer,
  .wp-nav-drawer.open {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem 1.25rem;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0;
    border-top: 0;
  }

  .wp-nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    gap: 0.35rem 1rem;
  }

  .wp-nav-link {
    padding: 0.4rem 0.15rem;
    white-space: nowrap;
  }

  .wp-nav-cta {
    margin-top: 0;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
  }

  .wp-nav-auth {
    width: auto;
    flex: 0 0 auto;
    padding-top: 0;
    border-top: 0;
  }

  .wp-nav-auth .lfe-auth-bar,
  .wp-nav-auth #lfe-auth-bar {
    width: auto;
  }

  .wp-nav-auth .lfe-auth-actions {
    width: auto;
    flex-wrap: nowrap;
  }

  .wp-nav-auth .lfe-auth-actions button,
  .wp-nav-auth .lfe-auth-btn {
    flex: 0 0 auto;
    min-width: 0;
  }
}

/* Mid widths: slightly tighter CTA copy space */
@media (min-width: 900px) and (max-width: 1100px) {
  .wp-nav-links {
    gap: 0.25rem 0.75rem;
  }
  .wp-nav-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .wp-nav-auth .lfe-auth-btn span {
    font-size: 0.8rem;
  }
}

.wp-hero h1 {
  font-size: clamp(1.5rem, 6vw, 3rem) !important;
  line-height: 1.2;
}

.wp-hero p {
  font-size: clamp(0.95rem, 3.2vw, 1.25rem) !important;
}

.wp-filter-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .wp-filter-panel.rentals { grid-template-columns: 2fr 1fr 1fr auto; }
  .wp-filter-panel.invest { grid-template-columns: 1.4fr 1fr 1fr auto; }
  .wp-filter-panel.admin { grid-template-columns: 1fr auto; }
}

.wp-filter-panel input:not([type="checkbox"]):not([type="radio"]),
.wp-filter-panel select {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 0.65rem;
  padding: 0.65rem 0.8rem;
  font-size: 16px;
  background: #fff;
}

.wp-filter-panel .wp-clear-btn {
  width: 100%;
  border-radius: 0.65rem;
  padding: 0.65rem 0.9rem;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

@media (min-width: 768px) {
  .wp-filter-panel .wp-clear-btn { width: auto; white-space: nowrap; }
}

#eligibilityForm input:not([type="checkbox"]):not([type="radio"]),
#eligibilityForm select {
  width: 100%;
  min-width: 0;
  font-size: 16px;
  min-height: 2.75rem;
}

#eligibilityForm input[type="checkbox"],
#eligibilityForm input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  min-width: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: #0f766e;
}

#eligibilityForm .wp-ack-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  width: 100%;
}

#eligibilityForm .wp-ack-row label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #374151;
  word-break: normal;
  overflow-wrap: break-word;
}

#eligibilityForm label {
  word-break: normal;
}

#eligibilityForm button[type="submit"] {
  min-height: 3rem;
  font-size: 1rem;
}

.wp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .wp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .wp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.wp-card {
  min-width: 0;
  word-break: break-word;
}

.wp-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-table-wrap table {
  min-width: 640px;
}

.modal > div {
  width: calc(100% - 1.5rem) !important;
  max-width: 42rem;
  margin: 0.75rem auto;
}

@media (max-width: 639px) {
  .hero-bg { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

/* —— Dual-portal workspace (customer / partner) —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wp-status-banner,
#propertiesLfeStatus {
  max-width: 72rem;
  margin: 0.5rem auto;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.wp-sync-banner {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.875rem;
}

.wp-auth-role {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 600;
}

.wp-role-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #99f6e4;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
}

.wp-role-chrome[hidden] { display: none !important; }

.wp-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wp-role-pill.customer { background: #0f766e; color: #fff; }
.wp-role-pill.partner { background: #0A2B3E; color: #fff; }

.wp-role-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: #374151;
}
.wp-role-copy strong { font-size: 0.95rem; color: #111827; }
.wp-role-copy em { font-style: normal; color: #0f766e; font-weight: 600; }

.wp-my-apps,
.wp-partner-desk {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.wp-role-partner .wp-my-apps,
body.wp-role-partner #apply { display: none !important; }
body.wp-role-customer .wp-partner-desk { display: none !important; }

.wp-my-apps-head,
.wp-partner-desk-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wp-apps-kicker,
.wp-partner-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f766e;
}

.wp-my-apps-head h2,
.wp-partner-desk-head h2 {
  margin: 0.15rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.wp-apps-sub,
.wp-partner-sub {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.wp-apps-refresh {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.wp-apps-refresh:hover { background: #f3f4f6; }

.wp-my-apps-list,
.wp-partner-list { display: grid; gap: 0.75rem; }

.wp-apps-empty,
.wp-partner-empty {
  padding: 1.25rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  border: 1px dashed #d1d5db;
  border-radius: 0.75rem;
}
.wp-apps-empty strong,
.wp-partner-empty strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #111827;
}

.wp-app-file {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.wp-app-file:hover,
.wp-app-file.is-active {
  border-color: #14b8a6;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.1);
  background: #fff;
}
.wp-app-file:active { transform: scale(0.99); }
.wp-app-file-mark {
  align-self: stretch;
  border-radius: 999px;
  background: #99f6e4;
}
.wp-app-file.is-active .wp-app-file-mark { background: #0f766e; }
.wp-app-file-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  align-items: center;
}
.wp-app-file-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}
.wp-app-file-id {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.75rem;
  color: #6b7280;
  font-family: ui-monospace, monospace;
}
.wp-app-file-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.wp-app-file-facts strong {
  display: block;
  color: #111827;
  font-size: 0.85rem;
}
.wp-app-file-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
}
.wp-app-file-status.is-review { background: #fef3c7; color: #92400e; }
.wp-app-file-status.is-approved { background: #d1fae5; color: #065f46; }
.wp-app-file-status.is-declined { background: #fee2e2; color: #991b1b; }
.wp-app-file-status.is-closed { background: #e5e7eb; color: #4b5563; }
.wp-app-file-cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
}

.wp-partner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.wp-partner-stat {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  text-align: center;
}
.wp-partner-stat span {
  display: block;
  font-size: 0.7rem;
  color: #0f766e;
  font-weight: 600;
}
.wp-partner-stat strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.25rem;
  color: #111827;
}

.wp-partner-card {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wp-partner-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.1);
  background: #fff;
}
.wp-partner-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}
.wp-partner-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
}
.wp-partner-card-meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #6b7280;
}
.wp-partner-card-foot {
  margin-top: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #4b5563;
  font-family: ui-monospace, monospace;
}
.wp-partner-share {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: #4b5563;
}
.wp-partner-share code {
  display: inline-block;
  margin: 0.15rem 0;
  padding: 0.15rem 0.35rem;
  background: #f3f4f6;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  word-break: break-all;
}

/* Bank messages */
.wp-chat-panel {
  margin: 0 0 0.5rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
body.wp-role-partner #propertiesChatForm {
  display: none !important;
}
body.wp-role-partner #propertiesChatPanel.wp-chat-panel,
body.wp-role-customer #propertiesChatPanel.wp-chat-panel {
  display: block !important;
}
.wp-chat-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}
.wp-chat-status {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}
.wp-chat-messages {
  margin-top: 0.85rem;
  min-height: 10rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.wp-chat-empty {
  margin: auto;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
  padding: 1.5rem 0.5rem;
}
.wp-chat-bubble {
  max-width: 85%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.wp-chat-bubble.you {
  align-self: flex-end;
  background: #0f766e;
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}
.wp-chat-bubble.bank {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  border-bottom-left-radius: 0.25rem;
}
.wp-chat-meta {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}
.wp-chat-form {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}
.wp-chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid #d1d5db;
  font-size: 16px;
}
.wp-chat-send {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  border: none;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}
.wp-chat-send:disabled,
.wp-chat-form input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-role-pills {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.auth-role-pills button {
  flex: 1;
  min-height: 2.5rem;
  border-radius: 0.55rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.auth-role-pills button.active {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

/* Auth modal field stack — organized signup / sign-in */
.wp-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wp-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wp-auth-field[hidden] {
  display: none !important;
}
.wp-auth-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
}
.wp-auth-field input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}
.wp-auth-field input:focus {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
  border-color: #0f766e;
}
.wp-auth-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #6b7280;
}
#authModal.lfe-modal-auth .panel {
  width: min(420px, calc(100vw - 1.5rem));
}
#authModal .lfe-modal-body {
  max-height: min(78vh, 640px);
  overflow-y: auto;
}
#authModal .lfe-modal-footer {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
#authModal .lfe-modal-footer .lfe-btn {
  flex: 1;
  min-height: 2.75rem;
}

@media (max-width: 640px) {
  .wp-partner-stats { grid-template-columns: 1fr; }
  .wp-app-file {
    grid-template-columns: 4px 1fr;
  }
  .wp-app-file-cta {
    grid-column: 2;
    justify-self: start;
  }
}

/* Mobile harden — overflow, stacking, touch */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.wp-my-apps,
.wp-partner-desk,
.wp-chat-panel,
.wp-role-chrome,
.wp-cards,
.wp-filter-panel {
  max-width: 100%;
  min-width: 0;
}
.wp-apps-sub,
.wp-partner-sub,
.wp-partner-share,
.wp-partner-empty,
.wp-chat-status,
.wp-app-file-title,
.wp-app-file-id,
.wp-partner-card-meta {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.wp-partner-share code {
  display: inline-block;
  max-width: 100%;
  word-break: break-all;
}

@media (max-width: 768px) {
  .wp-role-chrome {
    flex-direction: column;
    align-items: flex-start;
  }
  .wp-my-apps-head,
  .wp-partner-desk-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .wp-apps-refresh {
    width: 100%;
    min-height: 2.75rem;
  }
  .wp-app-file {
    grid-template-columns: 4px minmax(0, 1fr);
    padding: 0.85rem 0.9rem;
  }
  .wp-app-file-cta {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .wp-app-file-facts {
    flex-direction: column;
    gap: 0.45rem;
  }
  .wp-partner-card-top,
  .wp-partner-card-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .wp-chat-form {
    flex-direction: column;
  }
  .wp-chat-send {
    width: 100%;
  }
  .wp-chat-bubble {
    max-width: 95%;
  }
  .wp-filter-panel {
    grid-template-columns: 1fr !important;
  }
  .auth-role-pills button {
    min-height: 2.75rem;
  }
}

@media (max-width: 480px) {
  .wp-my-apps,
  .wp-partner-desk,
  .wp-chat-panel {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .wp-my-apps-head h2,
  .wp-partner-desk-head h2 {
    font-size: 1.15rem;
  }
  .wp-hero h1 {
    font-size: 1.65rem;
    line-height: 1.25;
  }
  .wp-hero p {
    font-size: 0.95rem;
  }
}

.wp-card-desc {
  margin-top: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
  font-size: 0.8125rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.wp-card-desc-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 0.2rem;
}
.wp-pager {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}
.wp-pager.is-on {
  display: flex;
}
.wp-pager-btn {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f766e;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.wp-pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wp-pager-meta {
  font-size: 0.875rem;
  color: #64748b;
}
.wp-partner-listing-form {
  max-width: 100%;
}
.wp-partner-listing-form .grid {
  min-width: 0;
}
.wp-partner-listing-form input,
.wp-partner-listing-form select,
.wp-partner-listing-form textarea,
.wp-partner-listing-form button {
  max-width: 100%;
  min-height: 2.75rem;
}
.wp-partner-listing-form textarea {
  min-height: 5rem;
}
.wp-partner-my-listings {
  display: grid;
  gap: 0.75rem;
}
.wp-partner-listing-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: #fff;
  min-width: 0;
}
.wp-partner-listing-card .wp-partner-card-top,
.wp-partner-listing-card .wp-partner-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 640px) {
  .wp-cards {
    grid-template-columns: 1fr !important;
  }
  .wp-card {
    padding: 1rem;
  }
  .wp-filter-panel input,
  .wp-filter-panel select,
  .wp-filter-panel .wp-clear-btn {
    width: 100%;
    min-height: 2.75rem;
  }
  #eligibilityForm .grid,
  .wp-partner-listing-form .grid {
    grid-template-columns: 1fr !important;
  }
  section.wp-hero .flex {
    flex-direction: column;
    align-items: stretch;
  }
  section.wp-hero .flex > div {
    text-align: center;
  }
}
