#editor[data-editor-mode="appointments"] .modal-head { gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
#editor[data-editor-mode="appointments"] #editor-title { font-size: 21px; overflow-wrap: anywhere; min-width: 0; }
#editor[data-editor-mode="appointments"] .field { align-content: start; min-width: 0; }
#editor[data-editor-mode="appointments"] [hidden] { display: none !important; }
#editor[data-editor-mode="appointments"] .appointment-mode-options { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
#editor[data-editor-mode="appointments"] .appointment-mode-options label { background: #fff; border-radius: 6px; padding: 11px; grid-template-columns: 16px minmax(0,1fr); gap: 4px 8px; }
#editor[data-editor-mode="appointments"] .appointment-mode-options label.active { background: #fff4f6; border-color: var(--accent); box-shadow: none; }
#editor[data-editor-mode="appointments"] .appointment-mode-options strong { font-size: 13px; color: var(--ink); }
#editor[data-editor-mode="appointments"] .appointment-mode-options small { font-size: 12px; }
#editor[data-editor-mode="appointments"] .appointment-mode-options input { accent-color: var(--accent); width: 15px; height: 15px; min-height: 0; padding: 0; }
#editor[data-editor-mode="appointments"] .appointment-contact-panel .quick-fields-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
#editor[data-editor-mode="appointments"] .quick-customer-vehicle { background: transparent; border: 0; padding: 0; }
#editor[data-editor-mode="appointments"] .appointment-form-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin: 2px 0; font-size: 14px; }
#editor[data-editor-mode="appointments"] .appointment-form-heading > span { margin-left: auto; color: var(--muted); font-size: 12px; }
#editor[data-editor-mode="appointments"] .appointment-form-heading svg, .appointment-contact-pending svg { width: 16px; height: 16px; flex-shrink: 0; }
#editor[data-editor-mode="appointments"] .field > :is(input:not([type=radio]):not([type=checkbox]), select, textarea) { width: 100%; min-width: 0; min-height: 42px; border: 1px solid var(--line); border-radius: 5px; padding: 9px 10px; box-shadow: none; }
#editor[data-editor-mode="appointments"] .field > :is(input,select,textarea):focus-visible { border-color: var(--accent); }
#editor[data-editor-mode="appointments"] .field > [aria-invalid="true"] { border-color: #b50030; }
#editor[data-editor-mode="appointments"] #editor-actions { border-top: 1px solid var(--line); padding-top: 14px; }
.appointment-contact-pending { display: inline-flex; align-items: center; gap: 6px; margin: 7px 0; padding: 4px 7px; border-radius: 4px; background: #fff4dc; color: #815a12; font-size: 12px; font-weight: 700; }
.appointment-detail-people dd > .appointment-contact-pending { display: flex; width: fit-content; }
.appointment-contact-phone { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
@media (max-width: 640px) {
  #editor[data-editor-mode="appointments"] #editor-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #editor[data-editor-mode="appointments"] .appointment-mode-options { grid-template-columns: minmax(0,1fr); }
  #editor[data-editor-mode="appointments"] .appointment-mode-options label { min-height: 44px; }
  #editor[data-editor-mode="appointments"] .field > :is(input:not([type=radio]):not([type=checkbox]),select,textarea) { font-size: 16px; }
}
@media (max-width: 400px) {
  #editor[data-editor-mode="appointments"] #editor-fields,
  #editor[data-editor-mode="appointments"] .appointment-contact-panel .quick-fields-grid { grid-template-columns: minmax(0,1fr); }
}
