/* booking-theme.css - the clinic's own look for the booking pages. SITE-OWNED.
 *
 * booking-kit.css/js are vendored from the booking engine and pinned (never edit them); the kit is
 * built to be themed by the site, through its --bk-* properties and its classes. This file does
 * that, and styles what booking-enhance.js adds on top (the day strip, class rows, the request
 * tracker). Patterns chosen 2026-10-05 from a Mobbin survey across ~25 apps (docs/DESIGN.md).
 */

/* ---------- the kit in the clinic's palette and type ---------- */
.ubk .bk {
  --bk-accent: var(--ink);
  --bk-accent-text: #fff;
  --bk-ink: var(--ink);
  --bk-muted: var(--ink-3);
  --bk-line: #E2DED6;
  --bk-surface: #fff;
  --bk-soft: #F3F1EC;
  --bk-good: #2D6A4F;
  --bk-bad: var(--accent);
  --bk-radius: 12px;
  --bk-font: var(--font-body);
  color: var(--body);
}
.ubk .bk h2, .ubk .bk h3 { font-family: var(--font-display); color: var(--ink); }
.ubk .bk h2 { font-size: 28px; letter-spacing: -.01em; }
.ubk .bk-lead { font-size: 16px; color: var(--ink-3); }
.ubk .bk-btn { border-radius: 8px; padding: .7rem 1.25rem; }
.ubk .bk-btn.is-ghost { border-color: #CFC9BF; color: var(--ink); }
.ubk .bk-btn.is-ghost:hover { border-color: var(--ink-2); filter: none; }
/* The one red action per screen: the form's own submit (the kit marks it .is-block). */
.ubk .bk-form .bk-btn.is-block:not(.is-ghost) { background: var(--accent); border-color: var(--accent); min-height: 52px; font-size: 16px; margin-top: .4rem; }
.ubk .bk-form .bk-btn.is-block:not(.is-ghost):hover { background: #96261F; filter: none; }
.ubk .bk input[type="text"], .ubk .bk input[type="email"], .ubk .bk input[type="tel"], .ubk .bk textarea, .ubk .bk select {
  background: #FCFBF9; border-color: #D9D4CB; min-height: 48px; border-radius: 8px;
}
.ubk .bk input:focus, .ubk .bk textarea:focus, .ubk .bk select:focus { background: #fff; }
/* A question's dropdown (js/select.js) dressed like the kit's own inputs beside it. */
.ubk .bk .ux-select-trigger { background: #FCFBF9; border-color: #D9D4CB; border-radius: 8px; padding: 0.65rem 0.8rem; color: var(--ink); }
.ubk .bk .ux-select-trigger:hover { border-color: var(--ink-3); }
.ubk .bk .ux-select-trigger:focus-visible, .ubk .bk .ux-select.is-open .ux-select-trigger { background: #fff; border-color: var(--ink-2); }
.ubk .bk-field label, .ubk .bk-label { color: var(--ink); font-size: 14.5px; }
.ubk .bk-summary { background: #F3F1EC; border: 1px solid #E7E3DC; }
.ubk .bk-tag { font-size: 11.5px; padding: .3rem .65rem; white-space: nowrap; }
.ubk .bk-tag.is-low { background: #F6EBD6; color: #7A4E00; }
/* The cancellation policy the kit prints under a details form: its own line, centred under the
   buttons with room above, and no stray margin below (operator, 2026-10-05). */
.ubk .bk > .bk-form + .bk-meta { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 16px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.ubk .bk > .bk-form + .bk-meta::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ubk .bk > :last-child { margin-bottom: 0; }

/* ---------- the page: a raised panel, so the flow stands off the page background ---------- */
.subpage .section:has(.ubk) { padding-top: var(--sp-5); }
.ubk-dev { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--sp-3); padding: 6px 14px 6px 12px;
  border-radius: 999px; background: #E4EAE7; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.ubk-dev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C7892B; flex: none; }
.ubk-layout { display: grid; gap: var(--sp-5); align-items: start; }
.ubk-layout.has-aside { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
/* Aside on the right (member sign-in): the form leads, the panel explains. */
.ubk-layout.has-aside.aside-right { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.ubk-layout.aside-right > .ubk-aside { order: 2; }

.ubk-aside--card { position: static; background: #fff; border: 1px solid #E7E3DC; border-radius: 20px; padding: 32px 30px; gap: 16px; }
.ubk-aside--card h2 { font-size: 22px; }
.ubk-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ubk-ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.ubk-ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #E4EAE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ubk-stage { background: #fff; border: 1px solid #E7E3DC; border-radius: 20px; padding: 36px 40px 40px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .05), 0 18px 40px -20px rgba(34, 51, 46, .22); min-width: 0; }
/* a result after paying: one centred card with its sign (operator, 2026-11-03: everything in tiles, nicely formatted) */
.ubk--thanks .ubk-stage, .ubk--cancelled .ubk-stage { width: 100%; text-align: center; padding: 48px 40px 44px; }
.ubk--thanks .ubk-stage::before, .ubk--cancelled .ubk-stage::before { content: ""; display: block; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: #E4EFE8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 30px no-repeat; }
.ubk--cancelled .ubk-stage::before { background: #F6EBD6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A4E00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / 30px no-repeat; }
.ubk--thanks .ubk-stage .bk, .ubk--cancelled .ubk-stage .bk { display: grid; justify-items: center; gap: 6px; }

/* ---------- the details step as a checkout (booking-enhance.js checkout(); operator, 2026-10-05;
   Mobbin: Klook, Selfridges, GetYourGuide, Fresha, Time2book, Tripadvisor) ---------- */
.ubk .bk.ubk-checkout > h2 { font-size: 30px; margin: 4px 0 0; }
.ubk-progress { list-style: none; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid #EEEAE3; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.ubk-progress li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.ubk-progress li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: #E2DED6; z-index: 0; }
.ubk-progress li:first-child::before { display: none; }
.ubk-progress li.is-done::before, .ubk-progress li.is-current::before { background: var(--ink); }
.ubk-progress-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #D9D4CB;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink-3); }
.ubk-progress li.is-done .ubk-progress-dot { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--ink); }
.ubk-progress li.is-current .ubk-progress-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px rgba(176, 51, 44, .15); }
.ubk-progress-label { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.ubk-progress li.is-current .ubk-progress-label, .ubk-progress li.is-done .ubk-progress-label { color: var(--ink); }
.ubk-holdpill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; align-self: flex-start; margin: 12px 0 2px; padding: 7px 14px 7px 11px; border-radius: 999px;
  background: #FBEAE8; color: var(--accent); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.ubk .ubk-holdpill .bk-hold { color: inherit; font-size: inherit; }
.ubk .ubk-checkout-sub { color: var(--ink-3); margin: 8px 0 20px; }
.ubk-membercard { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 0 0 22px; padding: 16px 18px;
  border: 1px solid #DCE5E0; background: #EEF3F0; border-radius: 14px; }
.ubk-membercard > .ubk-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); }
.ubk-membercard strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 16px; }
.ubk-membercard span { font-size: 14.5px; color: var(--ink-2); }
.ubk .bk .ubk-membercard-btn { background: #fff; white-space: nowrap; }
@media (max-width: 600px) {
  .ubk-membercard { grid-template-columns: auto 1fr; }
  .ubk .bk .ubk-membercard-btn { grid-column: 1 / -1; width: 100%; }
}
/* The kit's own sign-in / sign-up pop-up (kit 0.3.0), themed: centred (the site's reset zeroes the
   margin that centres a modal), the clinic's type, and the six code boxes. */
dialog.bk-modal.ubk-kitmodal { margin: auto; inset: 0; width: min(480px, calc(100vw - 32px)); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(20, 30, 27, .45); }
dialog.bk-modal.ubk-kitmodal::backdrop { background: rgba(25, 35, 32, .55); backdrop-filter: blur(2px); }
.ubk-kitmodal .bk-modal-body { padding: 30px 30px 28px; }
.ubk-kitmodal h2 { font-family: var(--font-display); color: var(--ink); font-size: 24px; padding-right: 36px; }
.ubk-kitmodal .bk-modal-close { top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid #E2DED6; border-radius: 10px; font-size: 22px; color: var(--ink); background: #fff; }
.ubk-kitmodal .bk-btn.is-block:not(.is-ghost) { background: var(--accent); border-color: var(--accent); color: #fff; min-height: 50px; }
.ubk-kitmodal .bk-btn.is-block:not(.is-ghost):hover { background: #96261F; filter: none; }
.ubk-kitmodal input[type="text"], .ubk-kitmodal input[type="email"], .ubk-kitmodal input[type="tel"] { min-height: 48px; border-radius: 8px; background: #FCFBF9; }
@media (max-width: 700px) { dialog.bk-modal.ubk-kitmodal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; } .ubk-kitmodal .bk-modal-body { padding: 24px 20px 26px; } }
.ubk-dlg.ubk-dlg--sm { width: min(480px, calc(100vw - 32px)); }
.ubk-si-body { padding: 22px 28px 26px; }
.ubk .bk .ubk-si-guest { justify-self: center; align-self: center; font-size: 14.5px; margin-top: 2px; }
.ubk-si-done { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.ubk-si-done > .ubk-ico { width: 36px; height: 36px; border-radius: 50%; background: #E4EAE7; color: #2D6A4F; }
.ubk-si-done strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 18px; margin: 6px 0 4px; }
.ubk-si-done p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 700px) { .ubk-si-body { padding: 18px 18px 22px; } }
.ubk-ico { display: inline-grid; place-items: center; flex: none; color: var(--ink-2); }
.ubk .ubk-sumfacts li { display: flex; align-items: flex-start; gap: 10px; }
.ubk .bk .bk-check { gap: 10px; align-items: center; }
.ubk .bk .bk-check input { margin: 0; }
.ubk .bk-summary.ubk-sumcard { display: block; padding: 0; margin: 0; background: #fff; border: 1px solid #E7E3DC; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .05), 0 16px 32px -22px rgba(34, 51, 46, .35); }
.ubk-sumband { display: grid; gap: 4px; padding: 22px 22px 20px; color: #fff;
  /* Always the clinic green, whatever the class (operator, 2026-10-05: "use green") */
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%), linear-gradient(135deg, var(--ink-2), var(--ink)); }
.ubk-sumband-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.ubk-sumband-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.ubk-sumfacts { list-style: none; margin: 0; padding: 18px 22px 6px; display: grid; gap: 12px; }
.ubk .ubk-sumcard .bk-row.ubk-sumtotal { margin: 12px 22px 0; padding: 16px 0 20px; border-top: 1px solid #EEEAE3; align-items: baseline; font-weight: 700; color: var(--ink); }
.ubk .ubk-sumcard .ubk-sumtotal .bk-price { font-family: var(--font-display); font-size: 24px; }
@media (min-width: 900px) {
  .ubk-layout:not(.has-aside) .bk.ubk-checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: 48px; align-items: start; }
  .ubk-layout:not(.has-aside) .bk.ubk-checkout > * { grid-column: 1; }
  .ubk-layout:not(.has-aside) .bk.ubk-checkout > .ubk-progress { grid-column: 1 / -1; }
  .ubk-layout:not(.has-aside) .bk.ubk-checkout > .ubk-sumcol { grid-column: 2; grid-row: 2 / span 20; position: sticky; top: 24px; }
}
@media (max-width: 899.98px) {
  /* A phone: the booking card before the form, "good to know" after it. */
  .ubk .bk.ubk-checkout { display: flex; flex-direction: column; }
  .ubk .bk.ubk-checkout > .ubk-sumcol { display: contents; }
  .ubk .bk.ubk-checkout .ubk-sumcard { margin-bottom: 20px; }
  .ubk-progress-label { font-size: 11.5px; }
  .ubk .bk.ubk-checkout > h2 { font-size: 24px; }
}

/* ---------- the "how it works" side (blood tests) ---------- */
.ubk-aside { position: sticky; top: 24px; display: grid; gap: var(--sp-3); background: #fff; border: 1px solid #E7E3DC; border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .05), 0 18px 40px -24px rgba(34, 51, 46, .2); } /* every panel beside a form is a card (operator, 2026-11-03) */
.ubk-aside h2 { font-size: var(--step-2); }
.ubk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: ubk; }
.ubk-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: ubk; }
.ubk-steps li::before { content: counter(ubk); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.ubk-steps strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16.5px; margin: 8px 0 2px; }
.ubk-steps span { font-size: 15px; color: var(--ink-3); }
.ubk-aside .ubk-private { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2);
  background: #E4EAE7; border-radius: 10px; padding: 12px 14px; }
.ubk-aside .ubk-private svg { flex: none; margin-top: 2px; }
.ubk-aside .ubk-call { font-size: 15px; color: var(--ink-3); }
.ubk-aside .ubk-call a { font-weight: 700; color: var(--ink); }

/* ---------- form sections (request page) ---------- */
.ubk .ubk-group { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin: .9rem 0 -.2rem; padding-top: 1.1rem; border-top: 1px solid #EEEAE3; }
.ubk .ubk-group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- day buttons (the week's day bar, and the kit's own day picker on /booking/book) ---------- */
.ubk .bk-days { gap: 8px; padding: 2px 2px 10px; }
.ubk .bk-day { min-width: 62px; border-radius: 14px; padding: 9px 4px 10px; border-color: #E2DED6; background: #fff; position: relative; }
.ubk .bk-day small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.ubk .bk-day strong { font-family: var(--font-display); font-size: 20px; line-height: 1.25; color: var(--ink); }
.ubk .bk-day:hover:not(:disabled) { border-color: var(--ink-2); }
.ubk .bk-day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.ubk .bk-day[aria-pressed="true"] small, .ubk .bk-day[aria-pressed="true"] strong { color: #fff; }
.ubk .bk-day.has-items::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.ubk .bk-day[aria-pressed="true"].has-items::after { background: #fff; }
.ubk .bk-day:disabled { opacity: .38; }
.ubk .bk-time { border-radius: 10px; min-height: 46px; }
.ubk .bk-time:hover, .ubk .bk-time:focus-visible { background: #F3F1EC; }
.ubk .bk-time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* "Best time to call you": a day and an hour side by side, at every width (booking-kit callPicker) */
.ubk .bk-call { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; }
.ubk .bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- class timetable ---------- */
.ubk-cl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.ubk-cl-head .bk-lead { margin: 0; }
.ubk-cl-head h2 { margin-bottom: 4px; }
.ubk .bk-list:has(.ubk-week) { gap: 0; }

/* The week bar: arrows with the neighbouring weeks' dates, the week in the middle. */
.ubk-week { display: grid; gap: 14px; padding-bottom: 6px; }
.ubk-weeknav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  background: #F3F1EC; border: 1px solid #E7E3DC; border-radius: 12px; padding: 6px; }
.ubk-wk-title { margin: 0; font-size: 18px; text-align: center; white-space: nowrap; }
.ubk-wk { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ubk-wk-prev { justify-self: start; }
.ubk-wk-next { justify-self: end; }
.ubk-wk:hover:not(:disabled) { background: #fff; border-color: #E2DED6; color: var(--ink); }
.ubk-wk:disabled { opacity: .35; cursor: default; }

/* Filter by class. */
.ubk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ubk-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #DCD7CE; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ubk-chip i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ubk-chip:hover { border-color: var(--ink-2); }
.ubk-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ubk-chip[aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff; }

/* The day bar: seven equal tabs. */
.ubk-daytabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ubk .ubk-daytabs .bk-day { min-width: 0; width: 100%; padding: 8px 2px 12px; }
.ubk .ubk-daytabs .bk-day.is-today { border-color: var(--ink-2); }
.ubk .ubk-daytabs .bk-day:disabled.is-today { opacity: 1; }

/* The days, stacked, each one collapsible. */
.ubk-days { display: grid; margin-top: 10px; border-top: 1px solid #EEEAE3; }
.ubk-dayrow { border-bottom: 1px solid #EEEAE3; scroll-margin-top: 16px; }
.ubk-dayrow > summary { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 6px 4px; cursor: pointer; list-style: none; }
.ubk-dayrow > summary::-webkit-details-marker { display: none; }
.ubk-dayrow > summary::before { content: ""; width: 9px; height: 9px; flex: none; margin: 0 4px 0 2px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(-45deg); transition: transform .15s ease; }
.ubk-dayrow[open] > summary::before { transform: rotate(45deg) translate(-2px, -2px); }
.ubk-dayrow > summary strong { font-family: var(--font-display); font-size: 17.5px; color: var(--ink); }
.ubk-dayrow > summary span { margin-left: auto; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.ubk-dayrow > summary:hover strong { color: var(--ink-2); }
.ubk-dayrow.is-empty > summary strong, .ubk-dayrow.is-past > summary strong { color: var(--ink-3); font-weight: 600; }
.ubk-dayrow-body { display: grid; gap: 10px; padding: 2px 0 18px; }
.ubk-dayrow.is-empty .ubk-dayrow-body { display: none; }
.ubk-dayrow.is-empty > summary { cursor: default; }
.ubk-dayrow.is-empty > summary::before { opacity: .3; }
.ubk-tz { margin: 28px 0 0; font-size: 13px; color: var(--ink-3); }

.ubk .bk-item.ubk-class {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 4px 20px;
  padding: 16px 18px 16px 0; border-radius: 14px; border-color: #E7E3DC; position: relative; overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ubk .bk-item.ubk-class:hover { border-color: #CFC9BF; box-shadow: 0 6px 18px -12px rgba(34, 51, 46, .35); }
.ubk-class::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ubk-c, var(--ink-2)); }
.ubk-class-time { padding-left: 24px; display: grid; gap: 1px; align-self: stretch; align-content: center; border-right: 1px solid #EEEAE3; }
.ubk-class-time strong { font-family: var(--font-display); font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ubk-class-time small { font-size: 13px; color: var(--ink-3); }
.ubk-class .ubk-class-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.3; }
.ubk-class .bk-meta { font-size: 14px; }
/* The trainer's note and the class description are for the popup only, never the list (operator, 2026-10-05) */
.ubk .bk-item.ubk-class .bk-session-note, .ubk .bk-item.ubk-class .bk-about { display: none; }
.ubk-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 380px; }
.ubk .bk input.ubk-otp-box, .ubk-kitmodal input.ubk-otp-box { width: 100%; min-width: 0; height: 58px; padding: 0; text-align: center; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink);
  border: 1.5px solid #D9D4CB; border-radius: 10px; background: #FCFBF9; caret-color: var(--accent); }
.ubk .bk input.ubk-otp-box:focus, .ubk-kitmodal input.ubk-otp-box:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(34, 51, 46, .15); }
@media (max-width: 400px) { .ubk-otp { gap: 6px; } .ubk .bk input.ubk-otp-box, .ubk-kitmodal input.ubk-otp-box { height: 52px; font-size: 22px; } }
.ubk-class .bk-actions { margin: 0; align-items: center; flex-wrap: nowrap; gap: 24px; } /* places sit clear of the button (operator, 2026-10-05) */
.ubk-class .bk-actions .bk-btn { min-width: 96px; }
.ubk-empty { padding: 28px 0 8px; color: var(--ink-3); text-align: center; }

/* ---------- class details dialog (booking-enhance.js openDetails; as TeamUp did) ---------- */
.ubk .ubk-class-name { background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; }
.ubk .ubk-class-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.ubk .bk-item.ubk-class { cursor: pointer; }
/* The site's reset zeroes margins, which is what centres a modal dialog: give it back. */
.ubk-dlg { margin: auto; inset: 0; width: min(920px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 48px)); padding: 0; border: 0; border-radius: 20px; background: #fff;
  box-shadow: 0 30px 80px -20px rgba(20, 30, 27, .45); overflow: hidden; color: var(--body); }
.ubk-dlg::backdrop { background: rgba(25, 35, 32, .55); backdrop-filter: blur(2px); }
.ubk-dlg-inner { display: flex; flex-direction: column; max-height: inherit; }
.ubk-dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 20px; border-bottom: 1px solid #EEEAE3; position: relative; }
.ubk-dlg-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ubk-c, var(--ink-2)); }
.ubk-dlg .bk .ubk-dlg-head h2 { font-size: 26px; margin: 0 0 4px; }
.ubk-dlg-head p { margin: 0; color: var(--ink-3); font-size: 15.5px; }
.ubk-dlg-close { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #E2DED6; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ubk-dlg-close:hover { border-color: var(--ink-2); }
.ubk-dlg-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; padding: 22px 28px 28px; overflow: auto; min-height: 0; }
.ubk-dlg-tabs { display: flex; gap: 4px; padding: 4px; background: #F3F1EC; border: 1px solid #E7E3DC; border-radius: 12px; margin-bottom: 16px; }
.ubk-dlg-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--ink-3); cursor: pointer; }
.ubk-dlg-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(34, 51, 46, .12); }
.ubk-dlg-pane { display: grid; gap: 12px; align-content: start; }
.ubk-dlg-pane p { margin: 0; }
.ubk-dlg-lead { font-size: 16.5px; color: var(--body); }
.ubk-dlg-muted { color: var(--ink-3); font-size: 15px; }
.ubk-dlg-strong { font-weight: 700; color: var(--ink); }
.ubk-dlg .bk .ubk-dlg-pane h3 { font-size: 18px; margin: 0; }
.ubk-dlg-note { border-left: 4px solid var(--ubk-c, var(--ink-2)); background: #F3F1EC; border-radius: 0 12px 12px 0; padding: 12px 16px; display: grid; gap: 4px; }
.ubk-dlg-note strong { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ubk-dlg-note p { margin: 0; font-size: 15.5px; color: var(--ink); }
.ubk-dlg-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.ubk-dlg-facts li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.ubk-dlg-facts li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--ubk-c, var(--ink-2)); }
.ubk-dlg-coach { display: flex; align-items: center; gap: 14px; }
.ubk-dlg-avatar { width: 52px; height: 52px; border-radius: 50%; background: #E4EAE7; color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; flex: none; }
.ubk-dlg-coach strong { display: block; color: var(--ink); font-size: 16.5px; }
.ubk-dlg-coach span { font-size: 14px; color: var(--ink-3); }
.ubk-dlg-small { font-size: 13.5px; text-align: center; }
.ubk-dlg-link { font-weight: 700; color: var(--ink-2); font-size: 14.5px; }
.ubk-dlg-book { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #F7F5F1; border: 1px solid #E7E3DC; border-radius: 16px; padding: 20px; }
.ubk-dlg-booktop { display: grid; gap: 10px; justify-items: start; }
/* Availability in the class popup */
.ubk-avail { width: 100%; display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #E2DED6; }
.ubk-avail-count { display: flex; align-items: baseline; gap: 8px; }
.ubk-avail-count strong { font-family: var(--font-display); font-size: 44px; line-height: 1; color: #2D6A4F; }
.ubk-avail-count span { font-size: 16px; font-weight: 700; color: var(--ink); }
.ubk-avail.is-low .ubk-avail-count strong { color: #A15C00; }
.ubk-avail.is-full .ubk-avail-count strong { color: var(--accent); }
.ubk-avail-flag { justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.ubk-avail-flag.is-low { background: #A15C00; color: #fff; }
.ubk-avail-flag.is-full { background: var(--accent); color: #fff; }
.ubk-avail-bar { height: 8px; border-radius: 999px; background: #E2DED6; overflow: hidden; }
.ubk-avail-bar i { display: block; height: 100%; border-radius: inherit; background: #2D6A4F; transition: width .4s ease; }
.ubk-avail.is-low .ubk-avail-bar i { background: #C27A12; }
.ubk-avail.is-full .ubk-avail-bar i { background: var(--accent); }
.ubk-avail-of { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.ubk-dlg-price { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.ubk-dlg-foot { display: grid; gap: 12px; justify-items: center; }
.ubk-dlg .bk .ubk-dlg-go { background: var(--accent); border-color: var(--accent); min-height: 52px; font-size: 16px; }
.ubk-dlg .bk .ubk-dlg-go:hover { background: #96261F; filter: none; }
@media (max-width: 700px) {
  .ubk-dlg { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .ubk-dlg-head { padding: 20px 18px 16px; }
  .ubk-dlg .bk .ubk-dlg-head h2 { font-size: 22px; }
  .ubk-dlg-body { grid-template-columns: 1fr; padding: 16px 18px 22px; gap: 16px; }
  .ubk-dlg-book { position: sticky; bottom: 0; }
}

/* ---------- request tracker (after a blood-test request is sent) ---------- */
.ubk-track { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; display: grid; gap: 0; }
.ubk-track li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.ubk-track li:last-child { padding-bottom: 0; }
.ubk-track li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #CFC9BF; background: #fff; box-sizing: border-box; z-index: 1; }
.ubk-track li::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: #E2DED6; }
.ubk-track li:last-child::after { display: none; }
.ubk-track li.is-done::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--ink); }
.ubk-track li.is-done::after { background: var(--ink); }
.ubk-track li.is-next::before { border-color: var(--accent); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 14px var(--accent); }
.ubk-track strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16px; margin-top: 3px; }
.ubk-track span { font-size: 14.5px; color: var(--ink-3); }

/* ---------- smaller screens ---------- */
@media (max-width: 899.98px) {
  .ubk-layout.has-aside, .ubk-layout.has-aside.aside-right { grid-template-columns: 1fr; gap: var(--sp-3); }
  .ubk-aside { position: static; }
  .ubk-aside--card { padding: 22px 20px; border-radius: 16px; }
}
@media (max-width: 600px) {
  .subpage .section:has(.ubk) { padding-top: var(--sp-3); }
  .ubk-stage { padding: 22px 16px 24px; border-radius: 16px; margin: 0 -4px; }
  .ubk .bk h2 { font-size: 23px; }
  .ubk .bk-day { min-width: 54px; }
  .ubk-weeknav { grid-template-columns: auto 1fr auto; padding: 4px; }
  .ubk-wk span { display: none; }
  .ubk-wk-title { font-size: 16px; }
  .ubk-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .ubk-chip { flex: none; }
  .ubk-daytabs { gap: 4px; }
  .ubk .ubk-daytabs .bk-day { min-width: 0; padding: 7px 0 11px; border-radius: 10px; }
  .ubk .ubk-daytabs .bk-day strong { font-size: 17px; }
  .ubk .ubk-daytabs .bk-day small { font-size: 10.5px; letter-spacing: .02em; }
  .ubk-dayrow > summary strong { font-size: 16px; }
  .ubk .bk-item.ubk-class { grid-template-columns: 72px minmax(0, 1fr); padding: 14px 14px 14px 0; gap: 10px 14px; }
  .ubk-class-time { padding-left: 16px; grid-row: span 2; }
  .ubk-class-time strong { font-size: 17px; }
  .ubk-class .bk-actions { grid-column: 2; justify-content: space-between; }
  .ubk .bk-item.ubk-class .bk-btn { width: auto; }
  /* On a phone the steps shrink to a two-by-two summary, so the form is not pushed off screen. */
  .ubk-aside { gap: 14px; }
  .ubk-aside h2 { display: none; }
  .ubk-steps { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .ubk-steps li { grid-template-columns: 26px 1fr; gap: 8px; align-items: start; }
  .ubk-steps li::before { width: 26px; height: 26px; font-size: 13px; }
  .ubk-steps strong { margin: 4px 0 0; font-size: 14.5px; line-height: 1.25; }
  .ubk-steps span { display: none; }
  .ubk-aside .ubk-private { font-size: 13.5px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .ubk .bk-item.ubk-class, .ubk-dayrow > summary::before { transition: none; } }

/* ---------- pop-ups on a phone: smaller type so they fit the screen (operator, 2026-10-06) ---------- */
@media (max-width: 700px) {
  .ubk-dlg { max-height: 92vh; }
  .ubk-dlg-head { padding: 16px 16px 12px; gap: 12px; }
  .ubk-dlg .bk .ubk-dlg-head h2 { font-size: 19px; margin-bottom: 2px; }
  .ubk-dlg-head p { font-size: 13.5px; }
  .ubk-dlg-close { width: 36px; height: 36px; border-radius: 8px; }
  .ubk-dlg-body { padding: 12px 16px 16px; gap: 12px; }
  .ubk-dlg-tabs { margin-bottom: 10px; padding: 3px; }
  .ubk-dlg-tabs button { min-height: 34px; font-size: 13px; }
  .ubk-dlg-pane { gap: 8px; }
  .ubk-dlg-lead { font-size: 14.5px; }
  .ubk-dlg-muted, .ubk-dlg-facts li { font-size: 13.5px; }
  .ubk-dlg-facts { gap: 5px; }
  .ubk-dlg-note { padding: 10px 12px; }
  .ubk-dlg-note p { font-size: 14px; }
  .ubk-dlg-note strong { font-size: 11px; }
  .ubk-dlg-coach strong { font-size: 15px; }
  .ubk-dlg-avatar { width: 42px; height: 42px; font-size: 15px; }
  .ubk-dlg-book { padding: 14px; gap: 12px; border-radius: 12px; }
  .ubk-avail { gap: 7px; padding-bottom: 10px; }
  .ubk-avail-count strong { font-size: 32px; }
  .ubk-avail-count span { font-size: 14px; }
  .ubk-avail-flag { font-size: 11px; padding: 4px 8px; }
  .ubk-avail-bar { height: 6px; }
  .ubk-avail-of { font-size: 12.5px; }
  .ubk-dlg-price { font-size: 15.5px; }
  .ubk-dlg .bk .ubk-dlg-go { min-height: 46px; font-size: 15px; }
  .ubk-dlg-small { font-size: 12.5px; }
  /* the kit's sign-in / sign-up / code pop-up */
  .ubk-kitmodal .bk-modal-body { padding: 18px 16px 20px; }
  .ubk-kitmodal h2 { font-size: 20px; padding-right: 40px; }
  .ubk-kitmodal .bk-lead, .ubk-kitmodal p { font-size: 14px; }
  .ubk-kitmodal .bk-field label, .ubk-kitmodal .bk-label { font-size: 13.5px; }
  .ubk-kitmodal .bk-modal-close { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 19px; }
  .ubk-kitmodal input[type="text"], .ubk-kitmodal input[type="email"], .ubk-kitmodal input[type="tel"] { min-height: 44px; font-size: 16px; }
  .ubk-kitmodal .bk-btn { min-height: 44px; font-size: 15px; }
  .ubk-kitmodal .bk-btn.is-block:not(.is-ghost) { min-height: 46px; }
  .ubk-kitmodal .bk-form { gap: 12px; }
  .ubk-otp { gap: 6px; max-width: 320px; }
  .ubk .bk input.ubk-otp-box, .ubk-kitmodal input.ubk-otp-box { height: 48px; font-size: 21px; border-radius: 8px; }
}

/* The booking panel on a phone: a slim bar pinned to the bottom of the sheet (operator, 2026-10-06:
   "still too big bottom container"). Places and price on one line, the button under it; the fill
   bar, "x of y booked" and the helper note give way. */
@media (max-width: 700px) {
  .ubk-dlg-body { padding-bottom: 0; }
  .ubk-dlg-book { position: sticky; bottom: 0; margin: 0 -16px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); gap: 8px;
    border-radius: 0; border: 0; border-top: 1px solid #E2DED6; background: #fff; box-shadow: 0 -8px 20px -14px rgba(34, 51, 46, .35); }
  .ubk-dlg-booktop { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
  .ubk-avail { display: flex; align-items: baseline; gap: 8px; padding: 0; border: 0; width: auto; }
  .ubk-avail-count { gap: 5px; }
  .ubk-avail-count strong { font-size: 22px; }
  .ubk-avail-count span { font-size: 13px; }
  .ubk-avail-bar, .ubk-avail-of { display: none; }
  .ubk-avail-flag { font-size: 10.5px; padding: 3px 7px; }
  .ubk-dlg-price { font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-left: auto; }
  .ubk-dlg-small { display: none; }
  .ubk-dlg-foot { gap: 0; }
  .ubk-dlg .bk .ubk-dlg-go { min-height: 44px; }
}

/* With a pop-up open the page does not scroll (booking-enhance.js pins it); the pop-up scrolls on its own. */
html.ubk-locked { overflow: hidden; }
.ubk-dlg, dialog.bk-modal { overscroll-behavior: contain; }
.ubk-dlg-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* The timetable's "Log in or sign up" on a phone: the full width (operator, 2026-10-06). */
@media (max-width: 600px) {
  .ubk-cl-head { flex-direction: column; align-items: stretch; }
  .ubk-cl-head > .bk-btn { width: 100%; }
}


/* No width jumps (house 1.80.0): the kit swaps a button's label for "Please wait..." while it works
   and only stops it shrinking, so a short "Book" grew. Reserve the longer label's width here
   (the kit itself is vendored and never edited). */
.bk-actions .bk-btn { min-width: 9.5em; text-align: center; justify-content: center; }

/* ---------- test mode (TEST_SIGN_IN, 2026-11-02): a sample account's code above the code boxes ---------- */
.ubk-testcode { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; margin: 0 0 16px; padding: 14px 16px;
  border: 1.5px dashed #2D6A4F; border-radius: 12px; background: #EEF3F0; }
.ubk-testcode > span { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: #2D6A4F; }
.ubk-testcode > b { font-family: var(--font-display); font-size: 26px; letter-spacing: .18em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ubk-testcode-acts { display: flex; gap: 8px; }
.ubk .ubk-testcode .bk-btn { padding: .55rem 1rem; }

/* ---------- the member's account (account.js, operator 2026-11-02: "plain AF use mobbin") ----------
   Mobbin: lululemon and Netflix (membership card beside the welcome), Open and Peloton (the classes
   left, large), Marriott Bonvoy and adidas (a coloured member header with tiles under it), Kajabi
   (Coming up / Past). White cards with even 20px gaps; clinic green for the member's own things, red
   only for booking. */
.ubk--account .ubk-stage:has(> .bk.ua) { background: none; border: 0; box-shadow: none; padding: 0; } /* only the dashboard goes without the card */
.ubk .bk.ua { display: grid; gap: 20px; }
.ua-card { background: #fff; border: 1px solid #E7E3DC; border-radius: 20px; padding: 28px 30px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .05), 0 18px 40px -24px rgba(34, 51, 46, .22); min-width: 0; }
.ua-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ubk .ua h3 { font-size: 21px; margin: 0; }
.ubk .ua h4 { font-family: var(--font-display); color: var(--ink); font-size: 19px; margin: 0; }
.ua-sub { color: var(--ink-3); font-size: 15px; margin: 4px 0 0; }
.ua-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ua-ico { display: inline-grid; place-items: center; flex: none; }
.ua-ico.is-sm svg { width: 16px; height: 16px; }
.ua-note { padding: 14px 18px; border-radius: 14px; background: #E4EAE7; color: var(--ink); font-weight: 700; }

/* buttons */
.ua-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.ua-btn.is-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.ua-btn.is-red { background: var(--accent); color: #fff; }
.ua-btn.is-red:hover { background: #96261F; }
.ua-btn.is-dark { background: var(--ink); color: #fff; }
.ua-btn.is-dark:hover { background: #2E4740; }
.ua-btn.is-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.ua-btn.is-light:hover { background: rgba(255, 255, 255, .2); }
.ua-btn.is-ghost { background: #fff; color: var(--ink); border-color: #D9D4CB; }
.ua-btn.is-ghost:hover { border-color: var(--ink-2); }
.ua-btn.is-off { color: var(--ink-3); cursor: default; }
.ua-btn:disabled { opacity: .6; cursor: progress; }
.ua-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; text-decoration: none; }
.ua-link:hover { color: var(--accent); }
.ua-pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: #F3F1EC; color: var(--ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ua-pill.is-good { background: #E4EFE8; color: #2D6A4F; }
.ua-pill.is-warn { background: #F8E6E4; color: #96261F; }

/* the welcome and the classes left */
.ua-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.ua-welcome { position: relative; overflow: hidden; border-radius: 20px; padding: 36px 36px 34px; color: #fff; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; min-height: 250px;
  background: linear-gradient(105deg, rgba(23, 36, 32, .96) 0%, rgba(34, 51, 46, .9) 48%, rgba(34, 51, 46, .55) 100%), url("/assets/img/gym-class-960.webp") center 40% / cover; }
.ua-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #A8D0B6; }
.ubk .ua .ua-welcome h2 { color: #fff; font-size: 38px; margin: 0; }
.ua-welcome p { margin: 0; color: #DDE5E1; font-size: 16px; }
.ua-welcome-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ua-balance { display: flex; flex-direction: column; gap: 6px; }
.ua-balance-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ua-big { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.05; color: var(--ink); margin-top: 10px; letter-spacing: -.02em; }
.ua-balance .ua-sub { flex: 1; }
.ua-balance .ua-link { margin-top: 10px; }

/* three counts */
.ua-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ua-stat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #E7E3DC; border-radius: 16px; padding: 18px 20px; }
.ua-stat .ua-ico { width: 44px; height: 44px; border-radius: 12px; background: #E4EFE8; color: #2D6A4F; }
.ua-stat b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink); line-height: 1.1; }
.ua-stat span { color: var(--ink-3); font-size: 14px; }

/* your classes, your plan */
.ua-two { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
/* the two cards side by side are one height, their headings on one line and their contents filling them
   (operator, 2026-11-02: "these need to be even") */
.ua-two > .ua-card { display: flex; flex-direction: column; }
.ua-two .ua-card-head { min-height: 46px; margin-bottom: 18px; }
.ua-two .ua-card > .ua-list, .ua-two .ua-card > .ua-holds, .ua-two .ua-card > .ua-empty { flex: 1; }
.ua-two .ua-list > .ua-empty { height: 100%; box-sizing: border-box; }
.ua-empty { align-content: center; }
.ua-tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: #F3F1EC; gap: 2px; }
.ua-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 14px; border-radius: 9px; font: 700 14px var(--font-body); color: var(--ink-3); cursor: pointer; }
.ua-tabs button span { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #E7E3DC; font-size: 12px; color: var(--ink-2); }
.ua-tabs button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(34, 51, 46, .15); }
.ua-list, .ua-holds { display: grid; gap: 10px; }
.ua-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 14px 12px 12px; border: 1px solid #EEEAE3; border-radius: 14px; }
.ua-row.is-past .ua-date { background: #F3F1EC; color: var(--ink-2); }
.ua-date { width: 58px; padding: 7px 0 8px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; justify-items: center; line-height: 1.1; }
.ua-date span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.ua-date b { font-family: var(--font-display); font-size: 22px; }
.ua-what { display: grid; gap: 3px; min-width: 0; }
.ua-what b { color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.ua-what span { color: var(--ink-3); font-size: 14px; }
.ua-hold { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: #F7F5F1; }
.ua-hold > .ua-ico { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--ink); }
.ua-hold.is-member > .ua-ico { background: var(--ink); color: #fff; }
.ua-hold-note { margin: -4px 0 0; padding: 10px 14px; border-radius: 12px; background: #F7F5F1; color: var(--ink-2); font-size: 14.5px; }
.ua-hold-note.is-warn { background: #F8E6E4; color: #96261F; font-weight: 700; }
.ua-people { display: grid; gap: 14px; margin-top: -4px; padding: 18px 20px; border: 1px solid #E7E3DC; border-radius: 16px; }
.ua-person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ua-person-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 14px var(--font-body); letter-spacing: .03em; }
.ua-person.is-free .ua-person-av { background: none; border: 1.5px dashed #CFC9BE; color: var(--ink-3); font-size: 20px; font-weight: 400; }
.ua-person.is-free .ua-what b { color: var(--ink-2); }
.ua-person .ua-what a { color: var(--ink); font-weight: 700; }
.ua-addperson { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid #E7E3DC; }
.ua-addperson > b { color: var(--ink); font-size: 16px; }
.ua-addperson .ua-sub { margin: 0; }
.ua-addperson-f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px; }
.ua-addperson-f input { min-height: 44px; min-width: 0; width: 100%; box-sizing: border-box; padding: 0 12px; border: 1.5px solid #E2DED6; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.ua-addperson-f input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.ua-addperson-f .ua-btn { min-height: 44px; }
@media (max-width: 640px) { .ua-hold.is-member { grid-template-columns: auto minmax(0, 1fr); } .ua-hold.is-member > .ua-btn, .ua-hold.is-member > .ua-pill { grid-column: 2; justify-self: start; } .ua-addperson-f { grid-template-columns: 1fr; } .ua-person { grid-template-columns: auto minmax(0, 1fr); } .ua-person > .ua-btn { grid-column: 2; justify-self: start; } }
.ua-meter { width: 70px; height: 6px; border-radius: 99px; background: #E2DED6; overflow: hidden; }
.ua-meter i { display: block; height: 100%; background: #2D6A4F; border-radius: inherit; }
.ua-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 28px 16px; border: 1.5px dashed #E2DED6; border-radius: 16px; }
.ua-empty .ua-ico.is-big { width: 52px; height: 52px; border-radius: 50%; background: #E4EFE8; color: #2D6A4F; margin-bottom: 4px; }
.ua-empty b { color: var(--ink); font-size: 17px; }
.ua-empty span { color: var(--ink-3); font-size: 14.5px; }
.ua-empty .ua-btn { margin-top: 8px; }

/* join or top up */
.ua-price b { font-family: var(--font-display); font-size: 32px; color: var(--ink); }
.ua-price span { color: var(--ink-3); font-weight: 700; margin-left: 2px; }
.ua-ticks { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 7px; flex: 1; }
.ua-ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ua-ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #E4EFE8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* your plan: a membership as a card (operator, 2026-11-10) */
.ua-mems { display: grid; gap: 16px; }
.ua-mems + .ua-holds { margin-top: 18px; }
.ua-mem { display: grid; gap: 14px; }
.ua-mem-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ua-mem-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 24px 26px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(168, 208, 182, .28), rgba(168, 208, 182, 0) 55%), linear-gradient(135deg, #1B2A26, #2E4740); }
.ua-mem-hero::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .05); pointer-events: none; }
.ua-mem.is-due .ua-mem-hero { background: linear-gradient(135deg, #3A2422, #5A2A26); }
.ua-mem-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ubk .ua .ua-mem-hero h4 { color: #fff; font-size: 27px; line-height: 1.15; margin-top: 6px; overflow-wrap: anywhere; }
.ua-mem-gets { margin: 0; color: #C9D6D1; font-size: 15.5px; }
.ua-mem-price { margin-top: auto; padding-top: 14px; color: #C9D6D1; font-weight: 700; }
.ua-mem-price b { font-family: var(--font-display); font-size: 34px; color: #fff; letter-spacing: -.01em; }
.ua-mem-price.is-by { font-size: 15px; }
.ua-mem-state { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; background: rgba(255, 255, 255, .14); color: #fff; }
.ua-mem-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ua-mem-state.is-live { color: #BFE8CD; }
.ua-mem-state.is-amber { color: #F6DFA8; }
.ua-mem-state.is-warn { background: #fff; color: #96261F; }
.ua-fact { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 20px; border-radius: 18px; background: #F7F5F1; min-width: 0; }
.ua-fact > b { font-family: var(--font-display); font-size: 34px; line-height: 1.1; color: var(--ink); letter-spacing: -.02em; margin-top: 4px; overflow-wrap: anywhere; }
.ua-fact > b.is-num { font-size: 56px; line-height: 1; }
.ua-fact-sub { color: var(--ink-3); font-size: 15px; }
.ua-fact .ua-meter { margin-top: 12px; }
.ua-meter.is-wide { width: 100%; height: 7px; }
.ua-fact-extra { margin-top: 10px; color: var(--ink-2); font-weight: 700; }
.ua-fact-gap { flex: 1 0 18px; }
.ua-fact-when { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid #E7E3DC; }
.ua-fact-when .ua-ico { width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--ink); }
.ua-fact-when .ua-what b { font-size: 16px; }
.ua-mem .ua-hold-note, .ua-mem .ua-people { margin: 0; }
.ua-people-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 2px; }
.ua-people-head b { color: var(--ink); font-size: 15.5px; }
.ua-people-head span { color: var(--ink-3); font-size: 13.5px; }
.ua-mem-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 4px; }
.ua-mem-end { margin-left: auto; }
.ua-btn.is-quiet { background: none; color: #96261F; border-color: transparent; }
.ua-btn.is-quiet:hover { background: #F8E6E4; }
.ua-group { display: block; margin: 6px 0 0; }

/* what can be bought or moved to: a list, one row open at a time */
.ua-card[hidden] { display: none; }
.ua-opts { display: grid; gap: 14px; }
.ua-opts .ua-group:not(:first-child) { margin-top: 16px; }
.ua-opt { border: 1.5px solid #E7E3DC; border-radius: 16px; background: #fff; }
.ua-opt[open] { border-color: var(--ink); box-shadow: 0 14px 30px -22px rgba(34, 51, 46, .5); }
.ua-opt > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 20px 22px 20px 20px; cursor: pointer; list-style: none; border-radius: 15px; }
.ua-opt > summary .ua-what { gap: 5px; }
.ua-opt > summary .ua-what b { font-size: 17px; }
.ua-opt > summary::-webkit-details-marker { display: none; }
.ua-opt > summary:hover { background: #FAF9F6; }
.ua-opt > summary:focus { outline: 0; }
.ua-opt:has(> summary:focus-visible) { box-shadow: 0 0 0 3px rgba(34, 51, 46, .22); }
.ua-opt > summary > .ua-ico:first-child { width: 46px; height: 46px; border-radius: 13px; background: #F3F1EC; color: var(--ink); }
.ua-opt[open] > summary > .ua-ico:first-child { background: var(--ink); color: #fff; }
.ua-opt-price { text-align: right; color: var(--ink-3); font-size: 14px; font-weight: 700; white-space: nowrap; }
.ua-opt-price b { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.ua-opt-chev { color: var(--ink-3); transition: transform .2s ease; }
.ua-opt[open] .ua-opt-chev { transform: rotate(180deg); }
.ua-opt-body { display: grid; gap: 18px; justify-items: start; margin: 0 22px 0 84px; padding: 22px 0 26px; border-top: 1px solid #EEEAE3; }
.ua-opt-body p { margin: 0; color: var(--ink-2); font-size: 16px; }
.ua-opt-body .ua-ticks { margin: 0; flex: none; gap: 12px; }
.ua-opt-body .ua-ticks li { font-size: 15.5px; gap: 10px; }
.ua-opt-body .ua-btn { margin-top: 4px; }

/* your details: who they are beside a form (operator, 2026-11-10) */
.ua-details { display: grid; gap: 14px; }
.ua-details > .ua-card-head { margin-bottom: 4px; }
.ua-me { display: grid; gap: 0; padding: 22px 24px; border-radius: 18px; background: #F7F5F1; }
.ua-me-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.ua-me-av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #1B2A26, #2E4740); color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.ua-me-top .ua-what { gap: 4px; }
.ua-me-top .ua-what b { font-family: var(--font-display); font-size: 22px; }
.ua-me-top .ua-what span { font-size: 15px; overflow-wrap: anywhere; }
.ua-editlink { display: inline-flex; align-items: center; gap: 7px; padding: 8px 4px; border: 0; background: none; color: var(--ink); font: 700 15px var(--font-body); text-decoration: underline; text-decoration-color: #BDB6AA; text-underline-offset: 4px; cursor: pointer; white-space: nowrap; }
.ua-editlink:hover { color: var(--accent); text-decoration-color: currentColor; }
.ua-editlink:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.ua-editlink[aria-expanded="true"] .ua-ico { transform: rotate(180deg); }
.ua-me > .ua-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid #E2DED6; }
.ua-form[hidden] { display: none; }
.ua-details > .ua-save-msg { margin-top: -4px; }
.ua-form { display: grid; gap: 16px; min-width: 0; }
.ua-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ua-field { display: grid; gap: 7px; min-width: 0; }
.ua-field.is-wide { grid-column: 1 / -1; }
.ua-field label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ubk .ua .ua-field input { min-height: 50px; width: 100%; min-width: 0; box-sizing: border-box; padding: 0 14px; border: 1.5px solid #E2DED6; border-radius: 11px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; }
.ubk .ua .ua-field input::placeholder { color: var(--ink-3); font-weight: 400; }
.ubk .ua .ua-field input:hover { border-color: #CFC9BE; }
.ubk .ua .ua-field input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.ua-locked { position: relative; }
.ubk .ua .ua-locked input { padding-right: 42px; background: #ECE9E2; color: var(--ink-2); border-color: #EEEAE3; text-overflow: ellipsis; cursor: default; }
.ubk .ua .ua-locked input:focus { outline: 0; border-color: #EEEAE3; background: #ECE9E2; }
.ua-locked .ua-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.ua-field small { color: var(--ink-3); font-size: 13.5px; }
.ua-field small a { color: var(--ink); font-weight: 700; }
.ua-switchrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 24px; border: 1.5px solid #E7E3DC; border-radius: 18px; cursor: pointer; }
.ua-switchrow:hover { border-color: #CFC9BE; }
.ua-switchrow > .ua-ico { width: 46px; height: 46px; border-radius: 13px; background: #E4EFE8; color: #2D6A4F; }
.ua-switch { position: relative; display: inline-flex; }
.ua-switch input { appearance: none; -webkit-appearance: none; width: 54px; height: 32px; margin: 0; border-radius: 999px; background: #D5CFC4; cursor: pointer; transition: background .2s ease; }
.ua-switch input:checked { background: #2D6A4F; }
.ua-switch input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ua-switch i { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); pointer-events: none; transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
.ua-switch input:checked + i { transform: translateX(22px); }
.ua-form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ua-save-msg { margin: 0; color: #2D6A4F; font-weight: 700; font-size: 15px; }
/* Notifications (account.js, 2026-11-17): one switch for this device, then one for each kind with "Turn all off" beside
   their heading. The kinds are greyed until the device is on; a device that cannot have them says why in a note. */
.ua-notify-body { display: grid; gap: 14px; }
.ua-notify { scroll-margin-top: 96px; }
.ua-n-master { background: #F7F5F1; border-color: transparent; }
.ua-n-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin-top: 6px; }
.ua-n-kind.is-off { opacity: .5; cursor: default; }
/* Last-minute appointments: from anyone, or the therapists picked (2026-11-30). Sits under that switch while it is on. */
.ua-n-from { display: grid; gap: 12px; margin-top: -4px; padding: 16px 18px 18px; border-radius: 18px; background: #F7F5F1; }
.ua-n-from[hidden] { display: none; }
.ua-n-from-q { font-weight: 700; font-size: 15px; color: var(--ink, #1F2A26); }
.ua-n-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ua-n-chip { min-height: 44px; padding: 8px 16px; border: 1.5px solid #D9D4CA; border-radius: 999px; background: #fff; color: var(--ink-2, #44504B); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ua-n-chip:hover { border-color: #B9B2A5; }
.ua-n-chip.is-on { border-color: #2D6A4F; background: #2D6A4F; color: #fff; }
.ua-n-chip:disabled { opacity: .6; cursor: default; }
.ua-n-chip:focus-visible { outline: 3px solid #9CC7B2; outline-offset: 2px; }
.ua-n-kind.is-off:hover { border-color: #E7E3DC; }
.ua-switch input:disabled { cursor: default; }
.ua-n-why { margin: 0; padding: 14px 16px; border-radius: 14px; background: #FBF3E4; color: #5C4514; font-size: 15px; line-height: 1.5; }
.ua-n-why .ua-link { text-decoration: underline; text-underline-offset: 3px; }
.ua-n-test { justify-self: start; }
@media (max-width: 640px) { .ua-n-test { justify-self: stretch; min-height: 46px; } }
.ua-save-msg.is-bad { color: #96261F; }
@media (max-width: 899.98px) { .ua-mem-main { grid-template-columns: 1fr; } .ua-mem-hero { min-height: 0; } }
@media (max-width: 640px) {
  .ua-fact { padding: 18px; border-radius: 16px; }
  .ua-fact > b.is-num { font-size: 46px; }
  .ua-mem-hero { padding: 20px; border-radius: 16px; }
  .ubk .ua .ua-mem-hero h4 { font-size: 23px; }
  .ua-mem-acts .ua-btn { flex: 1 1 100%; }
  .ua-mem-end { margin-left: 0; }
  .ua-opt > summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .ua-opt-price { grid-column: 2; grid-row: 2; text-align: left; }
  .ua-opt-chev { grid-column: 3; grid-row: 1 / span 2; }
  .ua-opt > summary { padding: 16px; }
  .ua-opt-body { margin: 0 16px; padding: 18px 0 20px; }
  .ua-opt-body .ua-btn { width: 100%; }
  .ua-fields { grid-template-columns: 1fr; }
  .ua-switchrow { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; }
  .ua-me { padding: 18px; }
  .ua-me-top { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .ua-me-av { width: 52px; height: 52px; font-size: 18px; }
  .ua-me-top .ua-what b { font-size: 19px; }
  .ua-editlink { grid-column: 1 / -1; justify-self: start; padding: 4px 0; }
  .ua-switchrow > .ua-ico { display: none; }
  .ua-form-foot .ua-btn { width: 100%; }
}

/* the site's own yes-or-no pop-up */
/* margin: auto - the site's reset zeroes margins, which is what centres a modal dialog */
.ua-dialog { margin: auto; border: 0; border-radius: 20px; padding: 28px; max-width: 420px; width: calc(100% - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.ua-dialog::backdrop { background: rgba(23, 36, 32, .45); backdrop-filter: blur(4px); }
.ua-dialog h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 8px; font-size: 21px; }
.ua-dialog p { margin: 0 0 20px; color: var(--ink-3); }
.ua-dialog-acts { display: flex; gap: 10px; justify-content: flex-end; }

@media (max-width: 899.98px) {
  .ua-top, .ua-two { grid-template-columns: 1fr; }
  .ua-stats { gap: 10px; }
  .ua-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 14px; }
  .ua-stat .ua-ico { width: 36px; height: 36px; border-radius: 10px; }
  .ua-stat b { font-size: 22px; }
  .ua-stat span { font-size: 12.5px; line-height: 1.3; display: block; }
  .ua-card { padding: 22px 18px; border-radius: 16px; }
  .ua-welcome { padding: 28px 22px; min-height: 0; border-radius: 16px; }
  .ubk .ua .ua-welcome h2 { font-size: 30px; }
  .ua-big { font-size: 52px; }
  .ua-row { grid-template-columns: auto minmax(0, 1fr); }
  .ua-row > .ua-btn, .ua-row > .ua-pill { grid-column: 2; justify-self: start; }
}
/* your treatments (Cliniko appointments, 2026-11-02): a green date tile sets them apart from the gym's classes */
.ua-date.is-treat { background: #2D6A4F; }
.ua-treat-foot { margin-top: 14px; }
.ua-treat-foot a { color: var(--ink); font-weight: 700; }

/* the account in tabs (operator, 2026-11-03: "too much on one page"): the strip under the welcome, its
   panels below; a count beside a tab with something in it */
.ua-pagetabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid #E7E3DC; overflow-x: auto; scrollbar-width: none; scroll-margin-top: 90px; }
.ua-pagetabs::-webkit-scrollbar { display: none; }
.ua-pagetabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 11px;
  background: none; font: 800 15px var(--font-body); color: var(--ink-3); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.ua-pagetabs button:hover { color: var(--ink); background: #F7F5F1; }
.ua-pagetabs button.is-on { background: var(--ink); color: #fff; }
.ua-pagetabs .ua-tn { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #E7E3DC; color: var(--ink-2); font-size: 12px; }
.ua-pagetabs button.is-on .ua-tn { background: rgba(255, 255, 255, .18); color: #fff; }
.ua-pagetabs .ua-ts { display: none; }
.ua-panel { display: grid; gap: 20px; }
.ua-panel[hidden] { display: none; }
@media (max-width: 899.98px) {
  .ua-pagetabs { gap: 4px; padding: 5px; }
  .ua-pagetabs button { flex: 1 1 0; min-width: 0; padding: 0 6px; gap: 6px; font-size: 14px; }
  .ua-pagetabs .ua-tl { display: none; }
  .ua-pagetabs .ua-ts { display: inline; }
}

/* joining or buying a plan (account.js drawJoin; operator, 2026-11-03: "no tiles or anything"): the plan as a photo
   card beside how to pay, as a checkout (Mobbin: Klook, Fresha, Peloton's checkout) */
.ua-join-head { display: grid; gap: 4px; }
.ua-eyebrow.is-dark { color: #2D6A4F; }
.ubk .ua .ua-join-head h2 { font-size: 30px; margin: 0; }
.ua-join { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ua-join-plan { padding: 0; overflow: hidden; }
.ua-join-photo { position: relative; height: 210px; background: center / cover no-repeat; display: flex; align-items: flex-end; padding: 18px; }
.ua-join-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 36, 32, 0) 30%, rgba(23, 36, 32, .55)); }
.ua-join-photo .ua-pill { position: relative; background: #fff; }
.ua-join-body { padding: 24px 28px 28px; display: grid; gap: 10px; justify-items: start; }
.ubk .ua .ua-join-body h3 { font-size: 24px; }
.ua-join-body .ua-sub { margin: 0; }
.ua-join-body .ua-label { margin-top: 8px; }
.ua-join-body .ua-ticks { margin: 0; gap: 9px; }
.ua-join-body .ua-ticks li { font-size: 15px; }
.ua-join-pay { display: flex; flex-direction: column; gap: 16px; }
.ua-join-pay .ua-back { margin-top: auto; }
.ua-sum { display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; background: #F7F5F1; }
.ua-sumrow { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 15px; }
.ua-sumrow b { color: var(--ink); }
.ua-sumrow.is-total { padding-top: 10px; border-top: 1px solid #E2DED6; font-size: 17px; }
.ua-sumrow.is-total span, .ua-sumrow.is-total b { color: var(--ink); font-weight: 800; }
.ua-join-go { width: 100%; min-height: 54px; font-size: 16px; }
.ua-join-err { margin: 0; padding: 10px 14px; border-radius: 10px; background: #F8E6E4; color: #96261F; font-weight: 700; font-size: 14.5px; }
.ua-secure { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink-3); font-size: 13.5px; }
.ua-secure .ua-ico { color: #2D6A4F; margin-top: 1px; }
.ua-back { justify-self: center; }
@media (max-width: 899.98px) {
  .ua-join { grid-template-columns: 1fr; }
  .ua-join-pay { position: static; }
  .ua-join-photo { height: 160px; }
  .ua-join-body { padding: 20px 18px 22px; }
}

/* ---------- the app feel in the booking pages and the account (operator, 2026-11-03: "confirmations, nice
   animations, success messages, transitions, fade ins and out ... premium and fluid"). Each new step of the
   booking flow fades up in place of the last (booking-enhance.js marks it); the account's cards rise one after
   another, a tab's panel glides in, and a result's sign draws itself. Still for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .ubk .bk.ubx-swap > * { animation: ubx-rise .42s cubic-bezier(.2, .7, .2, 1) both; }
  .ubk .bk.ubx-swap > :nth-child(2) { animation-delay: .05s; }
  .ubk .bk.ubx-swap > :nth-child(3) { animation-delay: .1s; }
  .ubk .bk.ubx-swap > :nth-child(n+4) { animation-delay: .15s; }
  .ubk .bk.ua > *, .ua-panel:not([hidden]) > * { animation: ubx-rise .48s cubic-bezier(.2, .7, .2, 1) both; }
  .ubk .bk.ua > :nth-child(2), .ua-panel:not([hidden]) > :nth-child(2) { animation-delay: .07s; }
  .ubk .bk.ua > :nth-child(n+3), .ua-panel:not([hidden]) > :nth-child(n+3) { animation-delay: .14s; }
  .ua-top > :nth-child(2) { animation: ubx-rise .48s cubic-bezier(.2, .7, .2, 1) .06s both; }
  .ua-pagetabs button { transition: background .25s ease, color .25s ease, transform .15s ease; }
  .ua-row, .ua-hold, .ua-opt { transition: border-color .2s ease, box-shadow .2s ease, transform .2s cubic-bezier(.2, .7, .2, 1); }
  .ubk--thanks .ubk-stage::before, .ubk--cancelled .ubk-stage::before { animation: ubx-pop .6s cubic-bezier(.2, 1.4, .4, 1) .15s both; }
  .ua-dialog[open] { animation: ubx-pop .3s cubic-bezier(.2, 1.2, .4, 1) both; }
  .ua-dialog[open]::backdrop { animation: ubx-fade .25s ease both; }
  .ua-join-go.is-busy { animation: ubx-pulse 1.1s ease-in-out infinite; }
}
@keyframes ubx-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ubx-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes ubx-fade { from { opacity: 0; } }
@keyframes ubx-pulse { 50% { opacity: .82; } }

/* choosing how to pay for a class (the kit's "Pay with" radios): tiles, the chosen one outlined (operator, 2026-11-03:
   "make sure the pages are never bare") */
.ubk .bk-field:has(> .bk-check input[type="radio"]) { display: grid; gap: 10px; }
.ubk .bk-field > .bk-check:has(input[type="radio"]) { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; border: 1.5px solid #E2DED6; border-radius: 14px;
  background: #fff; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.ubk .bk-field > .bk-check:has(input[type="radio"]):hover { border-color: #BDB6AA; }
.ubk .bk-field > .bk-check:has(input[type="radio"]:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #FCFBF9; }
.ubk .bk-field > .bk-check input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid #CFC9BF; background: #fff; transition: border .15s ease; }
.ubk .bk-field > .bk-check input[type="radio"]:checked { border: 7px solid var(--ink); }
.ubk .bk-field > .bk-check input[type="radio"]:focus-visible { outline: 3px solid rgba(45, 106, 79, .35); outline-offset: 2px; }

/* a short message from the booking system (a link that has ended, something not bookable online): the same centred
   status card as a result, with an information sign, never a thin line on its own (operator, 2026-11-03: "make sure
   the pages are never bare") */
.ubk:not(.ubk--thanks):not(.ubk--cancelled):not(.ubk--account):not(.ubk--sign-in) .ubk-stage:not(:has(form, .bk-form, .bk-list, .bk-summary, .bk-item, .bk-grid, .ubk-checkout, .bk-loading, input, textarea, select)) {
  text-align: center; padding: 48px 40px 44px; }
.ubk:not(.ubk--thanks):not(.ubk--cancelled):not(.ubk--account):not(.ubk--sign-in) .ubk-stage:not(:has(form, .bk-form, .bk-list, .bk-summary, .bk-item, .bk-grid, .ubk-checkout, .bk-loading, input, textarea, select))::before {
  content: ""; display: block; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: #EEF3F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5M12 7.6v.4'/%3E%3C/svg%3E") center / 30px no-repeat; }
.ubk:not(.ubk--thanks):not(.ubk--cancelled):not(.ubk--account):not(.ubk--sign-in) .ubk-stage:not(:has(form, .bk-form, .bk-list, .bk-summary, .bk-item, .bk-grid, .ubk-checkout, .bk-loading, input, textarea, select)) .bk {
  display: grid; justify-items: center; gap: 8px; }
.ubk:not(.ubk--thanks):not(.ubk--cancelled):not(.ubk--account):not(.ubk--sign-in) .ubk-stage:not(:has(form, .bk-form, .bk-list, .bk-summary, .bk-item, .bk-grid, .ubk-checkout, .bk-loading, input, textarea, select)) .bk p { font-size: 16.5px; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ubk:not(.ubk--thanks):not(.ubk--cancelled):not(.ubk--account):not(.ubk--sign-in) .ubk-stage:not(:has(form, .bk-form, .bk-list, .bk-summary, .bk-item, .bk-grid, .ubk-checkout, .bk-loading, input, textarea, select))::before { animation: ubx-pop .6s cubic-bezier(.2, 1.4, .4, 1) .15s both; }
}

/* ---- signing in with Face ID / Touch ID / a passkey (public/booking/passkey.js, 2026-11-10) */
/* on the sign-in page: leading the form on a device that has it, a quiet line under it on any other that could */
.ubk-pk { display: grid; gap: 10px; margin: 0 0 18px; }
.ubk-pk:not(.is-lead) { margin: 14px 0 0; justify-items: center; }
.ubk .ubk-pk-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); border-color: var(--ink); color: #fff; }
.ubk-pk-btn svg, .ubk-pk-link svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ubk-pk-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ubk-pk-link svg { width: 19px; height: 19px; }
.ubk-pk-btn:disabled, .ubk-pk-link:disabled { opacity: .6; cursor: default; }
.ubk-pk-or { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; color: var(--ink-3); font-size: 13px; }
.ubk-pk-or::before, .ubk-pk-or::after { content: ""; flex: 1; height: 1px; background: #E7E3DC; }
.ubk-pk-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FBEDEB; color: #8E2A24; font-size: 14px; line-height: 1.45; }
/* on the account, under Your details */
.ua-pk { display: grid; gap: 8px; }
.ua-pk-head { cursor: default; }
.ua-pk-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #E7E3DC; border-radius: 12px; background: #FCFBF9; }
.ua-pk-key .ua-what b { font-size: 14.5px; }
.ua-pk-key .ua-what span { font-size: 12.5px; color: var(--ink-3); }

/* the membership offer page (/membership/offer, membership-offer.js): the join panel, plus these */
.uo-was { margin-left: 10px; color: var(--ink-3); font-weight: 700; font-size: 18px; }
.uo-own { color: #2D6A4F; font-weight: 700; }
.uo-msg { margin: 4px 0 2px; padding: 12px 16px; border-left: 3px solid #2D6A4F; border-radius: 0 10px 10px 0; background: #F7F5F1; color: var(--ink-2); font-size: 15px; white-space: pre-line; }
.uo-until, .uo-call { margin: 0; font-size: 14px; }
.ua-join-pay .uo-call { margin-top: auto; }
.uo-single { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 40px 32px; }
.uo-single .ua-sub { margin: 0; }
.uo-single .ua-ico.is-big { width: 56px; height: 56px; border-radius: 50%; background: #E4EFE8; color: #2D6A4F; display: grid; place-items: center; }
.uo-single .ua-ico.is-big svg { width: 28px; height: 28px; }
.uo-single .ua-btn { margin-top: 6px; }

/* what else is on a member's record (address, date of birth, gender, emergency contact): read only */
.ua-held { margin-top: 14px; }
.ua-held-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.ua-held-list dt { color: #6B6F6A; }
.ua-held-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .ua-held-list { grid-template-columns: 1fr; gap: 2px; } .ua-held-list dd { margin-bottom: 8px; } }

/* Your treatments while Cliniko is read: the card is there from the start with two grey rows that shimmer, and the
   real rows ease in over them. The empty state carries its own Book a treatment button. */
.ua-skel { border-color: #F0EDE7; pointer-events: none; }
.ua-skel i { display: block; border-radius: 8px; background: linear-gradient(100deg, #EFECE6 35%, #F8F6F2 50%, #EFECE6 65%) 0 0 / 220% 100%; animation: ua-shine 1.4s ease-in-out infinite; }
.ua-skel-date { width: 54px; height: 58px; border-radius: 12px !important; }
.ua-skel-what { display: grid; gap: 8px; min-width: 0; }
.ua-skel-what i:first-child { width: 62%; height: 15px; }
.ua-skel-what i:last-child { width: 44%; height: 12px; }
.ua-skel-pill { width: 64px; height: 24px; border-radius: 999px !important; }
.ua-treat-in { animation: ubx-fade .35s ease-out backwards; }
.ua-empty .ua-empty-go { margin-top: 14px; }
@keyframes ua-shine { from { background-position: 100% 0; } to { background-position: -120% 0; } }
@media (max-width: 640px) { .ua-skel .ua-skel-pill { display: none; } }
@media (prefers-reduced-motion: reduce) { .ua-skel i, .ua-treat-in { animation: none; } }
.ua-top.is-one { grid-template-columns: 1fr; }
