/* =============================================================
   Snap Zap Media — the month calendar

   ONE calendar component, shared by the public booking page
   (/book/<link name>) and the free-times preview in /admin, so the
   two always look and behave the same (Robbie, 2026-11-18).
   Behaviour: /assets/js/calendar.js. Colours: tokens.css only.
   Bookable days are filled circles; other days are plain and faint;
   today carries a small dot; the picked day is solid accent.
   ============================================================= */

.bk-month{ display:flex; align-items:center; justify-content:center; gap:1rem; margin:0 0 .9rem }
.bk-month strong{ font-family:var(--body); font-weight:500; font-size:var(--step-0); min-width:10.5rem; text-align:center }
.bk-arrow{
  width:2.4rem; height:2.4rem; border-radius:50%; border:0; cursor:pointer;
  background:color-mix(in srgb, var(--accent) 14%, transparent); color:var(--accent);
  display:inline-flex; align-items:center; justify-content:center; transition:background .18s ease;
}
.bk-arrow:hover, .bk-arrow:focus-visible{ background:color-mix(in srgb, var(--accent) 26%, transparent) }
.bk-arrow:focus-visible{ outline:2px solid var(--accent); outline-offset:2px }
.bk-arrow[disabled]{ background:transparent; color:var(--ink-faint); cursor:default }
.bk-arrow svg{ width:1.1rem; height:1.1rem }

.bk-grid{ display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:.35rem .2rem; text-align:center }
.bk-dow{ font-size:var(--step--1); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); padding:.35rem 0 }
.bk-day{
  position:relative; justify-self:center; width:min(2.9rem, 100%); aspect-ratio:1; border-radius:50%;
  border:0; background:transparent; color:var(--ink-faint); font:inherit; font-size:var(--step-0);
  display:inline-flex; align-items:center; justify-content:center; cursor:default; padding:0;
}
.bk-day.is-open{ background:color-mix(in srgb, var(--accent) 16%, transparent); color:var(--accent); font-weight:600; cursor:pointer;
  transition:background .18s ease }
.bk-day.is-open:hover, .bk-day.is-open:focus-visible{ background:color-mix(in srgb, var(--accent) 30%, transparent) }
.bk-day:focus-visible{ outline:2px solid var(--accent); outline-offset:2px }
.bk-day.is-picked{ background:var(--accent); color:var(--ground) }
.bk-day.is-today::after{ content:""; position:absolute; bottom:.32rem; left:50%; width:.28rem; height:.28rem;
  margin-left:-.14rem; border-radius:50%; background:currentColor }
.bk-loading{ opacity:.45; pointer-events:none }
