/* Calendar and ordered choices use the existing FamiS type and palette. */
.booking-month-nav { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 12px; }
.booking-month-nav button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); font-size: 24px; }
.booking-weekdays, .booking-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.booking-next-days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.booking-weekdays { font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.booking-day { min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--green); font-weight: 600; padding: 0; }
.booking-day:disabled { background: transparent; border-color: transparent; color: #747d77; font-weight: 400; text-decoration: line-through; }
.booking-day[aria-pressed="true"], .booking-time[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.booking-day-title { display: block; margin: 24px 0 10px; font-size: 14px; }
.booking-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.booking-time { min-height: 44px; padding: 8px 4px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-size: 13px; }
.booking-time:disabled { opacity: .45; }
.booking-selection-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; margin: 26px 0 8px; }
.booking-selection-heading span { color: var(--green); }
.booking-choices { list-style: none; padding: 0; margin: 0; }
.booking-choices li { display: flex; gap: 8px; align-items: center; padding: 12px 8px; border-top: 1px solid var(--line); font-size: 13px; }
.booking-choices li.is-active { background: var(--wash); }
.booking-priority-label { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; cursor: pointer; }
.booking-priority-label input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--green); cursor: pointer; }
.booking-priority-label span { min-width: 0; line-height: 1.6; }
.booking-choices li.is-filled { color: var(--green); }
#booking-count { padding: 2px 8px; border-radius: 4px; transition: background-color 180ms ease, color 180ms ease; }
.contact-booking[data-complete="true"] #booking-count { background: var(--green); color: white; }
.booking-day, .booking-time { transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
@media (prefers-reduced-motion: no-preference) {
  .booking-time.is-just-selected { animation: booking-select 240ms var(--motion-ease); }
  .booking-choices li.is-just-selected { animation: booking-choice-in 360ms var(--motion-ease); }
}
@keyframes booking-select { from { transform: scale(.96); } to { transform: scale(1); } }
@keyframes booking-choice-in { from { opacity: .3; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.booking-small { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; background: transparent; color: var(--green); font-size: 12px; min-height: 32px; }
.booking-remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--green); font-size: 20px; line-height: 1; cursor: pointer; }
.booking-remove:hover, .booking-remove:focus-visible { border-color: var(--green); background: var(--wash); }
.contact-booking button:focus-visible, .inquiry-workspace :focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
body[data-page="contact"] .booking-days { gap: 8px; }
body[data-page="contact"] .booking-times { gap: 10px; }
body[data-page="contact"] .booking-day,
body[data-page="contact"] .booking-time {
  min-height: 48px;
  border-color: #d5e2d7;
  border-radius: 12px;
  background: #fff;
}
body[data-page="contact"] .booking-day:not(:disabled):hover,
body[data-page="contact"] .booking-time:not(:disabled):hover { border-color: var(--green); }
body[data-page="contact"] .booking-day:disabled {
  border-color: transparent;
  background: transparent;
}
body[data-page="contact"] .booking-day[aria-pressed="true"],
body[data-page="contact"] .booking-time[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
body[data-page="contact"] .booking-choices { display: grid; gap: 8px; }
body[data-page="contact"] .booking-choices li {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #dce7de;
  border-radius: 12px;
  background: #fff;
  transition: background-color 180ms ease, border-color 180ms ease;
}
body[data-page="contact"] .booking-choices li.is-active {
  border-color: #9ecab0;
  background: #e7f2e9;
}
body[data-page="contact"] .booking-priority-label input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
body[data-page="contact"] #booking-count { border-radius: 999px; }
body[data-page="contact"] .booking-remove { width: 40px; height: 40px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  body[data-page="contact"] .booking-time.is-just-selected { animation: contact-slot-feedback 240ms ease; }
  body[data-page="contact"] .booking-choices li.is-just-selected { animation: contact-priority-feedback 260ms ease; }
}
@keyframes contact-slot-feedback { from { background-color: #076548; } }
@keyframes contact-priority-feedback { from { background-color: #d9ebde; } }
.inquiry-workspace { padding: 32px 20px; max-width: 880px; margin: auto; }
.inquiry-workspace h1 { font-size: clamp(24px, 5vw, 36px); line-height: 1.4; margin: 12px 0; }
.inquiry-workspace h2 { font-size: 20px; margin: 28px 0 14px; }
.inquiry-workspace p { max-width: 72ch; }
.inquiry-workspace dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.inquiry-workspace dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.inquiry-workspace dt { color: var(--muted); }
.inquiry-choices { list-style: none; padding: 0; }
.inquiry-choices li { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; }
.inquiry-choices strong { flex-basis: 100%; }
.inquiry-workspace a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.inquiry-workspace button { min-height: 44px; border: 1px solid var(--green); padding: 10px 16px; color: var(--green); background: var(--paper); }
.inquiry-workspace button.primary { color: white; background: var(--green); }
.inquiry-workspace button:disabled { opacity: .5; }
.inquiry-workspace label { display: block; margin: 12px 0; }
.inquiry-workspace select, .inquiry-workspace textarea { display: block; width: 100%; border: 1px solid var(--line); background: white; padding: 12px; }
.inquiry-notice { padding: 16px; background: var(--wash); border-left: 3px solid var(--green); }
#approval-confirm { border: 2px solid var(--green); padding: 20px; margin: 20px 0; }
#owner-status { white-space: pre-wrap; }
@media (max-width: 420px) {
  .footer-bar-left { min-width: 0; max-width: 100%; }
  .footer-bar-nav { flex-wrap: wrap; }
  .contact-booking { padding: 12px; }
  .booking-days, .booking-weekdays { gap: 2px; }
  .booking-next-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="contact"] .booking-days { gap: 6px; }
  body[data-page="contact"] .booking-times { gap: 8px; }
  .inquiry-workspace dl { grid-template-columns: 1fr; gap: 4px; }
  .inquiry-workspace dd { margin-bottom: 12px; }
}
