/* Funnel surfaces share the school's typography and gold accents. */
.funnel-page { background: #171918; color: #f3f1ec; }
.funnel-page [hidden] { display: none !important; }
.funnel-page * { letter-spacing: 0; }
.funnel-header, .funnel-footer { width: min(1100px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.funnel-header { min-height: 90px; border-bottom: 1px solid #353b36; }
.funnel-header-note { color: #b5bdb7; font-size: 13px; }
.funnel-main { width: min(920px, calc(100% - 40px)); margin: auto; }
.funnel-steps { display: flex; justify-content: center; gap: 44px; padding: 0; margin: 32px 0; list-style: none; color: #9aa49d; font-size: 12px; }
.funnel-steps li { display: flex; align-items: center; gap: 8px; }
.funnel-steps li span { color: #758079; font-size: 11px; }
.funnel-steps [aria-current] { color: var(--gold-hi); }
.funnel-steps [aria-current] span { color: var(--gold-hi); }
.funnel-intro { text-align: center; margin: 36px auto 30px; max-width: 720px; }
.funnel-eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; color: var(--jade); margin: 0 0 14px; }
.funnel-page h1 { font-size: 54px; line-height: 1.02; margin: 12px auto 20px; max-width: 720px; }
.funnel-page h2 { font-size: 29px; line-height: 1.15; margin-bottom: 18px; }
.funnel-lead { max-width: 560px; margin: 0 auto; color: #c3c9c3; font-size: 16px; line-height: 1.7; }
.funnel-video { aspect-ratio: 16 / 9; background: #090a09; width: 100%; overflow: hidden; border-bottom: 1px solid #8f7749; }
.funnel-video video { width: 100%; height: 100%; display: block; object-fit: contain; }
.video-error { margin: 14px 0; }
.funnel-presenter { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid #353b36; font-size: 13px; }
.funnel-presenter img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 32%; }
.funnel-presenter strong, .funnel-presenter span { display: block; }
.funnel-presenter div span { font-size: 11px; color: #aab5ad; }
.funnel-presenter .video-duration { margin-left: auto; color: #aab5ad; }
.funnel-next { min-height: 165px; padding: 26px 0; text-align: center; }
.funnel-next p { margin: 8px 0 0; font-size: 13px; }
.funnel-next progress { display: block; width: 220px; height: 3px; margin: 15px auto 0; accent-color: var(--jade); }
.funnel-cta { min-height: 52px; justify-content: center; gap: 20px; max-width: 100%; white-space: normal; text-align: center; font-size: 14px; }
.funnel-cta:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.funnel-cta span { font-size: 22px; flex-shrink: 0; }
.funnel-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 36px 0 50px; border-top: 1px solid #353b36; }
.funnel-topics span { font-size: 11px; color: var(--jade); }
.funnel-topics h2 { margin: 12px 0; font-size: 28px; }
.funnel-topics p, .funnel-preparation p { color: #b9c3bb; font-size: 14px; margin: 0; line-height: 1.7; }
.funnel-footer { border-top: 1px solid #353b36; padding: 24px 0; justify-content: flex-start; color: #aab5ad; font-size: 11px; }
.funnel-footer span { margin-right: auto; }
.funnel-booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; margin: 40px 0; border-top: 1px solid #353b36; padding-top: 32px; }
.funnel-application-fields { min-width: 0; }
.funnel-booking .field { margin-bottom: 18px; }
.funnel-booking > .field { align-self: start; }
.funnel-page input, .funnel-page select, .funnel-page textarea { background: #222823; border-color: #566258; color: #f3f1ec; width: 100%; min-width: 0; font-size: 16px; border-radius: 6px; }
.funnel-page select option { background: #222823; }
.funnel-page .muted { color: #b9c3bb; }
.funnel-page :focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; }
.funnel-time-fieldset { border: 0; padding: 0; margin: 20px 0; min-width: 0; }
.funnel-month-nav { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 12px; margin: 22px 0 14px; }
.funnel-month-nav h3 { text-align: center; font-family: Inter, Arial, sans-serif; font-size: 16px; text-transform: capitalize; line-height: 1.4; }
.funnel-icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #566258; background: transparent; border-radius: 6px; color: #f3f1ec; font-size: 21px; cursor: pointer; }
.funnel-icon-button:disabled { opacity: .35; cursor: default; }
.funnel-weekdays, .funnel-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.funnel-weekdays { color: #9ba99e; text-align: center; font-size: 11px; margin: 0 0 9px; }
.funnel-days { grid-template-rows: repeat(6, 43px); }
.funnel-days button { width: 100%; min-width: 0; height: 43px; padding: 0; border: 1px solid #567460; border-radius: 5px; background: #24372b; color: #e7f7ec; font-family: inherit; font-size: 14px; cursor: pointer; }
.funnel-days button:disabled { border-color: transparent; background: transparent; color: #78877c; cursor: default; }
.funnel-days button:not(:disabled):hover { background: #3a5141; border-color: var(--jade); }
.funnel-days button[aria-current="date"] { text-decoration: underline; text-underline-offset: 5px; }
.funnel-days button[aria-pressed="true"] { background: var(--jade); border-color: var(--jade); color: #17241b; font-weight: 700; }
.funnel-name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.funnel-range-form { grid-template-columns: minmax(180px, 1.4fr) minmax(110px, 1fr) minmax(110px, 1fr) auto; }
.funnel-time-fieldset legend { margin-bottom: 12px; font-size: 13px; }
.funnel-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.funnel-time { position: relative; }
.funnel-time input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.funnel-time span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid #566258; border-radius: 6px; color: #d7e3d9; font-size: 14px; cursor: pointer; }
.funnel-time input:checked + span { background: #35493d; border-color: var(--jade); color: #fff; }
.funnel-time input:focus-visible + span { outline: 2px solid var(--jade); outline-offset: 3px; }
.funnel-selection { color: var(--jade); font-size: 14px; min-height: 50px; }
.manage-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.manage-picker { max-width: 620px; margin: 34px auto 0; padding-top: 28px; border-top: 1px solid #353b36; text-align: left; }
.manage-picker h2 { text-align: center; }
.manage-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.manage-times button { min-height: 46px; border: 1px solid #566258; border-radius: 6px; background: transparent; color: #f3f1ec; font: inherit; cursor: pointer; }
.manage-times button:hover { border-color: var(--jade); background: #35493d; }
.funnel-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.65; color: #b9c3bb; margin: 12px 0 22px; }
.funnel-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--jade); }
.funnel-consent a { text-decoration: underline; }
.funnel-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.funnel-back { text-align: center; margin: 30px 0 45px; color: #b9c3bb; font-size: 13px; }
.funnel-receipt { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-block: 1px solid #53634f; padding: 22px 0; margin: 30px 0; }
.funnel-receipt p { margin: 4px 0; }
.funnel-preparation { max-width: 660px; padding: 35px 0 50px; margin: auto; }
.funnel-preparation p + p { margin-top: 14px; }
#booking-message { margin-bottom: 18px; color: #ffb7a5; font-size: 14px; }
#booking-timezone { font-size: 13px; overflow-wrap: anywhere; }
.funnel-admin-list { margin: 22px 0; }
.funnel-admin-list article { padding: 16px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.funnel-admin-list p { margin: 5px 0; }
.funnel-admin-list .admin-actions { margin-top: 12px; }
#admin-root [hidden], .schedule-dialog [hidden] { display: none !important; }
.admin-calendar-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(240px, 1fr); gap: 24px; margin-top: 20px; }
.admin-calendar-layout > section { min-width: 0; }
.admin-calendar-layout > section { border-left: 1px solid var(--line); padding-left: 24px; }
.admin-calendar-layout h3 { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.admin-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(6, 142px); gap: 4px; }
.admin-calendar-day { min-width: 0; overflow: hidden; border: 1px solid #454a43; border-radius: 4px; padding: 3px; display: flex; flex-direction: column; position: relative; }
.admin-calendar-day.selected { border-color: #d6bd7d; background: #292c27; }
.admin-day-number { flex: 0 0 30px; width: 100%; border: 0; border-radius: 2px; background: transparent; color: #ecebe3; text-align: left; padding: 3px 5px; font: inherit; font-size: 13px; cursor: pointer; }
.admin-day-number:hover { background: #3d433b; }
.calendar-markers { display: flex; gap: 3px; position: absolute; top: 11px; right: 6px; pointer-events: none; }
.calendar-markers i { font-style: normal; font-size: 9px; line-height: 13px; min-width: 12px; text-align: center; border-radius: 2px; }
.calendar-markers .free { color: #b3ddc2; background: #304b3a; }
.calendar-markers .booked { color: #eddaa6; background: #51472d; }
.calendar-markers .closed { color: #e8b3b0; background: #4d3334; }
.admin-day-events { overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 3px; scrollbar-width: thin; }
.admin-calendar-event { flex-shrink: 0; width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 1px; text-align: left; padding: 4px; border: 0; border-left: 2px solid #d8bb6b; border-radius: 2px; color: #f2e5bd; background: #48412e; cursor: pointer; font-family: inherit; font-size: 11px; line-height: 1.25; }
.admin-calendar-event:hover, .admin-calendar-event:focus-visible { background: #635735; }
.admin-calendar-event span { max-width: 100%; overflow-wrap: anywhere; }
.admin-calendar-event span:first-child { font-weight: 700; }
.admin-calendar-closed { display: block; padding: 3px; background: #483235; color: #e2babb; font-size: 10px; overflow-wrap: anywhere; }
.admin-calendar-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; color: #afb4ab; }
.admin-calendar-legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #67967a; }
.admin-calendar-legend span:nth-child(2)::before { background: #d8bb6b; }
.admin-calendar-legend span:nth-child(3)::before { background: #ad7177; }
#admin-booking-details { border-block: 1px solid #786a45; margin: 18px 0; padding: 12px 0 18px; overflow-wrap: anywhere; }
#admin-booking-details h3 { margin: 0 0 12px; }
#admin-booking-details a { display: block; margin: 8px 0; text-decoration: underline; color: #b3ddc2; }
#admin-booking-details p { font-size: 13px; }
#admin-slots-disclosure { margin-top: 18px; }
#admin-slots-disclosure summary { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; list-style: none; }
#admin-slots-disclosure summary::-webkit-details-marker { display: none; }
#admin-slots-disclosure summary::before { content: '▸'; margin-right: 8px; font-size: 14px; }
#admin-slots-disclosure[open] summary::before { content: '▾'; }
#admin-slots-disclosure .funnel-admin-list { margin-top: 12px; }
.schedule-dialog { width: 590px; max-width: calc(100% - 24px); max-height: 90dvh; padding: 24px; box-sizing: border-box; overflow: auto; border: 1px solid #72694e; border-radius: 8px; background: #242520; color: #efece2; color-scheme: dark; }
.schedule-dialog::backdrop { background: #000a; }
.schedule-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.schedule-dialog-heading h2 { font-size: 26px; margin: 0; }
.schedule-dialog-heading button { flex-shrink: 0; }
.schedule-dialog input:not([type=checkbox]), .schedule-dialog select { min-width: 0; width: 100%; box-sizing: border-box; padding: 10px; background: #30332d; color: #efece2; border: 1px solid #676c60; border-radius: 4px; font: inherit; font-size: 16px; }
.schedule-dialog input:disabled { opacity: .35; }
.schedule-dialog input[type=checkbox] { accent-color: #a9c5ad; width: 18px; height: 18px; flex-shrink: 0; }
.weekly-day { display: grid; grid-template-columns: minmax(135px, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #454a43; }
.weekly-day label, .schedule-dialog .checkbox-field { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.schedule-date-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.schedule-dialog .field { margin-bottom: 14px; }
.schedule-dialog .field label { display: block; margin-bottom: 7px; }
.schedule-dialog [role=alert] { font-size: 13px; color: #f0baad; }
@media (max-width: 1000px) {
  .admin-calendar-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-calendar-layout > section { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
}
@media (max-width: 540px) {
  .admin-calendar-days { gap: 2px; grid-template-rows: repeat(6, 122px); }
  .admin-calendar-day { padding: 1px; }
  .calendar-markers { position: static; height: 13px; flex-shrink: 0; margin-bottom: 3px; }
  .admin-day-number { flex-basis: 25px; padding: 2px; }
  .admin-calendar-event { padding: 3px 2px; font-size: 10px; }
  .admin-calendar-event span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
  .schedule-dialog { padding: 16px; }
  .weekly-day { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .weekly-day label { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .funnel-header { min-height: 76px; justify-content: center; }
  .funnel-header .brand { min-width: 0; font-size: 23px; }
  .funnel-header .brand-name { white-space: normal; }
  .funnel-header .brand-logo { width: 34px; height: 34px; }
  .funnel-header-note { display: none; }
  .funnel-steps { gap: 14px; margin: 24px 0; font-size: 10px; }
  .funnel-steps li { gap: 5px; }
  .funnel-intro { margin: 28px auto; }
  .funnel-page h1 { font-size: 42px; line-height: 1.04; }
  .funnel-lead { font-size: 14px; }
  .funnel-topics { grid-template-columns: 1fr; gap: 24px; }
  .funnel-topics h2 { margin: 7px 0; }
  .funnel-booking { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .funnel-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funnel-range-form { grid-template-columns: 1fr 1fr; }
  .funnel-booking > section + section { border-top: 1px solid #353b36; padding-top: 28px; }
  .funnel-cta { width: 100%; gap: 12px; font-size: 13px; padding: 12px 14px; }
  .funnel-footer { flex-wrap: wrap; gap: 14px; }
  .funnel-footer span { width: 100%; }
  .funnel-receipt { flex-direction: column; align-items: flex-start; }
  .funnel-page h2 { font-size: 27px; }
}
@media (max-width: 380px) {
  .funnel-name-fields, .funnel-range-form { grid-template-columns: 1fr; gap: 0; }
  .funnel-days, .funnel-weekdays { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .funnel-page * { scroll-behavior: auto !important; transition: none !important; }
}
