/* LaingLogic - site stylesheet */

/* Keyframes, @font-face, @property */

/* Onest, the body face, self-hosted so nothing reaches Google before consent.
   Google's own Onest v11 files, unchanged: one variable file per subset (300-900),
   in Google's order and unicode-range. Symbols carries the copy's → arrows and is
   fetched only on a page that shows one. */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/onestSymbols.woff2') format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/onestLatinExt.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/onestLatin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Silkscreen, the Dashboard's pixel font, self-hosted. Used only on the "//"
   top-subtitle labels (see the pixel-accent rule at the end of this file). */
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/silkscreen400Latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/silkscreen700Latin.woff2') format('woff2');
}

/* Shared keyframes (used across multiple pages) */
/* Skeleton shimmer: one left-to-right pass, normalised to the element. With
   background-size:200% the band's centre sits at boxW * (1 - X/100), so 150% to -50%
   crosses the element with no dead time; decreasing X moves it rightward. */
@keyframes shimmer {
  from { background-position: 150% 0; }
  to   { background-position: -50% 0; }
}
@keyframes navDrop {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes lineGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(77,166,255,0.3)); }
  50% { filter: drop-shadow(0 0 18px rgba(77,166,255,0.9)); }
}
@keyframes slideFromTop { from { opacity: 0; transform: translateY(-100px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slideFromLeft { from { opacity: 0; transform: translateX(-120px) scale(0.97); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes slideFromRight { from { opacity: 0; transform: translateX(120px) scale(0.97); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes slideFromBottom { from { opacity: 0; transform: translateY(100px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes support-spin { to { transform: rotate(360deg); } }
/* index + password: 4-layer gradient drift backdrop */
@keyframes gradientDrift1 {
  0%   { transform: translate(-50%, -50%) rotate(-48deg) scale(1); }
  25%  { transform: translate(-47%, -53%) rotate(-30deg) scale(1.04); }
  50%  { transform: translate(-50%, -50%) rotate(-15deg) scale(1.06); }
  75%  { transform: translate(-53%, -47%) rotate(-35deg) scale(1.02); }
  100% { transform: translate(-50%, -50%) rotate(-48deg) scale(1); }
}
@keyframes gradientDrift2 {
  0%   { transform: translate(-50%, -50%) rotate(20deg) scale(1); }
  25%  { transform: translate(-53%, -47%) rotate(35deg) scale(1.05); }
  50%  { transform: translate(-50%, -50%) rotate(50deg) scale(1.08); }
  75%  { transform: translate(-47%, -53%) rotate(35deg) scale(1.03); }
  100% { transform: translate(-50%, -50%) rotate(20deg) scale(1); }
}
@keyframes gradientDrift3 {
  0%   { transform: translate(-50%, -50%) rotate(65deg) scale(1); opacity: 0.45; }
  25%  { transform: translate(-46%, -54%) rotate(50deg) scale(1.06); opacity: 0.5; }
  50%  { transform: translate(-50%, -50%) rotate(38deg) scale(1.1); opacity: 0.55; }
  75%  { transform: translate(-54%, -46%) rotate(52deg) scale(1.04); opacity: 0.48; }
  100% { transform: translate(-50%, -50%) rotate(65deg) scale(1); opacity: 0.45; }
}
@keyframes gradientDrift4 {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  33%  { transform: translate(-48%, -52%) scale(1.1); opacity: 0.45; }
  66%  { transform: translate(-52%, -48%) scale(1.05); opacity: 0.35; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
}
/* index and the gate page: one-time spin-out big bang hero intro. .hero-orbs grows from a
   small spinning seed, overshoots and settles at scale 1 where the orbs' own drift
   continues; a deep-blue flash (.hero::before) punctuates it. */
@keyframes heroFlash {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  30%  { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
}
/* One smooth easing, as the product-page reveal: the seed swings open, overshoots,
   then settles to scale 1 / rotate 0. */
@keyframes heroBang {
  0%   { opacity: 0; transform: scale(0.1) rotate(-200deg); }
  16%  { opacity: 1; }
  70%  { transform: scale(1.1) rotate(-6deg); }   /* slightly too large */
  100% { opacity: 1; transform: scale(1) rotate(0deg); }   /* magnetic size-down */
}
/* product-evolve + product-origin: shared hero animation set (GPU-accelerated) */
@keyframes heroReveal1 {
  0%   { transform: translate3d(-50%, -50%, 0) rotate(-48deg) scale(0); opacity: 0; }
  40%  { opacity: 0.85; }
  65%  { transform: translate3d(-50%, -50%, 0) rotate(-48deg) scale(1.06); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(-48deg) scale(1); opacity: 0.8; }
}
@keyframes heroReveal2 {
  0%   { transform: translate3d(-50%, -50%, 0) rotate(20deg) scale(0); opacity: 0; }
  40%  { opacity: 0.5; }
  65%  { transform: translate3d(-50%, -50%, 0) rotate(20deg) scale(1.08); }
  100% { transform: translate3d(-50%, -50%, 0) rotate(20deg) scale(1); opacity: 0.5; }
}
@keyframes glowPulse {
  0%   { transform: translate3d(-50%, -50%, 0) scale(0); opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: translate3d(-50%, -50%, 0) scale(6); opacity: 0.3; }
  100% { transform: translate3d(-50%, -50%, 0) scale(8); opacity: 0; }
}
@keyframes ringExpand {
  0%   { transform: translate3d(-50%, -50%, 0) scale(0); opacity: 0; }
  15%  { opacity: 0.25; }
  100% { transform: translate3d(-50%, -50%, 0) scale(14); opacity: 0; }
}
@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes p_dashboard_evolve__btn-pay-pulse {
  0%   { opacity: 0; transform: scale(0.96); }
  50%  { opacity: 0.65; }
  100% { opacity: 0; transform: scale(1.08); }
}



@keyframes p_more__demoLoaderSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@property --reveal {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}


@keyframes p_solutions__accordionFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes p_solutions__blink { 0%,100% { opacity: 0.7; } 50% { opacity: 0; } }
@keyframes p_solutions__lineGlowLight {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(43,127,212,0.25)); }
  50% { filter: drop-shadow(0 0 18px rgba(43,127,212,0.6)); }
}
@keyframes p_solutions__rise {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}




@keyframes p_schedule__processStagger {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes llRequiredPunchIn { 0%, 100% { color: #ff5050; transform: scale(1); } }
@keyframes llBtnShake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}
@keyframes llTimerFill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
}

/* Wrong-password feedback: the cs submit-button shake (0.5s ease-in-out
   translateX) on the gate card. */
@keyframes pwGateShake {
  0%       { transform: scale(1) translateX(0); }
  20%      { transform: scale(1) translateX(-6px); }
  40%      { transform: scale(1) translateX(6px); }
  60%      { transform: scale(1) translateX(-4px); }
  80%      { transform: scale(1) translateX(2px); }
  100%     { transform: scale(1) translateX(0); }
}
@keyframes supportRequiredPunch { 0%, 100% { color: #ff5050; transform: scale(1); } }

@keyframes supportBtnShake { 0% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(1px); } 100% { transform: translateX(0); } }
@keyframes supportTimerFill { to { width: 100%; } }
@keyframes supportReturnToBtn { from { background: transparent; border-color: rgba(255,100,100,0.3); } to { background: #fff; border-color: transparent; } }
@keyframes csRingPulse { 0% { transform: scale(0.6); opacity: 0; } 28% { opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes csDraw { to { stroke-dashoffset: 0; } }

/* Staggered rise-in for the success copy */
@keyframes csRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Brand-mark success animation: the primaryLogo 4-square mark pops in, fragments
   outward (per-square --fx/--fy/--fr), holds and shakes, then springs back on the
   brand colours; llmWindow resumes the logo's amber flicker. Copied inline in the
   portal (CSS/login.css, functions/_lib/html.ts): keep the copies in sync. */
@keyframes llmPop {
  0% { transform: scale(0.55); opacity: 0; }
  18% { opacity: 1; }
  32% { transform: scale(1.06); }
  50%, 100% { transform: scale(1); opacity: 1; }
}
@keyframes llmFrag {
  0%, 14% { transform: translate(0, 0) rotate(0deg); }
  38%, 60% { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); }
  82% { transform: translate(calc(var(--fx) / -14), calc(var(--fy) / -14)) rotate(calc(var(--fr) / -6)); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes llmShake {
  0%, 36% { transform: translate(0, 0) rotate(0deg); }
  41% { transform: translate(-1px, 0.6px) rotate(-1.4deg); }
  46% { transform: translate(1.1px, -0.5px) rotate(1.2deg); }
  51% { transform: translate(-1.1px, -0.5px) rotate(-1deg); }
  56% { transform: translate(1px, 0.5px) rotate(0.8deg); }
  60% { transform: translate(-0.6px, 0.3px) rotate(-0.4deg); }
  64%, 100% { transform: translate(0, 0) rotate(0deg); }
}
/* 94.5% closes the second blink: with steps(1) each interval holds its start value, so without it the window sits dim at the end of every cycle. Same in every synced copy. */
/* Fill, not opacity: the dim is the 25% blend on the tile ground (--llm-dim,
   the light ground's #f7e9d0 where a page sets it). */
@keyframes llmWindow { 0%, 88%, 100% { fill: #f5b342; } 90%, 93% { fill: var(--llm-dim, #433926); } 91.5%, 94.5% { fill: #f5b342; } }
@keyframes supportReturnToBtnLight { from { background: transparent; border-color: rgba(200,50,50,0.3); } to { background: #1a1a2e; border-color: transparent; } }

/* Header nav on mobile: non-active links are icon-only, so their highlight is a
   centred circle (symmetric padding, no gap). The active page keeps its label and
   the collapse-expand morph. */
@media (max-width: 640px) {
  body[class*="page-"] .nav a:not(.active) { padding: 9px; gap: 0; }
}

/* Brand mark in the nav: the Home link's icon, visible at every width at the left
   of the nav pill; on mobile it takes the 16px icon slot and rides the morph. The
   selector outranks every per-page .nav-icon { display: none } desktop rule. */
body[class*="page-"] .nav a .nav-logo { display: block; width: 18px; height: 18px; }
@media (max-width: 640px) {
  body[class*="page-"] .nav a .nav-logo { width: 16px; height: 16px; }
}

/* Header sign-in link: the portal sign-in link keeps the slot's .theme-toggle
   classes, so every page's rules draw it (the theme is set in the footer's
   Preferences overlay, script.js section 7). These rules undo the pill geometry
   .nav a forces, which a plain body.page-X .theme-toggle rule would lose to. */
html body[class*="page-"] .nav a.nav-signin {
  width: 34px; height: 34px; min-width: 34px; margin-left: 2px;
  padding: 0; gap: 0; font-size: 0; border-radius: 50%;
  text-shadow: none; flex-shrink: 0;
}
html body[class*="page-"] .nav a.nav-signin.active { background: transparent; }
.nav-signin { text-decoration: none; }
.nav-signin .nav-signin-icon { display: block; width: 16px; height: 16px; flex-shrink: 0; }

/* The nav thumb: the pill behind the active link, slid by script.js on desktop.
   Under the links, over the noise layer; the active link's own fill drops while
   the thumb stands in for it. */
body[class*="page-"] .nav .nav-thumb {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none;
  border-radius: 999px; background: rgba(255,255,255,0.12);
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1), width 220ms cubic-bezier(0.32, 0.72, 0, 1);
}
[data-theme="light"] body[class*="page-"] .nav .nav-thumb { background: rgba(0,0,0,0.11); }
html body[class*="page-"] .nav.has-thumb a.active { background: transparent; }
@media (prefers-reduced-motion: reduce) { body[class*="page-"] .nav .nav-thumb { transition: none; } }

/* Brand mark: one element, two background layers, only one drawn: the lit file at
   full size over the dim twin at 0x0. A dip swaps the sizes, so the whole mark
   repaints at once and no pixel stays lit. The pair is built by
   Agency/scripts/markFiles.py; the white pair only under this site's light theme. */
.logo-mark {
  display: inline-block; aspect-ratio: 1 / 1; flex: 0 0 auto;
  background: url('../assets/logos/primaryLogoLit.svg') 0 0 / 100% 100% no-repeat,
              url('../assets/logos/primaryLogoDim.svg') 0 0 / 0 0 no-repeat;
  animation: llMarkWindow 9s steps(1, end) infinite;
}
[data-theme="light"] .logo-mark {
  background-image: url('../assets/logos/primaryLogoLightLit.svg'), url('../assets/logos/primaryLogoLightDim.svg');
}
.footer-logo.logo-mark { width: 48px; }
@keyframes llMarkWindow {
  0%, 88%, 100% { background-size: 100% 100%, 0 0; }
  90%, 93% { background-size: 0 0, 100% 100%; }
  91.5%, 94.5% { background-size: 100% 100%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .logo-mark { animation: none; } }
@keyframes umBlink { 0%, 55% { opacity: 0.8; } 55.01%, 100% { opacity: 0; } }

/* Text inflation lock: mobile Safari and Chrome Android inflate text on rotation to
   landscape and do not reliably undo it, so portrait keeps landscape sizes. 100%,
   not none, keeps pinch-zoom and the OS text size working. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Custom scrollbar in brand amber, site-wide, shown only while in use: the thumb is
   transparent until script.js puts html.ll-scrolling on for a scroll or a pointer at the
   right edge. #f5b342 on dark, #f0a500 on light. Both webkit forms because the viewport
   scrollbar belongs to <html>. Chrome 121+ and Firefox use the standard properties and
   ignore ::-webkit-; Safari uses the 9px ::-webkit- block. */
html { scrollbar-color: transparent transparent; scrollbar-width: thin; }
html.ll-scrolling { scrollbar-color: #f5b342 transparent; }
html[data-theme="light"].ll-scrolling { scrollbar-color: #f0a500 transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
html.ll-scrolling::-webkit-scrollbar-thumb,
html.ll-scrolling ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f5b342, #f0a500);
  background-clip: padding-box;
}
html.ll-scrolling::-webkit-scrollbar-thumb:hover,
html.ll-scrolling ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd98c, #f5b342);
  border: 1px solid transparent;
  background-clip: padding-box;
}
:root[data-theme="light"].ll-scrolling::-webkit-scrollbar-thumb,
:root[data-theme="light"].ll-scrolling ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f0a500, #d99400);
  background-clip: padding-box;
}
:root[data-theme="light"].ll-scrolling::-webkit-scrollbar-thumb:hover,
:root[data-theme="light"].ll-scrolling ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f5b342, #f0a500);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* Cookie consent banner (injected by script.js on every page): blurred glass with
   a faint grid, bottom-anchored, slides up on .ll-cookie-open. Accept and Reject
   have equal prominence. */
/* Text colours are scoped to the component: --text-primary/--text-secondary are
   not declared globally, so without this the text inherits whatever is around it.
   Default is the dark glass; the light override sits with the light cookie rules. */
.ll-cookie, .ll-cookie-overlay {
  --text-primary: rgba(255,255,255,0.92);
  --text-secondary: rgba(255,255,255,0.72);   /* WCAG AA contrast for the 13px bold quiet buttons and descriptions */
}
.ll-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
  display: flex; justify-content: center; padding: 16px;
  pointer-events: none;
}
.ll-cookie-card {
  position: relative; overflow: hidden; pointer-events: auto;
  width: 100%; max-width: 640px;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 32px rgba(77,166,255,0.08), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}
.ll-cookie.ll-cookie-open .ll-cookie-card { transform: translateY(0); opacity: 1; }
/* Faint SVG grid over the glass - matches the content overlay / password gate. */
.ll-cookie-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='160' height='160' fill='none'/%3E%3Cline x1='40' y1='0' x2='40' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='80' y1='0' x2='80' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='120' y1='0' x2='120' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='40' x2='160' y2='40' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='80' x2='160' y2='80' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='120' x2='160' y2='120' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.ll-cookie-body { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; }
.ll-cookie-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--text-primary); margin-bottom: 5px;
}
.ll-cookie-prompt { color: var(--blue-light); font-weight: 800; margin-right: 4px; }
.ll-cookie-text { font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.ll-cookie-link { color: var(--blue-light); text-decoration: none; }
.ll-cookie-link:hover { text-decoration: underline; }
.ll-cookie-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex: 0 0 auto; }
.ll-cookie-btn {
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  padding: 11px 18px; border-radius: 10px; cursor: pointer;
  min-height: 44px; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* The three actions reuse the site's CTA shapes, recoloured: Accept = primary
   (solid), Reject = secondary (outline), Options = tertiary. */
/* Options - tertiary: same outline family as Reject but quieter (fainter border
   + muted text) so the three tie together without competing. */
.ll-cookie-options {
  background: transparent; color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
}
.ll-cookie-options:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
/* Reject - mirrors the secondary CTA (.btn-outline): transparent + border. */
.ll-cookie-reject {
  background: transparent; color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.ll-cookie-reject:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.7); transform: translateY(-1px); }
/* Accept - mirrors the primary CTA (.btn-primary): solid white, dark text. */
.ll-cookie-accept {
  background: #fff; color: var(--bg, #06121f); border: none; box-shadow: none;
}
.ll-cookie-accept:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(77,166,255,0.25); }
/* Footer "Cookie Preferences" - styled to sit alongside the other footer links. */
.ll-cookie-prefs-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; text-decoration: none;
}
[data-theme="light"] .ll-cookie, [data-theme="light"] .ll-cookie-overlay {
  --text-primary: #1a1a2e;
  --text-secondary: rgba(0,0,0,0.72);   /* WCAG AA contrast (see the dark-theme note above) */
}
[data-theme="light"] .ll-cookie-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.62) 100%);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 24px 64px rgba(10,30,61,0.18), 0 0 32px rgba(77,166,255,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] .ll-cookie-reject { background: transparent; color: #1a1a2e; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .ll-cookie-reject:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.6); }
[data-theme="light"] .ll-cookie-accept { background: #1a1a2e; color: #fff; }
[data-theme="light"] .ll-cookie-accept:hover { background: #2a2a4e; box-shadow: 0 8px 30px rgba(43,127,212,0.2); }
@media (max-width: 540px) {
  /* Lift the bar clear of the mobile browser's bottom toolbar;
     env(safe-area-inset-bottom) adds the home-indicator inset (0 where unsupported).
     KEEP IN SYNC with the 0,2,x override near the end of this file. */
  .ll-cookie { padding: 10px 10px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .ll-cookie-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .ll-cookie-actions { width: 100%; }
  .ll-cookie-btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ll-cookie-card { transition: opacity 0.3s ease; transform: none; }
  .ll-cookie.ll-cookie-open .ll-cookie-card { transform: none; }
}

/* Cookie Options overlay: full-page granular consent in the password gate's grid
   and glass. Essential is locked on, Analytics is a switch; Save, Accept all and
   Reject all write and persist consent. */
.ll-cookie-overlay {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(5,10,20,0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.ll-cookie-overlay.ll-cookie-overlay-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
/* Faint full-page SVG grid behind the glass panel. */
.ll-cookie-overlay::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='160' height='160' fill='none'/%3E%3Cline x1='40' y1='0' x2='40' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='80' y1='0' x2='80' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='120' y1='0' x2='120' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='40' x2='160' y2='40' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='80' x2='160' y2='80' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='120' x2='160' y2='120' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.ll-cookie-panel {
  position: relative; width: 100%; max-width: 460px;
  /* Scroll fallback: on a short viewport with background scroll locked, cap the
     panel's height and scroll inside so the buttons stay reachable. */
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 28px 26px 24px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 32px rgba(77,166,255,0.08), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: scale(0.96); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
}
.ll-cookie-overlay.ll-cookie-overlay-open .ll-cookie-panel { transform: scale(1); opacity: 1; }
.ll-cookie-overlay-title { font-size: 15px; margin-bottom: 0; }
.ll-cookie-overlay-title .ll-cookie-prompt { margin-right: 0.31em; }
.ll-cookie-overlay-sub { font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); margin: 8px 0 0; }
.ll-cookie-opts { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 22px; }
.ll-cookie-opt {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.ll-cookie-opt-text { flex: 1 1 auto; min-width: 0; }
.ll-cookie-opt-name { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.ll-cookie-opt-desc { font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
/* Switch (pill toggle) - role="switch", driven by aria-checked. */
.ll-cookie-switch {
  position: relative; flex: 0 0 auto; width: 46px; height: 28px;
  padding: 0; border: none; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ll-cookie-switch-track {
  display: block; width: 46px; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.ll-cookie-switch-thumb {
  position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.ll-cookie-switch[aria-checked="true"] .ll-cookie-switch-track { background: linear-gradient(135deg, #4da6ff, #2b8ae6); border-color: transparent; }
.ll-cookie-switch[aria-checked="true"] .ll-cookie-switch-thumb { transform: translateX(18px); }
.ll-cookie-switch[disabled] { cursor: default; opacity: 0.7; }
.ll-cookie-switch:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 999px; }
.ll-cookie-overlay-actions { display: flex; gap: 10px; }
.ll-cookie-overlay-actions .ll-cookie-btn { flex: 1 1 0; padding: 11px 12px; }
/* Save choices - same quiet tertiary as Options. */
.ll-cookie-save { background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.1); }
.ll-cookie-save:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
/* Close button - mirrors the password-gate close. */
.ll-cookie-overlay-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center; padding: 0;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%);
  color: rgba(255,255,255,0.55); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.ll-cookie-overlay-close:hover { color: #fff; border-color: rgba(255,255,255,0.2); background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.08) 100%); }
.ll-cookie-overlay-close:active { transform: scale(0.94); }
.ll-cookie-overlay-close:focus { outline: none; }
.ll-cookie-overlay-close:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.ll-cookie-overlay-close svg { width: 14px; height: 14px; }
html.ll-cookie-noscroll, html.ll-cookie-noscroll body { overflow: hidden; }
/* Light theme */
[data-theme="light"] .ll-cookie-overlay { background: rgba(238,241,246,0.78); }
[data-theme="light"] .ll-cookie-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.62) 100%);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 24px 64px rgba(10,30,61,0.18), 0 0 32px rgba(77,166,255,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] .ll-cookie-opt { background: rgba(0,0,0,0.025); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .ll-cookie-switch-track { background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.14); }
[data-theme="light"] .ll-cookie-options, [data-theme="light"] .ll-cookie-save { color: rgba(0,0,0,0.72); border-color: rgba(0,0,0,0.1); }   /* WCAG AA contrast */
[data-theme="light"] .ll-cookie-options:hover, [data-theme="light"] .ll-cookie-save:hover { background: rgba(0,0,0,0.04); color: #1a1a2e; border-color: rgba(0,0,0,0.3); }

[data-theme="light"] .ll-cookie-overlay-close {
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
  border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.5);
}
[data-theme="light"] .ll-cookie-overlay-close:hover { background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 100%); border-color: rgba(0,0,0,0.2); color: #1a1a2e; }
@media (max-width: 540px) {
  .ll-cookie-overlay { padding: 16px; }
  .ll-cookie-panel { padding: 24px 20px 20px; }
  .ll-cookie-overlay-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ll-cookie-overlay { transition: opacity 0.2s ease; }
  .ll-cookie-panel { transition: opacity 0.2s ease; transform: none; }
  .ll-cookie-overlay.ll-cookie-overlay-open .ll-cookie-panel { transform: none; }
  .ll-cookie-switch-thumb { transition: none; }
}

/* Autofill: a filled field never gains a background. Chrome and Safari paint
   their own fill and dark ink over autofilled fields; the fill is clipped to the
   glyphs (important, because a page's background shorthand resets the clip), no
   shadow stands in for it, and the words take a light blue tinge instead, caret
   too, per theme. Every kind of field, every state. */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill,
input:-webkit-autofill:hover, textarea:-webkit-autofill:hover, select:-webkit-autofill:hover,
input:-webkit-autofill:focus, textarea:-webkit-autofill:focus, select:-webkit-autofill:focus {
  -webkit-background-clip: text !important; background-clip: text !important; box-shadow: none;
  -webkit-text-fill-color: #d2e9ff;
  caret-color: #d2e9ff;
}
[data-theme="light"] input:-webkit-autofill, [data-theme="light"] textarea:-webkit-autofill, [data-theme="light"] select:-webkit-autofill,
[data-theme="light"] input:-webkit-autofill:hover, [data-theme="light"] textarea:-webkit-autofill:hover, [data-theme="light"] select:-webkit-autofill:hover,
[data-theme="light"] input:-webkit-autofill:focus, [data-theme="light"] textarea:-webkit-autofill:focus, [data-theme="light"] select:-webkit-autofill:focus {
  -webkit-text-fill-color: #1a2c4e;
  caret-color: #1a2c4e;
}
/* Firefox exposes the standard pseudo-class and tints the field with a filter
   instead; kept as its own block because an unrecognised selector would drop
   the whole rule elsewhere. */
input:autofill, textarea:autofill, select:autofill { filter: none; box-shadow: none; -webkit-text-fill-color: #d2e9ff; caret-color: #d2e9ff; }
[data-theme="light"] input:autofill, [data-theme="light"] textarea:autofill, [data-theme="light"] select:autofill { filter: none; box-shadow: none; -webkit-text-fill-color: #1a2c4e; caret-color: #1a2c4e; }

/* Survive the per-page box reset: each page-*.css resets margin and padding at
   0,1,1 after shared.css loads, stripping the cookie rules' box (0,1,0). Re-assert
   it at 0,2,x so it wins on specificity alone. KEEP THESE VALUES IN SYNC with the
   base rules above. */
.ll-cookie.ll-cookie { padding: 16px; }
.ll-cookie .ll-cookie-card { padding: 18px 20px; }
.ll-cookie .ll-cookie-title { margin-bottom: 5px; }
.ll-cookie .ll-cookie-prompt { margin-right: 4px; }
.ll-cookie .ll-cookie-btn { padding: 11px 18px; }
.ll-cookie-overlay.ll-cookie-overlay { padding: 24px; }
.ll-cookie-overlay .ll-cookie-panel { padding: 28px 26px 24px; }
.ll-cookie-overlay .ll-cookie-overlay-sub { margin: 8px 0 0; }
.ll-cookie-overlay .ll-cookie-opts { margin: 20px 0 22px; }
.ll-cookie-overlay .ll-cookie-opt { padding: 14px 16px; }
.ll-cookie-overlay .ll-cookie-opt-name { margin-bottom: 3px; }
.ll-cookie-overlay .ll-cookie-overlay-actions .ll-cookie-btn { padding: 11px 12px; }
@media (max-width: 540px) {
  /* Bottom lift mirrors the base rule above (kept clear of the mobile browser
     chrome + home-indicator inset). KEEP THESE VALUES IN SYNC. */
  .ll-cookie.ll-cookie { padding: 10px 10px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .ll-cookie .ll-cookie-card { padding: 18px; }
  .ll-cookie-overlay.ll-cookie-overlay { padding: 16px; }
  .ll-cookie-overlay .ll-cookie-panel { padding: 24px 20px 20px; }
}

/* The phone line under the footer address: the address's own tone, underlined on hover. */
footer .address a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { footer .address a:hover { text-decoration: underline; } }

/* Skeleton loaders: one definition for the whole site. Only the shimmer lives
   here; size and shape modifiers stay page-scoped. Themes vary the two custom
   properties only: re-setting the background shorthand resets background-size and
   kills the sweep. .sk-mask is the text-preserving variant (a copy of the real
   markup); box-decoration-break:clone gives each wrapped line its own shimmer. */
:root                { --skel-base: rgba(255,255,255,0.04); --skel-hi: rgba(255,255,255,0.10); }
[data-theme="light"] { --skel-base: rgba(0,0,0,0.035);      --skel-hi: rgba(0,0,0,0.08); }

.skeleton,
.skeleton-content .sk-mask,
.skeleton-content .sk-btn-mask {
  background-image: linear-gradient(90deg, var(--skel-base) 25%, var(--skel-hi) 50%, var(--skel-base) 75%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: shimmer 1.6s linear infinite;
}
.skeleton,
.skeleton-content .sk-mask { border-radius: 6px; }
.skeleton { pointer-events: none; }
.skeleton-content .sk-mask,
.skeleton-content .sk-btn-mask {
  color: transparent;
  -webkit-text-fill-color: transparent;
  user-select: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* A whole control masked in place. No border-radius on purpose, so the control's
   own radius applies (a .btn stays a pill); inherit would square every pill. */
.skeleton-content .sk-btn-mask {
  border-color: transparent;
  box-shadow: none;
}
/* Skeleton copies are aria-hidden decoration - never focusable, never
   interactive, and any cloned control is inert. */
.skeleton-content button,
.skeleton-content a,
.skeleton-content input,
.skeleton-content select,
.skeleton-content textarea { pointer-events: none; }

/* Pixel accent: Silkscreen only on the "//" eyebrow labels (.page-label,
   .section-label, .label, .error-label). Excluded though their text
   starts with "//": .code-detail, .cs-label, .um-note. Nothing else may use it. */
.page-label,
.section-label,
.label,
.error-label {
  font-family: 'Silkscreen', monospace;
}

/* Brand amber (#f5b342, the logo's lit window) is the estate's live signal: the
   "//" eyebrows, text selection and a few small badges and accents. Consoles keep
   the blue caret. Keep it to small accents; the working palette stays blue. */

/* The "//" eyebrow labels carry the amber site-wide (same class set as the
   Silkscreen rule). !important on purpose: page CSS colours them blue at higher
   specificity. Light uses #8f6400 (about 4.6:1, WCAG AA); dark keeps #f5b342. */
.page-label,
.section-label,
.label,
.error-label {
  color: #f5b342 !important;
}
[data-theme="light"] .page-label,
[data-theme="light"] .section-label,
[data-theme="light"] .label,
[data-theme="light"] .error-label {
  color: #8f6400 !important;
}
::selection { background: rgba(245,179,66,0.32); color: #fff; }
[data-theme="light"] ::selection { background: rgba(245,179,66,0.5); color: #1a1a2e; }

/* Booking dialog: ll.js's booking module drives it; this is only its look. Cookie
   overlay glass, a Monday-first month grid beside the day's times, each step one
   [data-ll-booking-view] toggled by hidden. aria-busy draws a thin bar across the top. */
html[data-ll-booking-open] { overflow: hidden; }
body[class*="page-"] .bk {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(5,10,20,0.74);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  animation: bkFade 0.28s ease both;
}
body[class*="page-"] .bk[hidden] { display: none; }
body[class*="page-"] .bk-panel {
  position: relative; width: 100%; max-width: 860px;
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
  padding: 36px 36px 32px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.05) 100%), rgba(5,10,20,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  animation: bkRise 0.34s cubic-bezier(0.23, 1, 0.32, 1) both;
}
body[class*="page-"] .bk-panel::before {
  content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  transform: scaleX(0); opacity: 0; transition: opacity 0.2s ease;
}
body[class*="page-"] .bk[aria-busy="true"] .bk-panel::before { opacity: 1; animation: bkBar 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
body[class*="page-"] .bk-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7);
  transition: background 0.16s ease, color 0.16s ease;
}
body[class*="page-"] .bk-close svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { body[class*="page-"] .bk-close:hover { background: rgba(255,255,255,0.1); color: #fff; } }

body[class*="page-"] .bk-view:focus { outline: none; }
body[class*="page-"] .bk-head { margin-bottom: 24px; padding-right: 44px; }
body[class*="page-"] .bk-head .label, body[class*="page-"] .bk-result .label { display: inline-block; margin-bottom: 10px; }
body[class*="page-"] .bk h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #fff; }
body[class*="page-"] .bk h2:focus { outline: none; }
body[class*="page-"] .bk-head p, body[class*="page-"] .bk-result > p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.64); margin-top: 8px; }
body[class*="page-"] .bk-message { margin: 0 0 18px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: #ffb4b4; background: rgba(255,100,100,0.08); border: 1px solid rgba(255,100,100,0.22); }

body[class*="page-"] .bk-pick { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
body[class*="page-"] .bk-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
body[class*="page-"] .bk-month-label { font-size: 15px; font-weight: 700; color: #fff; }
body[class*="page-"] .bk-arrow {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  transition: background 0.16s ease, border-color 0.16s ease;
}
body[class*="page-"] .bk-arrow svg { width: 18px; height: 18px; }
body[class*="page-"] .bk-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { body[class*="page-"] .bk-arrow:not(:disabled):hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); } }
body[class*="page-"] .bk-weekdays, body[class*="page-"] .bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
body[class*="page-"] .bk-weekdays { margin-bottom: 6px; }
body[class*="page-"] .bk-weekdays span { text-align: center; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.45); padding: 4px 0; }
body[class*="page-"] .bk-day {
  aspect-ratio: 1 / 1; min-height: 40px; border-radius: 12px; cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: center; font: inherit; font-size: 14px; font-weight: 600;
  color: #fff; background: rgba(77,166,255,0.08); border: 1px solid rgba(77,166,255,0.22);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}
body[class*="page-"] .bk-day:disabled { cursor: not-allowed; color: rgba(255,255,255,0.28); background: transparent; border-color: transparent; }
body[class*="page-"] .bk-day[data-ll-today]::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: #f5b342; }
body[class*="page-"] .bk-day[aria-pressed="true"] { background: var(--blue-light); border-color: var(--blue-light); color: #050a14; }
@media (hover: hover) and (pointer: fine) { body[class*="page-"] .bk-day:not(:disabled):not([aria-pressed="true"]):hover { background: rgba(77,166,255,0.16); border-color: rgba(77,166,255,0.45); } }
body[class*="page-"] .bk-day:not(:disabled):active, body[class*="page-"] .bk-slot:active { transform: scale(0.96); }

body[class*="page-"] .bk-times { min-width: 0; }
body[class*="page-"] .bk-day-label { font-size: 15px; font-weight: 700; color: #fff; min-height: 40px; display: flex; align-items: center; margin-bottom: 14px; }
body[class*="page-"] .bk-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; padding-right: 2px; }
body[class*="page-"] .bk-slot {
  min-height: 44px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: #fff; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}
body[class*="page-"] .bk-slot[aria-pressed="true"] { background: var(--blue-light); border-color: var(--blue-light); color: #050a14; }
@media (hover: hover) and (pointer: fine) { body[class*="page-"] .bk-slot:not([aria-pressed="true"]):hover { border-color: rgba(77,166,255,0.5); background: rgba(77,166,255,0.08); } }
body[class*="page-"] .bk-empty { font-size: 14px; color: rgba(255,255,255,0.6); }

body[class*="page-"] .bk-when-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
body[class*="page-"] .bk-when-line [data-ll-when] { color: #fff; font-weight: 600; }
body[class*="page-"] .bk-link {
  background: none; border: none; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  color: var(--blue-light); text-decoration: underline; text-decoration-color: rgba(77,166,255,0.35); text-underline-offset: 4px;
}
body[class*="page-"] .bk-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
body[class*="page-"] .bk-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
body[class*="page-"] .bk-field:nth-child(3), body[class*="page-"] .bk-field-wide, body[class*="page-"] .bk-form .bk-message, body[class*="page-"] .bk-form .bk-actions { grid-column: 1 / -1; }
body[class*="page-"] .bk-field label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.72); }
body[class*="page-"] .bk-optional { font-weight: 400; color: rgba(255,255,255,0.45); margin-left: 4px; }
body[class*="page-"] .bk-field input, body[class*="page-"] .bk-field textarea {
  width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); transition: border-color 0.16s ease, background 0.16s ease;
  -webkit-appearance: none; appearance: none;
}
body[class*="page-"] .bk-field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
body[class*="page-"] .bk-field input:focus, body[class*="page-"] .bk-field textarea:focus { border-color: var(--blue-light); background: rgba(77,166,255,0.05); }
body[class*="page-"] .bk-field input::placeholder { color: rgba(255,255,255,0.3); }
body[class*="page-"] .bk-help { font-size: 12.5px; color: rgba(255,255,255,0.5); }
/* What the call is about: one choice, drawn as the time buttons are. */
body[class*="page-"] .bk-topics { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
body[class*="page-"] .bk-topics legend { padding: 0; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.72); }
body[class*="page-"] .bk-topic-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
body[class*="page-"] .bk-topic { position: relative; display: block; cursor: pointer; }
body[class*="page-"] .bk-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
body[class*="page-"] .bk-topic span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border-radius: 12px;
  text-align: center; font-size: 14px; font-weight: 600; line-height: 1.2; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}
body[class*="page-"] .bk-topic input:checked + span { background: var(--blue-light); border-color: var(--blue-light); color: #050a14; }
body[class*="page-"] .bk-topic input:focus-visible + span { outline: 2px solid var(--blue-light); outline-offset: 2px; }
body[class*="page-"] .bk-topic:active span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { body[class*="page-"] .bk-topic input:not(:checked) + span:hover { border-color: rgba(77,166,255,0.5); background: rgba(77,166,255,0.08); } }
@media (max-width: 540px) { body[class*="page-"] .bk-topic-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body[class*="page-"] .bk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
body[class*="page-"] .bk-actions .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
body[class*="page-"] .bk-fine { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.5); }
body[class*="page-"] .bk-fine a { color: rgba(255,255,255,0.75); }

body[class*="page-"] .bk-result { text-align: center; max-width: 520px; margin: 0 auto; padding: 12px 0 4px; }
body[class*="page-"] .bk-result .bk-message { text-align: left; margin-top: 18px; }
body[class*="page-"] .bk-actions-centre { justify-content: center; margin-top: 26px; }
body[class*="page-"] .bk-mark {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #050a14; background: var(--blue-light); box-shadow: 0 0 0 10px rgba(77,166,255,0.12);
  animation: bkPop 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}
body[class*="page-"] .bk-mark svg { width: 30px; height: 30px; }
body[class*="page-"] .bk-when { font-size: 17px; font-weight: 700; color: #fff; margin-top: 12px; }
body[class*="page-"] .bk-when-off { text-decoration: line-through; color: rgba(255,255,255,0.55); }
body[class*="page-"] .bk-compare { display: grid; gap: 10px; margin: 20px auto 0; text-align: left; }
body[class*="page-"] .bk-compare > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); }
body[class*="page-"] .bk-compare dt { font-size: 13px; color: rgba(255,255,255,0.55); }
body[class*="page-"] .bk-compare dd { font-size: 14px; font-weight: 600; color: #fff; text-align: right; margin: 0; }
body[class*="page-"] .bk-cancel-armed { display: none; }
body[class*="page-"] .bk-danger[data-ll-armed] { border-color: rgba(255,100,100,0.6); color: #ffb4b4; }
body[class*="page-"] .bk-danger[data-ll-armed] .bk-cancel-idle { display: none; }
body[class*="page-"] .bk-danger[data-ll-armed] .bk-cancel-armed { display: inline; }

@keyframes bkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bkRise { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes bkPop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes bkBar { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@media (prefers-reduced-motion: reduce) {
  body[class*="page-"] .bk, body[class*="page-"] .bk-panel, body[class*="page-"] .bk-mark { animation: none; }
  body[class*="page-"] .bk[aria-busy="true"] .bk-panel::before { animation: none; transform: scaleX(1); }
}

@media (max-width: 700px) {
  body[class*="page-"] .bk { padding: 0; align-items: stretch; }
  body[class*="page-"] .bk-panel { max-width: none; max-height: none; height: 100%; border-radius: 0; padding: 28px 18px calc(28px + env(safe-area-inset-bottom, 0px)); border: none; }
  body[class*="page-"] .bk-pick { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body[class*="page-"] .bk-slots { max-height: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[class*="page-"] .bk-form { grid-template-columns: minmax(0, 1fr); }
  body[class*="page-"] .bk-day { min-height: 38px; border-radius: 10px; }
  body[class*="page-"] .bk-actions .btn { width: 100%; }
  body[class*="page-"] .bk-compare > div { flex-direction: column; gap: 4px; }
  body[class*="page-"] .bk-compare dd { text-align: left; }
}
/* The outline buttons inside the dialog, for the pages whose own sheet has none. */
body[class*="page-"] .bk .btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
body[class*="page-"] .bk .btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); transform: translateY(-2px); }
[data-theme="light"] body[class*="page-"] .bk { background: rgba(238,241,246,0.76); }
[data-theme="light"] body[class*="page-"] .bk-panel { background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 100%); border-color: rgba(0,0,0,0.08); box-shadow: 0 30px 80px rgba(10,30,61,0.18), inset 0 1px 0 #fff; }
[data-theme="light"] body[class*="page-"] .bk-close, [data-theme="light"] body[class*="page-"] .bk-arrow { color: rgba(0,0,0,0.65); border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.02); }
[data-theme="light"] body[class*="page-"] .bk h2, [data-theme="light"] body[class*="page-"] .bk-month-label, [data-theme="light"] body[class*="page-"] .bk-day-label, [data-theme="light"] body[class*="page-"] .bk-when, [data-theme="light"] body[class*="page-"] .bk-when-line [data-ll-when], [data-theme="light"] body[class*="page-"] .bk-compare dd { color: #1a1a2e; }
[data-theme="light"] body[class*="page-"] .bk-head p, [data-theme="light"] body[class*="page-"] .bk-result > p, [data-theme="light"] body[class*="page-"] .bk-empty { color: rgba(0,0,0,0.64); }
[data-theme="light"] body[class*="page-"] .bk-weekdays span, [data-theme="light"] body[class*="page-"] .bk-help, [data-theme="light"] body[class*="page-"] .bk-fine, [data-theme="light"] body[class*="page-"] .bk-optional, [data-theme="light"] body[class*="page-"] .bk-compare dt { color: rgba(0,0,0,0.56); }
[data-theme="light"] body[class*="page-"] .bk-fine a { color: rgba(0,0,0,0.75); }
[data-theme="light"] body[class*="page-"] .bk-day { color: #1a1a2e; background: rgba(26,102,181,0.07); border-color: rgba(26,102,181,0.25); }
[data-theme="light"] body[class*="page-"] .bk-day:disabled { color: rgba(0,0,0,0.28); background: transparent; border-color: transparent; }
[data-theme="light"] body[class*="page-"] .bk-day[aria-pressed="true"], [data-theme="light"] body[class*="page-"] .bk-slot[aria-pressed="true"] { background: #1a66b5; border-color: #1a66b5; color: #fff; }
[data-theme="light"] body[class*="page-"] .bk-slot { color: #1a1a2e; background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] body[class*="page-"] .bk-field label { color: rgba(0,0,0,0.7); }
[data-theme="light"] body[class*="page-"] .bk-topics legend { color: rgba(0,0,0,0.7); }
[data-theme="light"] body[class*="page-"] .bk-topic span { color: #1a1a2e; background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] body[class*="page-"] .bk-topic input:checked + span { background: #1a66b5; border-color: #1a66b5; color: #fff; }
[data-theme="light"] body[class*="page-"] .bk-field input, [data-theme="light"] body[class*="page-"] .bk-field textarea { color: #1a1a2e; background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.14); }
[data-theme="light"] body[class*="page-"] .bk-field input::placeholder { color: rgba(0,0,0,0.35); }
[data-theme="light"] body[class*="page-"] .bk-link { color: #1a66b5; text-decoration-color: rgba(26,102,181,0.35); }
[data-theme="light"] body[class*="page-"] .bk-message { color: #a02828; background: rgba(200,50,50,0.06); border-color: rgba(200,50,50,0.25); }
[data-theme="light"] body[class*="page-"] .bk-compare > div { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] body[class*="page-"] .bk-when-off { color: rgba(0,0,0,0.5); }
[data-theme="light"] body[class*="page-"] .bk-mark { color: #fff; background: #1a66b5; box-shadow: 0 0 0 10px rgba(26,102,181,0.12); }
[data-theme="light"] body[class*="page-"] .bk-danger[data-ll-armed] { color: #a02828; border-color: rgba(200,50,50,0.5); }
[data-theme="light"] body[class*="page-"] .bk .btn-outline { color: #1a1a2e; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] body[class*="page-"] .bk .btn-outline:hover { border-color: rgba(0,0,0,0.6); background: rgba(0,0,0,0.04); }

/* No backdrop-filter (older Firefox and Safari): the pill and the bubble take a
   near-opaque surface so the page never shows through them. The html prefix
   outranks each page's own nav rule. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body[class*="page-"] .nav,
  html body[class*="page-"] .theme-toggle-mobile { background: rgba(14,18,30,0.94); }
  html[data-theme="light"] body[class*="page-"] .nav,
  html[data-theme="light"] body[class*="page-"] .theme-toggle-mobile { background: rgba(255,255,255,0.96); }
}
