.bk { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; margin-bottom: var(--sp-16, 16px); }
.bk > * { min-width: 0; }
.bk-info, .bk-cal, .bk-times { padding: 20px; }
.bk-info { display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--border); }
.bk-cal { border-bottom: 1px solid var(--border); }
.bk-biz { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 600; }
.bk-biz img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.bk-title { font-size: 1.6rem; line-height: 1.15; margin: 0; font-weight: 700; color: var(--text); }
.bk-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-muted); }
.bk-facts li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.bk-facts svg { flex: 0 0 auto; margin-top: 2px; }
.bk-pick { display: flex; flex-direction: column; gap: 10px; }
.bk-pick .pill { min-height: 48px; }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.bk-month { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0; }
.bk-month span { color: var(--text-muted); font-weight: 500; }
.bk-nav { display: flex; gap: 4px; }
.bk-nav a, .bk-nav span { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); text-decoration: none; font-size: 1.2rem; }
.bk-nav a:hover { background: var(--surface-2); }
.bk-nav span { color: var(--text-faint); }
.bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-dow { text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); padding: 4px 0 6px; }
.bk-day { position: relative; aspect-ratio: 1 / 1; min-height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text-faint); text-decoration: none; border: 0; background: transparent; font: inherit; }
a.bk-day { background: var(--surface-2); color: var(--text); }
a.bk-day:hover { outline: 2px solid var(--text); outline-offset: -2px; }
a.bk-day.is-on { background: var(--text); color: var(--surface); }
.bk-day.is-today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.bk-day.is-few small { position: absolute; top: 3px; right: 5px; font-size: .6rem; font-weight: 700; color: var(--text-muted); }
a.bk-day.is-on small { color: var(--surface); }
.bk-note { font-size: .82rem; color: var(--text-muted); margin: 12px 0 0; }
.bk-times { display: flex; flex-direction: column; gap: 12px; }
.bk-times-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bk-times-head strong { font-size: 1rem; }
.bk-times-head strong span { color: var(--text-muted); font-weight: 500; }
.bk-clock { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; padding: 2px; }
.bk-clock button { min-height: 32px; min-width: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--text-muted); font: inherit; font-size: .85rem; cursor: pointer; }
.bk-clock button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); font-weight: 600; }
.bk-slots { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; }
.bk-slot { position: relative; display: block; }
.bk-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-slot span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--border); border-radius: 10px; font-weight: 600; color: var(--text); cursor: pointer; background: var(--surface); }
.bk-slot span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success, #16a34a); }
.bk-slot small { color: var(--text-muted); font-weight: 500; }
.bk-slot input:checked + span { background: var(--text); color: var(--surface); border-color: var(--text); }
.bk-slot input:checked + span small { color: var(--surface); }
.bk-slot input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.bk-empty { border: 1px dashed var(--border); border-radius: 12px; padding: 16px; color: var(--text-muted); }
.bk-more { display: none; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.bk-times.has-time .bk-more { display: flex; }
.bk-noscript .bk-more { display: flex; }
.bk-busy { opacity: .55; transition: opacity .15s; }
.bk-policy summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.bk-policy ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
@media (max-width: 1099px) {
  .bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .bk-slots legend { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .bk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bk-info { grid-column: 1 / -1; }
  .bk-cal { border-bottom: 0; border-right: 1px solid var(--border); }
}
@media (min-width: 1100px) {
  .bk { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(220px, 280px); }
  .bk-info { grid-column: auto; border-bottom: 0; border-right: 1px solid var(--border); }
  .bk-times-list { max-height: 520px; overflow-y: auto; padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .bk-busy { transition: none; } }
.bk-move, .bk-edit { grid-column: 1 / -1; }
.bk-move { display: grid; gap: 12px; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.bk-move .bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.bk-edit summary { list-style: none; }
.bk-edit[open] { border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.bk-services > summary { cursor: pointer; min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; }
.bk-services > summary::-webkit-details-marker { display: none; }
/* On a phone the calendar comes first, then the times, then the details. */
@media (max-width: 1099px) {
  .bk-cal { order: 1; }
  .bk-times { order: 2; }
  .bk-info { order: 3; border-bottom: 0; border-top: 1px solid var(--border); }
}
/* Signed-out visitors see the calendar on the public page, which is narrower by default. */
body.bk-public main > .container { max-width: 1180px; }
/* With scripts on, the calendar and price update by themselves, so the Show times button is only for no-script. */
.bk:not(.bk-noscript) [data-bk-update] { display: none; }
.bk-opts { border: 0; margin: 4px 0 8px 14px; padding: 0 0 0 12px; border-left: 2px solid var(--border); display: grid; gap: 8px; }
.bk-opts legend { padding: 0; margin-bottom: 6px; }
.bk-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.bk-opt input { width: 20px; height: 20px; flex: none; }
.bk-opt span { flex: 1; }
.bk-opt:has(input:checked) { border-color: var(--text); }
.bk-need { margin: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); font-weight: 600; }
.bk-gift > summary { list-style: none; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.bk-gift > summary::-webkit-details-marker { display: none; }
.bk-gift .btn.coral { background: var(--mk-coral, #FB532D); border-color: var(--mk-coral, #FB532D); color: #fff; }
