.appointments-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .65rem; }
.appointments-view { max-width: 15rem; }
.appointments-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: .85rem; }
.appointment-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.appointment-grid.day { grid-template-columns: minmax(0, 1fr); }
.appointment-day { min-width: 0; min-height: 4rem; border: 1px solid var(--pet-border); border-radius: .5rem; padding: .4rem; }
.appointment-day.outside { background: #f7f8fc; }
.appointment-date { display: block; min-height: 36px; border: 0; text-align: left; background: transparent; color: var(--pet-ink); font-weight: 700; padding: .2rem; }
.appointment-date[aria-current] { color: #4547b7; text-decoration: underline; }
.appointment-item { display: block; width: 100%; padding: .55rem; border-radius: .45rem; border: 1px solid transparent; text-align: left; margin-bottom: .35rem; overflow-wrap: anywhere; }
.appointment-item:hover { border-color: currentColor; }
.appointment-item strong, .appointment-item small { display: block; }
.appointment-item small { font-size: .8rem; }
.appointment-list { min-width: 45rem; }
#appointments-main .btn, #appointment-editor .btn, #appointment-detail .btn { min-height: 44px; }
#appointment-editor [hidden], #appointment-detail [hidden] { display: none !important; }
@media (max-width: 991.98px) {
  .appointments-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appointment-grid.week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .appointment-grid.week { grid-template-columns: minmax(0, 1fr); }
  .appointment-grid.month { gap: .18rem; }
  .appointment-grid.month .appointment-day { padding: .15rem; min-height: 3.25rem; }
  .appointment-grid.month .appointment-item { font-size: .74rem; padding: .16rem; }
  .appointment-grid.month .appointment-item small { display: none; }
  .appointment-grid.month .appointment-item strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
