.appointment-manager { width: 100%; max-width: 860px; margin: 0 0 40px; color: var(--ink); }
.appointment-manager h2 { margin: 0 0 20px; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.appointment-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 0 0 28px; padding: 20px 0; border-block: 1px solid var(--line); }
.appointment-facts > div { min-width: 0; }
.appointment-facts dt { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.appointment-facts dd { margin: 0; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.appointment-manager label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.appointment-date-form, .appointment-manager [data-appointment-reschedule] > label { max-width: 400px; }
.appointment-manager input[type="date"], .appointment-manager select { box-sizing: border-box; width: 100%; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); font: inherit; font-size: 16px; }
.appointment-manager input[type="date"] { display: block; -webkit-appearance: none; appearance: none; }
.appointment-manager select option { font-size: 16px; background: var(--surface); color: var(--ink); }
.appointment-date-form { margin-bottom: 20px; }
.appointment-slot-status { min-height: 22px; margin: 10px 0; color: var(--muted); font-size: 14px; }
.appointment-next-status { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.appointment-form-actions, .appointment-item-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.appointment-item-actions { margin-top: 14px; }
.appointment-item-actions a { font-size: 14px; }
.appointment-cancel { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.appointment-cancel summary { width: fit-content; padding: 8px 0; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--ink); }
.appointment-cancel p { line-height: 1.5; overflow-wrap: anywhere; }
.appointment-cancel-button { min-height: 46px; padding: 10px 18px; border: 1px solid #a82c36; border-radius: 6px; background: #a82c36; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.appointment-error { padding: 14px; border: 1px solid #b3261e; border-radius: 6px; color: var(--ink); line-height: 1.5; }
.appointment-notice { padding: 16px; border: 1px solid var(--accent); border-radius: 6px; color: var(--ink); background: var(--surface); line-height: 1.5; }
.appointment-manager button:disabled { opacity: 0.5; cursor: not-allowed; }
.appointment-manager [hidden] { display: none !important; }
@media (max-width: 540px) {
  .appointment-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .appointment-form-actions { align-items: stretch; }
  .appointment-form-actions > button, .appointment-form-actions > a { flex: 1 1 160px; text-align: center; }
  .appointment-form-actions > button { flex-basis: 100%; }
  .appointment-item-actions a { flex: 1 1 140px; text-align: center; }
}
