/* Cookie banner, preferences, and the gate shown in place of third-party embeds. Theme tokens only. */
.consent-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; flex-direction: column; gap: 12px;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line); color: var(--text);
}
/* Text and buttons share one centred column. */
.consent-banner > * { width: 100%; max-width: 60rem; margin: 0 auto; }
.consent-text { color: var(--muted); font-size: 0.9375rem; }
.consent-prefs { display: flex; flex-direction: column; gap: 8px; }
.consent-option { display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap); color: var(--text); cursor: pointer; }
.consent-option input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent-option span { display: flex; flex-direction: column; gap: 2px; }
.consent-option small { color: var(--muted); font-size: 0.8125rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* consent.js sets --consent-h to the open banner's height. */
body.consent-open { padding-bottom: var(--consent-h); }
body.consent-open .cta-bar, body.consent-open .schedule-actions { bottom: var(--consent-h); }

.consent-gate {
    display: flex; flex-direction: column; gap: 12px; padding: 16px;
    border: 1px dashed var(--line); border-radius: var(--radius); background: var(--raised);
    color: var(--muted); font-size: 0.9375rem;
}
.consent-gate p { margin: 0; }
.consent-gate-actions { display: flex; flex-wrap: wrap; gap: 8px; }
