/* Booking dialog (assets/js/sections/booking.js): the scheduler opens in a dialog from the
   Contact booking card. Tokens only; the same card radius, hairlines and type as the page. */
.bk {
	width: min(720px, calc(100vw - 24px)); height: min(740px, calc(100dvh - 24px));
	max-width: none; max-height: none; margin: auto; padding: 0; border: 0; overflow: hidden;
	border-radius: var(--r-card-xl); background: var(--c-white); color: var(--c-ink); box-shadow: var(--sh-big);
}
.bk[open] { display: flex; flex-direction: column; }
.bk::backdrop { background: rgba(7, 10, 36, .56); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bk__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; box-shadow: inset 0 -1px 0 var(--ink-07); }
.bk__t { margin: 0; font: var(--fw-medium) 19px/25px var(--f-head); letter-spacing: -.3px; }
.bk__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--c-ink); transition: background-color var(--dur-fast); }
.bk__x:hover { background: var(--c-lav-soft); }
.bk__x svg { width: 14px; height: 14px; stroke-width: 1.6; }
.bk__frame { position: relative; flex: 1 1 auto; min-height: 0; background: var(--c-white); }
.bk__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bk__wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-55); }
.bk.is-ready .bk__wait { display: none; }
.bk__alt { margin: 0; padding: 12px 24px 14px; font-size: 12px; line-height: 18px; color: var(--ink-55); box-shadow: inset 0 1px 0 var(--ink-07); }
.bk__alt a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
html.bk-open { overflow: hidden; }
@media (max-width: 767px) {
	.bk { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: var(--r-card); }
	.bk__bar { padding: 10px 8px 10px 18px; }
	.bk__t { font-size: 17px; line-height: 23px; }
	.bk__alt { padding: 12px 18px 14px; font-size: 13px; line-height: 19px; }
}
@media (prefers-reduced-motion: no-preference) {
	html.motion-ok .bk[open] { animation: bk-in 280ms var(--ease-out-quart) both; }
	html.motion-ok .bk[open]::backdrop { animation: bk-fade 280ms var(--ease-out-quart) both; }
}
@keyframes bk-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes bk-fade { from { opacity: 0; } }
