/* ==========================================================================
   Component — Account
   Auth cards, social buttons, password strength, email verification, the
   profile workspace, the unified bookings list and the wishlist grid.

   Every surface here is built from the same tokens as the rest of the
   template, so all 8 colour schemes apply without a single override.
   ========================================================================== */

/* --- Auth page background --------------------------------------------------
   The card floats on a photograph rather than on a flat page. Set the image
   on the section:

     <section class="wu-section wu-auth-page" style="--auth-bg: url('...')">

   The scrim is warm ink at low opacity: enough to seat the white card without
   turning the picture into a grey rectangle.
   -------------------------------------------------------------------------- */
.wu-auth-page {
  position: relative;
  isolation: isolate;
  padding-block: var(--wu-space-9);
}
/* One layer stack, not a photo layer plus a separate scrim element. The old
   split painted the scrim in ::after over an empty ::before whenever
   --auth-bg was unset, which is a flat near-black slab that looks exactly
   like a stylesheet that failed to load. Here the scrim sits on top of
   whatever the ground is, and the ground falls back to the scheme's own
   colours instead of `none`. */
.wu-auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(12, 21, 18, .58) 0%, rgba(12, 21, 18, .78) 100%),
    var(--auth-bg, linear-gradient(150deg, var(--wu-primary) 0%, var(--wu-ink-deep) 74%));
  background-size: cover;
  background-position: center;
}
.wu-auth-page .wu-auth { box-shadow: var(--wu-shadow-lg); }

@media (max-width: 767.98px) {
  .wu-auth-page { padding-block: var(--wu-space-6); }
}

/* Each panel gets its own artwork. "Forgot your password" is a different
   moment from "welcome back", and the aside is the only thing on the card
   that can say so - the form itself is three fields either way.
   :has() reads which panel is currently un-hidden, so this follows the JS
   without the JS having to know about it. */
.wu-auth:has([data-auth-panel="reset"]:not([hidden])) .wu-auth-aside,
.wu-auth:has([data-auth-panel="verify"]:not([hidden])) .wu-auth-aside {
  --auth-image: var(--auth-image-alt, var(--auth-image));
}
.wu-auth:has([data-auth-panel="sent"]:not([hidden])) .wu-auth-aside,
.wu-auth:has([data-auth-panel="done"]:not([hidden])) .wu-auth-aside {
  --auth-image: var(--auth-image-done, var(--auth-image));
}

/* --- Auth card ------------------------------------------------------------
   Login and register share one shell. It is centred in the viewport rather
   than in the document, so a short form does not float against the header.
   -------------------------------------------------------------------------- */
/* Wider than the 960px it was: at 960 the two halves each got 480 and the
   form column felt cramped once the fields gained real padding. */
.wu-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  max-width: 1040px;
  margin-inline: auto;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  overflow: hidden;
  background: var(--wu-surface);
  box-shadow: var(--wu-shadow-sm);
}

.wu-auth-body { padding: var(--wu-space-7); }
.wu-auth-body > h1 {
  /* The display face, as the design system asks for anything over 24px. */
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-display-m);
  font-weight: var(--wu-fw-normal);
  line-height: var(--wu-lh-display);
  letter-spacing: var(--wu-tracking-display);
  margin-bottom: var(--wu-space-2);
}

/* The aside is decoration: it carries no information the form needs, which is
   why it is the half that goes when there is no room for it. */
.wu-auth-aside {
  position: relative;
  isolation: isolate;
  padding: var(--wu-space-7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--wu-space-3);
  color: var(--wu-text-invert);
  background: var(--wu-ink-deep);
}

/* The aside's own photo layer used to live here. It does not any more:
   .wu-auth-aside always carries .wu-panel-graphic too, and that component
   already owns ::before (the photograph, at 22% behind the artwork) and
   ::after (the dot grid). Two ::before rules on one element are not two
   layers - only the later one exists - so keeping both meant one of them
   silently did nothing. --auth-image is read by .wu-panel-graphic::before. */

.wu-auth-aside h2 {
  color: var(--wu-text-invert);
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-2xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1.12;
}
.wu-auth-aside p { color: var(--wu-on-ink); margin: 0; }
.wu-auth-aside .wu-footer-eyebrow { color: var(--wu-accent); }

/* Trust row at the foot of the aside - a sign-in page is a trust moment. */
.wu-auth-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wu-space-2);
  margin-top: var(--wu-space-5);
  padding-top: var(--wu-space-4);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.wu-auth-trust span {
  padding: 4px var(--wu-space-3);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--wu-radius-pill);
  font-size: var(--wu-fs-xs);
  color: var(--wu-on-ink);
}

.wu-auth-points { list-style: none; margin: var(--wu-space-4) 0 0; padding: 0; display: grid; gap: var(--wu-space-3); }
.wu-auth-points li { display: flex; gap: var(--wu-space-3); align-items: flex-start; font-size: var(--wu-fs-sm); }
.wu-auth-points svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--wu-success); }
.wu-auth-points li { color: var(--wu-on-ink); }

@media (max-width: 767.98px) {
  .wu-auth { grid-template-columns: minmax(0, 1fr); }
  .wu-auth-aside { display: none; }
  .wu-auth-body { padding: var(--wu-space-5); }
}

/* --- Social sign-in ------------------------------------------------------
   NOT .wu-social: that belongs to the footer's round icon row, which loads
   after this file and would win the display property - leaving these three
   buttons ragged instead of equal thirds.
   -------------------------------------------------------------------------- */
.wu-social-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wu-space-3);
}
.wu-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wu-space-2);
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--wu-border-strong);
  border-radius: var(--wu-radius);
  background: var(--wu-surface);
  color: var(--wu-heading);
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-medium);
  cursor: pointer;
  transition: border-color var(--wu-duration) var(--wu-ease),
              background var(--wu-duration) var(--wu-ease);
}
.wu-social-btn:hover { border-color: var(--wu-primary); background: var(--wu-surface-sunken); }
.wu-social-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.wu-social-btn span { white-space: nowrap; }

@media (max-width: 420px) {
  .wu-social-btn span { display: none; }
}

/* "or" rule between the social row and the form */
.wu-divider {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  margin: var(--wu-space-5) 0;
  font-size: var(--wu-fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--wu-text-muted);
}
.wu-divider::before,
.wu-divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--wu-border); }

/* --- Password field ------------------------------------------------------ */
.wu-password { position: relative; }
.wu-password .wu-input { padding-inline-end: 2.75rem; }
.wu-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--wu-radius-sm);
  background: transparent;
  color: var(--wu-text-muted);
  cursor: pointer;
}
.wu-password-toggle:hover { color: var(--wu-heading); }
.wu-password-toggle svg { width: 18px; height: 18px; }

/* Strength meter — four segments, because a continuous bar invites the
   question "how much is enough?" that four labelled steps answer. */
.wu-strength { margin-top: var(--wu-space-2); }
.wu-strength-track { display: flex; gap: 4px; }
.wu-strength-track span {
  flex: 1 1 0;
  height: 4px;
  border-radius: 2px;
  background: var(--wu-border);
  transition: background var(--wu-duration) var(--wu-ease);
}
.wu-strength-note {
  display: flex;
  justify-content: space-between;
  gap: var(--wu-space-3);
  margin-top: var(--wu-space-2);
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}
.wu-strength[data-score="1"] .wu-strength-track span:nth-child(-n+1) { background: var(--wu-danger); }
.wu-strength[data-score="2"] .wu-strength-track span:nth-child(-n+2) { background: var(--wu-warning); }
.wu-strength[data-score="3"] .wu-strength-track span:nth-child(-n+3) { background: var(--wu-info, var(--wu-primary)); }
.wu-strength[data-score="4"] .wu-strength-track span { background: var(--wu-success); }

/* --- Email verification -------------------------------------------------- */
.wu-verify { text-align: center; }
.wu-verify-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--wu-space-4);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wu-primary) 12%, transparent);
  color: var(--wu-primary);
}
.wu-verify-icon svg { width: 28px; height: 28px; }

.wu-code {
  display: flex;
  justify-content: center;
  gap: var(--wu-space-2);
  margin: var(--wu-space-5) 0;
}
.wu-code input {
  width: 48px;
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-bold);
  color: var(--wu-heading);
  border: 1px solid var(--wu-border-strong);
  border-radius: var(--wu-radius);
  background: var(--wu-surface);
}
.wu-code input:focus-visible {
  outline: 2px solid var(--wu-primary);
  outline-offset: 1px;
  border-color: var(--wu-primary);
}
@media (max-width: 420px) {
  .wu-code input { width: 40px; height: 48px; font-size: var(--wu-fs-lg); }
}

/* --- Account workspace ---------------------------------------------------
   Profile, bookings and wishlist share the sidebar + panel layout.
   -------------------------------------------------------------------------- */
.wu-account {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--wu-space-6);
  align-items: start;
}
@media (max-width: 991.98px) {
  .wu-account { grid-template-columns: minmax(0, 1fr); }
}

.wu-account-card {
  padding: var(--wu-space-5);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  background: var(--wu-surface);
  text-align: center;
}
.wu-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--wu-space-3);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wu-primary);
  color: #fff;
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-bold);
  letter-spacing: .02em;
}
/* The header stand-in: same idea at icon-button size, so a signed-in visitor
   sees themselves rather than a generic person glyph. */
.wu-avatar-mini {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wu-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: var(--wu-fw-bold);
  letter-spacing: .02em;
}

.wu-account-card strong { display: block; color: var(--wu-heading); }
.wu-account-card span { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }

.wu-account-nav {
  list-style: none;
  margin: var(--wu-space-4) 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.wu-account-nav a,
.wu-account-nav button {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  width: 100%;
  padding: var(--wu-space-3);
  border: 0;
  border-radius: var(--wu-radius);
  background: transparent;
  color: var(--wu-text);
  font-size: var(--wu-fs-sm);
  text-align: start;
  cursor: pointer;
  transition: background var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}
.wu-account-nav svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--wu-text-muted); }
.wu-account-nav a:hover,
.wu-account-nav button:hover { background: var(--wu-surface-sunken); color: var(--wu-heading); }
.wu-account-nav .is-active {
  background: color-mix(in srgb, var(--wu-primary) 10%, transparent);
  color: var(--wu-primary);
  font-weight: var(--wu-fw-semibold);
}
.wu-account-nav .is-active svg { color: var(--wu-primary); }

/* On phones the sidebar becomes a scrolling row of chips rather than a tall
   column the reader has to scroll past to reach the content. */
@media (max-width: 991.98px) {
  .wu-account-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: var(--wu-space-2);
    overflow-x: auto;
    padding-bottom: var(--wu-space-2);
  }
  .wu-account-nav a,
  .wu-account-nav button { white-space: nowrap; border: 1px solid var(--wu-border); }
}

/* --- Tabbed panels ------------------------------------------------------- */
.wu-tabpanel { display: none; }
.wu-tabpanel.is-active { display: block; }

/* --- Preference rows ----------------------------------------------------- */
.wu-pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-4);
  padding: var(--wu-space-4) 0;
  border-bottom: 1px solid var(--wu-border);
}
.wu-pref:last-child { border-bottom: 0; }
.wu-pref strong { display: block; color: var(--wu-heading); font-size: var(--wu-fs-sm); }
.wu-pref span { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }

/* Switch — a checkbox, restyled. The input stays in the DOM and keeps its
   own focus ring, so keyboard and screen-reader behaviour are untouched. */
.wu-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.wu-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.wu-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--wu-border-strong);
  transition: background var(--wu-duration) var(--wu-ease);
  pointer-events: none;
}
.wu-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--wu-duration) var(--wu-ease);
}
.wu-switch input:checked ~ .wu-switch-track { background: var(--wu-primary); }
.wu-switch input:checked ~ .wu-switch-track::after { transform: translateX(20px); }
.wu-switch input:focus-visible ~ .wu-switch-track {
  outline: 2px solid var(--wu-primary);
  outline-offset: 2px;
}

/* --- Scheme picker -------------------------------------------------------
   Deliberately NOT .wu-scheme-grid / .wu-scheme-swatch: those belong to the
   floating scheme switcher in notifications.css, which loads after this file
   and would win every shared property.
   -------------------------------------------------------------------------- */
.wu-scheme-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--wu-space-3);
}
.wu-scheme-picker-option {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  padding: var(--wu-space-3);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius);
  background: var(--wu-surface);
  font-size: var(--wu-fs-sm);
  cursor: pointer;
  transition: border-color var(--wu-duration) var(--wu-ease);
}
.wu-scheme-picker-option:hover { border-color: var(--wu-primary); }
.wu-scheme-picker-option.is-active { border-color: var(--wu-primary); box-shadow: 0 0 0 1px var(--wu-primary) inset; }
.wu-scheme-picker-dot { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; }

/* --- Booking rows --------------------------------------------------------
   One row shape for all four services; the service sets --wu-service, which
   colours the rail and the dot.
   -------------------------------------------------------------------------- */
.wu-booking-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: var(--wu-space-4);
  align-items: center;
  padding: var(--wu-space-4);
  border: 1px solid var(--wu-border);
  border-inline-start: 3px solid var(--wu-service);
  border-radius: var(--wu-radius-lg);
  background: var(--wu-surface);
}
.wu-booking-row + .wu-booking-row { margin-top: var(--wu-space-3); }
.wu-booking-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--wu-radius);
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-booking-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wu-booking-row h3 { font-size: var(--wu-fs-base); margin-bottom: var(--wu-space-1); }
.wu-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wu-space-3);
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}
.wu-booking-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--wu-space-2);
  text-align: end;
}
.wu-booking-actions .wu-price-amount { font-size: var(--wu-fs-lg); }

@media (max-width: 575.98px) {
  .wu-booking-row { grid-template-columns: 64px minmax(0, 1fr); }
  .wu-booking-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: start;
  }
}

/* A demo notice, used where the page falls back to sample content because the
   visitor has not made a real booking in this browser yet. */
.wu-sample-note {
  display: flex;
  align-items: flex-start;
  gap: var(--wu-space-3);
  padding: var(--wu-space-4);
  margin-bottom: var(--wu-space-4);
  border-radius: var(--wu-radius);
  background: color-mix(in srgb, var(--wu-warning) 12%, transparent);
  font-size: var(--wu-fs-sm);
}
.wu-sample-note svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* --- Segmented filter ---------------------------------------------------- */
.wu-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wu-space-2);
  margin-bottom: var(--wu-space-4);
}
.wu-segmented button {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--wu-border);
  border-radius: 999px;
  background: var(--wu-surface);
  color: var(--wu-text);
  font-size: var(--wu-fs-sm);
  cursor: pointer;
  transition: background var(--wu-duration-sm) var(--wu-ease),
              border-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}
.wu-segmented button:hover { border-color: var(--wu-primary); }
.wu-segmented button.is-active {
  background: var(--wu-primary);
  border-color: var(--wu-primary);
  color: #fff;
}

/* ==========================================================================
   24. GRAPHIC PANELS — the designed half, without a photograph
   --------------------------------------------------------------------------
   The auth aside and the split-modal media half used to be a stock photo with
   a scrim. Two problems with that: a buyer replaces the photo on day one, so
   the design has to hold up without it; and a photo behind text is the single
   most common way a template looks the same as every other template.

   So the default is now DRAWN, not photographed:

     ink ground -> dotted great-circle arcs -> a live trip card -> a stat row

   It is product-specific in a way a landscape never is: the panel shows the
   thing the product actually does. A photograph is still supported - set
   --auth-image and it fades in behind the artwork at low opacity - but
   nothing depends on one.
   ========================================================================== */
.wu-panel-graphic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%,
      color-mix(in srgb, var(--wu-primary) 55%, var(--wu-ink-deep)) 0%,
      var(--wu-ink-deep) 62%),
    var(--wu-ink-deep);
  color: var(--wu-on-ink);
}

@supports not (background: color-mix(in srgb, red 50%, white)) {
  .wu-panel-graphic { background: linear-gradient(200deg, var(--wu-primary-dark), var(--wu-ink-deep)); }
}

/* Optional photograph, deliberately faint: it is texture behind the artwork,
   not the artwork. */
.wu-panel-graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--auth-image, none);
  background-size: cover;
  background-position: center;
  opacity: .22;
  filter: saturate(.7);
}

/* A fine dot grid over the ground - the thing that stops a flat dark panel
   reading as an empty box. */
.wu-panel-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 80% at 100% 0%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 100% 0%, #000 20%, transparent 72%);
}

.wu-panel-graphic > * { position: relative; z-index: var(--wu-z-base); }

.wu-panel-graphic .wu-artline { color: var(--wu-text-invert); opacity: .14; z-index: 0; }

/* Sign-in and register pages: the arcs are a background layer. .wu-artline is
   absolute in header.css, but the rule above (a later file, same specificity)
   made every direct child relative - so the SVG sat in the flow at its 400x500
   ratio, pushed the aside copy down (empty band on top) and stretched the
   card past the form (empty band under it). */
.wu-auth-aside .wu-artline { position: absolute; }

/* --- Copy ---------------------------------------------------------------- */
.wu-panel-graphic .wu-mega-eyebrow { color: var(--wu-accent); }
.wu-panel-graphic h2,
.wu-panel-graphic .wu-panel-title {
  margin: 0 0 var(--wu-space-3);
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-2xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1.12;
  letter-spacing: var(--wu-tracking-display);
  color: var(--wu-text-invert);
}
.wu-panel-graphic p { color: var(--wu-on-ink); margin: 0; }

/* --- The trip card: the product, shown rather than described ------------- */
.wu-panel-card {
  margin-top: var(--wu-space-6);
  padding: var(--wu-space-4);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--wu-radius-lg);
  /* A DARK scrim, not a white one at 7%.

     The card sits over the panel ground, and that ground includes an optional
     photograph. A 7% white film changes almost nothing, so every line inside
     the card was really being read against whatever the picture happened to
     be doing: measured against the worst case this template can produce - a
     bright photo at 22% over the lightest stop of the gradient - the leg
     names came out at 2.53:1, the dates at 1.74 and "Confirmed" at 2.47.

     55% of near-black puts a floor under it that no photograph can lift:
     6.23 for the body, 10.29 for the headings, 6.08 for the status, 5.49+
     for the service icons, in the worst scheme.

     No backdrop-filter: a descendant that has one escapes an ancestor's
     border-radius clip in Chromium, so the card bled past the rounded
     corners of the modal and the modal read as square. */
  background: rgba(9, 16, 14, .55);
}
.wu-panel-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--wu-space-3);
  padding-bottom: var(--wu-space-3);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.wu-panel-card-head strong {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-lg);
  font-weight: var(--wu-fw-normal);
  color: var(--wu-text-invert);
}
.wu-panel-card-head span { font-size: var(--wu-fs-xs); color: var(--wu-on-ink); }

.wu-panel-card .wu-trip-legs { margin: 0; }
.wu-panel-card .wu-trip-legs li {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  padding: var(--wu-space-2) 0;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-medium);
  color: var(--wu-on-ink-strong);
}
.wu-panel-card .wu-trip-legs li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.wu-panel-card .wu-trip-ico { color: var(--wu-service); flex: none; }
.wu-panel-card .wu-trip-ok,
.wu-panel-card .wu-trip-todo { margin-inline-start: auto; font-size: var(--wu-fs-xs); }
.wu-panel-card .wu-trip-ok { color: var(--wu-success); }
.wu-panel-card .wu-trip-todo { color: var(--wu-on-ink); }

/* --- Stat row ------------------------------------------------------------ */
.wu-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wu-space-4);
  margin-top: var(--wu-space-6);
  padding-top: var(--wu-space-5);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.wu-panel-stats div { min-width: 0; }
.wu-panel-stats strong {
  display: block;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-normal);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--wu-text-invert);
}
.wu-panel-stats span {
  font-size: 11px;
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  color: var(--wu-on-ink-muted);
}

/* --------------------------------------------------------------------------
   Auth aside and split modal both become graphic panels
   -------------------------------------------------------------------------- */
/* No `background: none` here. It was written to clear the --wu-ink-deep the
   base rule sets, on the assumption that .wu-panel-graphic "loads later and
   is dark" - but .wu-panel-graphic is ~130 lines ABOVE this, and both
   selectors are one class. Equal specificity, later wins: this rule was
   wiping the graphic ground and leaving a white panel with --wu-on-ink text
   on it, which is the panel reading as blank.

   The base ink-deep is the right fallback for an aside that has no
   .wu-panel-graphic, and .wu-panel-graphic overrides it for the ones that
   do. Nothing needs clearing. */
/* Centred in the panel. The card is as tall as the form - the panel no longer
   adds height of its own now that the arcs are out of the flow - so centring
   only balances the space around the story. */
.wu-auth-aside {
  justify-content: center;
  gap: 0;
}
/* Nothing to null: the aside no longer defines pseudo layers of its own, so
   .wu-panel-graphic's photograph and dot grid both survive. This rule used to
   kill them, which is why --auth-image on the page had no effect. */

.wu-split-media { display: flex; flex-direction: column; justify-content: center; padding: var(--wu-space-7); }
.wu-split-media img { display: none; }
.wu-split-media::after { content: none; }

/* --------------------------------------------------------------------------
   Auth page: a drawn ground, not a photograph
   A soft two-tone wash plus the same dot grid. It seats the white card
   without a single image request.
   -------------------------------------------------------------------------- */
.wu-auth-page {
  background:
    radial-gradient(90% 70% at 12% 0%, var(--wu-primary-light) 0%, transparent 60%),
    radial-gradient(80% 60% at 100% 100%,
      color-mix(in srgb, var(--wu-accent) 12%, transparent) 0%, transparent 62%),
    var(--wu-surface-alt);
}
.wu-auth-page::before {
  background-image: radial-gradient(rgba(20, 32, 28, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 1;
}
.wu-auth-page::after { content: none; }

@supports not (background: color-mix(in srgb, red 50%, white)) {
  .wu-auth-page { background: var(--wu-surface-alt); }
}

@media (max-width: 767.98px) {
  .wu-panel-card { margin-top: var(--wu-space-5); }
  .wu-panel-stats { margin-top: var(--wu-space-5); }
}

@media (prefers-reduced-motion: reduce) {
  .wu-panel-graphic { transition: none; }
}

/* ==========================================================================
   WISHLIST — four services, four layouts
   --------------------------------------------------------------------------
   The page dropped its "All / Hotels / Tours / Flights / Transfers" filter
   bar: with only four services there is nothing to filter, and the tabs hid
   three quarters of the list behind a click. It now renders one section per
   service, and each section is a DIFFERENT archetype rather than the same
   card in four colours:

     stays        photo-led cards, two up      the room is the argument
     experiences  numbered editorial list      the day is the argument
     flights      boarding-pass rows           times and fare are the argument
     transfers    compact utility tiles        seats and bags are the argument

   Each section sets --wu-service through data-service, so the rule below
   picks up the right accent without a per-service rule anywhere.
   ========================================================================== */
.wu-wl-group + .wu-wl-group { margin-top: var(--wu-space-9); }

.wu-wl-group-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  margin-bottom: var(--wu-space-5);
  padding-bottom: var(--wu-space-3);
  border-bottom: 2px solid var(--wu-border);
}

/* The accent lives on the rule under the heading, not on the heading text:
   four coloured titles down one page read as four different pages. A
   pseudo-element rather than border-image, which only takes a slice of an
   image and cannot paint one edge of a border on its own. */
.wu-wl-group-head::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0;
  width: 64px;
  height: 2px;
  background: var(--wu-service);
}

.wu-wl-group-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--wu-radius);
  background: var(--wu-surface-alt);
  color: var(--wu-service-text);
}
.wu-wl-group-ico svg { width: 22px; height: 22px; }

.wu-wl-group-copy { min-width: 0; flex: 1; }
.wu-wl-group-copy h2 {
  display: flex;
  align-items: center;
  gap: var(--wu-space-2);
  margin: 0;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-normal);
  letter-spacing: var(--wu-tracking-display);
  line-height: 1.2;
}
.wu-wl-group-copy p {
  margin: 2px 0 0;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}

.wu-wl-group-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: var(--wu-radius-pill);
  background: var(--wu-surface-alt);
  font-family: var(--wu-font-body);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  color: var(--wu-text);
  text-align: center;
}

.wu-wl-group-more {
  display: inline-flex;
  align-items: center;
  min-block-size: 24px;
  gap: var(--wu-space-2);
  flex: none;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-semibold);
  color: var(--wu-service-text);
  text-decoration: none;
  white-space: nowrap;
}
.wu-wl-group-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--wu-duration-sm) var(--wu-ease);
}
.wu-wl-group-more:hover { color: var(--wu-service-text); text-decoration: underline; }
.wu-wl-group-more:hover svg { transform: translateX(3px); }

/* --- shared pieces -------------------------------------------------------- */
.wu-wl-kicker {
  margin: 0 0 4px;
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  color: var(--wu-service-text);
}

.wu-wl-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wu-space-2) 0;
  margin: var(--wu-space-3) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}
.wu-wl-facts li { display: inline-flex; align-items: center; }
.wu-wl-facts li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}
.wu-wl-facts strong { color: var(--wu-heading); font-weight: var(--wu-fw-semibold); }

/* No artwork on the record: a tinted tile, never a broken <img>. */
.wu-wl-noimg {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--wu-surface-alt), var(--wu-surface-sunken));
}

/* Remove. Two shapes from one component: a floating × over artwork, and an
   inline text button where there is no artwork to float over. */
.wu-wl-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wu-space-2);
  border: 0;
  border-radius: var(--wu-radius-pill);
  background: transparent;
  color: var(--wu-text-muted);
  cursor: pointer;
  transition: background-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}
.wu-wl-remove svg { width: 16px; height: 16px; }
.wu-wl-remove:not(.wu-wl-remove-text) {
  position: absolute;
  top: var(--wu-space-3);
  inset-inline-end: var(--wu-space-3);
  z-index: 2;
  width: 32px;
  height: 32px;
  background: var(--wu-surface);
  box-shadow: var(--wu-shadow-xs);
}
.wu-wl-remove:hover { background: var(--wu-danger-bg); color: var(--wu-danger); }
.wu-wl-remove:focus-visible { outline: 2px solid var(--wu-primary); outline-offset: 2px; }
.wu-wl-remove-text {
  padding: 4px 10px;
  font-family: inherit;
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-medium);
}

/* --------------------------------------------------------------------------
   1. STAYS — photo-led, two up
   The picture is the whole top of the card and carries the star rating; the
   body is three short facts, because anything longer competes with it.
   -------------------------------------------------------------------------- */
.wu-wl-stay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wu-space-5);
}

.wu-wl-stay {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  background: var(--wu-surface);
  transition: box-shadow var(--wu-duration-sm) var(--wu-ease),
              border-color var(--wu-duration-sm) var(--wu-ease);
}
.wu-wl-stay:hover { border-color: var(--wu-border-strong); box-shadow: var(--wu-shadow); }

.wu-wl-stay-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-wl-stay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wu-duration-lg) var(--wu-ease-out);
}
.wu-wl-stay:hover .wu-wl-stay-media img { transform: scale(1.04); }

/* Over the photograph, so it needs its own ground rather than borrowing the
   image's — the same five stars sit over a bright sky on one card and a dark
   lobby on the next. */
.wu-wl-stay-stars {
  position: absolute;
  inset-inline-start: var(--wu-space-3);
  bottom: var(--wu-space-3);
  display: inline-flex;
  gap: 2px;
  padding: 4px 8px;
  border-radius: var(--wu-radius-pill);
  background: var(--wu-ink);
  color: var(--wu-star);
}
.wu-wl-stay-stars svg { width: 12px; height: 12px; }

.wu-wl-stay-body { flex: 1; padding: var(--wu-space-4) var(--wu-space-4) 0; }
.wu-wl-stay-body h3 {
  margin: 0;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-lg);
  font-weight: var(--wu-fw-normal);
  line-height: 1.3;
}
.wu-wl-stay-body h3 a { color: var(--wu-heading); text-decoration: none; }
.wu-wl-stay-body h3 a:hover { color: var(--wu-primary); }

.wu-wl-stay-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-3);
  flex-wrap: wrap;
  margin-top: var(--wu-space-4);
  padding: var(--wu-space-4);
  border-top: 1px solid var(--wu-border);
}

/* --------------------------------------------------------------------------
   2. EXPERIENCES — a numbered list
   Deliberately NOT a grid. A tour is a plan for a day, which is a sentence,
   and a sentence reads across a line rather than down a tile.
   -------------------------------------------------------------------------- */
.wu-wl-tour-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }

.wu-wl-tour {
  display: grid;
  grid-template-columns: 44px 108px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--wu-space-4);
  padding: var(--wu-space-4) 0;
}
.wu-wl-tour + .wu-wl-tour { border-top: 1px solid var(--wu-border); }

/* The service accent, not a tint of the border: at --wu-border-strong the
   numeral measured 1.71:1 on white, which is a mark you have to hunt for
   rather than a design element. */
.wu-wl-tour-index {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-2xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1;
  color: var(--wu-service-text);
  text-align: center;
}

.wu-wl-tour-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--wu-radius);
  background: var(--wu-surface-sunken);
}
.wu-wl-tour-thumb img { width: 100%; height: 100%; object-fit: cover; }

.wu-wl-tour-body { min-width: 0; }
.wu-wl-tour-body h3 {
  margin: 0;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-lg);
  font-weight: var(--wu-fw-normal);
  line-height: 1.3;
}
.wu-wl-tour-body h3 a { color: var(--wu-heading); text-decoration: none; }
.wu-wl-tour-body h3 a:hover { color: var(--wu-primary); }
.wu-wl-tour-text {
  margin: 4px 0 0;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}

.wu-wl-tour-side {
  display: grid;
  justify-items: end;
  gap: var(--wu-space-2);
  text-align: end;
}

/* --------------------------------------------------------------------------
   3. FLIGHTS — boarding-pass rows
   No photograph exists for a route, so this card is built from the numbers.
   The stub is separated by a real perforation: two notches and a dashed rule,
   which is what makes the shape read as a ticket rather than a table row.
   -------------------------------------------------------------------------- */
.wu-wl-pass-stack { display: grid; gap: var(--wu-space-4); }

.wu-wl-pass {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--wu-space-5);
  padding: var(--wu-space-4) var(--wu-space-5);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  background: var(--wu-surface);
}
.wu-wl-pass:hover { border-color: var(--wu-border-strong); }

.wu-wl-pass-stub {
  position: relative;
  display: grid;
  gap: 2px;
  padding-inline-end: var(--wu-space-5);
  border-inline-end: 1px dashed var(--wu-border-strong);
}
/* The two half-circles the dashed rule runs between. */
.wu-wl-pass-stub::before,
.wu-wl-pass-stub::after {
  content: "";
  position: absolute;
  inset-inline-end: -7px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--wu-border);
  border-radius: 50%;
  background: var(--wu-body-bg);
}
.wu-wl-pass-stub::before { top: calc(-1 * var(--wu-space-4) - 7px); }
.wu-wl-pass-stub::after  { bottom: calc(-1 * var(--wu-space-4) - 7px); }

.wu-wl-pass-code {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-2xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1;
  color: var(--wu-service-text);
}
.wu-wl-pass-airline {
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-semibold);
  color: var(--wu-heading);
}
.wu-wl-pass-no {
  font-size: var(--wu-fs-xs);
  letter-spacing: var(--wu-tracking-label);
  color: var(--wu-text-muted);
}

.wu-wl-pass-main { min-width: 0; }
.wu-wl-pass-route {
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto;
  align-items: center;
  gap: var(--wu-space-4);
}
.wu-wl-pass-point strong {
  display: block;
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-semibold);
  line-height: 1.1;
  color: var(--wu-heading);
}
.wu-wl-pass-point span {
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}
.wu-wl-pass-point-end { text-align: end; }

/* The flight path: a rule with the duration sitting on it. */
.wu-wl-pass-path {
  position: relative;
  display: flex;
  justify-content: center;
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}
.wu-wl-pass-path::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 0;
  height: 1px;
  background: var(--wu-border);
}
.wu-wl-pass-path span {
  position: relative;
  padding: 0 8px;
  background: var(--wu-surface);
  white-space: nowrap;
}

.wu-wl-pass-fare {
  display: grid;
  justify-items: end;
  gap: var(--wu-space-2);
  padding-inline-start: var(--wu-space-5);
  border-inline-start: 1px solid var(--wu-border);
  text-align: end;
}
/* The heart-remove floats over the stub corner, where nothing else sits. */
.wu-wl-pass .wu-wl-remove { top: var(--wu-space-2); inset-inline-end: var(--wu-space-2); }

/* --------------------------------------------------------------------------
   4. TRANSFERS — compact utility tiles
   The smallest card of the four: the question is only whether the party and
   the luggage fit, so the two legs and three numbers are the whole card.
   -------------------------------------------------------------------------- */
.wu-wl-ride-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wu-space-4);
}

.wu-wl-ride {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius);
  background: var(--wu-surface);
}
.wu-wl-ride:hover { border-color: var(--wu-border-strong); }

.wu-wl-ride-media {
  display: block;
  aspect-ratio: 20 / 9;
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-wl-ride-media img { width: 100%; height: 100%; object-fit: cover; }

.wu-wl-ride-body { flex: 1; padding: var(--wu-space-4); }
.wu-wl-ride-body h3 {
  margin: 0;
  font-size: var(--wu-fs-base);
  font-weight: var(--wu-fw-semibold);
  line-height: 1.35;
}
.wu-wl-ride-body h3 a { color: var(--wu-heading); text-decoration: none; }
.wu-wl-ride-body h3 a:hover { color: var(--wu-primary); }

/* Pickup and drop-off as a two-stop timeline: the pair is the product. */
.wu-wl-ride-legs {
  margin: var(--wu-space-3) 0 0;
  padding: 0 0 0 var(--wu-space-4);
  list-style: none;
  font-size: var(--wu-fs-xs);
  color: var(--wu-text);
}
.wu-wl-ride-legs li { position: relative; padding-block: 2px; }
.wu-wl-ride-legs li::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(-1 * var(--wu-space-4));
  top: 7px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--wu-service-text);
  border-radius: 50%;
}
.wu-wl-ride-legs li:last-child::before { background: var(--wu-service-text); }
.wu-wl-ride-legs li:first-child::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(-1 * var(--wu-space-4) + 3px);
  top: 14px;
  bottom: -2px;
  width: 1px;
  background: var(--wu-border-strong);
}

.wu-wl-ride-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-2);
  flex-wrap: wrap;
  padding: var(--wu-space-3) var(--wu-space-4);
  border-top: 1px solid var(--wu-border);
  background: var(--wu-surface-alt);
}
.wu-wl-ride-foot .wu-price-amount { font-size: var(--wu-fs-lg); }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .wu-wl-ride-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .wu-wl-stay-grid { grid-template-columns: minmax(0, 1fr); }
  .wu-wl-pass { grid-template-columns: 104px minmax(0, 1fr); }
  .wu-wl-pass-fare {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    justify-items: center;
    align-items: center;
    justify-content: space-between;
    padding: var(--wu-space-3) 0 0;
    border-inline-start: 0;
    border-top: 1px dashed var(--wu-border-strong);
  }
}

@media (max-width: 767.98px) {
  .wu-wl-group-head { flex-wrap: wrap; }
  .wu-wl-group-more { order: 3; width: 100%; }

  .wu-wl-tour {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }
  .wu-wl-tour-index { display: none; }
  .wu-wl-tour-side {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
    text-align: start;
  }

  .wu-wl-ride-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
  .wu-wl-pass { grid-template-columns: minmax(0, 1fr); gap: var(--wu-space-3); }
  .wu-wl-pass-stub {
    grid-auto-flow: column;
    align-items: baseline;
    justify-content: start;
    gap: var(--wu-space-2);
    padding: 0 0 var(--wu-space-3);
    border-inline-end: 0;
    border-bottom: 1px dashed var(--wu-border-strong);
  }
  .wu-wl-pass-stub::before,
  .wu-wl-pass-stub::after { content: none; }
  .wu-wl-pass-code { font-size: var(--wu-fs-xl); }
  .wu-wl-pass-route { gap: var(--wu-space-2); }
}

@media (prefers-reduced-motion: reduce) {
  .wu-wl-stay,
  .wu-wl-stay-media img,
  .wu-wl-group-more svg,
  .wu-wl-remove { transition: none; }
  .wu-wl-stay:hover .wu-wl-stay-media img { transform: none; }
  .wu-wl-group-more:hover svg { transform: none; }
}


/* ==========================================================================
   The header avatar's menu

   js/account.js builds it when someone is signed in, on the same
   .wu-header-menu / .is-open mechanism as the wishlist panel.
   ========================================================================== */
.wu-account-menu {
  width: 280px;
  padding: var(--wu-space-3);
  inset-inline-end: 0;
  inset-inline-start: auto;
}

.wu-account-menu-head {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  padding: var(--wu-space-2) var(--wu-space-2) var(--wu-space-3);
}
.wu-account-menu-head .wu-avatar { width: 40px; height: 40px; font-size: var(--wu-fs-sm); }
.wu-account-menu-head strong { display: block; color: var(--wu-heading); font-size: var(--wu-fs-sm); }
.wu-account-menu-head span {
  display: block;
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
  overflow-wrap: anywhere;
}

.wu-account-menu-since {
  margin: 0 0 var(--wu-space-2);
  padding: 0 var(--wu-space-2) var(--wu-space-3);
  border-bottom: 1px solid var(--wu-border);
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}

.wu-account-menu-links { display: grid; gap: 2px; }
.wu-account-menu-links a {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  padding: var(--wu-space-2) var(--wu-space-2);
  border-radius: var(--wu-radius-sm);
  font-size: var(--wu-fs-sm);
  color: var(--wu-text);
}
.wu-account-menu-links a:hover { background: var(--wu-surface-alt); color: var(--wu-heading); }
.wu-account-menu-links svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--wu-text-muted); }
.wu-account-menu-links a:hover svg { color: var(--wu-service); }
.wu-account-menu-links .wu-badge { margin-inline-start: auto; }

.wu-account-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-3);
  margin-top: var(--wu-space-3);
  padding-top: var(--wu-space-3);
  border-top: 1px solid var(--wu-border);
  font-size: var(--wu-fs-sm);
}
.wu-account-menu-foot a { color: var(--wu-text-muted); }
.wu-account-menu-foot a:hover { color: var(--wu-heading); }
.wu-account-menu-foot button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: var(--wu-fw-medium);
  color: var(--wu-danger);
  cursor: pointer;
}
.wu-account-menu-foot button:hover { text-decoration: underline; }

/* ==========================================================================
   Account overview (dashboard.html)
   ========================================================================== */
.wu-account-greet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-4);
  margin-bottom: var(--wu-space-5);
}

.wu-account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--wu-space-3);
}
.wu-account-stat {
  padding: var(--wu-space-4);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius);
  background: var(--wu-surface);
}
.wu-account-stat-label {
  display: block;
  font-size: var(--wu-fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--wu-tracking-label);
  color: var(--wu-text-muted);
}
.wu-account-stat strong {
  display: block;
  margin: 2px 0;
  font-size: var(--wu-fs-xl);
  color: var(--wu-heading);
}
.wu-account-stat-note { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }

.wu-account-next { margin-top: var(--wu-space-5); }

/* One row per booking or saved item: service, what it is, when, and what it
   cost - the four things worth showing before the page it links to. */
.wu-account-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--wu-space-3);
  padding: var(--wu-space-3) var(--wu-space-4);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius);
  background: var(--wu-surface);
  color: var(--wu-text);
  transition: border-color var(--wu-duration-sm) var(--wu-ease);
}
.wu-account-row + .wu-account-row { margin-top: var(--wu-space-2); }
.wu-account-row:hover { border-color: var(--wu-border-strong); color: var(--wu-text); }
.wu-account-row strong { color: var(--wu-heading); font-size: var(--wu-fs-sm); }
.wu-account-row .wu-price-amount { font-size: var(--wu-fs-base); }

.wu-account-links a { display: grid; gap: 4px; }
.wu-account-links strong { color: var(--wu-heading); font-size: var(--wu-fs-sm); }
.wu-account-links span { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }
.wu-account-links a:hover { border-color: var(--wu-border-strong); }

@media (max-width: 767.98px) {
  .wu-account-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--wu-space-1); }
  .wu-account-menu { width: min(280px, calc(100vw - var(--wu-space-5) * 2)); }
}

@media (prefers-reduced-motion: reduce) {
  .wu-account-row { transition: none; }
}
