#service-buttons button { min-inline-size:0; }
.service-button-label { display:block; }
.service-button-label.is-fitted { white-space:nowrap; }
.time-buttons h4 { margin:12px 0 6px; font-size:.95rem; }
.time-button-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,68px),1fr));
  gap:6px;
}
.time-button-grid button {
  min-inline-size:0;
  min-height:44px;
  padding:6px 4px;
  font-size:1rem;
  color:#003fcb;
}
.time-button-grid button[aria-pressed="true"] {
  color:#fff;
  background:#003fcb;
  border-color:#003fcb;
}

#treatment-dialog {
  box-sizing:border-box;
  width:min(32rem, calc(100% - 2rem));
  max-height:80vh;
  max-height:80dvh;
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid #d8cabb;
  border-radius:16px;
  padding:16px;
  background:#fff;
  color:#29231c;
}
#treatment-dialog::backdrop { background:#20160880; }
#treatment-dialog h2 { margin:0 0 12px; }
#treatment-dialog h3 { margin:12px 0 6px; font-size:1rem; }
.treatment-detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
#treatment-dialog button {
  min-height:44px;
  padding:6px 10px;
  font:inherit;
  overflow-wrap:anywhere;
  color:inherit;
  border:1px solid #d8cabb;
  border-radius:10px;
  background:#fff;
}
.treatment-dialog-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
#treatment-dialog button[aria-pressed="true"], #treatment-dialog-apply:not(:disabled) {
  border-color:#003fcb;
  background:#003fcb;
  color:#fff;
}
body:has(#treatment-dialog[open]) { overflow:hidden; }

.staff-buttons {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));
  gap:8px;
  margin-block:8px 12px;
}
.booking-step .staff-buttons button {
  display:grid;
  justify-items:center;
  align-content:center;
  gap:6px;
  padding:8px 6px;
  min-width:0;
  color:#0b1f5d;
}
.booking-step .staff-buttons button[aria-pressed="true"] {
  border-color:#003fcb;
  outline:2px solid #003fcb;
  outline-offset:-2px;
  background:#eef4ff;
}
.staff-initial {
  display:grid;
  place-items:center;
  width:2.375rem;
  height:2.375rem;
  border-radius:50%;
  object-fit:cover;
  background:#e8efff;
  font-weight:700;
}
.staff-name { overflow-wrap:anywhere; }
