/* Production interactions on top of the approved layout. */
:focus-visible { outline: 3px solid #3477b8; outline-offset: 3px; }
.datecard .error:empty, .datecard #bookingStatus:empty, #formError:empty { display: none; }
button:disabled { cursor: not-allowed; opacity: .68; }
.photo-open { display: block; position: relative; width: 100%; height: 100%; padding: 0; background: none; border: 0; }
.photo-open:focus-visible { outline: none; }
.photo-open:focus-visible::after { content: ''; position: absolute; inset: 5px; border-radius: 12px; box-shadow: 0 0 0 2px #172637, inset 0 0 0 2px #fff; pointer-events: none; }
#photoDialog { width: min(740px, calc(100% - 1rem)); max-height: calc(100dvh - 1rem); padding: .75rem; overflow: hidden; }
#photoDialog[open] { display: flex; flex-direction: column; gap: .6rem; }
#photoDialog .modal-head { flex: none; align-items: center; }
#photoDialog h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); }
#photoDialog img { display: block; flex: 0 1 auto; min-height: 0; width: 100%; height: auto; object-fit: contain; }
.services button, .contact-list a { min-height: 44px; }
#bookingDialog { width: min(620px, calc(100% - 2rem)); max-height: 90dvh; overflow: hidden; }
#bookingDialog[open] { display: flex; flex-direction: column; }
#bookingDialog > .modal-head { flex: none; }
#bookingDialog > .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: .35rem; }
#bookingDialog > .modal-body::-webkit-scrollbar { display: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .65rem; }
.modal-head .close { flex: none; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #f4f7ff; color: var(--ink); font-size: 1.45rem; }
.progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 1rem 0; gap: .35rem; list-style: none; }
.progress li { padding: .45rem .35rem; background: #eef2fa; border-radius: .55rem; color: var(--muted); text-align: center; font-size: .76rem; }
.progress [aria-current] { color: #fff; background: var(--blue); font-weight: 700; }
.wizard-panel h3 { margin-bottom: .75rem; }
.field { display: grid; gap: .25rem; margin-bottom: .7rem; min-width: 0; }
.field label, .check { font-size: .9rem; font-weight: 650; }
.field input, .field select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #8e9bb3; border-radius: .6rem; background: #f7f9fe; color: var(--ink); padding: .45rem .55rem; font: inherit; }
.two, .summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.summary { margin-bottom: 1rem; }
.summary div { background: #eef2fa; padding: .55rem; border-radius: .6rem; overflow-wrap: anywhere; }
.summary strong { display: block; }
.terms { padding: .65rem; background: #eef2fa; border-radius: .6rem; }
.terms summary { cursor: pointer; font-weight: 700; }
.terms p { white-space: pre-line; }
.check { display: flex; align-items: center; gap: .55rem; min-height: 44px; margin-top: .55rem; }
.check input { flex: none; width: 1.2rem; height: 1.2rem; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: .5rem; margin-top: .9rem; }
.btn.secondary { background: #edf2fa; color: var(--blue); border-color: #c9d4e6; }
.btn.secondary:hover { background: #dfe8f8; }
.error, [aria-invalid=true] { color: #902525; }
.error { font-size: .88rem; font-weight: 650; margin-top: .45rem; }
.field [aria-invalid=true] { border-color: #902525; }
.booking-mode { font-weight: 650; }
.success { margin-top: 1rem; background: #e5f3ed; padding: .9rem; border-radius: .75rem; }
.license-page { padding-block: 2rem; }
.license-page h1 { margin-block: 1rem; }
@media (max-width: 420px) {
  #bookingDialog { padding: 1rem; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .progress li { font-size: .64rem; overflow-wrap: anywhere; }
}
