/* Additive R8 layout; the R2 colour and type tokens are unchanged. */
.r8-shell{max-width:1220px;margin:28px auto 95px;padding:0 24px}.r8-surface{background:var(--paper);border:0;padding:0}.r8-surface .page-intro{padding-top:12px}.r8-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 16px;background:var(--lavender);border-radius:16px;margin:0 0 22px;font-size:13px}.r8-context .tag{background:#fff}.r8-surface>.field{max-width:670px}.r8-surface .booking-actions{max-width:100%;padding:20px 0;gap:14px}.r8-surface .notice{margin-bottom:20px}.r8-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.r8-offers:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.r8-offers .r5-offer{padding:24px;min-width:0}.r8-pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.r8-pro-card{display:flex;gap:24px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;min-width:0}.r8-pro-grid .r8-pro-card{display:block}.r8-pro-card img{display:block;max-width:100%;width:180px;height:225px;object-fit:cover;border-radius:16px;margin:0 auto 20px}.r8-pro-card h2{font-size:24px;margin:12px 0}.r8-pro-card p{margin:10px 0;font-size:13px}.r8-card-actions{display:grid;gap:8px;margin-top:20px}.r8-calendar-layout{display:grid;grid-template-columns:220px minmax(260px,1.15fr) minmax(220px,1fr);gap:20px;align-items:start}.r8-pro-summary,.r8-calendar,.r8-slots{background:#fff;border:1px solid var(--line);padding:20px;border-radius:20px;min-width:0}.r8-pro-summary img{width:100px;height:125px;object-fit:cover;border-radius:14px;float:none;margin-bottom:12px}.r8-pro-summary h2{font-size:23px;margin-bottom:10px}.r8-pro-summary p{font-size:13px;margin:8px 0 14px}.r8-pro-summary .btn{width:100%;font-size:12px}.r8-calendar .calendar-head .btn{padding:4px 12px;min-width:44px;min-height:44px}.r8-calendar .calendar-head strong{font-size:14px;text-transform:capitalize}.r8-days,.r8-calendar .weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.r8-calendar .weekdays{margin:16px 0;font-size:12px}.r8-days button{border:1px solid var(--line);border-radius:10px;background:white;min-height:40px;font-size:13px;padding:2px}.r8-days button[aria-pressed=true]{background:var(--primary);color:white}.r8-days button:disabled{background:#f5f5f8;color:#9b9bab}.r8-slots h2{font-size:20px;margin-bottom:18px}.r8-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.r8-slot-grid button{min-width:0;padding:9px 4px;min-height:46px;font-size:11px;white-space:nowrap}.r8-slots>.small{margin-top:18px}.r8-children{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.r8-children:has(> :only-child){grid-template-columns:minmax(0,730px)}.r8-series{margin:14px 0}.r8-series h2{font-size:23px;margin-bottom:8px}.r8-series ol{padding:0;margin:16px 0;list-style:none}.r8-series li{display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.r8-series li.conflict{background:#fff0dd}.r8-total{display:flex;justify-content:space-between;align-items:center;background:var(--navy);color:white;border-radius:18px;padding:24px;margin:20px 0;gap:18px}.r8-total strong{font-size:28px}.r8-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.r8-appointments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.r8-appointments h2{font-size:21px;margin:15px 0}.r8-appointments p{margin:10px 0}.r8-appointments .btn{font-size:12px;padding:10px}.r8-demo-controls{margin:24px 0;padding:16px;border:1px dashed var(--line);border-radius:14px}.r8-demo-controls summary{cursor:pointer;font-size:13px}.r8-demo-controls .btn{margin:12px 8px 0 0;font-size:12px}.r8-password{display:flex;position:relative;gap:7px;align-items:center}.r8-password input{padding-right:78px}.r8-password .icon-btn{position:absolute;right:5px;top:5px;font-size:11px;min-width:64px;height:40px}.r8-password-rules{display:grid;grid-template-columns:1fr 1fr;padding:0;list-style:none;font-size:13px;gap:8px;margin:20px 0}.r8-password-rules li::before{content:'\25cb';margin-right:8px}.r8-password-rules li.valid{color:#26724c}.r8-password-rules li.valid::before{content:'\2713'}.r8-role-links{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:20px}.r8-modal{max-width:700px;width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:auto}.r8-modal::backdrop{background:#161b3c66;backdrop-filter:blur(3px)}.r8-modal .dialog-body{padding:26px}.r8-modal h2{font-size:28px;margin:20px 0}.r8-contract{font-size:14px;line-height:1.65}.r8-contract p{font-size:14px;line-height:1.65;margin:15px 0}.r8-contract small{display:block;color:var(--muted);font-size:11px;margin-top:15px}.r8-contract summary{cursor:pointer;padding:12px 0}.r8-modal .footer-actions{position:sticky;bottom:0;background:white;border-top:1px solid var(--line);padding:18px 26px;display:flex;justify-content:flex-end;gap:10px}.r8-change-grid{display:grid;gap:12px}.r8-event-title{overflow-wrap:anywhere;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.r8-surface input,.r8-surface textarea{max-width:100%}.r8-surface input[type=file]{width:100%;font-size:13px}.r8-surface .check-row{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:14px}.r8-surface .check-row input{width:20px;height:20px;flex-shrink:0}.r8-surface details.panel{margin:20px 0}.r8-surface summary{cursor:pointer}.r8-surface .table-wrap table{min-width:600px}.r8-surface .panel .btn{margin:7px 7px 0 0}
@media(max-width:1000px){.r8-calendar-layout{grid-template-columns:1fr 1fr}.r8-pro-summary{grid-column:1/-1;display:grid;grid-template-columns:88px 1fr auto;gap:6px 18px;align-items:center}.r8-pro-summary img{width:80px;height:100px;grid-row:1/5;margin:0}.r8-pro-summary h2{margin:0}.r8-pro-summary .btn{grid-column:3;grid-row:1/4}.r8-pro-summary p{margin:0}.r8-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.r8-shell{padding:0 16px;margin-top:14px}.r8-surface h1{font-size:30px}.r8-context{font-size:11px;gap:6px;padding:12px}.r8-context .tag{font-size:10px}.r8-calendar-layout,.r8-offers,.r8-offers:has(> :nth-child(2):last-child),.r8-children,.r8-form-grid,.r8-pro-grid,.r8-appointments{grid-template-columns:1fr}.r8-pro-summary{grid-column:auto;grid-template-columns:70px 1fr}.r8-pro-summary img{width:65px;height:81px;grid-row:1/4}.r8-pro-summary h2{font-size:20px}.r8-pro-summary .btn{grid-column:1/-1;grid-row:auto;margin-top:10px}.r8-pro-summary p{font-size:12px}.r8-calendar,.r8-slots{padding:16px}.r8-days button{min-height:38px}.r8-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.r8-slot-grid button{font-size:11px;min-height:45px}.r8-series li{flex-wrap:wrap;gap:6px 12px}.r8-series li strong{flex-basis:100%}.r8-total{padding:20px}.r8-total strong{font-size:25px}.r8-pro-card{flex-direction:column}.r8-modal .dialog-body{padding:19px}.r8-modal h2{font-size:25px}.r8-modal .footer-actions{padding:14px 19px}.r8-modal .footer-actions .btn{font-size:12px;padding:12px}.r8-password-rules{font-size:12px}.r8-appointments .panel{padding:20px}.r8-surface .booking-actions{position:static}.r8-surface .panel h2{font-size:23px}}
@media(max-width:360px){.r8-shell{padding:0 12px}.r8-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r8-calendar{padding:12px}.r8-days button{min-height:36px}.r8-surface .booking-actions .btn{font-size:11px}}
@media(max-width:1000px){.r8-pro-summary>h2{grid-column:2;grid-row:1}.r8-pro-summary>p:not(.small){grid-column:2;grid-row:2}.r8-pro-summary>strong{grid-column:2;grid-row:3}.r8-pro-summary>.small{grid-column:2;grid-row:4;line-height:1.5}.r8-pro-summary>img{grid-row:1/5}.r8-pro-summary>.btn{grid-column:3;grid-row:1/5}}
@media(max-width:640px){.r8-pro-summary{gap:5px 14px;padding:16px}.r8-pro-summary>.small{grid-column:2;grid-row:4}.r8-pro-summary>.btn{grid-column:1/-1;grid-row:5;margin-top:8px}.r8-shell{margin-bottom:40px}}

.r8-change-person{display:flex;gap:12px;align-items:center}.r8-change-person img{width:48px;height:60px;border-radius:9px;object-fit:cover;flex-shrink:0}.r8-change-person .choice{flex:1;min-width:0}
/* R8: same R2 tokens; compact contextual booking and a single payment workspace. */
.r8-shell{max-width:1140px;margin:22px auto 40px;padding:0 28px}
.r8-surface .page-intro{padding:6px 0 22px;max-width:800px}
.r8-surface .page-intro h1{font-size:36px;line-height:1.14;letter-spacing:-.035em;margin-bottom:12px}
.r8-surface .page-intro p{font-size:15px;line-height:1.55;max-width:650px}
.r8-surface h2{font-size:23px;line-height:1.25}
.r8-surface .btn{min-height:44px;border-radius:13px;padding:10px 16px;font-size:13px;gap:8px}
.r8-surface .booking-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px;padding:14px 0;border-top:1px solid var(--line)}
.r8-surface .booking-actions .btn{width:auto;min-width:110px}
body[data-screen=B01] .r8-shell,body[data-screen=X02] .r8-shell{max-width:690px}
.r8-narrow{max-width:610px}.r8-narrow .field{margin:15px 0}
.r8-surface .field>span{font-size:14px}.r8-surface .field input{font-size:16px;min-height:46px}
.r8-surface .field textarea{font-size:16px;line-height:1.5;min-height:84px;padding:12px 14px}
.r8-surface .field textarea[rows="2"]{min-height:68px}
.r8-field-message{font-size:13px;line-height:1.45;margin-top:8px;min-height:0}
.r8-field-message:empty{display:none}.r8-field-message.invalid{color:var(--danger);background:#fff0f3;border-radius:10px;padding:11px}
.r8-surface [aria-invalid=true]{border-color:var(--danger)}
.r8-identity{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--pale);border:1px solid var(--line);border-radius:15px;padding:13px 17px;margin-bottom:22px;font-size:14px}
.r8-identity small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.r8-recipient-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.r8-surface .choice{min-height:92px;padding:17px;border-radius:16px;font-size:15px;text-align:left}
.r8-surface .choice small{display:block;line-height:1.45;font-size:12px;color:var(--muted);margin-top:6px}
.r8-surface .choice[aria-pressed=true] small{color:inherit}
.r8-mode-line{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap;margin:18px 0}
.r8-mode-line .tag{padding:9px 13px;font-size:13px}
.r8-surface .btn.text-link{background:transparent;color:var(--primary);border:0;padding:8px 0;text-decoration:underline;text-underline-offset:3px;min-width:0;transform:none}
.r8-location{background:var(--pale);padding:14px 18px;border-radius:13px;margin:12px 0;font-size:13px;display:grid;gap:4px}
.r8-location span{color:var(--muted)}
.r8-intake-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:760px}
.r8-intake-layout:has(.r8-participant),.r8-intake-layout:has(.r8-family-members){max-width:none;grid-template-columns:1fr 1fr}
.r8-intake-layout .r8-intake-main{min-width:0}
.r8-intake-layout .panel{box-shadow:none;padding:20px}
.r8-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.r8-intake-layout .r8-form-grid{grid-template-columns:1fr}
.r8-family-members{display:grid;gap:14px}
.r8-data-note{line-height:1.55;font-size:12px}
.r8-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
.r8-children:has(> :only-child){grid-template-columns:minmax(0,710px)}
.r8-small-options .choice{min-height:52px;padding:11px;font-size:12px}
.r8-small-options{gap:8px;margin:12px 0;grid-template-columns:1fr 1fr}
.r8-offers{gap:16px;margin:20px 0}.r8-offers .r5-offer{padding:22px;min-height:0}
.r8-offers .offer-price{font-size:34px;margin:13px 0}.r8-offers .r5-offer h2{font-size:25px}
.r8-offers .r5-offer p{font-size:13px;line-height:1.5}.r8-offers .r5-offer .btn{margin-top:12px;align-self:flex-start;min-width:120px;width:auto}
.r8-offers .r6-once-price{padding:11px 13px;margin:13px 0;border-radius:12px}
.r8-series{padding:22px;box-shadow:none;margin-bottom:16px}.r8-series h2{font-size:22px;margin:0}.r8-series p{font-size:13px;margin:5px 0}
.r8-series ol{list-style:none;padding:0;margin:12px 0 0}.r8-series li{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}
.r8-series li strong{min-width:105px}.r8-series .conflict{background:#fff0dd;border-radius:10px}
.r8-checkout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.5fr);gap:22px;align-items:start}
.r8-checkout .panel{padding:24px;box-shadow:none}.r8-payment-summary{position:sticky;top:105px}
.r8-payment-item{display:flex;justify-content:space-between;gap:12px;margin-top:17px;padding-bottom:15px;border-bottom:1px solid var(--line);font-size:14px}
.r8-payment-item small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.45}
.r8-payment-item b{white-space:nowrap}.r8-due{display:flex;align-items:baseline;justify-content:space-between;margin:20px 0 12px;font-size:15px}.r8-due strong{font-size:28px}
.r8-methods{display:flex;gap:8px;margin:14px 0}.r8-methods .choice{min-height:45px;padding:10px 14px;flex:1;text-align:center;font-size:13px;border-radius:12px}
.r8-payment-destination{background:var(--pale);border-radius:13px;padding:13px 16px;font-size:13px}
.r8-payment-destination p{font-size:12px;margin:4px 0;line-height:1.5}.r8-payment-destination small{font-size:11px;color:var(--muted)}
.r8-pay-form .field{margin:17px 0 9px}.r8-file-selected{padding:9px 13px;background:var(--pale);border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;margin:12px 0}
.r8-file-selected span{overflow-wrap:anywhere;min-width:0}
.r8-agreement-line{margin:20px 0;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--pale)}
.r8-surface .r8-agreement-line .check-row{margin:0 0 8px;font-size:13px;line-height:1.6;align-items:center}
.r8-agreement-line .btn{margin:0 0 8px!important}.r8-agreement-line .small{font-size:11px;line-height:1.5}
.r8-agreement-line #agreement-state{display:block;font-size:12px;color:var(--success);margin-top:4px}
.r8-pay-form .booking-actions{justify-content:flex-end;margin-bottom:0;padding-bottom:0}
.r8-privacy-info{font-size:11px;color:var(--muted);display:flex;justify-content:center;align-items:center;gap:10px;padding:12px 24px;flex-wrap:wrap}
.r8-privacy-info .text-link{font-size:11px;min-height:32px;background:transparent;color:inherit;border:0;padding:0;text-decoration:underline}
.r8-modal .r8-contract p{font-size:14px;line-height:1.6;margin:12px 0}.r8-modal .r8-contract small{font-size:11px;color:var(--muted)}
.r8-modal .r8-contract summary{padding:10px 0;font-size:13px}
@media(max-width:760px){
 .r8-checkout,.r8-intake-layout:has(.r8-participant),.r8-intake-layout:has(.r8-family-members){grid-template-columns:1fr}
 .r8-payment-summary{position:static}.r8-children{grid-template-columns:1fr}
 .r8-surface .page-intro h1{font-size:30px}.r8-surface .page-intro p{font-size:14px}
 .r8-checkout{gap:15px}.r8-payment-summary .r8-payment-item{margin-top:10px;padding-bottom:10px}.r8-due{margin-top:12px}
 .r8-shell{padding:0 18px}.r8-recipient-grid{grid-template-columns:1fr}
 .r8-surface .choice{min-height:76px}.r8-methods .choice{min-height:44px}
 .r8-checkout .panel{padding:18px}.r8-series{padding:18px}
 .r8-identity{padding:11px 14px}.r8-identity small{font-size:11px}
 .r8-offers .r5-offer{padding:18px}.r8-offers .r5-offer h2{font-size:22px}
 .r8-offers .offer-price{font-size:30px;margin:8px 0}.r8-offers .r5-offer p{font-size:12px}
 .r8-offers .r5-offer .offer-badge{font-size:10px}.r8-series li{flex-wrap:wrap;font-size:12px}
 .r8-mode-line{gap:8px;margin:14px 0}.r8-mode-line .tag{font-size:12px}
 .r8-payment-item{font-size:13px}.r8-due strong{font-size:25px}
 .r8-privacy-info{padding-bottom:92px}.r8-surface .booking-actions .btn{min-width:100px}
}
@media(max-width:360px){.r8-shell{padding:0 14px}.r8-surface .page-intro h1{font-size:28px}.r8-methods .choice{padding:9px 6px;font-size:12px}.r8-surface .field input{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.r8-payment-summary h2{font-size:18px;margin-bottom:9px}.r8-payment-summary .btn{margin-top:8px!important}
.r8-reference-optional,.r8-instalments{font-size:12px;border-bottom:1px solid var(--line);padding:12px 0}
.r8-reference-optional summary,.r8-instalments summary{min-height:32px;display:flex;align-items:center;color:var(--primary);cursor:pointer}
.r8-instalments .row{margin:8px 0}.r8-instalments .btn{min-height:40px;padding:8px 10px;font-size:12px}
.r8-pay-form .r8-payment-destination{padding:10px 14px}
.compact-footer{padding:0 0 32px;margin:20px 0 0;background:transparent}
.compact-footer .r8-privacy-info{padding:8px 20px 0;gap:8px;font-size:11px}
.compact-footer>.wrap{padding-top:8px;padding-bottom:12px;font-size:12px;justify-content:space-between}
.compact-footer .text-link{font-size:12px}
.footer .r8-privacy-info{color:#e2e5f4}
@media(max-width:760px){
 .compact-footer{padding-bottom:100px}.compact-footer .r8-privacy-info{padding-bottom:0}
 .r8-surface .page-intro{padding-bottom:16px}.r8-payment-summary h2{font-size:17px}
 .r8-payment-summary .r8-payment-item{font-size:13px;margin-top:7px;padding-bottom:8px}
 .r8-payment-summary .btn{min-height:36px;font-size:12px;padding:6px 10px}
 .r8-checkout .r8-payment-summary{padding:16px 18px}.r8-pay-form h2{font-size:22px}
 .r8-surface .r8-agreement-line .check-row{margin-bottom:6px}.r8-agreement-line{padding:12px;margin:15px 0}
}

/* R8: compact Spanish file picker and one mobile action rail, not duplicate CTAs. */
.r8-file-control{position:relative!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;width:200px;max-width:100%;background:var(--lavender);border:1px solid var(--primary);border-radius:11px;color:var(--primary);font-size:13px;margin:0!important;overflow:hidden;cursor:pointer}
.r8-file-control>span{padding:10px 16px}.r8-file-control input[type=file]{position:absolute!important;inset:0;opacity:0;cursor:pointer;width:100%!important;height:100%!important}.r8-file-control:focus-within{outline:3px solid #b26527;outline-offset:3px}
@media(max-width:800px){body[data-zone="booking"]{padding-bottom:96px}body[data-zone="booking"] .dock{display:none!important}body[data-zone="booking"] .wa-float{bottom:calc(8px + env(safe-area-inset-bottom));right:12px;width:70px;height:70px}body[data-zone="booking"] .r8-primary-actions{position:fixed;left:0;right:0;bottom:0;z-index:31;margin:0;padding:15px 94px calc(15px + env(safe-area-inset-bottom)) 16px;min-height:86px;border:0;border-top:1px solid var(--line);background:#fffffff5;box-shadow:0 -4px 20px #21284f10;display:flex;align-items:center;justify-content:space-between;gap:8px}body[data-zone="booking"] .r8-primary-actions>.btn{max-width:180px;min-height:44px;padding:10px 14px;font-size:12px}body[data-zone="booking"] .r8-primary-actions>.btn:only-child{margin-left:auto}body[data-zone="booking"] .r8-primary-actions>a{min-height:44px;padding:8px 12px}body[data-zone="booking"] footer{padding-bottom:16px}.r8-file-control{width:188px}}
.r8-form-grid>*{min-width:0}.r8-form-grid input,.r8-form-grid textarea{max-width:100%;min-width:0}
@media(max-width:640px){.r8-form-grid{grid-template-columns:minmax(0,1fr)!important}.r8-form-grid .field{min-width:0}}
