/* The website as an app (public/js/app.js, app-bar.js; operator, 2026-11-06). Everything under .is-app shows only when
   the site is opened from the home screen, or with ?app=1 in a browser: the website itself never sees it. The
   save-as-an-app page (/app) is at the foot: browsers do see that.

   Redrawn 2026-11-10 (operator: "looks very basic. it needs to cover the top behind the time ... everything is too
   big ... the bottom menu needs to stop moving ... no hover visible ... feel like an app, fluid, with transitions",
   "use mobbin"). Mobbin: Cal AI, Future and BitePal (a floating pill of tabs with a round action), Future ("Afternoon,
   Alex" over round shortcuts), Nike Training Club (compact rows), Google Health (pill chips). */

.is-app { --app-ease: cubic-bezier(.2, .7, .2, 1); --app-glide: cubic-bezier(.65, 0, .35, 1); --app-in: cubic-bezier(.2, .7, .2, 1); --app-bar: calc(76px + var(--app-safe-b));
  /* An iPhone keeps 34px at the bottom for its home bar, which itself needs about half of that: the menu takes the
     rest back (operator, 2026-11-10, from his phone: "i don't like ... the empty space under the menu"). */
  --app-safe-b: max(0px, calc(env(safe-area-inset-bottom, 0px) - 16px)); }
/* No scrollbars anywhere in the app: the page, the strips that scroll sideways, the lists inside cards and pop-ups
   (operator, 2026-11-10: "make sure there's no scrollbars anywhere in the app"). Everything still scrolls. */
html.is-app, html.is-app * { scrollbar-width: none; -ms-overflow-style: none; }
html.is-app::-webkit-scrollbar, html.is-app *::-webkit-scrollbar { display: none; width: 0; height: 0; }
.is-app body { background: var(--paper); padding-bottom: var(--app-bar); -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
.is-app .util, .is-app header.main, .is-app .m-head, .is-app .m-menu, .is-app footer, .is-app .cta-band { display: none !important; }
.is-app a, .is-app button, .is-app summary, .is-app label { -webkit-tap-highlight-color: transparent; }

/* ---- behind the clock: the green runs to the very top, and stays there while the page scrolls under it */
html.is-app body::before { content: ""; position: fixed; inset: 0 0 auto 0; z-index: 90; height: env(safe-area-inset-top, 0px); background: var(--ink); view-transition-name: app-top; }

/* ---- the tabs: pinned to the bottom edge (operator, 2026-11-10: "i dont want floating menu menu needs to be pinned
   to the bottom"), one element that is never redrawn, with one highlight that glides between them */
.app-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  padding: 7px max(8px, env(safe-area-inset-right, 0px)) calc(7px + var(--app-safe-b)) max(8px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.7) blur(18px); backdrop-filter: saturate(1.7) blur(18px);
  border-top: 1px solid rgba(34, 51, 46, .1); box-shadow: 0 -10px 26px -18px rgba(22, 33, 30, .35); view-transition-name: app-tabs; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.app-tabs a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 48px; border-radius: 15px; color: #75807B;
  font: 700 10px/1.2 var(--font-body, inherit); letter-spacing: .01em; text-decoration: none; -webkit-touch-callout: none; transition: color .3s ease, transform .2s var(--app-ease); }
.app-tabs svg { width: 21px; height: 21px; transition: transform .45s var(--app-glide), stroke-width .3s ease; }
.app-tabs a.is-on { color: var(--ink); }
.app-tabs a.is-on svg { stroke-width: 2.3; transform: translateY(-1px); }
/* the highlight: one fifth of the bar wide, moved by --i (set by app-bar.js), so it glides rather than blinks */
.app-tabs-ind { position: absolute; z-index: 0; top: 7px; left: max(8px, env(safe-area-inset-left, 0px)); width: calc((100% - max(8px, env(safe-area-inset-left, 0px)) - max(8px, env(safe-area-inset-right, 0px))) / 5); height: 48px; padding: 0 6px; box-sizing: border-box;
  transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s var(--app-glide), opacity .3s ease; pointer-events: none; }
.app-tabs-ind::before { content: ""; display: block; height: 100%; border-radius: 15px; background: rgba(34, 51, 46, .09); }
.app-tabs.no-ind .app-tabs-ind { opacity: 0; }
/* The Book button sits above its word, clear of it (operator, 2026-11-10: "move book button up it clips the text
   underneath"): the word stays on the other tabs' line, the button and its white ring end 3px above it. */
.app-tabs a.is-book { color: var(--accent); justify-content: flex-end; padding-bottom: 6px; }
.app-tabs a.is-book svg { box-sizing: border-box; flex: none; width: 48px; height: 48px; margin-bottom: 5px; padding: 12px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 2.2;
  box-shadow: 0 0 0 4px #fff, 0 8px 14px -10px rgba(176, 51, 44, .7); transition: transform .22s var(--app-ease), box-shadow .22s ease, background-color .2s ease; }
.app-tabs a.is-book.is-on svg { transform: none; }
.app-tabs a:active { transform: scale(.93); }
.app-tabs a.is-book:active svg { transform: scale(.94); background: #96261F; }
@media (hover: hover) {
  .app-tabs a:not(.is-on):not(.is-book):hover { color: var(--ink); background: rgba(34, 51, 46, .05); }
  .app-tabs a.is-book:hover svg { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 4px #fff, 0 12px 18px -10px rgba(176, 51, 44, .8); }
}

/* ---- between pages: the page fades and rises, the tabs and the top strip do not move */
::view-transition-old(root) { animation: app-out .16s ease-in both; }
::view-transition-new(root) { animation: app-in .45s cubic-bezier(.65, 0, .35, 1) both; }
::view-transition-group(app-tabs), ::view-transition-group(app-top) { animation: none; z-index: 2; }
/* the header keeps its place through a page load too: its size eases, its words change over */
::view-transition-group(app-head) { animation-duration: .45s; animation-timing-function: cubic-bezier(.65, 0, .35, 1); z-index: 1; }
::view-transition-old(app-tabs), ::view-transition-old(app-top) { display: none; }
::view-transition-new(app-tabs), ::view-transition-new(app-top) { animation: none; }
@keyframes app-out { to { opacity: 0; } }
@keyframes app-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes app-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes app-fade { from { opacity: 0; } }
/* Each page's own parts come in one after another: the header slides, the rest fades up. 'backwards', never 'both':
   a transform left on a section would pin anything fixed inside it to that section (Thorrington's finding). */
/* They start at once and settle (an ease that is quick first, --app-in): the slow-in, slow-out glide left the page
   blank for a sixth of a second after every tap, which read as a page loading (operator, 2026-11-10: "the app still
   feels the same"). The glide stays for what moves across the screen: the menu's highlight, the header's height. */
.is-app main > * { animation: app-rise .3s var(--app-in) backwards; }
.is-app main > :nth-child(2) { animation-delay: .03s; }
.is-app main > :nth-child(n+3) { animation-delay: .06s; }
.is-app #appHome > * { animation: app-rise .3s var(--app-in) backwards; }
.is-app #appHome > :nth-child(2) { animation-delay: .03s; }
.is-app #appHome > :nth-child(3) { animation-delay: .06s; }
.is-app #appHome > :nth-child(n+4) { animation-delay: .09s; }
.is-app .ubk .bk > * { animation: app-rise .3s var(--app-in) backwards; }

/* ---- skeletons: the shape of what is coming, while it comes */
@keyframes app-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.app-sk i, .app-sk-in i, .ua-skel i, .ah-card.is-wait i, .ah-week.is-wait i, .is-app .bk-loading { display: block; border-radius: 12px; background: linear-gradient(100deg, #E9E5DE 35%, #F5F2EC 50%, #E9E5DE 65%) 0 0 / 220% 100%; animation: app-shine 1.5s ease-in-out infinite; }
.app-sk { display: grid; gap: 12px; padding: 14px 14px 14px; }
.app-sk.is-home { padding-top: 0; }
.app-sk-card { position: relative; display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(34, 51, 46, .06), 0 18px 32px -24px rgba(34, 51, 46, .5); }
.app-sk-card i, .app-sk-in i { height: 12px; }
.app-sk-card i:nth-child(1), .app-sk-in i:nth-child(1) { width: 46%; height: 15px; }
.app-sk-card i:nth-child(2), .app-sk-in i:nth-child(2) { width: 82%; }
.app-sk-card i:nth-child(3) { width: 64%; }
.app-sk-card i.is-btn, .app-sk-in i.is-btn { width: 100%; height: 40px; margin-top: 4px; }
.app-sk-card.is-tall { padding-bottom: 60px; }
.app-sk-card.is-slot { display: flex; flex-direction: column; box-sizing: border-box; min-height: 158px; }
.app-sk-card.is-slot i.is-btn { margin-top: auto; }
.app-sk-tiles { display: grid; gap: 10px; }
.app-sk-tiles i { height: 92px; border-radius: 16px; }
.ua-skel { display: grid; gap: 14px; }
.ua-skel i.is-card { height: 108px; border-radius: 18px; }
.ua-skel i.is-tabs { height: 52px; border-radius: 16px; }
.ua-skel i.is-big { height: 260px; border-radius: 18px; }
.is-app .bk-loading { height: 150px; margin: 6px 0 0; font-size: 0; color: transparent; border-radius: 16px; }

/* ---- everything answers a finger, and a pointer where there is one */
.is-app :is(.btn, .bk-btn, .ua-btn, .ah-btn, .ah-tile, .ah-bar, .app-chips a, .ua-pagetabs button, .ua-row, .ua-hold, .ua-opt > summary, .ua-editlink, .ua-link, .bk-chip, .bk-day, .bk-slot) {
  transition: transform .18s var(--app-ease), background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .22s ease, filter .2s ease, opacity .2s ease; }
.is-app :is(.btn, .bk-btn, .ua-btn, .ah-btn, .ah-bar, .app-chips a, .ua-pagetabs button, .bk-chip, .bk-day, .bk-slot):active { transform: scale(.96); filter: brightness(.95); }
.is-app :is(.ah-tile, .ah-card, .ua-row, .ua-hold):active { transform: scale(.985); }
@media (hover: hover) {
  .is-app :is(.btn, .bk-btn, .ua-btn, .ah-btn):hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 10px 20px -14px rgba(22, 33, 30, .6); }
  .is-app .app-chips a:not(.is-on):hover { background: #F3F1EC; border-color: #C9C2B6; }
  .is-app .ah-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -18px rgba(22, 33, 30, .7); }
  .is-app .ah-tile:hover img { transform: scale(1.06); }
  .is-app .ah-bar:hover { filter: brightness(1.12); }
}

/* ---- the header: one green band at the top of every page, written before the first paint (app-bar.js) and never
   redrawn: its words change and its height eases between Home (the greeting, the card tucked under it) and the rest.
   The pages' own headers are not shown in the app. */
.app-head { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: calc(env(safe-area-inset-top, 0px) + 16px) 18px 16px; margin-bottom: 0; border-radius: 0 0 22px 22px;
  /* The strip behind the clock is one flat green, so the header is that same green down to where the strip ends and
     its glow rises from the bottom corner, gone by that line: no band across the top (operator, 2026-11-10, from his
     phone: "i don't like how the top is cut off"). */
  background: radial-gradient(120% 100% at 100% 100%, rgba(168, 208, 182, .2), rgba(168, 208, 182, 0)) no-repeat 0 100% / 100% calc(100% - env(safe-area-inset-top, 0px)), var(--ink); color: #fff; view-transition-name: app-head;
  transition: padding .5s var(--app-glide), margin .5s var(--app-glide), border-radius .5s var(--app-glide); }
.app-head.is-home { padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 62px; margin-bottom: -46px; border-radius: 0 0 26px 26px; }
/* Home's header carries the gym photo under the green (operator, 2026-11-16: from four ideas, "no 2 but bring the
   image up a bit", then on seeing it "slightly lower now and less opacity"). The wash is the flat green down to where the strip behind the clock ends, so there is still no
   band across the top (his note of 2026-11-10), then lets the photo through, then closes again towards the card. */
.app-head.is-home { background:
  linear-gradient(180deg, #22332E 0, #22332E env(safe-area-inset-top, 0px), rgba(34, 51, 46, .76) calc(env(safe-area-inset-top, 0px) + 24%), rgba(34, 51, 46, .64) 58%, rgba(34, 51, 46, .9) 100%),
  url(/assets/img/gym-photo2-960.webp) center 6% / cover no-repeat, var(--ink); }
/* Home's second row: the clinic's name as the website writes it, centred, with a soft glow behind it. On every other
   page the row is shut (no height). */
.app-head-logo { grid-column: 1 / -1; grid-row: 2; display: grid; justify-items: center; align-content: center; gap: 3px; max-height: 0; overflow: hidden; opacity: 0;
  /* a pool of darker green behind the name, not a light one (operator, 2026-11-10: "too much glow ... make it darker"); gone by the row's own edges */
  background: radial-gradient(48% 50% at 50% 50%, rgba(9, 17, 14, .46), rgba(9, 17, 14, .2) 55%, rgba(9, 17, 14, 0) 100%);
  transition: max-height .5s var(--app-glide), opacity .35s ease; }
.app-head.is-home .app-head-logo { max-height: 96px; opacity: 1; }
.app-head-logo b { padding: 26px 0 0 .34em; font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.05; letter-spacing: .34em; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.app-head-logo small { padding: 0 0 20px .24em; font-size: 9px; font-weight: 700; letter-spacing: .24em; color: #EBB9B3; }
.app-head-w { grid-column: 1; grid-row: 1; min-width: 0; }
.app-head-hi { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); transition: max-height .5s var(--app-glide), opacity .4s ease; }
.app-head.is-home .app-head-hi { max-height: 18px; opacity: 1; }
.app-head-t { margin: 0; color: #fff; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; transition: font-size .5s var(--app-glide); }
.app-head.is-home .app-head-t { font-size: 23px; }
.app-head-av { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 0; height: 42px; overflow: hidden; opacity: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .03em; text-decoration: none; pointer-events: none;
  transition: width .5s var(--app-glide), opacity .4s ease, background-color .2s ease, transform .18s var(--app-ease); }
.app-head.is-home .app-head-av { width: 42px; opacity: 1; pointer-events: auto; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.app-head-av svg { width: 20px; height: 20px; }
.app-head-av:active { transform: scale(.94); }
@media (hover: hover) { .app-head-av:hover { background: rgba(255, 255, 255, .26); } }
html:not(.is-app) .app-head { display: none; }
.is-app .page-head { display: none !important; }
.is-app main { position: relative; z-index: 3; }

/* ---- the pages themselves a size down: they were drawn for a website (operator: "everything is too big") */
.is-app main:not(:has(#appHome)) > :not(.page-head):not(.app-chips):not(.app-sk) { zoom: .88; }
/* a field under 16px makes an iPhone zoom the whole page in when it is tapped: keep them at 16 after the size down */
.is-app main:not(:has(#appHome)) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 18.2px !important; }
.is-app .section, .is-app .ubk-wrap { padding-top: 14px; }

/* ---- what to book or buy, as a strip under the heading */
.app-chips { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; display: flex; gap: 7px; overflow-x: auto; padding: 10px 14px; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); scrollbar-width: none; }
.app-chips::-webkit-scrollbar { display: none; }
.app-chips a { flex: none; padding: 7px 13px; border: 1px solid #DAD5CB; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.app-chips a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 14px -10px rgba(22, 33, 30, .8); }
.is-app .stepper { margin: 0; padding: 8px 14px; border: 0; border-radius: 0; background: none; box-shadow: none; }

/* ---- things that sit along the bottom stay above the tabs */
.is-app .consent { left: 12px; right: 12px; bottom: calc(74px + var(--app-safe-b)); width: auto; padding: 14px; gap: 8px; border-radius: 18px; animation: app-rise .4s var(--app-ease) both; }
.is-app .consent h2 { font-size: 14px; }
.is-app .consent p { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.is-app .consent-actions { gap: 8px; }
.is-app .consent-actions .btn { min-width: 0; padding: 9px 12px; font-size: 13px; }

/* ---- the account, in the app: the green header already says whose it is */
.is-app .ua-welcome { display: none; }
.is-app .ua-top { grid-template-columns: 1fr; }
.is-app .ubk .bk.ua { gap: 14px; }
.is-app .ua-card { padding: 18px; border-radius: 18px; }
.is-app .ua-balance { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; }
.is-app .ua-balance-top { grid-column: 1 / -1; }
.is-app .ua-big { font-size: 40px; margin-top: 2px; grid-row: 2 / span 2; grid-column: 2; }
.is-app .ua-balance .ua-sub { grid-column: 1; margin: 0; }
.is-app .ua-balance .ua-link { grid-column: 1; margin-top: 2px; }
.is-app .ua-pagetabs { position: sticky; top: calc((env(safe-area-inset-top, 0px) + 8px) / .88); z-index: 20; box-shadow: 0 10px 20px -16px rgba(22, 33, 30, .5); }
.is-app .ua-mem-hero { min-height: 0; padding: 18px; }
.is-app .ubk .ua .ua-mem-hero h4 { font-size: 21px; }
.is-app .ua-mem-price b { font-size: 26px; }
.is-app .ua-fact > b.is-num { font-size: 40px; }
.is-app .ua-fact > b { font-size: 26px; }

/* ---- booking a treatment (operator: "booking page the font is too big") */
.is-app .flow-step > .sec-head h1, .is-app .flow-step > .sec-head h2, .is-app .flow-step > .sec-head h3 { font-size: 19px; line-height: 1.25; }
.is-app .flow-step > .sec-head p, .is-app .flow-step p { font-size: 14.5px; line-height: 1.5; }

/* ---- /home */
.is-app #appHome { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 12px; }
.is-app main:has(#appHome) .section { padding: 0; }
.is-app main:has(#appHome) .page-body { width: 100%; max-width: none; padding: 0; }
/* One size from the first paint (operator, 2026-11-10: "height should never change once set after animation"): the
   shimmer, "nothing booked", the next visit and the sign-in card are all this tall, the button always at the foot. */
.ah-card { position: relative; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; min-height: 158px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(34, 51, 46, .06), 0 18px 32px -22px rgba(34, 51, 46, .55); }
.ah-card p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.ah-card-t { font-size: 15px; }
.ah-card > :last-child { margin-top: auto; }
.ah-card.is-new > *, .ah-bar.is-new > * { animation: app-fade .28s ease-out backwards; }
.ah-card.is-wait i { height: 12px; width: 82%; }
.ah-card.is-wait i:first-child { width: 46%; height: 15px; }
.ah-card.is-wait i.is-btn { width: 100%; height: 40px; }
.ah-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ah-next { display: flex; align-items: center; gap: 12px; }
.ah-date { flex: none; display: grid; justify-items: center; width: 50px; padding: 6px 0; border-radius: 13px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.ah-date b { font-size: 18px; }
.ah-what { display: grid; gap: 2px; min-width: 0; }
.ah-what b { font-size: 14.5px; overflow-wrap: anywhere; }
.ah-what span { font-size: 12.5px; color: var(--ink-3); }
.ah-btn { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 1px solid #DAD5CB; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.ah-btn.is-red { border-color: var(--accent); background: var(--accent); color: #fff; }
.ah-h { margin: 8px 2px -2px; font-size: 15px; letter-spacing: -.005em; }
/* one under another, each the full width (operator, 2026-11-10: "book tiles to be stacked not 2x2") */
.ah-tiles { display: grid; gap: 10px; }
.ah-tile { position: relative; overflow: hidden; display: block; height: 92px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.ah-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--app-ease, ease); }
.ah-tile-t { position: absolute; inset: 0; display: grid; align-content: center; gap: 2px; padding: 0 44% 0 16px; background: linear-gradient(90deg, rgba(22, 33, 30, .92) 0, rgba(22, 33, 30, .7) 42%, rgba(22, 33, 30, 0) 78%); }
.ah-tile-t b { font-size: 15.5px; color: #fff; }
.ah-tile-t small { font-size: 12px; color: rgba(255, 255, 255, .86); }
/* classes left, as a photo tile (operator, 2026-11-16: "make this look better in the customer app add an image"):
   the class photo on the right, the figure large on the left over the same dark wash as the tiles. A fixed height,
   so nothing moves when the figure arrives. */
.ah-bar { position: relative; display: grid; align-content: center; gap: 4px; box-sizing: border-box; height: 104px; overflow: hidden; padding: 0 44% 0 18px; border-radius: 18px; color: #fff; text-decoration: none;
  background: linear-gradient(90deg, rgba(22, 33, 30, .97) 0, rgba(22, 33, 30, .86) 38%, rgba(22, 33, 30, .28) 72%, rgba(22, 33, 30, .1) 100%), url(/assets/img/gym-class-960.webp) 78% 24% / cover no-repeat, var(--ink);
  box-shadow: 0 1px 2px rgba(34, 51, 46, .08), 0 18px 32px -22px rgba(34, 51, 46, .6); }
.ah-bar b { font-size: 34px; line-height: 1; letter-spacing: -.02em; color: #fff; }
.ah-bar span { min-width: 0; font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .86); }
.ah-bar::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ah-bar.is-wait i { display: block; width: 70%; height: 16px; border-radius: 8px; background: linear-gradient(100deg, rgba(255, 255, 255, .14) 35%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .14) 65%) 0 0 / 220% 100%; animation: app-shine 1.5s ease-in-out infinite; }

/* ---- /app: how to save the site as an app. Browsers see this. */
#appInstallPage { display: grid; gap: 20px; }
.ai-hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 34px; align-items: center; padding: 32px 36px; border-radius: 20px; background: var(--ink); color: #fff; }
.ai-hero h2 { margin: 0 0 8px; color: #fff; font-size: var(--step-3); line-height: 1.15; }
.ai-hero p { margin: 0; color: rgba(255, 255, 255, .85); }
.ai-benefits { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.ai-benefits li { display: flex; align-items: center; gap: 12px; }
.ai-b-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; }
.ai-b-i svg { width: 21px; height: 21px; }
.ai-benefits b { display: block; font-size: 15.5px; color: #fff; }
.ai-benefits small { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.ai-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.ai-offer[hidden] { display: none; }
.ai-offer span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.ai-phone { justify-self: center; width: 200px; padding: 9px; border-radius: 32px; background: #0F1715; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .8), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.ai-screen { display: flex; flex-direction: column; gap: 8px; height: 370px; overflow: hidden; border-radius: 24px; background: #F7F5F1; position: relative; }
.ai-s-hero { display: grid; gap: 1px; padding: 28px 13px 34px; background: #2C423B; color: #fff; }
.ai-s-hero i { font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.ai-s-hero b { font-size: 16px; color: #fff; }
.ai-s-card { height: 62px; margin: -32px 10px 0; border-radius: 12px; background: #fff; box-shadow: 0 8px 16px -12px rgba(34, 51, 46, .6); }
.ai-s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 10px; }
.ai-s-tiles span { height: 66px; border-radius: 10px; background: #D7DED8; }
.ai-s-tiles span:nth-child(2), .ai-s-tiles span:nth-child(3) { background: #BFCBC4; }
.ai-s-tabs { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; align-items: end; padding: 10px 6px 12px; background: #fff; border-top: 1px solid #E7E3DC; }
.ai-s-tabs span { width: 16px; height: 16px; border-radius: 5px; background: #C9CFCB; }
.ai-s-tabs span.is-book { width: 28px; height: 28px; margin-top: -18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; }
.ai-how { margin: 6px 0 -6px; font-size: var(--step-2); }
.ai-devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ai-device { display: grid; gap: 8px; padding: 20px; border: 1px solid #E7E3DC; border-radius: 16px; background: #fff; }
.ai-device.is-here { border-color: var(--ink); box-shadow: 0 1px 2px rgba(34, 51, 46, .08), 0 18px 36px -28px rgba(34, 51, 46, .55); }
.ai-device-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; }
.ai-device-h small, .ai-in { font-size: 13px; color: var(--ink-3); }
.ai-chip { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.ai-steps { display: grid; gap: 10px; margin: 2px 0 0; padding-left: 20px; font-size: 14.5px; line-height: 1.5; }
.ai-key { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 0 2px; border: 1px solid #DAD5CB; border-radius: 8px; vertical-align: -8px; color: var(--ink); background: #F7F5F1; }
.ai-key svg { width: 16px; height: 16px; }
.ai-done { display: grid; justify-items: center; gap: 10px; padding: 34px 20px; border-radius: 18px; background: #fff; text-align: center; }
.ai-done h2 { margin: 0; font-size: 20px; }
.ai-done p { margin: 0; color: var(--ink-3); }
.ai-done-t { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #E4EFE7; color: #2F7A4B; }
.ai-done-t svg { width: 30px; height: 30px; }
@media (max-width: 899.98px) {
  .ai-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .ai-phone { order: -1; width: 170px; }
  .ai-screen { height: 300px; }
  .ai-devices { grid-template-columns: minmax(0, 1fr); }
}

/* ---- the account's card that points to /app (never in the app) */
.ua-appcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 16px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.ua-appcard-i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.ua-appcard-i svg { width: 24px; height: 24px; }
.ua-appcard-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ua-appcard-t b { font-size: 15.5px; color: #fff; }
.ua-appcard-t small { font-size: 13px; color: rgba(255, 255, 255, .8); }
.ua-appcard-go { flex: none; padding: 8px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 800; transition: background .2s ease, color .2s ease, transform .2s ease; }
/* it is one link: the whole card answers the pointer, and "Show me" turns the booking red (operator, 2026-11-10) */
.ua-appcard { transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.ua-appcard:hover, .ua-appcard:focus-visible { background: #2E4740; color: #fff; box-shadow: 0 14px 28px -18px rgba(34, 51, 46, .7); transform: translateY(-1px); }
.ua-appcard:hover .ua-appcard-go, .ua-appcard:focus-visible .ua-appcard-go { background: var(--accent); color: #fff; transform: translateX(2px); }
.ua-appcard:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .is-app *, .is-app *::before, .is-app *::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---- the Book button's menu: a card that rises above the menu, the page behind dimmed, the + turned to a cross */
.app-sheet { position: fixed; inset: 0; z-index: 68; }
.app-sheet-dim { position: absolute; inset: 0; background: rgba(14, 22, 19, .46); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .28s ease; touch-action: none; }
.app-sheet-card { position: absolute; left: 12px; right: 12px; bottom: calc(var(--app-bar) + 18px); display: grid; gap: 8px; padding: 10px 12px 12px; border-radius: 26px; background: #fff;
  box-shadow: 0 30px 60px -20px rgba(10, 18, 15, .6), 0 2px 6px rgba(10, 18, 15, .12); opacity: 0; transform: translateY(28px) scale(.96); transform-origin: 50% 100%;
  transition: transform .34s var(--app-in), opacity .22s ease; }
.app-sheet.is-open .app-sheet-dim { opacity: 1; }
.app-sheet.is-open .app-sheet-card { opacity: 1; transform: none; }
.app-sheet-grip { justify-self: center; width: 38px; height: 4px; border-radius: 2px; background: #DAD5CB; }
.app-sheet-card h2 { margin: 4px 6px 4px; font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.app-sheet-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; background: #F6F3EE; color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .34s var(--app-in), background-color .2s ease; }
.app-sheet.is-open .app-sheet-row { opacity: 1; transform: none; }
.app-sheet.is-open .app-sheet-row:nth-of-type(1) { transition-delay: .05s; }
.app-sheet.is-open .app-sheet-row:nth-of-type(2) { transition-delay: .09s; }
.app-sheet.is-open .app-sheet-row:nth-of-type(3) { transition-delay: .13s; }
.app-sheet.is-open .app-sheet-row:nth-of-type(4) { transition-delay: .17s; }
.app-sheet-row img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.app-sheet-t { display: grid; gap: 2px; min-width: 0; }
.app-sheet-t b { font-size: 15px; }
.app-sheet-t small { font-size: 12.5px; color: var(--ink-3); }
.app-sheet-go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink-3); }
.app-sheet-go svg { width: 16px; height: 16px; }
.app-sheet-row.is-here { background: #E4EAE7; }
.app-sheet-row:active { transform: scale(.985); background: #ECE8E1; }
@media (hover: hover) { .app-sheet-row:hover { background: #ECE8E1; } }
.app-tabs a.is-book svg { transition: transform .3s var(--app-in), box-shadow .22s ease, background-color .2s ease; }
.app-tabs.is-sheet a.is-book svg { transform: rotate(45deg); background: var(--ink); box-shadow: 0 0 0 4px #fff, 0 8px 14px -10px rgba(22, 33, 30, .7); }

/* ---- "How it works" beside a request form: shut until asked for, its steps one under another */
.is-app .ubk-aside:not(.ubk-aside--card) { padding: 0; border: 0; background: none; }
.app-fold { border: 1px solid #E7E3DC; border-radius: 16px; background: #fff; overflow: hidden; }
.app-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.app-fold > summary::-webkit-details-marker { display: none; }
.app-fold > summary i { width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--app-in); }
.app-fold[open] > summary i { transform: rotate(225deg) translate(-2px, -2px); }
.app-fold-in { display: grid; gap: 14px; padding: 2px 16px 16px; animation: app-rise .3s var(--app-in) backwards; }
.app-fold-in h2 { margin: 0; font-size: 17px; }
.is-app .ubk-steps { grid-template-columns: 1fr; gap: 12px; }
.is-app .ubk-steps li { grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.is-app .ubk-steps li::before { width: 30px; height: 30px; font-size: 14px; }
.is-app .ubk-steps strong { margin: 4px 0 2px; }

/* ---- every finished state: a tick that draws itself, the words rising after it */
.app-tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; background: #E3EFE8; color: #2F6B4F; animation: app-tick-pop .5s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.app-tick svg { width: 40px; height: 40px; }
.app-tick circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: app-tick-draw .5s ease .1s forwards; opacity: .35; }
.app-tick path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: app-tick-draw .34s ease .42s forwards; }
.app-tick.is-sm { display: inline-grid; width: 26px; height: 26px; margin: 0 8px 0 0; vertical-align: -7px; }
.app-tick.is-sm svg { width: 18px; height: 18px; }
@keyframes app-tick-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes app-tick-draw { to { stroke-dashoffset: 0; } }
.is-app .app-done:not(.ua-note) { text-align: center; }
.is-app .app-done:not(.ua-note) > :not(.app-tick) { animation: app-rise .44s var(--app-in) .3s backwards; }
.is-app .app-done .bk-summary, .is-app .app-done .bk-actions { justify-items: center; justify-content: center; text-align: center; }
.app-done-top { display: grid; justify-items: center; gap: 2px; margin-bottom: 14px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.is-app #step4 .confirm .tick { background: #E3EFE8; color: #2F6B4F; }
@media (prefers-reduced-motion: reduce) {
  .app-tick, .app-tick circle, .app-tick path, .is-app .app-done > *, .app-sheet-card, .app-sheet-row, .app-sheet-dim { animation: none !important; transition: none !important; stroke-dashoffset: 0; }
}

/* a panel that only sends people to the website's team page: not in the app, where there is no way back from it */
.is-app .team-promo { display: none; }

/* ---- Home, under the card: this week's classes in a row that slides sideways, and the clinic itself. Both are a
   fixed height from the first paint, as the card is. */
.ah-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 2px -2px; }
.ah-row .ah-h { margin: 0; }
.ah-more { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
/* contain: the row's cards must never widen the page; it slides inside its own width */
.ah-week { contain: inline-size; scroll-padding: 0 14px; }
.is-app #appHome, .is-app #appHome > * { min-width: 0; }
.ah-week, .app-sk-week { display: flex; gap: 10px; height: 148px; margin: 0 -14px; padding: 0 14px 6px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.app-sk-week { overflow: hidden; margin: 0; padding: 0; }
.ah-week.is-wait i, .app-sk-week i { flex: none; width: 150px; height: 142px; border-radius: 18px; }
.ah-class { flex: none; display: flex; flex-direction: column; gap: 1px; box-sizing: border-box; width: 150px; height: 142px; padding: 12px 12px 11px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .06), 0 14px 24px -20px rgba(34, 51, 46, .55); scroll-snap-align: start; }
.ah-class-d { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ah-class-t { font-family: var(--font-display); font-size: 24px; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ah-class-n { margin-top: 3px; font-size: 13.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ah-class small { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-class-p { align-self: flex-start; margin-top: auto; padding: 3px 8px; border-radius: 999px; background: #E3EFE8; color: #2F6B4F; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.ah-class-p.is-full { background: #F6EBD6; color: #7A4E00; }
.ah-class.is-none { width: 100%; justify-content: center; align-items: center; text-align: center; gap: 4px; }
.ah-week.is-new > * { animation: app-fade .28s ease-out backwards; }
.is-app .ah-class:active { transform: scale(.97); }
.ah-clinic { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(34, 51, 46, .06), 0 18px 32px -22px rgba(34, 51, 46, .55); }
.ah-clinic img { display: block; width: 100%; height: 124px; object-fit: cover; }
.ah-clinic-in { display: grid; gap: 3px; padding: 13px 14px 14px; }
.ah-clinic-in b { font-size: 15px; }
.ah-clinic-in span { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.ah-clinic-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.ah-clinic-acts .ah-btn { gap: 7px; }
.ah-clinic-acts .ah-btn svg { width: 16px; height: 16px; }
.ah-clinic-acts .ah-btn span { font-size: 13.5px; color: var(--ink); }

/* ---- the class timetable in the app (operator, 2026-11-10: "class booking page doesnt look nice"): no card around
   the page and no second heading; the week and its seven days at the top; only the days that have classes, each a
   small label over its classes; a class is a white card with its time on a tile of its own colour, the places left
   and a red Book. The kit's own markup, restyled: nothing about booking changes. */
.is-app .ubk--classes .ubk-stage { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.is-app .ubk--classes .ubk-cl-head { margin: 0 2px 12px; gap: 10px; }
.is-app .ubk--classes .ubk-cl-head h2 { display: none; }
.is-app .ubk--classes .ubk-cl-head .bk-lead { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.is-app .ubk--classes .ubk-cl-head > .bk-btn { min-height: 44px; border-radius: 14px; background: #fff; }
.is-app .ubk--classes .ubk-week { display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(34, 51, 46, .06), 0 18px 32px -24px rgba(34, 51, 46, .5); }
.is-app .ubk--classes .ubk-weeknav { margin: 0; padding: 0; border: 0; background: none; }
.is-app .ubk--classes .ubk-wk { width: 40px; height: 40px; min-width: 0; padding: 0; border: 0; border-radius: 50%; background: #F3F1EC; justify-content: center; }
.is-app .ubk--classes .ubk-wk span { display: none; }
.is-app .ubk--classes .ubk-wk-title { font-size: 17px; }
.is-app .ubk--classes .ubk-chips { margin: 0 -14px; padding: 0 14px 2px; }
.is-app .ubk--classes .ubk-daytabs { gap: 5px; }
.is-app .ubk--classes .ubk-daytabs .bk-day { padding: 8px 2px 13px; border: 0; border-radius: 14px; background: #F6F3EE; }
.is-app .ubk--classes .ubk-daytabs .bk-day.is-today { background: var(--ink); opacity: 1; }
.is-app .ubk--classes .ubk-daytabs .bk-day.is-today small, .is-app .ubk--classes .ubk-daytabs .bk-day.is-today strong { color: #fff; }
.is-app .ubk--classes .ubk-daytabs .bk-day.is-today.has-items::after { background: #fff; }
.is-app .ubk--classes .ubk-days { margin-top: 6px; border: 0; }
.is-app .ubk--classes .ubk-week { border: 0; margin-bottom: 0; }
.is-app .ubk--classes .ubk-dayrow { border: 0; }
.is-app .ubk--classes .ubk-dayrow.is-empty { display: none; }
.is-app .ubk--classes .ubk-days:not(:has(.ubk-dayrow:not(.is-empty)))::after { content: "No classes this week. Try the next one."; display: block; padding: 34px 16px; border-radius: 18px; background: #fff; color: var(--ink-3); text-align: center; }
.is-app .ubk--classes .ubk-dayrow > summary { min-height: 0; padding: 18px 4px 8px; cursor: default; pointer-events: none; }
.is-app .ubk--classes .ubk-dayrow > summary::before { display: none; }
.is-app .ubk--classes .ubk-dayrow > summary strong { font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.is-app .ubk--classes .ubk-dayrow > summary span { font-size: 12.5px; }
.is-app .ubk--classes .ubk-dayrow-body { gap: 10px; padding: 0 0 4px; }
.is-app .ubk--classes .bk-item.ubk-class { grid-template-columns: 74px minmax(0, 1fr); gap: 8px 14px; padding: 12px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(34, 51, 46, .06), 0 16px 28px -22px rgba(34, 51, 46, .55); }
.is-app .ubk--classes .ubk-class::before { display: none; }
.is-app .ubk--classes .ubk-class-time { grid-row: span 2; align-self: stretch; padding: 10px 4px; border: 0; border-radius: 14px; text-align: center; justify-items: center;
  background: var(--ubk-c, var(--ink)); background: color-mix(in srgb, var(--ubk-c, var(--ink)) 13%, #fff); }
.is-app .ubk--classes .ubk-class-time strong { font-size: 20px; color: var(--ubk-c, var(--ink)); }
.is-app .ubk--classes .ubk-class-time small { font-size: 12px; }
.is-app .ubk--classes .ubk-class .ubk-class-name { font-size: 18px; }
.is-app .ubk--classes .ubk-class .bk-actions { grid-column: 2; justify-content: space-between; gap: 10px; }
.is-app .ubk--classes .ubk-class .bk-actions .bk-btn { min-width: 0; min-height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; }
.is-app .ubk--classes .ubk-class .bk-actions .bk-btn.is-ghost { background: #F3F1EC; color: var(--ink); }
.is-app .ubk--classes .bk-meta:last-child { margin: 14px 4px 0; }

/* the "Members" list beside the sign-in form is the website's; in the app the sign-in screen is the form alone
   (operator, 2026-11-10: "remove members tile") */
.is-app .ubk-aside--card { display: none; }

/* the sign-in screen's header: the clinic's name, centred, on its darker pool, and "Member sign in" under it as a
   small label (operator, 2026-11-10: "change member sign in to unique logo centered", then "keep member sign in
   underneath we will say staff sign in on staffs app") */
.app-head.is-logo { padding: calc(env(safe-area-inset-top, 0px) + 6px) 18px 16px; }
.app-head.is-logo .app-head-logo { max-height: 96px; opacity: 1; }
.app-head.is-logo .app-head-logo small { padding-bottom: 12px; }
.app-head.is-logo .app-head-av { height: 0; }
.app-head.is-logo .app-head-w { grid-column: 1 / -1; grid-row: 3; min-height: 0; text-align: center; }
.app-head.is-logo .app-head-t { font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

/* The sign-in screen has no menu (operator, 2026-11-10: "there should be no menu on sign in screen"): it slides away
   as that screen comes in and back once signed in. There is no way round it: the app is for people with an account. */
.app-tabs { transition: transform .4s var(--app-in), opacity .3s ease; }
html.app-nomenu .app-tabs { transform: translateY(110%); opacity: 0; pointer-events: none; }
html.app-nomenu.is-app body { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
