/* Phone layout for the signed-in member area (account, matches, messages, trust, Find my match, profile form, header).
   Served as a plain static file (linked from app/layout.tsx) because the Next CSS build was dropping the end of globals.css.
   Hand-written rules first; the MOBILE-TEXT block at the end is generated by scripts/build-mobile-text.py. */

/* Member header on phones: keep the two buttons compact and on one line (wins over the generated text bump below). */
@media (max-width: 720px) {
  .member-header .member-header-match, .member-header .member-header-account-trigger { padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
  .member-header .member-brand { font-size: 15px; gap: 8px; }
  .member-header .member-header-actions { gap: 6px; }
}
@media (max-width: 480px) {
  .member-header .member-brand { font-size: 14px; gap: 7px; }
  .member-header .member-brand img { width: 32px; height: 32px; }
}
/* Phones: the name is easy to read, and a long one is cut with "…" instead of pushing the header wider. */
@media (max-width: 720px) {
  header.member-header .member-header-account-trigger { min-width: 0; max-width: max(96px, calc(100vw - 232px)); font-size: 15px; }
  header.member-header .member-brand { flex: 0 0 auto; }
}

/* Phones: the header row (wordmark, theme toggle, name, "Find my match") is wider than a phone, which also stretched the whole page.
   The match button is dropped there (the My matches tab and the name menu are one tap away) and the tab bar is made shorter. */
@media (max-width: 560px) {
  header.member-header { width: calc(100% - 16px); height: 58px; margin-top: 8px; top: 8px; padding: 0 10px; gap: 8px; }
  header.member-header .member-header-match { display: none; }
  header.member-header .member-brand { flex: 0 1 auto; min-width: 0; font-size: 14px; gap: 6px; }
  header.member-header .member-brand img { width: 30px; height: 30px; }
  header.member-header .member-header-actions { flex: 1 1 auto; min-width: 0; justify-content: flex-end; gap: 6px; }
  header.member-header .member-header-account { min-width: 0; }
  header.member-header .member-header-account-trigger { min-height: 38px; max-width: calc(100vw - 200px); padding: 0 9px; gap: 4px; font-size: .84rem; }
  header.member-header .theme-toggle { width: 38px; min-width: 38px; height: 38px; flex: 0 0 auto; }
  .dashboard-sidebar { padding: 6px 8px; top: 66px; }
  .dashboard-sidebar nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .dashboard-sidebar nav > button { min-height: 50px; padding: 6px 2px; gap: 3px; font-size: .72rem; }
  .dashboard-sidebar nav > button .nav-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .dashboard-sidebar nav > button .nav-label { font-size: .72rem; }
  .dashboard-sidebar .sidebar-match-group > button { min-height: 50px; padding: 6px 2px; gap: 3px; }
  .dashboard-sidebar .sidebar-match-group > button .nav-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .dashboard-sidebar .sidebar-match-group > button .nav-label { font-size: .72rem; }
}

/* Phones, member area: the same tight rhythm as the public site (headings 28-38px, ~20-36px between blocks).
   (rem for small text on purpose: the generated text-size block below only touches px sizes.) */
@media (max-width: 720px) {
  /* profile form after sign-up */
  .onboarding-shell { padding: 20px 0 36px; gap: 16px; }
  .onboarding-intro h1 { margin: 10px 0 8px; font-size: clamp(30px, 9vw, 38px); line-height: .98; letter-spacing: -.04em; }
  .onboarding-intro h1 em { margin-top: 4px; }
  .onboarding-intro > p:last-child { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.4; }
  .onboarding-card { padding: 16px 14px; }
  .form-progress { margin-bottom: 16px; }
  .member-form-section h2 { margin: 6px 0 14px; font-size: clamp(24px, 7vw, 30px); line-height: 1.05; }
  .member-form-section fieldset, .profile-editor fieldset { margin-bottom: 16px; }
  .member-form-section legend, .profile-editor legend { margin-bottom: 8px; }
  /* account / dashboard */
  .dashboard-main { padding: 18px 14px 36px; }
  .dashboard-title { margin-bottom: 18px; }
  .dashboard-title h1 { margin: 6px 0 8px; font-size: clamp(28px, 8.4vw, 34px); line-height: 1.02; letter-spacing: -.045em; }
  .dashboard-title > p:last-child { font-size: .95rem; line-height: 1.5; }
  .profile-editor { padding-bottom: 32px; }
  .profile-section-heading { margin: 26px 0 12px; padding-top: 18px; }
  .profile-section-heading.compact { margin-top: 18px; }
  .profile-section-heading h2 { margin-top: 6px; font-size: 1.3rem; }
  .profile-section-heading > p:last-child { margin-top: 6px; font-size: .92rem; line-height: 1.45; }
  .readiness-card { margin-bottom: 22px; padding: 14px; }
  .readiness-heading { margin-bottom: 12px; gap: 12px; }
  .readiness-heading h2 { font-size: clamp(24px, 7vw, 28px); line-height: 1.05; }
  .readiness-steps article { min-height: 0; padding: 12px; gap: 8px; }
  .readiness-next { margin-top: 12px; padding-top: 12px; }
  /* matching page */
  .standalone-discover .dashboard-main { padding: 12px 12px 44px; }
  .candidate-card { padding: 16px; }
  .candidate-card h2 { font-size: 1.5rem; }
  .candidate-card h3 { font-size: 1.1rem; }
  .candidate-bio { font-size: .92rem; line-height: 1.5; }
}

/* Phones, forms (My account editor and the profile form after sign-up): compact fields, labels, cards and pills.
   Still 16px inside inputs (smaller makes iPhones zoom in on tap); rem sizes so the generated text block leaves them alone. */
@media (max-width: 720px) {
  .member-field { gap: 6px; margin-bottom: 12px; }
  .profile-editor .member-field > span, .profile-editor legend, .member-form-section .member-field > span, .member-form-section legend { font-size: .66rem; letter-spacing: .1em; }
  .profile-editor .member-field input, .profile-editor .member-field textarea, .profile-editor .member-field select,
  .member-form-section .member-field input, .member-form-section .member-field textarea, .member-form-section .member-field select { min-height: 46px; padding: 10px 12px; font-size: 1rem; }
  .profile-editor .member-field textarea, .member-form-section .member-field textarea { min-height: 96px; line-height: 1.45; }
  .profile-editor .handle-input b, .member-form-section .handle-input b { padding-left: 12px; }
  .profile-editor .handle-input input, .member-form-section .handle-input input { min-height: 44px; }
  .field-row { gap: 10px; }
  .member-field small, .profile-editor .member-field small { margin-top: 0; font-size: .78rem; }
  .profile-editor fieldset, .member-form-section fieldset { margin-bottom: 14px; }
  .profile-editor legend, .member-form-section legend { margin-bottom: 8px; }
  .profile-editor .choice-pills, .member-form-section .choice-pills { gap: 6px; }
  .profile-editor .choice-pills button, .member-form-section .choice-pills button { min-height: 38px; padding: 0 11px; font-size: .85rem; }
  .profile-editor .top-need-note, .member-form-section .top-need-note { margin-top: 8px; font-size: .8rem; line-height: 1.4; }
  /* photo */
  .profile-photo-editor { margin-bottom: 14px; padding: 12px; gap: 10px 12px; grid-template-columns: auto 1fr; }
  .profile-photo-editor .profile-photo.large, .profile-photo-editor .profile-initials { width: 60px; height: 60px; }
  .profile-photo-editor p { grid-column: 1 / -1; font-size: .88rem; line-height: 1.45; }
  .profile-photo-editor p b { margin-bottom: 3px; font-size: .95rem; }
  .profile-photo-actions { gap: 6px; }
  .profile-photo-actions .member-button, .remove-photo-button { min-height: 36px; font-size: .82rem; }
  .profile-photo-picker { margin-bottom: 14px; padding: 12px; gap: 12px; }
  .photo-preview { width: 56px; height: 56px; }
  /* cards and checkboxes */
  .private-account-block { margin-bottom: 16px; padding: 14px; }
  .private-account-block .member-field { margin-bottom: 0; }
  .visibility-choice { margin: 6px 0 12px; padding: 12px; gap: 10px; }
  .profile-editor .visibility-choice b { font-size: .95rem; }
  .profile-editor .visibility-choice small { font-size: .84rem; line-height: 1.4; }
  .profile-editor .profile-section-heading { margin: 22px 0 12px; padding-top: 16px; }
  /* save bar */
  .profile-save-bar { margin-top: 16px; padding: 12px; bottom: 8px; gap: 8px; }
  .profile-save-bar > div b { font-size: 1rem; }
  .profile-save-bar > div span { font-size: .86rem; line-height: 1.4; }
}

/* Phones, tabs: the four tabs always stay in one row. The My matches sub-tabs (Connection Requests ...) open as a swipe row UNDER them,
   instead of pushing Messages / Trust & Privacy / My account onto a second line. */
@media (max-width: 720px) {
  .dashboard-shell { display: block; min-height: 0; }
  .dashboard-sidebar nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible; }
  .dashboard-sidebar nav .sidebar-match-group { display: contents; }
  .dashboard-sidebar nav > button, .dashboard-sidebar nav .sidebar-match-group > button { order: 1; }
  .dashboard-sidebar nav div.sidebar-match-subnav { order: 2; grid-column: 1 / -1; margin: 4px 0 0; padding: 8px 0 2px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-left: 0; border-top: 1px solid #c8c8c1; }
  .dashboard-sidebar nav div.sidebar-match-subnav::-webkit-scrollbar { display: none; }
  .dashboard-sidebar nav div.sidebar-match-subnav button { min-width: 0; min-height: 34px; margin: 0; padding: 0 11px; flex: 0 0 auto; display: inline-flex; flex-direction: row; align-items: center; gap: 7px; border: 1px solid #c3c3bc; line-height: 1.1; background: #f7f7f2; box-shadow: none; font-size: .8rem; font-weight: 700; white-space: nowrap; }
  .dashboard-sidebar nav div.sidebar-match-subnav button.history-link { margin: 0; padding-top: 0; border-top: 1px solid #c3c3bc; }
  .dashboard-sidebar nav div.sidebar-match-subnav button.active { border-color: #0a0a09; background: #0a0a09; box-shadow: none; color: var(--member-green); }
  .dashboard-sidebar nav div.sidebar-match-subnav button b { min-width: 18px; height: 18px; font-size: .62rem; }
  .dashboard-sidebar nav div.sidebar-match-subnav button.active b { background: var(--member-green); color: #0a0a09; }
}

/* Phones, My matches / Messages / Trust & Privacy: smaller headings, cards and padding (same rhythm as My account). */
@media (max-width: 720px) {
  .dashboard-main { padding-top: 16px; }
  .matches-title, .messages-title { margin-bottom: 14px; }
  .dashboard-main .dashboard-title h1 { font-size: clamp(26px, 8vw, 32px); }
  .connection-panel > header { padding: 14px; }
  .connection-panel > header h2 { margin: 4px 0; font-size: 1.45rem; }
  .connection-panel > header p:last-child { font-size: .88rem; line-height: 1.45; }
  .connection-card { min-height: 0; padding: 12px; gap: 10px; }
  .connection-name-line h3 { font-size: 1.05rem; }
  .connection-summary p { margin: 2px 0 6px; font-size: .82rem; }
  .connection-summary > b { font-size: .9rem; }
  .connection-intro-note { padding: 9px 11px; }
  .connection-intro-note p { font-size: .86rem; }
  .connection-actions > button, .connection-card > button { min-height: 38px; padding: 0 10px; font-size: .85rem; }
  .connection-empty, .conversation-list-empty { min-height: 0; padding: 26px 16px; }
  .connection-empty b, .conversation-list-empty b { font-size: 1.1rem; }
  .connection-empty p, .conversation-list-empty p { font-size: .88rem; }
  .empty-dashboard { min-height: 0; padding: 24px 16px; }
  .empty-dashboard b { font-size: 1.1rem; }
  .local-match-heading { padding: 14px; gap: 10px; }
  .local-match-heading h2 { font-size: 1.5rem; }
  .business-type-filter { padding: 14px 14px 12px; }
  .match-filter-row { padding: 12px 14px 16px; gap: 8px; }
  .match-filter-row input, .match-filter-row select { min-height: 42px; font-size: 1rem; }
  /* messages */
  .messages-workspace { min-height: 0; }
  .conversation-list > header { min-height: 0; padding: 12px 14px; }
  .conversation-list > button { padding: 10px 12px; }
  .chat-panel, .chat-panel-empty { min-height: 0; grid-template-rows: auto; }
  .chat-panel-empty > div { padding: 22px 16px; }
  .chat-panel-empty h2 { font-size: 1.3rem; }
  .chat-thread { padding: 12px; }
  .chat-thread article { max-width: 88%; }
  /* trust & privacy */
  .safety-grid article { min-height: 0; padding: 14px; gap: 6px; grid-template-rows: auto; }
  .safety-grid h2 { font-size: 1.1rem; }
  .safety-grid p { align-self: start; font-size: .88rem; line-height: 1.45; }
  .safety-meeting-prompt { margin-top: 14px; padding: 16px; }
  .safety-meeting-prompt b { font-size: 1rem; }
  .safety-meeting-prompt p { font-size: .88rem; line-height: 1.5; }
  .blocked-section { margin-top: 26px; padding-top: 18px; }
  .blocked-section > div:first-child h2 { font-size: 1.3rem; }
  .blocked-section > div:first-child > p:last-child { margin-bottom: 12px; font-size: .9rem; }
  .blocked-row { padding: 12px; gap: 10px; }
}

/* Phones, round 3: My account "ready" card fits one screen (no eyebrow, small buttons, one-line steps); tighter form; Find my match page. */
@media (max-width: 720px) {
  .dashboard-main { padding: 12px 12px 28px; }
  .dashboard-main .dashboard-title .member-kicker { display: none; }
  .dashboard-main .dashboard-title h1 { margin-top: 0; }
  .profile-editor > .dashboard-title { margin-bottom: 12px; }
  .profile-editor > .dashboard-title h1 { margin: 0 0 4px; font-size: 1.7rem; }
  .profile-editor > .dashboard-title > p:last-child { font-size: .85rem; line-height: 1.4; }
  .readiness-card { margin-bottom: 16px; padding: 12px; }
  .readiness-heading { margin-bottom: 10px; gap: 8px; align-items: stretch; }
  .readiness-heading h2 { font-size: 1.4rem; line-height: 1.1; text-align: left; }
  .readiness-status-controls { width: auto; flex-wrap: nowrap; gap: 6px; }
  .ready-badge, .pause-matching-button, .resume-matching-button { min-height: 30px; padding: 0 9px; font-size: .6rem; letter-spacing: .06em; }
  .readiness-steps article { min-height: 0; padding: 8px 10px; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
  .readiness-steps article > b { width: 20px; height: 20px; font-size: .62rem; }
  .readiness-steps article span { font-size: .9rem; line-height: 1.2; }
  .readiness-steps article small { font-size: .78rem; line-height: 1.3; }
  .readiness-steps article.complete small { display: none; }
  .readiness-steps article strong { grid-column: 3; font-size: .58rem; }
  .readiness-steps article button { grid-column: 3; padding: 6px 9px; font-size: .72rem; }
  .readiness-note { margin: 8px 0 0; font-size: .72rem; line-height: 1.35; }
  .readiness-next { margin-top: 10px; padding-top: 10px; gap: 8px; }
  .readiness-next > div { gap: 2px; }
  .readiness-next b { font-size: 1rem; }
  .readiness-next > div span { font-size: .82rem; line-height: 1.35; }
  .readiness-next .member-button { min-height: 44px; font-size: .9rem; }
  /* form, a notch tighter */
  .member-field { gap: 5px; margin-bottom: 10px; }
  .profile-editor .member-field > span, .profile-editor legend, .member-form-section .member-field > span, .member-form-section legend { font-size: .62rem; }
  .profile-editor .member-field input, .profile-editor .member-field textarea, .profile-editor .member-field select,
  .member-form-section .member-field input, .member-form-section .member-field textarea, .member-form-section .member-field select { min-height: 42px; padding: 8px 12px; }
  .profile-editor fieldset, .member-form-section fieldset { margin-bottom: 12px; }
  .profile-editor .profile-section-heading { margin: 18px 0 10px; padding-top: 12px; }
  .profile-editor .profile-section-heading h2 { font-size: 1.15rem; }
  .profile-editor .profile-section-heading > p:last-child { font-size: .85rem; }
  /* Find my match */
  .match-discovery-panel { margin-bottom: 12px; box-shadow: 3px 3px 0 #0a0a09; }
  .local-match-heading { padding: 10px 12px; flex-direction: row; align-items: center; gap: 10px; }
  .local-match-heading > div { gap: 0; }
  .local-match-heading .member-kicker { font-size: .6rem; }
  .local-match-heading h2 { font-size: 1.2rem; }
  .local-match-heading > div > span { display: none; }
  .local-match-heading button { padding: 4px 0; flex: 0 0 auto; gap: 6px; font-size: .78rem; }
  .business-type-filter { padding: 10px 12px; }
  .business-type-filter > span, .match-filter-row label > span { margin-bottom: 6px; font-size: .62rem; }
  .business-type-filter button { min-height: 34px; padding: 0 11px; font-size: .82rem; }
  .match-filter-row { padding: 10px 12px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .match-filter-row .member-search-box, .clear-match-filters { grid-column: 1 / -1; }
  .match-filter-row input, .match-filter-row select { min-height: 40px; padding: 0 10px; font-size: 1rem; }
  .clear-match-filters { min-height: 38px; font-size: .8rem; }
  .member-results-heading { margin: 10px 0; }
  .member-results-heading b { font-size: 1rem; }
  .candidate-grid, .discover-body .candidate-grid { gap: 14px; }
  .candidate-card { padding: 14px; box-shadow: 3px 3px 0 #0a0a09; }
  .candidate-location { margin: 12px 0 4px; }
  .candidate-card h2 { font-size: 1.3rem; }
  .candidate-card h3 { margin: 14px 0 6px; font-size: 1rem; }
  .candidate-bio { margin-bottom: 12px; }
  .candidate-facts span { padding: 6px 8px; font-size: .78rem; }
  .candidate-columns { margin: 14px 0; gap: 10px; }
  .candidate-columns p { margin-top: 4px; font-size: .9rem; line-height: 1.4; }
  .candidate-actions button { min-height: 44px; }
  .candidate-top .profile-initials.large, .candidate-top .profile-photo.large { width: 52px; height: 52px; font-size: .85rem; }
  .readiness-note { display: none; }
  .ready-badge, .pause-matching-button, .resume-matching-button { min-height: 28px; padding: 0 8px; font-size: .56rem; }
}

/* Request / message notices at the top of the member pages, and the chat's Back button label. */
.member-notices { margin-bottom: 16px; display: grid; gap: 8px; }
.member-notice { width: 100%; min-height: 52px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #cfcfc8; border-left: 3px solid var(--member-deep); background: #fff; color: #0a0a09; text-align: left; cursor: pointer; font-family: Urbanist, Inter, ui-sans-serif, sans-serif; }
.member-notice > span { display: grid; gap: 1px; }
.member-notice b { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.member-notice small { color: #66665f; font-size: .8125rem; line-height: 1.3; }
.member-notice i { flex: 0 0 auto; color: var(--member-deep); font-size: .875rem; font-style: normal; font-weight: 700; }
.member-notice:hover { border-color: #0a0a09; }
.chat-close-back { display: none; }
.pass-label { display: none; }
.candidate-idea-label { display: none; }
.candidate-fit, .candidate-bio-label, .goal-select { display: none; }
.empty-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
/* Every match card has the same layout: the introduction keeps three lines of space (also when a member wrote none), and the buttons sit at the bottom. */
.candidate-card .candidate-bio { min-height: calc(1.55em * 3); max-height: calc(1.55em * 3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.candidate-card .candidate-bio.empty { color: #9a9a93; font-style: italic; }
/* Priorities: each starred item on its own line, the rest on one line underneath. */
.need-priority { display: flex; align-items: baseline; gap: .4em; font-weight: 700; }
.need-priority i { flex: 0 0 1em; font-style: normal; }
.has-priority .need-rest { display: block; padding-left: 1.4em; }
@media (min-width: 721px) {
  .candidate-card .view-profile-button { margin-top: auto; }
  .candidate-card .candidate-actions { margin-top: 0; }
}
/* Number alerts and the signed-in line in the account menu (app pages). */
.member-header-account-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-header-account-menu .member-header-email { margin: 0; padding: 11px 13px; display: grid; gap: 2px; border-bottom: 1px solid #d2d2cb; color: #66665f; font-family: Urbanist, Inter, ui-sans-serif, sans-serif; font-size: .75rem; line-height: 1.3; }
.member-header-account-menu .member-header-email small { font: inherit; }
.member-header-account-menu .member-header-email b { max-width: 230px; overflow: hidden; color: #0a0a09; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.menu-badge { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #4b6b25; color: #fff; font: 800 .6875rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; }
.member-header-account-trigger { position: relative; }
.menu-badge-trigger { position: absolute; top: -8px; right: -8px; box-shadow: 0 0 0 2px #080808; }

/* Desktop keeps its capital-letter labels (the text itself is sentence case now). */
@media (min-width: 721px) {
  .member-field > span, .profile-editor legend, .business-type-filter > span, .match-filter-row label > span, .ready-badge { text-transform: uppercase; }
  .top-need-picker legend span, .candidate-columns small, .profile-view-exchange small, .match-score-nearby b, .interest-note-prompts span,
  .profile-view-idea > small, .profile-view-story > small, .profile-signal-strip small, .profile-view-reasons > small { text-transform: uppercase; }
}

/* Phones, calm redesign of the whole member area: one font (Urbanist), no capital-letter eyebrows or labels, a few sizes only:
   title 24px / section 17px / body 14px / label 13px. Fewer boxes inside boxes. Every rule starts with .dashboard-main to win over older ones. */
@media (max-width: 720px) {
  .dashboard-main, .dashboard-main button, .dashboard-main input, .dashboard-main select, .dashboard-main textarea { font-family: Urbanist, Inter, ui-sans-serif, sans-serif; }
  .dashboard-main .member-kicker { display: none; }
  .dashboard-main .dashboard-title { margin-bottom: 12px; }
  .dashboard-main .dashboard-title h1 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
  .dashboard-main .dashboard-title > p:last-child { margin: 0; color: #6a6a64; font-size: .875rem; line-height: 1.4; }
  .dashboard-main .matches-title > p:last-child, .dashboard-main .messages-title > p:last-child { display: none; }
  /* section headings */
  .dashboard-main .profile-section-heading { margin: 24px 0 12px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .1); }
  .dashboard-main .profile-section-heading h2 { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
  .dashboard-main .profile-section-heading > p:last-child { margin: 3px 0 0; font-size: .875rem; line-height: 1.4; }
  /* labels */
  .dashboard-main .member-field > span, .dashboard-main fieldset > legend, .dashboard-main .business-type-filter > span, .dashboard-main .match-filter-row label > span {
    margin: 0; color: #4d4d48; font: 700 .8125rem/1.25 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .top-need-picker legend span { opacity: .6; font-weight: 600; text-transform: none; }
  /* fields */
  .dashboard-main .member-field { gap: 5px; margin-bottom: 14px; }
  .dashboard-main .profile-editor .member-field input, .dashboard-main .profile-editor .member-field select { min-height: 42px; padding: 0 12px; border-color: #cfcfc8; background: #fff; font-size: 1rem; }
  .dashboard-main .profile-editor .member-field textarea { min-height: 88px; padding: 10px 12px; border-color: #cfcfc8; background: #fff; font-size: 1rem; line-height: 1.4; }
  .dashboard-main .profile-editor .handle-input { border-color: #cfcfc8; background: #fff; }
  .dashboard-main .profile-editor .handle-input input { min-height: 40px; border: 0; background: transparent; }
  .dashboard-main .field-row, .dashboard-main .profile-location-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dashboard-main .field-row:has(select) { grid-template-columns: 1.75fr 1fr; }
  .dashboard-main .member-field small { color: #6a6a64; font-size: .8125rem; }
  .dashboard-main .private-account-block { margin: 0 0 4px; padding: 0; border: 0; background: transparent; }
  .dashboard-main .private-account-block .member-field input { background: #ecece6; color: #6a6a64; }
  .dashboard-main .profile-editor fieldset { margin-bottom: 14px; }
  .dashboard-main .profile-editor legend { margin-bottom: 8px; }
  .dashboard-main .profile-editor .choice-pills { gap: 6px; }
  .dashboard-main .profile-editor .choice-pills button { min-height: 34px; padding: 0 12px; font-size: .875rem; font-weight: 600; }
  .dashboard-main .top-need-note { margin-top: 8px; font-size: .8125rem; line-height: 1.4; }
  /* photo */
  .dashboard-main .profile-photo-editor { margin-bottom: 14px; padding: 0; border: 0; background: transparent; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
  .dashboard-main .profile-photo-editor .profile-photo.large, .dashboard-main .profile-photo-editor .profile-initials { width: 64px; height: 64px; }
  .dashboard-main .profile-photo-editor p { margin: 0; color: #6a6a64; font-size: .8125rem; line-height: 1.4; }
  .dashboard-main .profile-photo-editor p b { display: none; }
  .dashboard-main .profile-photo-actions { display: flex; align-items: center; gap: 14px; }
  .dashboard-main .profile-photo-actions .member-button { width: auto; min-height: 36px; padding: 0 14px; font-size: .875rem; font-weight: 700; }
  .dashboard-main .remove-photo-button { width: auto; min-height: 36px; padding: 0; border: 0; background: none; color: #8b2f27; font-size: .875rem; font-weight: 600; text-decoration: underline; }
  /* promise and visibility */
  .dashboard-main .visibility-choice { margin: 0; padding: 12px 0; gap: 10px; border: 0; border-top: 1px solid rgba(0, 0, 0, .1); background: transparent; }
  .dashboard-main .profile-editor .visibility-choice b { font-size: .9375rem; font-weight: 700; }
  .dashboard-main .profile-editor .visibility-choice small { color: #6a6a64; font-size: .8125rem; line-height: 1.4; }
  /* save bar */
  .dashboard-main .profile-save-bar { margin-top: 12px; padding: 12px 0 0; border: 0; border-top: 1px solid rgba(0, 0, 0, .1); background: transparent; box-shadow: none; }
  .dashboard-main .profile-save-bar.is-saved { padding: 12px; border: 1px solid #8ca45a; background: #eff7df; }
  .dashboard-main .profile-save-bar > div b { font-size: .9375rem; }
  .dashboard-main .profile-save-bar > div span { font-size: .8125rem; }
  /* the "ready to match" card: one title row, one button */
  .dashboard-main .readiness-card { margin-bottom: 4px; padding: 14px; }
  .dashboard-main .readiness-heading { margin-bottom: 10px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
  .dashboard-main .readiness-heading h2 { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
  .dashboard-main .readiness-status-controls { width: auto; gap: 10px; align-items: center; }
  .dashboard-main .ready-badge { min-height: 22px; padding: 0 9px; border-radius: 11px; font: 700 .75rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .pause-matching-button { min-height: 22px; padding: 0; border: 0; background: none; color: #6a6a64; font: 600 .75rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-decoration: underline; text-transform: none; }
  .dashboard-main .pause-matching-button:hover { background: none; color: #8b3f36; }
  .dashboard-main .resume-matching-button { min-height: 26px; padding: 0 12px; border-radius: 13px; font: 700 .75rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .readiness-steps:not(:has(article:not(.complete))) { display: none; }
  .dashboard-main .readiness-note { display: none; }
  .dashboard-main .readiness-next { margin-top: 0; padding-top: 0; border-top: 0; }
  .dashboard-main .readiness-next > div { display: none; }
  .dashboard-main .readiness-next .member-button { width: 100%; min-height: 42px; font-size: .9375rem; }
  .dashboard-main .readiness-next.paused > div { display: grid; }
  .dashboard-main .readiness-steps article { padding: 8px 10px; }
  .dashboard-main .readiness-steps article span { font-size: .9375rem; font-weight: 700; }
  .dashboard-main .readiness-steps article small { font-size: .8125rem; }
  .dashboard-main .readiness-steps article strong { font: 700 .6875rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: .02em; text-transform: none; }
  /* My matches */
  .dashboard-main .connection-panel > header { display: none; }
  .dashboard-main .connection-empty { padding: 28px 16px; }
  .dashboard-main .connection-empty > span { width: 36px; height: 36px; font-size: 1rem; }
  .dashboard-main .connection-empty b { font-size: 1rem; }
  .dashboard-main .connection-empty p { font-size: .875rem; }
  .dashboard-main .connection-empty button { font: 700 .875rem Urbanist, Inter, ui-sans-serif, sans-serif; }
  /* Messages */
  .dashboard-main .conversation-list > header b { font-size: .9375rem; }
  .dashboard-main .chat-panel-empty h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
  .dashboard-main .chat-panel-empty p { font-size: .875rem; }
  /* Trust & Privacy */
  .dashboard-main .safety-grid article { padding: 12px 14px; gap: 2px; }
  .dashboard-main .safety-grid article > span { display: none; }
  .dashboard-main .safety-grid h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
  .dashboard-main .safety-grid p { font-size: .875rem; line-height: 1.4; }
  .dashboard-main .safety-meeting-prompt { padding: 14px; }
  .dashboard-main .safety-meeting-prompt b { font-size: .9375rem; }
  .dashboard-main .safety-meeting-prompt p { font-size: .875rem; line-height: 1.45; }
  .dashboard-main .blocked-section { margin-top: 22px; padding-top: 16px; }
  .dashboard-main .blocked-section > div:first-child h2 { margin: 0 0 3px; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
  .dashboard-main .blocked-section > div:first-child > p:last-child { font-size: .875rem; }
  .dashboard-main .empty-dashboard.small { padding: 18px 14px; }
  /* Find my match */
  .dashboard-main .match-discovery-panel { box-shadow: none; }
  .dashboard-main .local-match-heading h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
  .dashboard-main .local-match-heading button { font: 700 .8125rem Urbanist, Inter, ui-sans-serif, sans-serif; }
  .dashboard-main .business-type-filter button { font-size: .8125rem; font-weight: 600; }
  .dashboard-main .match-filter-row input, .dashboard-main .match-filter-row select { min-height: 40px; border-color: #cfcfc8; }
  .dashboard-main .member-results-heading b { font-size: .9375rem; }
  .dashboard-main .member-results-heading span { font-size: .8125rem; }
  .dashboard-main .candidate-card { box-shadow: none; }
  .dashboard-main .candidate-card h2 { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
  .dashboard-main .candidate-card h3 { font-size: .9375rem; font-weight: 700; }
  .dashboard-main .candidate-location, .dashboard-main .candidate-columns small { font: 600 .75rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .candidate-bio { font-size: .875rem; }
  .dashboard-main .match-score b { font-size: 1.4rem; }
  .dashboard-main .match-score.match-score-nearby b { font-size: .8125rem; letter-spacing: 0; }
  .dashboard-main .match-score span { font: 600 .75rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .candidate-facts span { font-weight: 600; }
}

/* Phones, dark mode touch-ups for the calm design. */
@media (max-width: 720px) {
  html[data-app-theme="dark"] .dashboard-main .ready-badge, html[data-app-theme="dark"] .dashboard-main .ready-badge.verified, html[data-app-theme="dark"] .dashboard-main .pause-matching-button { border-color: rgba(255, 255, 255, .25); background: transparent; color: #e8e8e2; }
  html[data-app-theme="dark"] .dashboard-main .ready-badge.verified::before { background: #b9e45a; }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .choice-pills button { border-color: #3a3a37; background: #141413; color: #d6d6d0; }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .choice-pills.light button.selected, html[data-app-theme="dark"] .dashboard-main .profile-editor .choice-pills button.selected { border-color: #b9e45a; background: rgba(185, 228, 90, .16); color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .business-type-filter button { border-color: #3a3a37; background: #141413; color: #d6d6d0; }
  html[data-app-theme="dark"] .dashboard-main .business-type-filter button.active { border-color: #b9e45a; background: rgba(185, 228, 90, .16); color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .candidate-facts span, html[data-app-theme="dark"] .dashboard-main .candidate-columns small { color: #a0a09f; }
  html[data-app-theme="dark"] .profile-signal-strip > div, html[data-app-theme="dark"] .profile-view-exchange > div { border-bottom-color: rgba(255, 255, 255, .12); background: transparent; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea > small, html[data-app-theme="dark"] .profile-view-dialog .profile-view-story > small, html[data-app-theme="dark"] .profile-view-dialog .profile-view-exchange small, html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip small { color: #a0a09f; }
  html[data-app-theme="dark"] .profile-view-actions:not(.own-profile-actions) .pass-button { border-color: #3a3a37; color: #a0a09f; }
  html[data-app-theme="dark"] .dashboard-main .view-profile-button, html[data-app-theme="dark"] .dashboard-main .candidate-actions .pass-button { color: #d6d6d0; background: transparent; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-reasons > small { color: #b9e45a; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-actions:not(.own-profile-actions) .pass-button { color: #d6d6d0; }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .private-account-block .member-field { border-color: rgba(255, 255, 255, .12); }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .private-account-block .member-field input { background: transparent; color: #c9c9c3; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea, html[data-app-theme="dark"] .profile-view-dialog .profile-view-story { border-color: #34342f; background: #141413; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea h3 { color: #f2f2ec; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-story p, html[data-app-theme="dark"] .profile-view-dialog .profile-view-reasons span { color: #d6d6d0; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-reasons > small { background: rgba(185, 228, 90, .16); color: #b9e45a; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-exchange { border-color: #34342f; background: #141413; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea > small, html[data-app-theme="dark"] .profile-view-dialog .profile-view-story > small, html[data-app-theme="dark"] .profile-view-dialog .profile-view-exchange div small { color: #d6d6d0; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-story p, html[data-app-theme="dark"] .profile-view-dialog .profile-view-exchange h4 { color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-idea-label, html[data-app-theme="dark"] .dashboard-main .candidate-columns div small { color: #d6d6d0; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip { border-color: #34342f; background: #141413; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip b { color: #c9c9c3; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip small::after { color: #d6d6d0; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip b { color: #f2f2ec; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea .candidate-facts span { color: #a0a09f; }
  html[data-app-theme="dark"] .dashboard-main .candidate-fit > small { background: rgba(185, 228, 90, .16); color: #b9e45a; }
  html[data-app-theme="dark"] .dashboard-main .candidate-fit span, html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-bio, html[data-app-theme="dark"] .dashboard-main .candidate-columns p { color: #d6d6d0; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > h3, html[data-app-theme="dark"] .dashboard-main .candidate-card > h2 { color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-idea-label, html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-bio-label, html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-location, html[data-app-theme="dark"] .dashboard-main .candidate-columns div small { color: #a0a09f; }
  html[data-app-theme="dark"] .dashboard-main .business-type-filter .goal-select { border-color: #3a3a37; background: #141413; color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-idea-label, html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-bio-label, html[data-app-theme="dark"] .dashboard-main .candidate-columns div small,
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea > small, html[data-app-theme="dark"] .profile-view-dialog .profile-view-story > small, html[data-app-theme="dark"] .profile-view-dialog .profile-view-exchange div small, html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip small::after { color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > .candidate-bio, html[data-app-theme="dark"] .dashboard-main .candidate-columns p, html[data-app-theme="dark"] .profile-view-dialog .profile-view-story p, html[data-app-theme="dark"] .profile-view-dialog .profile-view-exchange h4, html[data-app-theme="dark"] .profile-view-dialog .profile-signal-strip b { color: #d6d6d0; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > h3 { color: #d6d6d0; }
  html[data-app-theme="dark"] .dashboard-main .candidate-card > h3 .candidate-idea-label { color: #f2f2ec; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea h3 { color: #d6d6d0; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea .candidate-facts span { color: #d6d6d0; }
  html[data-app-theme="dark"] .profile-view-dialog .profile-view-idea .candidate-facts b { color: #f2f2ec; }
  html[data-app-theme="dark"] .dashboard-main .ready-badge.verified { border-color: rgba(255, 255, 255, .25); color: #e8e8e2; }
  html[data-app-theme="dark"] .dashboard-main .private-account-block,
  html[data-app-theme="dark"] .dashboard-main .profile-photo-editor { border: 0; background: transparent; }
  html[data-app-theme="dark"] .dashboard-main .visibility-choice { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); background: transparent; }
  html[data-app-theme="dark"] .dashboard-main .profile-section-heading, html[data-app-theme="dark"] .dashboard-main .profile-save-bar { border-top-color: rgba(255, 255, 255, .12); }
  html[data-app-theme="dark"] .dashboard-main .dashboard-title > p:last-child, html[data-app-theme="dark"] .dashboard-main .member-field small { color: #a0a09f; }
  html[data-app-theme="dark"] .dashboard-main .member-field > span, html[data-app-theme="dark"] .dashboard-main fieldset > legend, html[data-app-theme="dark"] .dashboard-main .business-type-filter > span, html[data-app-theme="dark"] .dashboard-main .match-filter-row label > span { color: #d6d6d0; }
}

/* Phones, round 5: quieter status controls, a trimmed sign-in section, tidy two-column choice grids, a shorter form. */
@media (max-width: 720px) {
  /* status: two equal outlined boxes on the left, one green accent only (the Browse button) */
  .dashboard-main .readiness-status-controls { justify-content: flex-start; gap: 8px; }
  .dashboard-main .ready-badge, .dashboard-main .pause-matching-button { min-height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid #bdbdb6; border-radius: 0; background: transparent; color: #33332f; font: 700 .8125rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; text-decoration: none; }
  .dashboard-main .ready-badge.verified { border-color: #bdbdb6; background: transparent; color: #33332f; }
  .dashboard-main .ready-badge.verified::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5f812d; }
  .dashboard-main .pause-matching-button { color: #66665f; font-weight: 600; }
  .dashboard-main .pause-matching-button:hover { border-color: #8b3f36; background: transparent; color: #8b3f36; }
  .dashboard-main .readiness-heading { margin-bottom: 12px; }
  /* sign-in: just the email, no heading, no description, no "confirmed" line */
  .dashboard-main .profile-section-heading:has(+ .private-account-block) { display: none; }
  .dashboard-main .private-account-block .verified-field small { display: none; }
  .dashboard-main .profile-editor > .dashboard-title > p:last-child { display: none; }
  /* section headings: title only */
  .dashboard-main .profile-editor .profile-section-heading > p:last-child { display: none; }
  .dashboard-main .profile-editor .profile-section-heading { margin: 18px 0 10px; padding-top: 14px; }
  /* shorter form */
  .dashboard-main .member-field { gap: 4px; margin-bottom: 10px; }
  .dashboard-main .profile-signal-grid { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .dashboard-main .profile-signal-grid > :first-child { grid-column: 1 / -1; }
  .dashboard-main .profile-editor .member-field textarea { min-height: 76px; }
  .dashboard-main .profile-editor fieldset { margin-bottom: 12px; }
  .dashboard-main .profile-editor legend { margin-bottom: 6px; }
  /* choices ("What I bring", "Who I'm looking for", "Most important"): a plain two-column grid; selected = light green fill + dark text */
  .dashboard-main .profile-editor .choice-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .dashboard-main .profile-editor .choice-pills button { min-height: 38px; padding: 0 10px; justify-content: flex-start; text-align: left; border: 1px solid #cfcfc8; background: #fff; color: #44443f; font-size: .875rem; font-weight: 500; line-height: 1.15; }
  .dashboard-main .profile-editor .choice-pills.light button.selected, .dashboard-main .profile-editor .choice-pills button.selected { border-color: #5f812d; background: #e9f4d1; color: #0a0a09; font-weight: 700; }
  .dashboard-main .top-need-picker .choice-pills button.selected { border-color: #0a0a09; }
  .dashboard-main .top-need-note { margin-top: 6px; }
  .dashboard-main .readiness-card { margin-bottom: 16px; }
  .dashboard-main .profile-location-row > :nth-child(3) { grid-column: 1 / -1; }
  /* every box in the form is exactly 44px tall; choice buttons are all the same width (two equal columns) and never wrap */
  .dashboard-main .profile-editor .member-field input:not([type="checkbox"]), .dashboard-main .profile-editor .member-field select, .dashboard-main .profile-editor .handle-input { height: 44px; min-height: 44px; }
  .dashboard-main .profile-editor .handle-input input { height: 42px; min-height: 42px; }
  .dashboard-main .profile-editor .choice-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-main .profile-editor .choice-pills button { width: 100%; height: 44px; min-height: 44px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dashboard-main .profile-photo-editor p { display: none; }
  /* Messages: the "Choose a conversation" box is only a placeholder, so on phones the list alone is shown until a chat is opened */
  .dashboard-main .chat-panel-empty { display: none; }
}

/* Phones, round 6: Find my match top section without boxes in boxes (all controls 44px), flat match cards, toast, and the
   connection-request / report dialogs as a compact top-aligned sheet (the Send button is always on screen). */
@media (max-width: 720px) {
  .dashboard-main .match-discovery-panel { margin-bottom: 8px; border: 0; background: transparent; }
  .dashboard-main .local-match-heading { padding: 0 0 12px; border: 0; background: transparent; }
  .dashboard-main .business-type-filter { padding: 0 0 12px; border: 0; }
  .dashboard-main .business-type-filter > span, .dashboard-main .match-filter-row label > span { margin-bottom: 6px; }
  .dashboard-main .business-type-filter > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0; }
  .dashboard-main .business-type-filter button { width: 100%; height: 44px; min-height: 44px; padding: 0 10px; justify-content: flex-start; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid #cfcfc8; background: #fff; color: #44443f; font-size: .875rem; font-weight: 500; }
  .dashboard-main .business-type-filter button.active { border-color: #5f812d; background: #e9f4d1; color: #0a0a09; font-weight: 700; }
  .dashboard-main .match-filter-row { padding: 0; gap: 8px 10px; }
  .dashboard-main .match-filter-row input, .dashboard-main .match-filter-row select { height: 44px; min-height: 44px; padding: 0 12px; border-color: #cfcfc8; background: #fff; font-size: 1rem; }
  .dashboard-main .clear-match-filters { height: 44px; min-height: 44px; }
  .dashboard-main .member-results-heading { margin: 12px 0 8px; }
  .dashboard-main .nearby-heading { margin: 22px 0 10px; padding-top: 14px; }
  .dashboard-main .nearby-heading b { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
  .dashboard-main .nearby-heading p { margin-top: 2px; font-size: .875rem; line-height: 1.4; }
  /* match cards: plain text, no little boxes */
  .dashboard-main .candidate-facts { display: block; }
  .dashboard-main .candidate-facts span { display: inline; padding: 0; border: 0; color: #66665f; font-size: .8125rem; font-weight: 600; }
  .dashboard-main .candidate-facts span:not(:last-child)::after { content: " · "; }
  .dashboard-main .candidate-columns { grid-template-columns: 1fr; margin: 12px 0; gap: 8px; }
  .dashboard-main .candidate-columns div { padding-top: 0; border-top: 0; }
  .dashboard-main .candidate-columns small { display: block; color: #66665f; font: 600 .75rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; }
  .dashboard-main .candidate-columns p { margin-top: 1px; font-size: .9rem; line-height: 1.35; }
  .dashboard-main .candidate-top .profile-initials.large, .dashboard-main .candidate-top .profile-photo.large { width: 48px; height: 48px; }
  /* toast: stays inside the screen */
  .dashboard-message { top: 74px; right: 12px; left: 12px; width: auto; max-width: none; padding: 12px 40px 12px 14px; font-size: .875rem; line-height: 1.4; }
  /* dialogs */
  .review-overlay { padding: 0; align-items: start; overflow-y: auto; }
  .review-overlay .review-dialog { width: 100%; padding: 14px 16px 20px; border: 0; box-shadow: none; }
  .review-overlay .review-dialog .member-kicker { display: none; }
  .review-overlay .review-dialog h2 { margin: 0 44px 8px 0; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
  .review-overlay .review-dialog > p:not(.member-kicker):not(.review-privacy) { margin: 0; font-size: .875rem; line-height: 1.4; }
  .review-overlay .review-close { top: 10px; right: 12px; width: 36px; height: 36px; }
  .review-overlay .interest-note-dialog { gap: 10px; }
  .review-overlay .interest-note-field textarea { min-height: 96px; padding: 10px 12px 26px; font-size: 1rem; line-height: 1.4; }
  .review-overlay .interest-note-prompts { display: none; }
  .review-overlay .interest-note-privacy { font-size: .8125rem !important; line-height: 1.4 !important; }
  .review-overlay .safety-dialog-actions { margin-top: 0; gap: 8px; }
  .review-overlay .safety-dialog-actions .member-button { width: 100%; min-height: 46px; }
}

/* Phones, round 7: the full profile page (compact, no boxes in boxes, reasons listed at the top, a quiet "Not for me"). */
@media (max-width: 720px) {
  section.dashboard-main > div.dashboard-message { top: 74px; right: 12px; left: 12px; width: auto; max-width: none; box-sizing: border-box; min-width: 0; padding: 12px 40px 12px 14px; font-size: .875rem; line-height: 1.4; }
  section.dashboard-main > div.dashboard-message > span { min-width: 0; white-space: normal; }
  section.dashboard-main > div.dashboard-message { border-left: 0; }
  .review-overlay .member-field > span { margin: 0; color: #4d4d48; font: 700 .8125rem/1.25 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .profile-view-overlay { padding: 0; align-items: start; overflow-y: auto; }
  .profile-view-dialog { width: 100%; max-height: none; padding: 14px 16px 28px; border: 0; box-shadow: none; overflow: visible; font-family: Urbanist, Inter, ui-sans-serif, sans-serif; }
  .profile-view-dialog .review-close { top: 10px; right: 12px; width: 36px; height: 36px; }
  .profile-view-header { grid-template-columns: auto 1fr; gap: 12px; padding-right: 44px; align-items: center; }
  .profile-view-header .profile-photo.large, .profile-view-header .profile-initials.large { width: 56px; height: 56px; }
  .profile-view-header .member-kicker { display: none; }
  .profile-view-header h2 { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
  .profile-view-header span { font-size: .8125rem; }
  .profile-view-score { justify-items: start; }
  .profile-view-score b { font-size: 1rem; }
  .profile-view-score span { font: 600 .75rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .profile-view-dialog .profile-view-idea > small, .profile-view-dialog .profile-view-story > small, .profile-view-dialog .profile-view-exchange small, .profile-view-dialog .profile-signal-strip small, .profile-view-dialog .profile-view-reasons > small { color: #66665f; font: 600 .75rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .profile-view-reasons { margin: 12px 0 0; padding: 10px 12px; }
  .profile-view-dialog .profile-view-reasons > small { display: block; color: #3d5a1c; font-size: .8125rem; font-weight: 700; }
  .profile-view-reasons > div { margin-top: 4px; gap: 2px 12px; }
  .profile-view-reasons span { font-size: .875rem; font-weight: 600; }
  .profile-view-idea { margin-top: 14px; padding: 12px 0; }
  .profile-view-idea h3 { margin: 3px 0 6px; font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
  .profile-view-dialog .candidate-facts { display: block; }
  .profile-view-dialog .candidate-facts span { display: inline; padding: 0; border: 0; color: #66665f; font-size: .8125rem; font-weight: 600; }
  .profile-view-dialog .candidate-facts span:not(:last-child)::after { content: " · "; }
  .profile-view-story { padding: 12px 0 4px; }
  .profile-view-story p { margin: 3px 0 0; font-size: .9rem; line-height: 1.45; }
  .profile-signal-strip { margin: 8px 0 0; padding: 0; border: 0; background: transparent; }
  .profile-signal-strip > div { min-height: 0; padding: 8px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); background: transparent; }
  .profile-signal-strip b { font-size: .9rem; font-weight: 600; text-align: right; }
  .profile-view-exchange { margin-top: 8px; gap: 0; }
  .profile-view-exchange > div { min-height: 0; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); background: transparent; }
  .profile-view-exchange h4 { margin: 2px 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
  /* actions: Connect is the main button; "Not for me" is small and quiet */
  .profile-view-actions { margin-top: 16px; grid-template-columns: 1fr; gap: 8px; }
  .profile-view-actions button { min-height: 46px; font-size: .9375rem; }
  .profile-view-actions:not(.own-profile-actions) .interest-button { order: 1; }
  .profile-view-actions:not(.own-profile-actions) .pass-button { order: 2; min-height: 36px; border: 1px solid #cfcfc8; background: transparent; color: #66665f; font-size: .8125rem; font-weight: 600; }
  .profile-view-safety { margin-top: 10px; }
  .profile-view-privacy { margin-top: 14px; font-size: .75rem; }
}

/* Phones, round 8: Messages as list -> conversation (the list hides while a chat is open, with a Back button), a compact chat. */
@media (max-width: 720px) {
  .dashboard-sidebar .sidebar-match-group > button { position: relative; }
  .dashboard-main .messages-workspace { display: block; }
  .dashboard-main .messages-workspace:has(.chat-panel:not(.chat-panel-empty)) .conversation-list { display: none; }
  .dashboard-main:has(.chat-panel:not(.chat-panel-empty)) .messages-title { display: none; }
  .dashboard-main .messages-workspace:has(.chat-panel:not(.chat-panel-empty)) { border: 0; background: transparent; }
  .dashboard-main .chat-panel:not(.chat-panel-empty) { height: calc(100svh - 230px); min-height: 380px; grid-template-rows: auto auto minmax(0, 1fr) auto auto; border: 1px solid #cfcfc8; }
  .dashboard-main .chat-panel > header { padding: 8px 10px; gap: 8px; }
  .dashboard-main .chat-panel > header .profile-photo, .dashboard-main .chat-panel > header .profile-initials { width: 34px; height: 34px; }
  .dashboard-main .chat-panel > header > div:not(.connection-menu) b { font-size: .9375rem; }
  .dashboard-main .chat-panel > header span { font-size: .75rem; font-weight: 600; }
  .dashboard-main .chat-panel > header .chat-close { order: -1; width: auto; height: 36px; padding: 0 8px 0 0; color: #0a0a09; font-size: .9375rem; font-weight: 700; }
  .dashboard-main .chat-close-x { display: none; }
  .dashboard-main .chat-close-back { display: inline; }
  .dashboard-main .chat-options { margin-left: auto; }
  .dashboard-main .connection-menu summary { width: 36px; height: 36px; }
  .dashboard-main .match-safety-tip { padding: 7px 12px; }
  .dashboard-main .match-safety-tip b { font-size: .75rem; font-weight: 600; line-height: 1.3; }
  .dashboard-main .match-safety-tip span { display: none; }
  .dashboard-main .chat-thread { padding: 10px 12px; gap: 8px; }
  .dashboard-main .chat-thread article p { padding: 9px 12px; font-size: .9375rem; line-height: 1.4; }
  .dashboard-main .chat-thread article small { font-size: .6875rem; }
  .dashboard-main .chat-thread .empty-dashboard.small { min-height: 0; padding: 20px 12px; border: 0; }
  .dashboard-main .chat-thread .empty-dashboard.small b { font-size: 1rem; }
  .dashboard-main .chat-thread .empty-dashboard.small p { font-size: .875rem; }
  .dashboard-main .chat-composer { padding: 8px 10px; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: end; gap: 6px; }
  .dashboard-main .emoji-toggle { width: 44px; height: 44px; }
  .dashboard-main .chat-composer textarea { height: 44px; min-height: 44px; max-height: 120px; padding: 11px 12px; font-size: 1rem; line-height: 1.3; }
  .dashboard-main .send-message-button { grid-column: auto; height: 44px; min-height: 44px; min-width: 0; padding: 0 16px; font-size: .9375rem; }
  .dashboard-main .chat-panel > header .chat-close .chat-close-back { font-size: .9375rem; font-weight: 700; }
  .dashboard-main .demo-sender-switch { padding: 6px 10px; }
  /* notices */
  .dashboard-main .member-notice { min-height: 48px; padding: 8px 12px; }
  .dashboard-main .member-notice b { font-size: .9375rem; }
}

/* Phones, round 9: a clear focus order. Match card = who + their idea first, then one green Connect button, then two quiet links.
   Full profile = who, why you match, their idea, Connect, and only then the small details. */
@media (max-width: 720px) {
  .dashboard-main .candidate-card { display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; padding: 16px; }
  .dashboard-main .candidate-card > * { flex: 0 0 100%; min-width: 0; }
  .dashboard-main .candidate-card > .demo-profile-badge { order: 0; }
  .dashboard-main .candidate-top { order: 1; align-items: center; }
  .dashboard-main .candidate-location { order: 2; margin: 10px 0 2px; }
  .dashboard-main .candidate-card h2 { order: 3; margin: 0; font-size: 1.25rem; }
  .dashboard-main .candidate-handle { display: none; }
  .dashboard-main .candidate-card h3 { order: 4; margin: 10px 0 4px; font-size: 1.0625rem; line-height: 1.25; }
  .dashboard-main .candidate-bio { order: 5; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dashboard-main .candidate-facts { display: none; }
  .dashboard-main .candidate-columns { order: 6; display: block; margin: 0 0 14px; }
  .dashboard-main .candidate-columns div { margin: 0 0 2px; }
  .dashboard-main .candidate-columns small, .dashboard-main .candidate-columns p { display: inline; }
  .dashboard-main .candidate-columns small { margin-right: 6px; }
  .dashboard-main .candidate-columns small::after { content: ":"; }
  .dashboard-main .candidate-columns p { font-size: .875rem; color: #44443f; }
  .dashboard-main .candidate-actions { display: contents; }
  .dashboard-main .candidate-actions .interest-button { order: 7; flex: 0 0 100%; min-height: 48px; border-color: var(--member-green); background: var(--member-green); color: #0a0a09; font-size: 1rem; font-weight: 700; }
  .dashboard-main .view-profile-button, .dashboard-main .candidate-actions .pass-button { flex: 1 1 50%; min-height: 40px; margin: 6px 0 0; padding: 0; border: 0; background: transparent; color: #44443f; font-size: .875rem; font-weight: 700; }
  .dashboard-main .view-profile-button { order: 8; }
  .dashboard-main .candidate-actions .pass-button { order: 9; }
  .dashboard-main .candidate-actions .pass-button:hover, .dashboard-main .view-profile-button:hover { background: transparent; color: #0a0a09; }
  .dashboard-main .pass-x { display: none; }
  .dashboard-main .pass-label { display: inline; }
  .dashboard-main .candidate-card > .card-safety-actions { display: none; }

  .profile-view-dialog { display: flex; flex-direction: column; }
  .profile-view-dialog > .review-close { position: absolute; }
  .profile-view-dialog > .profile-view-header { order: 1; }
  .profile-view-dialog > .profile-view-reasons { order: 2; }
  .profile-view-dialog > .profile-view-idea { order: 3; }
  .profile-view-dialog > .profile-view-story { order: 4; }
  .profile-view-dialog > .profile-view-actions { order: 5; }
  .profile-view-dialog > .profile-signal-strip { order: 6; }
  .profile-view-dialog > .profile-view-exchange { order: 7; }
  .profile-view-dialog > .profile-view-safety { order: 8; }
  .profile-view-dialog > .profile-view-privacy { order: 9; }
  .profile-view-dialog .profile-view-reasons { margin: 12px 0 0; padding: 0; border: 0; background: transparent; }
  .profile-view-dialog .profile-view-reasons > small { color: #3d5a1c; font-size: .8125rem; font-weight: 700; }
  .profile-view-dialog .profile-view-reasons > div { margin-top: 2px; }
  .profile-view-dialog .profile-view-reasons span { color: #66665f; font-size: .8125rem; font-weight: 600; }
  .profile-view-dialog .profile-view-idea { margin-top: 16px; padding: 0 0 6px; border: 0; }
  .profile-view-dialog .profile-view-idea h3 { margin: 4px 0 4px; font-size: 1.25rem; }
  .profile-view-dialog .profile-view-story { padding: 6px 0 0; }
  .profile-view-dialog .profile-view-story p { color: #44443f; font-size: .9375rem; }
  .profile-view-dialog .profile-view-actions { margin-top: 18px; gap: 6px; }
  .profile-view-dialog .profile-view-actions:not(.own-profile-actions) .interest-button { min-height: 48px; border-color: var(--member-green); background: var(--member-green); color: #0a0a09; font-size: 1rem; font-weight: 700; }
  .profile-view-dialog .profile-view-actions:not(.own-profile-actions) .pass-button { min-height: 42px; border: 1px solid #bdbdb6; color: #44443f; font-size: .9375rem; font-weight: 700; }
  .profile-view-dialog .profile-signal-strip { margin: 22px 0 0; padding-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid rgba(0, 0, 0, .1); }
  .profile-view-dialog .profile-signal-strip > div { padding: 0; display: grid; align-items: start; justify-content: stretch; gap: 1px; border: 0; }
  .profile-view-dialog .profile-signal-strip b { font-size: .8125rem; font-weight: 600; text-align: left; line-height: 1.3; }
  .profile-view-dialog .profile-view-exchange { margin-top: 12px; }
  .profile-view-dialog .profile-view-exchange > div { padding: 8px 0; }
  .profile-view-dialog .profile-view-exchange h4 { font-size: .875rem; }
  .profile-view-dialog .profile-view-safety { margin-top: 14px; justify-content: center; }
  .profile-view-dialog .profile-view-safety button { font-size: .75rem; }
}

/* Phones, round 10: signed-in email as one line above Profile name; the full profile page gets one clear focus (name, then the idea card). */
@media (max-width: 720px) {
  .dashboard-main .profile-editor { display: flex; flex-direction: column; }
  .dashboard-main .profile-editor > * { order: 20; }
  .dashboard-main .profile-editor > .dashboard-title { order: 1; }
  .dashboard-main .profile-editor > .readiness-card { order: 2; }
  .dashboard-main .profile-editor > #match-profile-section { order: 3; }
  .dashboard-main .profile-editor > .profile-photo-editor { order: 4; }
  .dashboard-main .profile-editor > .private-account-block { order: 5; }
  .dashboard-main .profile-editor .private-account-block { margin: 0 0 14px; }
  .dashboard-main .profile-editor .private-account-block .member-field { margin: 0; padding: 10px 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(0, 0, 0, .1); border-bottom: 1px solid rgba(0, 0, 0, .1); }
  .dashboard-main .profile-editor .private-account-block .member-field > span { flex: 0 0 auto; }
  .dashboard-main .profile-editor .private-account-block .member-field input { flex: 1 1 auto; width: auto; min-width: 0; height: auto; min-height: 0; padding: 0; border: 0; background: transparent; color: #44443f; font-size: .9375rem; text-align: right; text-overflow: ellipsis; }

  .profile-view-dialog .profile-view-header h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
  .profile-view-dialog .profile-view-header span { color: #55554f; }
  .profile-view-dialog .profile-view-reasons { margin-top: 14px; }
  .profile-view-dialog .profile-view-reasons > small { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e9f4d1; color: #2f4a14; font-size: .8125rem; font-weight: 700; }
  .profile-view-dialog .profile-view-reasons > div { margin-top: 6px; }
  .profile-view-dialog .profile-view-reasons span { color: #33332f; font-size: .875rem; font-weight: 600; }
  .profile-view-dialog .profile-view-idea { margin-top: 14px; padding: 14px 14px 6px; border: 1px solid #dcdcd5; border-bottom: 0; background: #fff; }
  .profile-view-dialog .profile-view-idea h3 { margin: 4px 0 6px; font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #0a0a09; }
  .profile-view-dialog .profile-view-idea .candidate-facts span { color: #55554f; }
  .profile-view-dialog .profile-view-story { padding: 8px 14px 14px; border: 1px solid #dcdcd5; border-top: 0; background: #fff; }
  .profile-view-dialog .profile-view-story p { color: #33332f; }
}

/* Phones, round 11: everything about the person together in one card (idea, who they are, what they bring, what they want),
   bold readable labels, then Connect. The match card says what the bold line is. A tight "Sign-in email" line. */
@media (max-width: 720px) {
  .dashboard-main .profile-editor .private-account-block { margin-bottom: 10px; }
  .dashboard-main .profile-editor .private-account-block .member-field { padding: 6px 0; gap: 8px; }
  .dashboard-main .profile-editor .private-account-block .member-field > span { font-size: .8125rem; }
  .dashboard-main .profile-editor .private-account-block .member-field input { font-size: .875rem; }

  .dashboard-main .candidate-card > .candidate-idea-label { display: block; order: 4; margin: 12px 0 0; font: 700 .8125rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; color: #55554f; }
  .dashboard-main .candidate-card h3 { margin-top: 2px; }
  .dashboard-main .candidate-columns div small { font: 700 .8125rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; color: #44443f; }

  .profile-view-dialog > .profile-view-exchange { order: 5; }
  .profile-view-dialog > .profile-view-actions { order: 6; }
  .profile-view-dialog > .profile-signal-strip { order: 7; }
  .profile-view-dialog > .profile-view-safety { order: 8; }
  .profile-view-dialog .profile-view-idea > small, .profile-view-dialog .profile-view-story > small, .profile-view-dialog .profile-view-exchange div small { display: block; color: #44443f; font: 700 .875rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .profile-view-dialog .profile-view-idea { padding: 14px 14px 4px; }
  .profile-view-dialog .profile-view-story { padding: 12px 14px 4px; border-bottom: 0; }
  .profile-view-dialog .profile-view-story p { margin-top: 3px; color: #22221f; font-size: 1rem; font-weight: 500; line-height: 1.45; }
  .profile-view-dialog .profile-view-exchange { margin: 0; padding: 4px 14px 14px; display: grid; gap: 0; border: 1px solid #dcdcd5; border-top: 0; background: #fff; }
  .profile-view-dialog .profile-view-exchange > div { min-height: 0; padding: 10px 0 0; border: 0; background: transparent; }
  .profile-view-dialog .profile-view-exchange h4 { margin: 3px 0 0; color: #22221f; font-size: 1rem; font-weight: 600; line-height: 1.35; }
  .profile-view-dialog .profile-view-actions { margin-top: 16px; }
}

/* Phones, round 12: Stage / Time / Timing become one quiet line inside the idea card; the sign-in email lines up with the fields. */
@media (max-width: 720px) {
  .dashboard-main .profile-editor .private-account-block { margin: 0 0 12px; }
  .dashboard-main .profile-editor .private-account-block .member-field { padding: 0; justify-content: flex-start; gap: 10px; border: 0; }
  .dashboard-main .profile-editor .private-account-block .member-field input { flex: 1 1 auto; text-align: left; }

  .profile-view-dialog > .profile-signal-strip { order: 4; }
  .profile-view-dialog > .profile-view-story { order: 5; }
  .profile-view-dialog > .profile-view-exchange { order: 6; }
  .profile-view-dialog > .profile-view-actions { order: 7; }
  .profile-view-dialog > .profile-view-safety { order: 8; }
  .profile-view-dialog .profile-signal-strip { margin: 0; padding: 0 14px 4px; display: flex; flex-wrap: wrap; gap: 2px 16px; border: 1px solid #dcdcd5; border-top: 0; border-bottom: 0; background: #fff; }
  .profile-view-dialog .profile-signal-strip > div { padding: 0; display: inline; border: 0; }
  .profile-view-dialog .profile-signal-strip small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .profile-view-dialog .profile-signal-strip b { color: #55554f; font-size: .875rem; font-weight: 600; text-align: left; }
}

/* Phones, round 13: the sign-in email is in the account menu now (Signed in as ...), so the form does not repeat it. */
@media (max-width: 720px) {
  .dashboard-main .profile-editor > .private-account-block { display: none; }
}

/* Phones, round 14: one text style in the person card (bold labels, regular answers), the three detail rows labelled like the
   My account form, and "Not for me" keeps its outline on touch screens (a tap used to leave it stuck dark red). */
@media (max-width: 720px) {
  .profile-view-dialog .profile-view-actions:not(.own-profile-actions) .pass-button:hover,
  .profile-view-dialog .profile-view-actions:not(.own-profile-actions) .pass-button:active,
  .profile-view-dialog .profile-view-actions:not(.own-profile-actions) .pass-button:focus { border-color: #bdbdb6; background: transparent; color: #44443f; }
  .dashboard-main .candidate-actions .pass-button:hover, .dashboard-main .candidate-actions .pass-button:active { background: transparent; color: #44443f; }

  .profile-view-dialog .profile-view-idea .candidate-facts span { color: #55554f; font-size: 1rem; font-weight: 500; }
  .profile-view-dialog .profile-view-story p, .profile-view-dialog .profile-view-exchange h4 { color: #22221f; font-size: 1rem; font-weight: 500; line-height: 1.4; }

  .profile-view-dialog > .profile-view-exchange { order: 5; border-bottom: 0; padding-bottom: 4px; }
  .profile-view-dialog > .profile-signal-strip { order: 6; }
  .profile-view-dialog .profile-signal-strip { margin: 0; padding: 0 14px 14px; display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid #dcdcd5; border-top: 0; background: #fff; }
  .profile-view-dialog .profile-signal-strip > div { padding: 10px 0 0; display: grid; gap: 3px; }
  .profile-view-dialog .profile-signal-strip > div::after { content: none; }
  .profile-view-dialog .profile-signal-strip small { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 0; line-height: 0; }
  .profile-view-dialog .profile-signal-strip small::after { color: #44443f; font: 700 .875rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; }
  .profile-view-dialog .profile-signal-strip > div:nth-child(1) small::after { content: "Where they are now"; }
  .profile-view-dialog .profile-signal-strip > div:nth-child(2) small::after { content: "Time each week"; }
  .profile-view-dialog .profile-signal-strip > div:nth-child(3) small::after { content: "Ready to begin"; }
  .profile-view-dialog .profile-signal-strip b { color: #22221f; font-size: 1rem; font-weight: 500; line-height: 1.4; }

  .dashboard-main .candidate-card > .candidate-idea-label { margin-top: 14px; margin-bottom: 5px; }
  .dashboard-main .candidate-card h3 { margin-top: 0; }
}

/* Phones, round 15: the match card follows the full-profile pattern (name beside the photo, a "Nearby / N reasons to meet" chip with the
   reasons, "Wants to build" + the idea in large type, bold labels, regular answers). One dropdown for every filter, same size. */
@media (max-width: 720px) {
  .dashboard-main .candidate-card { position: relative; padding: 16px; }
  .dashboard-main .candidate-card > .candidate-top { order: 0; flex: 0 0 0; width: 0; height: 0; margin: 0; padding: 0; overflow: visible; }
  .dashboard-main .candidate-top .profile-photo.large, .dashboard-main .candidate-top .profile-initials.large { position: absolute; left: 16px; top: 16px; width: 54px; height: 54px; }
  .dashboard-main .candidate-top .match-score { display: none; }
  .dashboard-main .candidate-card > h2 { order: 2; flex: 0 0 calc(100% - 68px); margin: 3px 0 0 68px; font-size: 1.375rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
  .dashboard-main .candidate-card > .candidate-location { order: 3; flex: 0 0 calc(100% - 68px); margin: 3px 0 14px 68px; color: #55554f; font-size: .8125rem; }
  .dashboard-main .candidate-card > .candidate-handle { display: none; }
  .dashboard-main .candidate-card > .candidate-fit { order: 4; display: block; margin: 0 0 16px; }
  .dashboard-main .candidate-fit > small { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e9f4d1; color: #2f4a14; font: 700 .8125rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; }
  .dashboard-main .candidate-fit > div { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .dashboard-main .candidate-fit span { color: #33332f; font-size: .875rem; font-weight: 600; }
  .dashboard-main .candidate-card > .candidate-idea-label { order: 5; margin: 0 0 3px; color: #44443f; font: 700 .875rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; }
  .dashboard-main .candidate-card > h3 { order: 6; margin: 0 0 14px; color: #0a0a09; font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
  .dashboard-main .candidate-card > .candidate-bio-label { order: 7; display: block; margin: 0 0 3px; color: #44443f; font: 700 .875rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; }
  .dashboard-main .candidate-card > .candidate-bio { order: 8; margin: 0 0 12px; color: #22221f; font-size: 1rem; font-weight: 500; line-height: 1.4; }
  .dashboard-main .candidate-card > .candidate-columns { order: 9; margin: 0 0 16px; }
  .dashboard-main .candidate-columns div small { color: #44443f; font: 700 .875rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; }
  .dashboard-main .candidate-columns p { color: #22221f; font-size: 1rem; font-weight: 500; }
  .dashboard-main .candidate-actions .interest-button { order: 10; }
  .dashboard-main .view-profile-button { order: 11; }
  .dashboard-main .candidate-actions .pass-button { order: 12; }

  /* results header: the count only; "Local fit first" was a tiny label that matched nothing */
  .dashboard-main .member-results-heading { margin: 14px 0 10px; }
  .dashboard-main .member-results-heading b { font-size: 1.0625rem; }
  .dashboard-main .member-results-heading > div > span { display: none; }
  .dashboard-main .nearby-heading { margin: 18px 0 10px; padding-top: 12px; }

  /* filters: every control is the same size (44px tall, 16px text) */
  .dashboard-main .business-type-filter > div { display: none; }
  .dashboard-main .business-type-filter .goal-select { display: block; width: 100%; height: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #cfcfc8; border-radius: 0; background: #fff; color: #0a0a09; font: 400 1rem Urbanist, Inter, ui-sans-serif, sans-serif; }
}

/* Phones, round 16: filters in three short rows (labels hidden, the controls explain themselves); profile details as compact
   "Label: answer" lines; a colon after every label; a tighter account form. */
@media (max-width: 720px) {
  /* filters */
  .dashboard-main .business-type-filter > span, .dashboard-main .match-filter-row label > span { display: none; }
  .dashboard-main .business-type-filter { padding: 0 0 8px; }
  .dashboard-main .match-filter-row { gap: 8px; }
  .dashboard-main .match-discovery-panel { margin-bottom: 4px; }
  .dashboard-main .local-match-heading { padding-bottom: 10px; }
  .dashboard-main .business-type-filter .goal-select, .dashboard-main .match-filter-row input, .dashboard-main .match-filter-row select { height: 42px; min-height: 42px; }
  .dashboard-main .member-results-heading { margin: 12px 0 8px; }

  /* colon after every label */
  .dashboard-main .candidate-card > .candidate-idea-label::after, .dashboard-main .candidate-card > .candidate-bio-label::after,
  .profile-view-dialog .profile-view-idea > small::after, .profile-view-dialog .profile-view-story > small::after,
  .profile-view-dialog .profile-view-exchange div small::after { content: ":"; }

  /* profile details: one line each */
  .profile-view-dialog .profile-view-exchange > div { padding: 6px 0 0; display: block; }
  .profile-view-dialog .profile-view-exchange div small { display: inline; margin-right: 6px; }
  .profile-view-dialog .profile-view-exchange h4 { display: inline; margin: 0; }
  .profile-view-dialog .profile-signal-strip > div { padding: 6px 0 0; display: block; }
  .profile-view-dialog .profile-signal-strip small { display: inline; margin-right: 6px; }
  .profile-view-dialog .profile-signal-strip b { display: inline; }
  .profile-view-dialog .profile-signal-strip > div:nth-child(1) small::after { content: "Where they are now:"; }
  .profile-view-dialog .profile-signal-strip > div:nth-child(2) small::after { content: "Time each week:"; }
  .profile-view-dialog .profile-signal-strip > div:nth-child(3) small::after { content: "Ready to begin:"; }
  .profile-view-dialog .profile-view-idea .candidate-facts span { font-size: .9375rem; }
  .profile-view-dialog .profile-view-exchange { padding-bottom: 0; }
  .profile-view-dialog .profile-signal-strip { padding-bottom: 12px; }

  /* account form: tighter rhythm, every control 42px */
  .dashboard-main .member-field { gap: 3px; margin-bottom: 8px; }
  .dashboard-main .profile-editor .member-field input:not([type="checkbox"]), .dashboard-main .profile-editor .member-field select, .dashboard-main .profile-editor .handle-input { height: 42px; min-height: 42px; }
  .dashboard-main .profile-editor .handle-input input { height: 40px; min-height: 40px; }
  .dashboard-main .profile-editor .choice-pills button { height: 42px; min-height: 42px; }
  .dashboard-main .profile-editor .member-field textarea { min-height: 64px; }
  .dashboard-main .profile-editor fieldset { margin-bottom: 8px; }
  .dashboard-main .profile-editor legend { margin-bottom: 4px; }
  .dashboard-main .profile-editor .profile-section-heading { margin: 14px 0 8px; padding-top: 12px; }
  .dashboard-main .profile-editor .profile-photo-editor { margin-bottom: 8px; }
  .dashboard-main .profile-editor .visibility-choice { padding: 8px 0; }
}

/* Phones, round 17: short fields share a row (name|handle, city|state, radius|interest, time|ready), fewer rows overall, 40px controls;
   clearer labels in the same font (Urbanist, black, extra bold, a little larger) with regular answers. */
@media (max-width: 720px) {
  .dashboard-main .profile-editor { flex-flow: row wrap; align-content: flex-start; column-gap: 10px; }
  .dashboard-main .profile-editor > * { flex: 0 0 100%; min-width: 0; }
  .dashboard-main .profile-editor > .field-row, .dashboard-main .profile-editor > .profile-location-row, .dashboard-main .profile-editor > .profile-signal-grid { display: contents; }
  .dashboard-main .profile-editor [data-f] { flex: 0 0 calc(50% - 5px); min-width: 0; }
  .dashboard-main .profile-editor [data-f="type"], .dashboard-main .profile-editor [data-f="idea"], .dashboard-main .profile-editor [data-f="bio"], .dashboard-main .profile-editor [data-f="where"] { flex-basis: 100%; }
  .dashboard-main .profile-editor [data-f="name"], .dashboard-main .profile-editor [data-f="handle"] { order: 10; }
  .dashboard-main .profile-editor [data-f="city"], .dashboard-main .profile-editor [data-f="state"] { order: 11; }
  .dashboard-main .profile-editor [data-f="type"] { order: 12; }
  .dashboard-main .profile-editor [data-f="interest"] { order: 13; }
  .dashboard-main .profile-editor [data-f="radius"] { order: 14; }
  .dashboard-main .profile-editor [data-f="idea"] { order: 15; }
  .dashboard-main .profile-editor [data-f="bio"] { order: 16; }
  .dashboard-main .profile-editor [data-f="where"] { order: 17; }
  .dashboard-main .profile-editor [data-f="time"], .dashboard-main .profile-editor [data-f="ready"] { order: 18; }
  .dashboard-main .profile-editor .member-field input:not([type="checkbox"]), .dashboard-main .profile-editor .member-field select, .dashboard-main .profile-editor .handle-input { height: 40px; min-height: 40px; }
  .dashboard-main .profile-editor .handle-input input { height: 38px; min-height: 38px; }
  .dashboard-main .profile-editor .choice-pills button { height: 40px; min-height: 40px; }
  .dashboard-main .profile-editor .member-field > span { font-size: .8125rem; }
  .dashboard-main .profile-editor .member-field textarea { height: 92px; min-height: 92px; }

  .dashboard-main .candidate-card > .candidate-idea-label, .dashboard-main .candidate-card > .candidate-bio-label, .dashboard-main .candidate-columns div small,
  .profile-view-dialog .profile-view-idea > small, .profile-view-dialog .profile-view-story > small, .profile-view-dialog .profile-view-exchange div small { color: #0a0a09; font-size: .9375rem; font-weight: 800; }
  .profile-view-dialog .profile-signal-strip small::after { color: #0a0a09; font-size: .9375rem; font-weight: 800; }
  .dashboard-main .candidate-card > .candidate-bio, .dashboard-main .candidate-columns p, .profile-view-dialog .profile-view-story p, .profile-view-dialog .profile-view-exchange h4, .profile-view-dialog .profile-signal-strip b { color: #33332f; }
}

/* Phones, round 18: the filters in two rows (goal | interest, search | location); the idea is a regular "Wants to build: ..." line
   (nothing needs to shout except the person's name); Best matches / Also nearby sections. */
.strong-heading { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 720px) {
  /* filters: two rows */
  .dashboard-main .match-discovery-panel { display: flex; flex-wrap: wrap; gap: 8px 10px; }
  .dashboard-main .match-discovery-panel > .local-match-heading { flex: 0 0 100%; padding-bottom: 2px; }
  .dashboard-main .business-type-filter, .dashboard-main .match-filter-row { display: contents; }
  .dashboard-main .business-type-filter .goal-select { order: 1; flex: 0 0 calc(50% - 5px); width: auto; min-width: 0; }
  .dashboard-main .match-filter-row > label:nth-child(2) { order: 2; flex: 0 0 calc(50% - 5px); min-width: 0; margin: 0; }
  .dashboard-main .match-filter-row > .member-search-box { order: 3; flex: 0 0 calc(50% - 5px); min-width: 0; margin: 0; }
  .dashboard-main .match-filter-row > label:nth-child(3) { order: 4; flex: 0 0 calc(50% - 5px); min-width: 0; margin: 0; }
  .dashboard-main .match-filter-row > .clear-match-filters { order: 5; flex: 0 0 100%; }
  .dashboard-main .match-discovery-panel { margin-bottom: 14px; }

  /* the idea as a regular line */
  .dashboard-main .candidate-card > h3 { margin: 0 0 12px; color: #33332f; font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
  .dashboard-main .candidate-card > h3 .candidate-idea-label { display: inline; margin: 0 6px 0 0; color: #0a0a09; font: 800 .9375rem/1.2 Urbanist, Inter, ui-sans-serif, sans-serif; }
  .dashboard-main .candidate-card > h3 .candidate-idea-label::after { content: ":"; }
  .profile-view-dialog .profile-view-idea > small { display: inline; margin-right: 6px; }
  .profile-view-dialog .profile-view-idea h3 { display: inline; margin: 0; color: #33332f; font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
  .profile-view-dialog .profile-view-idea .candidate-facts { margin-top: 6px; }

  /* sections */
  .dashboard-main .nearby-heading b { font-size: 1.0625rem; }
  .dashboard-main .strong-heading { margin: 4px 0 8px; }
  .dashboard-main .strong-heading + .empty-dashboard { margin-bottom: 4px; }
  .dashboard-main .no-strong { min-height: 0; padding: 12px 14px; gap: 4px; text-align: left; place-items: start; }
  .dashboard-main .no-strong b { font-size: 1rem; }
  .dashboard-main .no-strong p { margin: 0; font-size: .875rem; line-height: 1.4; }
}

/* Phones, round 19: the profile's Type / Interest / Distance lines are labelled like the others (no loose phrases);
   no divider line above "Complete what other members will see", and the top of My account sits a bit higher. */
.profile-view-idea .candidate-facts b { font-weight: 700; }
@media (max-width: 720px) {
  .profile-view-dialog .profile-view-idea .candidate-facts { margin-top: 4px; display: block; }
  .profile-view-dialog .profile-view-idea .candidate-facts span { display: block; padding: 3px 0 0; color: #33332f; font-size: 1rem; font-weight: 500; }
  .profile-view-dialog .profile-view-idea .candidate-facts span:not(:last-child)::after { content: none; }
  .profile-view-dialog .profile-view-idea .candidate-facts b { margin-right: 6px; color: #0a0a09; font-size: .9375rem; font-weight: 800; }

  .dashboard-main .profile-editor > .dashboard-title { margin-bottom: 8px; }
  .dashboard-main .profile-editor .readiness-card { margin-bottom: 8px; }
  .dashboard-main .profile-editor .profile-section-heading { margin: 6px 0 8px; padding-top: 0; border-top: 0; }
  .dashboard-main .profile-editor .profile-photo-editor { margin-bottom: 8px; }
}

/* Phones, round 20: priorities as their own lines under the label; the introduction stops cleanly after three lines. */
@media (max-width: 720px) {
  .dashboard-main .candidate-columns p.has-priority, .profile-view-dialog .profile-view-exchange h4.has-priority { display: block; margin-top: 3px; }
  .dashboard-main .candidate-card > .candidate-bio { min-height: calc(1.4em * 3); max-height: calc(1.4em * 3); }
}

/* Desktop, round 21: My account without the extra headings, boxes and gaps (the sign-in email is shown in the account menu). */
@media (min-width: 721px) {
  .dashboard-main .profile-editor > .dashboard-title { margin-bottom: 12px; }
  .dashboard-main .profile-editor > .dashboard-title .member-kicker { display: none; }
  .dashboard-main .profile-editor > .dashboard-title h1 { margin: 0 0 4px; font-size: 2.125rem; }
  .dashboard-main .profile-editor > .dashboard-title > p:last-child { font-size: 1rem; }
  .dashboard-main .profile-editor .readiness-card { margin-bottom: 12px; padding: 16px 20px; }
  .dashboard-main .profile-editor .readiness-heading { margin-bottom: 10px; }
  .dashboard-main .profile-editor .readiness-heading h2 { font-size: 1.5rem; letter-spacing: -.02em; }
  .dashboard-main .profile-editor .readiness-steps:not(:has(article:not(.complete))) { display: none; }
  .dashboard-main .profile-editor .readiness-note { display: none; }
  .dashboard-main .profile-editor .readiness-next { margin-top: 0; padding-top: 0; border-top: 0; }
  .dashboard-main .profile-editor .readiness-next > div span { display: none; }
  .dashboard-main .profile-editor .profile-section-heading:has(+ .private-account-block), .dashboard-main .profile-editor .private-account-block { display: none; }
  .dashboard-main .profile-editor .profile-section-heading { margin: 8px 0 10px; padding-top: 0; border-top: 0; }
  .dashboard-main .profile-editor .profile-section-heading .member-kicker, .dashboard-main .profile-editor .profile-section-heading > p:last-child { display: none; }
  .dashboard-main .profile-editor .profile-section-heading h2 { margin: 0; font-size: 1.375rem; }
  .dashboard-main .profile-editor .profile-photo-editor { margin-bottom: 14px; padding: 12px 16px; gap: 16px; align-items: center; }
  .dashboard-main .profile-editor .profile-photo-editor .profile-photo.large, .dashboard-main .profile-editor .profile-photo-editor .profile-initials { width: 64px; height: 64px; }
  .dashboard-main .profile-editor .profile-photo-actions { display: flex; align-items: center; gap: 10px; }
  .dashboard-main .profile-editor .profile-photo-actions .member-button, .dashboard-main .profile-editor .remove-photo-button { width: auto; min-height: 38px; padding: 0 16px; }
  .dashboard-main .profile-editor .profile-photo-editor p b { display: none; }
  .dashboard-main .profile-editor .profile-photo-editor p { font-size: .9375rem; }
  .dashboard-main .profile-editor .member-field { gap: 6px; margin-bottom: 12px; }
  .dashboard-main .profile-editor .member-field input:not([type="checkbox"]), .dashboard-main .profile-editor .member-field select { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .dashboard-main .profile-editor .handle-input { min-height: 44px; }
  .dashboard-main .profile-editor .member-field textarea { min-height: 96px; padding: 10px 14px; }
  .dashboard-main .profile-editor .field-row, .dashboard-main .profile-editor .profile-location-row, .dashboard-main .profile-editor .profile-signal-grid { gap: 0 14px; }
  .dashboard-main .profile-editor fieldset { margin-bottom: 12px; }
  .dashboard-main .profile-editor legend { margin-bottom: 8px; }
  .dashboard-main .profile-editor .choice-pills { gap: 6px; }
  .dashboard-main .profile-editor .choice-pills button { min-height: 38px; }
  .dashboard-main .profile-editor .visibility-choice { margin: 4px 0 10px; padding: 12px 14px; }
  /* the two status buttons are small and quiet, always smaller than "Browse future partners" */
  .dashboard-main .readiness-status-controls { gap: 8px; }
  .dashboard-main .ready-badge, .dashboard-main .pause-matching-button, .dashboard-main .resume-matching-button { min-height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 0; font: 700 .8125rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .ready-badge.verified { border-color: #bdbdb6; background: transparent; color: #33332f; }
  .dashboard-main .ready-badge.verified::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5f812d; }
  .dashboard-main .pause-matching-button { border-color: #bdbdb6; color: #66665f; font-weight: 600; }
  .dashboard-main .pause-matching-button:hover { border-color: #8b3f36; background: transparent; color: #8b3f36; }
  .dashboard-main .readiness-next .member-button { min-height: 46px; }
  /* status buttons and "Browse future partners" share one column, so their left and right edges line up */
  .dashboard-main .profile-editor .readiness-card { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 10px; align-items: center; }
  .dashboard-main .profile-editor .readiness-card > .readiness-heading, .dashboard-main .profile-editor .readiness-card > .readiness-next { display: contents; }
  .dashboard-main .profile-editor .readiness-card > .readiness-steps, .dashboard-main .profile-editor .readiness-card > .readiness-note { grid-column: 1 / -1; }
  .dashboard-main .profile-editor .readiness-heading h2 { grid-column: 1; grid-row: 1; }
  .dashboard-main .profile-editor .readiness-status-controls { grid-column: 2; grid-row: 1; display: flex; justify-self: stretch; }
  .dashboard-main .profile-editor .readiness-status-controls > * { flex: 1 1 0; justify-content: center; white-space: nowrap; }
  .dashboard-main .profile-editor .readiness-next > div { display: none; }
  .dashboard-main .profile-editor .readiness-next.paused > div { display: grid; grid-column: 1 / -1; grid-row: 2; }
  .dashboard-main .profile-editor .readiness-card:has(.readiness-next .member-button) .readiness-heading h2 { grid-row: 1 / span 2; align-self: center; font-size: 1.75rem; }
  .dashboard-main .profile-editor .readiness-next .member-button { grid-column: 2; grid-row: 2; justify-self: stretch; }
  .dashboard-main .profile-editor .profile-save-bar { margin-top: 14px; }
}

/* Desktop, round 22: a slimmer sidebar with tighter menu rows (the sidebar becomes the top tab bar at 920px and below, matching globals.css). */
@media (min-width: 921px) {
  .dashboard-shell:not(.standalone-discover) { grid-template-columns: 200px minmax(0, 1fr); }
  .dashboard-shell > .dashboard-sidebar { padding: 18px 10px; }
  .dashboard-sidebar .dashboard-person { padding: 0 6px 14px; gap: 10px; }
  .dashboard-sidebar .dashboard-person .profile-photo, .dashboard-sidebar .dashboard-person .profile-initials { width: 36px; height: 36px; font-size: 11px; }
  .dashboard-sidebar .dashboard-person div { gap: 1px; }
  .dashboard-sidebar .dashboard-person b { font-size: .9375rem; }
  .dashboard-sidebar .dashboard-person span { font-size: .8125rem; }
  .dashboard-sidebar nav { margin-top: 10px; gap: 2px; }
  .dashboard-sidebar nav > button, .dashboard-sidebar .sidebar-match-group > button { padding: 9px 10px; gap: 10px; font-size: .9375rem; }
  .dashboard-sidebar .nav-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .dashboard-sidebar nav .sidebar-match-subnav { margin: 2px 0 4px 18px; padding-left: 10px; }
  .dashboard-sidebar nav .sidebar-match-subnav button { padding: 6px 6px; font-size: .8125rem; }
  .dashboard-sidebar .dashboard-share-wrap { margin: 14px 4px 0; }
  .dashboard-sidebar .dashboard-share { padding: 7px 10px; gap: 8px; font-size: .8125rem; }
}

/* Phones, round 23: Type comes before Interest (the interest choices depend on the type); smaller empty-list buttons; a trimmer ready card. */
@media (max-width: 720px) {
  .empty-actions { gap: 8px; }
  .dashboard-main .empty-actions .member-button { min-height: 40px; padding: 0 16px; font-size: .875rem; }
  .dashboard-main .empty-dashboard { padding: 18px 14px; gap: 8px; }
  .dashboard-main .profile-editor .readiness-card { margin-bottom: 14px; padding: 12px; }
  .dashboard-main .profile-editor .readiness-card .readiness-heading { display: block; }
  .dashboard-main .profile-editor .readiness-status-controls { width: 100%; margin: 0 0 10px; display: flex; align-items: center; justify-content: flex-start; gap: 22px; border: 0; }
  .dashboard-main .profile-editor .readiness-status-controls > * { width: auto; min-height: 28px; margin: 0; padding: 0; display: inline-flex; align-items: center; border: 0; background: transparent; box-sizing: border-box; color: #33332f; font: 500 .9375rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; letter-spacing: 0; text-transform: none; }
  .dashboard-main .profile-editor .readiness-status-controls > .ready-badge::before { flex: 0 0 auto; margin-right: 8px; }
  .dashboard-main .profile-editor .readiness-status-controls > button { color: #8b2f27; text-decoration: underline; text-underline-offset: 3px; }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .readiness-status-controls > button { color: #e58a7e; }
  .dashboard-main .profile-editor .readiness-card .readiness-heading { margin-bottom: 8px; }
  .dashboard-main .profile-editor .readiness-card .readiness-heading h2 { font-size: 1.1875rem; }
  .dashboard-main .profile-editor .readiness-next .member-button { min-height: 42px; }
  .dashboard-main .profile-editor .profile-photo-editor { margin-top: 2px; }
}

@media (max-width: 720px) {
  /* Photo row: the picture, with Replace and Remove as two matching text links beside it. */
  .dashboard-main .profile-editor .profile-photo-editor { margin-bottom: 14px; padding: 0; gap: 0 16px; align-items: center; }
  .dashboard-main .profile-editor .profile-photo-editor .profile-photo.large, .dashboard-main .profile-editor .profile-photo-editor .profile-initials { width: 72px; height: 72px; }
  .dashboard-main .profile-editor .profile-photo-actions { gap: 22px; }
  .dashboard-main .profile-editor .profile-photo-actions .member-button, .dashboard-main .profile-editor .profile-photo-actions .remove-photo-button { min-height: 36px; padding: 0; border: 0; background: transparent; color: #33332f; font: 400 .9375rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
  .dashboard-main .profile-editor .profile-photo-actions .remove-photo-button { color: #8b2f27; }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .profile-photo-actions .member-button { color: #f1f1ec; }
  html[data-app-theme="dark"] .dashboard-main .profile-editor .profile-photo-actions .remove-photo-button { color: #e58a7e; }
}

/* Owner-only Match check page */
.match-check { padding-top: 40px; }
.mc-tags span { display: inline-block; padding: 4px 9px; border: 1px solid currentColor; font: 700 .6875rem/1 ui-monospace, monospace; letter-spacing: .14em; }
.mc-title { margin: 16px 0 8px; font-size: clamp(2.5rem, 7vw, 4rem); line-height: .95; letter-spacing: -.05em; font-weight: 600; }
.mc-sub { margin: 0 0 24px; color: #66665f; font-size: 1rem; line-height: 1.5; }
.mc-sub a { margin-left: 8px; color: var(--member-deep); font-weight: 700; }
.mc-picker { margin-bottom: 18px; display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 12px; align-items: end; }
.mc-picker label { display: grid; gap: 6px; min-width: 0; }
.mc-picker label span { font-size: .8125rem; font-weight: 700; }
.mc-picker select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #bdbdb6; border-radius: 0; background: #fff; color: #0a0a09; font: 500 1rem Urbanist, Inter, ui-sans-serif, sans-serif; }
.mc-picker i { padding-bottom: 12px; font-style: normal; font-size: 1.25rem; color: #66665f; }
.mc-picker .member-button { min-height: 46px; padding: 0 22px; }
.mc-error { margin: 0 0 14px; color: #a1311f; font-weight: 600; }
.mc-verdict { margin-bottom: 10px; padding: 16px 18px; border-left: 4px solid; }
.mc-verdict h2 { margin: 0 0 4px; font-size: 1.375rem; line-height: 1.2; font-weight: 700; }
.mc-verdict p { margin: 0; font-size: 1rem; line-height: 1.45; color: #0a0a09; }
.mc-verdict.no { border-color: #b03a2b; background: #f6e3e0; }
.mc-verdict.no h2 { color: #a1311f; }
.mc-verdict.yes { border-color: #5f812d; background: #e9f3d8; }
.mc-verdict.yes h2 { color: #3f5a1c; }
.mc-change { margin-bottom: 14px; padding: 12px 18px; border-left: 4px solid #5f812d; background: #eef5df; color: #0a0a09; font-size: 1rem; line-height: 1.45; }
.mc-checks { margin: 0 0 12px; padding: 0; list-style: none; border: 1px solid #cfcfc8; background: #f7f7f2; }
.mc-checks li { padding: 12px 16px; display: grid; grid-template-columns: 30px 210px 1fr; gap: 4px 14px; align-items: start; border-top: 1px solid #dcdcd5; color: #0a0a09; }
.mc-checks li:first-child { border-top: 0; }
.mc-checks li.fail { background: #f9ece9; }
.mc-checks b { font-size: 1rem; line-height: 1.3; }
.mc-checks p { margin: 0; color: #33332f; font-size: .9375rem; line-height: 1.45; }
.mc-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: .8125rem; font-weight: 800; }
.mc-checks .ok .mc-mark { background: #4d7a22; }
.mc-checks .fail .mc-mark { background: #b03a2b; }
.mc-checks .info .mc-mark { background: #8a8a82; font-style: italic; }
.mc-reverse { margin: 0 0 10px; font-size: .9375rem; line-height: 1.45; }
.mc-foot { margin: 14px 0 0; color: #66665f; font-size: .875rem; }
html[data-app-theme="dark"] .mc-sub, html[data-app-theme="dark"] .mc-foot, html[data-app-theme="dark"] .mc-picker i { color: #a8a8a0; }
html[data-app-theme="dark"] .mc-picker select { border-color: #4a4a45; background: #1a1a18; color: #f1f1ec; }
html[data-app-theme="dark"] .mc-verdict p, html[data-app-theme="dark"] .mc-change, html[data-app-theme="dark"] .mc-checks li, html[data-app-theme="dark"] .mc-checks p { color: #ecece6; }
html[data-app-theme="dark"] .mc-verdict.no { background: #3a1f1b; }
html[data-app-theme="dark"] .mc-verdict.no h2 { color: #ff9a8a; }
html[data-app-theme="dark"] .mc-verdict.yes { background: #25331a; }
html[data-app-theme="dark"] .mc-verdict.yes h2 { color: #b9e45a; }
html[data-app-theme="dark"] .mc-change { background: #22301a; }
html[data-app-theme="dark"] .mc-checks { border-color: #3d3d39; background: #1a1a18; }
html[data-app-theme="dark"] .mc-checks li { border-color: #33332f; }
html[data-app-theme="dark"] .mc-checks li.fail { background: #34201c; }
@media (max-width: 720px) {
  .match-check { padding-top: 24px; }
  .mc-picker { grid-template-columns: 1fr; gap: 10px; }
  .mc-picker i { display: none; }
  .mc-checks li { grid-template-columns: 28px 1fr; padding: 11px 12px; }
  .mc-checks p { grid-column: 2; }
  .mc-verdict { padding: 14px; }
  .mc-verdict h2 { font-size: 1.1875rem; }
}

.admin-flags { min-width: 0; display: grid; gap: 12px; }
.admin-flags .admin-message { overflow-wrap: anywhere; }
.admin-flags .admin-report-list, .admin-flag { min-width: 0; }
.admin-flag .report-status-actions { flex-wrap: wrap; }
.admin-flag { border-left: 4px solid #8a8a82; }
.admin-flag.high { border-left-color: #b03a2b; }
.admin-flag.medium { border-left-color: #c98a1a; }
.flag-level { margin-right: 6px; padding: 2px 6px; border-radius: 3px; color: #fff; font-style: normal; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; background: #8a8a82; }
.flag-level.high { background: #b03a2b; }
.flag-level.medium { background: #c98a1a; }
.flag-quote { margin: 0; padding: 10px 12px; border-left: 3px solid #cfcfc8; background: rgba(10, 10, 9, .04); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.flag-quote mark { padding: 0 2px; background: #f6d86a; color: #0a0a09; }
html[data-app-theme="dark"] .flag-quote { border-color: #4a4a45; background: rgba(255, 255, 255, .05); }
.admin-formerly { margin: 2px 0 0; color: #8a6d1a; font-size: .8125rem; }
.admin-history p { margin: 3px 0 0; font-size: .875rem; }
html[data-app-theme="dark"] .admin-formerly { color: #e0c067; }
.member-field[data-f] { align-content: start; align-self: flex-start; }
.field-note { display: block; margin-top: 4px; color: #66665f; font-size: .75rem; font-weight: 500; line-height: 1.35; }
.member-field .field-note.ok { color: #4d7a22; }
.member-field .field-note.taken { color: #8b2f27; }
.member-field .field-note { font-size: .75rem; }
.field-note button { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.member-field input:disabled { background: transparent; color: #66665f; cursor: not-allowed; }
html[data-app-theme="dark"] .field-note { color: #a8a8a0; }
html[data-app-theme="dark"] .member-field .field-note.ok { color: #b9e45a; }
html[data-app-theme="dark"] .member-field .field-note.taken { color: #e58a7e; }
@media (min-width: 721px) {
  /* Desktop: the close button of an open conversation matches the ••• button beside it. */
  .chat-panel > header > .chat-close { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid #b8b8b1; background: transparent; color: #0a0a09; }
  .chat-panel > header > .chat-close .chat-close-x { color: #0a0a09; font-size: 24px; font-weight: 400; line-height: 1; }
  .chat-panel > header > .chat-close:hover { border-color: #0a0a09; background: #ecece6; }
  html[data-app-theme="dark"] .chat-panel > header > .chat-close { border-color: #4a4a45; color: #f1f1ec; }
  html[data-app-theme="dark"] .chat-panel > header > .chat-close .chat-close-x { color: #f1f1ec; }
  html[data-app-theme="dark"] .chat-panel > header > .chat-close:hover { background: rgba(255, 255, 255, .08); }
}
@media (max-width: 720px) {
  .dashboard-main .profile-editor [data-f="interest"][data-multi] { flex: 0 0 100%; }
}
/* Two-choice interests: a drop-down on desktop, tappable chips on phones */
.multi-chips { display: none; margin-top: 6px; }
@media (max-width: 720px) {
  .member-field[data-multi] .multi-select { display: none; }
  .member-field[data-multi] .multi-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dashboard-main .profile-editor .member-field[data-multi] .choice-pills button { height: auto; min-height: 40px; padding: 8px 10px; white-space: normal; overflow: visible; text-overflow: clip; text-align: left; line-height: 1.25; }
}
/* Drop-down that allows two choices */
.multi-select { position: relative; }
.multi-select-trigger { width: 100%; min-height: 46px; padding: 10px 38px 10px 12px; position: relative; display: block; overflow: hidden; border: 1px solid #bdbdb6; border-radius: 0; background: #f8f8f3; color: #0a0a09; text-align: left; text-overflow: ellipsis; white-space: nowrap; font: 400 1rem Urbanist, Inter, ui-sans-serif, sans-serif; cursor: pointer; }
.multi-select-trigger::after { content: ""; width: 7px; height: 7px; position: absolute; top: 50%; right: 15px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.multi-select-trigger[aria-expanded="true"] { border-color: #0a0a09; }
.multi-select-list { position: absolute; z-index: 30; top: calc(100% + 4px); right: 0; left: 0; max-height: 320px; overflow-y: auto; border: 1px solid #0a0a09; background: #fff; box-shadow: 6px 6px 0 rgba(0, 0, 0, .12); }
.multi-select-list button { width: 100%; min-height: 44px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid #ecece6; border-radius: 0; background: transparent; color: #0a0a09; text-align: left; font: 400 .9375rem/1.25 Urbanist, Inter, ui-sans-serif, sans-serif; cursor: pointer; }
.multi-select-list button:hover { background: #f1f1ec; }
.multi-select-list button.picked { background: #e9f3d8; font-weight: 700; }
.multi-select-list i { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #8a8a82; background: #fff; font-style: normal; font-size: .8125rem; font-weight: 800; }
.multi-select-list button.picked i { border-color: #4d7a22; background: #4d7a22; color: #fff; }
.multi-select-list p { margin: 0; padding: 8px 12px; color: #66665f; font-size: .75rem; }
.dashboard-main .profile-editor .multi-select-trigger { min-height: 40px; padding: 8px 36px 8px 12px; }
html[data-app-theme="dark"] .multi-select-trigger { border-color: #4a4a45; background: #1a1a18; color: #f1f1ec; }
html[data-app-theme="dark"] .multi-select-list { border-color: #8a8a82; background: #1a1a18; }
html[data-app-theme="dark"] .multi-select-list button { border-color: #2a2a28; color: #f1f1ec; }
html[data-app-theme="dark"] .multi-select-list button:hover { background: #26261f; }
html[data-app-theme="dark"] .multi-select-list button.picked { background: #26331b; }
html[data-app-theme="dark"] .multi-select-list p { color: #a8a8a0; }
.notify-row { margin-top: 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 1rem; }
.notify-row input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: #4d7a22; }
.admin-growth { display: grid; gap: 8px; }
.growth-heading { margin: 22px 0 6px; font-size: 1.25rem; font-weight: 700; }
.growth-table { width: 100%; border-collapse: collapse; background: #f7f7f2; border: 1px solid #cfcfc8; color: #0a0a09; }
.growth-table th, .growth-table td { padding: 10px 14px; text-align: left; border-top: 1px solid #dcdcd5; font-size: .9375rem; overflow-wrap: anywhere; }
.growth-table th { border-top: 0; color: #66665f; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
html[data-app-theme="dark"] .growth-table { background: #1a1a18; border-color: #3d3d39; color: #f1f1ec; }
html[data-app-theme="dark"] .growth-table th, html[data-app-theme="dark"] .growth-table td { border-color: #33332f; }
/* Owner area: sidebar + content */
.admin-frame { width: min(1400px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 36px; align-items: start; }
.admin-frame .admin-shell { width: 100%; padding: 36px 0 80px; }
.admin-frame .admin-heading h1, .admin-frame .mc-title { margin: 10px 0 8px; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.admin-frame .admin-heading > p:last-child { margin: 0 0 22px; font-size: 1rem; line-height: 1.5; }
.admin-frame .match-check { padding: 36px 0 80px; }
.admin-side { position: sticky; top: 16px; padding: 36px 0 0; }
.admin-side-title { margin: 0 0 10px 12px; color: #66665f; font: 700 .6875rem/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.admin-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.admin-side a { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 11px; border-left: 3px solid transparent; color: #33332f; font: 600 .9375rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; text-decoration: none; }
.admin-side a:hover { background: rgba(10, 10, 9, .05); }
.admin-side a.active { border-left-color: var(--member-deep); background: #dfecc6; color: #0a0a09; font-weight: 800; }
.admin-side a svg { flex: 0 0 auto; }
.admin-side a span { flex: 1; }
.admin-side-count { min-width: 21px; height: 21px; padding: 0 6px; display: grid; place-items: center; border-radius: 11px; background: #b03a2b; color: #fff; font: 800 .75rem/1 Urbanist, Inter, ui-sans-serif, sans-serif; }
.admin-side-foot { margin-top: 18px; padding: 14px 12px 0; border-top: 1px solid #cfcfc8; }
.admin-side-foot a { min-height: 0; padding: 0; border: 0; color: var(--member-deep); font-weight: 700; }
.admin-frame .admin-summary, .admin-frame .admin-summary:has(article:nth-child(4)) { margin: 0 0 12px; grid-template-columns: repeat(4, 1fr); }
.admin-frame .admin-summary article { min-height: 0; padding: 14px 18px; display: grid; gap: 4px; align-content: start; }
.admin-frame .admin-summary b { font-size: 1.75rem; line-height: 1; }
.admin-frame .admin-summary span { font-size: .875rem; }
.admin-todo { margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.admin-todo a { padding: 14px 16px; display: grid; gap: 4px; border: 1px solid #cfcfc8; background: #f7f7f2; color: #0a0a09; text-decoration: none; }
.admin-todo a:hover { border-color: #0a0a09; }
.admin-todo b { font-size: 1.75rem; line-height: 1; font-weight: 700; }
.admin-todo span { color: #66665f; font-size: .875rem; }
html[data-app-theme="dark"] .admin-side-title, html[data-app-theme="dark"] .admin-todo span { color: #a8a8a0; }
html[data-app-theme="dark"] .admin-side a { color: #d8d8d1; }
html[data-app-theme="dark"] .admin-side a:hover { background: rgba(255, 255, 255, .07); }
html[data-app-theme="dark"] .admin-side a.active { background: #26331b; color: #f1f1ec; }
html[data-app-theme="dark"] .admin-side-foot { border-color: #3d3d39; }
html[data-app-theme="dark"] .admin-todo a { border-color: #3d3d39; background: #1a1a18; color: #f1f1ec; }
@media (max-width: 860px) {
  .admin-frame { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .admin-side { position: sticky; top: 0; z-index: 5; padding: 8px 64px 8px 16px; border-bottom: 1px solid #cfcfc8; background: var(--member-paper, #ecece6); }
  .admin-side-title, .admin-side-foot { display: none; }
  .admin-side ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .admin-side ul::-webkit-scrollbar { display: none; }
  .admin-side a { min-height: 38px; padding: 0 12px; flex: 0 0 auto; gap: 7px; border: 1px solid #bdbdb6; border-left-width: 1px; font-size: .875rem; white-space: nowrap; }
  .admin-side a svg { display: none; }
  .admin-side a.active { border-color: #0a0a09; background: #0a0a09; color: #fff; }
  .admin-frame .admin-shell, .admin-frame .match-check { width: auto; margin: 0 16px; padding: 20px 0 60px; }
  .admin-flag { grid-template-columns: minmax(0, 1fr); }
  .admin-flag .report-status-actions { justify-content: flex-start; }
  .admin-todo, .admin-frame .admin-summary, .admin-frame .admin-summary:has(article:nth-child(4)) { grid-template-columns: 1fr 1fr; }
  .admin-frame .admin-summary article { padding: 12px 14px; }
  html[data-app-theme="dark"] .admin-side { border-color: #3d3d39; background: #121211; }
  html[data-app-theme="dark"] .admin-side a { border-color: #4a4a45; }
  html[data-app-theme="dark"] .admin-side a.active { border-color: #b9e45a; background: #b9e45a; color: #0a0a09; }
}

/* MOBILE-TEXT:START (generated by scripts/build-mobile-text.py) */
@media (max-width: 820px), (pointer: coarse) and (max-width: 1200px) {
  .member-header-match { font-size: 14px; }
  .text-link { font-size: 14px; }
  .member-header-account-trigger { font-size: 14px; }
  .member-header-account-menu a { font-size: 14px; }
  .member-kicker { font: 750 11.5px/1.2 ui-monospace, monospace; }
  .member-field > span, .member-form-section legend, .profile-editor legend { font: 750 11.5px/1 ui-monospace, monospace; }
  .top-need-picker .top-need-note { font-size: 14px; }
  .choice-pills button { font-size: 14px; }
  .secure-note { font-size: 14px; }
  .profile-photo-picker small { font-size: 12.5px; }
  .private-account-heading span { font: 800 11.5px ui-monospace, monospace; }
  .private-account-heading b { font-size: 14px; }
  .private-account-heading strong { font: 800 11px ui-monospace, monospace; }
  .member-field small { font-size: 12.5px; }
  .form-error { font-size: 14px; }
  .member-button { font-size: 14px; }
  .profile-initials { font: 800 14px ui-monospace, monospace; }
  .nav-alert { font: 800 11px ui-monospace, monospace; }
  .dashboard-sidebar nav .sidebar-match-subnav button { font-size: 14px; }
  .sidebar-match-subnav button b { font: 800 11px ui-monospace, monospace; }
  .dashboard-share-menu > p { font: 800 11px/1 ui-monospace, monospace; }
  .dashboard-share-menu button b { font-size: 14px; }
  .dashboard-message { font-size: 14px; }
  .ready-badge { font: 800 12.5px ui-monospace, monospace; }
  .pause-matching-button, .resume-matching-button { font: 800 12.5px ui-monospace, monospace; }
  .readiness-steps article > b { font-size: 12.5px; }
  .readiness-steps article small { font-size: 14px; }
  .readiness-steps article strong { font: 800 12.5px ui-monospace, monospace; }
  .readiness-steps article button { font-size: 13px; }
  .readiness-note { font-size: 14px; }
  .readiness-next > div span { font-size: 14px; }
  .verified-mark { font-size: 13px; }
  .owner-test-strip span { font: 800 11px ui-monospace, monospace; }
  .owner-test-strip p { font-size: 13px; }
  .owner-test-strip button { font-size: 13px; }
  .local-match-heading .member-kicker { font-size: 13px; }
  .local-match-heading button { font-size: 14px; }
  .business-type-filter > span, .match-filter-row label > span { font: 800 12.5px ui-monospace, monospace; }
  .clear-match-filters { font-size: 14px; }
  .member-results-heading button { font-size: 12.5px; }
  .demo-profile-badge { font: 800 11px ui-monospace, monospace; }
  .match-score.match-score-nearby b { font-size: 14px; }
  .match-score span { font: 700 11px ui-monospace, monospace; }
  .candidate-location { font: 700 11px ui-monospace, monospace; }
  .candidate-handle { font-size: 14px; }
  .candidate-bio { font-size: 14px; }
  .candidate-facts span { font-size: 14px; }
  .candidate-columns small { font: 700 11.5px ui-monospace, monospace; }
  .view-profile-button { font-size: 13px; }
  .card-safety-actions button { font-size: 12.5px; }
  .connection-panel > header p:last-child { font-size: 14px; }
  .connection-summary p { font-size: 13px; }
  .connection-summary > b { font-size: 14px; }
  .new-interest-badge { font: 800 10px ui-monospace, monospace; }
  .connection-intro-note span { font: 800 10px ui-monospace, monospace; }
  .connection-intro-note p { font-size: 14px; }
  .connection-actions > button, .connection-card > button { font-size: 13px; }
  .connection-menu button { font-size: 12.5px; }
  .connection-status { font: 800 11px ui-monospace, monospace; }
  .history-undo-button { font: 800 11px ui-monospace, monospace; }
  .connection-empty p { font-size: 14px; }
  .connection-empty button { font-size: 13px; }
  .owner-only-note { font: 800 10px ui-monospace, monospace; }
  .match-more button { font-size: 11.5px; }
  .conversation-list > header span { font: 800 11.5px ui-monospace, monospace; }
  .conversation-list > button b { font-size: 14px; }
  .conversation-list > button small { font-size: 12.5px; }
  .conversation-list > button time { font-size: 11px; }
  .conversation-list > button > strong { font: 800 11px ui-monospace, monospace; }
  .conversation-list-empty p { font-size: 13px; }
  .conversation-list-empty button { font-size: 12.5px; }
  .chat-panel-empty p { font-size: 14px; }
  .chat-panel > header span { font-size: 12.5px; }
  .match-safety-tip b { font-size: 13px; }
  .match-safety-tip span { font-size: 11.5px; }
  .chat-thread article p { font-size: 14px; }
  .chat-thread article small { font-size: 11px; }
  .demo-sender-switch > span { font: 800 11px ui-monospace, monospace; }
  .demo-sender-switch button { font-size: 11.5px; }
  .chat-composer textarea { font: 500 14px/1.5 "Urbanist", Inter, ui-sans-serif, sans-serif; }
  .dashboard-private-block .verified-field small { font-size: 14px; }
  .profile-photo-actions .member-button, .remove-photo-button { font-size: 14px; }
  .safety-grid article > span { font: 800 11.5px ui-monospace, monospace; }
  .safety-grid p { font-size: 14px; }
  .safety-meeting-prompt p { font-size: 14px; }
  .blocked-section > div:first-child > p:last-child { font-size: 14px; }
  .blocked-row small { font-size: 12.5px; }
  .blocked-row p { font-size: 13px; }
  .blocked-row button { font-size: 12.5px; }
  .profile-view-header span { font-size: 14px; }
  .profile-view-score span { font: 800 11px ui-monospace, monospace; }
  .profile-view-idea > small, .profile-view-story > small, .profile-view-exchange small, .profile-view-reasons > small { font: 800 11px ui-monospace, monospace; }
  .profile-signal-strip small, .admin-private-summary small { font: 800 11px ui-monospace, monospace; }
  .profile-signal-strip b { font-size: 14px; }
  .profile-view-reasons span { font-size: 13px; }
  .profile-confirm-error { font-size: 14px; }
  .profile-view-privacy { font-size: 13px; }
  .review-summary span { font-size: 14px; }
  .review-summary b { font: 800 11px ui-monospace, monospace; }
  .review-privacy { font-size: 13px; }
  .interest-note-field > small { font: 700 11.5px ui-monospace, monospace; }
  .interest-note-prompts span { font: 800 10px ui-monospace, monospace; }
  .interest-note-prompts p, .interest-note-privacy { font-size: 13px !important; }
  .safety-form-note { font-size: 13px !important; }
  .safety-checkbox b { font-size: 14px; }
  .safety-checkbox small { font-size: 12.5px; }
  .text-button { font-size: 13px; }
  .profile-editor .member-kicker { font-size: 13px; }
  .profile-editor .member-field > span, .profile-editor legend { font-size: 13px; }
  .admin-tabbar span { font-size: 11.5px; }
  .admin-summary span { font-size: 14px; }
  .admin-toolbar > a { font-size: 14px; }
  .admin-search span { font: 800 11px ui-monospace, monospace; }
  .admin-filters button { font-size: 13px; }
  .admin-message { font-size: 14px; }
  .provider-result { font-size: 11.5px; }
  .provider-result b { font: 800 10px ui-monospace, monospace; }
  .account-status-pill { font: 800 11px ui-monospace, monospace; }
  .admin-report > div:first-child > span { font: 800 11px ui-monospace, monospace; }
  .admin-report p { font-size: 13px; }
  .admin-block-explainer p { font-size: 13px; }
  .block-signal-status strong { font: 800 11px ui-monospace, monospace; }
  .block-signal-status button { font-size: 11.5px; }
  .report-status-actions strong { font: 800 11px ui-monospace, monospace; }
  .report-status-actions button { font-size: 11.5px; }
  .admin-member p { font-size: 13px; }
  .admin-member-idea span { font: 750 11px ui-monospace, monospace; }
  .admin-member-idea b { font-size: 14px; }
  .verification-pill { font: 800 11px ui-monospace, monospace; }
  .admin-member-contact a { font-size: 13px; }
  .admin-member-contact small { font-size: 12.5px; }
  .admin-actions button { font-size: 12.5px; }
  .admin-note p { font-size: 14px; }
  .admin-private-summary a { font-size: 14px; }
  .admin-private-summary b { font-size: 14px; }
  .admin-suspension-note { font-size: 13px; }
  .auth-divider { font-size: 14px; }
  .auth-legal { font-size: 14px; }
  .theme-toggle { font-size: 14px; }
  .report-status-actions button { font-size: 14px; }
  .report-status-actions .admin-reply-link { font: 750 14px Inter, ui-sans-serif, sans-serif; }
  .member-header-match { font-size: 11.5px; }
  .member-header-account-trigger { font-size: 11.5px; }
  .dashboard-sidebar nav button { font-size: 13px; }
  .dashboard-sidebar .nav-alert { font-size: 10px; }
  .member-header .member-header-match, .member-header .member-header-account-trigger { font-size: 14px; }
}
/* MOBILE-TEXT:END */
.leave-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.leave-actions button { min-height: 44px; padding: 0 18px; border: 1px solid #8a8a82; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.leave-actions .leave-danger { border-color: #b3261e; background: #b3261e; color: #fff; }
.leave-actions .leave-danger:disabled { opacity: .45; cursor: not-allowed; }
.leave-panel { margin-top: 12px; display: grid; gap: 14px; max-width: 460px; }
.leave-panel p { margin: 0; font-size: .95rem; }
.leave-panel label { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; }
.leave-panel select, .leave-panel input { min-height: 46px; padding: 0 12px; border: 1px solid #8a8a82; border-radius: 10px; background: #fff; color: #0a0a09; font: inherit; font-weight: 400; }
.leave-panel > button { justify-self: start; min-height: 44px; padding: 0 18px; border: 1px solid #8a8a82; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
html[data-app-theme="dark"] .leave-panel select, html[data-app-theme="dark"] .leave-panel input { border-color: #4a4a45; background: #1a1a18; color: #f1f1ec; }
.leave-panel .leave-warning { padding: 12px 14px; border: 1px solid #b3261e; border-radius: 10px; color: #8f1f19; background: rgba(179,38,30,.08); }
html[data-app-theme="dark"] .leave-panel .leave-warning { color: #ffb4ab; }
.leave-modal-backdrop { position: fixed; inset: 0; z-index: 400; padding: 20px; display: grid; place-items: center; background: rgba(10,10,9,.6); }
.leave-modal { width: min(440px, 100%); padding: 26px 24px 22px; border-radius: 16px; background: #f7f7f2; color: #0a0a09; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.leave-modal h2 { margin: 0 0 10px; font-size: 1.5rem; }
.leave-modal p { margin: 0; font-size: 1rem; line-height: 1.5; }
.leave-modal .leave-actions { margin-top: 20px; justify-content: center; }
@media (max-width: 480px) { .leave-modal .leave-actions { flex-direction: column-reverse; } .leave-modal .leave-actions button { width: 100%; } }
html[data-app-theme="dark"] .leave-modal { background: #1a1a18; color: #f1f1ec; border: 1px solid #3d3d39; }
.leave-actions .leave-pause, .leave-panel > .leave-pause { border-color: #a8d24a; background: var(--member-green, #b9e45a); color: #0a0a09; }
.leave-actions .leave-pause:hover, .leave-panel > .leave-pause:hover { background: #c9ee74; }
.leave-panel label { width: fit-content; max-width: 100%; justify-self: start; }
.leave-panel select { width: 0; min-width: 100%; padding: 0 28px 0 10px; font-size: 15px; }
@media (min-width: 721px) {
  .leave-panel select { -webkit-appearance: none; appearance: none; padding: 0 36px 0 10px; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230a0a09' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
  html[data-app-theme="dark"] .leave-panel select { background-color: #1a1a18; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23f1f1ec' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
}
/* Check-your-email screen (shown after creating an account) */
.confirm-card { text-align: left; }
.confirm-icon { width: 64px; height: 64px; margin: 0 0 14px; display: grid; place-items: center; border-radius: 50%; background: #b9e45a; color: #0a0a09; }
.confirm-lead { margin: 10px 0 0; font-size: 1.08rem; line-height: 1.5; }
.confirm-email { overflow-wrap: anywhere; word-break: normal; }
.confirm-steps { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.confirm-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.confirm-steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #0a0a09; color: #b9e45a; font-weight: 800; }
.confirm-steps b { display: block; font-size: 1.05rem; line-height: 1.3; }
.confirm-steps small { display: block; margin-top: 2px; font-size: .95rem; color: #55554f; }
.confirm-notice { margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid #4d7a22; background: #eaf5c9; font-size: 1rem; }
.confirm-notice.error { border-left-color: #b3261e; background: #fbe9e7; }
.confirm-tip { margin: 18px 0 0; font-size: 1rem; line-height: 1.5; color: #3a3a37; }
.confirm-resend { margin-top: 16px; }
.confirm-button { width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid #0a0a09; background: #b9e45a; color: #0a0a09; font: 800 1rem Urbanist, Inter, sans-serif; cursor: pointer; }
.confirm-button:disabled { background: #e4e4dc; border-color: #bdbdb6; color: #6b6b65; cursor: not-allowed; }
.confirm-links { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; }
.confirm-links a { color: #3d6a14; font-weight: 700; font-size: .98rem; }
html[data-app-theme="dark"] .confirm-steps li > span { background: #b9e45a; color: #0a0a09; }
html[data-app-theme="dark"] .confirm-steps small { color: #b8b8b1; }
html[data-app-theme="dark"] .confirm-tip { color: #d0d0c9; }
html[data-app-theme="dark"] .confirm-notice { background: #1f2a12; color: #f1f1ec; border-left-color: #b9e45a; }
html[data-app-theme="dark"] .confirm-notice.error { background: #3a1714; color: #ffd9d4; border-left-color: #ff8a80; }
html[data-app-theme="dark"] .confirm-button:disabled { background: #26261f; border-color: #4a4a45; color: #a8a8a0; }
html[data-app-theme="dark"] .confirm-links a { color: #b9e45a; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .growth-table.wide { min-width: 640px; }
.table-scroll .growth-table.wide td, .table-scroll .growth-table.wide th { white-space: nowrap; }
.table-scroll .growth-table.wide td:nth-child(5) { white-space: normal; min-width: 160px; }
/* Owner area: members who paused matching */
.admin-member-summary { margin: 0 0 12px; font-size: 1rem; color: #55554f; }
.admin-member-summary b { color: #0a0a09; }
.account-status-pill.paused { border-color: #b7791f; background: #fff4d6; color: #7a4f00; line-height: 1.2; text-align: center; }
html[data-app-theme="dark"] .admin-member-summary { color: #b8b8b1; }
html[data-app-theme="dark"] .admin-member-summary b { color: #f1f1ec; }
html[data-app-theme="dark"] .account-status-pill.paused { border-color: #7a5a1a; background: #2b2412; color: #f2c46d; }
.auth-resend-hint { margin-top: 10px; }
.auth-resend-hint a { color: #3d6a14; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
html[data-app-theme="dark"] .auth-resend-hint a { color: #b9e45a; }
/* Sign-up photo picker: a visible circle around the + */
.photo-preview { box-sizing: border-box; border: 2px solid var(--member-green, #b9e45a); }
html[data-theme="light"] .photo-preview { border-color: #698c3b; }

/* Growth tab: automatic visit chart */
.growth-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin: 0 0 14px; }
.growth-seg { display: inline-flex; border: 1px solid #cfcfc8; border-radius: 10px; overflow: hidden; background: #f7f7f2; }
.growth-seg button { padding: 8px 14px; font: inherit; font-size: .875rem; font-weight: 600; color: #4a4a44; background: transparent; border: 0; cursor: pointer; }
.growth-seg button + button { border-left: 1px solid #cfcfc8; }
.growth-seg button[aria-pressed="true"] { background: #5f8d2c; color: #fff; }
.growth-top { font-size: 1.125rem !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
.growth-chart { margin: 0 0 8px; padding: 18px 18px 12px; background: #f7f7f2; border: 1px solid #cfcfc8; border-radius: 12px; }
.growth-plot { position: relative; height: 200px; margin-left: 34px; }
.growth-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #dcdcd5; pointer-events: none; }
.growth-grid span { position: absolute; right: calc(100% + 8px); top: -.6em; font-size: .75rem; color: #66665f; font-variant-numeric: tabular-nums; }
.growth-cols { position: absolute; inset: 0; display: flex; align-items: stretch; gap: 2px; }
.growth-col { flex: 1 1 0; display: flex; align-items: flex-end; justify-content: center; min-width: 0; outline: none; cursor: default; }
.growth-col i { display: block; width: 100%; max-width: 24px; min-height: 0; background: #5f8d2c; border-radius: 4px 4px 0 0; opacity: .85; }
.growth-col i[data-on], .growth-col:focus-visible i { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.growth-tip { position: absolute; transform: translateX(-50%); padding: 7px 11px; background: #0a0a09; color: #f7f7f2; border-radius: 8px; font-size: .875rem; white-space: nowrap; pointer-events: none; z-index: 2; display: grid; gap: 1px; }
.growth-tip small { color: #b9b9b0; font-size: .75rem; }
.growth-tip[data-edge="left"] { transform: translateX(-10%); }
.growth-tip[data-edge="right"] { transform: translateX(-90%); }
.growth-axis { display: flex; justify-content: space-between; margin: 8px 0 0 34px; font-size: .75rem; color: #66665f; }
.growth-channels { min-width: 540px; }
.growth-panel .growth-table th, .growth-panel .growth-table td { overflow-wrap: normal; }
.growth-panel .table-scroll .growth-table { min-width: 460px; }
.growth-channels td:first-child { min-width: 170px; }
.growth-channels td:nth-child(2), .growth-channels th { white-space: nowrap; }
.growth-bar { display: inline-block; vertical-align: middle; width: min(38vw, 160px); height: 8px; margin-right: 10px; }
.growth-bar i { display: block; height: 100%; min-width: 2px; background: #5f8d2c; border-radius: 0 4px 4px 0; }
.growth-num { font-variant-numeric: tabular-nums; }
.growth-note { margin: 10px 0 0; color: #66665f; font-size: .875rem; line-height: 1.5; max-width: 70ch; }
.growth-note code { font-size: .8125rem; }
html[data-app-theme="dark"] .growth-seg, html[data-app-theme="dark"] .growth-chart { background: #1a1a18; border-color: #3d3d39; }
html[data-app-theme="dark"] .growth-seg button { color: #cfcfc8; }
html[data-app-theme="dark"] .growth-seg button + button { border-color: #3d3d39; }
html[data-app-theme="dark"] .growth-seg button[aria-pressed="true"] { background: #b9e45a; color: #0a0a09; }
html[data-app-theme="dark"] .growth-grid { border-color: #33332f; }
html[data-app-theme="dark"] .growth-grid span, html[data-app-theme="dark"] .growth-axis, html[data-app-theme="dark"] .growth-note { color: #a8a8a0; }
html[data-app-theme="dark"] .growth-col i, html[data-app-theme="dark"] .growth-bar i { background: #b9e45a; }
html[data-app-theme="dark"] .growth-col i[data-on], html[data-app-theme="dark"] .growth-col:focus-visible i { box-shadow: 0 0 0 2px #1a1a18; }
html[data-app-theme="dark"] .growth-tip { background: #f1f1ec; color: #0a0a09; }
html[data-app-theme="dark"] .growth-tip small { color: #55554f; }
@media (max-width: 640px) {
  .growth-chart { padding: 14px 12px 10px; }
  .growth-plot { height: 170px; margin-left: 28px; }
  .growth-axis { margin-left: 28px; }
  .growth-col i { max-width: 18px; }
  .growth-bar { width: 90px; }
  .growth-toolbar { gap: 8px; }
  .growth-seg button { padding: 8px 11px; }
}
