.booking-native { padding: 28px; scroll-margin-top: 120px; }
.booking-route { max-width: 940px; padding-top: 32px; padding-bottom: 56px; }
.booking-route > h1 { font-family: var(--serif); font-size: clamp(2rem,5vw,3.4rem); font-weight: 400; line-height: 1.12; margin: 0 0 20px; }
.booking-route .booking-native { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.booking-route > .be-back { display: block; width: fit-content; margin: 0 0 8px; }
.booking-route .booking-native { padding: 24px; }
.booking-route .be-kicker { margin-bottom: 8px; }
.booking-route-phone { margin: 24px 0; }
.be { color: var(--ink); font: 400 15px/1.6 var(--sans); overflow-wrap: anywhere; }
.be h2 { font-size: 1.45rem; line-height: 1.3; margin: 0 0 16px; font-weight: 650; }
.be h3 { font-size: 1.05rem; margin: 0 0 14px; }
.be p { margin: 0 0 18px; }
.be a { color: var(--blue-dark); text-underline-offset: 3px; }
.be a:focus-visible, .be button:focus-visible, .be input:focus-visible, .be summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.be-kicker { color: var(--blue-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 750; }
.be-back { display: inline-block; font-size: .85rem; margin-bottom: 22px; color: var(--blue-dark); }
.be fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.be-exam-types { display: grid; gap: 12px; }
.be-exam-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: background .15s,border-color .15s; }
.be-exam-card:hover, .be-exam-card:has(:checked) { background: #eef6f3; border-color: var(--blue); }
.be-exam-card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.be-exam-card input { accent-color: var(--blue-dark); width: 18px; height: 18px; flex-shrink: 0; }
.be-exam-card > span:nth-child(2) { flex: 1; }
.be-exam-card strong, .be-exam-card small { display: block; }
.be-exam-card small { color: var(--ink-soft); margin-top: 3px; }
.be button, .be-card { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; background: var(--blue-dark); color: white; border: 1px solid var(--blue-dark); border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.be button:hover, .be-card:hover { background: var(--blue-deep); color: white; }
.be button:disabled { opacity: .6; cursor: progress; }
.be-submit-fallback { margin-top: 18px; }
.booking-enhanced .be-submit-fallback { display: none; }
.be-month-nav { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0; }
.be-month-nav a { border: 1px solid var(--line); padding: 6px 12px; border-radius: 7px; min-height: 36px; text-decoration: none; }
.be-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.be-weekdays, .be-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; gap: 4px; }
.be-weekdays { font-size: .7rem; color: var(--ink-soft); font-weight: 650; margin-bottom: 8px; }
.be-day { min-height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 7px; font-size: .85rem; text-decoration: none; }
.be-day--unavailable { color: #67777d; }
.be-day--available { background: #e5f2ec; border: 1px solid #bfdccc; color: var(--ink); font-weight: 700; }
.be-day--available:hover { background: var(--blue-dark); color: white; }
.be-day i { display: block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.be-calendar-hint { color: var(--ink-soft); font-size: .8rem; margin-top: 22px !important; border-top: 1px solid var(--line); padding-top: 18px; }
.be-calendar-hint span { color: var(--blue-dark); }
.be-slots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.be-slots button { width: 100%; color: var(--blue-dark); background: #f4f9f6; border-color: #b7cec5; font-variant-numeric: tabular-nums; }
.be-slots button:hover { background: var(--blue-dark); color: white; }
.be-grid { display: grid; gap: 24px; }
.be-grid > form, .be-extend { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.be-extend { margin-bottom: 24px; background: #f2f7f4; font-size: .85rem; }
.be-extend button { background: white; color: var(--blue-dark); padding: 8px 14px; }
.be label:has(input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"])) { display: block; font-size: .85rem; font-weight: 650; margin: 12px 0; }
.be input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 9px 12px; margin-top: 5px; border: 1px solid #9aaeb3; background: white; border-radius: 7px; font: inherit; color: var(--ink); }
.be input[name="code"] { display: block; margin-top: 8px; max-width: 16rem; font-size: 1.25rem; letter-spacing: .2em; }
.be form button + button { margin-top: 10px; background: white; color: var(--blue-dark); }
.be details { margin-top: 20px; }
.be summary { cursor: pointer; min-height: 32px; }
.be-error, .be [role="alert"] { color: #8c2028; background: #fff2ef; border-left: 3px solid #ad3540; padding: 14px; border-radius: 4px; }
.be-request-status { font-size: .85rem; margin: 0; padding: 0 28px; color: var(--ink-soft); }
.be-request-status:not(:empty) { padding-top: 18px; padding-bottom: 10px; }
.be[aria-busy="true"], .booking-native[aria-busy="true"] { opacity: .65; }
.be .be-hp, .be-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 !important; }
@media (max-width: 640px) {
 .booking-native { padding: 20px 16px; }
 .be-months { grid-template-columns: 1fr; gap: 28px; }
 .be-day { min-height: 40px; }
 .be-exam-card { padding: 16px; }
 .be-grid > form, .be-extend { padding: 16px; }
 .booking-route { padding-top: 20px; padding-bottom: 36px; }
 .booking-route > h1 { margin-bottom: 16px; }
 .booking-route .booking-native { padding: 20px 16px; }
 .be-request-status { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .be-exam-card { transition: none; } }

.booking-route-phone a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: normal; max-width: 100%; }
.booking-route-phone a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
.booking-route-phone a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

/* Compact selection context shared by every active booking step. */
.be-booking-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0 0 18px; padding: 14px 16px; background: #edf4f2; border-radius: 10px; overflow-wrap: anywhere; }
.be-selection-main { display: flex; flex: 1 1 320px; align-items: last baseline; gap: 24px; min-width: 0; }
.be-selection-appointment { min-width: 0; }
.be-selection-label { display: block; color: var(--ink-soft); font-size: .75rem; font-weight: 500; line-height: 1.4; }
.be-selection-appointment strong { display: block; font-size: 1.12rem; line-height: 1.45; font-weight: 700; }
.be-selection-time { white-space: nowrap; }
.be .be-change-appointment { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 36px; padding: 5px 10px; border: 1px solid #c5d6d1; border-radius: 6px; background: #ffffff70; font-size: .75rem; line-height: 1.4; text-decoration: none; }
.be .be-change-appointment:hover { background: white; border-color: var(--blue-dark); }
.be-selection-reservation { flex-shrink: 0; font-size: .85rem; line-height: 1.5; }
.be-selection-reservation strong { font-weight: 600; }
.be-selection-email { display: flex; flex-wrap: wrap; align-items: baseline; flex-basis: 100%; gap: 2px 10px; min-width: 0; }
.be-selection-email strong { font-size: .95rem; font-weight: 650; overflow-wrap: anywhere; min-width: 0; }
.be .be-selection-notice { margin: 0; font-size: .85rem; }
@media (max-width: 640px) {
 .be-booking-summary { gap: 8px 16px; padding: 12px; }
 .be-selection-main { flex-basis: 100%; gap: 16px; }
 .be-selection-appointment strong { font-size: 1.05rem; }
 .be-selection-reservation { display: flex; align-items: baseline; gap: 8px; }
}
.booking-page .mobile-actions { display: none; }

/* Email choice stays readable and operable on narrow screens. */
.be .be-email-agreement { padding: 16px; margin: 4px 0 16px; border: 1px solid #c5d6d1; border-radius: 10px; background: #fff; }
.be .be-email-agreement-label { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-family: var(--sans); font-size: .775rem; font-weight: 400; line-height: 1.6; cursor: pointer; }
.be .be-email-agreement-label input[type="checkbox"] { flex: 0 0 22px; width: 22px; height: 22px; min-height: 22px; margin: 3px 0 0; padding: 0; accent-color: var(--blue-dark); }
.be .be-email-agreement-label input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.be .be-email-agreement p, .be .be-email-agreement details { font-size: .85rem; line-height: 1.6; margin: 12px 0 0; }
.be .be-email-agreement a { text-decoration: underline; text-underline-offset: 3px; }
.be .be-email-agreement summary { cursor: pointer; min-height: 32px; }

@media (max-width: 1050px) {
 html:not(.js) .booking-page .header-inner { flex-wrap: wrap; }
 html:not(.js) .booking-page .site-nav { width: 100%; flex-wrap: wrap; gap: .75rem; }
 html:not(.js) .booking-page .site-nav > a { font-size: .9rem; }
}
