/* =============================================================================
 * ClientArea-v3.css  -  GENERATED, don't hand-edit the ported sections
 * -----------------------------------------------------------------------------
 * "My Booking" redesign from CyprusParadise-NewDesigns/prototypes/manage-booking/
 * (summary.html -> ClientHome, balance.html -> ClientPayment, index.html -> ClientLogin).
 * Every prototype rule is scoped under its page wrapper - .trip (summary), .bal (balance),
 * .mbh (sign-in) - so its generic class names (.options, .steps, .timeline, .chips...) can't
 * touch the shared Header/Footer or Bootstrap. Loaded instead of ClientArea-v2.css on those
 * three pages (see _layoutUser.cshtml's MbFullDesign flag). Site additions are at the end.
 * ============================================================================= */

/* ---- Design tokens (assets/tokens/tokens.css) ---- */

.trip,
.bal,
.mbh {
  --cp-primary: #02aaa9;
  --cp-primary-dark: #218887;
  --cp-primary-deep: #3c4e5a;
  --cp-primary-soft: #deffff;
  --cp-primary-mist: #def6f5;

  --cp-gold: #febb02;
  --cp-gold-soft: #fff6d9;
  --cp-coral: #f9706a;
  --cp-green: #23ae24;
  --cp-green-text: #008009;
  --cp-green-soft: #dff6e1;
  --cp-red: #ff000b;
  --cp-red-soft: #ffe7e8;
  --cp-link: #009ff4;
  --cp-warning: #ca4a00;

  --cp-text: #3c4e5a;
  --cp-text-muted: #707070;
  --cp-text-search: #5d5d5d;
  --cp-ink: #141515;

  --cp-surface: #ffffff;
  --cp-page: #f3f6f6;
  --cp-grey: #ededeb;
  --cp-grey-2: #f3f3f3;
  --cp-border: #d8e0e0;

  --cp-radius: 8px;
  --cp-radius-sm: 4px;
  --cp-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);
  --cp-shadow-lg: 6px 6px 12px 0 rgba(0, 0, 0, 0.16);

  --cp-font: "Lato", "Segoe UI", sans-serif;
  --cp-font-display: "Montserrat", "Lato", sans-serif;

  
  --cp-label-deal: #f9706a;
  --cp-label-value: #008009;
  --cp-label-quiet: #3c4e5a;
  --cp-urgency-text: #c23b4a;
}

/* ---- Shared base (homepage/styles.css) ---- */
:is(.trip, .bal, .mbh) { font-family: var(--cp-font); color: var(--cp-text); background: var(--cp-page); line-height: 1.45;
}
:is(.trip, .bal, .mbh) *,
:is(.trip, .bal, .mbh) *::before,
:is(.trip, .bal, .mbh) *::after { box-sizing: border-box;
}
:is(.trip, .bal, .mbh) img { max-width: 100%; display: block;
}
:is(.trip, .bal, .mbh) button,
:is(.trip, .bal, .mbh) input,
:is(.trip, .bal, .mbh) select,
:is(.trip, .bal, .mbh) textarea { font: inherit;
}
:is(.trip, .bal, .mbh) a { color: var(--cp-primary-dark);
}
:is(.trip, .bal, .mbh) h1,
:is(.trip, .bal, .mbh) h2,
:is(.trip, .bal, .mbh) h3 { color: var(--cp-primary-deep); letter-spacing: -0.03em;
}
:is(.trip, .bal, .mbh) .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
:is(.trip, .bal, .mbh) .btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  min-height: 48px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
:is(.trip, .bal, .mbh) .btn--primary {
  background: linear-gradient(180deg, #14b8b6, var(--cp-primary));
  color: #fff;
  box-shadow: 0 8px 18px rgba(2, 170, 169, 0.28);
}
:is(.trip, .bal, .mbh) .btn--primary:hover {
  background: var(--cp-primary-deep);
  transform: translateY(-1px);
}
:is(.trip, .bal, .mbh) .btn--gold {
  background: var(--cp-gold);
  color: var(--cp-primary-deep);
  box-shadow: inset 0 0 0 1px #c99400;
}
:is(.trip, .bal, .mbh) .btn--gold:hover {
  background: #f0b000;
  transform: translateY(-1px);
}
:is(.trip, .bal, .mbh) .btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  min-height: 40px;
  font-size: 13px;
}
:is(.trip, .bal, .mbh) .btn--ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}
:is(.trip, .bal, .mbh) .btn--ghost-dark {
  background: transparent;
  color: var(--cp-primary-dark);
  box-shadow: inset 0 0 0 1.5px var(--cp-primary);
}


/* ---- account-nav.css ---- */
:is(.trip, .bal) .options {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 var(--cp-border), 0 10px 30px rgba(16, 68, 67, 0.07);
}
:is(.trip, .bal) .options__title {
  margin: 4px 10px 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-text-muted);
}
:is(.trip, .bal) .options a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 12px;
  color: var(--cp-text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}
:is(.trip, .bal) .o-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
}
:is(.trip, .bal) .o-ic svg {
  width: 18px;
  height: 18px;
}
:is(.trip, .bal) .options a:hover {
  background: var(--cp-page);
}
:is(.trip, .bal) .options a[aria-current="page"] {
  background: linear-gradient(135deg, var(--cp-primary-dark), var(--cp-primary));
  color: #fff;
}
:is(.trip, .bal) .options a[aria-current="page"] .o-ic {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
:is(.trip, .bal) .o-badge {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--cp-gold-soft);
  color: var(--cp-primary-deep);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
:is(.trip, .bal) .o-badge--paid {
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
}
:is(.trip, .bal) .options a[aria-current="page"] .o-badge {
  background: #fff;
  color: var(--cp-primary-dark);
}
:is(.trip, .bal) .options__out {
  margin-top: 6px;
  box-shadow: inset 0 1px 0 var(--cp-border);
  border-radius: 0 0 12px 12px !important;
}
@media (max-width: 1040px) {
:is(.trip, .bal) .options {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
}
:is(.trip, .bal) .options::-webkit-scrollbar {
    display: none;
}
:is(.trip, .bal) .options__title {
    display: none;
}
:is(.trip, .bal) .options a {
    flex: 0 0 auto;
    padding-right: 14px;
    box-shadow: inset 0 0 0 1px var(--cp-border);
}
:is(.trip, .bal) .options__out {
    margin-top: 0;
    border-radius: 12px !important;
}

}


/* ---- summary.css (.trip) ---- */
.trip {
  background: var(--cp-page);
  color: var(--cp-text);
  font-family: var(--cp-font);
}
.trip .btn--primary:hover {
  background: var(--cp-primary-dark);
}
.trip [hidden] {
  display: none !important;
}
.trip :focus-visible {
  outline: 3px solid var(--cp-gold);
  outline-offset: 2px;
}
.trip .btn--sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: var(--cp-radius);
  white-space: nowrap;
}
.trip .btn--line {
  background: #fff;
  color: var(--cp-primary-dark);
  box-shadow: inset 0 0 0 1.5px var(--cp-primary);
}
.trip .btn--line:hover {
  background: var(--cp-primary-mist);
}
.trip .trip-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
}
.trip .trip-user span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--cp-primary-dark);
  font-size: 13px;
  font-weight: 900;
}
.trip .trip-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}
.trip .trip-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.trip .trip-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 52, 58, 0.86) 0%, rgba(20, 52, 58, 0.55) 48%, rgba(20, 52, 58, 0.15) 100%),
    linear-gradient(0deg, rgba(20, 52, 58, 0.55), transparent 55%);
}
.trip .trip-hero__inner {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px 88px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: 32px;
  align-items: end;
}
.trip .trip-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-primary-soft);
}
.trip .trip-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--cp-font-display);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.trip .trip-hero__lede {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.trip .trip-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.trip .trip-status li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.trip .trip-status .is-good::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--cp-green);
  font-size: 11px;
}
.trip .trip-status .is-due {
  background: #fff;
  box-shadow: none;
}
.trip .trip-status .is-due a {
  color: var(--cp-primary-deep);
  text-decoration: none;
}
.trip .trip-status .is-due a::after {
  content: " →";
}
.trip .due-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--cp-gold-soft);
  box-shadow: 0 10px 30px rgba(16, 68, 67, 0.07);
  color: var(--cp-text);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.trip .due-alert:hover {
  transform: translateY(-1px);
}
.trip .due-alert__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--cp-primary-deep);
}
.trip .due-alert__copy strong {
  display: block;
  font-size: 17px;
}
.trip .due-alert__copy span {
  font-size: 14px;
  color: var(--cp-text-muted);
}
.trip .due-alert__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--cp-radius);
  background: var(--cp-primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.trip .glance dd a {
  color: var(--cp-primary-dark);
  font-weight: 700;
}
.trip .countdown {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 24px 48px rgba(10, 30, 34, 0.3);
  backdrop-filter: blur(14px);
}
.trip .countdown__label {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.trip .countdown__clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.trip .countdown__clock p {
  margin: 0;
  padding: 12px 6px;
  border-radius: 12px;
  background: #fff;
  color: var(--cp-text);
  text-align: center;
}
.trip .countdown__clock strong {
  display: block;
  font-family: var(--cp-font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--cp-primary-dark);
  font-variant-numeric: tabular-nums;
}
.trip .countdown__clock span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trip .countdown__trip {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.trip .countdown__trip strong {
  display: inline-block;
  min-width: 84px;
}
.trip .trip-tabs {
  position: sticky;
  top: 80px;
  z-index: 30;
  margin: -32px auto 0;
  max-width: 1140px;
  padding: 0 20px;
}
.trip .trip-tabs__inner {
  display: flex;
  gap: 4px;
  padding: 6px;
  overflow-x: auto;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 68, 67, 0.16);
  scrollbar-width: none;
}
.trip .trip-tabs__inner::-webkit-scrollbar {
  display: none;
}
.trip .trip-tabs a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--cp-text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.trip .trip-tabs a:hover {
  background: var(--cp-primary-mist);
}
.trip .trip-tabs a.is-current {
  background: var(--cp-primary);
  color: #fff;
}
.trip .trip-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.trip .trip-main {
  display: grid;
  gap: 20px;
}
.trip .trip-main > section {
  scroll-margin-top: 160px;
}
.trip .t-card {
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 var(--cp-border), 0 10px 30px rgba(16, 68, 67, 0.07);
}
.trip .t-card h2 {
  margin: 0 0 18px;
  font-family: var(--cp-font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--cp-text);
}
.trip .t-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-primary-dark);
}
.trip .t-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.trip .t-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: var(--cp-radius);
  background: var(--cp-primary-mist);
  font-size: 14px;
  line-height: 1.5;
}
.trip .t-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.trip .t-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.trip .t-actions a:hover {
  background: var(--cp-primary-soft);
}
.trip .t-actions a::after {
  content: "→";
  margin-left: 8px;
}
.trip .t-card--ready {
  background: linear-gradient(135deg, #fff 55%, var(--cp-primary-mist));
}
.trip .ready-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.trip .ring {
  --deg: calc(var(--done) * 3.6deg);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--cp-primary) var(--deg), var(--cp-grey) 0);
}
.trip .ring span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--cp-primary-dark);
}
.trip .checklist {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.trip .checklist li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.trip .checklist strong {
  display: block;
}
.trip .checklist div span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--cp-text-muted);
}
.trip .checklist__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--cp-border);
}
.trip .checklist .is-done .checklist__mark {
  background: var(--cp-green);
  box-shadow: none;
}
.trip .checklist .is-done .checklist__mark::after {
  content: "✓";
  color: #fff;
  font-weight: 900;
}
.trip .checklist .is-done strong {
  color: var(--cp-green-text);
}
.trip .checklist .is-todo {
  box-shadow: inset 0 0 0 2px var(--cp-primary);
}
.trip .checklist .is-todo .checklist__mark {
  box-shadow: inset 0 0 0 2px var(--cp-primary);
}
.trip .refs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.trip .ref {
  position: relative;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cp-primary-dark), var(--cp-primary));
  color: #fff;
}
.trip .ref span,
.trip .ref em {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}
.trip .ref strong {
  display: block;
  margin: 6px 0;
  font-family: var(--cp-font-display);
  font-size: 30px;
  letter-spacing: 0.08em;
}
.trip .ref button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--cp-primary-dark);
  font: 700 13px var(--cp-font);
  cursor: pointer;
}
.trip .ref button.is-copied {
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
}
.trip .docs {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.trip .docs li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.trip .docs strong {
  display: block;
}
.trip .docs div span {
  font-size: 14px;
  color: var(--cp-text-muted);
}
.trip .docs__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font-size: 12px;
  font-weight: 900;
}
.trip .docs__icon--soft {
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
  font-size: 18px;
}
.trip .docs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--cp-primary-dark);
  font-weight: 700;
}
.trip .timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trip .timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 117px;
  width: 2px;
  background: linear-gradient(var(--cp-primary), var(--cp-primary-soft));
}
.trip .timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  padding: 0 0 22px;
}
.trip .timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 111px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px var(--cp-primary);
}
.trip .timeline__day {
  padding-top: 2px;
  font-size: 13px;
  font-weight: 900;
  color: var(--cp-text-muted);
  text-align: right;
}
.trip .timeline strong {
  display: block;
  font-size: 16px;
}
.trip .timeline p {
  margin: 4px 0 0;
  color: var(--cp-text-muted);
  line-height: 1.5;
}
.trip .timeline__stay div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cp-primary-mist);
}
.trip .timeline__stay::before {
  background: var(--cp-primary) !important;
}
.trip .airline {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cp-gold-soft);
  font-weight: 700;
  font-size: 14px;
}
.trip .passes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.trip .pass {
  position: relative;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--cp-border);
  overflow: hidden;
}
.trip .pass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cp-primary);
}
.trip .pass__dir {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 900;
  color: var(--cp-primary-dark);
}
.trip .pass__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.trip .pass__route p {
  margin: 0;
}
.trip .pass__route strong {
  display: block;
  font-family: var(--cp-font-display);
  font-size: 28px;
  line-height: 1;
}
.trip .pass__route span {
  display: block;
  margin-top: 4px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.trip .pass__route em {
  font-style: normal;
  font-size: 13px;
  color: var(--cp-text-muted);
}
.trip .pass__end {
  text-align: right;
}
.trip .pass__line {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cp-primary) 0 6px, transparent 6px 12px);
}
.trip .pass__line i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 6px;
  background: #fff;
  color: var(--cp-primary);
  font-style: normal;
}
.trip .pass__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 2px dashed var(--cp-border);
}
.trip .pass__meta dt,
.trip .facts dt,
.trip .glance dt {
  font-size: 12px;
  color: var(--cp-text-muted);
}
.trip .pass__meta dd,
.trip .facts dd,
.trip .glance dd {
  margin: 2px 0 0;
  font-weight: 700;
}
.trip .t-card--stay {
  display: grid;
  grid-template-columns: 300px 1fr;
  padding: 0;
  overflow: hidden;
}
.trip .stay__photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 30% 60%;
}
.trip .stay__body {
  padding: 28px;
}
.trip .stay__body h2 {
  margin-bottom: 6px;
}
.trip .stay__place {
  margin: 0 0 18px;
  color: var(--cp-text-muted);
}
.trip .stay__place a {
  color: var(--cp-primary-dark);
  font-weight: 700;
}
.trip .stars {
  color: var(--cp-gold);
  letter-spacing: 1px;
}
.trip .facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
}
.trip .facts div {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cp-page);
}
.trip .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.trip .chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font-size: 13px;
  font-weight: 700;
}
.trip .t-card--transfer {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: center;
}
.trip .transfer__photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.trip .steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trip .steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  line-height: 1.5;
}
.trip .steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cp-primary);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.trip .paid-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
  font-family: var(--cp-font-display);
  font-weight: 800;
}
.trip .pay-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--cp-grey);
  overflow: hidden;
}
.trip .pay-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cp-green), var(--cp-green-text));
}
.trip .pay-lines {
  margin: 18px 0 0;
}
.trip .pay-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cp-grey);
}
.trip .pay-lines dd {
  margin: 0;
  font-family: var(--cp-font-display);
  font-weight: 700;
}
.trip .pay-lines .quiet-dd {
  font-family: var(--cp-font);
  font-weight: 400;
  color: var(--cp-text-muted);
  font-size: 14px;
}
.trip .pay-lines__total {
  border-bottom: 0 !important;
  font-size: 18px;
  font-weight: 900;
}
.trip .pay-lines__total dd {
  color: var(--cp-green-text);
  font-size: 24px;
}
.trip .people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trip .people li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.trip .people__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cp-primary), var(--cp-primary-dark));
  color: #fff;
  font-weight: 900;
}
.trip .people strong {
  display: block;
}
.trip .people div span {
  font-size: 14px;
  color: var(--cp-text-muted);
}
.trip .answers {
  display: grid;
  gap: 10px;
}
.trip .answers details {
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.trip .answers details[open] {
  background: var(--cp-page);
}
.trip .answers summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.trip .answers summary::-webkit-details-marker {
  display: none;
}
.trip .answers summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font-size: 18px;
}
.trip .answers details[open] summary::after {
  content: "−";
  background: var(--cp-primary);
  color: #fff;
}
.trip .answers p {
  margin: 0;
  padding: 0 18px 16px;
  line-height: 1.6;
}
.trip .answers a {
  color: var(--cp-primary-dark);
  font-weight: 700;
}
.trip .trip-rail {
  display: grid;
  gap: 16px;
}
.trip .rail-card {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 var(--cp-border), 0 10px 30px rgba(16, 68, 67, 0.07);
}
.trip .rail-card h2 {
  margin: 0 0 14px;
  font-family: var(--cp-font-display);
  font-size: 19px;
}
.trip .glance {
  margin: 8px 0 0;
}
.trip .glance div {
  padding: 10px 0;
  border-bottom: 1px solid var(--cp-grey);
}
.trip .glance div:last-child {
  border-bottom: 0;
}
.trip .glance .good {
  color: var(--cp-green-text);
}
.trip .ask label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}
.trip .ask select,
.trip .ask textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius-sm);
  font: 400 15px var(--cp-font);
  color: var(--cp-text);
  background: #fff;
  resize: vertical;
}
.trip .ask select:focus,
.trip .ask textarea:focus {
  outline: none;
  border-color: var(--cp-gold);
  box-shadow: 0 0 0 3px var(--cp-gold-soft);
}
.trip .ask .btn {
  width: 100%;
  justify-content: center;
}
.trip .ask__done {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: var(--cp-radius);
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
  font-size: 14px;
  font-weight: 700;
}
.trip .rail-card--quiet {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--cp-border);
  font-size: 14px;
  line-height: 1.5;
}
.trip .rail-card--quiet p {
  margin: 0;
}
.trip .rail-card--quiet a {
  color: var(--cp-primary-dark);
  font-weight: 700;
}
.trip .trip-foot {
  background: var(--cp-primary-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.trip .trip-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.trip .trip-foot p {
  margin: 0;
}
.trip .trip-foot a {
  color: #fff;
}
@media (max-width: 1000px) {
.trip .trip-layout {
    grid-template-columns: 1fr;
}
.trip .trip-rail {
    position: static;
}
.trip .trip-rail .options {
    grid-row: 1;
}
.trip .trip-hero__inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 80px;
}

}
@media (max-width: 720px) {
.trip .site-bar__mark,
.trip .trip-user {
    display: none;
}
.trip .trip-tabs {
    top: 72px;
}
.trip .t-card {
    padding: 20px;
}
.trip .due-alert {
    grid-template-columns: auto 1fr;
}
.trip .due-alert__cta {
    grid-column: 1 / -1;
    justify-content: center;
}
.trip .refs,
.trip .passes,
.trip .people,
.trip .t-card--stay,
.trip .t-card--transfer {
    grid-template-columns: 1fr;
}
.trip .stay__photo {
    min-height: 200px;
    max-height: 220px;
}
.trip .stay__body {
    padding: 20px;
}
.trip .pass__meta {
    grid-template-columns: repeat(2, 1fr);
}
.trip .checklist li {
    grid-template-columns: 32px 1fr;
}
.trip .checklist li .btn {
    grid-column: 2;
    justify-self: start;
}
.trip .timeline::before {
    left: 6px;
}
.trip .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 30px;
}
.trip .timeline li::before {
    left: 0;
}
.trip .timeline__day {
    text-align: left;
}
.trip .docs li {
    grid-template-columns: 44px 1fr;
}
.trip .docs a {
    grid-column: 2;
    padding: 0;
}

}
@media print {
.trip .chrome,
.trip .trip-tabs,
.trip .ask,
.trip .t-actions,
.trip .ref button,
.trip .trip-hero__photo,
.trip .trip-hero__shade {
    display: none !important;
}
.trip .trip-hero {
    color: var(--cp-text);
    min-height: 0;
}
.trip .countdown {
    backdrop-filter: none;
    box-shadow: inset 0 0 0 1px var(--cp-border);
}
.trip .countdown__trip,
.trip .trip-hero__lede {
    color: var(--cp-text);
}
.trip .trip-layout {
    grid-template-columns: 1fr;
}
.trip .t-card {
    break-inside: avoid;
    box-shadow: inset 0 0 0 1px var(--cp-border);
}

}


/* ---- balance.css (.bal) ---- */
.bal {
  background: var(--cp-page);
  color: var(--cp-text);
  font-family: var(--cp-font);
}
.bal .btn--primary:hover {
  background: var(--cp-primary-dark);
}
.bal [hidden] {
  display: none !important;
}
.bal :focus-visible {
  outline: 3px solid var(--cp-gold);
  outline-offset: 2px;
}
.bal .btn--lg {
  min-height: 54px;
  padding: 12px 26px;
  font-size: 17px;
}
.bal .bal-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
}
.bal .bal-user span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--cp-primary-dark);
  font-size: 13px;
  font-weight: 900;
}
.bal .bh {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.bal .bh__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.bal .bh__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 52, 58, 0.9) 0%, rgba(20, 52, 58, 0.62) 50%, rgba(20, 52, 58, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 52, 58, 0.6), transparent 60%);
  transition: background 0.6s ease;
}
.bal.is-settled .bh__shade {
  background:
    linear-gradient(90deg, rgba(0, 80, 20, 0.86) 0%, rgba(0, 110, 30, 0.55) 50%, rgba(20, 52, 58, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 60, 20, 0.5), transparent 60%);
}
.bal .bh__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 20px 112px;
  display: grid;
  grid-template-columns: 1fr minmax(290px, 340px);
  gap: 40px;
  align-items: center;
}
.bal .bh__kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-primary-soft);
}
.bal .bh h1 {
  margin: 0;
  color: #fff;
  font-family: var(--cp-font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}
.bal .bh__amount {
  display: block;
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}
.bal .bh__lede {
  margin: 16px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}
.bal .bh__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.bal .bh__chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.bal .bh__chips .is-good::before,
.bal .bh__chips .is-warn::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cp-green);
  font-size: 11px;
}
.bal .bh__chips .is-warn::before {
  content: "!";
  background: var(--cp-coral);
  color: #fff;
  font-weight: 900;
}
.bal .bh__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.bal .bh__actions .btn--ghost-light {
  min-height: 54px;
}
.bal .bh__actions .btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}
.bal .due-glass {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 24px 48px rgba(10, 30, 34, 0.3);
  backdrop-filter: blur(16px);
  text-align: center;
}
.bal .due-glass__label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bal .due-ring {
  --deg: calc(var(--left) * 3.6deg);
  width: 168px;
  height: 168px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#fff var(--deg), rgba(255, 255, 255, 0.2) 0);
}
.bal .due-ring p {
  display: grid;
  place-items: center;
  align-content: center;
  width: 138px;
  height: 138px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--cp-text);
}
.bal .due-ring strong {
  font-family: var(--cp-font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--cp-primary-dark);
  font-variant-numeric: tabular-nums;
}
.bal .due-ring span {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cp-text-muted);
}
.bal.is-settled .due-ring strong {
  color: var(--cp-green-text);
}
.bal .due-glass__date {
  margin: 14px 0 18px;
  font-weight: 700;
}
.bal .due-glass__trip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--cp-text);
  text-align: left;
}
.bal .due-glass__trip img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}
.bal .due-glass__trip strong {
  display: block;
  font-size: 14px;
}
.bal .due-glass__trip span {
  font-size: 13px;
  color: var(--cp-text-muted);
}
.bal .steps-strip {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: -56px auto 0;
  padding: 0 20px;
}
.bal .pstep {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 22px 12px;
  list-style: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 68, 67, 0.16);
}
.bal .pstep li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 0 8px;
  text-align: center;
}
.bal .pstep li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--cp-grey);
  z-index: 0;
}
.bal .pstep li:first-child::before {
  display: none;
}
.bal .pstep li.is-done::before,
.bal .pstep li.is-now::before {
  background: var(--cp-primary);
}
.bal .pstep__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px var(--cp-border);
}
.bal .is-done .pstep__dot {
  background: var(--cp-green);
  box-shadow: none;
}
.bal .is-done .pstep__dot::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.bal .is-now .pstep__dot {
  background: var(--cp-primary);
  box-shadow: 0 0 0 6px var(--cp-primary-mist);
  animation: mbk-pulse 2s ease-in-out infinite;
}
.bal .is-now .pstep__dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}
@keyframes mbk-pulse{
  50% {
    box-shadow: 0 0 0 10px rgba(2, 170, 169, 0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
.bal .is-now .pstep__dot {
    animation: none;
}

}
.bal .pstep strong {
  font-size: 15px;
}
.bal .pstep em {
  font-style: normal;
  font-size: 13px;
  color: var(--cp-text-muted);
}
.bal .is-now strong {
  color: var(--cp-primary-dark);
}
.bal .bal-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.bal .bal-main {
  display: grid;
  gap: 20px;
}
.bal .b-card {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 var(--cp-border), 0 10px 30px rgba(16, 68, 67, 0.07);
  scroll-margin-top: 110px;
}
.bal .b-card h2 {
  margin: 0 0 18px;
  font-family: var(--cp-font-display);
  font-size: 24px;
  line-height: 1.2;
}
.bal .b-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-primary-dark);
}
.bal .b-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.bal .paid-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
  animation: mbk-rise 0.5s ease both;
}
.bal .paid-banner h2 {
  margin: 0 0 4px;
  color: var(--cp-green-text);
  font-family: var(--cp-font-display);
  font-size: 20px;
}
.bal .paid-banner p {
  margin: 0;
  color: var(--cp-text);
  line-height: 1.5;
}
.bal .paid-banner__tick {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cp-green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}
@keyframes mbk-rise{
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.bal .pay {
  box-shadow: inset 0 0 0 2px var(--cp-primary), 0 14px 36px rgba(2, 170, 169, 0.14);
}
.bal .pay__sum {
  margin: 0;
  text-align: right;
}
.bal .pay__sum span {
  display: block;
  font-size: 12px;
  color: var(--cp-text-muted);
}
.bal .pay__sum strong {
  font-family: var(--cp-font-display);
  font-size: 26px;
  color: var(--cp-primary-dark);
}
.bal .wallets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bal .wallet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #191c1f;
  color: #fff;
  font: 800 17px var(--cp-font);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.bal .wallet:hover {
  transform: translateY(-1px);
}
.bal .wallet svg {
  width: 20px;
  height: 20px;
}
.bal .wallet .g {
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 19px;
}
.bal .or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-text-muted);
}
.bal .or::before,
.bal .or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cp-border);
}
.bal .card-pay {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}
.bal .cc {
  position: relative;
  aspect-ratio: 1.586;
  padding: 20px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 110% -10%, rgba(255, 255, 255, 0.28), transparent 45%),
    radial-gradient(circle at -10% 120%, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(135deg, var(--cp-primary-deep), var(--cp-primary-dark) 55%, var(--cp-primary));
  box-shadow: 0 18px 34px rgba(16, 68, 67, 0.3);
}
.bal .cc__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bal .cc__chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f6e3a1, var(--cp-gold));
}
.bal .cc__brand {
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.bal .cc__num {
  margin: 0;
  font-family: var(--cp-font-display);
  font-size: 19px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bal .cc__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.bal .cc__bottom p {
  margin: 0;
  min-width: 0;
}
.bal .cc__bottom span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}
.bal .cc__bottom strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.bal .fields {
  display: grid;
  gap: 12px;
}
.bal .field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.bal .field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
  font: 400 16px var(--cp-font);
  color: var(--cp-text);
  background: var(--cp-page);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.bal .field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--cp-gold);
  box-shadow: 0 0 0 3px var(--cp-gold-soft);
}
.bal .field input[aria-invalid="true"] {
  border-color: var(--cp-red);
  background: #fff;
}
.bal .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bal .form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--cp-radius);
  background: var(--cp-red-soft);
  color: var(--cp-red);
  font-weight: 700;
  font-size: 14px;
}
.bal .assure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.bal .assure li {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--cp-primary-mist);
  font-size: 14px;
  line-height: 1.45;
}
.bal .assure li > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--cp-primary-dark);
}
.bal .assure svg {
  width: 16px;
  height: 16px;
}
.bal .assure strong {
  display: block;
  color: var(--cp-primary-dark);
}
.bal .pay-submit {
  width: 100%;
  margin-top: 20px;
  min-height: 56px;
  font-size: 18px;
  border-radius: 12px;
}
.bal .pay-submit svg {
  width: 18px;
  height: 18px;
}
.bal .pay-submit:disabled {
  opacity: 0.8;
  cursor: progress;
}
.bal .marks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.bal .marks img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.bal .preview {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--cp-text-muted);
}
.bal .pp {
  margin: 0;
  font-size: 14px;
  color: var(--cp-text-muted);
}
.bal .pp strong {
  font-family: var(--cp-font-display);
  font-size: 18px;
  color: var(--cp-text);
}
.bal .meter {
  position: relative;
  height: 14px;
  margin: 18px 0 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, var(--cp-grey) 0 8px, #f6f6f4 8px 16px);
}
.bal .meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cp-primary-dark), var(--cp-primary));
  transition: width 0.9s ease;
}
.bal.is-settled .meter__fill {
  background: linear-gradient(90deg, var(--cp-green-text), var(--cp-green));
}
.bal .meter__plane {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--cp-primary-dark);
  box-shadow: 0 4px 12px rgba(16, 68, 67, 0.25);
  transform: translate(-50%, -50%) rotate(90deg);
  transition: left 0.9s ease;
}
.bal .meter__plane svg {
  width: 18px;
  height: 18px;
}
.bal .meter-key {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.bal .meter-key p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.bal .meter-key strong {
  font-family: var(--cp-font-display);
  font-size: 17px;
}
.bal .meter-key i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.bal .k-paid {
  background: var(--cp-primary);
}
.bal .k-left {
  background: var(--cp-border);
}
.bal .ledger {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.bal .ledger li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.bal .ledger strong {
  display: block;
}
.bal .ledger span {
  font-size: 14px;
  color: var(--cp-text-muted);
}
.bal .ledger b {
  font-family: var(--cp-font-display);
  font-size: 18px;
}
.bal .ledger__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 900;
}
.bal .ledger .ledger__icon {
  color: inherit;
  font-size: 16px;
}
.bal .is-paid .ledger__icon {
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
}
.bal .is-due {
  background: var(--cp-gold-soft);
}
.bal .is-due .ledger__icon {
  background: #fff;
  color: var(--cp-primary-deep);
}
.bal .is-due b {
  color: var(--cp-primary-deep);
}
.bal .covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bal .covers li {
  display: grid;
  gap: 4px;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--cp-primary-mist), #fff);
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.bal .covers li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--cp-primary);
  color: #fff;
}
.bal .covers svg {
  width: 22px;
  height: 22px;
}
.bal .covers em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.4;
  color: var(--cp-text-muted);
}
.bal .answers {
  display: grid;
  gap: 10px;
}
.bal .answers details {
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--cp-border);
}
.bal .answers details[open] {
  background: var(--cp-page);
}
.bal .answers summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.bal .answers summary::-webkit-details-marker {
  display: none;
}
.bal .answers summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font-size: 18px;
}
.bal .answers details[open] summary::after {
  content: "−";
  background: var(--cp-primary);
  color: #fff;
}
.bal .answers p {
  margin: 0;
  padding: 0 18px 16px;
  line-height: 1.6;
}
.bal .answers a {
  color: var(--cp-primary-dark);
  font-weight: 700;
}
.bal .bal-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}
.bal .side-card {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 var(--cp-border), 0 10px 30px rgba(16, 68, 67, 0.07);
}
.bal .side-card--next ol {
  counter-reset: n;
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.bal .side-card--next li {
  counter-increment: n;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.bal .side-card--next li::before {
  content: counter(n);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font-weight: 900;
  font-size: 13px;
}
.bal .side-card--help {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--cp-border);
  font-size: 14px;
  line-height: 1.5;
}
.bal .side-card--help p {
  margin: 0 0 8px;
}
.bal .side-card--help a {
  color: var(--cp-primary-dark);
  font-weight: 700;
  word-break: break-word;
}
.bal .side-card__ref {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--cp-border);
}
.bal .side-card__ref button {
  margin-left: auto;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
  font: 700 13px var(--cp-font);
  cursor: pointer;
}
.bal .side-card__ref button.is-copied {
  background: var(--cp-green-soft);
  color: var(--cp-green-text);
}
.bal .bal-foot {
  background: var(--cp-primary-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.bal .bal-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.bal .bal-foot p {
  margin: 0;
}
.bal .bal-foot a {
  color: #fff;
}
@media (max-width: 1040px) {
.bal .bal-layout {
    grid-template-columns: 1fr;
}
.bal .bal-side {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.bal .bal-side .options {
    grid-column: 1 / -1;
    order: -1;
}
.bal .covers {
    grid-template-columns: repeat(2, 1fr);
}

}
@media (max-width: 860px) {
.bal .bh__inner {
    grid-template-columns: 1fr;
    padding: 44px 20px 104px;
}
.bal .due-glass {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 18px;
    align-items: center;
    text-align: left;
}
.bal .due-ring {
    grid-row: span 2;
    width: 112px;
    height: 112px;
}
.bal .due-ring p {
    width: 92px;
    height: 92px;
}
.bal .due-ring strong {
    font-size: 36px;
}
.bal .due-glass__label,
.bal .due-glass__date {
    margin: 0;
}
.bal .due-glass__trip {
    grid-column: 1 / -1;
    margin-top: 10px;
}
.bal .card-pay {
    grid-template-columns: 1fr;
}
.bal .cc {
    max-width: 340px;
    width: 100%;
    justify-self: center;
}

}
@media (max-width: 720px) {
.bal .site-bar__mark,
.bal .bal-user {
    display: none;
}
.bal .pstep {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
}
.bal .pstep li {
    grid-template-columns: 28px 1fr;
    justify-items: start;
    column-gap: 14px;
    text-align: left;
    padding: 0;
}
.bal .pstep li::before {
    display: none;
}
.bal .pstep__dot {
    grid-row: span 2;
    margin: 0;
}
.bal .b-card {
    padding: 20px;
}
.bal .b-head {
    flex-direction: column;
}
.bal .pay__sum {
    text-align: left;
}
.bal .assure,
.bal .field-row,
.bal .paid-banner {
    grid-template-columns: 1fr;
}
.bal .bh__actions .btn {
    width: 100%;
}

}
@media (max-width: 460px) {
.bal .covers {
    grid-template-columns: 1fr;
}

}


/* ---- home.css (.mbh) ---- */
.mbh {
  background: var(--cp-page);
}
.mbh .main-nav a[aria-current="page"] {
  background: #fff;
  color: var(--cp-primary-dark);
}
.mbh .mb-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 640px;
  color: #fff;
  overflow: hidden;
}
.mbh .mb-hero__photo,
.mbh .mb-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mbh .mb-hero__photo {
  object-fit: cover;
  object-position: center 42%;
}
.mbh .mb-hero__shade {
  background:
    linear-gradient(90deg, rgba(16, 42, 48, 0.88) 0%, rgba(16, 42, 48, 0.55) 46%, rgba(16, 42, 48, 0.22) 100%),
    linear-gradient(180deg, rgba(16, 42, 48, 0.15), rgba(16, 42, 48, 0.55));
}
.mbh .mb-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 48px;
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 56px;
}
.mbh .mb-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}
.mbh .mb-crumbs a {
  color: #fff;
  text-decoration: none;
}
.mbh .mb-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mbh .mb-kicker {
  margin: 0 0 8px;
  color: var(--cp-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mbh .mb-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-family: var(--cp-font-display);
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.mbh .mb-hero__copy > p:last-of-type {
  max-width: 460px;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
}
.mbh .mb-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.mbh .mb-assurances li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.mbh .mb-panel {
  padding: 26px 24px 22px;
  border-radius: 16px;
  background: #fff;
  color: var(--cp-text);
  box-shadow: var(--cp-shadow-lg);
}
.mbh .mb-panel h2 {
  margin: 0;
  font-family: var(--cp-font-display);
  font-size: 26px;
  letter-spacing: -0.03em;
}
.mbh .mb-panel > p {
  margin: 6px 0 18px;
  color: var(--cp-text-muted);
  font-size: 14px;
}
.mbh .mb-fields {
  display: grid;
  gap: 12px;
}
.mbh .mb-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 900;
}
.mbh .mb-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
  background: #fff;
  color: var(--cp-text);
  outline: none;
}
.mbh .mb-field input:focus {
  border-color: var(--cp-gold);
  outline: 2px solid var(--cp-gold);
  outline-offset: 1px;
}
.mbh .mb-panel .btn {
  width: 100%;
  margin-top: 14px;
}
.mbh .mb-panel__note {
  margin: 14px 0 0 !important;
  font-size: 13px;
  line-height: 1.45;
}
.mbh .mb-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}
.mbh .mb-head {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}
.mbh .mb-head h2,
.mbh .mb-contact h2 {
  margin: 4px 0 0;
  font-family: var(--cp-font-display);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.mbh .mb-head p:last-child {
  max-width: 460px;
  margin: 0;
  color: var(--cp-text-muted);
}
.mbh .mb-kicker--dark {
  color: var(--cp-primary-dark);
}
.mbh .mb-tasks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mbh .mb-task {
  display: flex;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--cp-border);
  border-radius: 14px;
  flex-direction: column;
  background: #fff;
  color: var(--cp-text);
  text-decoration: none;
  box-shadow: var(--cp-shadow);
}
.mbh .mb-task:hover {
  border-color: var(--cp-primary);
}
.mbh .mb-task:focus-visible {
  outline: 2px solid var(--cp-gold);
  outline-offset: 3px;
}
.mbh .mb-task__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  place-items: center;
  background: var(--cp-primary-mist);
  color: var(--cp-primary-dark);
}
.mbh .mb-task__icon svg {
  width: 22px;
  height: 22px;
}
.mbh .mb-task strong {
  font-family: var(--cp-font-display);
  font-size: 18px;
}
.mbh .mb-task span:not(.mb-task__icon) {
  margin-top: 8px;
  color: var(--cp-text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.mbh .mb-task em {
  margin-top: auto;
  padding-top: 16px;
  color: var(--cp-primary-dark);
  font-style: normal;
  font-weight: 900;
}
.mbh .mb-help {
  padding-top: 8px;
}
.mbh .mb-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.mbh .mb-tabs button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--cp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--cp-text);
  font-weight: 900;
  cursor: pointer;
}
.mbh .mb-tabs button.is-on {
  border-color: var(--cp-primary-dark);
  background: var(--cp-primary-dark);
  color: #fff;
}
.mbh .mb-tabs button:focus-visible,
.mbh .mb-panel .btn:focus-visible {
  outline: 2px solid var(--cp-gold);
  outline-offset: 2px;
}
.mbh .mb-faqs {
  display: grid;
  gap: 10px;
}
.mbh .mb-faqs[hidden] {
  display: none;
}
.mbh .mb-faqs h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.mbh .mb-faq {
  border: 1px solid var(--cp-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--cp-shadow);
  overflow: hidden;
}
.mbh .mb-faq summary {
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}
.mbh .mb-faq summary:focus-visible {
  outline: 2px solid var(--cp-gold);
  outline-offset: -3px;
}
.mbh .mb-faq__body {
  padding: 0 20px 18px;
  color: var(--cp-text-muted);
}
.mbh .mb-faq__body p {
  margin: 0 0 10px;
}
.mbh .mb-faq__body a {
  font-weight: 900;
}
.mbh .mb-contact {
  background: var(--cp-primary-dark);
  color: #fff;
}
.mbh .mb-contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0;
}
.mbh .mb-contact h2 {
  color: #fff;
}
.mbh .mb-contact p {
  margin: 6px 0 0;
  color: var(--cp-primary-soft);
}
.mbh .mb-contact a.mb-line {
  display: block;
  color: #fff;
  text-decoration: none;
}
.mbh .mb-contact a.mb-line strong {
  display: block;
  font-family: var(--cp-font-display);
  font-size: 22px;
}
.mbh .mb-contact a.mb-line span {
  color: var(--cp-primary-soft);
  font-size: 13px;
}
.mbh .mb-contact a.mb-line:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mbh .mb-foot {
  padding: 22px 0;
  background: #176e6d;
  color: #fff;
}
.mbh .mb-foot__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  font-size: 13px;
}
.mbh .mb-foot p {
  margin: 0;
}
.mbh .mb-foot a {
  color: #fff;
}
@media (max-width: 900px) {
.mbh .mb-hero {
    min-height: 0;
}
.mbh .mb-hero__inner,
.mbh .mb-tasks,
.mbh .mb-contact__inner {
    grid-template-columns: 1fr;
}
.mbh .mb-hero__inner {
    width: min(100% - 32px, 1180px);
    padding-top: 36px;
}
.mbh .mb-hero h1 {
    max-width: none;
}
.mbh .mb-head {
    align-items: start;
    flex-direction: column;
}
.mbh .mb-tasks {
    grid-template-columns: 1fr 1fr;
}
.mbh .mb-section {
    width: min(100% - 32px, 1180px);
    padding: 48px 0;
}

}
@media (max-width: 640px) {
.mbh .mb-tasks,
.mbh .mb-tabs {
    grid-template-columns: 1fr;
}
.mbh .mb-tabs {
    display: flex;
    overflow-x: auto;
}
.mbh .mb-tabs button {
    flex: 0 0 auto;
}
.mbh .mb-foot__inner,
.mbh .mb-contact__inner {
    width: min(100% - 28px, 1180px);
    align-items: flex-start;
    flex-direction: column;
}
.mbh .mb-task {
    min-height: 0;
}

}
@media (prefers-reduced-motion: reduce) {
.mbh .btn {
    transition: none;
}

}


/* ---- Site additions ---- */
/* Not in the prototype - what the real pages need on top of it. */

/* Pages sit inside the site's own Header/Footer: full-width, nothing from the prototype's body. */
.trip, .bal, .mbh { width: 100%; overflow-x: clip; }
.trip h1, .trip h2, .trip h3, .bal h1, .bal h2, .bal h3, .mbh h1, .mbh h2, .mbh h3 { font-family: var(--cp-font-display); }

/* Sticky offsets. The prototype pins its own ~80px header, so its tab bar / side column
   stick 80-100px down; the site's header scrolls away on these pages (.hp2 .chrome only sticks
   inside its own wrapper), which left the tab bar floating mid-screen. Stick near the top
   instead, and land anchor jumps just below the tab bar. */
.trip .trip-tabs { top: 10px; }
.trip .trip-main > section { scroll-margin-top: 92px; }
.bal .bal-side { top: 16px; }
.bal .b-card { scroll-margin-top: 16px; }
@media (max-width: 720px) {
  .trip .trip-tabs { top: 6px; }
  .trip .trip-main > section { scroll-margin-top: 80px; }
}

/* Hotel with no CMS photo: body takes the whole card. */
.trip .t-card--stay.is-no-photo { grid-template-columns: 1fr; }

/* Several hire cars stack with a gap. */
.trip .facts + .facts { margin-top: 16px; }

/* CMS info boxes (ClientHome InfoBoxes) sit in the answers list as rich text. */
.trip .answers details > div { padding: 0 18px 16px; line-height: 1.6; }
.trip .answers details > div > :first-child { margin-top: 0; }
.trip .answers details > div > :last-child { margin-bottom: 0; }

/* FAQ transitions - ClientArea.js slides the height; these fade the answer and ease the
   panel tint and +/- icon alongside it. .is-closing is set while a panel slides shut (it's
   still [open] until the slide ends), so everything reverts as soon as closing starts. */
:is(.trip, .bal) .answers details { transition: background 0.28s ease; }
:is(.trip, .bal) .answers details.is-closing { background: transparent; }
:is(.trip, .bal) .answers summary::after { transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease; }
:is(.trip, .bal) .answers details[open]:not(.is-closing) summary::after { transform: rotate(180deg); }
:is(.trip, .bal) .answers details.is-closing summary::after { content: "+"; background: var(--cp-primary-mist); color: var(--cp-primary-dark); }
:is(.trip, .bal) .answers details[open] > :not(summary),
.mbh .mb-faq[open] > :not(summary) { animation: mbk-faq-in 0.32s ease both; }
:is(.trip, .bal) .answers details.is-closing > :not(summary),
.mbh .mb-faq.is-closing > :not(summary) { opacity: 0; transition: opacity 0.18s ease; }
@keyframes mbk-faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  :is(.trip, .bal) .answers details, :is(.trip, .bal) .answers summary::after { transition: none; }
  :is(.trip, .bal) .answers details[open] > :not(summary), .mbh .mb-faq[open] > :not(summary) { animation: none; }
}


/* Balance page: the card form is replaced by the real (external) secure payment page. */
.bal .pay__lede { margin: 0 0 18px; line-height: 1.6; }
.bal a.pay-submit { text-decoration: none; }
.bal .pay__next { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--cp-gold-soft); font-size: 14px; }

/* CMS description block on the balance page. */
.bal .b-rich > :first-child { margin-top: 0; }
.bal .b-rich > :last-child { margin-bottom: 0; }

/* Sign-in page: server validation messages under each field / above the form. */
.mbh .mb-field__error { color: var(--cp-warning); font-size: 13px; font-weight: 700; }
.mbh .mb-form-error:empty, .mbh .mb-form-error .validation-summary-valid { display: none; }
.mbh .mb-form-error { margin-top: 12px; padding: 10px 12px; border-radius: var(--cp-radius); background: var(--cp-red-soft); color: var(--cp-warning); font-weight: 700; }
.mbh .mb-form-error ul { margin: 0; padding-left: 18px; }
.mbh .mb-signed-in { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--cp-radius); background: var(--cp-primary-mist); font-size: 14px; }
.mbh .mb-signed-in a { font-weight: 800; }
