.ko-booking-open, .ko-booking-open body { overflow: hidden; overscroll-behavior: none; }
.ko-workshop-booking-popover { box-sizing: border-box; position: fixed; inset: 0; width: min(420px, calc(100vw - 24px)); max-width: none; max-height: none; height: fit-content; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.ko-workshop-booking-popover:not([open]) { display: none; }
.ko-workshop-booking-popover::backdrop { background: rgb(0 0 0 / 50%); }
.ko-workshops-microsite .ko-workshop-booking-panel,
.ko-workshops-microsite .ko-workshop-booking-panel.is-open,
.ko-workshops-microsite .ko-workshop-booking-panel:target:not(.is-enhanced) { top: 50%; left: 50%; right: auto; bottom: auto; width: min(420px, calc(100vw - 24px)); max-height: none; overflow: visible; transform: translate(-50%, -50%); transition: none; }
.ko-workshops-microsite .ko-workshop-booking-popover .ko-workshop-booking-panel { position: static; width: 100%; transform: none; }
.ko-workshops-microsite .ko-workshop-booking-panel__head { position: static; padding: 8px 12px; gap: 8px; }
.ko-workshops-microsite .ko-workshop-booking-panel__title { font: 600 17px/1.2 Arial, sans-serif; letter-spacing: normal; text-transform: none; }
.ko-workshops-microsite .ko-workshop-booking-panel__close { width: 32px; height: 32px; }
.ko-workshop-booking-panel [hidden], .ko-workshop-booking-panel__status:empty { display: none !important; }
.ko-workshop-booking-panel__status, .ko-workshop-booking-panel__fallback, .ko-workshop-booking-panel__retry { margin: 8px 12px; font: 12px/1.4 Arial, sans-serif; }
.ko-workshop-booking-panel__fallback { display: block; }
.ko-workshop-booking-panel__retry { cursor: pointer; padding: 6px 12px; border: 1px solid #171717; background: #fff; color: #171717; }
.ko-calendar { --ko-calendar-cell: 42px; padding: 0 12px 12px; font: 13px/1.3 Arial, sans-serif; color: #171717; }
.ko-calendar:empty { display: none; }
.ko-calendar-schedule { margin: 8px 0 4px; font-size: 12px; }
.ko-calendar-schedule span { display: block; }
.ko-calendar-nav { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ko-calendar-nav h3 { font: 600 16px/1.3 Arial, sans-serif; text-align: center; text-transform: none; margin: 0; }
.ko-calendar-nav button { width: 36px; height: 36px; flex-shrink: 0; border: 0; padding: 0; background: transparent; color: #171717; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.ko-calendar-nav button:disabled { opacity: .3; cursor: default; }
.ko-calendar .ko-calendar-grid { width: 100%; table-layout: fixed; border: 0; border-spacing: 2px; border-collapse: separate; margin: 0; background: transparent; }
.ko-calendar-grid th, .ko-calendar-grid td { padding: 0; text-align: center; border: 0; background: transparent; }
.ko-calendar-grid th { height: 18px; font: 400 10px/1 Arial, sans-serif; color: #555; }
.ko-calendar-day { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 100%; min-height: var(--ko-calendar-cell); padding: 2px 1px; border: 1px solid #bdb9b0; border-radius: 3px; background: #fff; color: #171717; font: 600 14px/1.1 Arial, sans-serif; cursor: pointer; }
.ko-calendar-day small { max-width: 100%; font: 400 10px/1.1 Arial, sans-serif; white-space: nowrap; }
.ko-calendar-day:disabled { border-color: transparent; background: transparent; color: #888; cursor: default; }
.ko-calendar-day.is-sold-out { color: #666; background: #e4e1d9; }
.ko-calendar-day.is-sold-out > span { text-decoration: line-through; }
.ko-calendar-day[aria-current="date"] > span { text-decoration: underline; text-underline-offset: 3px; }
.ko-calendar-day:not(:disabled):hover { border-color: #171717; background: #ffdab0; }
.ko-calendar-day[aria-pressed="true"] { background: #171717; color: #fff; border-color: #171717; }
.ko-calendar-window { margin: 6px 0 0; color: #555; font: 10px/1.3 Arial, sans-serif; }
.ko-calendar-selection { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; margin-top: 8px; font: 12px/1.3 Arial, sans-serif; }
.ko-calendar-selection__prompt { grid-column: 1 / -1; margin: 0; font: inherit; }
.ko-calendar-selection__date { font-weight: 600; }
.ko-calendar-selection__time { grid-column: 1 / -1; grid-row: 2; }
.ko-calendar-selection__price { grid-column: 2; grid-row: 1; text-align: right; }
.ko-calendar-book { display: flex; align-items: center; justify-content: center; grid-column: 1 / -1; box-sizing: border-box; min-height: 40px; text-align: center; padding: 8px; margin-top: 3px; color: #fff; background: #171717; text-decoration: none; font-weight: 600; }
.ko-calendar-book:hover { background: #ff9003; color: #171717; }
.ko-calendar button:focus-visible, .ko-calendar a:focus-visible { outline: 3px solid #ba5900; outline-offset: 2px; }
@media (max-height: 700px) {
 .ko-workshops-microsite .ko-workshop-booking-panel__head { padding: 6px 10px; }
 .ko-calendar { --ko-calendar-cell: clamp(28px, calc((100dvh - 380px) / 6), 40px); padding: 0 10px 8px; }
 .ko-calendar-schedule { margin: 4px 0 2px; font-size: 11px; }
 .ko-calendar-nav button { width: 32px; height: 32px; }
 .ko-calendar-day { padding: 1px; font-size: 13px; }
 .ko-calendar-day small { font-size: 9px; }
 .ko-calendar-window { margin-top: 4px; }
 .ko-calendar-selection { margin-top: 6px; gap: 2px 6px; }
}
@media (max-width: 559px) and (max-height: 560px) {
 .ko-calendar-schedule, .ko-calendar-window { display: none; }
}
/* A short landscape screen has room for details beside the month. */
@media (min-width: 560px) and (max-height: 520px) {
 .ko-workshop-booking-popover { width: min(740px, calc(100vw - 24px)); }
 .ko-calendar { --ko-calendar-cell: clamp(28px, calc((100dvh - 160px) / 6), 40px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 32px auto 1fr; gap: 0 16px; }
 .ko-calendar-nav { grid-column: 1; grid-row: 1; }
 .ko-calendar-grid { grid-column: 1; grid-row: 2 / 4; }
 .ko-calendar-schedule { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
 .ko-calendar-selection { grid-column: 2; grid-row: 2; margin-top: 14px; }
 .ko-calendar-window { grid-column: 2; grid-row: 3; margin-top: 10px; }
}
.ko-calendar-day[aria-pressed="true"]:not(:disabled):hover { background: #171717; color: #fff; }
