/* Shared desktop, mobile and campus-wrapper presentation. No access or price rules. */
html[data-academy-design] body :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions,.guest-booking-modes) :is(.btn,a),
html[data-academy-design] body [data-group-patio]>.group-lesson-green{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
 min-height:48px!important;padding:12px 16px!important;border-radius:12px!important;
 font-size:14px!important;font-weight:700!important;line-height:1.3!important;
 text-align:center!important;white-space:normal!important;box-sizing:border-box!important;
 box-shadow:none!important;letter-spacing:normal!important;text-decoration:none!important;
}
html[data-academy-design] body .btn.private-lesson-gold,
html[data-academy-design] body .explore-booking-card.explore-private,
html[data-academy-design] body .guest-booking-modes>a[href="#private-lessons/book"]{
 background:#145cc5!important;color:#fff!important;border:1px solid #145cc5!important;
}
html[data-academy-design] body .btn.weekly-red,
html[data-academy-design] body .explore-booking-card.explore-weekly,
html[data-academy-design] body .guest-booking-modes>a[href="#private-lessons/weekly"]{
 background:#bf233b!important;color:#fff!important;border:1px solid #bf233b!important;
}
html[data-academy-design] body .btn.group-lesson-green,html[data-academy-design] body .explore-booking-card.explore-group{
 background:#16756b!important;color:#fff!important;border:1px solid #16756b!important;
}
html[data-academy-design] body .explore-booking-card :is(h2,p,span,svg){color:inherit!important}
/* Match the actual themed containers: legacy :root[data-theme] rules otherwise win. */
:root[data-academy-design][data-theme] body :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions,.guest-booking-selection,.guest-booking-modes,.explore-booking-cards) :is(.btn.private-lesson-gold,.explore-booking-card.explore-private,a[href="#private-lessons/book"]){background:#145cc5!important;background-image:none!important;color:#fff!important;border-color:#145cc5!important}
:root[data-academy-design][data-theme] body :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions,.guest-booking-selection,.guest-booking-modes,.explore-booking-cards,.weekly-plan,.booking-mini-subscription) :is(.btn.weekly-red,.explore-booking-card.explore-weekly,a[href="#private-lessons/weekly"]){background:#bf233b!important;background-image:none!important;color:#fff!important;border-color:#bf233b!important}
:root[data-academy-design][data-theme] body :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions,.guest-booking-modes,.explore-booking-cards,.group-pass-purchase,.group-session-actions,[data-group-patio]) :is(.btn.group-lesson-green,.explore-booking-card.explore-group,a[href="#group-lessons"]){background:#16756b!important;background-image:none!important;color:#fff!important;border-color:#16756b!important}
html[data-academy-design="cuban"][data-theme] body #app .main :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions) :is(.private-lesson-gold,.weekly-red,.group-lesson-green) .lesson-service-icon,
:root[data-academy-design][data-theme] body .lesson-service-icon{color:inherit!important;stroke:currentColor!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;box-sizing:border-box!important}
html[data-academy-design][data-theme] body .mobile-schedule-sheet .mobile-schedule-choice.is-private{background:#145cc5!important;color:#fff!important;border-color:#145cc5!important}
html[data-academy-design][data-theme] body .mobile-schedule-sheet .mobile-schedule-choice.is-weekly{background:#bf233b!important;color:#fff!important;border-color:#bf233b!important}
html[data-academy-design][data-theme] body .mobile-schedule-sheet .mobile-schedule-choice.is-group{background:#16756b!important;color:#fff!important;border-color:#16756b!important}
html[data-academy-design][data-theme] body .mobile-schedule-sheet .mobile-schedule-choice:is(.is-private,.is-weekly,.is-group){padding:12px 14px!important;gap:12px!important;min-height:68px!important;border-radius:12px!important;box-shadow:none!important}
html[data-academy-design][data-theme] body .mobile-schedule-sheet .mobile-schedule-choice:is(.is-private,.is-weekly,.is-group) :is(strong,small,span,b,svg){color:inherit!important}
html[data-academy-design] body :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions) .btn::after,
html[data-academy-design] body [data-group-patio]>.group-lesson-green::after{content:none!important;animation:none!important}
html[data-academy-design] body .lesson-service-icon{width:22px!important;height:22px!important;flex:0 0 22px!important;display:block!important;stroke-width:1.7!important;transform:none!important;filter:none!important}
html[data-academy-design] body :is(.btn,.guest-slot-actions>button):focus-visible,
html[data-academy-design] body .guest-slot-popover .booking-choice-menu>button:focus-visible,
.group-policy-info>summary:focus-visible{outline:3px solid #e9b832!important;outline-offset:3px!important}
html[data-academy-design] body #private-lessons #booking-slot-actions #book-selected,
html[data-academy-design] body .guest-slot-popover [data-slot-continue],
html[data-academy-design] body .guest-slot-actions>[data-slot-continue]{background:#145cc5!important;border-color:#145cc5!important;color:#fff!important}
html[data-academy-design] body #private-lessons #booking-slot-actions #book-another,
html[data-academy-design] body .guest-slot-popover [data-slot-add],
html[data-academy-design] body .guest-slot-actions>[data-slot-add]{background:#f6cf4c!important;border-color:#dcaf26!important;color:#29230c!important}
html[data-academy-design] body #private-lessons #booking-slot-actions #book-repeat,
html[data-academy-design] body .guest-slot-popover [data-slot-repeat],
html[data-academy-design] body .guest-slot-actions>[data-slot-repeat]{background:#bf233b!important;border-color:#bf233b!important;color:#fff!important}
html[data-academy-design] body .guest-slot-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:12px;min-height:46px;font-weight:700;line-height:1.3}
html[data-academy-design] body .guest-slot-popover .booking-choice-menu{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;box-sizing:border-box}
html[data-academy-design] body .guest-slot-popover .booking-choice-menu>button{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;min-height:68px!important;padding:10px 7px!important;border:1px solid transparent;border-radius:10px!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;white-space:normal!important;text-align:center!important;box-sizing:border-box!important}
html[data-academy-design] body .guest-slot-popover .booking-choice-menu>button svg{display:block;width:22px!important;height:22px!important;flex:0 0 22px!important}
html[data-academy-design] body .guest-slot-popover .booking-choice-short{display:none}
html[data-academy-design] body :is(.group-classes-page,.weekly-page){max-width:1120px;margin-inline:auto}
html[data-academy-design] body .group-pass-card{background:#f3faf8;border:1px solid #c8e4df;border-radius:18px}
html[data-academy-design] body .group-page-icon{background:#16756b;border-radius:16px}
html[data-academy-design] body .group-pass-purchase>.btn{width:auto;max-width:320px;min-height:46px;padding:12px 22px;font-size:15px;align-self:flex-start}
html[data-academy-design] body .group-about{padding:24px;margin-block:24px;border:1px solid #d9e5e3;border-radius:18px;background:#fff}
.group-about>summary{cursor:pointer;font-size:18px;font-weight:700;line-height:1.4;color:#142e48}
.group-about>.group-experience{margin-top:20px;padding:0;background:none;border:0}
.group-experience-heading{display:flex;align-items:center;gap:10px;position:relative}
.group-experience-heading>h2{margin:0;min-width:0;flex:1;font-size:22px;line-height:1.35}
.group-policy-info{position:relative;flex:0 0 auto;align-self:center}
.group-policy-info>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:32px;height:32px;border:1px solid #a9c6c0;border-radius:50%;color:#19675e;background:#f2faf8}
.group-policy-info>summary::-webkit-details-marker{display:none}
.group-policy-info>summary svg{display:block;width:18px;height:18px}
.group-policy-info-content{position:absolute;z-index:12;right:0;top:40px;width:min(360px,calc(100vw - 56px));padding:18px;background:#fff;border:1px solid #c4d9d4;border-radius:12px;box-shadow:0 8px 28px #133e3826;color:#233d48;font-size:14px;line-height:1.55}
.group-policy-info-content>p:first-child{margin-top:0}.group-policy-info-content>p:last-child{margin-bottom:0}
.group-public-window{color:#526775;font-size:13px;margin-top:6px}
.booking-layout .guest-booking-selection{min-width:0;width:100%;box-sizing:border-box;background:#fff;color:#173151;border:1px solid #cdddf4;border-radius:14px;padding:18px;margin:22px 0 0;box-shadow:none}
.booking-layout .guest-booking-selection h2{font-size:20px;line-height:1.3;color:#082c61;margin:0 0 15px}
.booking-layout .guest-booking-selection :is(p,small,label){color:#35516f}
.booking-layout .guest-selected-time{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e4eaf2;min-width:0}
.booking-layout .guest-selected-time>span{flex:1;min-width:0;overflow-wrap:anywhere}
.booking-layout .guest-selected-time>button{flex:0 0 30px;width:30px;height:30px;border:1px solid #cedbe9;border-radius:50%;background:#fff;color:#8d2035;font-size:20px;line-height:1;cursor:pointer}
.booking-layout .guest-booking-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;font-size:15px}
.booking-layout .guest-booking-total>strong{font-size:22px;color:#093e83}
.booking-layout .guest-booking-selection>[data-guest-continue]{width:100%;min-height:45px}
.booking-layout .guest-booking-selection .guest-tentative,.booking-layout .guest-booking-selection .guest-date-limit{font-size:12px;line-height:1.5}
.booking-parity-private label:has(>[data-guest-offer]){display:block;margin:0 0 18px;color:#173557;font-size:14px;font-weight:650;line-height:1.5}
.booking-parity-private [data-guest-offer]{display:block;width:100%;min-height:44px;margin-top:7px;padding:11px 12px;border:1px solid #a9bfd9;border-radius:10px;background:#fff;color:#173557;font:inherit;font-size:16px;line-height:1.4;box-sizing:border-box}
.booking-layout .guest-booking-slots{display:flex;flex-wrap:wrap;gap:8px}
.booking-layout .guest-booking-slots>button{min-width:74px;min-height:40px;padding:8px 12px;border:1px solid #a9c6e8;background:#fff;color:#154c8a;border-radius:9px;font-weight:650}
.booking-layout .guest-booking-slots>button.is-selected{background:#145cc5;color:#fff;border-color:#145cc5}
.booking-layout .booking-days.week-strip>button[aria-pressed="true"]{background:#145cc5!important;color:#fff!important}
html[data-academy-design] body .group-cuba-flag,html[data-academy-design] body .group-cuba-flag>*{background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:700px){
 html[data-academy-design] body :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions,.guest-booking-modes) :is(.btn,a){font-size:12px!important;padding:10px 8px!important;gap:7px!important;min-height:46px!important}
 html[data-academy-design] body .group-page-heading h1{font-size:25px}
 html[data-academy-design] body .guest-slot-popover .booking-choice-long{display:none!important}
 html[data-academy-design] body .guest-slot-popover .booking-choice-short{display:block!important}
 html[data-academy-design] body .guest-slot-popover .booking-choice-menu>button{font-size:11px!important;min-height:64px!important;padding:8px 5px!important}
 html[data-academy-design] body .group-page-heading{gap:12px;margin-bottom:18px}
 html[data-academy-design] body .group-page-icon{width:46px;height:46px;flex-basis:46px}
 html[data-academy-design] body .group-pass-card,html[data-academy-design] body .group-about,html[data-academy-design] body .group-session-list{padding:18px 16px;border-radius:14px}
 html[data-academy-design] body .group-pass-card{gap:15px}
 html[data-academy-design] body .group-pass-purchase>.btn{max-width:none;width:100%;align-self:stretch}
 .group-experience-heading>h2{font-size:19px;line-height:1.35}
 .group-policy-info-content{width:min(310px,calc(100vw - 70px))}
 .group-about>.group-experience ul{grid-template-columns:1fr;gap:18px}
 .group-about>.group-experience li{gap:10px}
 .weekly-page{min-width:0}.weekly-plan{min-width:0;max-width:100%;box-sizing:border-box}
}
@media(prefers-reduced-motion:reduce){.group-about,.group-policy-info-content{animation:none!important;transition:none!important}}

/* Restore desktop fills against the older #app .main white-button override. */
@media (min-width:701px){
 html[data-academy-design="cuban"][data-theme] body #app .main :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions) .btn.private-lesson-gold{
  background:#145cc5!important;background-color:#145cc5!important;background-image:none!important;color:#fff!important;border-color:#145cc5!important;
 }
 html[data-academy-design="cuban"][data-theme] body #app .main :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions) .btn.weekly-red{
  background:#bf233b!important;background-color:#bf233b!important;background-image:none!important;color:#fff!important;border-color:#bf233b!important;
 }
 html[data-academy-design="cuban"][data-theme] body #app .main :is(.lesson-booking-cards,.calendar-booking-actions,.patio-booking-actions) .btn.group-lesson-green,
 html[data-academy-design="cuban"][data-theme] body #app .main [data-group-patio]>.btn.group-lesson-green{
  background:#16756b!important;background-color:#16756b!important;background-image:none!important;color:#fff!important;border-color:#16756b!important;
 }
}
