.rv-account-document {
  background: #f5f0e4;
  color: #193931;
  color-scheme: light;
}

.account-page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: center;
  min-height: 620px;
  padding-block: clamp(24px, 6vw, 84px);
}

.account-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  overflow: hidden;
  min-height: 515px;
  border-radius: 9px;
  background: #152332;
  color: var(--paper);
}

.account-cover picture,
.account-cover::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.account-cover picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
}

.account-cover::after {
  content: "";
  background: linear-gradient(180deg, #10182652 0%, transparent 23%, #101826b3 59%, #101826f5 93%);
}

.account-cover-copy { padding: clamp(20px, 4vw, 48px); }
.account-cover-copy p {
  max-width: 11ch;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.06em;
}
.account-cover-copy ul { padding: 0; margin: 20px 0 0; list-style: none; }
.account-cover-copy li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
  color: #f2dfc5;
}
.account-cover-copy li svg { color: #ffb093; }
.account-home {
  position: absolute;
  top: 17px;
  left: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 5px;
  background: #151f30de;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.account-home:hover { background: #151f30; }
.account-home svg { transform: rotate(180deg); }

.account-card {
  width: 100%;
  max-width: 440px;
  padding-block: 8px;
}

.account-card h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  text-wrap: balance;
}

.account-intro { max-width: 40ch; margin-block: 12px 24px; color: #415852; }
.account-card form { display: grid; gap: 14px; }
.account-card label { display: grid; gap: 5px; font-weight: 715; }
.account-card input {
  width: 100%;
  min-height: 47px;
  padding: 8px 12px;
  border: 1px solid #8b9d90;
  border-radius: 6px;
  background: #fffcf3;
  color: #1a3732;
  font-size: 1rem;
}

.account-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 6px;
  background: #21574a;
  color: #fff4de;
  font-weight: 750;
}
.account-submit:hover { background: #173d34; }
.account-submit:disabled { opacity: .75; }
.account-card button[aria-busy="true"] { opacity: .75; cursor: progress; }
.account-card :is(input, button):focus-visible { outline-color: #9f533b; }
.account-status { margin-block: 12px 16px; color: #38584d; }
.account-error {
  padding: 9px 12px;
  border: 1px solid #b47a68;
  border-radius: 6px;
  background: #f6e8dc;
  color: #7b3825;
}
.account-email-confirmation {
  margin-top: 17px;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid #bdc8b5;
  border-radius: 8px;
  background: #e8ecde;
  color: #314f44;
  overflow-wrap: anywhere;
}
.account-email-confirmation p + p { margin-top: 10px; }
.account-email-confirmation strong { color: #193931; }
.account-email-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 13px;
  margin-top: 14px;
}
.account-email-actions button {
  min-height: 44px;
  border-radius: 5px;
  font-size: .93rem;
  font-weight: 730;
}
.account-resend { padding: 7px 11px; border: 1px solid #83998a; }
.account-resend:hover { background: #dce5d6; }
.account-edit-email { padding: 7px 3px; text-decoration: underline; text-underline-offset: .22em; }

.account-help {
  margin-top: 22px;
  border-top: 1px solid #c7ccba;
  padding-top: 5px;
  font-size: .9rem;
}

.account-help a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #224c42;
  text-underline-offset: .22em;
}

.account-help a:focus-visible { outline-color: #9f533b; }
.account-help-contact { padding-block: 4px; font-weight: 730; }
.account-help-address { display: block; color: #415852; font-size: .9em; font-weight: 540; }
.account-help-policies { display: flex; flex-wrap: wrap; gap: 0 1rem; }

.account-dashboard-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #203d38;
  color: #fff2da;
}

.account-dashboard-art,
.account-dashboard-cover::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.account-dashboard-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 52%;
}

.account-dashboard-cover::after {
  content: "";
  background: linear-gradient(90deg, #152b27 0%, #193831f5 23%, #193831bb 49%, #19383118 83%),
    linear-gradient(0deg, #152b277d, transparent 37%);
}

.account-dashboard-intro {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.8vw, 39px);
  min-height: clamp(220px, 19vw, 302px);
  padding-block: 35px;
}

.account-dashboard-intro > div:last-child { min-width: 0; }
.account-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(56px, 7.3vw, 96px);
  aspect-ratio: 1;
  border: 1px solid #f4cc94;
  border-radius: 50%;
  background: #2b5045;
  color: #fce0ab;
  font-size: clamp(1.65rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.account-member-name {
  color: #f4d599;
  font: 700 .96rem/1.35 var(--label);
  overflow-wrap: anywhere;
}

.account-dashboard h1 {
  margin-top: 7px;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.059em;
  word-spacing: .045em;
}

.account-cover-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  color: #f9ddb1;
  font-weight: 700;
  text-underline-offset: .22em;
}

.account-sections {
  border-bottom: 1px solid #c7ccba;
  background: #ebece0;
}

.account-sections-inner { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 4vw, 58px); }
.account-sections a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 54px;
  padding-block: 8px;
  color: #224c42;
  font-weight: 715;
  text-decoration: none;
  text-underline-offset: .21em;
}
.account-sections a:hover { text-decoration: underline; }

.account-dashboard-content {
  display: grid;
  gap: clamp(30px, 5.4vw, 76px);
  padding-block: clamp(28px, 4.5vw, 66px) clamp(39px, 5.8vw, 87px);
}

.account-dashboard-content > * { min-width: 0; scroll-margin-top: 20px; }
.account-dashboard-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 21px;
  color: #3e5b50;
}

#account-dashboard-retry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-inline: 9px;
  border: 1px solid #a7b5a5;
  border-radius: 6px;
  font-weight: 710;
}

.account-trips h2 {
  margin-bottom: clamp(14px, 2vw, 23px);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 790;
  line-height: 1;
  letter-spacing: -.055em;
}

.account-trip-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  overflow: hidden;
  border: 1px solid #bbcab8;
  border-radius: 9px;
  background: #e8ecde;
}

.account-trip-ticket img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 275px;
  object-fit: cover;
  object-position: 58% 52%;
}

.account-trip-copy { padding: clamp(17px, 2.8vw, 40px); align-self: center; }
.account-trip-copy h3 { font-size: clamp(1.45rem, 2.7vw, 2.55rem); font-weight: 780; letter-spacing: -.04em; line-height: 1.05; }
.account-trip-copy p { margin-top: 8px; color: #385649; }
.account-trip-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 0;
  margin: 11px 0 0;
  color: #285247;
  font-size: .9rem;
  font-weight: 720;
  list-style: none;
}

.account-trip-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 16px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #245449;
  color: #fff4de;
  font-weight: 720;
  text-decoration: none;
}

.account-trip-action:hover { background: #173d34; }

@media (max-width: 760px) {
  .account-page {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    min-height: 0;
    padding-block: 18px 40px;
  }
  .account-cover { min-height: clamp(138px, 39vw, 230px); }
  .account-cover-copy { padding: 15px; }
  .account-cover-copy p { max-width: none; font-size: clamp(1.55rem, 5.6vw, 2.65rem); }
  .account-home { top: 8px; left: 8px; }
  .account-cover-copy ul { display: none; }
  .account-dashboard-cover::after {
    background: linear-gradient(90deg, #152b27f5, #193831aa 68%, #19383165);
  }
  .account-dashboard-intro { min-height: 195px; padding-block: 27px; }
  .account-dashboard h1 { font-size: clamp(2.1rem, 7.6vw, 3.55rem); }
}

@media (max-width: 550px) {
  .account-sections-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .account-sections a { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; font-size: .88rem; }
  .account-trip-ticket { grid-template-columns: minmax(0, 1fr); }
  .account-trip-ticket img { min-height: 0; max-height: 170px; aspect-ratio: 2.5; }
}
