:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #f3f8f0;
  --ink: #18211d;
  --muted: #68746d;
  --line: #dfe8df;
  --line-strong: #c7d7ca;
  --green: #18864b;
  --green-2: #2fa85f;
  --green-soft: #e9f7ed;
  --coral: #ff6657;
  --coral-dark: #de4f43;
  --amber: #f5a623;
  --sky: #dff2ff;
  --shadow: 0 18px 45px rgba(24, 33, 29, 0.08);
  --radius: 8px;
  --sidebar: 222px;
  --profile: 338px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 244, 0.9)),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr) var(--profile);
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 35px rgba(24, 33, 29, 0.04);
  z-index: 4;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark,
.soft-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #cfe8d4;
  border-radius: var(--radius);
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand strong {
  display: block;
  color: var(--green);
  font-size: 29px;
  line-height: 0.95;
}

.brand small {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.post-task {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin: 28px 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 14px 22px rgba(24, 134, 75, 0.2);
  font-weight: 800;
}

.post-task svg {
  width: 20px;
  height: 20px;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  text-align: left;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.active {
  color: var(--green);
  background: #f2f8f0;
  outline: none;
}

.nav-item.active::before {
  position: absolute;
  left: -16px;
  width: 3px;
  height: 30px;
  background: var(--green);
  border-radius: 0 5px 5px 0;
  content: "";
}

.nav-item span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-badge,
.currency-chip {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.currency-chip {
  color: var(--green);
  background: #bfeecb;
}

.mobile-tabbar {
  display: none;
}

.mobile-tab {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 54px;
  padding: 7px 4px 6px;
  color: #7a847d;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
}

.mobile-tab svg {
  width: 21px;
  height: 21px;
}

.mobile-tab span:not(.nav-badge) {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-tab:hover,
.mobile-tab:focus-visible,
.mobile-tab.active {
  color: var(--green);
  background: #f2f8f0;
  outline: none;
}

.mobile-tab .mobile-badge {
  position: absolute;
  top: 2px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
}

.sidebar-bottom {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.guarantee-panel,
.wallet-panel {
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid #deecdf;
  border-radius: var(--radius);
}

.guarantee-panel .soft-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.guarantee-panel strong,
.wallet-panel strong {
  display: block;
  font-size: 15px;
}

.guarantee-panel strong {
  color: var(--green);
}

.guarantee-panel p,
.wallet-panel span {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.guarantee-panel a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.wallet-panel {
  background: var(--surface);
}

.wallet-panel strong {
  margin-bottom: 10px;
  font-size: 19px;
}

.wallet-panel button {
  width: 100%;
  min-height: 34px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
}

.workspace {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 24px 24px 22px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.booking-search {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(230px, 1fr) minmax(132px, 148px) minmax(118px, 128px) minmax(132px, 148px);
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(24, 33, 29, 0.04);
  overflow: hidden;
}

.search-segment {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.search-segment svg {
  flex: 0 0 auto;
  color: var(--green);
}

.search-segment select,
.search-segment input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 13px;
}

.search-segment input::placeholder,
textarea::placeholder,
input::placeholder {
  color: #8a948f;
}

.find-button,
.request-submit {
  min-height: 48px;
  color: #fff;
  background: var(--coral);
  border: 0;
  font-weight: 900;
}

.find-button:hover,
.find-button:focus-visible,
.request-submit:hover,
.request-submit:focus-visible {
  background: var(--coral-dark);
  outline: none;
}

.request-submit.small {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.protect-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #cae6cf;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.wallet-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.wallet-shortcut svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.wallet-shortcut strong {
  color: var(--green);
  font-size: 12px;
}

.icon-button,
.icon-only {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon-button span {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 6px 0 4px;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.user-menu.signed-out {
  color: var(--green);
  border-color: #cae6cf;
}

.user-menu img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.service-strip,
.request-panel,
.helpers-panel,
.map-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.service-strip {
  padding: 14px 10px 16px;
}

.section-heading,
.request-header,
.list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-heading {
  padding: 0 2px 12px;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  color: #111814;
}

h1 {
  font-size: 16px;
  line-height: 1.25;
}

h2 {
  font-size: 16px;
  line-height: 1.3;
}

.section-heading p,
.list-header p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 900;
}

.service-grid {
  display: grid;
  /* auto-fill so the row always fits its container instead of forcing a
     fixed 10-column width that overflowed the workspace column. */
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.service-card {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 82px;
  padding: 10px 6px;
  color: #fff;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Photo card — web version */
.service-card.has-photo {
  background-image: var(--card-photo);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-color: transparent;
}
.service-card.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 0;
  pointer-events: none;
}
.service-card.has-photo > * {
  position: relative;
  z-index: 1;
}
.service-card.has-photo > svg {
  display: none;
}
.service-card.has-photo span {
  max-width: none;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  font-size: 10px;
}
.service-card.has-photo .service-card-price {
  color: rgba(255,255,255,0.88);
  background: rgba(0,0,0,0.28);
  border-radius: 999px;
  padding: 1px 6px;
}

.service-card.active,
.service-card:hover,
.service-card:focus-visible {
  background: var(--green-soft);
  border-color: #a7d9b4;
  box-shadow: inset 0 0 0 1px #b7e3c2;
  outline: none;
}
.service-card.has-photo.active,
.service-card.has-photo:hover,
.service-card.has-photo:focus-visible {
  background-image: var(--card-photo);
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.request-panel {
  padding: 14px;
}

.request-header span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.request-header > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.request-form {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(240px, 1.4fr) minmax(180px, 1fr) minmax(150px, 0.85fr) minmax(145px, 0.85fr) minmax(150px, 0.9fr);
  gap: 12px;
  margin-top: 12px;
}

.request-form label,
.message-card label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.request-form label > span,
.message-card label > span {
  color: #303933;
  font-size: 12px;
  font-weight: 800;
}

.request-form select,
.request-form input,
.request-form textarea,
.message-card textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
}

.request-form select,
.request-form input {
  min-height: 42px;
  padding: 0 12px;
}

.request-form textarea,
.message-card textarea {
  min-height: 42px;
  resize: vertical;
  padding: 12px;
}

.request-form textarea:focus,
.request-form select:focus,
.request-form input:focus,
.message-card textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 134, 75, 0.1);
}

.detail-field {
  position: relative;
}

.address-field,
.access-field {
  grid-column: span 2;
}

.detail-field small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8a948f;
  font-size: 10px;
}

.secure-note {
  display: flex;
  grid-column: 1 / span 3;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.secure-note svg {
  color: var(--green);
}

.request-submit {
  grid-column: 5 / span 2;
  align-self: end;
  border-radius: 6px;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(340px, 0.92fr);
  gap: 14px;
}

.helpers-panel {
  min-width: 0;
  padding: 14px;
}

.list-header {
  align-items: center;
}

.filters {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.filter-button,
.filters select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.filters select {
  max-width: 164px;
}

.helper-list {
  display: grid;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.helper-row {
  display: grid;
  grid-template-columns: 48px minmax(145px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  padding: 10px 12px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.helper-row:last-child {
  border-bottom: 0;
}

.helper-row:hover,
.helper-row:focus-visible,
.helper-row.active {
  background: #fbfef9;
  outline: none;
}

.helper-row.active {
  box-shadow: inset 3px 0 0 var(--green);
}

.avatar,
.initial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.initial-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: #326a5e;
  font-size: 13px;
  font-weight: 900;
}

.helper-main {
  min-width: 0;
}

.helper-main strong,
.profile-name strong {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
}

.verified-dot {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.helper-main p,
.helper-meta,
.price-block span,
.profile-sub,
.about-text,
.response-box small,
.payment-note {
  color: var(--muted);
  font-size: 12px;
}

.helper-main p {
  margin-top: 3px;
}

.helper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.helper-meta .star {
  color: var(--amber);
  font-weight: 900;
}

.availability-pill,
.tag,
.day-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #cfe9d3;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.price-block {
  display: grid;
  justify-items: start;
}

.price-block strong {
  font-size: 14px;
}

.view-profile {
  min-width: 92px;
  min-height: 34px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.view-profile:hover,
.view-profile:focus-visible,
.wallet-panel button:hover,
.wallet-panel button:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.more-helpers {
  display: block;
  width: fit-content;
  margin: 11px auto 0;
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 900;
}

.map-panel {
  position: relative;
  min-height: 354px;
  overflow: hidden;
}

.map-panel img {
  width: 100%;
  height: 100%;
  min-height: 354px;
  object-fit: cover;
  display: block;
}

.map-tabs {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(24, 33, 29, 0.1);
}

.map-tabs button {
  min-width: 52px;
  min-height: 30px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.map-tabs button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 12px rgba(24, 33, 29, 0.11);
}

.map-control,
.locate-button {
  position: absolute;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(24, 33, 29, 0.1);
}

.zoom-in {
  bottom: 86px;
}

.zoom-out {
  bottom: 52px;
}

.locate-button {
  bottom: 14px;
}

.map-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 8px 4px 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(24, 33, 29, 0.12);
}

.map-marker span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.map-marker strong {
  font-size: 12px;
}

.map-marker.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 134, 75, 0.13), 0 12px 24px rgba(24, 33, 29, 0.14);
}

.marker-1 {
  left: 38%;
  top: 21%;
}

.marker-2 {
  left: 43%;
  top: 42%;
}

.marker-3 {
  left: 14%;
  top: 54%;
}

.marker-4 {
  right: 25%;
  bottom: 34%;
}

.map-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  min-width: 190px;
  padding: 11px 17px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(24, 33, 29, 0.1);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  padding: 8px 4px 0;
}

.trust-row div {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 0;
}

.trust-row span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
}

.trust-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-row small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 35px rgba(24, 33, 29, 0.04);
}

.recommend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.recommend-header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.profile-body {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: start;
}

.profile-summary .avatar,
.profile-summary .initial-avatar {
  width: 82px;
  height: 82px;
}

.save-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.profile-name {
  min-width: 0;
}

.profile-name strong {
  font-size: 18px;
}

.profile-sub {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.badge-row,
.service-tags,
.day-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag.gold {
  color: #a36100;
  background: #fff4df;
  border-color: #f5d58b;
}

.response-box,
.booking-status {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  color: var(--green);
  background: linear-gradient(180deg, #f1fbf1, #f7fff8);
  border: 1px solid #cae6cf;
  border-radius: var(--radius);
}

.response-box svg,
.booking-status svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.response-box strong,
.booking-status strong {
  display: block;
  font-size: 13px;
}

.response-box small,
.booking-status small {
  display: block;
  margin-top: 3px;
}

.profile-section {
  display: grid;
  gap: 9px;
}

.profile-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  text-transform: none;
}

.helper-fact-list {
  display: grid;
  gap: 2px;
}

.helper-fact-row {
  display: grid;
  grid-template-columns: 18px minmax(84px, 0.32fr) minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.helper-fact-row:last-child {
  border-bottom: 0;
}

.helper-fact-row svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.helper-fact-row span {
  color: var(--muted);
  font-size: 12px;
}

.helper-fact-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.helper-service-breakdown {
  display: grid;
  gap: 10px;
}

.helper-service-row {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.profile-section .helper-service-row {
  padding: 12px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.helper-service-row:first-child {
  border-top: 0;
}

.profile-section .helper-service-row:first-child {
  border-top: 1px solid var(--line);
}

.helper-service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.helper-service-top h4 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 13px;
}

.helper-service-top span,
.helper-service-meta,
.helper-service-row blockquote small {
  color: var(--muted);
  font-size: 12px;
}

.helper-service-top strong {
  max-width: 46%;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.helper-service-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.helper-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.helper-service-row blockquote {
  margin: 0;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  line-height: 1.45;
}

.helper-service-row blockquote small {
  display: block;
  margin-top: 5px;
}

.about-text {
  line-height: 1.55;
}

.see-more {
  width: fit-content;
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 900;
}

.price-lines {
  display: grid;
  gap: 12px;
  padding-top: 3px;
}

.price-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.price-lines strong {
  color: var(--ink);
  font-size: 14px;
}

.profile-actions {
  display: grid;
  gap: 9px;
}

.book-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  color: #fff;
  background: var(--coral);
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

.message-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 900;
}

.book-button:hover,
.book-button:focus-visible {
  background: var(--coral-dark);
  outline: none;
}

.message-button:hover,
.message-button:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 15px;
  color: #fff;
  background: #1b3025;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(24, 33, 29, 0.24);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.message-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 33, 29, 0.32);
}

.message-modal.hidden {
  display: none;
}

.message-card {
  position: relative;
  display: grid;
  gap: 13px;
  width: min(460px, 100%);
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(24, 33, 29, 0.22);
}

.auth-card {
  width: min(440px, 100%);
}

.booking-card {
  width: min(560px, 100%);
}

.notification-card {
  width: min(520px, 100%);
}

.notification-toolbar {
  display: flex;
  justify-content: flex-end;
}

.notification-list {
  display: grid;
  gap: 8px;
  max-height: min(520px, 58vh);
  overflow: auto;
  padding-right: 2px;
}

.notification-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: #fbfdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notification-row:hover,
.notification-row:focus-visible {
  border-color: #b8d9bf;
  outline: none;
}

.notification-row.unread {
  background: #f1fbf1;
  border-color: #cae6cf;
}

.notification-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
}

.notification-row > span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.notification-row strong,
.notification-row small,
.notification-row em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.notification-row small {
  color: var(--muted);
  line-height: 1.4;
}

.notification-row em {
  color: #7b8780;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.notification-empty {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 28px 14px;
  color: var(--muted);
  text-align: center;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notification-empty svg {
  color: var(--green);
}

.booking-confirmation {
  display: grid;
  gap: 12px;
}

.booking-summary-helper {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.booking-summary-helper div {
  display: grid;
  gap: 3px;
}

.booking-summary-helper span,
.booking-summary-grid span,
.booking-detail-preview span,
.booking-escrow-note small {
  color: var(--muted);
  font-size: 12px;
}

.booking-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.booking-summary-grid div,
.booking-detail-preview,
.booking-escrow-note {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.booking-summary-grid strong,
.booking-detail-preview p {
  color: var(--ink);
}

.booking-detail-preview p {
  margin: 0;
  line-height: 1.45;
}

.booking-escrow-note {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: var(--green);
  background: linear-gradient(180deg, #f1fbf1, #f7fff8);
  border-color: #cae6cf;
}

.booking-escrow-note.warning {
  color: #9a5a00;
  background: #fff7e8;
  border-color: #f1d199;
}

.booking-confirm-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.request-submit:disabled,
.outline-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  background: #f3f8f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.auth-tabs button {
  min-height: 36px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.auth-tabs button.active {
  color: var(--green);
  background: #fff;
  box-shadow: 0 6px 14px rgba(24, 33, 29, 0.08);
}

.auth-form {
  display: grid;
  gap: 11px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form label span {
  color: #303933;
  font-size: 12px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
}

.message-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
}

.chat-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chat-bubble {
  width: fit-content;
  max-width: 86%;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.chat-bubble.helper {
  color: #0e5f38;
  background: var(--green-soft);
  border-color: #ccebd3;
}

.chat-bubble.mine {
  color: #12301f;
  background: #e8f7ed;
  border-color: #bde3c8;
}

.chat-bubble.system {
  align-self: center;
  color: var(--muted);
  background: #fff;
  border-style: dashed;
}

.app-view {
  display: none;
  align-content: start;
  gap: 14px;
  /* Grid children default to min-width:auto, which let wide content (the
     service tile row) push this past the workspace column and slide under
     the helper panel. Allow it to shrink to its column. */
  min-width: 0;
}

.app-view.active {
  display: grid;
}

.app-view > * {
  min-width: 0;
}

.view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.view-heading h1 {
  margin-top: 4px;
  font-size: 22px;
}

.view-heading p,
.growth-panel p,
.wallet-card p,
.big-wallet-card p,
.provider-summary p,
.support-card p,
.empty-state p,
.task-card p,
.timeline-content p,
.review-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  padding: 0 8px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #cae6cf;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.outline-action:hover,
.outline-action:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.outline-action.small {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.outline-action.danger {
  color: #a33b2d;
  border-color: #f0c7bf;
  background: #fff8f6;
}

.outline-action:disabled {
  color: var(--muted);
  background: #f4f6f2;
  border-color: var(--line);
  cursor: not-allowed;
}

.growth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #f7fff7, #fff9f1);
  border: 1px solid #dbead9;
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.growth-panel h2 {
  margin: 8px 0 6px;
  font-size: 19px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.task-card,
.timeline-card,
.wallet-card,
.big-wallet-card,
.provider-summary,
.profile-hero-card,
.profile-info-card,
.verification-card,
.support-card,
.saved-card,
.review-card,
.provider-form,
.review-form,
.payments-list,
.thread-list,
.conversation-panel,
.empty-state {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.stat-card {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.stat-card span,
.task-money span,
.timeline-date span,
.payment-row small,
.conversation-header span,
.thread-item small,
.saved-card small,
.review-card small,
.form-footnote {
  color: var(--muted);
  font-size: 12px;
}

.stat-card strong {
  font-size: 24px;
}

.task-board,
.booking-timeline,
.saved-grid,
.review-list,
.support-grid {
  display: grid;
  gap: 12px;
}

.task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.35fr) minmax(140px, auto);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.task-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.task-main h2,
.timeline-content h2 {
  font-size: 16px;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.job-info-grid,
.job-progress-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.job-info-grid span,
.job-progress-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  background: #f8fbf8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.job-info-grid svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.job-info-grid strong,
.job-progress-meta strong {
  color: var(--ink);
}

.job-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 10px;
}

.job-photo-grid figure {
  display: grid;
  gap: 6px;
  margin: 0;
}

.job-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7faf6;
}

.job-photo-grid figcaption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.photo-upload-row {
  display: grid;
  gap: 7px;
}

.photo-upload-row label {
  cursor: pointer;
}

.photo-input {
  display: none;
}

.danger-text {
  color: #a23f35 !important;
  background: #fff2f1 !important;
  border-color: #f0c8c2 !important;
}

.task-helper {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.task-helper span {
  color: var(--muted);
  font-size: 12px;
}

.task-money {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.task-money strong {
  font-size: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 23px;
  padding: 0 9px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #cfe9d3;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.status-requested {
  color: #9a5b04;
  background: #fff5df;
  border-color: #efd28e;
}

.status-pending {
  color: #9a5b04;
  background: #fff5df;
  border-color: #efd28e;
}

.status-en-route {
  color: #226381;
  background: #e9f7ff;
  border-color: #bfe1f1;
}

.status-completed {
  color: #4e5a54;
  background: #f1f4f0;
  border-color: #d8e0d8;
}

.status-verified {
  color: var(--green);
  background: var(--green-soft);
  border-color: #cfe9d3;
}

.status-failed {
  color: #b23b31;
  background: #fff0ee;
  border-color: #f0c5bf;
}

.booking-timeline {
  position: relative;
}

.timeline-card {
  display: grid;
  grid-template-columns: 120px 18px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.timeline-date {
  display: grid;
  align-content: start;
  gap: 4px;
}

.timeline-line {
  width: 2px;
  min-height: 100%;
  background: linear-gradient(var(--green), var(--line));
  border-radius: 999px;
  justify-self: center;
}

.timeline-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.timeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
}

.thread-list {
  display: grid;
  align-content: start;
  overflow: hidden;
}

.thread-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 11px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.thread-item:last-child {
  border-bottom: 0;
}

.thread-item.active,
.thread-item:hover,
.thread-item:focus-visible {
  background: #fbfef9;
  outline: none;
}

.thread-item span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.thread-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-item em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-panel {
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr) auto;
  min-height: 500px;
  overflow: hidden;
}

.conversation-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.conversation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.conversation-header div {
  display: grid;
  gap: 3px;
}

.conversation-stream {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  background: #f7faf6;
}

.conversation-stream .chat-bubble.mine {
  align-self: flex-end;
}

.chat-bubble small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.message-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.message-compose input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
}

.saved-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.saved-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.saved-card .avatar,
.saved-card .initial-avatar {
  width: 54px;
  height: 54px;
}

.saved-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.saved-card span {
  color: var(--muted);
  font-size: 13px;
}

.save-button.saved {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.finance-layout,
.review-layout,
.support-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.4fr) minmax(0, 1fr);
  gap: 14px;
}

.wallet-card,
.big-wallet-card,
.provider-summary,
.profile-hero-card,
.profile-info-card,
.verification-card,
.provider-form,
.review-form {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.wallet-card h2,
.big-wallet-card h2,
.provider-summary h2,
.profile-hero-card h2,
.verification-card h2,
.provider-form h2 {
  margin: 0;
  font-size: 18px;
}

.customer-profile-layout,
.helper-public-layout {
  display: grid;
  gap: 14px;
}

.profile-hero-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 150px;
}

.profile-avatar-xl,
.avatar.xl,
.initial-avatar.xl {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.avatar.xl {
  object-fit: cover;
}

.profile-hero-card p,
.profile-info-card p {
  max-width: 720px;
  color: var(--muted);
}

.badge-row.compact {
  margin-top: 10px;
}

.profile-cta-stack {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.profile-stat-grid span,
.profile-stat-grid small {
  color: var(--muted);
  font-size: 12px;
}

.profile-stat-grid strong {
  font-size: 22px;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-list {
  display: grid;
  gap: 8px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list span {
  color: var(--muted);
  font-size: 12px;
}

.contact-verification-card {
  gap: 14px;
}

.verification-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.verification-status-grid article {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.verification-status-grid span,
.verification-status-grid small {
  color: var(--muted);
  font-size: 12px;
}

.inline-form-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.inline-form-grid label {
  display: grid;
  gap: 6px;
}

.inline-form-grid label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.inline-form-grid input,
.inline-form-grid select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.code-confirm-grid {
  grid-template-columns: minmax(180px, 1fr) auto;
}

.mini-helper-row,
.public-review-list {
  display: grid;
  gap: 10px;
}

.mini-helper-row button,
.public-review-list article {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-helper-row button span {
  display: grid;
  gap: 3px;
}

.mini-helper-row small,
.public-review-list small {
  color: var(--muted);
}

.public-review-list article {
  display: grid;
}

.public-review-list strong {
  color: var(--amber);
}

.section-heading.tight {
  margin-bottom: 2px;
}

.saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.money-grid span {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.money-grid strong {
  font-size: 17px;
}

.payout-list {
  display: grid;
  gap: 8px;
}

.payout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  background: #fbfdf9;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.payout-row span:first-child {
  display: grid;
  gap: 3px;
}

.payout-row small {
  color: var(--muted);
}

.payments-list {
  display: grid;
  overflow: hidden;
}

.payment-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.payment-row:last-child {
  border-bottom: 0;
}

.payment-row > span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
}

.payment-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.review-form label,
.provider-form label {
  display: grid;
  gap: 6px;
}

.review-form label span,
.provider-form label span {
  color: #303933;
  font-size: 12px;
  font-weight: 800;
}

.review-form select,
.review-form textarea,
.provider-form input,
.provider-form select,
.provider-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
}

.review-form textarea,
.provider-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.review-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.review-card div {
  display: grid;
  gap: 5px;
}

.review-card span {
  color: var(--amber);
  font-size: 13px;
}

.wallet-dashboard {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
}

.big-wallet-card strong {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wallet-topup-field {
  display: grid;
  gap: 8px;
  max-width: 260px;
  margin: 18px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wallet-topup-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}

.identity-form {
  display: grid;
  gap: 10px;
}

.identity-form label {
  display: grid;
  gap: 6px;
}

.identity-form label span {
  color: #303933;
  font-size: 12px;
  font-weight: 800;
}

.identity-form input,
.identity-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.identity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.identity-summary div {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.identity-summary span {
  color: var(--muted);
  font-size: 12px;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compliance-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
}

.compliance-list {
  align-content: start;
}

.compliance-section {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.compliance-section + .compliance-section {
  margin-top: 12px;
}

.compliance-section > h2 {
  margin: 0;
  padding: 13px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.compliance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.35fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.dispute-row {
  background: linear-gradient(180deg, #fff, #fffaf9);
}

.compliance-row:last-child {
  border-bottom: 0;
}

.launch-check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.launch-check-row:last-child {
  border-bottom: 0;
}

.launch-check-row h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.launch-check-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.provider-snapshot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--line);
}

.provider-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  min-width: 110px;
}

.provider-chip strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.provider-chip small {
  font-size: 13px;
  color: inherit;
}

.provider-chip.ok {
  border-color: rgba(80, 200, 120, 0.4);
  background: rgba(80, 200, 120, 0.08);
}

.provider-chip.warn {
  border-color: rgba(255, 180, 60, 0.4);
  background: rgba(255, 180, 60, 0.08);
}

.account-security-card {
  border: 1px solid rgba(255, 100, 100, 0.25);
}

.account-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.account-security-actions .outline-action.danger {
  border-color: rgba(255, 80, 80, 0.5);
  color: #ff6f6f;
}

.global-loading {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.92);
  color: #fff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.global-loading.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.global-loading-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gg-spin 0.7s linear infinite;
}

@keyframes gg-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
 * NATIVE vs WEB differentiation
 * ============================================================
 * .gg-native is applied when the app runs inside Capacitor (iOS/Android).
 * .gg-web is applied when running in a normal browser.
 * Use these to give the phone app a noticeably more app-like shell.
 * ========================================================== */

/* --- Native phone app shell: minimal topbar, safe-area, immersive --- */
.gg-native body,
body.gg-native {
  background: #f6f7f8;
  /* Kill the 300ms tap delay globally */
  touch-action: manipulation;
  /* No text selection anywhere in the app shell */
  -webkit-user-select: none;
  user-select: none;
  /* Remove iOS blue tap flash on every element */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  /* Stop iOS from auto-adjusting font sizes */
  -webkit-text-size-adjust: 100%;
}

/* Allow text selection inside inputs and textareas */
.gg-native input,
.gg-native textarea,
.gg-native [contenteditable] {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Kill scrollbars everywhere on native */
.gg-native * {
  scrollbar-width: none !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
.gg-native *::-webkit-scrollbar { display: none !important; }

/* Every button/tappable gets instant touch response */
.gg-native button,
.gg-native [role="button"],
.gg-native a,
.gg-native .service-card,
.gg-native .helper-card,
.gg-native .chip,
.gg-native .tab-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  cursor: pointer;
}

/* GPU-composite the scroll container so the OS scroll thread drives it */
.gg-native .app-view {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: scroll-position;
}

/* The desktop topbar (search filters, multi-action row) is web-only. */
.gg-native .topbar { display: none !important; }
.gg-native .booking-search { display: none !important; }

/* The native-topbar is hidden on web, shown on native. */
.native-topbar { display: none; }
.gg-native .native-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 10px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  min-height: calc(56px + env(safe-area-inset-top));
}
.native-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.native-topbar-logo { width: 32px; height: 32px; }
.native-topbar-logo svg { width: 100%; height: 100%; }
.native-topbar-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.native-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.native-topbar-wallet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.native-topbar-wallet svg { width: 14px; height: 14px; color: #18864b; }
.native-topbar-wallet strong { font-size: 13px; font-weight: 700; }
.native-topbar-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.native-topbar-icon svg { width: 18px; height: 18px; }
.native-topbar-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

/* Native app: strip the double safe-area gap on the shell —
   native-topbar already accounts for env(safe-area-inset-top) */
/* ── NATIVE VIEWPORT LOCK ──────────────────────────────────────
   Flex-column shell: html/body locked, app-shell is the one
   full-height flex column. Only .app-view.active scrolls.
   ────────────────────────────────────────────────────────────── */
html.gg-native {
  height: 100dvh;
  overflow: hidden;
}
body.gg-native {
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

/* app-shell: full viewport, flex column (topbar → content → tabbar) */
.gg-native .app-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  padding-top: 0;
}

/* workspace fills the space between topbar and tabbar */
.gg-native .workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

/* Native topbar: does NOT scroll — stays at top of flex column */
.gg-native .native-topbar {
  flex-shrink: 0;
  position: relative !important;
  top: auto !important;
  z-index: 20;
}

/* Native tabbar: stays at bottom of flex column */
.gg-native .mobile-tabbar {
  flex-shrink: 0;
  position: relative !important;
  padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important;
  background: #ffffff !important;
  border-top: 1px solid var(--line);
}

/* Inactive views: hidden */
.gg-native .app-view {
  display: none;
  padding-top: 0;
}

/* Active view: fills remaining flex space — ONLY this area scrolls */
.gg-native .app-view.active {
  display: block;
  flex: 1;
  min-height: 0;
  overflow-y: scroll;
  /* Lock horizontal drift — without this, any child slightly wider than the
     viewport lets the page slide sideways during vertical scroll (the
     "off-frame / shaky" scrolling). Inner rows with their own overflow-x
     scroll still work. */
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  height: auto;
  padding-top: 12px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: scroll-position;
}

/* No service-strip section heading h1 on native — the native-topbar IS the brand */
.gg-native .service-strip .section-heading h1 {
  font-size: 22px;
  margin-top: 4px;
}



/* No web-only banners on native */
.gg-native .web-only-banner { display: none !important; }

/* ── Job Board ── */
.job-board-filters { padding: 12px 16px 0; }
.job-board-filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.job-board-filter-row::-webkit-scrollbar { display: none; }
.job-board-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.job-board-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-board-card.job-urgent { border-color: #e67e22; background: #fffbf5; }
.jb-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jb-service-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--light-green); color: var(--green);
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.jb-urgent-badge {
  font-size: 11px; font-weight: 700; color: #e67e22;
  background: #fdebd0; padding: 3px 9px; border-radius: 20px;
}
.jb-real-badge {
  font-size: 11px; font-weight: 700; color: #2980b9;
  background: #d6eaf8; padding: 3px 9px; border-radius: 20px;
}
.jb-title { font-size: 15px; font-weight: 750; color: var(--ink); margin: 0; line-height: 1.3; }
.jb-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.jb-meta span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.jb-accept-btn { margin-top: 4px; font-size: 14px; padding: 10px 16px; border-radius: 10px; }

/* ── Payout Speed Selector ── */
.payout-speed-selector { margin-bottom: 16px; }
.payout-speed-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.payout-speed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payout-speed-option { cursor: pointer; }
.payout-speed-option input[type="radio"] { display: none; }
.payout-speed-card {
  border: 2px solid var(--line); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .15s, background .15s;
}
.payout-speed-option input:checked + .payout-speed-card {
  border-color: var(--green); background: var(--light-green);
}
.payout-speed-card strong { font-size: 14px; color: var(--ink); }
.payout-speed-card span { font-size: 11px; color: var(--muted); }
.payout-fee { font-size: 12px; font-weight: 700; color: #e74c3c; margin-top: 4px; }
.payout-fee.free { color: var(--green); }

/* ── Payment Methods Grid ── */
.payment-methods { margin-bottom: 16px; }
.payment-methods-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.payment-method-btn {
  border: 2px solid var(--line); border-radius: 12px; padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.payment-method-btn.active { border-color: var(--green); background: var(--light-green); }
.pm-logo { font-size: 12px; font-weight: 800; line-height: 1; }
.pm-paystack { color: #00c3f7; }
.pm-opay    { color: #1b5e20; }
.pm-palmpay { color: #d50000; }
.pm-moniepoint { color: #ff6f00; }
.pm-bank    { color: var(--ink); display: flex; align-items: center; }
.pm-note    { font-size: 10px; color: var(--muted); text-align: center; }

/* ── Voice Note Button ── */
.message-compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.voice-note-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); cursor: pointer; transition: background .15s, color .15s;
}
.voice-note-btn:hover, .voice-note-btn:focus { background: var(--light-green); color: var(--green); border-color: var(--green); }
.message-compose input { flex: 1; }

/* ── Landmark hint ── */
.landmark-hint { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

/* ============================================================
   NATIVE HOME REDESIGN
   All rules scoped to .gg-native — web layout is untouched.
   ============================================================ */

/* -- 1. Strip web-only sections -- */
.gg-native .request-panel   { display: none !important; }
.gg-native .trust-banner    { display: none !important; }
.gg-native .map-panel       { display: none !important; }
.gg-native .filters         { display: none !important; }
.gg-native #moreHelpersButton { display: none !important; }
.gg-native .profile-panel   { display: none !important; }
.gg-native aside.sidebar    { display: none !important; }

/* -- 2. results-grid becomes a single-column stack -- */
.gg-native .results-grid {
  display: block !important;
}
.gg-native .helpers-panel {
  padding: 0 !important;
}

/* -- 3. Section heading — bolder, app style -- */
.gg-native .service-strip .section-heading {
  padding: 8px 16px 10px;
  flex-wrap: nowrap;
  align-items: center;
}
.gg-native .service-strip .section-heading h1 {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 2px;
}
.gg-native .service-strip .section-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* -- 4. Service grid: 2-column large app tiles -- */
.gg-native .service-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 11px !important;
  padding: 0 16px 20px !important;
}

.gg-native .service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  min-height: 116px !important;
  padding: 14px !important;
  border-radius: 18px !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  text-align: left !important;
  gap: 4px !important;
  box-shadow: 0 3px 14px rgba(0,0,0,0.10) !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Service card color palette */
/* Safety net: any service beyond the hand-tuned palette still gets a branded
   tile instead of rendering blank. Keep this LAST so specific rules win. */
/* ── Photo cards (has-photo class) ──────────────────────────────────────── */
/* Override nth-child gradients with the real photo */
.gg-native .service-card.has-photo {
  background-image: var(--card-photo) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
/* Dark bottom gradient overlay for text legibility */
.gg-native .service-card.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}
/* Lift children above the overlay */
.gg-native .service-card.has-photo > * {
  position: relative;
  z-index: 1;
}
/* Hide SVG icon — photo tells the story */
.gg-native .service-card.has-photo > svg {
  display: none !important;
}
/* Ensure text is white and legible over any photo */
.gg-native .service-card.has-photo span {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}
.gg-native .service-card.has-photo .service-card-price {
  color: rgba(255,255,255,0.88) !important;
  background: rgba(0,0,0,0.28) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Selected / active state */
.gg-native .service-card.has-photo.active::after,
.gg-native .service-card.has-photo:active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255,255,255,0.7);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

/* Icon */
.gg-native .service-card svg {
  width: 30px !important;
  height: 30px !important;
  color: rgba(255,255,255,0.92) !important;
  margin-bottom: auto !important;
}

/* Card name */
.gg-native .service-card span {
  font-size: 14px !important;
  font-weight: 760 !important;
  color: #fff !important;
  max-width: none !important;
  line-height: 1.2 !important;
}

/* Price chip */
.gg-native .service-card-price {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.8) !important;
  background: rgba(255,255,255,0.18) !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  display: inline-block !important;
}

/* Tap / active press */
.gg-native .service-card.active,
.gg-native .service-card:active {
  transform: scale(0.96) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14) !important;
}
.gg-native .service-card.active .service-card-price,
.gg-native .service-card:active .service-card-price {
  color: rgba(255,255,255,0.8) !important;
}

/* -- 5. List header ("Available helpers near you") — native style -- */
.gg-native .list-header {
  padding: 4px 16px 10px !important;
}
.gg-native .list-header h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px;
  color: var(--ink) !important;
  margin: 0 0 2px;
}
.gg-native .list-header p {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin: 0;
}

/* -- 6. Helper list: horizontal swipe carousel -- */
.gg-native .helper-list {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 4px 16px 20px !important;
  scrollbar-width: none !important;
}
.gg-native .helper-list::-webkit-scrollbar { display: none !important; }

/* -- 7. Helper card: portrait tile -- */
.gg-native .helper-card {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  min-width: 152px !important;
  width: 152px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
.gg-native .helper-card:active {
  transform: scale(0.97) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.gg-native .helper-card-photo {
  width: 100% !important;
  height: 136px !important;
  border-radius: 0 !important;
  flex-shrink: 0;
}
.gg-native .helper-card-photo img,
.gg-native .helper-card-photo .avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  font-size: 40px !important;
  line-height: 136px !important;
}

.gg-native .helper-card-body {
  padding: 10px !important;
  gap: 2px !important;
  flex: 1;
}

.gg-native .helper-card-head {
  flex-wrap: nowrap !important;
}
.gg-native .helper-card-head strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gg-native .helper-rating {
  font-size: 12px !important;
}

.gg-native .helper-card-role {
  font-size: 11.5px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gg-native .helper-card-badges { display: none !important; }

.gg-native .helper-card-foot {
  margin-top: 6px !important;
}
.gg-native .helper-card-price strong {
  font-size: 15px !important;
}
.gg-native .helper-card-cta { display: none !important; }

/* --- Web shell: add a 'Get the app' nudge banner at the very top --- */
body.gg-web::before {
  content: "📱  Get Gidigigs on Android & iOS — same wallet, faster checkout";
  display: block;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(90deg, #18864b, #1aa057);
  color: #fff;
  letter-spacing: 0.01em;
}
@media (max-width: 520px) {
  body.gg-web::before { font-size: 11px; padding: 7px 10px; }
}

/* === Bottom sheet (native filter, etc.) === */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  pointer-events: auto;
}
.bottom-sheet.hidden { display: none !important; }
.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  animation: ggFadeIn 0.18s ease-out;
}
.bottom-sheet-panel {
  position: relative;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 12px 18px calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.2);
  animation: ggSheetUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottom-sheet-handle {
  display: block;
  width: 40px;
  height: 4px;
  margin: 6px auto 14px;
  background: #d6d8db;
  border-radius: 999px;
}
.bottom-sheet-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}
.bottom-sheet-section {
  margin-bottom: 16px;
}
.bottom-sheet-section > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
@keyframes ggSheetUp {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes ggFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Pull-to-refresh indicator === */
.pull-refresh-indicator {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(-40px);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.15s ease;
}
.pull-refresh-indicator.hidden { display: none; }
.pull-refresh-indicator.loading .global-loading-spinner {
  border-color: rgba(24, 134, 75, 0.25);
  border-top-color: #18864b;
}

/* === Native camera button (replaces file input on .gg-native) === */
.gg-native #bookingPhotoInput { display: none; }
.native-photo-button {
  width: 100%;
  margin-top: 8px;
}

/* === Booking photo upload === */
.photo-upload-field {
  display: block;
  padding: 14px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.015);
}
.photo-upload-field small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 10px;
}
.photo-upload-field input[type="file"] {
  display: block;
  font-size: 13px;
}
.photo-preview {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 280px;
}
.photo-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* === Tip modal === */
.tip-card { max-width: 420px; }
.tip-chips { margin: 12px 0; }
.tip-custom {
  display: block;
  margin-bottom: 12px;
}
.tip-custom input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}
.tip-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: var(--green-soft);
  border-radius: 12px;
  font-size: 13px;
}
.tip-preview strong {
  font-size: 16px;
  color: var(--ink);
}

/* === Chip-style pickers (date/time, tip amounts, etc) === */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 40px;
}
.chip:hover,
.chip:focus-visible {
  border-color: #a7d9b4;
  outline: none;
}
.chip.active {
  background: #18864b;
  border-color: #18864b;
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 134, 75, 0.25);
}
.hidden-input {
  position: absolute;
  /* Anchor to the containing block. Without left/top these fall at their
     static position, which pushed the document ~1200px wide and caused
     horizontal scrolling on the whole app. */
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
}

/* === Onboarding cards === */
.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: grid;
  gap: 14px;
}
.onboarding-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.onboarding-step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #18864b;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}
.onboarding-steps strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}
.onboarding-steps p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* === TaskRabbit-style helper cards + trust badges === */
.helper-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.helper-card:hover,
.helper-card:focus-visible,
.helper-card.active {
  border-color: #a7d9b4;
  box-shadow: 0 6px 20px rgba(24, 134, 75, 0.08);
  transform: translateY(-1px);
  outline: none;
}
.helper-card-photo {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--green-soft);
}
.helper-card-photo img,
.helper-card-photo .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.helper-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.helper-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.helper-card-head strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.helper-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.helper-rating .star { color: #f5b400; }
.helper-rating small { color: var(--muted); font-weight: 500; }
.helper-card-role {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.helper-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.trust-badge svg { width: 12px; height: 12px; }
.trust-badge.verified {
  background: rgba(24, 134, 75, 0.1);
  color: #18864b;
}
.trust-badge.gold {
  background: rgba(245, 180, 0, 0.12);
  color: #b87a00;
}
.trust-badge.fresh {
  background: rgba(40, 100, 230, 0.1);
  color: #2864e6;
}
.trust-badge.muted {
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
}
.helper-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.helper-card-price span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.helper-card-price strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.helper-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: #18864b;
}

/* The helper-list is now a stack of cards, not rows */
.helper-list {
  display: grid;
  gap: 12px;
}

/* === Mobile-first refinements (< 820px) === */
@media (max-width: 820px) {
  /* Hide noise on phones — desktop-only stuff */
  .map-panel,
  .request-panel,
  .growth-panel,
  .filters select,
  #moreHelpersButton,
  .trust-row {
    display: none;
  }

  /* Service tiles bigger and tappable */
  .service-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }
  .service-card {
    min-height: 96px !important;
    padding: 16px 8px !important;
    border-radius: 14px !important;
  }
  .service-card svg {
    width: 30px !important;
    height: 30px !important;
  }
  .service-card span {
    font-size: 13px !important;
    max-width: none !important;
  }

  /* Bigger section headings */
  .section-heading h1,
  .section-heading h2,
  #servicesTitle {
    font-size: 22px !important;
    line-height: 1.2;
  }
  .section-heading p {
    font-size: 14px;
    color: var(--muted);
  }

  /* Native-feel buttons: bigger tap targets, rounded, subtle shadow */
  .request-submit,
  .book-button,
  .outline-action,
  .filter-button {
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  .request-submit {
    box-shadow: 0 4px 14px rgba(24, 134, 75, 0.22);
  }

  /* Compact helper card on phone */
  .helper-card {
    grid-template-columns: 72px 1fr;
    padding: 12px;
    border-radius: 14px;
  }
  .helper-card-photo {
    width: 72px;
    height: 72px;
  }
  .helper-card-head strong { font-size: 15px; }
  .helper-card-price strong { font-size: 17px; }

  /* Bottom-tab safe area on phone */
  main.app-shell,
  #view-dashboard,
  .app-view {
    padding-bottom: 90px !important;
  }
}

.compliance-main {
  display: grid;
  gap: 5px;
}

.compliance-main h2 {
  margin: 0;
  font-size: 16px;
}

.compliance-main p,
.compliance-main small {
  color: var(--muted);
}

.compliance-meta,
.compliance-actions {
  display: grid;
  gap: 8px;
}

.compliance-meta span {
  display: grid;
  gap: 3px;
}

.compliance-meta small {
  color: var(--muted);
}

.helper-dashboard {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
}

.helper-work-panel {
  display: grid;
  gap: 14px;
}

.helper-profile-form {
  position: sticky;
  top: 14px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check-pill {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  min-height: 34px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.check-pill input {
  width: 14px !important;
  min-height: 14px !important;
  accent-color: var(--green);
}

.check-pill span {
  color: var(--ink) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.helper-jobs {
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.helper-task-card {
  grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
  box-shadow: none;
}

.support-card {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.support-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
}

.support-card .outline-action {
  justify-self: start;
}

.legal-page {
  min-height: 100vh;
  background: var(--wash);
}

.legal-shell {
  display: grid;
  gap: 14px;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.legal-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(24, 33, 29, 0.05);
}

.legal-card h1,
.legal-card h2,
.legal-card p {
  margin: 0;
}

.legal-card h1 {
  font-size: 28px;
}

.legal-card h2 {
  margin-top: 8px;
  font-size: 16px;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.65;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 32px 18px;
  text-align: center;
}

.empty-state > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
}

.message-compose .request-submit,
.provider-form .request-submit,
.review-form .request-submit,
.message-card .request-submit,
.wallet-actions .request-submit {
  grid-column: auto;
  align-self: auto;
  border-radius: 6px;
}

@media (max-width: 1320px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr) 320px;
  }

  .sidebar {
    padding-inline: 12px;
  }

  .brand {
    justify-content: center;
  }

  .brand span:last-child,
  .post-task span,
  .nav-item span:nth-child(2),
  .sidebar-bottom {
    display: none;
  }

  .post-task {
    margin-top: 24px;
  }

  .nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .nav-badge,
  .currency-chip {
    position: absolute;
    top: 3px;
    right: 3px;
  }

  .service-grid {
    grid-template-columns: repeat(5, minmax(86px, 1fr));
  }

  .request-form {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .detail-field {
    grid-column: span 2;
  }

  .address-field,
  .access-field {
    grid-column: span 2;
  }

  .secure-note {
    grid-column: 1 / span 2;
  }

  .request-submit {
    grid-column: 3;
  }
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .profile-panel {
    grid-column: 2;
    position: static;
    height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: flex-end;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .finance-layout,
  .review-layout,
  .support-layout,
  .compliance-layout,
  .profile-detail-grid,
  .helper-dashboard,
  .wallet-dashboard,
  .inbox-layout {
    grid-template-columns: 1fr;
  }

  .profile-hero-card,
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-cta-stack {
    width: 100%;
  }

  .compliance-row {
    grid-template-columns: 1fr;
  }

  .helper-profile-form {
    position: static;
  }

  .saved-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 18;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 28px rgba(24, 33, 29, 0.08);
    backdrop-filter: blur(14px);
  }

  .sidebar {
    display: none;            /* hide desktop sidebar entirely on phones — bottom tabbar covers nav */
  }

  .brand {
    justify-content: flex-start;
  }

  .brand span:last-child,
  .post-task span {
    display: block;
  }

  .brand strong {
    font-size: 24px;
  }

  .post-task {
    width: auto;
    min-width: 134px;
    margin: 0;
  }

  .nav-list {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-item {
    grid-template-columns: 22px auto;
    flex: 0 0 auto;
    gap: 7px;
    min-width: max-content;
    padding: 0 11px;
  }

  .nav-item span:nth-child(2) {
    display: block;
  }

  .nav-item.active::before,
  .nav-item:nth-child(n+6) {
    display: none;
  }

  .workspace {
    padding: 14px 14px calc(92px + env(safe-area-inset-bottom));
  }

  .booking-search {
    grid-template-columns: 1fr;
  }

  .search-segment {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .find-button {
    border-radius: 0;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    min-width: 0;
  }

  .protect-pill {
    flex: 1 1 160px;
  }

  .service-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .service-card {
    flex: 0 0 92px;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .detail-field,
  .address-field,
  .access-field,
  .secure-note,
  .request-submit {
    grid-column: auto;
  }

  .booking-summary-grid,
  .job-info-grid,
  .job-progress-meta,
  .job-photo-grid,
  .booking-confirm-actions {
    grid-template-columns: 1fr;
  }

  .list-header,
  .section-heading {
    display: grid;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filters select,
  .filter-button {
    width: 100%;
    max-width: none;
  }

  .helper-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .helper-row .price-block,
  .helper-row .view-profile {
    grid-column: 2;
  }

  .helper-row .view-profile {
    width: 100%;
  }

  .helper-fact-row {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .helper-fact-row span,
  .helper-fact-row strong {
    grid-column: 2;
  }

  .helper-service-top {
    display: grid;
  }

  .helper-service-top strong {
    max-width: none;
    text-align: left;
  }

  .map-panel,
  .map-panel img {
    min-height: 320px;
  }

  .map-marker strong {
    display: none;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .growth-panel,
  .view-heading,
  .task-card,
  .timeline-card,
  .payment-row,
  .saved-card {
    grid-template-columns: 1fr;
  }

  .view-heading {
    align-items: start;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .task-helper,
  .task-money {
    justify-items: start;
    text-align: left;
  }

  .timeline-line {
    display: none;
  }

  .timeline-actions,
  .wallet-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .conversation-panel {
    min-height: 440px;
  }

  .message-compose {
    grid-template-columns: 1fr;
  }

  .money-grid {
    grid-template-columns: 1fr;
  }

  .verification-status-grid,
  .inline-form-grid,
  .code-confirm-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .toast {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .brand small,
  .user-menu span,
  .protect-pill {
    display: none;
  }

  .top-actions {
    justify-content: flex-end;
  }

  .profile-summary {
    grid-template-columns: 68px 1fr;
  }

  .profile-summary .save-button {
    grid-column: 2;
    justify-self: start;
  }

  .profile-summary .avatar,
  .profile-summary .initial-avatar {
    width: 68px;
    height: 68px;
  }

  .map-caption {
    left: 14px;
    transform: none;
    min-width: 0;
    max-width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* ============================================================
   TRUST STATS BANNER
   ============================================================ */
.trust-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #f0faf4 0%, #e8f7ef 100%);
  border: 1px solid #c6e9d2;
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 620;
  color: #1a6636;
}
.trust-banner span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.trust-banner svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.trust-banner .trust-sep {
  color: #a5d4b6;
  font-weight: 400;
  user-select: none;
}

/* ============================================================
   SERVICE CARD — PRICE CHIP
   ============================================================ */
.service-card {
  grid-template-rows: auto auto auto;
}
.service-card-price {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 20px;
  padding: 1px 7px;
  margin-top: 2px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.service-card.active .service-card-price,
.service-card:hover .service-card-price {
  background: #c7ead2;
}

/* ============================================================
   GIDI TRUST SCORE BADGE
   ============================================================ */
.gigi-score {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.gigi-score small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.82;
}
.gigi-score-elite { background: #fff4cc; color: #7a4f00; border: 1px solid #f5d878; }
.gigi-score-great { background: #e8f7ef; color: #1a6636; border: 1px solid #b0dfc0; }
.gigi-score-good  { background: #e8f0ff; color: #2a4ea6; border: 1px solid #b0c4f0; }
.gigi-score-new   { background: #f5f5f5; color: #666;    border: 1px solid #ddd; }

/* score shown in card head */
.helper-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   SAFETY SHIELD — BOOKING MODAL
   ============================================================ */
.safety-shield-section {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f0faf4;
  border: 1px solid #c6e9d2;
  border-radius: var(--radius);
}
.safety-shield-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.safety-shield-header svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}
.safety-shield-header strong {
  font-size: 13.5px;
  color: #1a6636;
}
.safety-shield-header span {
  font-size: 12px;
  color: #4a8a62;
}
.safety-shield-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.safety-shield-label span {
  font-size: 12px;
  font-weight: 620;
  color: #2d6b47;
}
.safety-shield-label input {
  padding: 9px 12px;
  border: 1px solid #b0dfc0;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.safety-shield-label input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24,134,75,0.12);
}
.safety-shield-note {
  font-size: 11.5px;
  color: #4a8a62;
  margin-top: 8px;
  line-height: 1.5;
}

/* WhatsApp share button */
.whatsapp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.whatsapp-share-btn:hover { background: #1da851; }
.whatsapp-share-btn:active { transform: scale(0.97); }
.whatsapp-share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
   ONBOARDING MODAL — UPGRADED
   ============================================================ */
#onboardingModal { z-index: 50; }
.onboarding-card {
  max-width: 440px;
}
.onboarding-hero-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #18864b 0%, #0f5c33 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(24,134,75,0.25);
}
.onboarding-hero-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}
.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.onboarding-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.onboarding-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(24,134,75,0.3);
}
.onboarding-steps li > div strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}
.onboarding-steps li > div p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.onboarding-trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.onboarding-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: var(--green-soft);
  color: #1a6636;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 650;
}
.onboarding-trust-chip svg {
  width: 13px;
  height: 13px;
}
.onboarding-new-badge {
  display: inline-block;
  background: #fff4cc;
  color: #7a4f00;
  border: 1px solid #f5d878;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* ============================================================
   ONBOARDING CAROUSEL
   ============================================================ */
.onboarding-card {
  max-width: 440px;
  padding-bottom: 8px;
  overflow: hidden;
}
.ob-skip {
  /* override icon-only to look like a text link */
  position: absolute;
  top: 14px;
  right: 16px;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  z-index: 2;
}
.ob-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.ob-slide {
  display: none;
  flex-direction: column;
  animation: obFadeIn 0.28s ease;
}
.ob-slide.ob-slide-active {
  display: flex;
}
@keyframes obFadeIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ob-heading {
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0 6px;
  line-height: 1.25;
  color: var(--text);
}
.ob-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.5;
}
/* lock icon slide */
.ob-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(24,134,75,0.2);
}
.ob-icon-lock {
  background: linear-gradient(135deg, #1a5fa8 0%, #0d3d70 100%);
  box-shadow: 0 8px 24px rgba(26,95,168,0.25);
}
.ob-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

/* Helper preview row — slide 3 */
.ob-helper-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
}
.ob-helper-card {
  flex: 1;
  background: var(--surface, #f7f8fa);
  border: 1px solid var(--border, #e8eaed);
  border-radius: 14px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.ob-helper-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.ob-helper-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.ob-helper-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-top: 2px;
}
.ob-helper-role {
  font-size: 11px;
  color: var(--muted);
}
.ob-helper-meta {
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
}
.ob-stars {
  color: #f4b400;
}
.ob-helper-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  margin-top: 2px;
}

/* Browse-first ghost link */
.ob-browse-link {
  background: none;
  border: none;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 650;
  padding: 10px 0 4px;
  cursor: pointer;
  text-align: center;
  width: 100%;
}
.ob-browse-link:hover {
  text-decoration: underline;
}

/* Bottom nav: dots + next */
.ob-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e8eaed);
}
.ob-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.ob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border, #d0d3d8);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.ob-dot.ob-dot-active {
  background: var(--green);
  width: 22px;
  border-radius: 4px;
}
.ob-next-btn {
  background: none;
  border: none;
  color: var(--green);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  padding: 4px 0;
}
.ob-next-btn:hover {
  text-decoration: underline;
}

/* ============================================================
   IPHONE SE (375px) + SMALL DEVICE FIXES
   ============================================================ */
@media (max-width: 390px) {
  .trust-banner {
    font-size: 11.5px;
    gap: 5px 10px;
    padding: 8px 12px;
  }
  .service-card-price {
    font-size: 9px;
    padding: 1px 5px;
  }
  .gigi-score {
    font-size: 12px;
    padding: 2px 7px;
  }
  .safety-shield-section {
    padding: 12px;
  }
  .onboarding-steps li {
    gap: 10px;
  }
  .onboarding-step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* ============================================================
   ANDROID TABLET (600px – 900px) IMPROVEMENTS
   ============================================================ */
@media (min-width: 600px) and (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  .trust-banner {
    justify-content: center;
  }
  .onboarding-card {
    max-width: 520px;
  }
}

/* ============================================================
   PROFILE — WHATSAPP SHARE IN PROFILE ACTIONS
   ============================================================ */
.profile-wa-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 6px;
}
.profile-wa-share:hover { background: #1da851; }
.profile-wa-share svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ============================================================
   PLATFORM-SPECIFIC NATIVE FEEL
   .platform-ios  — applied on iPhone/iPad builds
   .platform-android — applied on Android builds
   ============================================================ */

/* ── Shared native base: no scrollbars, no text-select on chrome, no tap flash ── */
.platform-ios *,
.platform-android * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.platform-ios button,
.platform-ios .nav-tab,
.platform-ios .service-card,
.platform-ios .helper-card,
.platform-android button,
.platform-android .nav-tab,
.platform-android .service-card,
.platform-android .helper-card {
  user-select: none;
  -webkit-user-select: none;
}
/* Hide scrollbars everywhere on native */
.platform-ios ::-webkit-scrollbar,
.platform-android ::-webkit-scrollbar { display: none; }
.platform-ios *,
.platform-android * { scrollbar-width: none; }

/* Momentum scrolling on all scroll containers */
.platform-ios .app-view,
.platform-ios .main-content,
.platform-ios .modal-body,
.platform-ios .profile-panel,
.platform-android .app-view,
.platform-android .main-content,
.platform-android .modal-body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

/* ── iOS — San Francisco font, iOS curves, frosted glass ── */
.platform-ios {
  font-family: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif !important;
}
.platform-ios * {
  font-family: inherit;
  letter-spacing: -0.01em;
}

/* iOS header — frosted glass like native iOS nav bar */
.platform-ios .native-topbar {
  background: rgba(248, 248, 248, 0.85) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
  box-shadow: none !important;
}

/* iOS tab bar — frosted glass bottom */
.platform-ios .mobile-tabbar {
  background: rgba(248, 248, 248, 0.9) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid rgba(0,0,0,0.12) !important;
  box-shadow: none !important;
}

/* iOS tab icons — larger, SF-style */
.platform-ios .nav-tab {
  padding: 8px 4px 6px;
  gap: 3px;
  min-height: 50px;
}
.platform-ios .nav-tab svg { width: 26px; height: 26px; }
.platform-ios .nav-tab .tab-label { font-size: 10px; font-weight: 500; letter-spacing: 0; }
.platform-ios .nav-tab.active .tab-label { font-weight: 600; }

/* iOS buttons — fully rounded pill style */
.platform-ios .btn-primary,
.platform-ios .book-button,
.platform-ios .find-helpers-btn,
.platform-ios .request-submit,
.platform-ios button[type="submit"] {
  border-radius: 14px !important;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* iOS cards — more rounded */
.platform-ios .service-card,
.platform-ios .helper-card,
.platform-ios .task-card,
.platform-ios .wallet-card,
.platform-ios .booking-modal .modal-inner {
  border-radius: 16px !important;
}

/* iOS modals — sheet style with rounded top corners */
.platform-ios .message-modal .modal-inner {
  border-radius: 20px 20px 0 0 !important;
}

/* iOS inputs — cleaner, iOS-style */
.platform-ios input[type="text"],
.platform-ios input[type="email"],
.platform-ios input[type="tel"],
.platform-ios input[type="password"],
.platform-ios textarea,
.platform-ios select {
  border-radius: 10px !important;
  font-size: 16px !important; /* prevents zoom on iOS */
  -webkit-appearance: none;
  appearance: none;
}

/* iOS list rows — disclosure chevron style */
.platform-ios .profile-row,
.platform-ios .settings-row {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* iOS active state — subtle scale instead of color change */
.platform-ios button:active,
.platform-ios .helper-card:active,
.platform-ios .service-card:active,
.platform-ios .nav-tab:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
  opacity: 0.85;
}

/* iOS trust banner — slightly blurred like iOS notification center */
.platform-ios .trust-banner {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Android — Roboto font, Material Design, ripple ── */
.platform-android {
  font-family: "Roboto", "Google Sans", "Noto Sans", sans-serif !important;
}
.platform-android * {
  font-family: inherit;
  letter-spacing: 0.01em;
}

/* Android top bar — solid green, no blur (Material style) */
.platform-android .native-topbar {
  background: #18864b !important;
  color: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
  border-bottom: none !important;
}
.platform-android .native-topbar .topbar-title,
.platform-android .native-topbar svg,
.platform-android .native-topbar .wallet-chip {
  color: #fff !important;
  fill: #fff !important;
}
.platform-android .native-topbar .wallet-chip {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

/* Android tab bar — solid white, elevation shadow */
.platform-android .mobile-tabbar {
  background: #ffffff !important;
  border-top: none !important;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.12) !important;
  backdrop-filter: none !important;
}

/* Android active tab — colored icon + label */
.platform-android .nav-tab.active svg { color: #18864b; }
.platform-android .nav-tab.active .tab-label { color: #18864b; font-weight: 700; }
.platform-android .nav-tab { min-height: 56px; padding: 8px 4px; gap: 2px; }
.platform-android .nav-tab svg { width: 24px; height: 24px; }
.platform-android .nav-tab .tab-label { font-size: 11px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }

/* Android buttons — slightly rectangular with Material elevation */
.platform-android .btn-primary,
.platform-android .book-button,
.platform-android .find-helpers-btn,
.platform-android .request-submit,
.platform-android button[type="submit"] {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px !important;
  box-shadow: 0 2px 6px rgba(24,134,75,0.35), 0 1px 2px rgba(0,0,0,0.2) !important;
}

/* Android cards — slightly less rounded, Material elevation */
.platform-android .service-card,
.platform-android .helper-card,
.platform-android .task-card {
  border-radius: 12px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06) !important;
  border: none !important;
}

/* Android modals — full bottom sheet, no border radius */
.platform-android .message-modal .modal-inner {
  border-radius: 16px 16px 0 0 !important;
}

/* Android inputs — outlined style */
.platform-android input[type="text"],
.platform-android input[type="email"],
.platform-android input[type="tel"],
.platform-android input[type="password"],
.platform-android textarea,
.platform-android select {
  border-radius: 8px !important;
  border: 1.5px solid #ccc !important;
  font-size: 16px !important;
  background: #fafafa !important;
}
.platform-android input:focus,
.platform-android textarea:focus,
.platform-android select:focus {
  border-color: #18864b !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(24,134,75,0.12) !important;
}

/* Android active state — no scale, just quick opacity */
.platform-android button:active,
.platform-android .helper-card:active,
.platform-android .service-card:active {
  opacity: 0.75;
  transition: opacity 0.05s ease;
}

/* Android FAB-style book button */
.platform-android .book-button {
  box-shadow: 0 4px 12px rgba(24,134,75,0.4), 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* Android Material ripple ink */
.md-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transform: scale(0);
  animation: md-ripple-anim 0.6s linear forwards;
  z-index: 0;
}
@keyframes md-ripple-anim {
  to { transform: scale(1); opacity: 0; }
}

/* Android snackbar toast — bottom, wider, darker */
.platform-android .toast-notification {
  bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  left: 16px !important;
  right: 16px !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 6px !important;
  background: #323232 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
  padding: 14px 16px !important;
}

/* iOS toast — centered pill */
.platform-ios .toast-notification {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: 80vw !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}

/* Both: bigger minimum touch targets */
.platform-ios button,
.platform-android button {
  min-height: 44px;
}
.platform-android button { min-height: 48px; }

/* Android: status bar spacer already handled by setOverlaysWebView(false) */

/* ============================================================
   HELPER MARKETPLACE STATUS CARD
   ============================================================ */
.marketplace-status-card {
  margin: 0 16px 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Header: badge + score */
.mkt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* Tier badge pill */
.mkt-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}
.mkt-tier-badge.tier-top {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}
.mkt-tier-badge.tier-rising {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}
.mkt-tier-badge.tier-new {
  background: #f3f4f6;
  color: #6b7280;
}

.mkt-score-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.mkt-tier-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

/* Progress bar */
.mkt-bar-track {
  position: relative;
  height: 10px;
  background: #f0f1f3;
  border-radius: 999px;
  overflow: visible;
  margin-bottom: 6px;
}
.mkt-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 4px;
}
.mkt-bar-fill.tier-top    { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.mkt-bar-fill.tier-rising { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.mkt-bar-fill.tier-new    { background: linear-gradient(90deg, #9ca3af, #d1d5db); }

/* Threshold markers */
.mkt-bar-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 16px;
  background: #d1d5db;
  border-radius: 1px;
  transform: translateX(-50%);
}

.mkt-bar-labels {
  display: flex;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Criteria checklist */
.mkt-criteria {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.mkt-criterion {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.3;
}
.mkt-criterion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.mkt-criterion.done .mkt-criterion-icon {
  background: rgba(24, 134, 75, 0.1);
  color: #18864b;
}
.mkt-criterion.todo .mkt-criterion-icon {
  background: #f3f4f6;
  color: #9ca3af;
}
.mkt-criterion.done { color: var(--ink); }
.mkt-criterion.todo { color: var(--muted); }
.mkt-criterion span:nth-child(2) { flex: 1; }
.mkt-pts {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: #f3f4f6;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
.mkt-criterion.done .mkt-pts {
  background: rgba(24, 134, 75, 0.08);
  color: #18864b;
}

/* Tips section */
.mkt-tips {
  padding: 14px 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 3px solid #3b82f6;
}
.mkt-tips-maintain {
  border-left-color: #f59e0b;
  background: #fffbeb;
}
.mkt-tips strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 10px;
}
.mkt-tips ul {
  margin: 0;
  padding: 0 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mkt-tips ul li {
  font-size: 13px;
  color: #374151;
  line-height: 1.45;
}
/* iOS: extra notch padding on native-topbar already set via env(safe-area-inset-top) */

/* ============================================================
   CUSTOMER LOYALTY SCORE
   ============================================================ */
.loyalty-card {
  margin: 0 16px 20px;
  padding: 18px 18px 14px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.loyalty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.loyalty-ring {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  border: 4px solid currentColor;
}
.loyalty-ring small { font-size: 11px; font-weight: 600; opacity: 0.7; }
.loyalty-gold   { color: #d97706; background: #fffbeb; }
.loyalty-silver { color: #6366f1; background: #eef2ff; }
.loyalty-bronze { color: #059669; background: #ecfdf5; }
.loyalty-info { flex: 1; min-width: 0; }
.loyalty-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 5px;
}
.loyalty-pill.loyalty-gold   { background: #fef3c7; color: #92400e; }
.loyalty-pill.loyalty-silver { background: #e0e7ff; color: #3730a3; }
.loyalty-pill.loyalty-bronze { background: #d1fae5; color: #065f46; }
.loyalty-info p { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.loyalty-bar { height: 6px; background: #f0f1f3; border-radius: 999px; overflow: hidden; }
.loyalty-bar-fill { height: 100%; border-radius: 999px; transition: width 0.5s ease; }
.loyalty-bar-fill.loyalty-gold   { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.loyalty-bar-fill.loyalty-silver { background: linear-gradient(90deg, #6366f1, #818cf8); }
.loyalty-bar-fill.loyalty-bronze { background: linear-gradient(90deg, #10b981, #34d399); }
.loyalty-tip { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ============================================================
   NEED IT NOW BAR
   ============================================================ */
.need-it-now-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b1020, #1a2540);
  border-radius: 16px;
  color: #fff;
}
.nin-bolt {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(251,191,36,0.15);
  display: grid;
  place-items: center;
  color: #fbbf24;
}
.nin-text { flex: 1; min-width: 0; }
.nin-text strong { display: block; font-size: 14px; font-weight: 750; }
.nin-text span   { display: block; font-size: 12px; color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nin-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  background: #fbbf24;
  color: #0b1020;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

/* Need It Now bottom sheet content */
.nin-title { font-size: 17px; font-weight: 800; margin: 0 0 16px; }
.nin-helper-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.nin-avatar { flex-shrink: 0; }
.nin-helper-info strong { display: block; font-size: 15px; font-weight: 750; }
.nin-helper-info span   { display: block; font-size: 12.5px; color: var(--muted); }
.nin-rating { color: #d97706; font-size: 12.5px; }
.nin-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.nin-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.nin-row span { color: var(--muted); }
.nin-note { font-size: 12px; color: var(--muted); margin: 0 0 16px; line-height: 1.45; }

/* ============================================================
   ESTATE TRUSTED BADGE
   ============================================================ */
.estate-trusted {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 999px;
  margin: 4px 0 2px;
}

/* ============================================================
   BOOST BADGE & BOOSTED CARD
   ============================================================ */
.trust-badge.boost-badge {
  background: rgba(251,191,36,0.15);
  color: #b45309;
  border: 1px solid rgba(251,191,36,0.3);
}
.helper-card-boosted {
  border: 1.5px solid #fbbf24 !important;
  box-shadow: 0 0 0 3px rgba(251,191,36,0.12) !important;
}
.price-original {
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 4px;
  font-size: 0.85em;
}

/* ============================================================
   INCOME FORECAST (Helper)
   ============================================================ */
.forecast-card {
  margin: 0 0 20px;
  padding: 18px;
  background: linear-gradient(135deg, #0b1020, #1a2540);
  border-radius: 20px;
  color: #fff;
}
.forecast-card h3 { font-size: 15px; font-weight: 750; margin: 0 0 14px; opacity: 0.9; }
.forecast-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.forecast-col { text-align: center; }
.forecast-col strong { display: block; font-size: 18px; font-weight: 800; }
.forecast-col small  { font-size: 11px; opacity: 0.65; }
.forecast-bar-track { height: 6px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.forecast-bar-fill  { height: 100%; background: linear-gradient(90deg, #34d399, #6ee7b7); border-radius: 999px; transition: width 0.5s ease; }
.forecast-tip { font-size: 12px; opacity: 0.7; margin: 0; line-height: 1.45; }

/* ============================================================
   GIG PASSPORT
   ============================================================ */
.gig-passport {
  margin: 0 0 20px;
  background: linear-gradient(135deg, #1e3a5f, #0b1020);
  border-radius: 20px;
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.gig-passport::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.passport-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.passport-logo { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.6; }
.passport-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; background: rgba(52,211,153,0.2); color: #34d399; padding: 3px 10px; border-radius: 999px; }
.passport-name { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.passport-role { font-size: 13px; opacity: 0.7; margin: 0 0 14px; }
.passport-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.passport-field span  { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; opacity: 0.5; margin-bottom: 2px; }
.passport-field strong { font-size: 13.5px; font-weight: 700; }
.passport-qr { display: flex; justify-content: center; }
.passport-qr img { width: 90px; height: 90px; border-radius: 10px; background: #fff; }
.passport-footer { margin-top: 14px; font-size: 11px; opacity: 0.4; text-align: center; letter-spacing: 0.5px; }

/* ============================================================
   SKILL ACADEMY
   ============================================================ */
.academy-card {
  margin: 0 0 20px;
  padding: 18px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.academy-card h3 { font-size: 15px; font-weight: 750; margin: 0 0 4px; }
.academy-card > p { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.academy-modules { display: flex; flex-direction: column; gap: 10px; }
.academy-module {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid transparent;
  transition: border-color 0.15s;
}
.academy-module.done { background: #ecfdf5; border-color: rgba(16,185,129,0.25); }
.academy-module-icon { flex-shrink: 0; font-size: 22px; }
.academy-module-info { flex: 1; min-width: 0; }
.academy-module-info strong { display: block; font-size: 13.5px; font-weight: 750; }
.academy-module-info small  { font-size: 12px; color: var(--muted); }
.academy-start-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.academy-done-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================================
   BOOST DAY
   ============================================================ */
.boost-card {
  margin: 0 0 20px;
  padding: 18px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.boost-card h3 { font-size: 15px; font-weight: 750; margin: 0 0 4px; }
.boost-card > p { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.boost-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.boost-chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #f8f9fa;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.boost-chip-active {
  background: #0b1020;
  color: #fff;
  border-color: #0b1020;
}
.boost-active-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  margin-bottom: 12px;
}
.boost-active-banner span { flex: 1; font-size: 13px; font-weight: 700; color: #92400e; }

/* ============================================================
   JOB PROOF CARD
   ============================================================ */
.proof-card {
  padding: 4px 0 8px;
}
.proof-stamp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #18864b;
  margin-bottom: 16px;
}
.proof-photos { display: flex; gap: 10px; margin-bottom: 16px; }
.proof-photo { flex: 1; }
.proof-photo label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.proof-photo img { width: 100%; border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.proof-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.proof-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.proof-row span { color: var(--muted); }
.text-green { color: #18864b; }
.proof-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.proof-card-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.proof-card-btn { color: #18864b; border-color: rgba(24,134,75,0.25); }

/* ── Corporate / B2B ─────────────────────────────────────── */
.corporate-perks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 0 0 32px;
}
.corp-perk-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.corp-perk-card svg {
  width: 26px; height: 26px;
  color: var(--brand);
}
.corp-perk-card strong { font-size: 14px; }
.corp-perk-card p { font-size: 12.5px; color: var(--muted); margin: 0; }

.corp-tiers { margin: 0 0 36px; }
.corp-tiers h2 { font-size: 18px; margin-bottom: 16px; }
.corp-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.corp-tier-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.corp-tier-card.featured {
  border-color: var(--brand);
  background: linear-gradient(135deg,rgba(22,163,74,0.06) 0%,transparent 100%);
}
.corp-tier-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.corp-tier-label em {
  background: var(--brand);
  color: #fff;
  font-style: normal;
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 10px;
}
.corp-tier-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}
.corp-tier-price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.corp-tier-card ul {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.corp-tier-btn {
  margin-top: auto;
  padding: 10px 0;
  border-radius: 10px;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.corp-tier-btn:hover { background: var(--brand); color: #fff; }
.corp-tier-card.featured .corp-tier-btn { background: var(--brand); color: #fff; }

.corporate-form { max-width: 640px; }
.corporate-form select[multiple] {
  min-height: 130px;
  border-radius: 10px;
  padding: 8px;
}

.corporate-leads { margin-top: 40px; }
.corporate-leads h2 { font-size: 17px; margin-bottom: 14px; }
.corp-lead-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
}
.corp-lead-card strong { font-size: 14px; grid-column: 1; }
.corp-lead-card .corp-lead-plan {
  grid-column: 2; grid-row: 1 / 3;
  align-self: center;
  background: var(--brand);
  color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.corp-lead-meta { font-size: 12px; color: var(--muted); grid-column: 1; }

/* ── Helper Schedule Calendar ─────────────────────────────── */
.helper-calendar-card { margin-bottom: 16px; }
.helper-cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 14px 0 10px;
}
.cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: background .12s, border-color .12s;
  min-width: 0;
}
.cal-day.today { border-color: var(--brand); background: rgba(22,163,74,.06); }
.cal-day.booked { background: #fff3e0; border-color: #f59e0b; }
.cal-day.blocked { background: #fef2f2; border-color: #ef4444; opacity: .8; }
.cal-day.free:hover { background: rgba(22,163,74,.08); border-color: var(--brand); }
.cal-day-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.cal-day.today .cal-day-name { color: var(--brand); }
.cal-day-num {
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.cal-job-count {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 20px;
  white-space: nowrap;
}
.cal-day.booked .cal-job-count { background: #f59e0b; color: #fff; }
.cal-day.blocked .cal-job-count { background: #ef4444; color: #fff; }
.helper-cal-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.cal-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 3px;
}
.cal-dot.booked  { background: #f59e0b; }
.cal-dot.blocked { background: #ef4444; }
.cal-dot.free    { background: var(--brand); }

/* ── Hours selector ──────────────────────────────────────── */
.hours-selector {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.hours-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, color .12s;
}
.hours-btn:hover { background: var(--brand); color: #fff; }
#hoursDisplay {
  font-size: 18px;
  font-weight: 800;
  min-width: 52px;
  text-align: center;
  color: var(--text);
}

/* ── Price estimate box ──────────────────────────────────── */
.price-estimate-box {
  background: linear-gradient(135deg,rgba(22,163,74,.07) 0%,transparent 100%);
  border: 1.5px solid rgba(22,163,74,.3);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-est-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
}
.price-est-row strong { color: var(--text); font-weight: 700; }
.price-est-total {
  border-top: 1px solid rgba(22,163,74,.25);
  padding-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.price-est-total strong { font-size: 17px; color: var(--brand); }

/* ── Calendar: time-slot layout ─────────────────────────── */
.helper-cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 14px 0 10px;
  /* override the old setting that used button .cal-day directly */
}
.cal-day-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 8px 5px;
  background: var(--bg);
}
.cal-day-col.today { border-color: var(--brand); background: rgba(22,163,74,.05); }
.cal-day-col.day-blocked { opacity: .7; }
.cal-day-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3px;
  position: relative;
}
.cal-day-head .cal-day-name {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .04em;
}
.cal-day-col.today .cal-day-name { color: var(--brand); }
.cal-day-head .cal-day-num {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.cal-job-badge {
  position: absolute;
  top: 0; right: 0;
  background: #f59e0b;
  color: #fff;
  border-radius: 50%;
  width: 16px; height: 16px;
  font-size: 9px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.cal-slots { display: flex; flex-direction: column; gap: 3px; }
.cal-slot {
  font-size: 9px;
  font-weight: 600;
  padding: 4px 3px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .12s;
}
.cal-slot.slot-free   { background: rgba(22,163,74,.1);  color: #16a34a; border-color: rgba(22,163,74,.25); }
.cal-slot.slot-booked { background: #fff3e0; color: #b45309; border-color: #f59e0b; }
.cal-slot.slot-blocked { background: #fef2f2; color: #dc2626; border-color: #fca5a5; text-decoration: line-through; }
.cal-slot-row.blocked-all {
  font-size: 9px; font-weight: 700; color: #dc2626;
  text-align: center; padding: 4px 2px;
}
.cal-block-day-btn {
  font-size: 8px;
  font-weight: 700;
  margin-top: 3px;
  padding: 3px 2px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  width: 100%;
}
.cal-block-day-btn.unblock { color: var(--brand); border-color: rgba(22,163,74,.4); }

/* ── SSE real-time badge flash ──────────────────────────────────────────────── */
@keyframes sse-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.sse-pop { animation: sse-pop 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
#splashScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0b3d20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#splashScreen.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: splashPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes splashPop {
  0%   { opacity: 0; transform: scale(0.7); }
  70%  { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
.splash-logo {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #18864b 0%, #0d5c30 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.splash-logo svg {
  width: 48px;
  height: 48px;
  color: #fff;
}
.splash-wordmark {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  animation: splashFadeUp 0.5s 0.3s both ease;
}
.splash-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  animation: splashFadeUp 0.5s 0.5s both ease;
}
@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FULL-SCREEN ONBOARDING
   ============================================================ */
.ob-screen {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ob-screen.hidden { display: none; }

/* Skip button */
.ob-skip-btn {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: 20px;
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 650;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.ob-skip-btn:hover { background: rgba(255,255,255,0.25); }

/* Slide track */
.ob-slides {
  flex: 1;
  display: flex;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each full-screen panel */
.ob-panel {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Panel backgrounds */
.ob-panel-1 { background: linear-gradient(160deg, #0d4d27 0%, #18864b 55%, #1da55e 100%); }
.ob-panel-2 { background: linear-gradient(160deg, #0d1b35 0%, #1a3a6e 55%, #1e4fa0 100%); }
.ob-panel-3 { background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 100%); }

/* Visual top section */
.ob-panel-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 24px;
  gap: 20px;
}

/* Big icon */
.ob-big-icon {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.ob-icon-green { background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.25); }
.ob-icon-navy  { background: rgba(255,255,255,0.1);  border: 2px solid rgba(255,255,255,0.2); }
.ob-big-icon svg { width: 52px; height: 52px; color: #fff; }

/* Badge */
.ob-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* Escrow flow visual */
.ob-escrow-visual {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 12px 16px;
  backdrop-filter: blur(4px);
}
.ob-escrow-step {
  font-size: 12px;
  font-weight: 650;
  color: rgba(255,255,255,0.75);
  padding: 4px 10px;
  border-radius: 10px;
}
.ob-escrow-active { background: rgba(255,255,255,0.2); color: #fff; }
.ob-escrow-hold   { background: rgba(255,200,0,0.25);  color: #ffe47a; }
.ob-escrow-arrow  { color: rgba(255,255,255,0.4); font-size: 14px; }

/* Helper preview cards */
.ob-helper-preview {
  display: flex;
  gap: 10px;
  padding: 0 8px;
}
.ob-hp-card {
  flex: 1;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.ob-hp-card-center { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(24,134,75,0.18); border-color: #18864b; }
.ob-hp-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.ob-hp-name  { font-size: 12.5px; font-weight: 700; color: #111; }
.ob-hp-role  { font-size: 11px; color: #666; }
.ob-hp-rating{ font-size: 11.5px; font-weight: 700; color: #f4b400; }
.ob-hp-price { font-size: 12px; font-weight: 800; color: #18864b; margin-top: 2px; }

/* Text bottom section */
.ob-panel-text {
  padding: 24px 28px max(28px, env(safe-area-inset-bottom, 28px));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ob-panel-1 .ob-panel-text,
.ob-panel-2 .ob-panel-text {
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
}
.ob-panel-3 .ob-panel-text { background: transparent; }

.ob-panel-text h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}
.ob-panel-3 .ob-panel-text h2 { color: #0d1f13; }

.ob-panel-text p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: rgba(255,255,255,0.75);
}
.ob-panel-3 .ob-panel-text p { color: #4a5568; }

/* Bullet list */
.ob-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ob-bullets li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ob-check {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* CTA buttons (slide 3) */
.ob-cta-btn {
  width: 100%;
  padding: 15px;
  background: #18864b;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(24,134,75,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ob-cta-btn:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(24,134,75,0.25); }

.ob-ghost-btn {
  background: none;
  border: none;
  color: #18864b;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  padding: 8px 0;
  text-align: center;
}
.ob-ghost-btn:hover { text-decoration: underline; }

/* Bottom nav */
.ob-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px max(20px, env(safe-area-inset-bottom, 20px));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
.ob-dots-row {
  display: flex;
  gap: 7px;
  align-items: center;
  pointer-events: all;
}
.ob-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.25s;
}
.ob-pip.ob-pip-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}
/* On slide 3 — dark dots */
.ob-screen[data-slide="2"] .ob-pip { background: rgba(0,0,0,0.2); }
.ob-screen[data-slide="2"] .ob-pip.ob-pip-active { background: #18864b; }

.ob-next-pill {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  padding: 9px 20px;
  border-radius: 24px;
  cursor: pointer;
  pointer-events: all;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.ob-next-pill:hover { background: rgba(255,255,255,0.3); }
/* Dark variant on slide 3 */
.ob-screen[data-slide="2"] .ob-next-pill {
  background: #18864b;
  border-color: #18864b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(24,134,75,0.3);
}
/* Hide next pill on slide 3 (CTA button takes over) */
.ob-screen[data-slide="2"] .ob-next-pill { display: none; }

/* ============================================================
   WEB APP AMBIENT MOTION  (.gg-web only, reduced-motion safe)
   Injected/driven by app-fx.js
   ============================================================ */

/* Ambient gradient mesh behind the whole app */
.fx-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(80px);
  opacity: 0.55;
}
.fx-mesh i {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.fx-mesh i:nth-child(1) {
  width: 42vw; height: 42vw;
  background: radial-gradient(circle, rgba(47, 168, 95, 0.34), transparent 66%);
  top: -12%; left: -8%;
  animation: fxDrift1 22s ease-in-out infinite alternate;
}
.fx-mesh i:nth-child(2) {
  width: 34vw; height: 34vw;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22), transparent 66%);
  bottom: -10%; right: -6%;
  animation: fxDrift2 26s ease-in-out infinite alternate;
}
.fx-mesh i:nth-child(3) {
  width: 26vw; height: 26vw;
  background: radial-gradient(circle, rgba(255, 102, 87, 0.16), transparent 66%);
  top: 42%; right: 34%;
  animation: fxDrift3 30s ease-in-out infinite alternate;
}
@keyframes fxDrift1 { to { transform: translate(7vw, 6vh) scale(1.14); } }
@keyframes fxDrift2 { to { transform: translate(-6vw, -5vh) scale(1.08); } }
@keyframes fxDrift3 { to { transform: translate(5vw, -7vh) scale(1.2); } }

/* Keep app chrome above the mesh */
.gg-web .app-shell { position: relative; z-index: 1; }

/* Frosted glass panels */
.gg-web .sidebar,
.gg-web .profile-panel,
.gg-web .topbar {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gg-web .sidebar { background: rgba(255, 255, 255, 0.82); }
.gg-web .profile-panel { background: rgba(255, 255, 255, 0.84); }

/* Service + helper card tilt surface */
.fx-on .service-card,
.fx-on .helper-card {
  transform-style: preserve-3d;
  transition: transform .22s cubic-bezier(.2,.65,.25,1), box-shadow .22s ease;
  will-change: transform;
}
/* Light sheen that follows the cursor */
.fx-on .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  background: radial-gradient(220px 220px at var(--fx-x, 50%) var(--fx-y, 0%), rgba(255,255,255,.34), transparent 62%);
}
.fx-on .service-card:hover::after { opacity: 1; }
.fx-on .service-card:hover { box-shadow: 0 20px 40px rgba(24, 33, 29, 0.22); }
.fx-on .helper-card:hover { box-shadow: 0 18px 38px rgba(24, 33, 29, 0.16); }

/* Staggered entrance */
@keyframes fxRise {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.fx-rise { animation: fxRise .5s cubic-bezier(.2,.65,.25,1) both; }

/* Live pulse on available-now helpers */
.fx-on .helper-card .trust-badge.fresh::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2fa85f;
  margin-right: 6px;
  display: inline-block;
  animation: fxPulse 2s ease-in-out infinite;
}
@keyframes fxPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47,168,95,.6); opacity: 1; }
  70%      { box-shadow: 0 0 0 7px rgba(47,168,95,0); opacity: .85; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-mesh { display: none; }
  .fx-rise { animation: none; }
  .fx-on .service-card, .fx-on .helper-card { transition: none; }
}

/* ============================================================
   NATIVE-FEEL MOTION LAYER   (driven by app-motion.js)
   Spring physics, press depth, view transitions, celebration.
   All CSS transforms — safe on mid-range Android WebViews.
   ============================================================ */

:root {
  /* Spring-ish easing: slight overshoot so things feel physical */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, .68, .28, 1);
}

/* ── Press depth ─────────────────────────────────────────── */
.motion-on .service-card,
.motion-on .helper-card,
.motion-on .mobile-tab,
.motion-on .nav-item,
.motion-on .request-submit,
.motion-on .outline-action,
.motion-on .book-button,
.motion-on .chip,
.motion-on .thread-item,
.motion-on .saved-card,
.motion-on .payment-row {
  transition: transform .18s var(--spring), box-shadow .18s var(--ease-out), filter .18s var(--ease-out);
}
.motion-on .is-pressed {
  transform: scale(.955) !important;
  filter: brightness(.96);
}
.motion-on .service-card.is-pressed,
.motion-on .helper-card.is-pressed {
  box-shadow: 0 3px 10px rgba(24, 33, 29, .18) !important;
}

/* ── Shared-element bloom from a tapped tile ─────────────── */
.fx-bloom {
  position: fixed;
  z-index: 9998;
  border-radius: 18px;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  animation: fxBloom .52s var(--ease-out) forwards;
}
@keyframes fxBloom {
  0%   { opacity: .85; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.9); }
}

/* ── View transitions with depth ─────────────────────────── */
@keyframes fxViewIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.motion-on .fx-view-in { animation: fxViewIn .42s var(--ease-out) both; }

/* ── Celebration: escrow seal + confetti burst ───────────── */
.fx-celebrate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.fx-seal {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: #fff;
  background: linear-gradient(140deg, #18864b, #2fa85f);
  box-shadow: 0 20px 50px rgba(24, 134, 75, .5), 0 0 0 10px rgba(47, 168, 95, .18);
  animation: fxSeal 1.3s var(--spring) forwards;
}
@keyframes fxSeal {
  0%   { opacity: 0; transform: scale(.3) rotate(-18deg); }
  22%  { opacity: 1; transform: scale(1.12) rotate(4deg); }
  38%  { transform: scale(1) rotate(0deg); }
  78%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.92); }
}
.fx-celebrate i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  opacity: 0;
  animation: fxConfetti 1.1s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes fxConfetti {
  0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(300deg); }
}

/* ── Respect the user's motion preference ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .motion-on .is-pressed { transform: none !important; }
  .fx-bloom, .fx-celebrate { display: none !important; }
  .motion-on .fx-view-in { animation: none; }
}

/* Hero flows straight out of the topbar */
.gg-native .service-strip {
  margin-top: -14px !important;
  padding-top: 18px !important;
  border-radius: 0 0 30px 30px !important;
}

/* Trust pills belong on native too — they're the trust story */
.gg-native .trust-banner { display: flex !important; }

/* Tighten the gap under the heading */
.gg-native .service-strip .section-heading { margin-bottom: 10px !important; }
.gg-native .service-strip .trust-banner { margin-bottom: 14px !important; }


/* ============================================================
   CLEAN LIGHT DASHBOARD
   Light, airy, generous — the way modern service apps look.
   White cards, soft tinted icon chips, one accent colour.
   Pure CSS: no images, no webfonts, no extra bytes.
   ============================================================ */

/* Service tiles: white card, tinted icon chip, dark label */
.service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid #edf1ec !important;
  border-radius: 18px !important;
  padding: 14px !important;
  min-height: 118px !important;
  color: var(--ink) !important;
  box-shadow: 0 1px 2px rgba(24, 33, 29, .04) !important;
  transition: transform .18s var(--spring, ease), box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  border-color: #d7e6da !important;
  box-shadow: 0 10px 24px rgba(24, 33, 29, .09) !important;
}
.service-card.active {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 2px rgba(24, 134, 75, .16), 0 10px 24px rgba(24, 134, 75, .12) !important;
}

/* The icon sits in a soft tinted rounded square — the detail that
   makes these read as designed rather than as plain buttons. */
.service-card svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--green) !important;
  padding: 9px;
  box-sizing: content-box;
  background: #eef7f0;
  border-radius: 13px;
  flex: none;
}
.service-card span {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: var(--ink) !important;
  line-height: 1.25 !important;
  max-width: none !important;
  letter-spacing: -0.1px;
}
.service-card .service-card-price {
  margin-top: auto !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  color: var(--muted) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* A few accent tints so the grid has rhythm without shouting */
.service-card:nth-child(6n+2) svg { color: #1a5fb4 !important; background: #eaf1fb; }
.service-card:nth-child(6n+3) svg { color: #c0392b !important; background: #fdeeec; }
.service-card:nth-child(6n+4) svg { color: #8e44ad !important; background: #f5edfa; }
.service-card:nth-child(6n+5) svg { color: #d35400 !important; background: #fdf0e6; }
.service-card:nth-child(6n)   svg { color: #0d7377 !important; background: #e8f6f6; }

@media (max-width: 900px) {
  /* Breathing room + a calm two-up grid */
  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .service-strip {
    background: #fff;
    border: 1px solid #edf1ec;
    border-radius: 20px;
    padding: 18px 16px 20px !important;
    box-shadow: 0 1px 2px rgba(24, 33, 29, .04);
  }
  .service-strip h1 {
    font-size: 22px !important;
    font-weight: 780 !important;
    letter-spacing: -0.5px;
    color: var(--ink) !important;
  }
  .service-strip .section-heading {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px;
    margin-bottom: 4px !important;
  }
  .service-strip .section-heading p {
    font-size: 13.5px;
    color: var(--muted) !important;
  }
  .service-strip .section-heading .text-button { flex: none; white-space: nowrap; }

  /* Trust row: quiet single scrolling line, not a coloured block */
  .trust-banner {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 12px 0 16px !important;
  }
  .trust-banner::-webkit-scrollbar { display: none; }
  .trust-banner .trust-sep { display: none; }
  .trust-banner > span {
    flex: 0 0 auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 650;
    color: var(--muted) !important;
    background: #f4f7f3;
    border: 1px solid #e8eee7;
    border-radius: 999px;
    padding: 6px 11px;
  }
  .trust-banner svg { width: 13px; height: 13px; color: var(--green); }

  /* One clean search row — date/time live in the booking form */
  .topbar .search-segment.compact { display: none !important; }
  .topbar .booking-search {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .topbar .search-segment.wide {
    background: #fff;
    border: 1px solid #e6ece5;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(24, 33, 29, .04);
  }
  .topbar .booking-search > button,
  .topbar .search-submit { border-radius: 14px !important; }
}

/* Beat the older mobile rule that turned the grid into a cut-off
   horizontal scroller, and stop the price text truncating. */
@media (max-width: 900px) {
  .service-grid,
  .gg-native .service-grid,
  .service-strip .service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow: visible !important;
    gap: 12px !important;
  }
  .service-card {
    width: auto !important;
    min-width: 0 !important;
    flex: initial !important;
  }
  .service-card span,
  .service-card .service-card-price {
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  /* Tidy the header: one search row, no orphan avatar */
  .topbar { gap: 10px; }
  .topbar .booking-search > button,
  .topbar .search-submit {
    padding: 13px 20px !important;
    font-size: 15px !important;
  }
  .topbar .top-actions { gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .topbar .top-actions::-webkit-scrollbar { display: none; }
  .topbar .top-actions > * { flex: 0 0 auto; }
  .gg-web .topbar .user-menu,
  .gg-web .topbar #userMenuButton { display: none !important; }
}

/* Native card contents follow the clean light card, not the old
   white-on-colour treatment (which made labels invisible). */
.gg-native .service-card {
  background: #fff !important;
  border: 1px solid #edf1ec !important;
  border-radius: 18px !important;
  padding: 14px !important;
  min-height: 118px !important;
  gap: 10px !important;
  box-shadow: 0 1px 2px rgba(24, 33, 29, .04) !important;
  justify-content: flex-start !important;
}
.gg-native .service-card svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--green) !important;
  background: #eef7f0 !important;
  padding: 9px !important;
  box-sizing: content-box !important;
  border-radius: 13px !important;
  margin-bottom: 0 !important;
  display: block !important;
}
.gg-native .service-card span {
  color: var(--ink) !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
}
.gg-native .service-card-price {
  color: var(--muted) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-top: auto !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
}
.gg-native .service-card.active {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 2px rgba(24,134,75,.16) !important;
}
/* keep the accent tints in the native app too */
.gg-native .service-card:nth-child(6n+2) svg { color: #1a5fb4 !important; background: #eaf1fb !important; }
.gg-native .service-card:nth-child(6n+3) svg { color: #c0392b !important; background: #fdeeec !important; }
.gg-native .service-card:nth-child(6n+4) svg { color: #8e44ad !important; background: #f5edfa !important; }
.gg-native .service-card:nth-child(6n+5) svg { color: #d35400 !important; background: #fdf0e6 !important; }
.gg-native .service-card:nth-child(6n)   svg { color: #0d7377 !important; background: #e8f6f6 !important; }

/* ============================================================
   TASKRABBIT-STYLE HOME
   Lead with one question, keep categories quiet, put helper
   faces high. Restraint is what makes these apps feel calm.
   ============================================================ */
@media (max-width: 900px) {
  /* One prompt, not a five-field form */
  .topbar .search-segment.compact { display: none !important; }
  .topbar .booking-search {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .topbar .search-segment.wide {
    width: 100%;
    background: #fff;
    border: 1px solid #e6ece5;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(24, 33, 29, .04);
  }
  .topbar .search-segment.wide input {
    font-size: 15.5px;
    font-weight: 500;
  }
  .topbar .booking-search > button,
  .topbar .search-submit {
    width: 100%;
    border-radius: 16px !important;
    padding: 15px 20px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }

  /* Action pills: quiet, single row */
  .topbar .top-actions {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .topbar .top-actions::-webkit-scrollbar { display: none; }
  .topbar .top-actions > * { flex: 0 0 auto; }
  .gg-web .topbar .user-menu,
  .gg-web .topbar #userMenuButton { display: none !important; }

  /* Section: airier, quieter */
  .service-strip {
    background: #fff;
    border: 1px solid #edf1ec;
    border-radius: 20px;
    padding: 20px 16px !important;
    box-shadow: 0 1px 2px rgba(24, 33, 29, .04);
  }
  .service-strip h1 {
    font-size: 21px !important;
    font-weight: 780 !important;
    letter-spacing: -0.4px;
    color: var(--ink) !important;
  }
  .service-strip .section-heading {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px;
    margin-bottom: 2px !important;
  }
  .service-strip .section-heading p { font-size: 13.5px; color: var(--muted) !important; }
  .service-strip .section-heading .text-button { flex: none; white-space: nowrap; font-weight: 700; }

  /* Helpers deserve the same card language and prominence */
  .helper-strip, .helper-panel {
    background: #fff;
    border: 1px solid #edf1ec;
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: 0 1px 2px rgba(24, 33, 29, .04);
  }
  .helper-card {
    border-radius: 18px !important;
    border: 1px solid #edf1ec !important;
    padding: 14px !important;
    box-shadow: 0 1px 2px rgba(24, 33, 29, .04) !important;
  }
  .helper-card .avatar,
  .helper-card .initial-avatar {
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
  }
}

/* Selected card kept white-on-colour price text from the old design,
   which vanished against the white card. */
.gg-native .service-card.active .service-card-price,
.gg-native .service-card:active .service-card-price,
.service-card.active .service-card-price,
.service-card:hover .service-card-price {
  color: var(--muted) !important;
  background: transparent !important;
}

/* ============================================================
   SERVICE PHOTOS AS CARD THUMBNAILS
   Photos sit in the icon-chip slot rather than as a full-bleed
   background, so cards stay clean and readable and services
   without a photo fall back to the tinted icon gracefully.
   ============================================================ */
.service-card.has-photo,
.gg-native .service-card.has-photo {
  background-image: none !important;
  background: #fff !important;
  border: 1px solid #edf1ec !important;
  color: var(--ink) !important;
}
.service-card.has-photo::before,
.gg-native .service-card.has-photo::before,
.service-card.has-photo::after {
  display: none !important;
}
/* The photo thumbnail */
.service-card.has-photo .svc-thumb,
.gg-native .service-card.has-photo .svc-thumb {
  width: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
  object-fit: cover !important;
  display: block !important;
  flex: none !important;
  background: #eef7f0;
}
/* hide the line icon when a photo is present */
.service-card.has-photo > svg,
.gg-native .service-card.has-photo > svg { display: none !important; }
/* labels stay dark on the white card */
.service-card.has-photo span,
.gg-native .service-card.has-photo span {
  color: var(--ink) !important;
  text-shadow: none !important;
}
.service-card.has-photo .service-card-price,
.gg-native .service-card.has-photo .service-card-price {
  color: var(--muted) !important;
  background: transparent !important;
  border: none !important;
  text-shadow: none !important;
}
