/* Shared Liquid Glass action buttons. Page/editor CSS controls placement only. */
:is(.text-cta, .launch-button) {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  clip-path: inset(0 round 999px);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-width: 0;
  max-width: 100%;
  min-height: 76px !important;
  padding: 22px 32px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--glass-ink, inherit) !important;
  background: radial-gradient(ellipse at 78% 110%, var(--glass-tint, #23527866), transparent 75%), radial-gradient(ellipse at 20% 0%, #ffffff24, transparent 65%), linear-gradient(115deg, #ffffff12, #ffffff05 52%, #ffffff14) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 1px #ffffff66, inset 0 -1px 1px #0b0b0b12, inset 1px 0 1px #ffffff26, inset -1px 0 1px #ffffff1a, 0 8px 24px #071b3926 !important;
  font-family: 'HouseText', 'Arial Narrow', Arial, sans-serif !important;
  font-size: var(--glass-label-size, clamp(16px, 1.25vw, 20px)) !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
  text-align: center !important;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s ease, box-shadow .22s ease !important;
}
:is(.text-cta, .launch-button)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, #ffffffa6, #0b0b0b12 32%, #ffffff12 55%, #ffffff66 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
:is(.text-cta, .launch-button)::after {
  content: '';
  position: absolute;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 36%, #ffffff03 40%, #ffffff40 49%, #ffffff0a 56%, transparent 65%);
  background-size: 250% 100%;
  background-position: 200% 50%;
  transform: none !important;
  opacity: 0;
}
:is(.text-cta, .launch-button) > .button-label,
:is(.text-cta, .launch-button) > img { position: relative; z-index: 2; }
:is(.text-cta, .launch-button):not(:disabled):hover,
:is(.text-cta, .launch-button):not(:disabled):focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 2px #ffffff8c, inset 0 -1px 1px #0b0b0b1a, 0 12px 30px #071b3938 !important;
}
:is(.text-cta, .launch-button):not(:disabled):is(:hover, :focus-visible)::after { animation: house-glass-light-pass 1.6s ease-in-out both; }
:is(.text-cta, .launch-button):not(:disabled):active {
  transform: translateY(1px) scale(.985);
  box-shadow: inset 0 1px 3px #071b3926, inset 0 -1px 1px #ffffff40, 0 3px 10px #071b3926 !important;
}
:is(.text-cta, .launch-button):focus-visible { outline: 2px solid var(--coral, #235278); outline-offset: -4px !important; }
:is(.text-cta, .launch-button):disabled { opacity: .45; cursor: not-allowed; }
:is(.text-cta, .launch-button):disabled::after { animation: none !important; opacity: 0; }
/* Idle attention belongs to primary actions, not every table/editor control. */
:is(.launch-button, .article33-access-button, .article33-export-button):not(:disabled)::after { animation: house-glass-light-pass 7s ease-in-out 1.4s infinite; }
@keyframes house-glass-light-pass {
  0%, 8% { background-position: 200% 50%; opacity: 0; }
  12% { opacity: .65; }
  30% { background-position: -100% 50%; opacity: .65; }
  36%, 100% { background-position: -100% 50%; opacity: 0; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :is(.text-cta, .launch-button) { background: var(--paper, #f7f7f4) !important; color: var(--ink, #0b0b0b) !important; box-shadow: 0 0 0 1px currentColor !important; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.text-cta, .launch-button) { transition: none !important; transform: none !important; }
  :is(.text-cta, .launch-button)::after { animation: none !important; opacity: 0; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :is(.text-cta, .launch-button) { background: var(--paper, #f7f7f4) !important; color: var(--ink, #0b0b0b) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 0 0 1px currentColor !important; }
  :is(.text-cta, .launch-button)::after { animation: none !important; opacity: 0; }
}
@media (forced-colors: active) {
  :is(.text-cta, .launch-button) { background: ButtonFace !important; color: ButtonText !important; border: 1px solid ButtonText !important; box-shadow: none !important; }
  :is(.text-cta, .launch-button)::before, :is(.text-cta, .launch-button)::after { display: none; }
}

/* Surface-aware tints are shared by React pages and the product landing. */
:is(.text-cta, .launch-button)[data-glass-surface="light"] { --glass-tint:#23527866!important; }
:is(.text-cta, .launch-button)[data-glass-surface="dark"] { --glass-tint:#f2544766!important; }
:is(.text-cta, .launch-button) > .button-label,
:is(.text-cta, .launch-button) > .button-label :is(span,b,strong) { font-size:inherit; font-weight:400!important; }
/* Round control reference: product programme, gallery, calendar and process slider. */
:root body :is(.programme-toggle,.schedule-arrow,.stages-arrow,.website-gallery-arrow,.ai-dialog-close,.hero-video-play,.glass-round).text-cta {
 --glass-round-size:76px;width:var(--glass-round-size)!important;height:var(--glass-round-size)!important;min-height:var(--glass-round-size)!important;padding:0!important;aspect-ratio:1;border-radius:50%!important;flex:none;
}
.hero-video-play.text-cta .button-label { gap:5px; }
.hero-video-play.text-cta svg { width:26px;height:26px; }
@media(min-width:761px) and (max-height:850px) { :root body :is(.programme-toggle,.schedule-arrow,.stages-arrow,.website-gallery-arrow,.ai-dialog-close,.hero-video-play,.glass-round).text-cta { --glass-round-size:70px; } }
@media(max-width:760px) { :root body :is(.programme-toggle,.schedule-arrow,.stages-arrow,.website-gallery-arrow,.ai-dialog-close,.hero-video-play,.glass-round).text-cta { --glass-round-size:44px; } .hero-video-play.text-cta .button-label { gap:0; } .hero-video-play.text-cta svg {width:18px;height:18px} .hero-video-play.text-cta .button-label>span {font-size:10px} }
