/* Focused booking refinements — 25 October 2026. */
#choose,#details{line-height:1.35;letter-spacing:0}
#roomCard{margin:28px 0 0;padding:20px}
#roomCard .room-preview{display:block;width:100%;max-width:760px;margin:0 auto;padding:0;line-height:0;border:0;background:transparent}
#roomCard .room-preview img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:10px}
@media(max-width:600px){
 #choose,#details{font-size:clamp(17px,4.9vw,22px);white-space:nowrap;letter-spacing:0;line-height:1.4;margin-bottom:20px}
 #choose{gap:8px;flex-wrap:nowrap}
 #choose .ui-icon{width:19px;height:19px;flex:0 0 19px}
 #choose>span{min-width:0;white-space:nowrap}
 #roomCard{margin-top:22px;padding:14px}
}
/* Same fieldset/legend as individual consultancy; text aligns after its radio column. */
#booking .corporate-contact{display:block;padding:12px 13px 12px 41px;border:1px solid var(--line,#e7e2d8);border-radius:6px;background:#fff;min-height:48px;font-size:17px;font-weight:400;line-height:1.65}
#booking .corporate-contact a{font:inherit;color:inherit;white-space:nowrap;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#bcaa76}
.booking-final-notes{margin:30px 0 0;text-align:left;color:#45546a}
.booking-final-notes p{margin:0;text-align:left;font-size:16px;line-height:1.75}
#bookingCopyright.site-copyright{display:block;width:100%;max-width:none;margin:22px auto 0;padding:20px 0;text-align:center;color:#45546a;line-height:1.7;opacity:1;letter-spacing:0}
#bookingCopyright .copyright-company{display:block;width:100%;white-space:nowrap;font-size:clamp(8px,2.65vw,14px);text-align:center}
#bookingCopyright .copyright-rights{display:block;margin-top:4px;white-space:nowrap;font-size:14px;text-align:center}

.booking-final-notes p{display:flex;align-items:baseline;gap:6px}
.booking-final-notes .note-marker{flex:none}
#lookupDialog [data-lookup-text="intro"]{white-space:nowrap;font-size:clamp(14px,4vw,18px);letter-spacing:0}

/* Phone portrait only: leave desktop, iPad and landscape layouts unchanged. */
@media(max-width:600px) and (orientation:portrait){
 #refresh.refresh{display:inline-block;width:auto;min-height:32px;margin:8px 0 0;padding:4px 0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#53677f;font-size:14px;font-weight:400;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
 #refresh.refresh.hidden{display:none}
 #summary:empty,#emailHint:empty,#formError:empty,#loadError:empty{display:none}
 #modeHint{display:none}
 #choose,#details{margin-bottom:16px}
 #booking .appointment-group{padding:12px;margin-bottom:14px}
 #booking .appointment-options{gap:8px}
 #booking .appointment-options label{padding:9px 13px;min-height:44px}
 #booking .corporate-contact{padding:9px 13px 9px 41px;min-height:44px}
 #booking>label,#booking .names label{margin-top:12px;margin-bottom:6px}
 #booking .reading-checks{margin:16px 0}
 #booking .reading-row{margin-bottom:12px}
 #booking .visit-info{margin-top:8px;padding:10px 12px}
}

/* The photo keeps its natural height; neither desktop column stretches it. */
@media(min-width:901px){
 .layout:not(.booking-complete){align-items:start}
 .layout:not(.booking-complete)>.calendar-column{justify-content:flex-start}
 .layout:not(.booking-complete)>.panel{align-self:start}
 .calendar-column #roomCard{margin:0}
}
#booking .booking-actions{display:flex;flex-direction:column;gap:10px}
#booking #bookingManage{width:100%;margin:0;min-height:44px;font-weight:600}
/* Both actions stay in the form flow, including when the keyboard is open. */
#booking .booking-actions{position:static}
#booking #submit{position:static;width:100%;min-height:48px;margin:0;box-shadow:none}
#booking #bookingManage{background:#edf2f7;color:#193251;border:2px solid #193251;border-radius:8px;padding:12px 16px;opacity:1;line-height:1.4}
#booking #bookingManage:hover{background:#dfe8f1}
#booking #bookingManage:focus-visible{outline:3px solid #bcaa76;outline-offset:3px}

/* Keep unavailable times in the schedule without offering a selection. */
#slots .slot:disabled {
 background:#f3f3f0;
 border-color:#e1e2df;
 color:#646b73;
 cursor:default;
 opacity:1;
}
#slots .slot-status {
 display:block;
 margin-top:4px;
}
#slots .slot:enabled:not(.selected) {
 opacity:1;
}
