/* Shared booking launcher and schedule. Scoped to work with each page theme. */
.admin-access { position: relative; z-index: 1; padding: 12px 28px 24px; background: #25272d; text-align: center; font-size: 12px; color: var(--muted); }
.admin-access a:hover { color: var(--gold); }
.booking-availability { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.booking-availability.error { color: #ffc0b4; }
.booking-refresh { margin: 0 0 16px; padding: 6px 0; border: 0; color: var(--gold); background: transparent; font-size: 12px !important; }
.booking-launcher {
    position: fixed;
    right: max(26px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
}
.booking-launcher-label {
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #2b2d34;
    box-shadow: 0 8px 28px #0004;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.booking-launcher-label span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.booking-brain {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 82px;
    height: 82px;
    border: 1px solid #fbbf2466;
    border-radius: 50%;
    background: radial-gradient(circle, #5a4128, #292b32 75%);
    box-shadow: 0 8px 30px #0005, 0 0 25px #f98c2b24;
}
.booking-brain::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid #fbbf2466;
    border-radius: inherit;
    animation: booking-ripple 2.8s ease-out infinite;
    pointer-events: none;
}
.booking-brain img { display: block; width: 52px; height: 59px; object-fit: contain; animation: booking-heartbeat 2.8s ease-in-out infinite; }
.booking-launcher:hover .booking-launcher-label { border-color: var(--gold); }
.booking-launcher[aria-expanded="true"] .booking-brain img,
.booking-launcher[aria-expanded="true"] .booking-brain::before { animation-play-state: paused; }
@keyframes booking-heartbeat {
    0%, 36%, 100% { transform: scale(1); }
    10%, 24% { transform: scale(1.12); }
    17% { transform: scale(1.02); }
}
@keyframes booking-ripple {
    0%, 10% { transform: scale(.96); opacity: .7; }
    65%, 100% { transform: scale(1.3); opacity: 0; }
}
body.booking-open { overflow: hidden; }
.booking-dialog {
    position: fixed;
    inset: 0;
    width: min(880px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #65616a;
    border-radius: 24px;
    background: #2b2d34;
    color: var(--text);
    box-shadow: 0 32px 100px #0008;
    font: inherit;
    color-scheme: dark;
}
.booking-dialog::backdrop { background: #12141bbb; backdrop-filter: blur(7px); }
.booking-heading { display: flex; align-items: flex-start; gap: 18px; padding: 28px 30px 24px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 0 0, #f98c2b1f, transparent 70%); }
.booking-heading-copy { flex: 1; min-width: 0; }
.booking-eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.booking-dialog h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; }
.booking-heading-copy > p:last-child { margin: 0; max-width: 560px; color: var(--muted); font-size: 13px; }
.booking-dialog button { font: inherit; cursor: pointer; }
.booking-dialog .booking-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #ffffff08; color: var(--text); font-size: 26px; line-height: 1; }
.booking-close:hover { border-color: var(--gold); }
.booking-columns { display: grid; grid-template-columns: 1fr 1fr; }
.booking-calendar-panel, .booking-details { min-width: 0; padding: 26px 30px; }
.booking-calendar-panel { border-right: 1px solid var(--line); background: #25272d; }
.booking-dialog h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; color: var(--gold); font-size: 12px; font-weight: 600; }
.booking-dialog h3 span { color: var(--text); font-size: 15px; }
.booking-month-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.booking-month-nav p { margin: 0; font-size: 14px; font-weight: 700; }
.booking-month-nav button { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font-size: 24px; line-height: 1; }
.booking-weekdays, .booking-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.booking-weekdays { margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.booking-days { margin-bottom: 20px; }
.booking-days button { min-width: 0; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--text); font-size: 13px; }
.booking-days button[aria-current="date"] { border-color: #fbbf2466; }
.booking-days button:not(:disabled) { background: #fbbf240c; border-color: #fbbf2433; }
.booking-days button:hover:not(:disabled), .booking-month-nav button:hover:not(:disabled) { background: #fbbf241a; border-color: var(--gold); }
.booking-days button[aria-pressed="true"] { background: var(--grad); color: #202127; font-weight: 800; }
.booking-dialog button:disabled { opacity: .3; cursor: default; }
.booking-dialog .booking-submit:disabled { opacity: .65; cursor: wait; }
.booking-field { display: block; margin: 0 0 13px; color: var(--text); font-size: 12px; font-weight: 600; }
.booking-field input, .booking-field select, .booking-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin-top: 6px;
    padding: 9px 11px;
    border: 1px solid #737580;
    border-radius: 9px;
    background: #33353d;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 400;
}
.booking-field textarea { resize: vertical; }
.booking-field textarea::placeholder { color: #b5b5c0; }
.booking-optional { color: var(--muted); font-weight: 400; }
.booking-timezone { margin: -4px 0 16px; color: var(--muted); font-size: 11px; }
.booking-calendar-note { margin: 0; padding: 12px 14px; border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; background: #fbbf2409; color: var(--muted); font-size: 12px; }
.booking-consent { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.booking-consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold); }
.booking-dialog a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.booking-dialog .booking-submit { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 12px 17px; border: 0; border-radius: 10px; background: var(--grad); color: #202127; font-size: 14px; font-weight: 750; }
.booking-submit:hover { filter: brightness(1.08); }
.booking-feedback { margin: 12px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.booking-feedback:empty { display: none; }
.booking-feedback.error { color: #ffc0b4; }
.booking-feedback.success { color: #9fe4b2; }
.booking-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.booking-live { padding: 20px; }
.booking-live iframe { display: block; width: 100%; height: min(580px, 65dvh); border: 0; border-radius: 10px; background: white; color-scheme: light; }
.booking-live p { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.booking-dialog :focus-visible, .booking-launcher:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 640px) {
    .booking-launcher { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
    .booking-launcher-label { padding: 8px 12px; font-size: 12px; }
    .booking-launcher-label span { font-size: 10px; }
    .booking-brain { width: 66px; height: 66px; }
    .booking-brain img { width: 42px; height: 47px; }
    .booking-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
    .booking-heading { padding: 22px 20px; gap: 10px; }
    .booking-dialog h2 { font-size: 26px; }
    .booking-eyebrow { font-size: 9px; }
    .booking-columns { grid-template-columns: 1fr; }
    .booking-calendar-panel, .booking-details { padding: 22px 20px; }
    .booking-calendar-panel { border-right: 0; border-bottom: 1px solid var(--line); }
    .booking-days button { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .booking-brain img, .booking-brain::before { animation: none; }
    .booking-brain::before { display: none; }
}
@media print { .booking-launcher, .booking-dialog { display: none !important; } }
