.home-feed-card, .request-card-identity-row { --post-card-title-size: 12px; }
#screen-user-requests .request-tabs,
#screen-prov-requests .request-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px 12px;
  background: white;
  border-bottom: 1px solid #F3F4F6;
  flex-shrink: 0;
  scrollbar-width: none;
}
#screen-user-requests .request-tabs::-webkit-scrollbar,
#screen-prov-requests .request-tabs::-webkit-scrollbar { display: none; }

.past-list-date-heading { font-size: 14px; font-weight: 800; color: #374151; padding: 18px 0 8px; }

#screen-user-requests .request-tab,
#screen-prov-requests .request-tab {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: #E5E7EB;
  padding: 8px 12px;
  color: #374151;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#screen-user-requests .request-tab.is-active,
#screen-prov-requests .request-tab.is-active {
  background: #111827;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: none;
}

.profile-tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-tile { width: 100%; border: 1.5px solid #F0F2F5; border-radius: 14px; background: #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,.06); padding: 14px; color: #111827; font: inherit; text-align: left; }
button.profile-tile { cursor: pointer; touch-action: manipulation; }
.profile-tile__title { display: block; font-size: 13px; font-weight: 800; line-height: 1.35; }
.profile-tile__subtitle { display: block; margin-top: 6px; color: #6B7280; font-size: 11px; font-weight: 600; line-height: 1.4; }
.profile-account-summary, .profile-card { background: #FFFFFF; border: 1px solid #EEF0F3; border-radius: 12px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.profile-avatar { width: 58px; height: 58px; border: 0; border-radius: 50%; background: #E5E7EB; color: #6B7280; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; cursor: pointer; position: relative; overflow: hidden; }
.profile-account-value { color: #111827; font-size: 16px; font-weight: 900; overflow-wrap: anywhere; }
.profile-account-secondary { margin-top: 3px; color: #6B7280; font-size: 11px; font-weight: 700; }
.profile-account-details { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.profile-contact-line { display: flex; min-width: 0; align-items: flex-start; gap: 6px; color: #374151; font-size: 10px; font-weight: 600; line-height: 1.35; }
.profile-contact-line svg { width: 13px; height: 13px; flex: 0 0 13px; fill: #FFFFFF; stroke: #111827; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-contact-line span { min-width: 0; overflow-wrap: anywhere; }
.profile-contact-line .profile-account-secondary { margin-top: 0; color: inherit; font-size: inherit; font-weight: inherit; }
.profile-metrics-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; padding-top: 12px; border-top: 1px solid #EEF0F3; }
.profile-metrics-row > div { min-width: 0; padding: 0 6px; text-align: center; border-left: 1px solid #EEF0F3; }
.profile-metrics-row > div:first-child { border-left: 0; }
.profile-metrics-row strong, .profile-metrics-row span { display: block; }
.profile-metrics-row strong { color: #111827; font-size: 14px; font-weight: 900; }
.profile-metrics-row span { margin-top: 3px; color: #6B7280; font-size: 9px; font-weight: 800; line-height: 1.2; }
.profile-metric-label { max-width: 62px; margin-left: auto; margin-right: auto; white-space: normal; word-break: break-word; }
.profile-metric-active { color: #16A34A !important; }
.profile-card { padding: 0 14px; }
.profile-card h2 { margin: 0; padding: 13px 0 6px; color: #111827; font-size: 15px; font-weight: 900; }
.profile-row { display: flex; width: 100%; min-height: 52px; align-items: center; gap: 10px; border: 0; border-top: 1px solid #EEF0F3; background: transparent; color: #111827; font: inherit; text-align: left; }
.profile-card h2 + .profile-row { border-top: 0; }
.profile-row-icon { width: 22px; color: #374151; font-size: 18px; text-align: center; }
.profile-row > div { min-width: 0; flex: 1; }
.profile-row strong, .profile-row small { display: block; }
.profile-row strong { font-size: 12px; font-weight: 800; }
.profile-row small { margin-top: 2px; color: #6B7280; font-size: 10px; font-weight: 700; }
.profile-row-chevron { color: #9CA3AF; font-size: 24px; line-height: 1; }
.profile-account-label { margin-top: 4px; color: #6B7280; font-size: 10px; font-weight: 800; }
.profile-verification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #F3F4F6; }
.profile-verification-grid div { min-width: 0; }
.profile-verification-grid span, .profile-verification-grid strong { display: block; }
.profile-verification-grid span { color: #6B7280; font-size: 10px; font-weight: 800; }
.profile-verification-grid strong { margin-top: 3px; color: #374151; font-size: 11px; }
.profile-section-heading { margin: 8px 0 -2px; color: #374151; font-size: 12px; font-weight: 900; }
.profile-helper-availability { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid #F0F2F5; border-radius: 14px; background: #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.profile-helper-availability strong, .profile-helper-availability span { display: block; }
.profile-helper-availability strong { color: #111827; font-size: 13px; }
.profile-helper-availability span { margin-top: 4px; color: #6B7280; font-size: 11px; line-height: 1.35; }
.profile-toggle { position: relative; display: flex; align-items: center; width: 52px; height: 24px; flex: 0 0 52px; padding: 0; overflow: hidden; border: 0; border-radius: 999px; background: #D1D5DB; color: #374151; cursor: pointer; transition: background .15s ease; }
.profile-toggle .profile-toggle-label { position: absolute; top: 0; right: 3px; display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; margin: 0; font-size: 9px; font-weight: 900; line-height: 1; }
.profile-toggle-knob { position: absolute; top: 3px; left: 3px; display: block; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s ease; }
.profile-toggle[data-on="true"] { background: #111827; }
.profile-toggle[data-on="true"] .profile-toggle-label { right: auto; left: 3px; color: #FFFFFF; }
.profile-toggle[data-on="true"] .profile-toggle-knob { transform: translateX(28px); }
.profile-toggle:disabled { cursor: default; opacity: .5; }
.profile-helper-tile { min-height: 78px; }
.profile-signout { width: 100%; margin-top: 2px; padding: 13px; border: 0; background: transparent; color: #B91C1C; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-align: center; }

#screen-profile .topbar { min-height: 46px; padding: 0 12px; }
#screen-profile .topbar-title { font-size: 14px; font-weight: 800; }
#screen-profile .topbar-back { width: 40px; height: 40px; padding: 0; font-size: 22px; }
#screen-profile #provider-profile-content { padding: 10px 11px 70px; }
#screen-profile #customer-account-panel { gap: 9px !important; }
#screen-profile .profile-account-summary, #screen-profile .profile-card { border-radius: 11px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
#screen-profile .profile-account-summary { padding: 11px 12px; }
#screen-profile .profile-avatar { width: 48px; height: 48px; font-size: 22px; }
#screen-profile .profile-account-value { color: #374151; font-size: 10px; font-weight: 600; }
#screen-profile .profile-section-heading { margin: 0; padding: 10px 0 4px; color: #111827; font-size: 14px; font-weight: 800; }
.profile-summary-details { display: flex; align-items: center; gap: 10px; }
.profile-summary-identity { display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; }
.profile-match-preview-button { flex-shrink: 0; padding: 6px 8px; border: 1px solid #D1D5DB; border-radius: 8px; background: #FFFFFF; color: #374151; font: inherit; font-size: 10px; line-height: 1.35; cursor: pointer; }
#customer-profile-home-address { white-space: pre-line; }
#screen-profile .profile-account-secondary { margin-top: 2px; color: #8A94A3; font-size: 10px; font-weight: 600; }
#screen-profile .profile-contact-line span { color: #374151; }
#screen-profile #customer-profile-edit-btn { width: 31px !important; height: 31px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; }
#screen-profile .profile-metrics-row { margin-top: 10px; padding-top: 8px; }
#screen-profile .profile-metrics-row > div { padding: 0 3px; }
#screen-profile .profile-metrics-row strong { font-size: 13px; }
#screen-profile .profile-metrics-row span { margin-top: 2px; color: #8A94A3; font-size: 9px; font-weight: 600; line-height: 1.15; }
#screen-profile .profile-metric-label { max-width: 54px; }
#screen-profile .profile-card { padding: 0 12px; }
#screen-profile .profile-card h2 { padding: 10px 0 4px; font-size: 14px; font-weight: 800; }
#screen-profile .profile-row { min-height: 44px; gap: 8px; }
#screen-profile .profile-row-icon { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; color: #4B5563; }
#screen-profile .profile-row-icon svg, #screen-profile .profile-row-chevron svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
#screen-profile .profile-row strong { font-size: 12px; font-weight: 800; }
#screen-profile .profile-row small { margin-top: 1px; color: #8A94A3; font-size: 9px; font-weight: 600; }
#screen-profile .profile-row-chevron { display: inline-flex; width: 16px; height: 16px; align-items: center; color: #A8B0BC; }
#screen-profile .profile-row-chevron svg { width: 15px; height: 15px; }
#screen-profile .profile-toggle { width: 52px; height: 24px; flex-basis: 52px; }
#screen-profile .profile-toggle[data-on="true"] { background: #16A34A; }
#screen-profile .profile-signout { margin-top: 0; padding: 8px; font-size: 13px; }
#screen-profile .profile-account-summary, #screen-profile .profile-card { border: 1px solid #E5E7EB; border-radius: 14px; }
#screen-profile .profile-summary-details { padding: 16px 0; }
#screen-profile .profile-account-details { display: flex; flex-direction: row; align-items: baseline; gap: 8px; min-width: 0; }
#screen-profile #profile-user-name { display: block; flex-shrink: 0; font-size: 18px; }
#screen-profile #customer-profile-suburb { display: block; min-width: 0; margin-top: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6B7280; font-size: 12px; }
#screen-profile .profile-metrics-row { margin: 0; padding: 12px 0; border-bottom: 1px solid #E5E7EB; }
#screen-profile .profile-metrics-row > button { flex: 1; min-width: 0; min-height: 44px; padding: 0 3px; border: 0; border-left: 1px solid #E5E7EB; background: transparent; font: inherit; cursor: pointer; }
#screen-profile .profile-metrics-row > button strong, #screen-profile .profile-metrics-row > button span { display: block; }
#screen-profile .profile-metrics-row strong { font-size: 16px; }
#screen-profile #customer-profile-since { max-width: 54px; margin: 2px auto 0; }
#screen-profile .profile-avatar { background: #EEF2FF; color: #4F6EF7; cursor: default; }
#screen-profile .profile-account-summary > .profile-row:first-of-type { border-top: 0; }
#screen-profile .profile-account-summary .profile-row { padding-left: 0; padding-right: 0; }
#screen-profile .profile-card h2 { padding-top: 16px; }
#screen-profile .profile-row strong { font-weight: 700; }
#screen-profile .profile-row small { font-size: 10px; font-weight: 500; line-height: 1.5; }
.profile-personal-form ul { margin: 0; padding: 0; list-style: none; }
#screen-profile .profile-row { min-height: 48px; }
.profile-personal-form { flex-direction: column; gap: 10px; padding: 12px 0; }
.profile-personal-form label { font-size: 12px; }
.profile-personal-form input { display: block; width: 100%; min-height: 44px; padding: 8px; border: 1px solid #D1D5DB; border-radius: 8px; font: inherit; }
.profile-personal-form button { min-height: 44px; border: 1px solid #D1D5DB; border-radius: 8px; background: #F9FAFB; font: inherit; }
#screen-profile #profile-helper-availability-copy.is-not-set,
#screen-profile #profile-service-offered-copy.is-not-set,
#screen-profile #profile-helper-availability-detail.is-not-set,
#screen-profile #profile-service-settings-copy.is-not-set { color: #B91C1C; }
#screen-profile #profile-helper-availability-copy.is-set,
#screen-profile #profile-service-offered-copy.is-set,
#screen-profile #profile-helper-availability-detail.is-set,
#screen-profile #profile-service-settings-copy.is-set { color: #15803D; }
#screen-profile #profile-helper-availability-copy.is-not-set { color: #8A94A3; }
#screen-profile #profile-helper-availability-copy.is-loading,
#screen-profile #profile-service-offered-copy.is-loading,
#screen-profile #profile-service-settings-copy.is-loading { color: #8A94A3 !important; }
#screen-user-requests .request-tabs,
#screen-prov-requests .request-tabs { gap: 5px; padding: 8px 12px 10px; }
#screen-user-requests .request-tab,
#screen-prov-requests .request-tab { flex: 1 1 0; min-width: 0; padding: 7px 5px; font-size: 11px; line-height: 1.15; white-space: normal; }

.request-tab__count:not(:empty) {
  display: inline-block;
  min-width: 14px;
  margin-left: 3px;
  font-size: 11px;
  font-weight: 900;
  opacity: 0.9;
}
/* FindMe — Design & Visual Polish
   All @keyframes, CSS variables, component classes
*/

:root {
  --bg: #F5F6FA;
  --card: #FFFFFF;
  --primary: #4F6EF7;
  --primary-light: #EEF1FF;
  --accent: #FF6B6B;
  --text: #1A1A2E;
  --subtext: #6B7280;
  --border: #E5E7EB;
  --left-bg: #F0F1F5;
  --radius: 12px;
  --shadow: 0 1px 6px rgba(0,0,0,0.07);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

.topbar-logo { color: #111827; }

.customer-request-lifecycle-badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 5px;
  padding: 2px 7px;
  border: 1px solid var(--primary);
  border-radius: 5px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.request-lifecycle-badge--requested {
  border-color: #86EFAC;
  background: #F0FDF4;
  color: #15803D;
}

.request-lifecycle-badge--negative,
.request-lifecycle-badge--cancelled {
  border-color: #FECACA;
  background: #FEF2F2;
  color: #B91C1C;
}

.request-lifecycle-badge--completed {
  border-color: #D1D5DB;
  background: #F3F4F6;
  color: #6B7280;
}

.request-card-waiting-guidance {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 8px 12px 12px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.request-card-waiting-guidance.has-actions-below {
  grid-template-columns: 26px minmax(0, 1fr);
}

.request-card-waiting-guidance.has-actions-below .request-card-waiting-guidance__text {
  max-width: 190px;
}

.request-card-waiting-guidance.has-actions-below > .request-card-guidance-actions {
  grid-column: 1 / -1;
  width: 100%;
}

.request-card-waiting-guidance__content {
  display: contents;
}

.request-card-waiting-guidance__icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  animation: hourglassTip 2.2s ease-in-out infinite;
}

.request-card-waiting-guidance__text {
  grid-column: 2;
  min-width: 0;
}

.request-card-waiting-guidance__timer {
  color: #9A3412;
  font-family: monospace;
  font-weight: 700;
  white-space: nowrap;
}

.request-card-guidance {
  border: 1px solid #C7D2FE;
  border-radius: 14px;
  background: #EEF2FF;
  padding: 10px 12px;
  margin: 8px 12px 12px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #4B5563;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.request-card-waiting-guidance {
  color: #4B5563;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.request-card-guidance__content {
  display: contents;
}

.request-card-guidance__content > :first-child {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.request-card-guidance__content > :last-child {
  grid-column: 2;
  min-width: 0;
}

.request-card-guidance__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: #4F46E5;
}

.request-card-guidance__content > .request-card-guidance-action__icon,
.request-card-guidance__status-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.request-card-guidance__moving-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  animation: hourglassTip 2.2s ease-in-out infinite;
}

.request-card-guidance-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-inline: 0;
}

.request-card-guidance-action {
  min-width: 72px;
  max-width: 112px;
  height: 32px;
  padding: 5px 9px;
  border: 1px solid #C7D2FE;
  border-radius: 8px;
  background: #FFFFFF;
  color: #374151;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-card-guidance-action__label--stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  white-space: nowrap;
}

.request-card-guidance-action--primary {
  border-color: #4F46E5;
  background: #4F46E5;
  color: #FFFFFF;
}

.request-card-guidance-action--destructive {
  border-color: #DC2626;
  background: #DC2626;
  color: #FFFFFF;
}

.request-card-guidance-action__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.request-card-guidance--availability {
  border-color: #FED7AA;
  background: #FFF7ED;
}

.request-card-guidance--waiting {
  border-color: #FED7AA;
  background: #FFF7ED;
}

.request-card-guidance--completed {
  border-color: #9CA3AF;
  background: #F3F4F6;
  color: #4B5563;
}

.request-card-guidance--completed .request-card-guidance__moving-icon {
  animation: none;
}

.provider-summary-label--profile-viewed {
  display: inline-block;
  max-width: 42px;
  white-space: normal;
  line-height: 1.2;
}

.provider-settings-sections {
  gap: 14px;
}

.provider-bottom-sheet-action {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: white;
  color: #111827;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
#req-action-sheet .request-card-guidance-action__icon,
#prov-booking-actions-sheet .request-card-guidance-action__icon { width: 18px; height: 18px; flex-shrink: 0; }

.provider-request-card {
  flex: 0 0 auto;
}

.provider-flow-return {
  display: block;
  flex: 0 0 auto;
  align-self: flex-start;
  min-height: 34px;
  margin: 6px 14px 0;
  border: 0;
  background: none;
  color: #4F46E5;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.request-confirmation-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.request-confirmation-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #FFFFFF;
}

.request-confirmation-handle {
  width: 36px;
  height: 4px;
  margin: 10px auto 2px;
  border-radius: 99px;
  background: #D1D5DB;
}

.request-confirmation-scroll {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 10px 18px 14px;
  overflow-y: auto;
}

.request-confirmation-scroll h2 { font-size: 18px; color: #111827; }
.request-confirmation-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.request-confirmation-insight { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 86px; padding: 11px; border: 1px solid #C7D2FE; border-radius: 8px; background: #EEF2FF; }
.request-confirmation-insight__icon { display: grid; width: 34px; height: 34px; place-items: center; color: #4F46E5; font-size: 18px; font-weight: 900; animation: requestInsightAlive 1.2s ease-in-out infinite; }
.request-confirmation-insight__label { display: block; margin-bottom: 5px; color: #6B7280; font-size: 10px; font-weight: 800; line-height: 1.25; }
.request-confirmation-insight strong { display: block; color: #1E3A8A; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.request-confirmation-overlay--loaded .request-confirmation-insight__icon { animation-duration: 2.4s; }
.request-confirmation-estimate-note { margin-top: -7px; color: #6B7280; font-size: 10px; line-height: 1.4; }
.request-confirmation-section { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid #E5E7EB; }
.request-confirmation-section h3 { font-size: 11px; color: #6B7280; text-transform: uppercase; }
.request-confirmation-section p { font-size: 11px; line-height: 1.45; color: #6B7280; }
.request-confirmation-section strong { font-size: 13px; color: #111827; }
.request-confirmation-checks { display: grid; gap: 8px; font-size: 11px; line-height: 1.4; color: #374151; }
.request-confirmation-checks > div { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; }
.request-confirmation-checks > div::before { content: '\2713'; color: #16A34A; font-weight: 900; }
.request-confirmation-checks > .request-confirmation-discount { padding: 8px; border-radius: 8px; background: #F0FDF4; color: #15803D; font-weight: 900; }
.request-confirmation-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 10px 18px 24px; border-top: 1px solid #E5E7EB; }
.request-confirmation-actions button { min-height: 44px; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.request-confirmation-actions button:disabled { opacity: 0.55; cursor: not-allowed; }

@keyframes requestInsightAlive {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.08) rotate(5deg); }
}

/* ── SCREENS ── */
.screen { display: none; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
#pf-hero-track::-webkit-scrollbar { display: none; }
#pf-hero-track { scroll-snap-type: x mandatory; }
.screen.active { display: flex; }

/* ── CUSTOMER REGISTRATION ── */
.registration-screen { min-height: 100vh; min-height: 100dvh; overflow-y: auto; background: #FFFFFF; }
.registration-page { position: relative; width: 100%; max-width: 560px; margin: 0 auto; padding: 26px 20px 32px; }
.registration-brand { display: none; }
.registration-back { position: absolute; top: 24px; left: 18px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #111827; font: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.registration-progress { display: grid; grid-template-columns: .8fr 1.6fr .8fr; gap: 8px; margin-top: 46px; }
.registration-progress > div { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 7px; color: #667085; }
.registration-progress span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: #E7ECF4; color: #111827; font-size: 13px; font-weight: 900; }
.registration-progress strong { font-size: 13px; line-height: 1.2; }
.registration-progress .is-active, .registration-progress .is-complete { color: #111827; }
.registration-progress .is-active span, .registration-progress .is-complete span { background: #111827; color: #FFFFFF; }
.registration-progress-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 14px; }
.registration-progress-bars i { height: 5px; border-radius: 99px; background: #E3E8F0; }
.registration-progress-bars i:first-child, .registration-progress-bars i.is-complete { background: #111827; }
.registration-step-count { margin-top: 7px; color: #43517D; font-size: 11px; font-weight: 800; text-align: right; }
.registration-content { display: flex; flex-direction: column; gap: 13px; margin-top: 10px; }
.registration-content h1 { color: #111827; font-size: 24px; line-height: 1.15; font-weight: 900; }
.registration-content > p { margin-top: -8px; color: #53658F; font-size: 14px; line-height: 1.45; }
.registration-content label { color: #111827; font-size: 13px; font-weight: 800; }
.registration-content label > input:not([type="checkbox"]) { display: block; width: 100%; min-height: 46px; margin-top: 6px; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 8px; background: #FFFFFF; color: #111827; font: inherit; font-size: 14px; outline: none; }
.registration-content label > input:focus { border-color: #111827; box-shadow: 0 0 0 2px rgba(17,24,39,.12); }
.registration-phone-field { display: grid; grid-template-columns: auto minmax(0, 1fr); margin-top: 6px; }
.registration-phone-prefix { display: flex; min-height: 46px; align-items: center; padding: 0 11px; border: 1px solid #CBD5E1; border-right: 0; border-radius: 8px 0 0 8px; background: #F4F7FA; color: #111827; font-size: 14px; white-space: nowrap; }
.registration-phone-field input { min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 0 8px 8px 0; background: #FFFFFF; color: #111827; font: inherit; font-size: 14px; outline: none; }
.registration-phone-field input:focus { border-color: #111827; box-shadow: 0 0 0 2px rgba(17,24,39,.12); }
.registration-consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 600 !important; line-height: 1.45; }
.registration-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; accent-color: #111827; }
.registration-consent a, .registration-link { color: #111827; }
.registration-primary { width: 100%; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 9px; background: #111827; color: #FFFFFF; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }
.registration-primary:disabled { background: #9CA3AF; color: #FFFFFF; cursor: default; }
.registration-link { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.registration-secondary { width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid #111827; border-radius: 9px; background: #FFFFFF; color: #111827; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }
.registration-error { min-height: 18px; color: #B91C1C; font-size: 12px; font-weight: 700; }
.registration-address-suggestions { display: none; margin-top: -8px; overflow: hidden; list-style: none; border: 1px solid #CBD5E1; border-radius: 8px; background: #FFFFFF; }
.registration-address-suggestions button { display: block; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #E5E7EB; background: #FFFFFF; color: #1F2937; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.registration-address-status { min-height: 17px; margin-top: -8px; color: #64748B; font-size: 12px; font-weight: 600; }
.registration-address-confirmation { padding: 14px; border: 1px solid #D8DEE8; border-radius: 9px; background: #FAFBFC; }
.registration-address-confirmation small, .registration-address-confirmation strong { display: block; }
.registration-address-confirmation small { color: #64748B; font-size: 11px; font-weight: 700; }
.registration-address-confirmation strong { margin-top: 3px; color: #111827; font-size: 15px; line-height: 1.35; }
.registration-address-confirmation p { margin-top: 10px; color: #53658F; font-size: 11px; font-weight: 700; }
.registration-label-row small { display: block; margin-top: 2px; color: #64748B; font-size: 11px; font-weight: 600; line-height: 1.4; }
.registration-address-field { display: flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 6px; padding: 0 6px 0 12px; border: 1px solid #CBD5E1; border-radius: 8px; background: #FFFFFF; }
.registration-address-field:focus-within { border-color: #111827; box-shadow: 0 0 0 2px rgba(17,24,39,.12); }
.registration-address-field input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: #111827; font: inherit; font-size: 14px; font-weight: 400; outline: none; }
.registration-address-field button { width: 32px; height: 32px; border: 0; background: transparent; color: #64748B; font-size: 20px; cursor: pointer; }
.registration-info-box { padding: 13px 14px; border: 1px solid #E5E7EB; border-radius: 9px; background: #F8FAFC; text-align: left; }
.registration-info-box strong { color: #111827; font-size: 13px; }
.registration-info-box ul { margin: 7px 0 0 18px; color: #475569; font-size: 12px; line-height: 1.6; }
.registration-info-box a { display: inline-block; margin-top: 6px; color: #111827; font-size: 12px; font-weight: 800; }
.registration-ready-content { text-align: center; }
.registration-ready-icon { display: grid; width: 84px; height: 84px; margin: 10px auto 2px; place-items: center; border: 14px solid #E5E7EB; border-radius: 50%; background: #111827; color: white; font-size: 33px; font-weight: 900; }
.registration-ready-item { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 9px; align-items: start; padding: 12px; border-radius: 9px; text-align: left; }
.registration-ready-item > span { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #FFFFFF; font-size: 12px; font-weight: 900; }
.registration-ready-item strong, .registration-ready-item small { display: block; }
.registration-ready-item strong { color: #111827; font-size: 13px; }
.registration-ready-item small { margin-top: 2px; color: #374151; font-size: 11px; line-height: 1.4; }
.registration-ready-item.is-success { background: #F3F4F6; }
.registration-ready-item.is-success > span { background: #111827; }
.registration-ready-item.is-warning { background: #FFF4D6; }
.registration-ready-item.is-warning > span { border-radius: 5px; background: #F59E0B; }

@media (max-width: 390px) {
  .registration-page { padding: 20px 16px 28px; }
  .registration-progress strong { font-size: 11px; }
  .registration-content h1 { font-size: 22px; }
}

/* ── TOP BAR ── */
.topbar {
  display: flex; align-items: center;
  padding: 12px 16px 10px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.topbar-back {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0 !important; border-radius: 0;
  background: transparent !important; box-shadow: none !important;
  cursor: pointer; margin-right: 10px;
  font: inherit; font-size: 22px; color: var(--text) !important; font-weight: 700;
}
.topbar > .post-task-header-btn:first-child { min-width: 40px; min-height: 40px; padding: 0; border: 0; background: transparent; box-shadow: none; color: #111827; font-size: 22px; }
.topbar-title { font-size: 15px; font-weight: 700; color: var(--text); }
.topbar-logo  { font-size: 20px; font-weight: 800; color: #111827; letter-spacing: -0.5px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 17px; cursor: pointer; }

/* ── HOME HEADER ── */
.home-header {
  padding: 9px 16px 8px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.home-greeting { font-size: 15px; color: var(--subtext); font-weight: 600; }
.home-title    { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.2; }
.home-title span { color: var(--primary); }
.home-mode-intro { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 12px; text-align: left; }
.home-mode-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #C7D2FE; border-radius: 50%; color: #4F46E5; font-size: 22px; line-height: 1; }
.home-mode-icon-repeat { font-size: 25px; }
.home-mode-title { color: #111827; font-size: 13px; font-weight: 800; line-height: 1.25; }
.home-mode-copy { margin-top: 2px; color: #6B7280; font-size: 11px; line-height: 1.35; }

.search-bar {
  margin: 8px 14px;
  background: var(--primary-light); border-radius: 10px;
  padding: 9px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--subtext); cursor: pointer;
  flex-shrink: 0;
}

.section-label {
  font-size: 15px; font-weight: 800; color: var(--subtext);
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 10px 14px 6px;
}

/* ── 3-COL CATEGORY GRID ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 14px 10px;
}
.cat-card {
  background: var(--card); border-radius: 10px;
  padding: 10px 6px 9px;
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.13s;
  border: 1.5px solid transparent;
  text-align: center; position: relative; overflow: hidden;
}
.cat-card:active { transform: scale(0.93); }
.cat-card.placeholder { opacity: 0.52; }
.icon-wrap {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.cat-name  { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3; }
.cat-count { font-size: 11px; color: var(--subtext); font-weight: 600; }
.badge {
  position: absolute; top: 5px; right: 5px;
  background: var(--accent); color: white;
  font-size: 15px; font-weight: 800;
  padding: 1px 5px; border-radius: 99px;
}
[data-cat="moving"] .icon-wrap { background: transparent; }
[data-cat="install"]   .icon-wrap { background: #E8F5E9; }
[data-cat="handyman"]  .icon-wrap { background: #E3F2FD; }
[data-cat="interior"]  .icon-wrap { background: #FCE4EC; }
[data-cat="pets"] .icon-wrap { background: transparent; }
[data-cat="tech"] .icon-wrap { background: transparent; }
[data-cat="events"]    .icon-wrap { background: #FFF8E1; }
[data-cat="marketing"] .icon-wrap { background: #F3E5F5; }
[data-cat="cars"]      .icon-wrap { background: #E8EAF6; }

.popular-strip { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.pop-item {
  background: var(--card); border-radius: 10px;
  padding: 11px 14px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; box-shadow: var(--shadow);
}
.pop-item:active { background: var(--primary-light); }
.pop-emoji { font-size: 17px; width: 28px; text-align: center; flex-shrink: 0; }
.pop-name  { font-size: 15px; font-weight: 700; color: var(--text); flex: 1; }
.pop-arrow { font-size: 15px; color: var(--subtext); }

.home-scroll { flex: 1; overflow-y: auto; padding-bottom: 76px; }

/* ── SHARED APP TOPBAR (HOME, MY TASKS, PROFILE) ── */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 8px;
  background: #FFFFFF;
  flex-shrink: 0;
}
.app-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.app-topbar-location {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-topbar-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.app-topbar-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: none;
}
.app-topbar-icon-btn.home-feed-notifications { color: #6B7280; }
.app-topbar-icon {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.app-topbar-location .app-topbar-icon path,
.app-topbar-icon-btn.home-feed-notifications .app-topbar-icon path:first-child { fill: currentColor; }
.app-topbar-location .app-topbar-icon circle { fill: #FFFFFF; stroke: none; }

.home-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 8px;
  background: #FFFFFF;
  flex-shrink: 0;
}
.home-brand-button { border: 0; background: transparent; cursor: pointer; font-family: inherit; padding: 0; font-size: 20px; font-weight: 800; color: #111827; letter-spacing: -0.5px; }
.home-feed-area {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-feed-notifications {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: none;
}
.notification-unread-badge { position: absolute; top: 1px; right: 0; min-width: 15px; height: 15px; padding: 0 3px; border: 2px solid #FFFFFF; border-radius: 99px; background: #DC2626; color: #FFFFFF; font-size: 8px; font-weight: 900; line-height: 11px; text-align: center; }
.notifications-screen-header { display: flex; min-height: 56px; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid #E5E7EB; background: #FFFFFF; }
.notifications-back { display: grid; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #111827; cursor: pointer; }
.notifications-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notifications-screen-header h1 { min-width: 0; flex: 1; margin: 0; color: #111827; font-size: 18px; font-weight: 900; line-height: 1.2; }
.notifications-screen-header > button:last-child { min-height: 36px; padding: 0 4px; border: 0; background: transparent; color: #4B5563; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.notifications-feedback { padding: 10px 16px; background: #FFFFFF; color: #4B5563; font-size: 12px; line-height: 1.4; }
.notifications-list { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 12px; background: #FFFFFF; }
.notifications-date-heading { padding: 13px 16px 7px; color: #6B7280; font-size: 12px; font-weight: 800; }
.notification-row { display: grid; width: 100%; grid-template-columns: 48px minmax(0,1fr) 8px; align-items: start; gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid #E5E7EB; background: #FFFFFF; color: #111827; font: inherit; text-align: left; cursor: pointer; }
.notification-row.is-unread { background: #F3F4F6; }
.notification-row__avatar { display: grid; width: 48px; height: 48px; place-items: center; }
.notification-row__avatar img { width: 100%; height: 100%; object-fit: cover; }
.notification-row__avatar svg { width: 26px; height: 26px; color: #6B7280; }
.notification-row__avatar img.notification-calendar-icon { width: 22px; height: 22px; object-fit: contain; }
.notification-row__content { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.notification-row__title { color: #111827; font-size: 13px; font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; }
.notification-row__message { color: #111827; font-size: 12px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.notification-row__time { color: #6B7280; font-size: 10px; line-height: 1.25; }
.notification-row__unread-dot { width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: #DC2626; }
.profile-task-activity-body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 24px; background: #FFFFFF; }
.profile-task-activity-row { display: grid; width: 100%; grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1.25fr) 62px; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px; border: 0; border-bottom: 1px solid #E5E7EB; background: #FFFFFF; font: inherit; text-align: left; cursor: pointer; }
.profile-task-activity-icon { display: grid; place-items: center; color: #6B7280; }
.profile-task-activity-icon svg { width: 20px; height: 24px; }
.profile-task-activity-title { min-width: 0; color: #000000; font-size: 11px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.profile-task-activity-meta, .profile-task-activity-date { min-width: 0; color: #64748B; font-size: 11px; line-height: 1.4; }
.profile-task-activity-meta { overflow-wrap: anywhere; }
.profile-task-activity-date { white-space: nowrap; }
.profile-task-activity-status { padding: 24px 16px; color: #64748B; font-size: 12px; }
.profile-task-activity-more { display: block; min-width: 130px; margin: 26px auto 0; padding: 10px 22px; border: 1.5px solid #111827; border-radius: 999px; background: #FFFFFF; color: #111827; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.profile-task-activity-more[hidden] { display: none; }
.home-feed-guidance { display: block; margin: 10px 14px 0; padding: 12px 10px 10px; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px; flex-shrink: 0; }
.home-get-started__title { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: #111827; line-height: 1.2; }
.home-get-started__tiles { display: block; }
.home-get-started__tile { display: grid; grid-template-columns: 50px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 18px; row-gap: 4px; min-height: 76px; box-sizing: border-box; padding: 12px 18px; border-radius: 7px; color: #1F2937; }
.home-get-started__tile[hidden] { display: none; }
.home-get-started__tile--task { background: #E3F5DF; }
.home-get-started__tile--borrow { background: #E1F0F5; }
.home-get-started__tile--ask { background: #FFF3CD; }
.home-get-started__tile svg { grid-row: 1 / 3; align-self: center; justify-self: center; width: 38px; height: 38px; fill: none; stroke: #1F2937; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.home-get-started__tile--task svg { stroke: #3F6B45; }
.home-get-started__tile strong { grid-column: 2; font-size: 12px; font-weight: 800; line-height: 1.2; }
.home-get-started__tile span { grid-column: 2; font-size: 11px; line-height: 1.3; }
.home-feed-guidance[hidden] { display: none; }
#neighbour-feed-tabs[hidden],
#home-view-toggle[hidden] { display: none; }
#home-view-toggle {
  display: flex;
  gap: 5px;
  padding: 8px 12px 10px;
  background: #FFFFFF;
  border-bottom: 1px solid #F3F4F6;
  flex-shrink: 0;
}
#home-view-toggle .request-tab {
  display: inline-flex;
  min-width: 0;
  min-height: 32px;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  padding: 7px 5px;
  border: 0;
  border-radius: 999px;
  background: #E5E7EB;
  color: #374151;
  font: inherit;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  cursor: pointer;
}
#home-view-toggle .request-tab.is-active { background: #111827; color: #FFFFFF; }
#neighbour-feed-tabs { display: flex; gap: 5px; padding: 8px 12px 10px; background: #FFFFFF; border-bottom: 1px solid #F3F4F6; flex-shrink: 0; }
#neighbour-feed-tabs .request-tab,
#screen-user-requests .request-tab,
#screen-prov-requests .request-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; box-sizing: border-box; }
#neighbour-feed-tabs .request-tab { flex: 1 1 0; min-width: 0; padding: 7px 5px; border: 0; border-radius: 999px; background: #E5E7EB; color: #374151; font: inherit; font-size: 11px; line-height: 1.15; font-weight: 800; cursor: pointer; }
#neighbour-feed-tabs .request-tab.is-active { background: #111827; color: #FFFFFF; }
.home-feed-card__task-stats .home-feed-card__views-icon { fill: none; stroke: currentColor; }
.home-feed-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 12px; background: #FFFFFF; border-bottom: 1px solid #E5E7EB; scrollbar-width: none; }
.home-feed-chips::-webkit-scrollbar { display: none; }
.home-feed-chip { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 8px 12px; background: #E5E7EB; color: #374151; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.home-feed-chip.is-active { background: #111827; color: #FFFFFF; }
.home-feed-chips.is-neighbour-mode { gap: 5px; padding: 8px 12px 10px; }
.home-feed-chips.is-neighbour-mode .home-feed-chip { display: inline-flex; min-width: 0; min-height: 32px; flex: 1 1 0; align-items: center; justify-content: center; padding: 7px 5px; font-size: 11px; line-height: 1.15; white-space: normal; }
.home-nearby-feed { padding: 12px 14px 140px; }
.home-feed-empty { padding: 28px 12px; color: #6B7280; font-size: 13px; line-height: 1.5; text-align: center; }
.home-feed-empty strong { display: block; margin-bottom: 4px; color: #111827; font-size: 14px; }
.home-feed-card { display: flex; position: relative; width: 100%; gap: 10px; margin-bottom: 8px; padding: 10px; border: 1px solid #E5E7EB; border-radius: 8px; background: #FFFFFF; color: #111827; font: inherit; text-align: left; cursor: pointer; }
.home-feed-card__thumbnail { display: grid; width: clamp(104px, 32vw, 118px); height: clamp(104px, 32vw, 118px); flex: 0 0 clamp(104px, 32vw, 118px); place-items: center; overflow: hidden; border-radius: 7px; background: #E5E7EB; }
.home-feed-card__thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.home-feed-card__thumbnail.is-placeholder img { width: 25%; height: 25%; object-fit: contain; filter: grayscale(1); }
.request-card-thumbnail { display: grid; width: 56px; height: 56px; place-items: center; overflow: hidden; border-radius: 8px; background: #E5E7EB; }
.request-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.request-card-thumbnail.is-placeholder img { width: 25%; height: 25%; object-fit: contain; filter: grayscale(1); }
.request-card-identity-image { position: relative; display: flex; width: clamp(104px, 32vw, 118px); min-height: clamp(104px, 32vw, 118px); flex: 0 0 clamp(104px, 32vw, 118px); align-self: stretch; }
.request-card-identity-image .request-card-thumbnail { width: 100%; height: auto; min-height: 100%; border-radius: 7px; }
.request-card-identity-image .customer-request-lifecycle-badge { position: absolute; z-index: 1; top: 6px; right: 6px; max-width: calc(100% - 12px); margin: 0; opacity: .8; }
.home-feed-card__content { min-width: 0; flex: 1; }
.home-feed-card strong { display: -webkit-box; overflow: hidden; font-size: var(--post-card-title-size); font-weight: 900; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-feed-card__metadata, .home-feed-card__requested, .home-feed-card__price { margin-top: 4px; color: #6B7280; font-size: 12px; line-height: 1.35; }
.home-feed-card__price { color: #374151; font-weight: 800; }
.home-feed-card--task { align-items: stretch; gap: 12px; padding: 10px; }
.home-feed-card--task .home-feed-card__thumbnail { width: clamp(104px, 32vw, 118px); height: auto; min-height: clamp(104px, 32vw, 118px); flex-basis: clamp(104px, 32vw, 118px); align-self: stretch; }
.home-feed-card--task .home-feed-card__content { display: flex; flex-direction: column; padding-bottom: 22px; }
.home-feed-card--task strong { line-height: 1.3; }
.home-feed-card--has-status { flex-wrap: wrap; row-gap: 6px; }
.home-feed-card__status { flex: 0 0 100%; line-height: 0; }
.home-feed-card__status .customer-request-lifecycle-badge { margin-bottom: 0; }
.home-feed-card--task .home-feed-card__status .customer-request-lifecycle-badge { opacity: .8; }
.home-feed-card--task.home-feed-card--has-status { flex-wrap: nowrap; }
.home-feed-card--task .home-feed-card__status {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: calc(10px + clamp(104px, 32vw, 118px) - 6px);
  max-width: calc(clamp(104px, 32vw, 118px) - 12px);
  transform: translateX(-100%);
  line-height: normal;
}
.request-card-title { font-size: var(--post-card-title-size); }
.home-feed-card--task .home-feed-card__metadata { margin-top: 6px; color: #6B7280; }
.home-feed-card__task-category { align-self: flex-start; margin-top: 7px; border-radius: 999px; background: #FFF1E6; color: #B45309; padding: 3px 7px; font-size: 10px; font-weight: 900; line-height: 1.25; }
.home-feed-card__task-essentials { display: flex; flex-direction: column; gap: 4px; margin-top: 5px; color: #374151; font-size: 10px; font-weight: 700; line-height: 1.2; }
.home-feed-card__task-essentials > div { display: flex; align-items: center; min-width: 0; }
.home-feed-card__task-essentials .home-feed-card__meta-icon, .home-feed-card__task-essentials .home-feed-card__price-icon { flex: 0 0 14px; }
.home-feed-card__bottom-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; color: #374151; font-size: 12px; font-weight: 800; line-height: 1.3; }
.home-feed-card__date, .home-feed-card__bottom-meta .home-feed-card__price { margin: 0; color: #374151; font-size: inherit; }
.home-feed-card__meta-icon { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; fill: none; stroke: #7C838C; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.home-feed-card__price-icon { display: inline-grid; width: 14px; height: 14px; margin-right: 4px; border-radius: 50%; place-items: center; background: #7C838C; color: #FFFFFF; font-size: 9px; font-weight: 900; line-height: 1; vertical-align: -1px; }
.home-feed-card__badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.home-feed-card__ownership, .home-feed-card__badge { display: inline-block; padding: 2px 6px; border-radius: 999px; background: #E5E7EB; color: #374151; font-size: 10px; font-weight: 800; }
.home-feed-card__badge { background: #F3F4F6; }
.home-feed-card__badge--task { background: #FFF1E6; color: #B45309; }
.home-feed-card__community-stats { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 9px; color: #9CA3AF; font-size: 11px; line-height: 1; pointer-events: none; }
.home-feed-card__community-stats span { display: inline-flex; align-items: center; gap: 3px; }
.home-feed-card__community-stats svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.home-feed-card__community-stats b { font-size: 11px; font-weight: 700; }
.home-feed-card__task-stats { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 9px; color: #9CA3AF; font-size: 11px; line-height: 1; pointer-events: none; }
.home-feed-card__task-stats span { display: inline-flex; align-items: center; gap: 3px; }
.home-feed-card__task-stats svg { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.home-feed-card__task-stats b { font-size: 11px; font-weight: 700; }
.home-feed-card__grid-summary { display: none; }
#home-nearby-feed.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
#home-nearby-feed.is-grid .past-list-date-heading { grid-column: 1 / -1; margin: 8px 0 0; }
#home-nearby-feed.is-grid .home-feed-card--task {
  display: block;
  min-width: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
}
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
}
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 4px;
  padding: 28px 6px 7px;
  background: linear-gradient(transparent, rgba(17, 24, 39, .95));
  color: #FFFFFF;
  box-sizing: border-box;
}
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__content > :not(strong),
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__task-stats { display: none; }
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__content > .home-feed-card__task-category {
  display: block;
  order: -1;
  max-width: 100%;
  margin: 0;
  padding: 2px 6px;
  box-sizing: border-box;
  font-size: 9px;
}
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__content > .home-feed-card__grid-summary {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
}
#home-nearby-feed.is-grid .home-feed-card__grid-summary > div { display: inline-flex; align-items: center; gap: 1px; }
#home-nearby-feed.is-grid .home-feed-card__grid-summary > div + div::before { content: '\00b7'; margin-right: 1px; }
#home-nearby-feed.is-grid .home-feed-card__grid-summary .home-feed-card__meta-icon,
#home-nearby-feed.is-grid .home-feed-card__grid-summary .home-feed-card__price-icon {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: 0;
  font-size: 6px;
  color: #FFFFFF;
  stroke: currentColor;
}
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__status {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  left: auto;
  width: auto;
  transform: none;
  line-height: normal;
}
#home-nearby-feed.is-grid .home-feed-card__status .customer-request-lifecycle-badge {
  max-width: 100%;
  margin: 0;
  font-size: 10px;
}
#home-nearby-feed.is-grid .home-feed-card--task .home-feed-card__content > strong {
  display: block;
  color: #FFFFFF;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.home-legal-footer {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-align: center;
  background: #FFFFFF;
  flex-shrink: 0;
  z-index: 19;
  box-sizing: border-box;
}
#screen-home .home-legal-footer { display: none; }
#screen-home.active .home-legal-footer { display: block; }

.home-post-task-fab {
  display: none;
  position: fixed;
  left: calc(50% + min(199px, 50vw - 54px));
  bottom: 112px;
  transform: translateX(-100%);
  z-index: 21;
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 50%;
  background: #111827;
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.22);
  font: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 4px;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}
#screen-home.active .home-post-task-fab { display: flex; }
.home-post-task-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateX(-100%) scale(.82); }
.home-post-task-fab span { font-size: 23px; line-height: 24px; font-weight: 500; }
.home-post-task-fab strong { font-size: 10px; line-height: 12px; font-weight: 900; }
.home-post-menu.is-open + .home-post-task-fab span { font-size: 0; }
.home-post-menu.is-open + .home-post-task-fab span::after { content: '×'; font-size: 25px; line-height: 24px; }
.home-post-menu.is-open + .home-post-task-fab strong { display: none; }
.home-post-menu { display: flex; position: fixed; left: calc(50% + min(199px, 50vw - 54px)); bottom: 202px; width: min(260px, calc(100vw - 32px)); max-width: 398px; transform: translateX(-100%) translateY(10px) scale(.96); z-index: 22; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.home-post-menu.is-open { opacity: 1; pointer-events: auto; transform: translateX(-100%) translateY(0) scale(1); }
.home-post-menu button { min-height: 44px; border: 1px solid #E5E7EB; border-radius: 8px; background: #FFFFFF; color: #111827; box-shadow: 0 4px 14px rgba(17,24,39,.12); font: inherit; font-size: 13px; font-weight: 800; text-align: left; cursor: pointer; padding: 10px 12px; }
.home-post-menu button span { display: inline-block; width: 24px; text-align: center; margin-right: 6px; }
.home-post-menu .home-post-menu-close { align-self: center; display: grid; width: 44px; min-height: 44px; padding: 0; border-radius: 50%; place-items: center; background: #FFFFFF; color: #111827; font-size: 25px; line-height: 1; text-align: center; }
body:has(#screen-home.active) .findme-pwa-banner { bottom: calc(210px + env(safe-area-inset-bottom, 0px)); }
body:has(.post-task-category-overlay.is-open) .findme-pwa-banner,
body:has(#screen-lawn-post.active) .findme-pwa-banner { display: none !important; }
.post-type-composer { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #F8FAFC; }
.post-type-textarea { min-height: 110px; resize: vertical; }
.community-post-status { min-height: 17px; color: #B45309; font-size: 11px; font-weight: 700; line-height: 1.4; }
.community-post-detail-body { flex: 1; overflow-y: auto; padding: 0; }
.community-post-detail-body h2 { margin: 12px 0 6px; color: #111827; font-size: 18px; line-height: 1.35; }
.community-post-detail-body p { margin: 14px 0 0; color: #374151; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.community-post-detail-body img { display: block; width: 100%; margin-top: 12px; border-radius: 8px; object-fit: cover; }
.home-feed-detail-body { flex: 1; overflow-y: auto; padding: 0; background: #FFFFFF; }
.home-feed-detail-card { min-height: 100%; background: #FFFFFF; }
.home-feed-detail-media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #E5E7EB; }
.home-feed-detail-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-feed-detail-track::-webkit-scrollbar { display: none; }
.task-details-media { position: relative; aspect-ratio: 324 / 268; overflow: hidden; margin-bottom: 12px; border-radius: 8px; background: transparent; }
.task-details-photo-slide { position: relative; width: 100%; height: 100%; flex: 0 0 100%; display: flex; align-items: center; justify-content: flex-start; scroll-snap-align: start; }
.task-details-media .task-details-photo-slide img { width: 54.3%; max-width: calc(100% - 28px); height: 100%; flex: 0 0 54.3%; margin-left: 28px; object-fit: contain; object-position: left center; }
.task-details-media .task-details-placeholder { position: relative; width: 54.3%; max-width: calc(100% - 28px); height: 100%; flex: 0 0 54.3%; margin-left: 28px; border-radius: 0; background: transparent; }
.task-details-media .task-details-placeholder img { width: 25%; height: 25%; filter: grayscale(1); }
.task-details-photo-indicator { position: absolute; right: 14px; bottom: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(17, 24, 39, .68); color: #FFFFFF; font-size: 11px; font-weight: 800; pointer-events: none; }
.shared-task-detail-more-actions { display: grid; width: 36px; height: 36px; flex: 0 0 36px; padding: 0; border: 0; place-items: center; background: transparent; color: #111827; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.home-feed-detail-track img { display: block; width: 100%; height: 100%; flex: 0 0 100%; margin: 0; border-radius: 0; object-fit: cover; scroll-snap-align: start; }
.home-feed-detail-navigation { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; }
.home-feed-detail-navigation button { display: grid; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; place-items: center; background: rgba(17, 24, 39, .62); color: #FFFFFF; box-shadow: 0 2px 8px rgba(17, 24, 39, .2); font: inherit; font-size: 22px; font-weight: 800; cursor: pointer; }
.home-feed-detail-navigation svg { width: 19px; height: 19px; fill: currentColor; }
.home-feed-detail-indicator { position: absolute; right: 14px; bottom: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(17, 24, 39, .68); color: #FFFFFF; font-size: 11px; font-weight: 800; }
.home-feed-detail-content { padding: 0 16px 28px; }
.home-feed-detail-poster { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #E5E7EB; }
.home-feed-detail-avatar { display: block; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #E5E7EB; object-fit: cover; }
.home-feed-detail-poster-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.home-feed-detail-poster-copy strong { color: #111827; font-size: 13px; font-weight: 800; }
.home-feed-detail-poster-copy small { color: #6B7280; font-size: 11px; }
.home-feed-detail-more-actions { display: grid; width: 40px; height: 40px; flex: 0 0 40px; margin-left: auto; padding: 0; border: 0; place-items: center; background: transparent; color: #111827; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.home-feed-detail-card h2 { margin: 18px 0 4px; color: #111827; font-size: 22px; line-height: 1.22; }
.home-feed-detail-card p { margin-top: 16px; color: #374151; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.home-feed-detail-card .home-feed-card__metadata { margin-top: 0; }
.home-feed-detail-card .home-feed-detail-extra { color: #4B5563; font-size: 12px; font-weight: 700; }
.home-feed-detail-task-essentials { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.home-feed-detail-task-essentials > div { display: flex; align-items: center; gap: 8px; color: #374151; }
.home-feed-detail-task-essentials strong { font-size: 12px; font-weight: 800; line-height: 1.3; }
.home-feed-detail-essential-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: #7C838C; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.home-feed-detail-essential-icon--cost { display: inline-grid; border-radius: 50%; place-items: center; background: #7C838C; color: #FFFFFF; font-size: 10px; font-weight: 900; line-height: 16px; }
.home-feed-detail-signals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.home-feed-detail-signal { padding: 5px 8px; border: 1px solid #E5E7EB; border-radius: 999px; background: #F9FAFB; color: #374151; font-size: 11px; font-weight: 700; line-height: 1.2; }
.home-feed-detail-activity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; padding: 12px 0; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; color: #6B7280; font-size: 10px; font-weight: 700; text-align: center; }
.home-feed-detail-activity span { display: flex; flex-direction: column; gap: 3px; }
.home-feed-detail-activity b { color: #111827; font-size: 13px; }
.home-feed-detail-activity.is-community, .home-feed-detail-activity.is-task { display: block; margin-top: 18px; padding: 0; border: 0; color: #6B7280; font-size: 12px; font-weight: 400; line-height: 1.35; text-align: left; }
.community-post-replies { margin-top: 18px; border-top: 1px solid #E5E7EB; padding-top: 14px; }
.community-post-reply-list { display: flex; flex-direction: column; gap: 16px; }
.community-post-reply-item { display: flex; align-items: flex-start; gap: 10px; color: #374151; }
.community-post-reply-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; place-items: center; background: #D1D5DB; color: #FFFFFF; }
.community-post-reply-avatar svg { width: 25px; height: 25px; fill: currentColor; }
.community-post-reply-copy { min-width: 0; flex: 1; }
.community-post-reply-header { display: flex; align-items: baseline; gap: 7px; }
.community-post-reply-header strong { color: #111827; font-size: 12px; font-weight: 900; }
.community-post-reply-header small { color: #9CA3AF; font-size: 10px; font-weight: 600; }
.home-feed-detail-card .community-post-reply-text { margin: 5px 0 0; color: #374151; font-size: 12px; line-height: 1.45; white-space: pre-wrap; }
.community-post-reply-cell { display: grid; grid-template-columns: auto minmax(0, 1fr) 42px; gap: 8px; margin-top: 10px; }
.community-post-reply-cell input { min-width: 0; height: 42px; box-sizing: border-box; border: 1px solid #D1D5DB; border-radius: 8px; padding: 0 11px; font: inherit; font-size: 12px; }
.community-post-reply-cell button { min-height: 42px; border-radius: 8px; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.community-post-reply-save { display: flex; align-items: center; gap: 6px; border: 1px solid #D1D5DB; background: #FFFFFF; color: #374151; padding: 0 9px; white-space: nowrap; }
.community-post-reply-save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.community-post-reply-save.is-selected { border-color: #E65100; color: #E65100; }
.community-post-reply-save.is-selected svg { fill: currentColor; }
.community-post-reply-send { display: grid; width: 42px; padding: 0; border: 0; place-items: center; background: #111827; color: #FFFFFF; }
.community-post-reply-send svg { width: 19px; height: 19px; fill: currentColor; }
.home-feed-detail-actions { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #E5E7EB; background: #FFFFFF; }
.home-feed-detail-actions.is-community-action { grid-template-columns: minmax(120px, auto) minmax(0, 1fr); }
.home-feed-detail-actions.is-task-action { grid-template-columns: minmax(120px, auto) minmax(0, 1fr); }
.home-feed-detail-actions button { min-height: 46px; font: inherit; cursor: pointer; }
.home-feed-detail-favourite { display: grid; padding: 0; border: 1px solid #D1D5DB; border-radius: 8px; place-items: center; background: #FFFFFF; color: #6B7280; }
.home-feed-detail-favourite.has-label { display: flex; gap: 7px; justify-content: center; padding: 0 12px; color: #374151; font-size: 12px; font-weight: 800; white-space: nowrap; }
.home-feed-detail-favourite svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.home-feed-detail-favourite.is-selected { border-color: #E65100; color: #E65100; }
.home-feed-detail-favourite.is-selected svg { fill: currentColor; }
.home-feed-detail-contact { border: 0; border-radius: 8px; background: #111827; color: #FFFFFF; font-size: 14px; font-weight: 900; }
.is-community-action .home-feed-detail-contact, .is-task-action .home-feed-detail-contact { display: flex; gap: 7px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #D1D5DB; background: #FFFFFF; color: #374151; font-size: 12px; font-weight: 800; white-space: nowrap; }
.is-task-action .home-feed-detail-contact.is-selected { border-color: #DC2626; color: #DC2626; }
.home-feed-detail-actions.is-unavailable button:disabled { background: transparent; border: 1px solid #E5E7EB; color: #9CA3AF; opacity: .5; cursor: default; }
.is-community-action .home-feed-detail-contact svg, .is-task-action .home-feed-detail-contact svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.is-community-action .home-feed-detail-contact.is-selected { border-color: #E65100; background: #FFFFFF; color: #E65100; }
.is-community-action .home-feed-detail-contact.is-selected svg { fill: currentColor; }
.is-community-action .home-feed-detail-contact:disabled { opacity: 1; }
.verification-body { flex: 1; overflow-y: auto; padding: 16px 14px 36px; }
.verification-intro { margin: 0 0 14px; color: #374151; font-size: 14px; line-height: 1.5; }
.verification-item { margin-bottom: 10px; padding: 14px; border: 1px solid #E5E7EB; border-radius: 8px; background: #FFFFFF; }
.verification-item > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.verification-item h2, .verification-privacy h2 { margin: 0; color: #111827; font-size: 14px; font-weight: 800; }
.verification-item > div span { color: #6B7280; font-size: 11px; font-weight: 700; }
.verification-item > div span.is-verified { color: #15803D; }
.verification-item p { margin: 8px 0 2px; color: #374151; font-size: 12px; line-height: 1.45; }
.verification-item small { display: block; color: #6B7280; font-size: 11px; line-height: 1.4; }
.verification-upload-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.verification-upload-tile { display: inline-flex; width: 64px; height: 64px; flex: 0 0 64px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 1px dashed #94A3B8; border-radius: 8px; background: #FFFFFF; color: #111827; cursor: pointer; }
.verification-upload-tile > span { color: #111827; font-size: 19px; }
.verification-upload-tile > small { color: #64748B; font-size: 9px; font-weight: 800; }
.verification-preview { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.verification-submit { margin: 16px 0 4px; }
.verification-submit > button { width: 100%; min-height: 44px; border: 0; border-radius: 8px; background: #111827; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
#verification-submit-status { min-height: 18px; margin-top: 6px; color: #B91C1C; font-size: 11px; font-weight: 700; }
#profile-verification-status.is-in-progress { color: #D97706; }
#screen-profile #profile-verification-status.is-verified { color: #15803D; }
.verification-privacy { margin-top: 16px; padding: 14px; border-left: 3px solid #64748B; background: #FFFFFF; }
.verification-privacy ul { margin: 9px 0 10px; padding-left: 18px; color: #4B5563; font-size: 11px; line-height: 1.55; }
.verification-privacy-link { color: #374151; font-size: 12px; font-weight: 800; text-decoration: underline; }
.profile-helper-flow-body { flex: 1; overflow-y: auto; padding: 14px 12px 78px; }
.profile-helper-matrix { overflow: hidden; border: 1px solid #E5E7EB; border-radius: 10px; background: #FFFFFF; }
.profile-helper-matrix-head, .profile-helper-matrix-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px; align-items: center; gap: 8px; }
.profile-helper-matrix-head { padding: 10px 12px; background: #F8FAFC; color: #374151; font-size: 10px; font-weight: 900; text-align: center; }
.profile-helper-matrix-head span { text-align: left; }
.profile-helper-matrix-row { min-height: 44px; padding: 5px 12px; }
.profile-helper-matrix-task { display: flex; min-width: 0; align-items: center; gap: 7px; }
.profile-helper-matrix-task > span { width: 22px; flex: 0 0 22px; filter: grayscale(1); font-size: 17px; text-align: center; }
.profile-helper-matrix-task strong { min-width: 0; color: #111827; font-size: 11px; line-height: 1.25; }
.profile-helper-checkbox { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.profile-helper-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.profile-helper-checkbox span { width: 20px; height: 20px; display: inline-block; border: 1.5px solid #9CA3AF; border-radius: 4px; background: #FFFFFF; }
.profile-helper-checkbox input:checked + span { border-color: #111827; background: #111827; box-shadow: inset 0 0 0 4px #FFFFFF; }
.profile-helper-flow-cta button { background: #111827; color: #FFFFFF; }
.profile-helper-flow-copy { margin: 0 0 10px; color: #6B7280; font-size: 12px; line-height: 1.4; text-align: center; }
.profile-helper-count { display: inline-block; margin: 0 auto 12px; padding: 5px 12px; border-radius: 999px; background: #E5E7EB; color: #374151; font-size: 11px; font-weight: 800; }
.profile-helper-group { margin-bottom: 10px; border: 1px solid #E5E7EB; border-radius: 10px; background: #FFFFFF; padding: 11px; }
.profile-helper-group h3 { margin: 0 0 3px; color: #111827; font-size: 13px; font-weight: 800; }
.profile-helper-group p { margin: 0 0 8px; color: #8A94A3; font-size: 10px; font-weight: 600; }
.profile-helper-pills, .profile-helper-tabs, .profile-helper-capabilities { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-helper-pill, .profile-helper-tab, .profile-helper-capability { border: 1px solid #D1D5DB; border-radius: 999px; background: #FFFFFF; color: #111827; padding: 8px 11px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.profile-helper-pill.is-selected, .profile-helper-tab.is-selected, .profile-helper-capability.is-selected { border-color: #111827; background: #111827; color: #FFFFFF; }
.profile-helper-flow-cta { flex-shrink: 0; padding: 10px 12px 16px; background: #FFFFFF; border-top: 1px solid #E5E7EB; }
.profile-helper-flow-cta button { width: 100%; min-height: 44px; border: 0; border-radius: 9px; background: #111827; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.profile-helper-flow-cta button:disabled { background: #CBD5E1; cursor: default; }
.profile-helper-selected-task { margin: 12px 0; border: 1px solid #E5E7EB; border-radius: 10px; background: #FFFFFF; padding: 12px; }
.profile-helper-selected-task strong { display: block; color: #111827; font-size: 14px; }
.profile-helper-selected-task span { display: block; margin-top: 3px; color: #8A94A3; font-size: 10px; }
.profile-helper-section { margin-top: 9px; border: 1px solid #E5E7EB; border-radius: 10px; background: #FFFFFF; padding: 11px; }
.profile-helper-section.is-disabled { opacity: .48; }
.profile-helper-type-toggle { display: flex; width: 100%; align-items: flex-start; gap: 8px; border: 0; background: transparent; padding: 0 0 9px; color: #111827; font: inherit; text-align: left; cursor: pointer; }
.profile-helper-type-check { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; flex: 0 0 20px; border: 1px solid #9CA3AF; border-radius: 5px; background: #FFFFFF; color: #FFFFFF; font-size: 13px; font-weight: 900; }
.profile-helper-section:not(.is-disabled) .profile-helper-type-check { border-color: #111827; background: #111827; }
.profile-helper-type-toggle strong, .profile-helper-type-toggle small { display: block; }
.profile-helper-type-toggle strong { font-size: 13px; font-weight: 800; }
.profile-helper-type-toggle small { margin-top: 2px; color: #8A94A3; font-size: 10px; font-weight: 600; }
.profile-helper-capability { border-radius: 7px; }
.profile-helper-capability:disabled { cursor: default; }
.profile-helper-validation { margin-top: 10px; border-radius: 8px; background: #FEF2F2; color: #B91C1C; padding: 9px 10px; font-size: 11px; font-weight: 700; }
.profile-helper-section-validation { margin-top: 8px; color: #B91C1C; font-size: 10px; font-weight: 800; line-height: 1.35; }
.profile-travel-distance-body { flex: 1; overflow-y: auto; padding: 14px 12px 80px; }
.profile-travel-from, .profile-travel-control { margin-bottom: 10px; padding: 14px; border: 1px solid #E5E7EB; border-radius: 8px; background: #FFFFFF; }
.profile-travel-label { margin-bottom: 8px; color: #6B7280; font-size: 11px; font-weight: 800; }
.profile-travel-address { display: flex; align-items: center; gap: 7px; color: #111827; font-size: 13px; }
.profile-travel-address .home-feed-card__meta-icon { width: 16px; height: 16px; margin: 0; stroke: #111827; vertical-align: 0; }
.profile-travel-map-panel { margin-bottom: 10px; padding: 10px; border: 1px solid #E5E7EB; border-radius: 8px; background: #FFFFFF; }
#profile-travel-distance-map { display: none; width: 100%; height: 220px; border-radius: 6px; overflow: hidden; }
#profile-travel-distance-map-empty { display: flex; min-height: 110px; align-items: center; justify-content: center; padding: 16px; color: #6B7280; font-size: 11px; font-weight: 700; line-height: 1.45; text-align: center; }
.profile-travel-control h2 { margin: 0; color: #111827; font-size: 14px; }
#profile-travel-distance-value { margin: 10px 0; color: #111827; font-size: 28px; font-weight: 800; text-align: center; }
#profile-travel-distance-slider { width: 100%; accent-color: #111827; cursor: pointer; }
.profile-travel-scale { display: flex; justify-content: space-between; margin-top: 5px; color: #9CA3AF; font-size: 11px; font-weight: 600; }
.profile-travel-status { min-height: 18px; color: #B91C1C; font-size: 11px; font-weight: 700; }
.profile-helper-section h3 { margin: 0 0 3px; color: #111827; font-size: 13px; }
.profile-helper-section p { margin: 0 0 9px; color: #8A94A3; font-size: 10px; }
.profile-helper-tip { margin-top: 12px; border-radius: 10px; background: #EEF2F7; color: #64748B; padding: 12px; font-size: 11px; line-height: 1.4; }

/* ── BOTTOM NAV ── */
.bottom-nav {
  width: 100%;
  background: var(--card); border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  z-index: 20;
  flex-shrink: 0;
}
.main-app-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  min-height: 62px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}
#home-bottom-nav { display: none; }
#screen-home #home-bottom-nav { display: none; }
#screen-home.active #home-bottom-nav { display: grid; }
.main-app-nav .nav-item { min-width: 0; min-height: 62px; justify-content: center; line-height: 1.1; }
.main-app-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.main-app-nav [data-main-nav-neighbour] { display: none !important; }
.main-app-nav #nav-requests-prov,
.main-app-nav #nav-settings-prov,
.main-app-nav #nav-quotes-helper,
.main-app-nav #nav-quotes-user + #nav-quotes-user { display: none !important; }
.post-task-flow-nav { display: none; }
#screen-select #cat-banner,
#screen-select .cat-strip-wrap,
#screen-select .cat-carousel-bar-wrap,
#screen-select .two-pane {
  display: none !important;
}

#screen-select > .topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.post-task-header-btn {
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  min-width: 64px;
  padding: 8px 10px;
}
#screen-select .post-task-header-btn:first-child,
#screen-ask-neighbours .post-task-header-btn:first-child,
#screen-give-away .post-task-header-btn:first-child { min-width: 32px; padding-left: 6px; padding-right: 6px; font-size: 20px; line-height: 1; }
#screen-ask-neighbours > .topbar,
#screen-give-away > .topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }

.post-task-category-button { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 44px; border: 1.5px solid #E5E7EB; border-radius: 12px; background: #FFFFFF; color: #111827; padding: 10px 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; text-align: left; }
.post-task-category-button span { font-size: 19px; line-height: 1; }
.post-task-category-overlay { display: flex; position: fixed; inset: 0; z-index: 100; align-items: flex-end; justify-content: center; background: rgba(17,24,39,.35); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.post-task-category-overlay.is-open { opacity: 1; pointer-events: auto; }
.post-task-category-sheet { width: 100%; max-width: 430px; max-height: 82dvh; overflow-y: auto; border-radius: 16px 16px 0 0; background: #FFFFFF; padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(20px); transition: transform 180ms ease; }
.post-task-category-overlay.is-open .post-task-category-sheet { transform: translateY(0); }
.post-task-category-handle { width: 34px; height: 4px; margin: 0 auto 12px; border-radius: 999px; background: #D1D5DB; }
.post-task-category-sheet__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.post-task-category-sheet__header h2 { color: #111827; font-size: 20px; font-weight: 900; line-height: 1.25; }
.post-task-category-sheet__header button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #F3F4F6; color: #374151; font: inherit; font-size: 20px; cursor: pointer; }
.post-task-category-group { margin-top: 14px; }
.post-task-category-group--bottom { margin-top: 14px; }
.post-task-category-groups--bottom-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.post-task-category-groups--bottom-row .post-task-category-group { min-width: 0; }
.lawn-questionnaire-category-groups { display: grid; grid-template-columns: 1fr; gap: 14px; }
.lawn-questionnaire-category-group--bottom { min-width: 0; }
@media (min-width: 360px) { .lawn-questionnaire-category-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lawn-questionnaire-category-group:not(.lawn-questionnaire-category-group--bottom) { grid-column: 1 / -1; } }
.find-helper-topic-sheet { position: relative; display: flex; min-height: min(83dvh, 684px); max-height: 85dvh; overflow: hidden; flex-direction: column; padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px)); background: #FFFFFF; }
.find-helper-topic-sheet .post-task-category-handle { position: relative; z-index: 2; background: rgba(156,163,175,.72); }
#lawn-questionnaire-content { position: relative; z-index: 2; display: flex; min-height: 0; overflow-y: auto; padding: 38px 0 12px; flex: 1; flex-direction: column; }
.find-helper-topic-title { align-self: flex-start; max-width: 340px; margin: 0 8px 18px; padding: 2px 6px; color: #111111; font-size: 30px; font-weight: 900; line-height: 1.14; }
.find-helper-topic-intro { margin: 0 14px 14px; color: #111111; font-size: 13px; line-height: 1.4; }
.find-helper-topic-sheet .lawn-questionnaire-category-groups { margin-top: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.find-helper-topic-option { min-height: 42px; overflow: hidden; border: 1px solid #CBD5E1; border-radius: 999px; background: rgba(255,255,255,.92); color: #0F1B35; padding: 7px 8px; font: inherit; font-size: 13px; font-weight: 800; line-height: 1.2; text-align: center; white-space: normal; cursor: pointer; }
.find-helper-topic-option.is-selected, .find-helper-mode-option.is-selected { border-color: #111827; background: #111827; color: #FFFFFF; }
.find-helper-custom-link { align-self: center; margin: 12px 0 0; border: 0; background: transparent; color: #2563EB; padding: 5px; font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.find-helper-sheet-back { position: absolute; top: 0; left: 0; display: grid; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(203,213,225,.9); border-radius: 50%; place-items: center; background: rgba(255,255,255,.9); color: #111827; font: inherit; font-size: 20px; font-weight: 900; line-height: 1; cursor: pointer; }
.find-helper-mode-options { display: grid; margin-top: auto; gap: 10px; }
.find-helper-mode-option { min-height: 64px; border: 1px solid #CBD5E1; border-radius: 18px; background: rgba(255,255,255,.92); color: #0F1B35; padding: 12px 16px; font: inherit; font-size: 13px; font-weight: 800; text-align: left; cursor: pointer; }
.find-helper-mode-option > div { margin-top: 4px; opacity: .8; font-size: 11px; font-weight: 500; }
.topic-sheet-close { position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(203,213,225,.9); border-radius: 50%; place-items: center; background: rgba(255,255,255,.9); color: #111827; font: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
.find-helper-topic-sheet .topic-sheet-close { border-color: #111111; background: #FFFFFF; color: #111111; }
@media (max-height: 650px) { #lawn-questionnaire-content { padding-top: 18px; } .find-helper-topic-title { margin-bottom: 10px; font-size: 25px; } .find-helper-topic-option { min-height: 32px; padding-top: 5px; padding-bottom: 5px; font-size: 12px; } }
.find-helper-topic-sheet .find-helper-topic-title { max-width: calc(100% - 44px); font-size: 20px; }
.find-helper-topic-sheet .find-helper-topic-list { margin-top: 0; grid-template-columns: 1fr; gap: 8px; }
.find-helper-topic-list .find-helper-topic-option { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 12px; border: 1px solid #111111; border-radius: 8px; background: #FFFFFF; color: #111111; font-size: 14px; text-align: left; }
.find-helper-topic-list .find-helper-topic-option.is-selected { border-color: #2563EB; background: #FFFFFF; box-shadow: 0 0 0 2px rgba(37,99,235,.22); color: #111111; }
.find-helper-topic-list .find-helper-topic-option:active, .find-helper-topic-list .find-helper-topic-option:focus-visible { border-color: #2563EB; box-shadow: 0 0 0 2px rgba(37,99,235,.22); outline: none; }
.find-helper-topic-option__icon { width: 28px; flex: 0 0 28px; filter: grayscale(1); font-size: 20px; line-height: 1; text-align: center; }
.find-helper-topic-option__copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.find-helper-topic-option__copy strong { color: #111111; font-size: 14px; line-height: 1.2; }
.find-helper-topic-option__copy small { overflow: hidden; color: #526579; font-size: 12px; font-weight: 500; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
@media (max-height: 650px) { .find-helper-topic-list .find-helper-topic-option { min-height: 32px; padding: 5px 8px; font-size: 12px; } }
.post-task-category-group h3 { margin: 0 0 8px; color: #475569; font-size: 11px; font-weight: 900; }
.post-task-category-options { display: flex; flex-wrap: wrap; gap: 9px; }
.post-task-category-option { border: 1px solid #D1D5DB; border-radius: 999px; background: #F3F4F6; color: #111827; padding: 10px 12px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.post-task-category-option.is-selected { background: #111827; color: #FFFFFF; }
.post-task-category-guidance { margin-bottom: 16px; border-radius: 8px; background: #F3F4F6; color: #374151; padding: 10px 11px; font-size: 11px; font-weight: 700; line-height: 1.45; }
.post-task-category-guidance > div + div { margin-top: 7px; color: #15803D; }
.ask-neighbours-topic-sheet { position: relative; min-height: min(83dvh, 684px); max-height: 85dvh; overflow: hidden; padding: 10px 18px calc(34px + env(safe-area-inset-bottom, 0px)); background: #F8F5EF; }
.ask-neighbours-topic-sheet::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 42%, rgba(255,252,247,.8) 70%, #FFFCF8 100%); pointer-events: none; }
.ask-neighbours-topic-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ask-neighbours-topic-sheet .post-task-category-handle { position: relative; z-index: 2; background: rgba(156,163,175,.7); }
.ask-neighbours-topic-sheet .post-task-category-sheet__header { position: relative; z-index: 2; max-width: 340px; margin: 70px 18px 0; }
.ask-neighbours-topic-sheet .post-task-category-sheet__header h2 { display: inline; padding: 2px 6px; background: rgba(255,255,255,.48); box-decoration-break: clone; -webkit-box-decoration-break: clone; color: #0F1B35; font-size: 34px; line-height: 1.18; }
#ask-neighbours-topic-groups { position: absolute; right: 18px; bottom: calc(69px + env(safe-area-inset-bottom, 0px)); left: 18px; z-index: 2; }
#ask-neighbours-topic-groups .post-task-category-group { margin: 0; }
#ask-neighbours-topic-groups .post-task-category-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#ask-neighbours-topic-groups .post-task-category-option { min-height: 42px; border: 1px solid #CBD5E1; border-radius: 999px; background: rgba(255,255,255,.92); color: #0F1B35; padding: 7px 8px; box-shadow: none; font-size: 13px; line-height: 1.2; text-align: center; white-space: normal; }
.neighbourhood-sheet-back { margin-top: 10px; border: 0; background: transparent; color: #0F1B35; padding: 5px; font: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.ask-neighbours-topic-sheet .post-task-category-sheet__header { max-width: none; }
.ask-neighbours-topic-sheet .post-task-category-sheet__header h2 { white-space: nowrap; font-size: clamp(16px, 5.4vw, 24px); }
#ask-neighbours-topic-groups .post-task-category-options { grid-template-columns: 1fr; }
#ask-neighbours-topic-groups .post-task-category-option { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.8); font-size: 14px; text-align: left; }
@media (max-height: 650px) { .ask-neighbours-topic-sheet { min-height: 83dvh; } .ask-neighbours-topic-sheet .post-task-category-sheet__header { margin-top: 34px; } #ask-neighbours-topic-groups { bottom: calc(69px + env(safe-area-inset-bottom, 0px)); } #ask-neighbours-topic-groups .post-task-category-option { min-height: 32px; padding: 5px 8px; font-size: 12px; } }
.post-task-category-continue { width: 100%; min-height: 46px; margin-top: 20px; border: 0; border-radius: 12px; background: #111827; color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
.post-task-category-continue:disabled { background: #CBD5E1; cursor: default; }

.post-task-composer {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F8FAFC;
}

.post-task-section { display: flex; flex-direction: column; gap: 6px; }
.post-task-label { font-size: 12px; font-weight: 900; color: #111827; }
.post-task-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.post-task-card input,
.post-task-card textarea,
.post-task-input {
  width: 100%;
  border: 0;
  background: #FFFFFF;
  font: inherit;
  font-size: 13px;
  color: #111827;
  padding: 11px 12px;
  outline: none;
}
.post-task-card textarea {
  border-top: 1px solid #F3F4F6;
  resize: vertical;
  min-height: 72px;
}
.post-task-card input::placeholder, .post-task-card textarea::placeholder { color: #9CA3AF; font-weight: 400; }
.post-task-input {
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
}
select.post-task-input { appearance: auto; cursor: pointer; }
.post-task-photo-picker {
  min-height: 64px;
  border: 1.5px dashed #CBD5E1;
  border-radius: 14px;
  background: #FFFFFF;
  color: #334155;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}
.post-photo-tile { width: 42px; height: 42px; min-height: 42px; flex: 0 0 42px; border-style: solid; border-radius: 8px; gap: 0; }
.post-task-photo-picker span { font-size: 16px; line-height: 16px; color: #475569; }
.post-task-photo-picker strong { font-size: 13px; }
.post-task-photo-picker small { font-size: 9px; color: #64748B; }
.post-task-photo-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.post-task-photo-preview-item { position: relative; width: 58px; height: 58px; }
.post-task-photo-preview-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 9px; display: block; }
.post-task-photo-preview-item button {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #111827;
  color: #FFFFFF;
  font-size: 12px;
  cursor: pointer;
}

#screen-lawn-post .topbar { display: grid; grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr); align-items: center; padding: 0 14px; }
#screen-lawn-post { position: relative; }
#screen-ask-neighbours { position: relative; }
#screen-lawn-post .topbar-title { text-align: center; font-size: 12px; }
#screen-lawn-post .topbar .post-task-header-btn:last-child { justify-self: end; width: auto; white-space: nowrap; font-size: 12px; font-weight: 800; }
#screen-lawn-post .topbar { grid-template-columns: 40px minmax(0, 1fr) auto; }
#screen-lawn-post .topbar-title { text-align: left; font-size: 14px; }
#screen-lawn-post #lawn-post-body { background: #FFFFFF; padding-bottom: 24px !important; }
.lawn-post-compose { display: flex; flex-direction: column; gap: 8px; }
.lawn-post-compose h2 { margin: 12px 0 0; color: #111111; font-size: 18px; font-weight: 900; line-height: 1.2; }
.lawn-post-compose h2:first-child { margin-top: 0; }
.lawn-post-compose label { color: #111111; font-size: 12px; font-weight: 700; }
.lawn-post-compose .lawn-post-task-input, .lawn-post-compose .lawn-post-schedule,
.lawn-post-compose .lawn-post-budget-row { box-sizing: border-box; overflow: hidden; border: 1px solid #111111; border-radius: 8px; }
.lawn-post-compose #lawn-post-description { min-height: 96px; padding: 10px 11px; border: 0; border-radius: 0; resize: vertical; font: inherit; font-size: 13px; }
.lawn-post-schedule { position: relative; }
.lawn-post-schedule-display { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 10px; padding: 0 11px; background: #FFFFFF; color: #111111; font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.lawn-post-schedule-display svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.lawn-post-schedule-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.5); }
.lawn-post-schedule-sheet { display: flex; width: 100%; max-width: 430px; max-height: 90vh; box-sizing: border-box; flex-direction: column; gap: 8px; overflow-y: auto; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; background: #FFFFFF; }
.lawn-post-schedule-sheet h2 { margin: 0 0 4px; color: #111111; font-size: 18px; }
.lawn-post-picker-content { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px; align-items: start; }
.lawn-post-calendar-heading { display: grid; grid-template-columns: 26px minmax(0, 1fr) 26px; align-items: center; text-align: center; }
.lawn-post-calendar-heading strong { font-size: 12px; white-space: nowrap; }
.lawn-post-calendar-heading button { width: 26px; height: 32px; border: 0; background: transparent; color: #111111; font-size: 22px; cursor: pointer; }
.lawn-post-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.lawn-post-calendar-weekday { display: grid; min-height: 24px; place-items: center; color: #526579; font-size: 11px; font-weight: 700; }
.lawn-post-calendar-day { width: 100%; aspect-ratio: 1; border: 0; border-radius: 50%; background: #FFFFFF; color: #111111; font: inherit; font-size: 11px; cursor: pointer; }
.lawn-post-calendar-day.is-past { background: transparent; color: #A0A7B2; cursor: not-allowed; }
.lawn-post-calendar-day.is-selected, .lawn-post-time-wheel button.is-selected { background: #111111; color: #FFFFFF; }
.lawn-post-picker-dial { display: flex; flex-direction: column; gap: 6px; color: #111111; font-size: 13px; font-weight: 700; }
.lawn-post-picker-dial-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.lawn-post-picker-dial-columns > div { min-width: 0; }
.lawn-post-picker-dial-columns > div > span { display: block; margin-bottom: 5px; color: #526579; font-size: 11px; font-weight: 600; }
.lawn-post-time-wheel { position: relative; display: flex; height: 170px; box-sizing: border-box; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 69px 3px; border-radius: 8px; background: #F8FAFC; scrollbar-width: none; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; }
.lawn-post-time-wheel::-webkit-scrollbar { display: none; }
.lawn-post-time-wheel::after { position: absolute; top: 50%; right: 2px; left: 2px; height: 32px; transform: translateY(-50%); border-top: 1px solid #CBD5E1; border-bottom: 1px solid #CBD5E1; content: ''; pointer-events: none; }
.lawn-post-wheel-spacer { height: 32px; flex: 0 0 32px; }
.lawn-post-wheel-option { width: 100%; height: 32px; flex: 0 0 32px; scroll-snap-align: center; border: 0; border-radius: 5px; background: transparent; color: #111111; font: inherit; font-size: 13px; cursor: pointer; }
.lawn-post-schedule-sheet p { margin: 0; color: #B91C1C; font-size: 12px; }
.lawn-post-schedule-actions { display: flex; gap: 8px; }
.lawn-post-schedule-actions button { min-height: 44px; flex: 1; border: 1px solid #111111; border-radius: 8px; background: #FFFFFF; color: #111111; font: inherit; font-weight: 700; cursor: pointer; }
.lawn-post-schedule-actions button:last-child { background: #111111; color: #FFFFFF; }
.lawn-post-compose .lawn-post-budget-row { display: block; }
.lawn-post-compose .lawn-post-budget-row input { box-sizing: border-box; border: 0; border-radius: 0; }
.lawn-post-compose .lawn-post-amount input { padding-left: 42px; padding-right: 8px; }
.lawn-post-compose .lawn-post-amount > span { right: auto; left: 10px; }
.lawn-post-compose .lawn-post-field-error:empty { display: none; }
.lawn-post-compose .lawn-post-pair { margin: 0; }
.lawn-post-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lawn-post-choices[aria-label="Help type"] { width: 100%; max-width: 280px; }
.lawn-post-duration-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lawn-post-choice { min-width: 0; min-height: 36px; padding: 5px; border: 1px solid #111111; border-radius: 999px; background: #FFFFFF; color: #111111; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.lawn-post-choice.is-selected { background: #111111; color: #FFFFFF; }
.lawn-post-compose .lawn-post-photo-row strong, .lawn-post-budget-hint { color: #526579; font-size: 13px; }
.lawn-post-budget-hint { margin: 0; }
.lawn-post-favour { align-self: flex-start; min-height: 36px; padding: 6px 10px; border: 1px solid #111111; border-radius: 8px; background: #FFFFFF; color: #111111; font: inherit; font-size: 12px; cursor: pointer; }
.lawn-post-favour[aria-pressed="true"] { background: #111111; color: #FFFFFF; }
#lawn-post-schedule-status:not(:empty) { color: #B91C1C; font-size: 12px; font-weight: 700; }
#screen-lawn-post #lawn-post-cta { min-height: 48px; border-radius: 18px !important; }
.lawn-post-stack { display: flex; flex-direction: column; gap: 14px; }
.lawn-post-section { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid #E5E7EB; border-radius: 10px; background: #FFFFFF; }
.lawn-post-section .post-task-label { margin-top: 4px; color: #374151; font-size: 12px; }
.lawn-post-section .post-task-label:first-child { margin-top: 0; }
.lawn-post-regulated-warning { padding: 9px 10px; border: 1px solid #FED7AA; border-radius: 8px; background: #FFF7ED; color: #9A3412; font-size: 11px; font-weight: 700; line-height: 1.4; }
.lawn-post-mode-options { display: grid; gap: 8px; }
.lawn-post-mode-options button, .lawn-post-chips button, .lawn-post-details button, .lawn-post-section > button { min-height: 40px; line-height: 1.35; white-space: normal; }
.lawn-post-mode-options button span { color: inherit; font-size: 11px; font-weight: 500; }
.lawn-post-path, .lawn-post-details { padding: 11px 12px; border: 1px solid #E5E7EB; border-radius: 8px; color: #111827; font-size: 13px; font-weight: 800; }
.lawn-post-path span { margin: 0 5px; color: #6B7280; }
.lawn-post-details { display: flex; flex-direction: column; gap: 8px; font-weight: 400; }
.lawn-post-details .post-task-label { margin: 0; }
.lawn-post-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lawn-post-photo-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lawn-post-photo-row > div:has(> strong) { display: flex; flex-direction: column; justify-content: center; min-height: 44px; }
.lawn-post-photo-row strong { font-size: 13px; font-weight: 700; }
.lawn-post-photo-row .lawn-post-hint { margin: 4px 0 0; }
.lawn-post-photo-button { display: inline-flex; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 44px; height: 44px; padding: 0; border: 1px dashed #94A3B8; border-radius: 8px; background: #FFFFFF; color: #111827; cursor: pointer; }
.lawn-post-photo-button svg { width: 18px; height: 18px; }
.lawn-post-photo-button small { color: #64748B; font-size: 9px; font-weight: 700; line-height: 1; }
.lawn-post-photo-row .post-task-photo-preview { min-width: 0; flex: 1; }
.lawn-post-photo-row:has(.post-task-photo-preview-item) > div:not(.post-task-photo-preview) { display: none; }
.lawn-post-date, .lawn-post-budget-row input, .lawn-post-budget-row select { height: 42px; border: 1px solid #D1D5DB; border-radius: 8px; background: #FFFFFF; color: #111827; font: inherit; font-size: 13px; padding: 0 11px; }
.lawn-post-date { width: 100%; }
#lawn-post-time { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 17px; }
#lawn-post-body #lawn-post-budget::placeholder { color: #B0B4BC; }
#lawn-post-body #lawn-post-budget:focus::placeholder { color: transparent; }
.lawn-post-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 8px 0 12px; }
.lawn-post-pair > * { min-width: 0; height: 42px; }
.lawn-post-budget-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; }
.lawn-post-budget-row input { min-width: 0; }
.lawn-post-amount { position: relative; min-width: 0; }
.lawn-post-amount input { width: 100%; padding-right: 32px; appearance: textfield; -moz-appearance: textfield; }
.lawn-post-amount input::-webkit-inner-spin-button, .lawn-post-amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lawn-post-amount > span { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: #111827; font-size: 13px; pointer-events: none; }
#lawn-post-task option:disabled { color: #9CA3AF; }
.lawn-post-cost-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items:stretch; gap: 8px; }
.lawn-post-cost-row .lawn-post-budget-row { grid-template-columns: minmax(0, 1fr) 104px; }
.lawn-post-cost-row > button { min-height: 42px; padding: 7px 8px; text-align: center; line-height: 1.25; }
.lawn-post-field-error { min-height: 16px; margin-top: 4px; color: #B91C1C; font-size: 11px; font-weight: 700; line-height: 1.35; }
#lawn-post-body input::placeholder, #lawn-post-body textarea::placeholder { color: #B0B4BC; font-weight: 400; opacity: 1; }
#lawn-post-body input:focus::placeholder, #lawn-post-body textarea:focus::placeholder { color: transparent; }
.lawn-post-hint { margin: 5px 0 12px; color: #6B7280; font-size: 12px; line-height: 1.5; }
#lawn-post-description-hint { color: #374151; }
.lawn-post-hint-tick { color: #15803D; font-weight: 800; }
#lawn-post-body .post-task-card label { display: block; margin: 10px 0 6px; font-size: 13px; font-weight: 700; color: #111827; }
#lawn-post-body .post-task-label:has(+ .lawn-post-task-type) { font-family: inherit; font-size: 13px; font-weight: 700; color: #111827; }
#lawn-post-body .post-task-card { border: 0; border-radius: 0; overflow: visible; }
#lawn-post-title, #lawn-post-description { display: block; box-sizing: border-box; width: 100%; border: 1px solid #D1D5DB; border-radius: 8px; line-height: 1.5; }
#lawn-post-title { height: 44px; }
#lawn-post-description { min-height: 100px; }
#lawn-post-body .post-task-card .lawn-post-field-error:empty { min-height: 0; margin: 0; }
#lawn-post-body .post-task-card label[for="lawn-post-description"] { margin-top: 18px; }
#lawn-post-title:focus, #lawn-post-description:focus { border-color: #6B7280; }
.lawn-post-task-type .post-task-category-button { width: 100%; margin: 0; font: inherit; font-size: 13px; }
.lawn-post-task-type .lawn-post-field-error { grid-column: 1 / -1; height: auto; }
.find-helper-draft-sheet { padding: 18px 16px 20px; }
.find-helper-draft-sheet h2 { margin: 8px 0 16px; color: #111827; font-size: 17px; text-align: center; }
.find-helper-draft-actions { display: grid; gap: 8px; }
.find-helper-draft-actions button { min-height: 42px; border: 1px solid #D1D5DB; border-radius: 8px; background: #FFFFFF; color: #111827; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.find-helper-draft-actions button:first-child { border-color: #111827; background: #111827; color: #FFFFFF; }
.lawn-post-loading { display: none; position: absolute; inset: 0; z-index: 3; align-items: center; justify-content: center; background: rgba(17, 24, 39, 0.32); backdrop-filter: blur(2px); }
.lawn-post-loading.is-open { display: flex; }
.lawn-post-loading__spinner { width: 34px; height: 34px; border: 4px solid rgba(255, 255, 255, 0.45); border-top-color: #FFFFFF; border-radius: 50%; animation: lawnPostSpin 0.8s linear infinite; }
.helper-comparison-loading { min-height: 120px; display: flex; align-items: center; justify-content: center; }
.helper-comparison-loading .lawn-post-loading__spinner { border-color: #E5E7EB; border-top-color: #111827; }
@keyframes lawnPostSpin { to { transform: rotate(360deg); } }
.community-safety-warning { margin-top: 10px; padding: 10px 11px; border: 1px solid #E5E7EB; border-radius: 8px; background: #F3F4F6; color: #4B5563; font-size: 11px; font-weight: 700; line-height: 1.45; }
@media (max-width: 340px) { .lawn-post-section { padding: 12px; } .lawn-post-budget-row { grid-template-columns: minmax(0, 1fr) 108px; } }
.post-task-selected-task {
  min-height: 38px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
}
.post-task-selected-task.is-selected { color: #15803D; border-color: #86EFAC; background: #F0FDF4; }
.post-task-cta-bar { flex-shrink: 0; padding: 8px 14px 14px; background: #FFFFFF; border-top: 1px solid #F3F4F6; }
.post-task-legal-footer {
  display: none;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-align: center;
}
#screen-select.active .post-task-legal-footer { display: block; }
.post-task-cta {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #FFFFFF;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.post-task-cta:disabled { background: #CBD5E1; cursor: default; }
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 9px 0 11px; gap: 3px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--subtext);
}
.nav-item.active { color: #111827; }
.nav-item svg { width: 20px; height: 20px; fill: currentColor; }

@keyframes spin-once {
  0%   { transform: rotate(0deg) scale(0.6); opacity:0; }
  60%  { transform: rotate(200deg) scale(1.1); opacity:1; }
  100% { transform: rotate(180deg) scale(1); opacity:1; }
}
@keyframes hourglassTip {
  0%,100% { transform: rotate(0deg); }
  20%      { transform: rotate(-15deg); }
  50%      { transform: rotate(15deg); }
  80%      { transform: rotate(-8deg); }
}
@keyframes pulse-ring {
  0%   { transform:scale(0.9); opacity:0.6; }
  50%  { transform:scale(1.1); opacity:1;   }
  100% { transform:scale(0.9); opacity:0.6; }
}
@keyframes reqPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0;   }
  100% { transform: scale(1.5); opacity: 0;   }
}

/* ═══════════════════════════════════════════
   SERVICE SELECTION SCREEN  (Soomgo style)
═══════════════════════════════════════════ */

/* horizontal category strip */
.cat-strip-wrap {
  background: var(--card);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip-wrap::-webkit-scrollbar { display: none; }




.cat-strip {
  display: flex;
  gap: 0;
  padding: 0 4px;
  width: max-content;
  min-width: 100%;
}
.strip-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 10px 10px;
  cursor: pointer;
  flex-shrink: 0;
  width: 78px;
  transition: border-color 0.15s, color 0.15s;
  color: var(--subtext);
}
.strip-item.active { color: var(--primary); background: rgba(79,110,247,0.08); border-radius: 12px; }
.strip-item .s-icon { font-size: 40px; line-height: 1; display:block; }
.strip-item.active .s-icon { background: var(--primary-light); border-color: var(--primary); }
.strip-item .s-label { font-size: 11px; font-weight: 700; text-align: center; line-height: 1.3; white-space: normal; word-break: keep-all; overflow-wrap: break-word; color: inherit; max-width: 72px; }
.strip-item.active .s-label { color: var(--primary); }

/* two-pane layout */
.two-pane {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* LEFT PANEL — subcategories */
.left-panel {
  width: 115px;
  min-width: 115px;
  background: var(--left-bg);
  overflow-y: auto;
  scrollbar-width: auto;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}
.left-panel::-webkit-scrollbar { display: none; }
.left-item {
  padding: 14px 12px;
  font-size: 15px; font-weight: 600; color: var(--subtext);
  cursor: pointer;
  border-left: 3px solid transparent;
  line-height: 1.3;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.left-item:active { background: #E4E6EE; }
.left-item.active {
  background: var(--card);
  color: var(--primary);
  font-weight: 800;
  border-left-color: var(--primary);
}

/* RIGHT PANEL — tasks */
.right-panel {
  flex: 1;
  overflow-y: auto;
  background: var(--card);
  scrollbar-width: auto;
}
.right-panel::-webkit-scrollbar { display: none; }

.right-section { padding: 16px 16px 6px; }
.right-section-title {
  font-size: 15px; font-weight: 800; color: var(--text);
  margin-bottom: 10px;
}
.right-task {
  padding: 13px 0;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  transition: color 0.12s;
}
.right-task:last-child { border-bottom: none; }
.right-task:active { color: var(--primary); }
.right-task-arrow { font-size: 15px; color: var(--subtext); flex-shrink: 0; }

/* ── TASK DETAIL ── */
.task-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #6B8EFF 100%);
  padding: 24px 20px; color: white;
}
.hero-emoji { font-size: 37px; margin-bottom: 10px; }
.hero-title { font-size: 20px; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.hero-sub   { font-size: 15px; opacity: 0.8; font-weight: 600; }

.info-card {
  background: var(--card); margin: 12px 16px 0;
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
}
.info-title { font-size: 15px; font-weight: 800; color: var(--subtext); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--bg); }
.info-row:last-child { border-bottom: none; }
.info-row .label { font-size: 15px; color: var(--subtext); }
.info-row .value { font-size: 15px; font-weight: 700; color: var(--text); }

.detail-scroll { flex: 1; overflow-y: auto; padding-bottom: 80px; }

.cta-bar {
  position: sticky; bottom: 0;
  width: 100%;
  padding: 12px 16px; background: var(--card); border-top: 1px solid var(--border);
  z-index: 10; box-sizing: border-box;
}
.cta-btn {
  width: 100%; padding: 14px;
  background: #111827; color: white; border: none;
  border-radius: 12px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-btn:active { background: #030712; transform: scale(0.98); }

/* ── SUCCESS ── */
.success-screen {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 28px; text-align: center; gap: 14px;
}
.success-emoji { font-size: 57px; }
.success-title { font-size: 20px; font-weight: 800; }
.success-sub   { font-size: 15px; color: var(--subtext); line-height: 1.65; }
.success-btn {
  margin-top: 14px; padding: 13px 28px;
  background: var(--primary); color: white; border: none;
  border-radius: 12px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit;
}

/* ── QUESTION FLOW ── */
.q-block {
  padding: 20px 18px 8px;
}
.q-label {
  font-size: 15px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 6px;
}
.q-text {
  font-size: 15px; font-weight: 800; color: var(--text);
  line-height: 1.4; margin-bottom: 14px;
}
.q-sub-label {
  font-size: 15px; font-weight: 700; color: var(--subtext);
  margin: 14px 0 8px;
}

/* single / multi select option cards */
.opt-list { display: flex; flex-direction: column; gap: 8px; }
.opt-card {
  background: var(--card); border-radius: 10px;
  border: 2px solid var(--border);
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.13s, background 0.13s;
  display: flex; align-items: flex-start; gap: 10px;
}
.opt-card.selected { border-color: var(--primary); background: var(--primary-light); }
.opt-card:active { background: var(--primary-light); }
.opt-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.13s, background 0.13s;
}
.opt-card.selected .opt-check { border-color: var(--primary); background: var(--primary); }
.opt-check::after { content: ''; display: none; width: 8px; height: 8px; background: white; border-radius: 50%; }
.opt-card.selected .opt-check::after { display: block; }
.opt-multi .opt-check { border-radius: 5px; }
.opt-card.selected.opt-multi .opt-check::after { content: '✓'; display: flex; align-items: center; justify-content: center; background: none; color: white; font-size: 15px; font-weight: 800; border-radius: 0; width: auto; height: auto; }
.opt-body { flex: 1; }
.opt-label { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
.opt-detail { font-size: 12px; color: #4F6EF7; margin-top: 3px; line-height: 1.4; font-weight: 600; }

/* date, address, number, text inputs */
.q-input {
  width: 100%; padding: 13px 14px;
  border: 2px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; font-weight: 600;
  color: var(--text); background: var(--card);
  outline: none; transition: border-color 0.13s;
}
.q-input:focus { border-color: var(--primary); }
.q-input::placeholder { color: var(--subtext); font-weight: 500; }

/* address sub-fields */
.addr-row { display: flex; gap: 8px; }
.addr-row .q-input { flex: 1; }

/* undecided checkbox row */
.undecided-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; cursor: pointer; padding: 8px 2px;
}
.undecided-box {
  width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: border-color 0.13s, background 0.13s;
}
.undecided-box.checked { border-color: var(--primary); background: var(--primary); color: white; font-size: 15px; font-weight: 800; }
.undecided-label { font-size: 15px; font-weight: 700; color: var(--subtext); }

/* free text */
.q-textarea {
  width: 100%; padding: 13px 14px;
  border: 2px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; font-weight: 500;
  color: var(--text); background: var(--card);
  outline: none; resize: none; min-height: 130px;
  transition: border-color 0.13s;
}
.q-textarea:focus { border-color: var(--primary); }
.char-count { text-align: right; font-size: 15px; color: var(--subtext); margin-top: 5px; font-weight: 600; }

/* ── LOADING STEPS ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeSlideIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.load-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border-radius: 10px;
  padding: 11px 14px; box-shadow: var(--shadow);
  animation: fadeSlideIn 0.4s ease;
}
.load-step-icon { font-size: 17px; flex-shrink: 0; }
.load-step-text { font-size: 15px; font-weight: 700; color: var(--text); }
.load-step-check { margin-left: auto; color: #4CAF50; font-size: 15px; font-weight: 800; }

.provider-multi-choice-indicator {
  width: 17px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1;
}
.provider-multi-choice:focus-visible,
.provider-single-choice:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

/* ── PROVIDER LIST ROW ── */
.prov-list { display: flex; flex-direction: column; gap: 0; }
.prov-row {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  cursor: pointer; transition: background 0.15s, max-height 0.3s;
  position: relative;
  overflow: hidden;
}
.prov-row:first-child { border-radius: 12px 12px 0 0; }
.prov-row:last-child  { border-radius: 0 0 12px 12px; border-bottom: none; }
.prov-row.selected { background: #F0FFF4; }
.prov-row:active   { background: var(--primary-light); }

/* badge — absolute top-right, tiny */
.prov-badge {
  position: absolute; top: 7px; right: 8px;
  font-size: 7px; font-weight: 800; padding: 2px 5px;
  border-radius: 99px; text-transform: uppercase; letter-spacing: 0.3px;
  background: #E8F5E9; color: #2E7D32; white-space: nowrap;
}
.prov-badge.fast { background: #FFF3E0; color: #E65100; }
.prov-badge.bp   { background: #E8EAF6; color: #3949AB; }

/* main row */
.prov-main-row {
  display: flex; align-items: center; gap: 10px;
  padding-right: 64px;
}

/* radio */
.prov-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.12s, background 0.12s;
}
.prov-row.selected .prov-radio { border-color: #4CAF50; background: #4CAF50; }
.prov-radio::after { content:''; display:none; width:7px; height:7px; border-radius:50%; background:white; }
.prov-row.selected .prov-radio::after { display:block; }

.prov-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.prov-info { flex: 1; min-width: 0; }
.prov-name {
  font-size: 15px; font-weight: 800; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prov-meta {
  font-size: 15px; color: var(--subtext); font-weight: 600;
  margin-top: 3px; white-space: nowrap;
}
/* price: smaller, right-aligned */
.prov-price {
  font-size: 15px; font-weight: 800; color: var(--primary);
  flex-shrink: 0; margin-left: 4px;
}

/* expanded panel (shown when selected) */
.prov-expand {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.prov-row.selected .prov-expand { display: block; }
.prov-expand-title {
  font-size: 15px; font-weight: 800; color: var(--subtext);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.prov-jobs-grid {
  display: flex; gap: 7px; overflow-x: auto;
  scrollbar-width: auto; padding-bottom: 2px;
}
.prov-jobs-grid::-webkit-scrollbar { display: none; }
.prov-job-card {
  flex-shrink: 0; width: 80px;
  background: var(--bg); border-radius: 8px;
  padding: 8px 6px; text-align: center;
}
.prov-job-emoji { font-size: 22px; }
.prov-job-label { font-size: 15px; font-weight: 700; color: var(--subtext); margin-top: 4px; line-height: 1.2; }

/* two-button CTA row */
.quotes-cta {
  padding: 10px 12px;
  background: var(--card); border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cta-row { display: flex; gap: 8px; }
.cta-more {
  flex: 1; padding: 12px 0;
  background: var(--primary-light); color: var(--primary); border: none;
  border-radius: 10px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit; text-align: center;
  transition: background 0.13s;
}
.cta-more:active { background: #d8e0ff; }
.cta-request {
  flex: 1.4; padding: 12px 0;
  background: #4CAF50; color: white; border: none;
  border-radius: 10px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit; text-align: center;
  transition: background 0.13s, opacity 0.13s;
}
.cta-request:disabled { background: var(--border); color: var(--subtext); cursor: default; }
.cta-request:not(:disabled):active { background: #388E3C; }
.cta-hint {
  text-align: center; font-size: 15px; color: var(--subtext);
  font-weight: 600; margin-top: 5px;
}

/* ── CUSTOMER PROVIDER COMPARISON ── */
#screen-compare {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
}

.helpers-page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 32px;
  scrollbar-width: none;
}

.helpers-page::-webkit-scrollbar { display: none; }

.helpers-page .provider-flow-return {
  align-self: stretch;
  margin: 6px 0 0;
  text-align: left;
}

.provider-comparison-shell {
  flex: 0 0 auto;
  min-width: 0;
  padding: 8px 0 0;
  background: #F8FAFC;
}

.provider-comparison-header {
  width: 100%;
  margin: 0;
  padding: 12px 0 20px;
  text-align: left;
}

.provider-comparison-header h1 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.provider-comparison-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.provider-comparison-card.is-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(76px, 17vw, 96px);
  column-gap: 16px;
  row-gap: 0;
  flex: none;
  align-items: start;
  width: 100%;
  min-width: 0;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07);
}

.provider-comparison-compact-content { min-width: 0; }

.provider-comparison-compact-main {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.provider-comparison-compact-avatar {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
  background: #EEF2F7;
}

.provider-comparison-compact-copy { display: block; min-width: 0; }

.provider-comparison-compact-copy h2 {
  display: inline;
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.provider-comparison-compact-location {
  display: inline;
  min-width: 0;
  color: #64748B;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.provider-comparison-compact-location::before { content: '\00B7'; margin: 0 7px; }

.provider-comparison-compact-trust {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.provider-comparison-compact-trust.has-verified { grid-template-columns: repeat(4, max-content); }
.provider-comparison-trust-group { display: flex; min-width: 0; flex-shrink: 0; flex-direction: column; gap: 8px; }
.provider-comparison-compact-trust .provider-comparison-trust-item { display: flex; min-width: 0; align-items: flex-start; gap: 5px; }
.provider-comparison-compact-trust svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: #64748B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.provider-comparison-trust-label { min-width: 0; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.provider-comparison-trust-line { display: block; white-space: nowrap; }

.provider-comparison-compact-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.provider-comparison-card.is-compact .provider-comparison-book,
.provider-comparison-card.is-compact .provider-comparison-details {
  width: 100%;
  min-height: 62px;
  border-radius: 7px;
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.25;
}

.provider-comparison-card.is-compact .provider-comparison-book {
  border-color: #15803D;
  background: #15803D;
}

.provider-comparison-card.is-compact .provider-comparison-details {
  border: 1px solid #A5B4FC;
  background: #FFFFFF;
  color: #111827;
}

@media (max-width: 420px) {
  .provider-comparison-card.is-compact { grid-template-columns: minmax(0, 1fr) 76px; padding: 16px; }
  .provider-comparison-compact-trust,
  .provider-comparison-compact-trust.has-verified { display: flex; flex-wrap: wrap; }
  .provider-comparison-card.is-compact .provider-comparison-book,
  .provider-comparison-card.is-compact .provider-comparison-details { min-height: 48px; }
}

.prov-booking-form-section {
  padding: 14px 0;
  border-bottom: 1px solid #E5E7EB;
}

.prov-booking-form-section.is-date {
  padding: 13px 14px;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #22C55E;
  border-radius: 8px;
  background: #F0FDF4;
}

.prov-booking-form-heading {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.prov-booking-form-help {
  margin-top: 4px;
  color: #64748B;
  font-size: 10px;
  line-height: 1.4;
}

.prov-booking-form-section.is-date input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 11px;
  border: 1px solid #BBF7D0;
  border-radius: 7px;
  background: #FFFFFF;
  color: #166534;
  font: inherit;
  font-weight: 800;
}

.prov-booking-acknowledgements {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 0;
}

.prov-booking-acknowledgements label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #475569;
  font-size: 10px;
  line-height: 1.45;
}

.prov-booking-acknowledgements input { margin-top: 2px; }

@media (max-width: 420px) {
  .provider-comparison-compact-main { grid-template-columns: 42px minmax(0, 1fr); }
  .provider-comparison-compact-avatar { width: 42px; height: 42px; }
}

.provider-comparison-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.provider-comparison-availability span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #86EFAC;
  border-radius: 50%;
  color: #15803D;
  background: #F0FDF4;
  font-size: 10px;
}

.provider-comparison-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 20px 0 32px;
}

.provider-comparison-track {
  position: relative;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: max-content;
  min-width: 0;
  padding: 6px 0 12px;
  align-items: center;
  box-sizing: border-box;
  transform: translateX(-50%);
}

.provider-comparison-track::-webkit-scrollbar { display: none; }

.provider-comparison-card {
  position: relative;
  flex: 0 0 clamp(240px, 66vw, 430px);
  width: clamp(240px, 66vw, 430px);
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
  padding: 12px 12px 14px;
  box-sizing: border-box;
  min-width: 0;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.provider-comparison-card.is-selected {
  border-color: #16A34A;
  border-width: 2px;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.12);
}

.provider-comparison-card.is-side {
  flex-basis: clamp(116px, 22vw, 220px);
  width: clamp(116px, 22vw, 220px);
  min-height: 340px;
  padding: 12px 10px;
  border-color: #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  overflow: hidden;
}

.provider-comparison-side-avatar {
  margin-bottom: 10px;
}

.provider-comparison-media {
  margin: 0 -2px 0;
}

.provider-comparison-gallery {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 7px;
  border-radius: 6px;
}

.provider-comparison-gallery::-webkit-scrollbar { display: none; }

.provider-comparison-gallery-slide {
  flex: 0 0 84px;
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
  overflow: hidden;
  background: #EEF2F7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-comparison-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.provider-comparison-identity {
  margin-top: 12px;
  text-align: left;
}

.provider-comparison-identity h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.provider-comparison-identity p {
  margin: 6px 0 0;
  color: #374151;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.provider-comparison-card.is-side .provider-comparison-identity {
  margin-top: 0;
}

.provider-comparison-card.is-side .provider-comparison-identity h2 {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.provider-comparison-card.is-side .provider-comparison-identity p {
  font-size: 10px;
  font-weight: 600;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.provider-comparison-side-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  color: #64748B;
  font-size: 10px;
  font-weight: 700;
}

.provider-comparison-side-meta .is-available {
  padding: 4px 6px;
  border-radius: 6px;
  color: #15803D;
  background: #DCFCE7;
}

.provider-comparison-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.provider-comparison-meta span {
  color: #1D4ED8;
  background: #EEF2FF;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
}

.provider-comparison-stats {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.provider-comparison-findme-stats {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  background: #F8FAFC;
}

.provider-comparison-findme-stats h3 {
  margin: 0;
  color: #0F172A;
  font-size: 12px;
  font-weight: 900;
}

.provider-comparison-stats .provider-comparison-stat {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.provider-comparison-stats .provider-comparison-stat strong {
  font-weight: 900;
  color: #0F172A;
}

.provider-comparison-metrics {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.provider-comparison-metric {
  padding: 4px 2px;
  text-align: left;
}

.provider-comparison-metric .label {
  display: block;
  color: #64748B;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

.provider-comparison-metric .value {
  display: block;
  margin-top: 4px;
  color: #0F172A;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.provider-comparison-section {
  border-top: 1px solid #E5E7EB;
  margin-top: 14px;
  padding-top: 14px;
}

.provider-comparison-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.provider-comparison-section-title span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.provider-comparison-section p {
  margin: 8px 0 0 36px;
  color: #374151;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  text-align: left;
}

.provider-comparison-price-context {
  margin: 10px 0 0 36px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #3F6212;
  background: #F1F8E9;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.provider-comparison-checks {
  list-style: none;
  margin: 8px 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.provider-comparison-checks li {
  color: #374151;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.provider-comparison-checks span {
  color: #16A34A;
  font-weight: 900;
  margin-right: 7px;
}

.provider-comparison-price {
  border-top: 1px solid #E5E7EB;
  margin-top: 14px;
  padding-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.provider-comparison-price > div:first-child {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.provider-comparison-price strong,
.provider-comparison-price b {
  display: block;
}

.provider-comparison-work {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #E5E7EB;
  color: #111827;
  font-size: 12px;
}

.provider-comparison-work .provider-comparison-media {
  margin-top: 8px;
}

.provider-comparison-side-section {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
  color: #64748B;
  font-size: 10px;
}

.provider-comparison-side-section span,
.provider-comparison-side-section strong {
  display: block;
}

.provider-comparison-side-section strong {
  margin-top: 5px;
  color: #0F172A;
  font-size: 13px;
  line-height: 1.25;
}

.provider-comparison-side-section i {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 9px;
  border-radius: 99px;
  background: #16A34A;
}

.provider-comparison-card-details {
  width: 100%;
  min-height: 38px;
  margin-top: 16px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #2563EB;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.provider-comparison-card-details.is-primary {
  border-radius: 6px;
  background: #15803D;
  color: white;
}

.provider-comparison-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 36px;
  height: 36px;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  background: white;
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  font-size: 24px;
  cursor: pointer;
  transform: translateY(-50%);
}

.provider-comparison-arrow.is-left { left: 4px; }
.provider-comparison-arrow.is-right { right: 4px; }

.provider-comparison-dots {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.provider-comparison-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
}

.provider-comparison-dots button.is-active { background: #16A34A; }

.provider-comparison-price strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.provider-comparison-price b {
  color: #15803D;
  font-size: 17px;
  line-height: 1.35;
  margin-top: 2px;
}

.provider-comparison-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 14px;
  padding: 14px 0 0;
  background: white;
  border-top: 1px solid #E5E7EB;
}

.provider-comparison-actions:empty { display: none; }

.provider-comparison-call,
.provider-comparison-book,
.provider-comparison-details {
  min-width: 0;
  border-radius: 12px;
  padding: 12px 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.provider-comparison-call {
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
}

.provider-comparison-book {
  border: 1px solid #4F6EF7;
  background: linear-gradient(180deg, #4F6EF7 0%, #3B5BDB 100%);
  color: white;
}

.provider-comparison-call:disabled {
  border-color: #D1D5DB;
  background: #E5E7EB;
  color: #9CA3AF;
  cursor: default;
}

.provider-comparison-details {
  border: 1px solid #CBD5E1;
  background: white;
  color: #0F172A;
}

@media (min-width: 760px) {
  .provider-comparison-shell { padding-top: 14px; }
  .provider-comparison-track {
    justify-content: center;
    align-items: center;
    padding: 10px 0 14px;
  }
  .provider-comparison-actions { width: 100%; box-sizing: border-box; }
}

/* ── COMPARE TABLE — grid-based for pixel-perfect row alignment ── */
.cmp-table {
  /* 5 rows × (label + 4 providers) = grid */
  display: grid;
  /* columns/rows set dynamically via JS */
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
/* Every cell sits in the grid */
.cmp-cell {
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  box-sizing: border-box;
  font-size: 15px; font-weight: 700; color: var(--text);
  background: var(--card); text-align: center;
}
/* last row — no bottom border */
.cmp-cell.last-row { border-bottom: none; }
/* last column — no right border */
.cmp-cell.last-col { border-right: none; }
/* label cells */
.cmp-cell.lbl {
  justify-content: flex-start; padding-left: 8px;
  font-size: 15px; color: var(--subtext);
  background: var(--bg);
}
/* selection row */
.cmp-cell.sel-row { background: var(--card); }
/* provider row */
.cmp-cell.prov-row {
  flex-direction: column; gap: 4px; padding: 6px 2px;
  background: var(--card);
}
/* price */
.cmp-cell.price { font-weight: 800; color: var(--primary); font-size: 15px; }
.cmp-cell.best  { color: #2E7D32; }
/* selected column highlight */
.cmp-cell.col-sel { background: #F0FFF4; }
.cmp-cell.col-sel.price { background: #F0FFF4; }
/* radio dot */
.cmp-radio-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); background: white;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.12s, background 0.12s; flex-shrink: 0;
}
.cmp-radio-dot.selected-dot { border-color: #4CAF50; background: #4CAF50; }
.cmp-radio-dot::after { content:''; display:none; width:7px; height:7px; border-radius:50%; background:white; }
.cmp-radio-dot.selected-dot::after { display:block; }

/* ── PROVIDER REGISTRATION ── */
.prov-reg-cat {
  background: var(--card); border-radius: 12px;
  border: 2px solid var(--border);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: border-color 0.13s, background 0.13s;
  margin-bottom: 8px;
}
.prov-reg-cat:active, .prov-reg-cat.selected { border-color: #E65100; background: #FFF3E0; }
.prov-reg-cat-icon { font-size: 22px; flex-shrink: 0; }
.prov-reg-cat-name { font-size: 13px; font-weight: 800; color: var(--text); }
.prov-reg-cat-count { font-size: 11px; color: var(--subtext); font-weight: 600; margin-top: 2px; }
.prov-task-item {
  background: var(--card); border-radius: 10px;
  border: 2px solid var(--border);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: border-color 0.13s, background 0.13s;
  margin-bottom: 8px;
}
.prov-task-item.selected { border-color: #E65100; background: #FFF3E0; }
.prov-task-item:active { background: #FFF3E0; }
.prov-task-check {
  width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: white;
  transition: border-color 0.13s, background 0.13s;
}
.prov-task-item.selected .prov-task-check { border-color: #E65100; background: #E65100; }
.prov-task-name { font-size: 13px; font-weight: 700; color: var(--text); flex: 1; line-height: 1.3; }
.prov-task-sub  { font-size: 11px; color: var(--subtext); font-weight: 600; margin-top: 2px; }

/* flag badge */
.flag-badge {
  background: #FFF3E0; border: 1.5px solid #FFB74D;
  border-radius: 8px; padding: 9px 12px;
  font-size: 15px; color: #E65100; font-weight: 700;
  margin-top: 10px; display: flex; align-items: center; gap: 6px;
}

/* divider */
.q-divider { height: 1px; background: var(--border); margin: 16px 18px 0; }

/* ── ROLE TOGGLE ── */

/* ── SEARCH SCREEN ── */
.search-group-label {
  padding: 12px 16px 6px;
  font-size: 15px; font-weight: 800; color: var(--subtext);
  text-transform: uppercase; letter-spacing: 0.7px;
}
.search-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.1s;
  background: var(--card);
}
.search-row:active { background: var(--primary-light); }
/* emoji removed from search rows */
.search-row-body   { flex: 1; min-width: 0; }
.search-row-task   { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.search-row-path   { font-size: 15px; color: var(--subtext); font-weight: 600; margin-top: 2px; }
.search-row-arrow  { font-size: 15px; color: var(--subtext); flex-shrink: 0; }
.search-no-result  { padding: 40px 16px; text-align: center; font-size: 15px; color: var(--subtext); font-weight: 600; }
/* ── CONVERSATIONAL FLOW ── */
#flow-body { background: #F0F2F5; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes collapseCard {
  0%   { opacity: 1; max-height: 600px; transform: scale(1); }
  60%  { opacity: 0.5; max-height: 60px; transform: scale(0.97); }
  100% { opacity: 0; max-height: 0; transform: scale(0.95); overflow: hidden; }
}

/* Bot bubble (question) — left aligned */
.bubble-q {
  align-self: flex-start;
  background: var(--card);
  border-radius: 4px 16px 16px 16px;
  padding: 11px 14px;
  max-width: 82%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.bubble-q-text {
  font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4;
}
.bubble-q-sub {
  font-size: 12px; font-weight: 600; color: var(--subtext); margin-top: 2px;
}

/* Answer bubble — right aligned */
.bubble-a {
  align-self: flex-end;
  background: var(--primary);
  border-radius: 16px 4px 16px 16px;
  padding: 10px 14px;
  max-width: 72%;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.bubble-a-text {
  font-size: 13px; font-weight: 700; color: white; line-height: 1.3; text-align: right;
}
.bubble-a-edit {
  font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 600;
}
.bubble-a:active { opacity: 0.85; }

/* Active question card */
.bubble-active {
  background: var(--card);
  border-radius: 12px;
  border: 2px solid var(--primary);
  padding: 14px 14px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 10px;
  animation: bubbleIn 0.25s ease both;
}
.bubble-q   { animation: bubbleIn 0.22s ease both; }
.bubble-a   { animation: bubbleIn 0.2s ease both; }
.bubble-active-q {
  font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.4;
}
.bubble-active-sub {
  font-size: 12px; font-weight: 700; color: var(--subtext); margin: 4px 0 -2px;
}
.bubble-next-btn {
  width: 100%; padding: 12px;
  background: var(--primary); color: white; border: none;
  border-radius: 10px; font-size: 14px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  transition: background 0.13s; margin-top: 2px;
}
.bubble-next-btn:active { background: #3A58D6; }
.bubble-next-btn.submit { background: #4CAF50; }
.bubble-next-btn:disabled { background: var(--border); color: var(--subtext); cursor: default; }

/* Canonical Moving01 questionnaire */
.canonical-section {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px; display: flex; flex-direction: column; gap: 16px;
}
.canonical-section-title { margin: 0; color: var(--text); font-size: 20px; letter-spacing: 0; }
.canonical-section-subtitle { margin: -10px 0 0; color: var(--subtext); font-size: 12px; line-height: 1.5; }
.canonical-field { display: flex; flex-direction: column; gap: 8px; }
.canonical-field-label { color: var(--text); font-size: 13px; font-weight: 800; line-height: 1.4; }
.canonical-field-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
}
.canonical-field-stepper .canonical-field-label { margin: 0; }
.canonical-required { color: #C13C3C; }
.canonical-choice-list { display: grid; gap: 8px; }
.canonical-choice {
  min-height: 42px; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 9px 11px; display: flex; align-items: center; gap: 9px;
  color: var(--text); font-size: 13px; font-weight: 650; cursor: pointer;
}
.canonical-choice:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.canonical-choice input { accent-color: var(--primary); }
.canonical-choice-list:has(.canonical-choice-chip) { display: flex; flex-wrap: wrap; gap: 7px; }
.canonical-choice-chip {
  min-height: 34px; width: auto; border-radius: 999px; padding: 6px 12px;
  background: #F9FAFB; font: 700 12px inherit;
}
.canonical-choice-chip-multi { border-radius: 8px; }
.canonical-choice-chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.canonical-choice-chip:focus-visible { outline: 3px solid rgba(43,78,230,.25); outline-offset: 2px; }
.canonical-choice-cluster { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.canonical-choice-cluster-label { color: var(--subtext); font-size: 11px; font-weight: 800; }
.canonical-choice-cluster-options { display: flex; flex-wrap: wrap; gap: 7px; }
.canonical-input {
  width: 100%; min-height: 42px; box-sizing: border-box; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 11px; color: var(--text); background: white;
  font: 600 13px inherit; outline: none;
}
.canonical-input:focus { border-color: var(--primary); }
.canonical-textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.canonical-stepper { display: grid; grid-template-columns: 42px minmax(60px, 84px) 42px; gap: 8px; align-items: center; }
.canonical-stepper-button {
  width: 42px; height: 42px; border: 1.5px solid var(--primary); border-radius: 8px;
  background: white; color: var(--primary); font-size: 20px; font-weight: 800; cursor: pointer;
}
.canonical-stepper-button:disabled { border-color: var(--border); color: var(--subtext); cursor: default; }
.canonical-stepper-input, .canonical-item-quantity {
  min-height: 42px; box-sizing: border-box; border: 1.5px solid var(--border); border-radius: 8px;
  text-align: center; color: var(--text); font: 700 14px inherit;
}
.canonical-item-results { display: grid; gap: 6px; margin-top: 6px; }
.canonical-item-result {
  min-height: 38px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px;
  background: white; color: var(--text); text-align: left; font: 700 12px inherit; cursor: pointer;
}
.canonical-item-result-custom { border-style: dashed; min-height: 44px; font-size: 12px; font-weight: 800; text-align: left; }
.canonical-item-result:disabled { color: var(--subtext); background: #F7F8FA; cursor: default; }
.canonical-selected-items { display: grid; gap: 8px; margin-top: 10px; }
.canonical-selected-item {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px auto; gap: 8px; align-items: center;
  padding: 8px; border: 1px solid var(--border); border-radius: 8px;
}
.canonical-selected-item-name { min-width: 0; color: var(--text); font-size: 12px; font-weight: 750; }
.canonical-item-remove { border: 0; background: none; color: #B33232; font: 700 15px inherit; cursor: pointer; line-height: 1; }
.canonical-navigation { display: flex; gap: 8px; padding-bottom: 4px; }
.canonical-navigation-primary, .canonical-navigation-secondary {
  min-height: 44px; border-radius: 8px; padding: 10px 16px; font: 800 13px inherit; cursor: pointer;
}
.canonical-navigation-primary { flex: 1; border: 0; background: var(--primary); color: white; }
.canonical-navigation-secondary { border: 1.5px solid var(--primary); background: white; color: var(--primary); }
.canonical-inline-error, .canonical-summary-error {
  border: 1px solid #E9A3A3; border-radius: 8px; background: #FFF4F4;
  color: #9E2929; padding: 9px 10px; font-size: 12px; font-weight: 700; line-height: 1.4;
}
.canonical-summary {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px; display: flex; flex-direction: column; gap: 14px;
}
.canonical-summary > h2 { margin: 0; color: var(--text); font-size: 20px; letter-spacing: 0; }
.canonical-summary > p { margin: -8px 0 0; color: var(--subtext); font-size: 12px; line-height: 1.5; }
.canonical-summary-section { display: grid; gap: 8px; padding-top: 4px; }
.canonical-summary-section + .canonical-summary-section { border-top: 1px solid var(--border); padding-top: 14px; }
.canonical-summary-section h3 { margin: 0; color: var(--text); font-size: 14px; letter-spacing: 0; }
.canonical-summary-row { display: grid; grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr); gap: 12px; }
.canonical-summary-label { color: var(--subtext); font-size: 11px; font-weight: 700; }
.canonical-summary-value { color: var(--text); font-size: 12px; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.canonical-submit-reassurance { display: grid; gap: 7px; color: var(--subtext); font-size: 11px; line-height: 1.35; }
.canonical-submit-reassurance > div::before { color: #16A34A; content: '✓'; font-weight: 900; margin-right: 7px; }
.canonical-location-control { position: relative; display: grid; gap: 6px; }
.canonical-location-input {
  width: 100%; min-height: 44px; box-sizing: border-box; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 10px 12px; background: white; color: var(--text); font: 650 13px inherit;
}
.canonical-location-input:focus { outline: 2px solid color-mix(in srgb, var(--primary) 24%, transparent); border-color: var(--primary); }
.canonical-location-status { min-height: 16px; color: var(--subtext); font-size: 11px; line-height: 1.4; }
.canonical-location-results { display: grid; gap: 6px; }
.canonical-location-result {
  width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px;
  background: white; color: var(--text); text-align: left; font: 700 12px inherit; cursor: pointer;
}
.canonical-location-result:hover, .canonical-location-result:focus { border-color: var(--primary); background: var(--primary-light); }
.canonical-location-attribution { justify-self: end; color: var(--subtext); font-size: 10px; font-weight: 650; }

/* ── numeric stepper ── */
.numeric-stepper-wrap {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; padding: 8px 0;
}
.numeric-stepper-wrap.disabled { opacity: 0.35; pointer-events: none; }
.stepper-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--primary); background: white;
  color: var(--primary); font-size: 22px; font-weight: 700;
  cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.stepper-btn:active { background: var(--primary-light); }
.stepper-input {
  width: 64px; text-align: center; font-size: 20px; font-weight: 700;
  border: 2px solid var(--border); border-radius: 10px; padding: 6px;
  color: var(--text);
}
.stepper-input::-webkit-inner-spin-button,
.stepper-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ── box checker ── */
.box-checker-wrap { display: flex; flex-direction: column; gap: 12px; }
.box-checker-toggle {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 14px; border: 2px solid var(--border); border-radius: 12px;
  background: white; transition: border-color 0.2s;
}
.box-checker-toggle input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--primary); }
.box-checker-toggle-label { font-size: 15px; font-weight: 600; color: var(--text); }
.box-checker-toggle:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }

/* ── calendar / date picker ── */
.calendar-wrap { display: flex; flex-direction: column; gap: 4px; }
.cal-mode-list { display: flex; flex-direction: column; gap: 8px; }
.cal-date-row { display: flex; justify-content: center; margin-top: 6px; }
.cal-date-input {
  border: 2px solid var(--border); border-radius: 10px;
  padding: 8px 14px; font-size: 15px; color: var(--text);
  width: 100%; max-width: 280px;
}
.cal-date-input:focus { outline: none; border-color: var(--primary); }

/* ── signal chips ── */
.signal-chips-wrap {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0;
}
.signal-chip {
  padding: 7px 14px; border-radius: 20px;
  border: 2px solid var(--border); background: white;
  font-size: 13px; font-weight: 600; color: var(--subtext);
  cursor: pointer; transition: all 0.18s; white-space: nowrap;
}
.signal-chip.selected {
  border-color: var(--primary); background: var(--primary-light);
  color: var(--primary);
}




/* ── INTRO SPLASH ── */
@keyframes logoPop { from{opacity:0;transform:scale(0.5)} to{opacity:1;transform:scale(1)} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
#screen-intro > div > div:nth-child(2) { animation: fadeUp 0.5s 0.15s both; }
#screen-intro > div > div:nth-child(3) { animation: fadeUp 0.5s 0.3s both; }
.idot {
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,0.35);
  transition:background 0.4s, width 0.4s;
}
.idot.active { background:white; width:20px; border-radius:4px; }



/* ── Provider Onboarding – scoped to #screen-settings ── */
#screen-settings { flex-direction: column; background: #F9FAFB; }
#screen-settings .header { display:none; } /* hide OB header — we use topbar */
#screen-settings .progress-wrap { background:#fff; padding:16px 20px 12px; border-bottom:1px solid #E5E7EB; }
#screen-settings .progress-title { font-size:13px; font-weight:700; color:#374151; }
#screen-settings .progress-pct { font-size:13px; font-weight:800; color:#E65100; }
#screen-settings .progress-label { display:flex; justify-content:space-between; margin-bottom:6px; }
#screen-settings .progress-track { height:6px; background:#E5E7EB; border-radius:99px; overflow:hidden; }
#screen-settings .progress-bar { height:100%; background:linear-gradient(90deg,#E65100,#FF8F00); border-radius:99px; transition:width .5s; }
#screen-settings .steps-row { display:flex; gap:6px; margin-top:10px; flex-wrap:wrap; }
#screen-settings .step-pill { padding:4px 10px; border-radius:99px; font-size:11px; font-weight:700; background:#F3F4F6; color:#6B7280; cursor:pointer; border:1.5px solid #E5E7EB; }
#screen-settings .step-pill.active { background:#FFF3E0; color:#E65100; border-color:#E65100; }
#screen-settings .step-pill.done { background:#F0FDF4; color:#16A34A; border-color:#BBF7D0; }
#screen-settings .tab-bar { display:flex; background:#fff; border-bottom:2px solid #E5E7EB; position:sticky; top:0; z-index:5; }
#screen-settings .tab-btn { flex:1; padding:12px; font-family:inherit; font-size:13px; font-weight:800; border:none; background:none; cursor:pointer; color:#9CA3AF; border-bottom:3px solid transparent; margin-bottom:-2px; transition:all .15s; }
#screen-settings .tab-btn.active { color:#E65100; border-bottom-color:#E65100; }
#screen-settings .tab-pane { display:none; padding:0 0 80px; }
#screen-settings .tab-pane.active { display:block; }
#screen-settings .section-card { background:#fff; margin:12px 14px 0; border-radius:14px; padding:16px; border:1px solid #E5E7EB; }
#screen-settings .section-header { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
#screen-settings .section-icon { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; background:#FFF3E0; }
#screen-settings .section-title { font-size:14px; font-weight:800; color:#111; }
#screen-settings .section-subtitle { font-size:11px; color:#9CA3AF; font-weight:500; }
#screen-settings .field-label { font-size:11px; font-weight:700; color:#6B7280; margin-bottom:4px; margin-top:12px; }
#screen-settings .field-label:first-child { margin-top:0; }
#screen-settings input[type=text],
#screen-settings input[type=email],
#screen-settings input[type=tel],
#screen-settings input[type=number],
#screen-settings select,
#screen-settings textarea { width:100%; padding:10px 12px; border-radius:10px; border:1.5px solid #E5E7EB; font-family:inherit; font-size:13px; color:#111; background:#fff; box-sizing:border-box; }
#screen-settings input:focus,
#screen-settings select:focus,
#screen-settings textarea:focus { outline:none; border-color:#E65100; }
#screen-settings .toggle-row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid #F3F4F6; }
#screen-settings .toggle-row:last-child { border-bottom:none; }
#screen-settings .toggle-label { font-size:13px; font-weight:700; color:#374151; }
#screen-settings .toggle-sub { font-size:11px; color:#9CA3AF; margin-top:2px; }
#screen-settings .tog-wrap { width:44px; height:26px; border-radius:99px; background:#D1D5DB; position:relative; cursor:pointer; transition:background .25s; flex-shrink:0; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
#screen-settings .tog-wrap[data-on="true"] { background:#E65100; }
#screen-settings .tog-knob { position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:white; box-shadow:0 1px 4px rgba(0,0,0,.2); transition:left .25s; }
#screen-settings .tog-wrap[data-on="true"] .tog-knob { left:21px; }
#screen-settings .chip-row { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
#screen-settings .chip { padding:7px 14px; border-radius:99px; background:#F3F4F6; color:#374151; font-size:12px; font-weight:700; cursor:pointer; border:1.5px solid #E5E7EB; font-family:inherit; }
#screen-settings .chip.active { background:#FFF3E0; color:#E65100; border-color:#E65100; }
#screen-settings .svc-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid #F3F4F6; }
#screen-settings .svc-row:last-child { border-bottom:none; }
#screen-settings .cat-dot { width:12px; height:12px; border-radius:50%; flex-shrink:0; }
#screen-settings .svc-name { font-size:13px; font-weight:700; color:#111; flex:1; }
#screen-settings .avail-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; margin-top:8px; }
#screen-settings .av-cell { display:flex; flex-direction:column; align-items:center; gap:2px; }
#screen-settings .av-day { font-size:9px; font-weight:700; color:#9CA3AF; }
#screen-settings .av-slot { width:100%; padding:4px 0; border-radius:6px; background:#F3F4F6; border:1px solid #E5E7EB; font-size:8px; font-weight:700; color:#9CA3AF; text-align:center; cursor:pointer; }
#screen-settings .av-slot.on { background:#FFF3E0; color:#E65100; border-color:#E65100; }
#screen-settings .submit-btn { width:calc(100% - 28px); margin:16px 14px; padding:14px; background:#E65100; color:white; border:none; border-radius:14px; font-family:inherit; font-size:15px; font-weight:800; cursor:pointer; }
#screen-settings .review-item { display:flex; align-items:flex-start; gap:12px; padding:10px 0; border-bottom:1px solid #F3F4F6; }
#screen-settings .review-item:last-child { border-bottom:none; }
#screen-settings .review-check { width:20px; height:20px; border-radius:6px; border:2px solid #E5E7EB; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; }
#screen-settings .review-check.checked { background:#16A34A; border-color:#16A34A; color:white; }
#screen-settings .map-wrap { width:100%; height:160px; border-radius:10px; overflow:hidden; background:#E8F0FE; margin-top:8px; display:flex; align-items:center; justify-content:center; color:#9CA3AF; font-size:13px; }
#screen-settings .radius-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
#screen-settings input[type=range] { width:100%; accent-color:#E65100; }
#screen-settings .photo-wrap { width:72px; height:72px; border-radius:50%; background:#F3F4F6; border:2px dashed #E5E7EB; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:24px; overflow:hidden; }
#screen-settings .account-chips { display:flex; gap:8px; margin-top:6px; }




/* ── Carousel progress bar (Coupang style) ── */
.cat-carousel-bar-wrap {
  width: 100%;
  padding: 5px 0 6px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cat-carousel-track {
  width: 120px;
  height: 4px;
  background: #E5E7EB;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.cat-carousel-thumb {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 99px;
  background: #374151;
  transition: left 0.25s ease;
}

/* ── Missing OB classes ── */
#screen-settings .container { max-width:100%; padding:0; }
#screen-settings .field-group { display:flex; flex-direction:column; gap:10px; }
#screen-settings .field-input { width:100%; padding:10px 12px; border-radius:10px; border:1.5px solid #E5E7EB; font-family:inherit; font-size:13px; color:#111; background:#fff; box-sizing:border-box; }
#screen-settings .l1-field { display:flex; flex-direction:column; gap:4px; }
#screen-settings .l1-lbl { font-size:11px; font-weight:700; color:#6B7280; }
#screen-settings .l1-val { font-size:13px; font-weight:700; color:#111; }
#screen-settings .section-body { padding:0 4px; display:flex; flex-direction:column; gap:8px; }
#screen-settings .section-label { font-size:13px; font-weight:800; color:#111; margin-bottom:4px; }
#screen-settings .section-meta { font-size:11px; color:#9CA3AF; margin-top:2px; }
#screen-settings .section-sublabel { font-size:12px; font-weight:700; color:#374151; margin-bottom:6px; }
#screen-settings .section-badge { padding:3px 10px; border-radius:99px; font-size:11px; font-weight:800; display:inline-flex; align-items:center; gap:4px; }
#screen-settings .sb-green { background:#F0FDF4; color:#16A34A; border:1px solid #BBF7D0; }
#screen-settings .sb-orange { background:#FFF3E0; color:#E65100; border:1px solid #FED7AA; }
#screen-settings .sb-blue { background:#EFF6FF; color:#2563EB; border:1px solid #BFDBFE; }
#screen-settings .section-icon { width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
#screen-settings .si-orange { background:#FFF3E0; }
#screen-settings .si-green { background:#F0FDF4; }
#screen-settings .section-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
#screen-settings .divider { height:1px; background:#F3F4F6; margin:12px 0; }
#screen-settings .pref-row { display:flex; flex-direction:column; gap:6px; padding:12px 0; border-bottom:1px solid #F3F4F6; }
#screen-settings .pref-row:last-child { border-bottom:none; }
#screen-settings .pref-row-label { font-size:13px; font-weight:700; color:#374151; }
#screen-settings .pref-row-chips { display:flex; flex-wrap:wrap; gap:6px; }
#screen-settings .pref-chip { padding:7px 14px; border-radius:99px; font-size:12px; font-weight:700; cursor:pointer; border:1.5px solid #E5E7EB; background:#F3F4F6; color:#374151; font-family:inherit; transition:all .15s; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
#screen-settings .pref-chip.round { border-radius:99px; }
#screen-settings .pref-chip.square { border-radius:8px; }
#screen-settings .pchk.on { background:#FFF3E0; color:#E65100; border-color:#E65100; }
#screen-settings .check-item { display:flex; align-items:flex-start; gap:10px; padding:10px 0; border-bottom:1px solid #F3F4F6; }
#screen-settings .check-item:last-child { border-bottom:none; }
#screen-settings .check-box { width:22px; height:22px; border-radius:6px; border:2px solid #E5E7EB; flex-shrink:0; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:13px; font-weight:800; }
#screen-settings .check-box.checked { background:#16A34A; border-color:#16A34A; color:white; }
#screen-settings .cth { font-size:13px; font-weight:700; color:#374151; }
#screen-settings .cts { font-size:11px; color:#9CA3AF; margin-top:2px; }
#screen-settings .btn-save { padding:10px 16px; background:#F3F4F6; color:#374151; border:none; border-radius:10px; font-family:inherit; font-size:13px; font-weight:700; cursor:pointer; }
#screen-settings .btn-submit { padding:10px 20px; background:#E65100; color:white; border:none; border-radius:10px; font-family:inherit; font-size:13px; font-weight:800; cursor:pointer; }
#screen-settings .submit-bar { display:flex; align-items:center; gap:10px; padding:12px 16px; background:white; border-top:1px solid #E5E7EB; flex-shrink:0; }
#screen-settings .submit-info { flex:1; font-size:12px; color:#9CA3AF; font-weight:600; }
#screen-settings .slider-val { font-size:13px; font-weight:800; color:#E65100; }

#screen-settings .pref-chip.active { background:#FFF3E0 !important; color:#E65100 !important; border-color:#E65100 !important; }

#screen-settings .tog-wrap, #screen-settings .pref-chip, #screen-settings .check-box { pointer-events: auto; cursor: pointer; user-select: none; -webkit-user-select: none; }
#screen-settings .pref-chip.active { background:#FFF3E0 !important; color:#E65100 !important; border-color:#E65100 !important; }


/* ── Provider toggle buttons ── */
.prov-tog-wrap {
  width: 48px; height: 28px;
  border-radius: 99px;
  background: #D1D5DB;
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.prov-tog-wrap[data-on="true"] { background: #E65100; }
.prov-tog-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: left 0.25s;
}
.prov-tog-wrap[data-on="true"] .prov-tog-knob { left: 23px; }
.profile-setup-guidance[hidden],
#screen-verification .verification-upload-row[hidden],
#screen-verification .verification-submit[hidden] { display: none; }
.profile-setup-guidance { color: #111827; font-size: 11px; font-weight: 800; line-height: 1.5; }
.profile-setup-guidance p > span[aria-hidden="true"] { color: #D97706; }
.profile-setup-guidance p { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.profile-setup-guidance p + p { margin-top: 12px; }
.booking-commitment-sheet { width: 100%; max-width: 480px; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; background: #F5F6F7; border-radius: 24px 24px 0 0; color: #171923; }
.booking-commitment-sheet header { padding: 18px; text-align: center; flex-shrink: 0; }
.booking-commitment-sheet h2 { margin: 0; font-size: 18px; font-weight: 800; }
.booking-commitment-heading { margin: 12px 0 6px; font-size: 24px; line-height: 1.2; font-weight: 900; }
.booking-commitment-intro { margin: 0 0 20px; color: #62646B; font-size: 14px; }
.booking-commitment-card { border-radius: 18px; background: white; padding: 18px; font-size: 13px; }
.booking-commitment-person { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #E5E7EB; color: #62646B; }
.booking-commitment-person strong { display: block; color: #171923; font-size: 16px; margin-bottom: 4px; }
.booking-commitment-avatar { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #D8E9DE; color: #171923; font-size: 24px; }
.booking-commitment-card h4, .booking-commitment-warning h4 { font-size: 16px; margin: 18px 0 14px; font-weight: 800; }
.booking-commitment-label { color: #62646B; }
.booking-commitment-description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; margin: 6px 0 18px; }
.booking-commitment-card dl { margin: 0; }
.booking-commitment-card dl > div { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 12px; border-top: 1px solid #E5E7EB; padding: 14px 0; }
.booking-commitment-card dt { color: #62646B; }
.booking-commitment-card dd { margin: 0; overflow-wrap: anywhere; }
.booking-commitment-warning { border-radius: 18px; background: #EAECED; padding: 16px; margin-top: 16px; }
.booking-commitment-warning h4 { margin: 0 0 8px; }
.booking-commitment-warning ul { margin: 0; padding-left: 18px; color: #62646B; font-size: 12px; line-height: 1.5; }
.booking-commitment-warning li + li { margin-top: 6px; }
.booking-commitment-sheet footer { display: flex; gap: 12px; padding: 12px 18px max(16px, env(safe-area-inset-bottom)); background: white; flex-shrink: 0; border-top: 1px solid #E5E7EB; }
.booking-commitment-sheet footer button { flex: 1; border: 1px solid #202124; border-radius: 12px; padding: 14px; font: inherit; font-weight: 800; background: white; color: #171923; cursor: pointer; }
.booking-commitment-sheet footer #booking-commitment-confirm { background: #202124; color: white; }
.booking-commitment-sheet footer button:disabled { opacity: .5; cursor: wait; }
#booking-commitment-error { color: #B91C1C; font-size: 12px; }
