

.bk-ov {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(6, 7, 12, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  overflow: auto; overscroll-behavior: contain;
}
.bk-ov[hidden] { display: none; }
.bk-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.bk-orb-blue { width: 520px; height: 520px; background: radial-gradient(circle, #1e3a6e 0%, #1e3a6e 30%, rgba(30,58,110,0) 72%); top: -140px; right: -80px; opacity: 0.5; }
/* .bk-orb-gold: the NAME is historical - the warm half of this orb pair is the ruled blue's dark slate (#2F5A88, a dark
   slate blue) since gold died on 2026-09-16; its cool half stays #1e3a6e. Renaming the class crosses into index.html. */
.bk-orb-gold { width: 420px; height: 420px; background: radial-gradient(circle, #2f5a88 0%, #2f5a88 30%, rgba(47,90,136,0) 72%); bottom: -160px; left: -100px; opacity: 0.32; }

.bk-card {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 48px);
  overflow: auto; overscroll-behavior: contain;
  padding: 30px 34px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: var(--paper);
}
.bk-head { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; margin-bottom: 20px; }
.bk-kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #9fb6e0; }
.bk-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.15; margin: 6px 0 0; }
.bk-sub { color: var(--gray-2); font-size: 0.9rem; margin: 8px 0 0; max-width: 52ch; }
.bk-x {
  appearance: none; cursor: pointer; width: 38px; height: 38px; border-radius: 50%;
  color: var(--paper); font-size: 1.05rem; line-height: 1;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}
.bk-x:hover, .bk-x:focus-visible { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }

.bk-body { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 26px; align-items: start; }

/* ---- the month grid. Printed who/what/time, not a table of OPEN buttons ---- */
.bk-cal { display: grid; gap: 12px; }
.bk-cal-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.bk-cal-month { font-family: var(--serif); font-size: 1.02rem; letter-spacing: 0.04em; text-align: center; }
.bk-nav {
  appearance: none; cursor: pointer; width: 32px; height: 32px; border-radius: 10px;
  color: var(--paper); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18); line-height: 1;
}
.bk-nav:hover:not(:disabled), .bk-nav:focus-visible { background: rgba(255, 255, 255, 0.13); }
.bk-nav:disabled { opacity: 0.32; cursor: default; }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-dow span { text-align: center; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-3); }
.bk-day {
  appearance: none; cursor: pointer; aspect-ratio: 1 / 1; min-height: 38px; border-radius: 10px;
  display: grid; place-items: center; gap: 2px;
  font-family: var(--sans); font-size: 0.82rem; color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.bk-day:hover:not(:disabled), .bk-day:focus-visible { background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }
.bk-day:disabled { opacity: 0.26; cursor: default; background: transparent; border-color: rgba(255, 255, 255, 0.07); }
.bk-day.is-blank { visibility: hidden; }
.bk-day .bk-dot { width: 4px; height: 4px; border-radius: 50%; background: #7fa8ff; }
.bk-day[aria-pressed="true"] {
  color: #eaf1ff;
  background: linear-gradient(160deg, rgba(120,170,255,.38) 0%, rgba(56,108,200,.16) 38%, rgba(30,58,110,.12) 60%, rgba(120,170,255,.20) 100%);
  border-color: rgba(140, 180, 255, 0.45);
  box-shadow: 0 8px 24px rgba(15, 40, 100, 0.5), inset 0 2px 6px rgba(190, 215, 255, 0.4);
}
.bk-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; }
.bk-time {
  appearance: none; cursor: pointer; padding: 11px 10px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.03em; color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.bk-time:hover, .bk-time:focus-visible { background: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }
/* the pick = his blue bubble, specular highlight and all */
.bk-time[aria-pressed="true"] {
  position: relative; overflow: hidden; color: #eaf1ff;
  background: linear-gradient(160deg, rgba(120,170,255,.38) 0%, rgba(56,108,200,.16) 38%, rgba(30,58,110,.12) 60%, rgba(120,170,255,.20) 100%);
  border-color: rgba(140, 180, 255, 0.45);
  box-shadow: 0 10px 34px rgba(15,40,100,.55), 0 0 24px rgba(90,140,255,.22), inset 0 2px 6px rgba(190,215,255,.45), inset 0 -6px 14px rgba(10,25,60,.35);
}
.bk-time[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 7%; left: 12%; width: 42%; height: 34%;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0));
  border-radius: 999px; pointer-events: none;
}
.bk-daynote { font-size: 0.76rem; color: var(--gray-2); margin: 0; }

/* ---- the form: every control styled, never a default browser control ---- */
.bk-form { display: grid; gap: 12px; }
.bk-form label { display: grid; gap: 5px; }
.bk-form .bk-lab { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-2); }
.bk-form input, .bk-form textarea, .bk-form select {
  appearance: none; width: 100%; min-height: 44px; padding: 11px 13px;
  font-family: var(--sans); font-size: 0.88rem; color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bk-form textarea { min-height: 82px; resize: vertical; line-height: 1.5; }
.bk-form input::placeholder, .bk-form textarea::placeholder { color: var(--gray-3); }
.bk-form input:focus, .bk-form textarea:focus { outline: none; border-color: rgba(140, 180, 255, 0.75); box-shadow: 0 0 0 3px rgba(90, 140, 255, 0.18); }
.bk-consent { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: 0.78rem; color: var(--gray-1); }
.bk-consent input[type="checkbox"] {
  appearance: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0;
  border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid; place-items: center; cursor: pointer;
}
.bk-consent input[type="checkbox"]:checked {
  background: linear-gradient(160deg, rgba(120,170,255,.5), rgba(56,108,200,.3));
  border-color: rgba(150, 190, 255, 0.7);
}
.bk-consent input[type="checkbox"]:checked::after { content: "\2713"; font-size: 0.72rem; color: #eaf1ff; }
.bk-consent a { color: var(--gray-1); }

/* the primary action = the blue bubble, verbatim from his blessed sample */
.bk-go {
  position: relative; overflow: hidden; cursor: pointer; appearance: none;
  margin-top: 4px; padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #eaf1ff;
  background: linear-gradient(160deg, rgba(120,170,255,.38) 0%, rgba(56,108,200,.16) 38%, rgba(30,58,110,.12) 60%, rgba(120,170,255,.20) 100%);
  border: 1px solid rgba(140, 180, 255, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(15,40,100,.55), 0 0 24px rgba(90,140,255,.22), inset 0 2px 6px rgba(190,215,255,.45), inset 0 -6px 14px rgba(10,25,60,.35);
  transition: all 0.35s ease;
}
.bk-go::after {
  content: ""; position: absolute; top: 7%; left: 12%; width: 42%; height: 34%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  border-radius: 999px; pointer-events: none;
}
.bk-go::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none;
}
.bk-go:hover::before { left: 130%; }
.bk-go:hover, .bk-go:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 44px rgba(15,40,100,.6), 0 0 38px rgba(100,150,255,.4), inset 0 2px 8px rgba(200,222,255,.6), inset 0 -6px 14px rgba(10,25,60,.35);
}
.bk-held {
  margin: 16px 0 0; padding: 13px 15px; border-radius: 12px;
  font-size: 0.82rem; color: #dfe8ff;
  background: rgba(56, 108, 200, 0.12); border: 1px solid rgba(120, 165, 255, 0.3);
}
.bk-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem; color: var(--gray-3); }
/* a laptop at 800px tall was cutting the last time row below the card's own
   scroll line - the popup scrolled, but a booking form whose times you have to
   go looking for is not the premium read. Compact, not cropped. */
@media (min-width: 821px) and (max-height: 900px) {
  .bk-card { padding: 22px 28px 20px; }
  .bk-head { margin-bottom: 14px; }
  .bk-title { font-size: 1.44rem; }
  .bk-sub { font-size: 0.84rem; margin-top: 6px; }
  .bk-body { gap: 22px; }
  .bk-cal { gap: 9px; }
  .bk-day { min-height: 32px; font-size: 0.78rem; }
  .bk-days, .bk-dow { gap: 5px; }
  .bk-time { padding: 9px 10px; }
  .bk-form { gap: 9px; }
  .bk-form input { min-height: 40px; padding: 9px 12px; }
  .bk-form textarea { min-height: 64px; }
  .bk-go { padding: 13px 28px; }
  .bk-foot { margin-top: 12px; padding-top: 10px; }
}
@media (max-width: 820px) {
  .bk-ov { padding: 0; place-items: end stretch; }
  .bk-card { width: 100%; max-height: 92svh; border-radius: 18px 18px 0 0; padding: 22px 18px 20px; }
  .bk-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bk-day { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-go, .bk-time, .bk-day, .bk-x { transition: none; }
  .bk-go::before { display: none; }
}


.bk-inline { position: relative; overflow: hidden; border-radius: 18px; }
.bk-inline .bk-card { width: 100%; max-width: 940px; max-height: none; overflow: visible; margin: 0 auto; }
.bk-inline .bk-head { grid-template-columns: 1fr; }
/* the phone floors the home page gives the booker at 640 and under (a3-phone.css LIST 17), here by the frame's own class */
@media (max-width: 640px) {
  .bk-inline { border-radius: 14px; }
  .bk-inline .bk-card { width: 100%; padding: 22px 12px 20px; border-radius: 14px; box-sizing: border-box; }
  .bk-inline .bk-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bk-inline :is(.bk-dow, .bk-days) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .bk-inline .bk-day { min-height: 44px; min-width: 0; }
  .bk-inline .bk-nav { width: 44px; height: 44px; }
  .bk-inline .bk-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-inline .bk-times :is(button, a) { min-height: 44px; }
}
