*, *::before, *::after { box-sizing: border-box; }

:root {
  --green:    #1A6B3C;
  --greenL:   #2A8A52;
  --greenD:   #0F4A28;
  --greenBg:  #F0FAF4;
  --greenBd:  #C2E8D0;
  --coral:    #FF5533;
  --coralL:   #FF7755;
  --coralBg:  #FFF0EC;
  --coralBd:  #FFD5CB;
  --cream:    #FDFAF6;
  --sand:     #F5EFE6;
  --border:   #E8E2D9;
  --text:     #1C1C1E;
  --muted:    #6B7280;
  --mutedL:   #9CA3AF;
  --white:    #FFFFFF;
}

body {
  margin: 0;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
}

/* ── Splash / onboarding wrapper ── */
body.splash-page {
  background: linear-gradient(150deg, var(--greenBg) 0%, var(--cream) 50%, var(--coralBg) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 40px;
}
body.onboarding-page {
  background: linear-gradient(160deg, var(--greenBg) 0%, var(--cream) 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
}
body.onboarding-page.coral {
  background: linear-gradient(160deg, var(--coralBg) 0%, var(--cream) 60%);
}

/* ── Nav bar (onboarding) ── */
.nav {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-spacer { width: 50px; }
.logo-chip {
  background: var(--green);
  border-radius: 7px;
  padding: 4px 10px;
}
.logo-chip span {
  font-size: 13px;
  font-weight: 900;
  color: white;
  font-family: Georgia, serif;
}
.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-family: inherit;
  padding: 0;
  text-decoration: none;
}

/* ── Onboarding card ── */
.onboarding-body {
  flex: 1;
  padding: 8px 20px 20px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

/* ── Progress Dots ── */
.progress-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 24px;
}
.progress-dots .dot {
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s;
  background: var(--border);
  flex: 1;
}
.progress-dots .dot.active  { flex: 2; background: var(--green); }
.progress-dots .dot.done    { background: var(--green); }
.progress-dots.coral .dot.active { background: var(--coral); }
.progress-dots.coral .dot.done   { background: var(--coral); }

/* ── Step label ── */
.step-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  color: var(--green);
}
.step-label.coral { color: var(--coral); }

/* ── Headings ── */
h1, h2 {
  font-family: Georgia, serif;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 22px; margin-bottom: 6px; }

/* ── Form Fields ── */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--green); }
.field .hint { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.field textarea { resize: none; }

/* ── Buttons ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-green  { background: var(--green);  color: white; }
.btn-green:hover  { background: var(--greenL); }
.btn-coral  { background: var(--coral);  color: white; }
.btn-coral:hover  { background: var(--coralL); }
.btn-google {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-google:hover { background: var(--sand); }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
}
.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 8px 16px;
  font-size: 13px;
  width: auto;
}
.btn-outline-coral {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid var(--coral);
  padding: 9px;
  font-size: 13px;
  width: auto;
  flex: 1;
}
.btn-small-coral {
  background: var(--coral);
  color: white;
  padding: 9px;
  font-size: 13px;
  width: auto;
  flex: 1;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.divider hr { flex: 1; border: none; border-top: 1px solid var(--border); }
.divider span { font-size: 12px; color: var(--muted); }

/* ── Info Box ── */
.info-box {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.5;
}
.info-box.green { background: var(--greenBg); border: 1px solid var(--greenBd); color: var(--greenD); }
.info-box.sand  { background: var(--sand);    border: 1px solid var(--border);  color: var(--muted); }
.info-box.coral { background: var(--coralBg); border: 1px solid var(--coralBd); color: var(--coral); }

/* ── Status Rows ── */
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
}
.status-row.done    { background: var(--greenBg); border: 1px solid var(--greenBd); color: var(--greenD); }
.status-row.pending { background: var(--sand);    border: 1px solid var(--border);  color: var(--muted); }
.status-check { margin-left: auto; color: var(--green); font-weight: 700; }

/* ── Role Buttons ── */
.role-btn {
  padding: 18px 20px;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  transition: all 0.15s;
  margin-bottom: 12px;
}
.role-btn.teen  { border-color: var(--green); }
.role-btn.teen:hover  { background: var(--greenBg); }
.role-btn.parent:hover { border-color: var(--coral); background: var(--coralBg); }
.role-btn .icon  { font-size: 24px; margin-bottom: 4px; }
.role-btn .title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.role-btn .desc  { font-size: 13px; color: var(--muted); }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--cream);
  margin-bottom: 16px;
  transition: all 0.2s;
}
.upload-zone:hover { border-color: var(--green); background: var(--greenBg); }
.upload-zone .up-icon  { font-size: 28px; margin-bottom: 8px; }
.upload-zone .up-title { font-weight: 600; color: var(--text); margin: 0 0 4px; font-size: 14px; }
.upload-zone .up-sub   { font-size: 12px; color: var(--muted); }

.upload-done {
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  background: var(--greenBg);
}
.upload-done .check-circle {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; flex-shrink: 0;
}

/* ── Service Tags ── */
.service-tags  { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.service-tag {
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--muted);
  transition: all 0.15s;
}
.service-tag.active-green { border-color: var(--green); background: var(--greenBg); color: var(--green); }
.service-tag.active-coral { border-color: var(--coral); background: var(--coralBg); color: var(--coral); }

/* ── Kids Selector ── */
.kids-selector { display: flex; gap: 8px; }
.kids-btn {
  flex: 1; padding: 11px 0;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  border: 1.5px solid var(--border); background: white; color: var(--muted);
  transition: all 0.15s;
}
.kids-btn.active { border-color: var(--coral); background: var(--coralBg); color: var(--coral); }

/* ── Error Banner ── */
.error-banner {
  background: var(--coralBg); border: 1px solid var(--coralBd);
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; color: var(--coral); margin-bottom: 20px;
}

/* ── Footer ── */
.page-footer { font-size: 11px; color: var(--mutedL); text-align: center; margin-top: 20px; line-height: 1.6; }

/* ═══════════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════════ */
body.dashboard-page {
  background: var(--cream);
  min-height: 100vh;
  padding-bottom: 80px;
}

/* ── Dashboard Header ── */
.dash-header {
  padding: 20px 20px 24px;
  position: relative;
  overflow: hidden;
  color: white;
}
.dash-header.green { background: var(--green); }
.dash-header.coral { background: var(--coral); }
.dash-header .blob1 {
  position: absolute; top: -30px; right: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.dash-header .blob2 {
  position: absolute; bottom: -20px; left: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.dash-header-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; position: relative;
}
.dash-user-row {
  display: flex; align-items: center; gap: 10px;
}
.dash-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white; flex-shrink: 0;
  letter-spacing: 0.02em;
}
.dash-greeting { font-size: 12px; color: rgba(255,255,255,0.7); margin: 0; font-weight: 600; }
.dash-name     { font-size: 17px; color: white; margin: 0; font-weight: 800; }
.dash-signout {
  background: rgba(255,255,255,0.15); border: none; border-radius: 8px;
  padding: 6px 12px; color: white; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none;
  position: relative;
}

.dash-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  position: relative;
}
.dash-stat {
  background: rgba(255,255,255,0.12); border-radius: 10px; padding: 10px 12px;
}
.dash-stat-label {
  font-size: 11px; color: rgba(255,255,255,0.65);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0 0 2px; font-weight: 600;
}
.dash-stat-value {
  font-size: 20px; color: white; font-weight: 800;
  font-family: Georgia, serif; margin: 0 0 1px;
}
.dash-stat-sub { font-size: 10px; color: rgba(255,255,255,0.55); margin: 0; }

/* ── Bottom Nav ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--border);
  display: flex; padding: 8px 0 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  z-index: 100;
}
.bnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 3px; background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 4px 0;
}
.bnav-icon {
  font-size: 22px; line-height: 1;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.15s;
}
.bnav-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--mutedL); text-transform: uppercase;
  transition: color 0.15s;
}
.bnav-btn.active .bnav-icon  { filter: none; }
.bnav-btn.active.green .bnav-label { color: var(--green); }
.bnav-btn.active.coral .bnav-label { color: var(--coral); }

/* ── Tab Panes ── */
.dash-content { padding: 16px 16px 0; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Shared card ── */
.card-block {
  background: white; border-radius: 14px; padding: 14px 16px;
  border: 1px solid var(--border); margin-bottom: 12px;
}
.card-block-16 {
  background: white; border-radius: 16px; padding: 16px;
  border: 1px solid var(--border); margin-bottom: 14px;
}

/* ── Section label ── */
.sec-label {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 10px;
}
.sec-label.green { color: var(--green); }
.sec-label.coral { color: var(--coral); }

/* ── Avatar ── */
.avatar {
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0; letter-spacing: 0.02em;
  color: white;
}
.avatar-40 { width: 40px; height: 40px; font-size: 14px; }
.avatar-42 { width: 42px; height: 42px; font-size: 15px; }
.avatar-46 { width: 46px; height: 46px; font-size: 16px; }
.avatar-50 { width: 50px; height: 50px; font-size: 17px; }
.avatar-56 { width: 56px; height: 56px; font-size: 20px; }
.avatar-green { background: var(--green); }
.avatar-muted { background: var(--muted); }
.avatar-transparent { background: rgba(255,255,255,0.2); }

/* ── Badge ── */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-green  { background: var(--greenBg);  color: var(--green); }
.badge-coral  { background: var(--coralBg);  color: var(--coral); }
.badge-muted  { background: var(--sand);     color: var(--muted); }
.badge-amber  { background: #FFF7ED;          color: #D97706; }

/* ── Stars ── */
.stars { font-size: 13px; letter-spacing: 1px; }
.star-on  { color: #F59E0B; }
.star-off { color: #E5E7EB; }

/* ── Verify rows ── */
.verify-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.verify-icon { font-size: 16px; }
.verify-text { font-size: 13px; color: var(--muted); }
.verify-text.done { color: var(--text); font-weight: 600; }
.verify-check { margin-left: auto; color: var(--green); font-size: 13px; font-weight: 700; }

/* ── Quick actions grid ── */
.quick-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.quick-btn {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-family: inherit; text-align: left;
}
.quick-btn-icon { font-size: 20px; }
.quick-btn-label { font-size: 13px; font-weight: 600; color: var(--text); }

/* ── Next booking card ── */
.next-booking {
  background: var(--greenBg); border: 1px solid var(--greenBd);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
}

/* ── Booking cards ── */
.booking-card {
  background: white; border-radius: 14px; padding: 14px 16px;
  border: 1px solid var(--border); margin-bottom: 10px;
}
.booking-card.past { opacity: 0.8; }
.booking-row { display: flex; justify-content: space-between; align-items: flex-start; }
.booking-service { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 2px; }
.booking-meta    { font-size: 12px; color: var(--muted); margin: 0 0 2px; }
.booking-amount  {
  font-size: 18px; font-weight: 800; font-family: Georgia, serif;
  margin: 0 0 4px; text-align: right;
}
.booking-amount.green { color: var(--green); }
.booking-amount.coral { color: var(--coral); }
.booking-amount.muted { color: var(--muted); }
.booking-actions { display: flex; gap: 8px; margin-top: 10px; }
.booking-action-btn {
  flex: 1; padding: 8px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  font-family: inherit; border: 1px solid var(--border);
  background: white; color: var(--muted);
}
.booking-action-btn.cancel {
  background: var(--coralBg); border: none; color: var(--coral); font-weight: 700;
}

/* ── Earnings ── */
.stat-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat-card {
  background: white; border-radius: 14px; padding: 16px 18px;
  border: 1px solid var(--border);
}
.stat-card-label {
  font-size: 12px; color: var(--muted); margin: 0 0 4px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.stat-card-value {
  font-size: 26px; font-weight: 800; color: var(--green);
  margin: 0 0 2px; font-family: Georgia, serif;
}
.stat-card-sub { font-size: 12px; color: var(--muted); margin: 0; }

.bar-chart-wrap {
  background: white; border-radius: 14px; padding: 16px;
  border: 1px solid var(--border); margin-bottom: 14px;
}
.bar-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 80px;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bar { width: 100%; border-radius: 4px 4px 0 0; }
.bar-lbl { font-size: 10px; color: var(--muted); font-weight: 600; }

.payout-card {
  background: white; border-radius: 12px; padding: 12px 14px;
  border: 1px solid var(--border); margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.payout-service { font-size: 13px; font-weight: 600; color: var(--text); margin: 0 0 2px; }
.payout-meta    { font-size: 11px; color: var(--muted); margin: 0; }
.payout-amount  {
  font-size: 15px; font-weight: 800; color: var(--green);
  font-family: Georgia, serif; margin: 0;
}
.payout-note {
  background: var(--sand); border-radius: 12px; padding: 12px 14px; margin-top: 8px;
  font-size: 12px; color: var(--muted); line-height: 1.5;
}

/* ── Profile ── */
.profile-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.profile-name { font-size: 17px; font-weight: 800; color: var(--text); margin: 0 0 2px; }
.profile-meta { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.profile-bio  { font-size: 13px; color: var(--text); margin: 0; line-height: 1.6; }
.profile-bio-edit {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--green); font-size: 13px;
  font-family: inherit; resize: none; box-sizing: border-box;
}
.rate-value { font-size: 28px; font-weight: 800; color: var(--green); margin: 0; font-family: Georgia, serif; }
.rate-sub   { font-size: 13px; color: var(--muted); margin: 0; }

/* ── Reviews ── */
.reviews-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avg-rating {
  font-size: 42px; font-weight: 900; color: var(--green);
  margin: 0; font-family: Georgia, serif; line-height: 1;
}
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rating-bar-num  { font-size: 12px; color: var(--muted); width: 8px; }
.rating-bar-star { font-size: 12px; color: #F59E0B; }
.rating-bar-bg {
  flex: 1; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden;
}
.rating-bar-fill { height: 100%; background: #F59E0B; border-radius: 3px; }
.rating-bar-cnt  { font-size: 11px; color: var(--muted); width: 14px; }

.review-card {
  background: white; border-radius: 14px; padding: 14px 16px;
  border: 1px solid var(--border); margin-bottom: 10px;
}
.review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.review-family { font-size: 14px; font-weight: 700; color: var(--text); margin: 0 0 2px; }
.review-date   { font-size: 11px; color: var(--muted); }
.review-text   { font-size: 13px; color: var(--text); margin: 0; line-height: 1.6; }

/* ── Provider Cards ── */
.search-wrap { margin-bottom: 10px; position: relative; }
.search-icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); font-size: 16px; pointer-events: none;
}
.search-input {
  width: 100%; padding: 11px 14px 11px 38px;
  border-radius: 10px; border: 1.5px solid var(--border);
  font-size: 14px; background: var(--cream); font-family: inherit;
  color: var(--text); box-sizing: border-box; outline: none;
  transition: border 0.15s;
}
.search-input:focus { border-color: var(--coral); }

.filter-pills {
  display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px;
  margin-bottom: 12px; scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.pill-btn {
  padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: white; color: var(--muted);
  cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.15s;
  flex-shrink: 0;
}
.pill-btn.active {
  border-color: var(--coral); background: rgba(255,85,51,0.07); color: var(--coral);
}

.provider-count { font-size: 12px; color: var(--muted); margin: 0 0 10px; }

.provider-card {
  background: white; border-radius: 16px; padding: 16px;
  border: 1px solid var(--border); margin-bottom: 10px;
}
.provider-top { display: flex; align-items: flex-start; gap: 12px; }
.provider-avatar-wrap { position: relative; }
.provider-verified-dot {
  position: absolute; bottom: -2px; right: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: white;
}
.provider-info { flex: 1; }
.provider-name { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 1px; }
.provider-meta { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.provider-rating { display: flex; align-items: center; gap: 6px; }
.provider-rating-text { font-size: 12px; color: var(--muted); }
.provider-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.provider-rate {
  font-size: 17px; font-weight: 800; color: var(--green);
  font-family: Georgia, serif; margin: 0;
}
.save-btn {
  background: none; border: none; cursor: pointer; font-size: 18px; padding: 0;
}
.provider-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.provider-tag {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
  background: var(--coralBg); color: var(--coral); letter-spacing: 0.04em; text-transform: uppercase;
}
.provider-actions { display: flex; gap: 8px; margin-top: 10px; }
.provider-detail {
  margin-top: 10px; border-top: 1px solid var(--border); padding-top: 10px;
}
.provider-detail-bio { font-size: 13px; color: var(--text); margin: 0 0 8px; line-height: 1.5; }
.provider-detail-meta { font-size: 12px; color: var(--muted); margin: 0; }

/* ── Saved empty state ── */
.empty-state { text-align: center; padding: 40px 20px; }
.empty-icon  { font-size: 32px; margin-bottom: 8px; }
.empty-text  { font-size: 14px; color: var(--muted); }

/* ── Messages ── */
.msg-list-item {
  background: white; border-radius: 14px; padding: 14px 16px;
  border: 1px solid var(--border); margin-bottom: 8px;
  cursor: pointer; display: flex; align-items: center; gap: 12px;
}
.msg-avatar-wrap { position: relative; }
.msg-unread-dot {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
}
.msg-info { flex: 1; }
.msg-header { display: flex; justify-content: space-between; }
.msg-with { font-size: 14px; font-weight: 700; color: var(--text); margin: 0; }
.msg-time { font-size: 11px; color: var(--muted); }
.msg-preview {
  font-size: 13px; color: var(--muted); margin: 2px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px;
}

/* Thread view */
.thread-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.thread-name { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.thread-messages {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px;
}
.msg-bubble-wrap-me   { display: flex; justify-content: flex-end; }
.msg-bubble-wrap-them { display: flex; justify-content: flex-start; }
.msg-bubble {
  max-width: 78%; padding: 10px 13px; font-size: 13px; line-height: 1.5;
}
.msg-bubble.me {
  background: var(--coral); color: white;
  border-radius: 14px 14px 4px 14px; border: none;
}
.msg-bubble.them {
  background: white; color: var(--text);
  border-radius: 14px 14px 14px 4px; border: 1px solid var(--border);
}
.thread-input-row {
  display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border);
}
.thread-input {
  flex: 1; padding: 11px 13px; border-radius: 22px;
  border: 1.5px solid var(--border); font-size: 14px;
  font-family: inherit; outline: none; background: var(--cream);
}
.thread-send {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); border: none; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* trust banner */
.trust-banner {
  background: var(--coralBg); border: 1px solid var(--coralBd);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
}
.trust-banner-title { font-weight: 700; font-size: 13px; color: var(--coral); margin: 0 0 8px; }
.trust-banner-item  { font-size: 13px; color: var(--text); margin: 0 0 4px; }
