/* Coco De Tour — mobile visual corrections after Impeccable #844.
   Scoped to the three user-verified screens; retain TourWizard behaviour. */
:root {
  --mobile-ink: #173d38;
  --mobile-copy: #35473e;
  --mobile-muted: #596861;
  --mobile-paper: #f7f4ee;
  --mobile-card: #fffdf9;
  --mobile-line: #ded9ce;
}

/* A smaller, calmer navigation. Do not repeat the create-tour action on itself. */
body.profile-page .navbar_new.nav-minimal,
body.request-selection-page .navbar_new.nav-minimal {
  background: rgba(248, 245, 239, .98) !important;
  border-bottom: 1px solid #e5dfd4 !important;
  box-shadow: 0 5px 16px rgba(29, 45, 37, .04) !important;
}
body.profile-page .nav-book-link,
body.request-selection-page .nav-book-link { display: none !important; }
body.profile-page .nav-profile--initials {
  display: inline-grid !important;
  place-items: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border: 1px solid #d6d5cb !important;
  background: #fffdfa !important;
  border-radius: 50% !important;
  color: #183e38 !important;
  font: 700 12px/1 Inter, system-ui, sans-serif !important;
  letter-spacing: -.02em;
}

/* HOME — the image should support the invitation, not consume the screen. */
body.editorial-home.app-theme .editorial-hero {
  height: min(82svh, 760px) !important;
  min-height: 560px !important;
  max-height: 760px !important;
}
body.editorial-home.app-theme .editorial-hero__content {
  height: 100% !important;
  min-height: 0 !important;
  padding-top: 95px !important;
  padding-bottom: clamp(56px, 9vh, 85px) !important;
  justify-content: flex-end !important;
  gap: 0;
}
body.editorial-home.app-theme .editorial-hero__media {
  background-position: center 59%;
}
body.editorial-home.app-theme .editorial-hero h1 {
  max-width: 710px !important;
  margin: 0 0 16px !important;
  font-size: clamp(43px, 5.2vw, 76px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.025em !important;
  text-wrap: pretty;
}
body.editorial-home.app-theme .editorial-hero__lead {
  max-width: 460px !important;
  margin: 0 0 22px !important;
  color: rgba(255,255,255,.96) !important;
  font-size: 16px !important;
  line-height: 1.52 !important;
}
body.editorial-home.app-theme .editorial-hero a.editorial-link--light {
  min-height: 46px !important;
  padding: 12px 20px !important;
  color: #173b35 !important;
  -webkit-text-fill-color: #173b35 !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  box-shadow: none !important;
}
body.editorial-home.app-theme .editorial-about,
body.editorial-home.app-theme .editorial-section {
  border-bottom-color: #e7e0d6;
}
body.editorial-home.app-theme .editorial-about h2 {
  max-width: 800px;
  margin-inline: auto;
  font-size: clamp(30px, 3.3vw, 44px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.026em !important;
}

/* REQUEST — the heading was hidden underneath the fixed navbar on iOS.
   The shell owns its top inset; legacy .page-shell and widget rules must not negate it. */
body.request-selection-page .coco-page.page-shell {
  padding: 0 !important;
  min-height: 100svh;
  overflow-x: clip !important;
}
body.request-selection-page .page-container.content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100%;
}
body.request-selection-page .request-form-page--create {
  background: var(--mobile-paper) !important;
  color: var(--mobile-ink) !important;
  padding: 0 !important;
}
body.request-selection-page .request-form-page--create .request-form-shell {
  width: min(1080px, 100%) !important;
  padding: calc(108px + env(safe-area-inset-top, 0px)) 26px 70px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}
body.request-selection-page .request-form-page--create .request-form-aside {
  padding: 0 0 20px !important;
  top: 100px;
}
body.request-selection-page .request-form-page--create .request-hero h1 {
  margin: 0 0 11px !important;
  color: var(--mobile-ink) !important;
  font-size: clamp(39px, 4vw, 60px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.028em !important;
}
body.request-selection-page .request-form-page--create .request-hero p {
  max-width: 520px;
  margin: 0 !important;
  color: #59655f !important;
  font-size: 15px !important;
  line-height: 1.56 !important;
}
body.request-selection-page .request-form-page--create .request-form-card {
  margin-top: 0 !important;
  padding: clamp(20px, 3.1vw, 35px) !important;
  background: var(--mobile-card) !important;
  border: 1px solid #e7e1d7 !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 34px rgba(29, 45, 37, .055) !important;
}
body.request-selection-page .request-form-page--create .request-form-section + .request-form-section {
  margin-top: 28px !important;
  padding-top: 26px !important;
  border-color: #e5ded2 !important;
}
body.request-selection-page .request-form-page--create .request-section-heading {
  grid-template-columns: 26px minmax(0,1fr) !important;
  gap: 8px !important;
  margin-bottom: 18px !important;
  align-items: start !important;
}
body.request-selection-page .request-form-page--create .request-section-heading span {
  padding-top: 7px;
  color: #957d5e !important;
  font: 700 11px/1.2 Inter, sans-serif !important;
  letter-spacing: 0 !important;
}
body.request-selection-page .request-form-page--create .request-section-heading h2 {
  margin: 0 !important;
  color: var(--mobile-ink) !important;
  font-size: clamp(26px, 2.8vw, 34px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
  text-wrap: pretty;
  word-break: normal !important;
}
body.request-selection-page .request-form-page--create .request-mini-label,
body.request-selection-page .request-form-page--create .request-field label {
  color: #43584e !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  font-weight: 700 !important;
}
body.request-selection-page .request-form-page--create .scenario-tags,
body.request-selection-page .request-form-page--create .date-flexibility-tags {
  gap: 7px !important;
}
body.request-selection-page .request-form-page--create .scenario-tag,
body.request-selection-page .request-form-page--create .destination-tag,
body.request-selection-page .request-form-page--create .date-flexibility-tag {
  min-height: 36px !important;
  padding: 8px 12px !important;
  color: #34483e !important;
  background: #fffdfa !important;
  border: 1px solid #d8d3c7 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
}
body.request-selection-page .request-form-page--create .scenario-tag.is-selected,
body.request-selection-page .request-form-page--create .destination-tag.is-selected,
body.request-selection-page .request-form-page--create .date-flexibility-tag.is-selected {
  color: #fff !important;
  background: var(--mobile-ink) !important;
  border-color: var(--mobile-ink) !important;
}
body.request-selection-page .request-form-page--create input:not([type=checkbox]):not([type=radio]),
body.request-selection-page .request-form-page--create select,
body.request-selection-page .request-form-page--create textarea {
  min-height: 48px !important;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1px solid #d5d1c8 !important;
  font-size: 15px !important;
  padding-inline: 12px !important;
}
body.request-selection-page .request-form-page--create .request-checkbox-label {
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
body.request-selection-page .request-form-page--create .request-submit-button {
  min-height: 48px !important;
  border-radius: 10px !important;
  font: 700 13px/1.3 Inter, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* PROFILE — turn an overlong landing page into a readable travel dashboard. */
body.profile-page .fs-profile {
  min-height: 0 !important;
  background: var(--mobile-paper) !important;
  color: var(--mobile-ink) !important;
}
body.profile-page .fs-profile__hero {
  width: min(1020px, 100%);
  margin: 0 auto;
  padding: calc(112px + env(safe-area-inset-top, 0px)) 25px 20px !important;
  text-align: left !important;
  border: 0 !important;
}
body.profile-page .fs-profile__eyebrow {
  margin: 0 0 11px !important;
  color: #8b775d !important;
  font: 700 11px/1.2 Inter, sans-serif !important;
  letter-spacing: .10em !important;
}
body.profile-page .fs-profile__name,
body.profile-page .fs-profile__hero h1 {
  margin: 0 0 8px !important;
  color: var(--mobile-ink) !important;
  font: 600 clamp(30px, 4vw, 48px)/1.1 "Playfair Display", Georgia, serif !important;
  letter-spacing: -.02em !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}
body.profile-page .fs-profile__sub {
  margin: 0 !important;
  max-width: 500px !important;
  color: var(--mobile-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
body.profile-page .fs-profile__inner {
  width: min(1020px, calc(100% - 50px)) !important;
  margin: 0 auto !important;
  padding: 0 0 50px !important;
}
body.profile-page .fs-concierge {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 24px !important;
  align-items: center !important;
  padding: 24px !important;
  background: var(--mobile-card) !important;
  border: 1px solid var(--mobile-line) !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 28px rgba(20,45,37,.05) !important;
}
body.profile-page .fs-concierge__main {
  display: flex;
  align-items: center;
  gap: 14px !important;
  min-width: 0;
}
body.profile-page .fs-concierge__main > div { min-width: 0; }
body.profile-page .fs-concierge__avatar {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
  border-radius: 50% !important;
}
body.profile-page .fs-concierge__label {
  margin: 0 0 5px !important;
  color: #857054 !important;
  font-size: 10px !important;
  letter-spacing: .08em !important;
}
body.profile-page .fs-concierge__name {
  margin: 0 !important;
  color: var(--mobile-ink) !important;
  font: 600 clamp(22px, 2.4vw, 29px)/1.12 "Playfair Display", Georgia, serif !important;
}
body.profile-page .fs-concierge__status {
  margin: 7px 0 0 !important;
  color: var(--mobile-muted) !important;
  font-size: 12px !important;
  line-height: 1.35;
}
body.profile-page .fs-concierge__actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 9px !important;
}
body.profile-page .fs-profile .fs-btn,
body.profile-page .fs-profile .fs-btn:visited {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px !important;
  width: auto;
  padding: 10px 16px !important;
  border: 1px solid #bcc7bd !important;
  border-radius: 10px !important;
  background: #fffdfa !important;
  color: #193f38 !important;
  -webkit-text-fill-color: #193f38 !important;
  font: 700 11px/1.28 Inter, sans-serif !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  text-align: center;
  white-space: normal;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.profile-page .fs-profile .fs-btn--dark,
body.profile-page .fs-profile .fs-btn--dark:visited {
  border-color: var(--mobile-ink) !important;
  background: var(--mobile-ink) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.profile-page .fs-profile__section {
  padding-top: 30px !important;
}
body.profile-page .fs-profile__section-head {
  margin-bottom: 17px !important;
}
body.profile-page .fs-profile__section-head h2 {
  margin: 0 !important;
  color: var(--mobile-ink) !important;
  font: 600 clamp(28px, 3.3vw, 36px)/1.13 "Playfair Display", Georgia, serif !important;
  letter-spacing: -.025em !important;
}
body.profile-page .fs-trip-list {
  display: grid !important;
  gap: 12px !important;
  border: 0 !important;
}
body.profile-page .fs-trip {
  background: var(--mobile-card) !important;
  color: var(--mobile-ink) !important;
  border: 1px solid var(--mobile-line) !important;
  border-radius: 15px !important;
  box-shadow: 0 5px 18px rgba(24,45,38,.04) !important;
  overflow: hidden !important;
}
body.profile-page .fs-trip__trigger {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto 18px;
  gap: 14px !important;
  align-items: center;
  padding: 20px 22px !important;
  min-height: 88px !important;
  background: transparent !important;
  color: var(--mobile-ink) !important;
  text-align: left;
  border: 0 !important;
  width: 100%;
}
body.profile-page .fs-trip__destination {
  color: var(--mobile-ink) !important;
  font: 600 clamp(22px,2.3vw,27px)/1.13 "Playfair Display",Georgia,serif !important;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
body.profile-page .fs-trip__dates {
  margin: 7px 0 0 !important;
  color: var(--mobile-muted) !important;
  font-size: 12px !important;
  font-weight: 500;
}
body.profile-page .fs-trip__status {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: #e9eee9 !important;
  color: #29594a !important;
  white-space: nowrap;
  font: 700 10px/1.2 Inter,sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
body.profile-page .fs-trip__chevron {
  color: #6f7e72 !important;
  font-size: 20px !important;
  transition: transform .18s ease;
}
body.profile-page .fs-trip.is-open .fs-trip__chevron { transform: rotate(180deg); }
body.profile-page .fs-trip__body {
  padding: 0 22px 20px !important;
}
body.profile-page .fs-stage {
  margin: 0 !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #eff3ee !important;
}
body.profile-page .fs-stage__top {
  margin-bottom: 7px !important;
  color: #3b6554 !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  letter-spacing: .035em !important;
  text-transform: none !important;
}
body.profile-page .fs-stage__track { display:none !important; }
body.profile-page .fs-stage p {
  margin: 0 !important;
  color: #41584c !important;
  font-size: 13px !important;
  line-height: 1.53 !important;
}
body.profile-page .fs-trip__meta {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 14px;
  margin: 16px 0 !important;
  border: 0 !important;
}
body.profile-page .fs-trip__meta div,
body.profile-page .fs-trip__meta div + div {
  padding: 0 !important;
  border: 0 !important;
  min-width: 0;
}
body.profile-page .fs-trip__meta dt {
  margin-bottom: 4px !important;
  color: #7b857b !important;
  font-size: 10px !important;
  letter-spacing: .025em !important;
  text-transform: none !important;
}
body.profile-page .fs-trip__meta dd {
  margin: 0 !important;
  color: #263e35 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  overflow-wrap: break-word;
}
body.profile-page .fs-trip__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body.profile-page .fs-trip__actions .fs-btn {
  flex: 1 1 auto;
  white-space: normal !important;
}
body.profile-page .fs-profile__new { margin-top: 18px !important; }

@media (max-width: 700px) {
  /* Hero geometry: readable copy and room for the next section above the fold. */
  body.editorial-home.app-theme .editorial-hero {
    height: 73svh !important;
    min-height: 515px !important;
    max-height: 680px !important;
  }
  body.editorial-home.app-theme .editorial-hero__shade {
    background: linear-gradient(0deg,rgba(10,24,19,.83) 0%,rgba(10,24,19,.25) 58%,rgba(10,24,19,.12) 100%) !important;
  }
  body.editorial-home.app-theme .editorial-hero__content {
    width: calc(100% - 42px) !important;
    margin-inline: 21px !important;
    padding: 94px 0 54px !important;
    min-height: 0 !important;
    justify-content: flex-end !important;
  }
  body.editorial-home.app-theme .editorial-hero h1 {
    margin-bottom: 13px !important;
    max-width: 470px !important;
    font-size: clamp(33px, 8.3vw, 45px) !important;
    line-height: 1.07 !important;
  }
  body.editorial-home.app-theme .editorial-hero__lead {
    max-width: 350px !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body.editorial-home.app-theme .editorial-hero a.editorial-link--light {
    min-height: 43px !important;
    padding: 11px 17px !important;
    font-size: 11px !important;
  }
  body.editorial-home.app-theme .editorial-about,
  body.editorial-home.app-theme .editorial-section {
    padding-block: 46px !important;
  }
  body.editorial-home.app-theme .editorial-about h2,
  body.editorial-home.app-theme .editorial-heading h2 {
    max-width: 100%;
    font-size: clamp(28px,7vw,35px) !important;
    line-height: 1.15 !important;
    text-align: left !important;
  }
  body.editorial-home.app-theme .editorial-about p:not(.editorial-kicker) {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  body.editorial-home.app-theme .personalized-scenarios__grid .offer-card .offer-card__media {
    border-radius: 12px !important;
  }

  /* Request mobile placement and compact controls. */
  body.request-selection-page .request-form-page--create .request-form-shell {
    padding: calc(97px + env(safe-area-inset-top, 0px)) 16px 65px !important;
  }
  body.request-selection-page .request-form-page--create .request-form-aside {
    position: static !important;
    padding: 0 1px 18px !important;
  }
  body.request-selection-page .request-form-page--create .request-hero h1 {
    margin: 0 0 10px !important;
    font-size: clamp(37px, 9.1vw, 43px) !important;
    line-height: 1.05 !important;
  }
  body.request-selection-page .request-form-page--create .request-hero p {
    font-size: 13px !important;
    line-height: 1.48 !important;
  }
  body.request-selection-page .request-form-page--create .request-form-card {
    padding: 20px 17px 27px !important;
    border-radius: 13px !important;
  }
  body.request-selection-page .request-form-page--create .request-section-heading {
    grid-template-columns: 22px minmax(0,1fr) !important;
    margin-bottom: 14px !important;
    gap: 7px !important;
  }
  body.request-selection-page .request-form-page--create .request-section-heading h2 {
    font-size: clamp(25px,6.7vw,30px) !important;
    line-height: 1.16 !important;
  }
  body.request-selection-page .request-form-page--create .request-fields-grid {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 13px !important;
  }
  body.request-selection-page .request-form-page--create .request-mini-label {
    margin: 4px 0 8px !important;
  }
  body.request-selection-page .request-form-page--create .scenario-tag {
    min-height: 36px !important;
    padding: 7px 10px !important;
  }

  /* Personal travel dashboard on a phone. */
  body.profile-page .fs-profile__hero {
    width: 100% !important;
    padding: calc(91px + env(safe-area-inset-top,0px)) 20px 19px !important;
  }
  body.profile-page .fs-profile__name,
  body.profile-page .fs-profile__hero h1 {
    font-size: clamp(29px,7.1vw,36px) !important;
    line-height: 1.12 !important;
    margin-bottom: 9px !important;
    letter-spacing: -.025em !important;
  }
  body.profile-page .fs-profile__eyebrow { margin-bottom: 10px !important; }
  body.profile-page .fs-profile__sub {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  body.profile-page .fs-profile__inner {
    width: calc(100% - 32px) !important;
    padding: 0 0 35px !important;
  }
  body.profile-page .fs-concierge {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 17px !important;
    padding: 18px !important;
  }
  body.profile-page .fs-concierge__main { gap: 12px !important; }
  body.profile-page .fs-concierge__avatar {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
  }
  body.profile-page .fs-concierge__name {
    font-size: clamp(22px,5.7vw,27px) !important;
    line-height: 1.12 !important;
  }
  body.profile-page .fs-concierge__actions {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  body.profile-page .fs-concierge__actions .fs-btn {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 8px !important;
    font-size: 11px !important;
  }
  body.profile-page .fs-profile__section { padding-top: 28px !important; }
  body.profile-page .fs-profile__section-head { margin-bottom: 14px !important; }
  body.profile-page .fs-profile__section-head h2 { font-size: 28px !important; }
  body.profile-page .fs-trip-list { gap: 11px !important; }
  body.profile-page .fs-trip__trigger {
    grid-template-columns: minmax(0,1fr) 18px !important;
    grid-template-areas: "details chevron" "status status";
    gap: 8px !important;
    padding: 17px 18px !important;
    min-height: 0 !important;
  }
  body.profile-page .fs-trip__trigger > span:first-child { grid-area: details; min-width: 0; }
  body.profile-page .fs-trip__status { grid-area: status; justify-self: start; }
  body.profile-page .fs-trip__chevron { grid-area: chevron; justify-self: end; align-self: center; }
  body.profile-page .fs-trip__destination { font-size: clamp(21px,5.5vw,26px) !important; }
  body.profile-page .fs-trip__dates { margin-top: 5px !important; }
  body.profile-page .fs-trip__body { padding: 0 17px 17px !important; }
  body.profile-page .fs-stage { padding: 14px 15px !important; }
  body.profile-page .fs-trip__meta {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px 14px !important;
    margin: 14px 0 !important;
  }
  body.profile-page .fs-trip__actions { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px !important; }
  body.profile-page .fs-trip__actions .fs-btn {
    width: 100% !important;
    min-height: 42px !important;
    font-size: 11px !important;
    padding: 10px 8px !important;
  }
  body.profile-page .fs-trip__actions .fs-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 350px) {
  body.profile-page .fs-concierge__actions,
  body.profile-page .fs-trip__actions { grid-template-columns: minmax(0,1fr) !important; }
  body.request-selection-page .request-form-page--create .request-form-card { padding-inline: 13px !important; }
  body.editorial-home.app-theme .editorial-hero h1 { font-size: 32px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.profile-page .fs-trip__chevron { transition: none; }
}

/* Final cascade corrections after browser review on a 390px iPhone layout.
   Keep navigation in document flow on interior pages so scroll restoration,
   focus movement, and loading cannot conceal the section heading. */
body.request-selection-page.app-theme .navbar_new.nav-minimal,
body.profile-page.app-theme .navbar_new.nav-minimal {
  position: sticky !important;
  top: 0 !important;
}
body.editorial-home.app-theme .nav-book-link {
  display: none !important; /* The hero has the primary booking CTA. */
}
@media(max-width:700px) {
  body.request-selection-page.app-theme .request-form-page--create .request-form-shell {
    padding-top: 28px !important;
  }
  body.profile-page.app-theme .fs-profile__hero {
    padding-top: 28px !important;
  }
  body.profile-page.app-theme .fs-profile__name-form {
    margin-top: 15px !important;
  }
}

/* Avoid an extra global page-shell inset beneath the now-sticky profile nav. */
body.profile-page.app-theme main.coco-page.page-shell {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}
