/* Floating booking island (assets/js/booking-island.js), in three styles:
   Live pill (.wcb-dk-*, bottom centre), Timetable drawer (.wcb-tt-*, a corner launcher
   and a right-side drawer) and Booking bar (.wcb-br-*, a field bar with a popover).
   On phones (max-width: 640px) the drawer and the bar become bottom sheets.

   All three are drawn in Wellnest Studio, the same design language as the staff app:
   dark glass on the dark site, cream for the one main action, Mosie for titles, words
   (not colour alone) for state, and the warm studio-light gradient once, at the top of
   the drawer and the phone sheet. The --wn-* names match the design system's tokens.

   Buttons and links are reset first because theme and Elementor button styles otherwise
   bleed in. `all: unset` only covers the resting state: Hello Elementor and the Elementor
   kit also paint `button:hover` / `button:focus` / `a:hover` (up to 0,2,1 specificity).
   So no island button sets its own background, border colour, text colour or shadow
   directly: each sets --p-bg / --p-bd / --p-fg / --p-sh, and one rule paints them at
   0,2,1 resting and 0,3,1 for :hover, :focus and :active. Hover and pressed states only
   change the variables. */

.wcb-island {
  --wn-display: "mosie", Georgia, 'Times New Roman', serif;
  --wn-price: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wn-glass: rgba(24, 22, 20, .88);
  --wn-raised: #1f1d1a;
  --wn-sunken: rgba(8, 8, 7, .45);
  --wn-line: rgba(245, 240, 232, .12);
  --wn-line-strong: rgba(245, 240, 232, .42);
  --wn-ink: #f5f0e8;
  --wn-ink-muted: #b3aaa0;
  --wn-ink-subtle: #8e877e;
  --wn-accent: #d9cabb;
  --wn-taupe: #aa9583;
  --wn-primary: #f5f0e8;
  --wn-on-primary: #1d1a17;
  --wn-primary-hover: #e6dfd4;
  --wn-neutral-soft: rgba(245, 240, 232, .08);
  --wn-success: #c1d1b9;
  --wn-success-soft: rgba(193, 209, 185, .16);
  --wn-danger: #e3aaa5;
  --wn-danger-soft: rgba(227, 170, 165, .14);
  --wn-warning: #e2c07c;
  --wn-warning-soft: rgba(226, 192, 124, .14);
  --wn-studio-deep: #3a302a;
  --wn-studio-floor: #1f1b18;
  --wn-studio-text: #f5f0e8;
  --wn-shadow-float: 0 16px 44px rgba(0, 0, 0, .4);
  --wn-shadow-panel: 0 24px 70px rgba(0, 0, 0, .5);
  --wn-blur: blur(20px) saturate(1.3);
  --wn-safe: env(safe-area-inset-bottom, 0px);

  color: var(--wn-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  z-index: 9990;
}
.wcb-island *, .wcb-island *::before, .wcb-island *::after { box-sizing: border-box; }
.wcb-island button, .wcb-island a { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.wcb-island [hidden] { display: none !important; }
.wcb-island h2, .wcb-island h3, .wcb-island p, .wcb-island ul { margin: 0; padding: 0; }
.wcb-island ul { list-style: none; }

/* The one place island buttons and links are painted (see the note at the top). */
.wcb-island.wcb-island :is(button, a),
.wcb-island.wcb-island :is(button, a):is(:hover, :focus, :active) {
  background: var(--p-bg, transparent);
  border-color: var(--p-bd, transparent);
  box-shadow: var(--p-sh, none);
  color: var(--p-fg, currentColor);
  text-decoration: var(--p-td, none);
}
.wcb-island.wcb-island :is(button, a):focus:not(:focus-visible) { outline: none; }
.wcb-island.wcb-island :is(button, a, input):focus-visible { outline: 2px solid var(--wn-accent); outline-offset: 2px; }
.wcb-island.wcb-island :is(button, a):disabled,
.wcb-island.wcb-island a[aria-disabled="true"] { cursor: default; }
.wcb-island [tabindex="-1"]:focus { outline: none; }

.wcb-island__sr {
  border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; white-space: nowrap; width: 1px;
}

/* The studio-light gradient: the site's warm window glow, used once per surface. */
.wcb-tt-head,
.wcb-br-sheet-head {
  background:
    radial-gradient(120% 110% at 88% 0%, rgba(217, 202, 187, .36), rgba(217, 202, 187, 0) 58%),
    radial-gradient(90% 120% at 0% 100%, rgba(95, 73, 61, .7), rgba(95, 73, 61, 0) 62%),
    linear-gradient(160deg, var(--wn-studio-deep), var(--wn-studio-floor));
  color: var(--wn-studio-text);
}

/* ---- Shared pieces ---- */

.wcb-island .wcb-btn {
  --p-bg: var(--wn-primary);
  --p-fg: var(--wn-on-primary);
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13.5px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 40px;
  padding: 0 18px;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.wcb-island .wcb-btn:hover { --p-bg: var(--wn-primary-hover); }
.wcb-island .wcb-btn--ghost { --p-bg: transparent; --p-fg: var(--wn-ink); --p-bd: var(--wn-line-strong); }
.wcb-island .wcb-btn--ghost:hover { --p-bg: transparent; --p-bd: var(--wn-ink); }
.wcb-island .wcb-btn--wide { font-size: 14.5px; min-height: 48px; width: 100%; }
.wcb-island .wcb-btn:disabled,
.wcb-island .wcb-btn[aria-disabled="true"] { opacity: .5; }

.wcb-island .wcb-x {
  --p-bg: var(--wn-neutral-soft);
  --p-fg: var(--wn-ink-muted);
  align-items: center;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}
.wcb-island .wcb-x:hover { --p-fg: var(--wn-ink); }
.wcb-island :is(.wcb-tt-head, .wcb-br-sheet-head) .wcb-x { --p-bg: rgba(245, 240, 232, .14); --p-fg: var(--wn-studio-text); }

.wcb-island .wcb-link { --p-td: underline; --p-fg: inherit; font-weight: 700; text-underline-offset: .2em; white-space: nowrap; }

.wcb-island .wcb-h3 {
  color: var(--wn-ink);
  font-family: var(--wn-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}
.wcb-island .wcb-note { color: var(--wn-ink-muted); font-size: 13.5px; line-height: 1.5; padding: 4px 2px; }
.wcb-island .wcb-fine { color: var(--wn-ink-muted); font-size: 12px; line-height: 1.5; text-align: center; }
.wcb-island .wcb-fine--left { text-align: left; }
.wcb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wcb-actions--end { justify-content: flex-end; }

/* Status tags: the word carries the meaning, the dot and colour back it up. */
.wcb-tag {
  align-items: center;
  background: var(--wn-neutral-soft);
  border-radius: 999px;
  color: var(--wn-ink-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  line-height: 16px;
  padding: 4px 10px;
  white-space: nowrap;
}
.wcb-tag::before { background: currentColor; border-radius: 50%; content: ''; height: 6px; width: 6px; }
.wcb-tag--ok { background: var(--wn-success-soft); color: var(--wn-success); }
.wcb-tag--as { background: var(--wn-neutral-soft); color: var(--wn-accent); }
.wcb-tag--as::before { display: none; }

/* Class row ends: capacity bar, then spots left or a state tag. */
.wcb-end { align-items: center; display: flex; flex: 0 0 auto; gap: 8px; justify-content: flex-end; }
.wcb-meter { background: var(--wn-sunken); border-radius: 3px; display: block; flex: 0 0 auto; height: 6px; overflow: hidden; width: 48px; }
.wcb-meter i { background: var(--wn-taupe); border-radius: 3px; display: block; height: 100%; }
.wcb-meter.is-full i { background: var(--wn-ink-muted); }
.wcb-sp { color: var(--wn-ink-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.wcb-tick {
  align-items: center;
  background: var(--wn-success-soft);
  border-radius: 50%;
  color: var(--wn-success);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.wcb-island .wcb-done-title {
  color: var(--wn-ink);
  display: block;
  font-family: var(--wn-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.wcb-loading { align-items: center; color: var(--wn-ink-muted); display: flex; font-size: 13px; gap: 10px; justify-content: center; padding: 22px 8px; }
.wcb-spinner {
  animation: wcb-spin .8s linear infinite;
  border: 2px solid var(--wn-line);
  border-radius: 50%;
  border-top-color: var(--wn-ink);
  height: 16px;
  width: 16px;
}
@keyframes wcb-spin { to { transform: rotate(360deg); } }

.wcb-banner {
  align-items: center;
  animation: wcb-fadeup .2s ease;
  background: var(--wn-danger-soft);
  border-radius: 14px;
  color: var(--wn-danger);
  display: flex;
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
  line-height: 1.45;
  padding: 10px 14px;
}
.wcb-banner--ok { background: var(--wn-success-soft); color: var(--wn-success); }
.wcb-banner--info { background: var(--wn-neutral-soft); color: var(--wn-ink); }
.wcb-banner--warning { background: var(--wn-warning-soft); color: var(--wn-warning); }

/* Seven days on a sunken track; the chosen day takes the cream fill. */
.wcb-dk-days,
.wcb-br-days { background: var(--wn-sunken); border-radius: 14px; display: grid; gap: 4px; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 4px; }
.wcb-island :is(.wcb-dk-day, .wcb-br-day) { --p-fg: var(--wn-ink-muted); border: 0; border-radius: 10px; display: grid; font-size: 11px; gap: 0; padding: 7px 0 6px; text-align: center; }
.wcb-island :is(.wcb-dk-day, .wcb-br-day) b { color: var(--wn-ink); font-size: 16px; font-weight: 600; line-height: 1.3; }
.wcb-island :is(.wcb-dk-day, .wcb-br-day) small { color: var(--wn-ink-subtle); font-size: 10px; white-space: nowrap; }
.wcb-island :is(.wcb-dk-day, .wcb-br-day):not(:disabled):hover { --p-bg: var(--wn-neutral-soft); }
.wcb-island .wcb-dk-day.is-none,
.wcb-island .wcb-br-day:disabled { opacity: .45; }
.wcb-island.wcb-island :is(.wcb-dk-day, .wcb-br-day)[aria-pressed="true"] { --p-bg: var(--wn-primary); --p-fg: var(--wn-on-primary); opacity: 1; }
.wcb-island :is(.wcb-dk-day, .wcb-br-day)[aria-pressed="true"] :is(b, small) { color: var(--wn-on-primary); }

/* Filter chips: the pressed chip gets an accent ring. */
.wcb-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.wcb-chips::-webkit-scrollbar { display: none; }
.wcb-island :is(.wcb-chip, .wcb-tt-filter) { --p-bd: var(--wn-line-strong); --p-fg: var(--wn-ink-muted); border: 1px solid; border-radius: 999px; flex: 0 0 auto; font-size: 12.5px; font-weight: 600; padding: 6px 13px; white-space: nowrap; }
.wcb-island :is(.wcb-chip, .wcb-tt-filter):hover { --p-fg: var(--wn-ink); }
.wcb-island.wcb-island :is(.wcb-chip, .wcb-tt-filter)[aria-pressed="true"] { --p-bd: var(--wn-accent); --p-fg: var(--wn-ink); --p-bg: var(--wn-neutral-soft); --p-sh: inset 0 0 0 1px var(--wn-accent); }

@keyframes wcb-fadeup { from { opacity: 0; transform: translateY(6px); } }
@keyframes wcb-flash { from { transform: scale(.92); } }
@keyframes wcb-slide { from { transform: translateX(105%); } }
@keyframes wcb-rise { from { transform: translateY(100%); } }
@keyframes wcb-pop { from { opacity: 0; transform: translateY(8px); } }
@keyframes wcb-pulse { 50% { box-shadow: 0 0 0 7px rgba(226, 192, 124, .05); } }

/* =================================================================
   Live pill: one dark glass pill and a compact card. The card opens with
   a short fade-up only, no grow or morph.
   ================================================================= */

.wcb-dk {
  bottom: calc(22px + var(--wn-safe));
  display: flex;
  justify-content: center;
  left: 50%;
  max-width: calc(100vw - 24px);
  position: fixed;
  transform: translateX(-50%);
  z-index: 9990;
}
.wcb-island .wcb-dk-pill {
  --p-bg: rgba(24, 22, 20, .82);
  --p-bd: rgba(245, 240, 232, .14);
  --p-fg: var(--wn-ink);
  --p-sh: var(--wn-shadow-float);
  -webkit-backdrop-filter: var(--wn-blur);
  align-items: center;
  backdrop-filter: var(--wn-blur);
  border: 1px solid;
  border-radius: 999px;
  display: flex;
  gap: 12px;
  max-width: 100%;
  min-height: 54px;
  padding: 6px 6px 6px 18px;
  transition: transform .2s ease;
}
.wcb-island .wcb-dk-pill:hover { transform: translateY(-1px); }
.wcb-island .wcb-dk-pill.is-flash { --p-bg: rgba(47, 82, 54, .92); animation: wcb-flash .45s cubic-bezier(.2, .9, .3, 1.3); padding-right: 20px; }
.wcb-dk-dot { background: var(--wn-success); border-radius: 50%; box-shadow: 0 0 0 4px var(--wn-success-soft); flex: 0 0 auto; height: 8px; width: 8px; }
.wcb-dk-txt { color: var(--wn-ink-muted); flex: 1; font-size: 14px; min-width: 0; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.wcb-dk-txt b { color: var(--wn-ink); font-weight: 600; margin-right: 6px; }
.wcb-dk-pill.is-flash .wcb-dk-txt, .wcb-dk-pill.is-flash .wcb-dk-txt b { color: #eef3ea; }
.wcb-dk-cta { align-items: center; background: var(--wn-primary); border-radius: 999px; color: var(--wn-on-primary); display: inline-flex; flex: 0 0 auto; font-size: 14px; font-weight: 700; height: 42px; padding: 0 20px; }
.wcb-dk-ok { background: var(--wn-success); border-radius: 50%; color: #2f5236; display: grid; flex: 0 0 auto; font-weight: 800; height: 28px; place-items: center; width: 28px; }
/* No credits: one cream button carrying the cheapest price ("Book a class · QAR 150"). */
.wcb-island .wcb-dk-pill.is-solo { --p-bg: var(--wn-primary); --p-bd: transparent; --p-fg: var(--wn-on-primary); gap: 0; padding: 6px; }
.wcb-island .wcb-dk-pill.is-solo:hover { --p-bg: var(--wn-primary-hover); }
.wcb-dk-go { flex: 1; font-size: 14px; font-weight: 700; padding: 0 16px; text-align: left; white-space: nowrap; }
.wcb-dk-tag { align-items: center; background: rgba(29, 26, 23, .09); border-radius: 999px; display: inline-flex; flex: 0 0 auto; font-family: var(--wn-price); font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 600; height: 42px; padding: 0 14px; white-space: nowrap; }
/* The last hour before a class: amber, gently pulsing. */
.wcb-dk-dot.is-soon { animation: wcb-pulse 1.6s ease-in-out infinite; background: var(--wn-warning); box-shadow: 0 0 0 4px var(--wn-warning-soft); }

.wcb-dk-card {
  -webkit-backdrop-filter: var(--wn-blur);
  animation: wcb-fadeup .18s ease;
  backdrop-filter: var(--wn-blur);
  background: var(--wn-glass);
  border: 1px solid rgba(245, 240, 232, .14);
  border-radius: 28px;
  box-shadow: var(--wn-shadow-panel);
  color: var(--wn-ink);
  display: flex;
  flex-direction: column;
  max-height: min(580px, calc(100dvh - 48px));
  max-width: 100%;
  overflow: hidden;
  width: 400px;
}
.wcb-dk-head { align-items: center; display: flex; gap: 10px; padding: 12px 12px 0 14px; }
.wcb-island .wcb-dk-title {
  color: var(--wn-ink);
  flex: 1;
  font-family: var(--wn-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  padding-left: 4px;
  text-transform: none;
}
.wcb-dk-tabs { background: var(--wn-sunken); border-radius: 999px; display: flex; flex: 1; gap: 2px; padding: 3px; }
.wcb-island .wcb-dk-tab { --p-fg: var(--wn-ink-muted); border-radius: 999px; flex: 1; font-size: 13px; font-weight: 600; padding: 8px 10px; text-align: center; }
.wcb-island .wcb-dk-tab:hover { --p-fg: var(--wn-ink); }
.wcb-island.wcb-island .wcb-dk-tab[aria-selected="true"] { --p-bg: var(--wn-primary); --p-fg: var(--wn-on-primary); }
/* Rows keep their content height: a row that scrolls sideways (the chips) would otherwise shrink to nothing once the list overflows. */
.wcb-dk-body { display: grid; gap: 12px; grid-auto-rows: max-content; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; }

.wcb-dk-slots { display: grid; gap: 2px; }
.wcb-island .wcb-dk-row {
  --p-fg: var(--wn-ink);
  align-items: center;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  padding: 11px 10px;
  text-align: left;
  width: 100%;
}
.wcb-island .wcb-dk-row:not(:disabled):hover { --p-bg: var(--wn-neutral-soft); }
.wcb-island .wcb-dk-row:disabled .wcb-dk-m { opacity: .7; }
.wcb-dk-t { font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.wcb-dk-m { min-width: 0; }
.wcb-dk-m b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-dk-m small { color: var(--wn-ink-muted); display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-dk-sp { color: var(--wn-ink-muted); font-size: 12.5px; white-space: nowrap; }
.wcb-dk-slot.is-conf { background: var(--wn-raised); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--wn-line-strong); }
.wcb-dk-conf { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 12px 92px; }
.wcb-dk-conf span { color: var(--wn-ink-muted); flex: 1; font-size: 12.5px; min-width: 120px; }
.wcb-island .wcb-cancel-warn { font-size: 12.5px; padding: 0 10px 8px 92px; }

.wcb-dk-pkgs { display: grid; gap: 8px; }
/* The free trial card: above the group packages in the drawer and the timetable tray. */
.wcb-island .wcb-trial { align-items: center; background: var(--wn-neutral-soft); border: 1px solid var(--wn-accent); border-radius: 16px; display: grid; gap: 4px 12px; grid-template-columns: 1fr auto; padding: 14px; }
.wcb-island .wcb-trial p { margin: 0; }
.wcb-island .wcb-trial b { display: block; font-weight: 600; }
.wcb-island .wcb-trial small { color: var(--wn-ink-muted); font-size: 12px; }
.wcb-island .wcb-trial .wcb-btn { font-size: 12.5px; min-height: 36px; padding: 0 14px; }
/* The package left at checkout: the same card, with a quiet way to drop it. */
.wcb-island .wcb-order { margin-bottom: 12px; }
.wcb-island .wcb-order .wcb-link { color: var(--wn-ink-muted); font-size: 12px; font-weight: 400; justify-self: start; min-height: 32px; }
.wcb-island .wcb-tt-need--or { color: var(--wn-ink-muted); }
.wcb-dk-pkg { align-items: center; background: var(--wn-raised); border: 1px solid var(--wn-line); border-radius: 16px; display: grid; gap: 4px 12px; grid-template-columns: 1fr auto; padding: 14px; }
.wcb-dk-pkg b { font-weight: 600; }
.wcb-dk-pkg small { color: var(--wn-ink-muted); font-size: 12px; grid-column: 1; }
.wcb-dk-price { font-family: var(--wn-price); font-size: 20px; font-variant-numeric: tabular-nums; font-weight: 400; grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap; }
.wcb-island .wcb-dk-pkg .wcb-btn { font-size: 12.5px; grid-column: 2; grid-row: 2; justify-self: end; min-height: 32px; padding: 0 14px; }
.wcb-dk-muted { color: var(--wn-ink-subtle); font-size: 12px; grid-column: 2; grid-row: 2; text-align: right; }
.wcb-dk-card .wcb-signin { display: grid; gap: 10px; }

/* =================================================================
   Timetable drawer: time first. Glass drawer with the studio-light head.
   ================================================================= */

.wcb-island .wcb-tt-launch {
  --p-bg: rgba(24, 22, 20, .82);
  --p-bd: rgba(245, 240, 232, .14);
  --p-fg: var(--wn-ink);
  --p-sh: var(--wn-shadow-float);
  -webkit-backdrop-filter: var(--wn-blur);
  align-items: center;
  backdrop-filter: var(--wn-blur);
  border: 1px solid;
  border-radius: 22px;
  bottom: calc(22px + var(--wn-safe));
  display: flex;
  gap: 12px;
  padding: 7px 20px 7px 7px;
  position: fixed;
  right: 22px;
  text-align: left;
  transition: transform .2s ease;
  z-index: 9990;
}
.wcb-island .wcb-tt-launch:hover { transform: translateY(-2px); }
.wcb-tt-ic { background: var(--wn-primary); border-radius: 15px; color: var(--wn-on-primary); display: grid; height: 44px; place-items: center; width: 44px; }
.wcb-tt-launch-txt b { display: block; font-size: 15px; font-weight: 700; }
.wcb-tt-launch-txt small { color: var(--wn-ink-muted); display: block; font-size: 12px; }

.wcb-tt-drawer {
  -webkit-backdrop-filter: var(--wn-blur);
  animation: wcb-slide .3s cubic-bezier(.2, .85, .25, 1);
  backdrop-filter: var(--wn-blur);
  background: var(--wn-glass);
  border: 1px solid rgba(245, 240, 232, .14);
  border-radius: 24px;
  bottom: 12px;
  box-shadow: var(--wn-shadow-panel);
  color: var(--wn-ink);
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  position: fixed;
  right: 12px;
  top: 12px;
  width: 412px;
  z-index: 9991;
}
.wcb-tt-head { align-items: flex-start; display: flex; gap: 10px; padding: 24px 18px 22px 24px; }
.wcb-tt-head > div { flex: 1; min-width: 0; }
.wcb-island .wcb-tt-title {
  color: var(--wn-studio-text);
  font-family: var(--wn-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}
.wcb-island .wcb-tt-credits { color: rgba(245, 240, 232, .76); font-size: 13px; margin-top: 6px; }
.wcb-tt-credits b { color: var(--wn-studio-text); }
.wcb-tt-head, .wcb-tt-filters { flex-shrink: 0; }
.wcb-tt-filters { border-bottom: 1px solid var(--wn-line); display: flex; gap: 6px; overflow-x: auto; padding: 14px 20px 12px; scrollbar-width: none; }
.wcb-tt-filters::-webkit-scrollbar { display: none; }
.wcb-tt-list { flex: 1; min-height: 140px; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
.wcb-tt-pad { display: grid; gap: 12px; padding: 16px 20px; }
/* Solid, so the day header it slides over never shows through. */
.wcb-tt-day { background: rgb(31, 29, 26); color: var(--wn-ink); display: flex; font-size: 12.5px; font-weight: 700; justify-content: space-between; padding: 8px 22px; position: sticky; top: 0; z-index: 1; }
.wcb-tt-open-count { color: var(--wn-ink-subtle); font-weight: 500; }
.wcb-island .wcb-tt-row {
  --p-fg: var(--wn-ink);
  align-items: center;
  border: 0;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  margin: 2px 10px;
  padding: 11px 12px;
  text-align: left;
  width: calc(100% - 20px);
}
.wcb-island .wcb-tt-row:not(:disabled):hover { --p-bg: var(--wn-neutral-soft); }
.wcb-island.wcb-island .wcb-tt-row.is-sel { --p-bg: var(--wn-raised); --p-sh: inset 0 0 0 1px var(--wn-line-strong); }
.wcb-island .wcb-tt-row:disabled .wcb-tt-m { opacity: .7; }
.wcb-tt-time { font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.wcb-tt-time small { color: var(--wn-ink-subtle); display: block; font-size: 11.5px; font-weight: 500; }
.wcb-tt-m { min-width: 0; }
.wcb-tt-m b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-tt-m small { color: var(--wn-ink-muted); display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-tt-dot { border: 2px solid var(--wn-taupe); border-radius: 50%; height: 10px; width: 10px; }
.wcb-tt-private { background: var(--wn-raised); border: 1px solid var(--wn-line); border-radius: 18px; display: grid; gap: 10px; padding: 20px; }
.wcb-tt-private .wcb-h3 { font-size: 22px; }
/* The slot is a flex column so the tray can shrink and scroll inside the drawer. A
   percentage max-height on the tray alone never resolved (the slot had no height), so a
   long package list ran off the bottom of the drawer with the checkout button. */
.wcb-tt-tray-slot { display: flex; flex: 0 1 auto; flex-direction: column; max-height: 60%; min-height: 0; }
.wcb-tt-tray { animation: wcb-rise .25s ease; flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--wn-raised); border-top: 1px solid var(--wn-line); display: grid; gap: 12px; padding: 16px 20px calc(20px + var(--wn-safe)); }
.wcb-tt-tray.is-still { animation: none; }
/* The checkout action stays in view while the package list scrolls under it. */
.wcb-island .wcb-tt-tray > .wcb-btn--wide { bottom: 0; box-shadow: 0 -14px 16px var(--wn-raised); position: sticky; }
.wcb-tt-foot { background: var(--wn-raised); bottom: calc(-20px - var(--wn-safe)); box-shadow: 0 -14px 16px var(--wn-raised); display: grid; gap: 8px; margin: 0 -20px; padding: 10px 20px calc(14px + var(--wn-safe)); position: sticky; z-index: 1; }
.wcb-island .wcb-tt-chosen { align-items: baseline; display: flex; font-size: 13px; gap: 6px; justify-content: space-between; margin: 0; }
.wcb-tt-chosen span { color: var(--wn-ink-muted); }
.wcb-tt-chosen b { color: var(--wn-ink); font-weight: 600; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.wcb-tt-sum-row { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.wcb-tt-sum-row .wcb-tt-sum { min-width: 0; }
/* The class being bought for stays pinned at the top of the tray while packages scroll. */
.wcb-tt-drawer.is-picking .wcb-tt-sum-row { background: var(--wn-raised); box-shadow: 0 12px 14px var(--wn-raised); margin: -16px -20px 0; padding: 14px 20px 8px; position: sticky; top: -16px; z-index: 1; }
.wcb-island .wcb-tt-change { flex-shrink: 0; font-size: 12.5px; min-height: 36px; padding: 0 14px; }
.wcb-tt-scrim { display: none; }
.wcb-tt-sum b { color: var(--wn-ink); display: block; font-family: var(--wn-display); font-size: 22px; font-weight: 400; line-height: 1.2; }
.wcb-tt-sum span { color: var(--wn-ink-muted); font-size: 13px; }
.wcb-island .wcb-tt-need { color: var(--wn-warning); font-size: 13px; font-weight: 600; }
.wcb-tt-pk { display: grid; gap: 6px; }
.wcb-island .wcb-tt-pk-opt {
  align-items: center;
  background: transparent;
  border: 1px solid var(--wn-line-strong);
  border-radius: 14px;
  color: var(--wn-ink);
  cursor: pointer;
  display: grid;
  font-size: 13.5px;
  font-weight: 400;
  gap: 10px;
  grid-template-columns: 18px 1fr auto;
  margin: 0;
  padding: 10px 12px;
}
.wcb-island .wcb-tt-pk-opt.is-on { background: var(--wn-neutral-soft); border-color: var(--wn-accent); box-shadow: inset 0 0 0 1px var(--wn-accent); }
.wcb-island .wcb-tt-pk input { -webkit-appearance: radio; accent-color: var(--wn-accent); appearance: auto; height: 16px; margin: 0; width: 16px; }
.wcb-tt-pk small { color: var(--wn-ink-muted); display: block; font-size: 11.5px; }
.wcb-tt-price { font-family: var(--wn-price); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wcb-done { display: grid; gap: 6px; justify-items: center; text-align: center; }
.wcb-tt-tray .wcb-tick { font-size: 22px; height: 48px; width: 48px; }
.wcb-done span { color: var(--wn-ink-muted); font-size: 13px; }
.wcb-tt-drawer .wcb-signin { display: grid; gap: 10px; }

/* =================================================================
   Booking bar: search-style fields on a glass bar, a popover above it.
   ================================================================= */

.wcb-br { bottom: calc(22px + var(--wn-safe)); left: 50%; position: fixed; transform: translateX(-50%); width: min(680px, calc(100vw - 40px)); z-index: 9990; }
.wcb-br-bar {
  -webkit-backdrop-filter: var(--wn-blur);
  align-items: stretch;
  backdrop-filter: var(--wn-blur);
  background: rgba(24, 22, 20, .86);
  border: 1px solid rgba(245, 240, 232, .14);
  border-radius: 999px;
  box-shadow: var(--wn-shadow-float);
  color: var(--wn-ink);
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr auto;
  padding: 6px;
}
.wcb-island .wcb-br-f { --p-fg: var(--wn-ink); border-radius: 999px; display: grid; min-width: 0; padding: 7px 18px; position: relative; text-align: left; }
.wcb-island .wcb-br-f + .wcb-br-f::before { background: var(--wn-line); bottom: 12px; content: ''; left: 0; position: absolute; top: 12px; width: 1px; }
.wcb-island .wcb-br-f:not(:disabled):hover { --p-bg: var(--wn-neutral-soft); }
.wcb-island.wcb-island .wcb-br-f[aria-expanded="true"] { --p-bg: var(--wn-raised); --p-sh: inset 0 0 0 1px var(--wn-line-strong); }
.wcb-island .wcb-br-f[aria-expanded="true"]::before,
.wcb-island .wcb-br-f[aria-expanded="true"] + .wcb-br-f::before { display: none; }
.wcb-island .wcb-br-f:disabled { opacity: .6; }
.wcb-br-f small { color: var(--wn-accent); font-size: 11.5px; font-weight: 700; }
.wcb-br-f span { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-br-f span.is-ph { color: var(--wn-ink-subtle); }
.wcb-island .wcb-br-cta { --p-bg: var(--wn-primary); --p-fg: var(--wn-on-primary); align-items: center; border-radius: 999px; display: flex; font-size: 14.5px; font-weight: 700; gap: 10px; min-height: 52px; padding: 0 8px 0 22px; }
.wcb-island .wcb-br-cta:not(:disabled):hover { --p-bg: var(--wn-primary-hover); }
.wcb-br-cta em { background: rgba(29, 26, 23, .1); border-radius: 999px; color: #5f493d; font-size: 11.5px; font-style: normal; font-weight: 600; padding: 5px 9px; white-space: nowrap; }
.wcb-island .wcb-br-cta:disabled { --p-bg: var(--wn-neutral-soft); --p-fg: var(--wn-ink-subtle); }
.wcb-br-cta:disabled em { background: var(--wn-neutral-soft); color: var(--wn-ink-subtle); }

.wcb-br-pop {
  -webkit-backdrop-filter: var(--wn-blur);
  animation: wcb-pop .22s ease;
  backdrop-filter: var(--wn-blur);
  background: var(--wn-glass);
  border: 1px solid rgba(245, 240, 232, .14);
  border-radius: 24px;
  bottom: calc(100% + 10px);
  box-shadow: var(--wn-shadow-panel);
  color: var(--wn-ink);
  display: grid;
  gap: 12px;
  left: 0;
  max-height: min(440px, calc(100dvh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  position: absolute;
  right: 0;
}
.wcb-br-opts { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcb-island :is(.wcb-br-opt, .wcb-br-time, .wcb-br-pk-opt) { --p-bg: var(--wn-raised); --p-bd: var(--wn-line); --p-fg: var(--wn-ink); border: 1px solid; }
.wcb-island :is(.wcb-br-opt, .wcb-br-time, .wcb-br-pk-opt):not(:disabled):hover { --p-bd: var(--wn-line-strong); }
/* Doubled class so a pressed choice keeps its accent ring while hovered (0,4,0). */
.wcb-island.wcb-island :is(.wcb-br-opt, .wcb-br-time, .wcb-br-pk-opt)[aria-pressed="true"] { --p-bd: var(--wn-accent); --p-sh: inset 0 0 0 1px var(--wn-accent); }
.wcb-island .wcb-br-opt { border-radius: 16px; display: grid; gap: 2px; padding: 14px; text-align: left; }
.wcb-br-opt b { font-size: 14.5px; font-weight: 600; }
.wcb-br-opt small { color: var(--wn-ink-muted); font-size: 12px; }
.wcb-island .wcb-br-day { padding: 9px 0 8px; }
.wcb-island .wcb-br-day b { font-size: 17px; }
.wcb-br-times { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wcb-island .wcb-br-time { border-radius: 14px; display: grid; gap: 1px; padding: 11px 12px; text-align: left; }
.wcb-island .wcb-br-time:disabled { --p-bg: transparent; --p-fg: var(--wn-ink-subtle); }
.wcb-br-time b { font-size: 16px; font-variant-numeric: tabular-nums; }
.wcb-br-time span { font-size: 12.5px; font-weight: 600; }
.wcb-br-time small { color: var(--wn-ink-muted); font-size: 11.5px; }
.wcb-br-sum { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.wcb-island .wcb-br-sum p { color: var(--wn-ink-muted); font-size: 13px; }
.wcb-br-pk { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.wcb-island .wcb-br-pk-opt { border-radius: 16px; display: grid; gap: 2px; padding: 12px 14px; text-align: left; }
.wcb-br-pk-opt b { font-size: 14px; }
.wcb-br-pk-opt small { color: var(--wn-ink-muted); font-size: 11.5px; }
.wcb-br-price { font-family: var(--wn-price); font-size: 20px; font-variant-numeric: tabular-nums; font-weight: 400; margin-top: 4px; }
.wcb-br-done { align-items: center; display: flex; gap: 14px; }
.wcb-br-done > div { flex: 1; }
.wcb-br-done span { color: var(--wn-ink-muted); font-size: 13px; }
.wcb-br .wcb-signin { display: grid; gap: 10px; }
/* Reference and calendar links under "You're booked" (1.24.0). */
.wcb-island .wcb-done-ref { display: block; font-variant-numeric: tabular-nums; }
.wcb-island .wcb-done-cal { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: inherit; margin-top: 2px; }
.wcb-done .wcb-done-cal { justify-content: center; }
.wcb-island .wcb-done-cal a { color: var(--wn-ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wcb-island .wcb-done-cal a:focus-visible { outline: 2px solid var(--wn-accent); outline-offset: 2px; }

/* ---- Phones: the Live pill spans the width, the drawer and the bar become sheets ---- */

/* Phones and short screens (landscape phones, small laptops): while a package is chosen the
   tray replaces the filters and class list, so the drawer has one scroll area and room for
   the pinned class, the packages and the pinned checkout button. */
@media (max-width: 640px), (max-height: 600px) {
  .wcb-tt-drawer.is-picking .wcb-tt-filters,
  .wcb-tt-drawer.is-picking .wcb-tt-list { display: none; }
  .wcb-tt-drawer.is-picking .wcb-tt-tray-slot { flex: 1 1 auto; max-height: none; }
  .wcb-tt-drawer.is-picking .wcb-tt-tray { align-content: start; border-top: 0; flex: 1 1 auto; }
}
/* Short screens: a compact header, and the class summary scrolls with the packages (the
   footer still names the package next to its price), so a package row is always tappable. */
@media (max-height: 600px) {
  .wcb-tt-head { padding: 12px 14px 10px 20px; }
  .wcb-island .wcb-tt-title { font-size: 22px; }
  .wcb-island .wcb-tt-credits { margin-top: 2px; }
  .wcb-tt-drawer.is-picking .wcb-tt-sum-row { box-shadow: none; position: static; }
}
@media (max-width: 640px) {
  .wcb-dk { bottom: calc(16px + var(--wn-safe)); left: 12px; max-width: none; right: 12px; transform: none; }
  .wcb-island .wcb-dk-pill { width: 100%; }
  .wcb-dk-card { max-height: min(640px, calc(100dvh - 32px)); width: 100%; }
  .wcb-dk-conf { padding-left: 10px; }
  .wcb-island .wcb-cancel-warn { padding-left: 10px; }
  .wcb-meter { width: 36px; }

  .wcb-island .wcb-tt-launch { bottom: calc(16px + var(--wn-safe)); right: 14px; }
  /* Phones: the drawer is a modal sheet. A scrim takes taps on the page strip above it,
     the page does not scroll behind it. */
  .wcb-tt-scrim { background: rgba(12, 11, 10, .6); display: block; inset: 0; position: fixed; z-index: 9990; }
  .wcb-tt-scrim[hidden] { display: none; }
  html.wcb-tt-locked, html.wcb-tt-locked body { overflow: hidden; overscroll-behavior: none; }
  .wcb-tt-head { padding: 20px 16px 16px 22px; }
  .wcb-island .wcb-tt-title { font-size: 28px; }
  .wcb-tt-drawer { animation-name: wcb-rise; border-bottom: 0; border-left: 0; border-radius: 26px 26px 0 0; border-right: 0; bottom: 0; left: 0; max-width: none; right: 0; top: 54px; width: auto; }

  .wcb-br { bottom: calc(16px + var(--wn-safe)); left: 14px; right: 14px; transform: none; width: auto; }
  .wcb-island .wcb-br-mini {
    --p-bg: rgba(24, 22, 20, .82);
    --p-bd: rgba(245, 240, 232, .14);
    --p-fg: var(--wn-ink);
    --p-sh: var(--wn-shadow-float);
    -webkit-backdrop-filter: var(--wn-blur);
    align-items: center;
    backdrop-filter: var(--wn-blur);
    border: 1px solid;
    border-radius: 999px;
    display: flex;
    gap: 12px;
    padding: 6px 6px 6px 22px;
    text-align: left;
    width: 100%;
  }
  .wcb-br-mini-txt { flex: 1; min-width: 0; }
  .wcb-br-mini-txt b { display: block; font-size: 15px; font-weight: 700; }
  .wcb-br-mini-txt small { color: var(--wn-ink-muted); display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wcb-br-go { align-items: center; background: var(--wn-primary); border-radius: 999px; color: var(--wn-on-primary); display: inline-flex; flex: 0 0 auto; font-weight: 700; height: 44px; padding: 0 18px; white-space: nowrap; }
  .wcb-br-sheet {
    -webkit-backdrop-filter: var(--wn-blur);
    animation: wcb-rise .3s cubic-bezier(.2, .85, .25, 1);
    backdrop-filter: var(--wn-blur);
    background: var(--wn-glass);
    border-radius: 26px 26px 0 0;
    bottom: 0;
    box-shadow: var(--wn-shadow-panel);
    color: var(--wn-ink);
    display: flex;
    flex-direction: column;
    left: 0;
    max-height: 88dvh;
    overflow: hidden;
    position: fixed;
    right: 0;
  }
  .wcb-br-sheet-head { align-items: center; display: flex; padding: 22px 16px 20px 22px; }
  .wcb-island .wcb-br-sheet-title {
    color: var(--wn-studio-text);
    flex: 1;
    font-family: var(--wn-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: none;
  }
  .wcb-br-body { display: grid; gap: 8px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 16px; }
  /* border-style/width, not the `border` shorthand: at 0,3,0 the shorthand would reset
     border-color to currentColor over the shared paint rule (0,2,1), outlining every field. */
  .wcb-island .wcb-br-sheet .wcb-br-f { --p-bg: var(--wn-raised); --p-bd: var(--wn-line); align-items: center; border-style: solid; border-width: 1px; border-radius: 16px; grid-template-columns: 1fr auto; padding: 12px 16px; }
  .wcb-island .wcb-br-sheet .wcb-br-f::before { display: none; }
  .wcb-br-sheet .wcb-br-f small, .wcb-br-sheet .wcb-br-f span { grid-column: 1; }
  .wcb-br-sheet .wcb-br-f i { color: var(--wn-ink-muted); font-size: 13px; font-style: normal; grid-column: 2; grid-row: 1 / span 2; }
  .wcb-island.wcb-island .wcb-br-sheet .wcb-br-f[aria-expanded="true"] { --p-bd: var(--wn-accent); --p-sh: inset 0 0 0 1px var(--wn-accent); }
  .wcb-br-inline { display: grid; gap: 10px; padding: 4px 0 8px; }
  .wcb-br-sheet .wcb-br-opts { grid-template-columns: 1fr; }
  .wcb-br-sheet .wcb-br-times { grid-template-columns: 1fr 1fr; }
  .wcb-br-foot { background: var(--wn-raised); border-top: 1px solid var(--wn-line); padding: 12px 16px calc(18px + var(--wn-safe)); }
  .wcb-island .wcb-br-foot .wcb-br-cta { justify-content: space-between; width: 100%; }
}

/* =================================================================
   Live pill + Timetable together (`pill_timetable`): the pill keeps the
   centre and the Timetable launcher sits bottom right. Where the two would
   collide the launcher becomes a round calendar button and the pill moves
   over for it. An open panel hides both launchers, so it gets the full width.
   ================================================================= */

.wcb-dk-week { font-size: 13px; padding: 0 2px; }
@media (max-width: 900px) {
  .wcb-island--pill-timetable .wcb-tt-launch { border-radius: 50%; height: 54px; justify-content: center; padding: 0; width: 54px; }
  .wcb-island--pill-timetable .wcb-tt-launch-txt { display: none; }
  .wcb-island--pill-timetable .wcb-tt-ic { background: none; color: var(--wn-ink); }
  .wcb-island--pill-timetable:not(.is-open) .wcb-dk { left: 12px; max-width: none; right: 88px; transform: none; }
}
@media (max-width: 640px) {
  .wcb-island--pill-timetable:not(.is-open) .wcb-dk { right: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .wcb-island *, .wcb-island *::before, .wcb-island *::after { animation: none !important; transition: none !important; }
}

@media print {
  .wcb-island { display: none; }
}

/* Private-session callback request: the same panel in all three styles. */
.wcb-cb { display: grid; gap: 10px; }
.wcb-cb-field { display: grid; gap: 4px; }
.wcb-cb-field > span { color: var(--wn-ink-muted); font-size: 12.5px; font-weight: 600; }
.wcb-cb-field small { font-size: inherit; font-weight: 400; }
.wcb-island .wcb-cb-field :is(input, select, textarea) {
  -webkit-appearance: none;
  appearance: none;
  background: var(--wn-sunken);
  border: 1px solid var(--wn-line-strong);
  border-radius: 10px;
  box-shadow: none;
  color: var(--wn-ink);
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming the page when the field is focused. */
  line-height: 1.4;
  margin: 0;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}
.wcb-island .wcb-cb-field textarea { min-height: 64px; resize: vertical; }
.wcb-island .wcb-cb-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--wn-ink-muted) 50%), linear-gradient(135deg, var(--wn-ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 34px;
}
.wcb-island .wcb-cb-field select option { background: var(--wn-raised); color: var(--wn-ink); }
.wcb-island .wcb-cb-field :is(input, select, textarea)::placeholder { color: var(--wn-ink-subtle); }
.wcb-island .wcb-cb-field :is(input, select, textarea):focus-visible { border-color: var(--wn-accent); outline: 2px solid var(--wn-accent); outline-offset: 2px; }
.wcb-island .wcb-cb-field :is(input, select, textarea):disabled { opacity: .6; }
.wcb-cb-facts { display: grid; gap: 2px 12px; grid-template-columns: auto 1fr; margin: 0; }
.wcb-cb-facts dt { color: var(--wn-ink-muted); font-size: 12.5px; }
.wcb-cb-facts dd { font-size: 13.5px; margin: 0; overflow-wrap: anywhere; }


/* =================================================================
   Account button (signed-in customers, only where the header's My Account menu
   is hidden): a round initials button at the right end of the island row,
   opening a card with the account links. `.has-acct` is set by the script; the
   launchers move left to make room, and an open panel hides the button.
   ================================================================= */

.wcb-acct { display: none; }
.wcb-island.has-acct .wcb-acct { display: block; }
.wcb-island.is-open .wcb-acct-btn,
.wcb-island.is-acct-open .wcb-acct-btn,
.wcb-island.is-acct-open .wcb-island__view { display: none; }
.wcb-island .wcb-acct-btn {
  --p-bg: var(--wn-studio-deep);
  --p-bd: rgba(245, 240, 232, .24);
  --p-fg: var(--wn-ink);
  --p-sh: var(--wn-shadow-float);
  border: 1px solid;
  border-radius: 50%;
  bottom: calc(22px + var(--wn-safe));
  display: grid;
  font-size: 15px;
  font-weight: 700;
  height: 54px;
  place-items: center;
  position: fixed;
  right: 22px;
  transition: transform .2s ease;
  width: 54px;
  z-index: 9990;
}
.wcb-island .wcb-acct-btn:hover { --p-bg: #4a3e36; transform: translateY(-1px); }
.wcb-acct-card {
  -webkit-backdrop-filter: var(--wn-blur);
  animation: wcb-fadeup .18s ease;
  backdrop-filter: var(--wn-blur);
  background: var(--wn-glass);
  border: 1px solid rgba(245, 240, 232, .14);
  border-radius: 28px;
  bottom: calc(22px + var(--wn-safe));
  box-shadow: var(--wn-shadow-panel);
  color: var(--wn-ink);
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  position: fixed;
  right: 22px;
  width: 360px;
  z-index: 9991;
}
.wcb-acct-head { align-items: center; display: flex; gap: 12px; padding: 16px 12px 0 18px; }
.wcb-acct-avatar { background: var(--wn-studio-deep); border-radius: 50%; display: grid; flex: 0 0 auto; font-size: 15px; font-weight: 700; height: 44px; place-items: center; width: 44px; }
.wcb-acct-who { display: grid; flex: 1; gap: 2px; min-width: 0; }
.wcb-island .wcb-acct-title { color: var(--wn-ink); font-family: var(--wn-display); font-size: 22px; font-weight: 400; letter-spacing: 0; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.wcb-island .wcb-acct-email { color: var(--wn-ink-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcb-acct-facts { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 16px 14px 4px; }
.wcb-acct-facts div { border: 1px solid var(--wn-line); border-radius: 18px; display: grid; gap: 2px; padding: 12px 14px; }
.wcb-acct-facts div:only-child { grid-column: 1 / -1; }
.wcb-acct-facts dt { color: var(--wn-ink-muted); font-size: 12px; }
.wcb-acct-facts dd { font-size: 16px; font-weight: 600; margin: 0; }
.wcb-acct-nav { display: grid; padding: 8px 8px 4px; }
.wcb-acct-foot { border-top: 1px solid var(--wn-line); padding: 6px 8px 10px; }
.wcb-island .wcb-acct-link { align-items: center; border-radius: 14px; display: flex; font-size: 15px; justify-content: space-between; min-height: 48px; padding: 0 12px; }
.wcb-island .wcb-acct-link:hover { --p-bg: var(--wn-neutral-soft); }
.wcb-acct-link span { color: var(--wn-ink-subtle); font-size: 18px; }
.wcb-island .wcb-acct-link--quiet { --p-fg: var(--wn-ink-muted); }

/* Make room: the Timetable launcher steps left of the button, the pill and bar end before both. */
.wcb-island.has-acct:not(.is-open) .wcb-tt-launch { right: 86px; }
@media (max-width: 900px) {
  .wcb-island--pill-timetable.has-acct:not(.is-open) .wcb-dk { right: 152px; }
}
@media (max-width: 640px) {
  .wcb-island .wcb-acct-btn { bottom: calc(16px + var(--wn-safe)); right: 14px; }
  .wcb-acct-card { bottom: calc(16px + var(--wn-safe)); left: 12px; max-height: calc(100dvh - 32px); right: 12px; width: auto; }
  .wcb-island.has-acct:not(.is-open) .wcb-tt-launch { right: 76px; }
  .wcb-island--live-pill.has-acct:not(.is-open) .wcb-dk { right: 76px; }
  .wcb-island--pill-timetable.has-acct:not(.is-open) .wcb-dk { right: 140px; }
  .wcb-island--booking-bar.has-acct:not(.is-open) .wcb-br { right: 76px; }
}
