.appointment-week {
  box-sizing: border-box;
  min-width: 0;
  max-width: 46rem;
  margin-block: 1rem;
  padding: clamp(.6rem, 3vw, 1rem);
  border: 1px solid #c2c0ad;
  border-radius: .65rem;
  background: #fffef6;
  color: #20201b;
}

.appointment-week-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1rem;
}

.appointment-week-heading h3 { margin: 0; font-size: 1.125rem; }
.appointment-week-status, .appointment-week-local, .appointment-week-note {
  margin: 0;
  font-size: .875rem;
  line-height: 1.45;
}
.appointment-week-status, .appointment-week-local { color: #4a4a3d; }
.appointment-week-local time { font-variant-numeric: tabular-nums; font-weight: 700; }
.appointment-week[data-schedule-state] .appointment-week-status::before {
  content: "";
  display: inline-block;
  width: .5rem;
  height: .5rem;
  margin-inline-end: .35rem;
  border-radius: 50%;
  background: #807a66;
}
.appointment-week[data-schedule-state="open"] .appointment-week-status::before { background: #287541; }

.appointment-week-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin-block: .65rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.appointment-week-table caption {
  text-align: left;
  margin-block-end: .35rem;
  font-size: .875rem;
  color: #4a4a3d;
}
.appointment-week-table th, .appointment-week-table td {
  padding: .35rem .1rem;
  text-align: center;
  border: 1px solid #c2c0ad;
}
.appointment-week-table th { font-size: .875rem; }
.appointment-week-table td { font-size: clamp(.68rem, 1.8vw, .875rem); }
.appointment-week-table abbr { text-decoration: none; }
.appointment-week-table time { white-space: nowrap; }
.appointment-week-table .appointment-today { background: #f6edb0; }

@media (max-width: 640px) {
  .appointment-week-table td time { display: block; }
  .appointment-week-table td span { display: block; line-height: .7; }
}
