.appointment-message-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 24px; border: 1px solid #d7ded8; border-radius: 20px; color: #202723; background: #fff; overflow-y: auto; box-sizing: border-box; }
.appointment-message-dialog::backdrop { background: #14201980; }
.appointment-message-dialog header, .appointment-message-dialog footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.appointment-message-dialog header { padding: 0 0 18px; background: transparent; color: inherit; border-bottom: 1px solid #e3e8e4; align-items: flex-start; }
.appointment-message-dialog header > div { flex: 1; min-width: 0; }
.appointment-message-dialog header p { margin: 6px 0 0; color: #647168; font-size: 14px; line-height: 1.4; }
.appointment-message-dialog header [data-close] { flex: 0 0 44px; padding: 8px; background: #f1f4f2; color: #34473a; }
.appointment-message-dialog h2 { margin: 0 0 8px; font-size: 24px; }
.appointment-message-dialog strong { overflow-wrap: anywhere; }
.appointment-message-dialog label { display: block; margin: 24px 0 8px; }
.appointment-message-dialog textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.5; padding: 12px; border: 1px solid #aab7ad; border-radius: 12px; resize: vertical; }
.appointment-message-dialog button { min-height: 44px; min-width: 44px; padding: 10px 16px; border: 0; border-radius: 10px; font: inherit; cursor: pointer; }
.appointment-message-dialog [type=submit] { background: #244531; color: white; }
.appointment-message-dialog button:disabled { opacity: .6; cursor: wait; }
.appointment-message-dialog [data-status] { font-size: 14px; line-height: 1.5; }
.appointment-message-dialog .error { color: #a42a22; }
.appointment-message-dialog a { color: #365943; font-size: 14px; }
.appointment-retail-editor select { width: 100%; min-height: 48px; box-sizing: border-box; padding: 12px; border: 1px solid #aab7ad; border-radius: 10px; background: white; color: #202723; font: inherit; font-size: 16px; }
.appointment-retail-editor [data-summary] { margin: 24px 0 12px; padding: 14px; background: #edf4ef; border-radius: 10px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.appointment-retail-editor .retail-edit-note { color: #59675e; font-size: 14px; line-height: 1.5; }
.appointment-retail-editor [data-cancel] { background: #f1f4f2; color: #34473a; }
