/* Official Kindred brand palette (from kindred_brand_deck.pptx, slide 7):
   Aubergine #422448 · Cream #FFF8EF · Clay #BE765F · Lilac #B8A3C4 · Moss #687A65.
   Variable NAMES are kept from the original coral/teal theme so every
   existing rule and inline style remaps automatically:
   --coral is now the interactive plum, --teal the muted-plum accent. */
:root {
  --cream: #FFF8EF;
  --ink: #2C1A30;
  --ink-soft: #765D74;
  --coral: #5E3862;
  --coral-dark: #422448;
  --teal: #765D74;
  --teal-light: #EFE7F2;
  --lavender: #B8A3C4;
  --rust: #BE765F;
  --rust-light: #F3E4D8;
  --moss: #687A65;
  --moss-light: #E9EDE7;
  --sand: #F7E8DB;
  --line: #EBDAC9;
  --shadow: 0 10px 30px rgba(44, 26, 48, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #d9cfc2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--ink);
}

h1, h2, .logo, .chat-name, .nav-btn span:last-child {
  font-family: 'Poppins', sans-serif;
}

.phone {
  width: 390px;
  height: 812px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}

.demo-banner {
  background: var(--teal-light);
  color: var(--teal);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 10px;
  flex-shrink: 0;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.screen.hidden { display: none; }

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px;
}

.logo {
  font-family: 'Fraunces', serif !important;
  font-size: 24px;
  font-weight: 600;
  color: var(--coral-dark);
  letter-spacing: 0.2px;
}
#screen-discover .top-bar { justify-content: center; position: relative; }

/* ===== EXPERIENCE SWITCHING (matching app <-> explore/website) ===== */
.experience-switch-btn {
  background: white;
  border: 1.5px solid var(--line);
  color: var(--coral);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 20px;
  cursor: pointer;
}
.nav-emblem {
  height: 17px;
  display: block;
  filter: grayscale(1) opacity(0.55);
}
.nav-btn.active .nav-emblem { filter: none; }
.experience-card {
  background: var(--cream);
  border-radius: 26px;
  padding: 28px 24px;
  width: calc(100% - 48px);
  max-width: 340px;
  margin: auto;
}
.experience-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--coral-dark);
  text-align: center;
}
.experience-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
  margin: 6px 0 20px;
}
.explore-bar { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.explore-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.explore-lockup {
  width: 190px;
  margin: 4px auto 2px;
}
.explore-headline {
  font-family: 'Fraunces', serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--coral-dark);
  text-align: center;
  line-height: 1.2;
}
.explore-sub {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 4px;
}
.explore-block {
  background: white;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.explore-block-title {
  font-family: 'Fraunces', serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--coral-dark);
  margin-bottom: 6px;
}
.explore-block p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.explore-placeholder {
  background: var(--teal-light);
  box-shadow: none;
}
.explore-placeholder p { color: var(--teal); font-weight: 500; text-align: center; }
.explore-section-title {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--coral-dark);
  margin-top: 8px;
}
.explore-resources-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: -8px;
}
#explore-resources-list { display: flex; flex-direction: column; gap: 10px; }
.resource-card {
  background: white;
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 11px;
}
.resource-icon { font-size: 20px; flex-shrink: 0; }
.resource-text { flex: 1; min-width: 0; }
.resource-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.resource-blurb { font-size: 12px; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.resource-save-btn {
  background: white;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.resource-save-btn.saved {
  background: var(--coral);
  color: white;
}

/* ===== BETWEEN-SESSIONS PORTAL ===== */
.portal-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--sand);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
.portal-item-text { flex: 1; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.portal-item-done { text-decoration: line-through; color: var(--ink-soft); }
.portal-done-note { color: var(--moss); font-style: normal; font-size: 12px; }
.portal-checkable { cursor: pointer; }
.portal-checkable input { margin-top: 2px; accent-color: var(--coral); }
.portal-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  padding: 0 2px;
}
.portal-note {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--teal-light);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.5;
}
.portal-open-btn {
  background: var(--coral-dark);
  color: white;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== ON-DEMAND SAFETY & TRUST ===== */
.crisis-note {
  background: var(--rust-light);
  color: var(--rust);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  padding: 8px 12px;
  margin: 0 20px 10px;
}
.crisis-note strong { font-weight: 800; }
.crisis-help-btn {
  background: var(--rust) !important;
  color: white !important;
  margin-top: 14px;
}
.crisis-resource {
  display: block;
  background: var(--rust-light);
  color: var(--rust);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 14px;
  margin-top: 8px;
  text-align: center;
}
.noshow-link {
  background: none;
  border: none;
  color: var(--rust);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 0 0;
  text-align: left;
}
.welcome-stats-title {
  font-family: 'Fraunces', serif;
  color: var(--coral-dark);
}
.welcome-stats-line {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 8px;
}

/* ===== LICENSE VERIFICATION ===== */
.verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--moss-light);
  color: var(--moss);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 14px;
  flex-shrink: 0;
}
.detail-badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.top5-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--rust-light);
  color: var(--rust);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 14px;
  flex-shrink: 0;
}
.top5-star { color: var(--rust); font-weight: 700; margin-right: 5px; }

/* Hinge-style compact fact row on the detail view */
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 4px;
}
.fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink);
}
.fact-ic { font-size: 14px; opacity: 0.9; }
.license-verified-box {
  background: var(--moss-light);
  color: var(--moss);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  padding: 11px 13px;
}
.stripe-verify-btn {
  width: 100%;
  background: #635BFF;
  color: white;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 4px;
}
.stripe-verify-btn strong { font-weight: 800; letter-spacing: -0.3px; }
.stripe-sheet-brand {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #635BFF;
  margin-bottom: 8px;
}
.stripe-sheet-brand span { font-weight: 500; letter-spacing: 0; color: var(--ink-soft); font-size: 13px; }
.stripe-primary-btn { background: #635BFF !important; color: white !important; margin-top: 14px; }
.stripe-primary-btn:disabled { opacity: 0.6; }

/* ===== THERAPIST INSIGHTS ===== */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat-tile {
  background: white;
  border-radius: 16px;
  padding: 14px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--coral-dark);
  line-height: 1.1;
}
.stat-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-top: 4px;
}
.stat-delta {
  font-size: 11.5px;
  color: var(--moss);
  font-weight: 600;
  margin-top: 2px;
}
.website-link { color: var(--teal); font-weight: 600; text-decoration: none; }
.website-link:hover { text-decoration: underline; }

.icon-btn {
  background: var(--sand);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-soft);
}

/* ===== CARD STACK ===== */
.card-stack {
  position: relative;
  flex: 1;
  margin: 4px 20px 10px;
  min-height: 0;
}

.card {
  position: absolute;
  inset: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
  cursor: grab;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.card:active { cursor: grabbing; }
.card.dragging { transition: none; }

.card-photo {
  height: 44%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 12px 12px 0;
  border-radius: 20px;
  overflow: hidden;
}

.card-photo .initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: white;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.5);
}

.stamp {
  position: absolute;
  top: 28px;
  padding: 8px 16px;
  border: 4px solid;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(-18deg);
}
.stamp.like { right: 24px; color: var(--teal); border-color: var(--teal); transform: rotate(-14deg); }
.stamp.pass { left: 24px; color: var(--coral-dark); border-color: var(--coral-dark); transform: rotate(14deg); }

.card-body {
  padding: 16px 20px 14px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.card-name-row h2 { font-size: 20px; }
.card-name-row .creds { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.pronouns-label { font-size: 12px; color: var(--ink-soft); margin-top: -6px; }

.card-meta {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

.detail-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  margin: 0;
  height: auto;
}

.language-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 4px;
}

.best-for {
  background: var(--sand);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
}

.prompt-block {
  background: var(--sand);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 2px;
}
.prompt-block .prompt-q {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--coral-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.prompt-block .prompt-a {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.prompt-photo {
  width: 100%;
  border-radius: 14px;
  margin-top: 2px;
  display: block;
  object-fit: cover;
  max-height: 260px;
}

/* ===== PROFILE FEED (interleaved prompts + media) ===== */
.feed-divider {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  font-weight: 700;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.feed-media { margin: 0; }
.feed-media img, .feed-media video {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}
.feed-media img { max-height: 240px; }
.feed-video video { background: var(--ink); max-height: 240px; }
.feed-caption {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 5px;
  text-align: center;
}
.media-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.media-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--ink-soft);
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.media-row-text strong { font-size: 13px; color: var(--ink); }
.media-row-text span { font-size: 11px; color: var(--ink-soft); line-height: 1.35; }
.media-row input[type="file"] { max-width: 92px; font-size: 10px; }

/* ===== ACTION ROW ===== */
.action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 0 22px;
}

.action-btn {
  border: none;
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.15s ease;
}
.action-btn:active { transform: scale(0.9); }
.action-btn.pass { width: 56px; height: 56px; color: var(--coral-dark); }
.action-btn.like { width: 56px; height: 56px; color: white; background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.action-btn.info { width: 42px; height: 42px; font-size: 16px; font-style: italic; font-weight: 700; color: var(--teal); }

/* ===== MATCHES LIST ===== */
.matches-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.empty-state {
  color: var(--ink-soft);
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  padding: 0 30px;
}
.match-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
}
.match-row > div:not(.avatar-md) {
  flex: 1;
  min-width: 0;
}
.match-row .last-msg {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.match-row.pending { opacity: 0.6; }
.match-row .pending-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--lavender);
  background: #f2edf8;
  padding: 4px 8px;
  border-radius: 20px;
}

.request-cap-banner {
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 9px;
  border-radius: 12px;
  margin-bottom: 4px;
}
.list-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  font-weight: 700;
  margin: 14px 2px 2px;
}
.match-row.shortlist-row { cursor: default; }
.shortlist-request-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--coral);
  color: white;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}
.shortlist-request-btn:disabled {
  background: var(--line);
  color: var(--ink-soft);
  cursor: not-allowed;
}

.avatar-sm, .avatar-md, .avatar-lg {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar-sm { width: 40px; height: 40px; font-size: 14px; }
.avatar-md { width: 50px; height: 50px; font-size: 17px; }
.avatar-lg { width: 88px; height: 88px; font-size: 30px; border: 3px solid white; }
.avatar-sm.photo, .avatar-md.photo, .avatar-lg.photo {
  background-size: cover;
  background-position: center top;
  color: transparent;
  flex-shrink: 0;
}

/* ===== CHAT ===== */
.chat-header { border-bottom: 1px solid var(--line); padding-bottom: 14px; gap: 12px; }
.chat-therapist-info { display: flex; align-items: center; gap: 10px; }
.back-btn { background: transparent; box-shadow: none; font-size: 20px; }
.chat-name { font-size: 15px; font-weight: 600; }
.chat-status { font-size: 11px; color: var(--ink-soft); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.msg.them { background: var(--sand); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--teal); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 16px 18px;
  border-top: 1px solid var(--line);
}
.chat-input-row input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.chat-input-row button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--coral);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* ===== MODALS ===== */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,42,38,0.55);
  display: flex;
  align-items: flex-end;
  z-index: 20;
}
.modal-overlay.hidden { display: none; }

.modal-sheet {
  background: white;
  width: 100%;
  max-height: 88%;
  border-radius: 28px 28px 0 0;
  overflow-y: auto;
  padding: 22px 24px 30px;
}
.modal-sheet h2 { margin-bottom: 2px; }
.modal-sheet .sheet-close {
  width: 40px;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  margin: 0 auto 16px;
}
.modal-sheet .prompt-block { margin-bottom: 4px; }
.preview-banner {
  background: var(--cream, #f4ede3);
  border: 1.5px dashed var(--coral);
  color: var(--coral-dark);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.modal-sheet .section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  font-weight: 700;
  margin: 16px 0 8px;
}

.match-celebration {
  margin: auto;
  background: linear-gradient(180deg, var(--coral) 0%, var(--lavender) 100%);
  color: white;
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  width: 88%;
  box-shadow: var(--shadow);
}
.match-hearts { font-size: 20px; letter-spacing: 8px; opacity: 0.85; margin-bottom: 10px; }
.match-celebration h1 { font-size: 30px; margin-bottom: 10px; }
.match-celebration p { font-size: 14px; opacity: 0.95; margin-bottom: 20px; line-height: 1.4; }
.match-avatars { display: flex; justify-content: center; margin-bottom: 26px; }

.primary-btn {
  width: 100%;
  background: white;
  color: var(--coral-dark);
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 10px;
}
.primary-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.text-btn {
  background: transparent;
  border: none;
  color: white;
  opacity: 0.9;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

/* ===== TOAST ===== */
.toast {
  position: absolute;
  bottom: 100px;
  left: 20px;
  right: 20px;
  background: var(--ink);
  color: white;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 13px;
  text-align: center;
  z-index: 25;
  box-shadow: var(--shadow);
  animation: fadeUp 0.3s ease;
}
.toast.hidden { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  display: flex;
  border-top: 1px solid var(--line);
  background: white;
  padding: 10px 0 22px;
}
.bottom-nav.hidden { display: none; }
.nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.nav-btn.active { color: var(--coral-dark); }
.nav-icon { font-size: 17px; }
.nav-btn span:last-child { font-size: 10px; }
.five-tabs .nav-btn { padding: 0 2px; }
.five-tabs .nav-icon { font-size: 15px; }
.five-tabs .nav-btn span:last-child { font-size: 9px; letter-spacing: -0.2px; }
.nav-badge {
  position: absolute;
  top: -2px;
  right: 28%;
  background: var(--coral-dark);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-badge.hidden { display: none; }

/* Profile screen (simple) */
.profile-content {
  flex: 1;
  padding: 10px 24px;
  overflow-y: auto;
}
.pref-item {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
#confirm-sheet .pref-item { background: var(--cream); box-shadow: none; }
.pref-label { font-size: 11px; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.5px; }
.profile-content .edit-prefs-btn {
  width: 100%;
  background: var(--sand);
  color: var(--coral-dark);
  border: none;
  padding: 13px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 6px;
}

/* ===== INTAKE QUIZ ===== */
.intake-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px;
  overflow-y: auto;
}
.intake-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.intake-progress .dot {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.intake-progress .dot.done { background: var(--coral); }
.intake-content h1 {
  font-size: 22px;
  margin-bottom: 6px;
}
.intake-content .intake-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.4;
}
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.budget-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.budget-slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--coral);
  height: 4px;
}
.budget-slider-row .budget-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--coral-dark);
  min-width: 52px;
  text-align: right;
}
.chip-option {
  background: white;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 20px;
  cursor: pointer;
}
.chip-option.selected {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
  font-weight: 600;
}
.chip-option.chip-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.specialty-panel {
  max-height: 260px;
  overflow-y: auto;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 6px 4px;
  margin-top: 10px;
}
.specialty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
}
.specialty-row:hover { background: var(--cream); }
.specialty-row input { accent-color: var(--coral); flex-shrink: 0; }
.prompt-photo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 4px;
}
.prompt-photo-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  margin-left: 4px;
  cursor: pointer;
}
.tag-clickable { cursor: pointer; }
.tag-clickable .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  font-size: 9px;
  font-weight: 700;
  margin-left: 3px;
}
.modality-info-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 4px;
}
.option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.option-row {
  background: white;
  border: 1.5px solid var(--line);
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 14px;
  cursor: pointer;
}
.option-row.selected {
  border-color: var(--coral);
  background: #fdf1ed;
  color: var(--coral-dark);
  font-weight: 600;
}
.must-have-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sand);
  padding: 12px 16px;
  border-radius: 14px;
  margin: 6px 0 16px;
  font-size: 13px;
}
.must-have-toggle .switch {
  width: 42px;
  height: 24px;
  border-radius: 20px;
  background: var(--line);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.must-have-toggle .switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.must-have-toggle .switch.on { background: var(--coral); }
.must-have-toggle .switch.on::after { transform: translateX(18px); }
.must-have-toggle .toggle-label strong { display: block; color: var(--ink); font-weight: 600; }
.must-have-toggle .toggle-label span { color: var(--ink-soft); font-size: 12px; }

.intake-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
  padding-top: 16px;
}
.intake-footer .btn-back {
  background: var(--sand);
  color: var(--ink-soft);
  border: none;
  padding: 14px 20px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.intake-footer .btn-next {
  flex: 1;
  background: var(--coral);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.intake-footer .btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== MATCH TRANSPARENCY TAGS ===== */
.match-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.match-tag {
  background: #fdf1ed;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 20px;
}
.match-tag::before { content: '✓ '; }
.match-tag-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-top: 4px;
}
.practice-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  margin-top: 2px;
}

/* ===== SWIPE CARD (mockup style) ===== */
.serif-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 27px;
  color: var(--coral-dark);
  letter-spacing: 0.2px;
}
.card-subtitle {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-top: -4px;
}
.card-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-photo .stamp, .card-photo .match-pct-badge, .card-photo .language-badge { z-index: 2; }
.match-pct-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--coral-dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.22);
}
.trait-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.trait-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}
.trait-chip svg { flex-shrink: 0; }
.tc-0 { background: var(--rust-light); color: var(--rust); }
.tc-1 { background: var(--teal-light); color: var(--teal); }
.tc-2 { background: var(--moss-light); color: var(--moss); }
.quote-block {
  position: relative;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--coral-dark);
  text-align: center;
  padding: 10px 14px 4px 34px;
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  left: 6px;
  top: 2px;
  font-size: 40px;
  font-style: normal;
  color: var(--lavender);
  font-family: 'Fraunces', serif;
  line-height: 1;
}
.why-match-label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.why-match-list {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.why-match-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
}
.why-match-list li::before {
  content: '\2713';
  background: var(--coral-dark);
  color: white;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 1px;
}
.capability-row {
  display: flex;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 6px;
}
.capability-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  padding: 0 4px;
}
.capability-item + .capability-item { border-left: 1px solid var(--line); }
.capability-item .cap-icon { font-size: 15px; color: var(--coral); }

/* ===== EMPTY STATE / LOOSEN FILTERS ===== */
.empty-pool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
  gap: 16px;
}
.empty-pool .loosen-btn {
  background: var(--coral);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

/* ===== ON-DEMAND SCREEN ===== */
.ondemand-subtitle {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 0 20px 10px;
  line-height: 1.4;
}
.ondemand-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ondemand-card {
  background: white;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.ondemand-card .od-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ondemand-card .od-name { font-size: 15px; font-weight: 600; }
.ondemand-card .od-creds { font-size: 12px; color: var(--ink-soft); }
.ondemand-card .slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.slot-btn {
  background: var(--teal-light);
  color: var(--teal);
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 16px;
  cursor: pointer;
}
.slot-btn.booked {
  background: var(--sand);
  color: var(--ink-soft);
  cursor: default;
}

/* ===== THERAPIST VIEW ===== */
.therapist-picker {
  margin: 0 20px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
}
.requests-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-size: 14px;
}
.request-need { margin-bottom: 10px; line-height: 1.4; }
.request-intro {
  background: var(--sand);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 12px;
}
.message-btn-full {
  width: 100%;
  background: var(--teal-light);
  color: var(--teal);
  border: none;
  padding: 11px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 10px;
}
.request-actions { display: flex; gap: 10px; }
.request-actions button {
  flex: 1;
  border: none;
  padding: 11px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.request-actions .accept-btn { background: var(--teal); color: white; }
.request-actions .decline-btn { background: var(--sand); color: var(--ink-soft); }
.request-card.resolved { color: var(--ink-soft); font-size: 13px; }
.resolved-tag { font-weight: 700; }
.resolved-tag.matched { color: var(--teal); }
.resolved-tag.declined { color: var(--ink-soft); }
.confirmed-session {
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.confirmed-session.cancelled {
  background: var(--sand);
  color: var(--ink-soft);
}
.cancel-session-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--sand);
  color: var(--ink-soft);
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}
.payment-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--coral-dark);
  text-align: center;
  margin: 16px 0;
}
.policy-list {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 18px;
}
.policy-gate {
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.policy-gate .primary-btn { margin-top: 14px; }

.t-profile-content {
  flex: 1;
  overflow-y: auto;
  padding: 6px 20px 24px;
}
.t-form-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.t-form-creds { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.t-form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  font-weight: 700;
  margin: 16px 0 8px;
}
.t-rate-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
select.t-rate-input,
#intake-state, #ts-state, #t-state-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: white;
  margin-bottom: 14px;
}
.intake-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  resize: none;
  margin-bottom: 4px;
}
.intake-textarea:focus { outline: none; border-color: var(--coral); }
.freq-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.freq-chip-grid { display: flex; gap: 8px; }
.freq-per { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.add-slot-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.add-slot-row input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.add-slot-row button {
  background: var(--coral);
  color: white;
  border: none;
  padding: 0 18px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.other-language-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 10px;
}
.other-language-row select {
  flex: 1;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background: white;
}
.other-language-row button {
  background: var(--coral);
  color: white;
  border: none;
  padding: 0 18px;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

/* ===== SCHEDULING ===== */
.schedule-row {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}
.schedule-row select,
.schedule-row input[type="time"] {
  flex: 1;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background: white;
}
.appt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 10px;
}
.appt-day {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--coral-dark);
  background: var(--sand);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 44px;
  text-align: center;
  flex-shrink: 0;
}
.appt-details { flex: 1; }
.appt-label { font-size: 14px; font-weight: 600; }
.appt-time { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.appt-remove {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== AVAILABILITY CALENDAR (therapist Home) ===== */
.avail-section-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--coral-dark);
  margin-bottom: 4px;
}
.avail-sub { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.avail-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 8px;
}
.avail-slot.filled { opacity: 0.7; }
.avail-when { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.avail-when .avail-day { font-weight: 700; font-size: 14px; color: var(--ink); }
.avail-when .avail-time { font-size: 13px; color: var(--ink-soft); }
.avail-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--moss);
  background: var(--moss-light);
  padding: 4px 9px;
  border-radius: 12px;
  flex-shrink: 0;
}
.avail-status.booked { color: var(--ink-soft); background: var(--sand); }

/* ===== ACCOUNT TYPE / LOGIN ===== */
.welcome-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
}
.brand-lockup-img {
  display: block;
  width: 235px;
  margin: 0 auto 30px;
}
.welcome-logo {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--coral-dark);
  text-align: center;
  margin-bottom: 0;
}
.welcome-content h1 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 8px;
}
.welcome-sub {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 36px;
}
.welcome-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 14px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.welcome-card-icon { font-size: 28px; flex-shrink: 0; }
.welcome-card-text { display: flex; flex-direction: column; gap: 3px; }
.welcome-card-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
.welcome-card-desc { font-size: 12px; color: var(--ink-soft); }

.login-form {
  flex: 1;
  padding: 20px 24px;
}
.login-form input {
  margin-bottom: 4px;
}
.pref-value { font-size: 14px; margin-top: 4px; }

/* ===== Ideal-match flag (therapist-side only, never shown to clients) ===== */
.request-card.ideal-match { border-color: #d9b45f; box-shadow: 0 0 0 1px rgba(217,180,95,.35); }
.ideal-flag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #f6e3b0, #e8c687);
  color: #5b4415; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* ===== Ideal-client section (therapist profile editor — private) ===== */
.ideal-section {
  background: #fffaf0; border: 1.5px solid #e8d9b5; border-radius: 16px;
  padding: 16px; margin-bottom: 22px;
}
.ideal-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ideal-section-head h3 { font-size: 16px; margin: 0; color: #5b4415; }
.ideal-private {
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: #5b4415; color: #f6e3b0; padding: 3px 8px; border-radius: 999px;
}
.ideal-section-sub { font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); margin: 8px 0 4px; }
.ideal-hard, .ideal-hint {
  font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0;
  color: #8a7a55; background: #f3e9d2; padding: 2px 7px; border-radius: 999px; margin-left: 6px;
}
.chip-option.chip-disabled { opacity: .4; pointer-events: none; }

/* ===== Share a therapist ===== */
.share-therapist-btn {
  margin-top: 10px; background: white;
  border: 1.5px solid var(--coral); color: var(--coral-dark);
}

/* ===== Delete-account "keep it" card ===== */
.keep-card {
  background: #fff6ec; border: 1.5px solid #f0d9c2;
  border-radius: 14px; padding: 14px; margin: 14px 0;
}
.keep-card p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--ink); }
.keep-card-sub { font-size: 13px !important; color: var(--ink-soft) !important; margin-top: 8px !important; }

/* ===== Therapist settings ===== */
.settings-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin: 22px 0 8px;
}
.od-empty-hint { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
/* five tabs need a touch less room each */
.bottom-nav .nav-btn span:last-child { font-size: 10.5px; }

/* ===== "Everyone I work with" (public tier) ===== */
.everyone-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:26px; }
.everyone-section-head h3 { font-size:16px; margin:0; }
.everyone-public {
  font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  background:#e9e1ee; color:#5b4470; padding:3px 8px; border-radius:999px;
}
.everyone-sub { font-size:12.5px; line-height:1.55; color:var(--ink-soft); margin:8px 0 4px; }

/* ===== "A tiny hello has arrived" banner ===== */
.hello-banner {
  background: linear-gradient(135deg, #f6e3b0, #efd7f0);
  color: #5b4415; font-weight: 700; font-size: 14px;
  padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; text-align: center;
}

/* ===== Therapist search ===== */
.search-wrap { padding: 0 18px 20px; overflow-y: auto; }
.search-input {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: white; margin-top: 4px;
}
.search-filter-label {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-soft); margin: 16px 0 6px;
}
.search-count { font-size: 12.5px; color: var(--ink-soft); margin: 16px 0 8px; }
.search-row {
  display: flex; gap: 12px; align-items: center; cursor: pointer;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px;
  background: white; margin-bottom: 10px;
}
.search-row:active { transform: scale(.99); }
.search-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; color: white; font-weight: 700; font-size: 15px;
}
.search-avatar img { width: 100%; height: 100%; object-fit: cover; }
.search-row-name { font-weight: 700; font-size: 14.5px; }
.search-row-meta { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.search-row-tags { font-size: 12px; color: var(--coral-dark); margin-top: 3px; }

/* ===== Prompt reordering (Hinge-style) ===== */
.prompt-edit-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; }
.reorder-hint { font-size:12.5px; color:var(--ink-soft); margin-top:10px; }
.reorder-btns { display:flex; gap:6px; flex:none; }
.reorder-btn {
  width:30px; height:30px; border-radius:8px; border:1.5px solid var(--line);
  background:white; color:var(--ink); font-size:14px; line-height:1; cursor:pointer;
}
.reorder-btn:disabled { opacity:.3; cursor:default; }
.reorder-btn:not(:disabled):active { background:var(--cream); }
