/* Keep the booking form's hints in normal flow; global hints use a negative margin. */
dialog.reservation-editor-dialog{width:min(820px,calc(100vw - 32px))}
.reservation-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
.reservation-editor-grid>label,.reservation-member-choice>label{margin:0;min-width:0}
.reservation-editor-grid input,.reservation-editor-grid select{margin:8px 0 0;min-width:0;width:100%}
.reservation-editor-grid .form-hint{display:block;margin:0;line-height:1.7}
.reservation-section-title{font-size:14px;font-weight:600;margin:0;color:var(--green)}
.reservation-member-panel{padding:16px;background:#f6f9f5;border:1px solid var(--line);border-radius:8px;min-width:0}
.reservation-member-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.reservation-member-head strong{font-size:13px}
.reservation-member-head p{font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0 0}
.reservation-member-head button{flex-shrink:0;white-space:nowrap}
.reservation-member-status{font-size:12px;line-height:1.7;color:var(--muted);margin:10px 0 0;overflow-wrap:anywhere}
.reservation-member-candidates{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.reservation-member-candidates:empty{display:none}
.reservation-member-candidates button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}
.reservation-editor-grid .reservation-time-fields{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;margin-top:8px;align-items:start}
.reservation-editor-grid .date-choice,.reservation-editor-grid .reservation-clock select{margin:0;min-height:44px;font-size:14px}
.reservation-editor-grid .reservation-clock{align-items:center}
.reservation-editor-grid .reservation-clock>span{padding:0}
.reservation-editor-grid .calendar-panel{margin:10px 0 0}
.reservation-editor-grid .reservation-shortcuts{gap:12px;padding:14px 16px;background:#fafbf9;border-radius:8px;border:1px solid var(--line)}
.reservation-shortcuts>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.8}
.reservation-shortcuts button{margin:0}
.reservation-editor-grid #reservation-summary{padding:10px 12px;background:#edf4ec;border-radius:6px;line-height:1.7;font-size:12px;overflow-wrap:anywhere}
.reservation-editor-form>.modal-actions{margin-top:22px}
@media(max-width:600px){
 .reservation-editor-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .reservation-member-head{align-items:flex-start;flex-direction:column;gap:10px}
 .reservation-editor-grid .reservation-time-fields{grid-template-columns:minmax(0,1fr)}
 .reservation-editor-dialog #modal-content{padding:20px}
}
