/* GO-06/F – Additive controls inside the ORIGINAL appointment-booking UI.
   No new grid, form, calendar or typography scale. Only tenant-gated markup. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1.2rem;
  border: 0;
  margin: .35rem 0 .85rem;
  padding: 0;
  min-width: 0;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-mode legend {
  float: none;
  width: 100%;
  margin-bottom: .25rem;
  font-size: inherit;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-mode label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-size: .9rem;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-mode input { accent-color: var(--bs-primary, #245786); }
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .75rem;
  margin: 0 0 .65rem;
  color: inherit;
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--bs-border-color, #ccd6e1);
  border-radius: .6rem;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-all:focus-visible,
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-all:hover {
  outline-offset: 3px;
  border-color: var(--bs-primary, #245786);
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile {
  display: flex;
  gap: .75rem;
  padding: .7rem;
  margin: .45rem 0 .8rem;
  border-radius: .65rem;
  border: 1px solid var(--bs-border-color, #ccd6e1);
  font-size: .86rem;
  line-height: 1.45;
  align-items: flex-start;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile[hidden] { display: none; }
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile img {
  width: 76px;
  height: 76px;
  border-radius: .6rem;
  flex-shrink: 0;
  object-fit: cover;
}
/* GO-08: site-wide p styling must never turn the worker bio white/36px. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile {
  color: #334155;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile > div { min-width: 0; }
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile p {
  margin: .2rem 0 0;
  color: #334155;
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
/* GO-08: only individual multi-resource candidates receive the new cards.
   Legacy single-service and group-event slots keep their previous appearance. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  align-items: stretch;
  gap: .65rem;
  width: 100%;
  min-width: 0;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi .appointment-booking__slot {
  display: block;
  min-width: 0;
  width: 100%;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi .appointment-booking__slot > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .15rem;
  width: 100%;
  min-width: 0;
  min-height: 84px;
  box-sizing: border-box;
  padding: .7rem .8rem;
  border-radius: .75rem;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi .appointment-booking__slot-time {
  display: block;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi .appointment-booking__slot-worker {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi .appointment-booking__slot-service {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 575px) {
  .js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__slot-list--multi {
    grid-template-columns: minmax(0, 1fr);
  }
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-datepicker__day.is-checkable:not([disabled]) {
  border-color: var(--bs-border-color, #c6d3e1);
}
@media (max-width: 575px) {
  .js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-mode { gap: .45rem .8rem; }
}

/* GO-09: staff and service tied to the actual selected multi-resource slot. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__selected-time-detail {
  display: block;
  margin-top: .2rem;
  color: #166534;
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* GO-10: portrait + vertically centred role/name; bio is always full width. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile{display:block}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-heading{display:flex;gap:.75rem;align-items:center;min-height:76px}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-title{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:.12rem;overflow-wrap:anywhere}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-title strong{font-weight:700;font-size:1rem;color:#0f172a}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-role{font-size:.85rem;font-weight:600;color:#334155}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile p.appointment-booking__multi-profile-description{margin:.55rem 0 0;max-width:none;width:100%;color:#334155;font-size:.86rem;line-height:1.5}
/* Green only when a verified public availability candidate was returned. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-datepicker__day.is-worker-nearest:not(:disabled){background:#dcfce7;border-color:#16a34a;color:#166534;font-weight:800;box-shadow:inset 0 0 0 1px #16a34a}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-datepicker__day.is-worker-nearest.is-selected:not(:disabled){background:#15803d;border-color:#166534;color:#fff}

/* GO-12: linked experts link their portrait and name only, not the job title. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-link{
  color:inherit;text-decoration:none;border-radius:.35rem;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-link:hover{
  color:var(--bs-primary,#245786);text-decoration:underline;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-link:focus-visible{
  outline:2px solid var(--bs-primary,#245786);outline-offset:3px;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-image-link{
  display:inline-flex;flex:0 0 auto;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-profile-image-link img{
  display:block;
}

/* GO-17/FIX02: pilot-only clarity for both native select and tile pickers. */
.js-wb-appointment-booking[data-appointment-go17-filter="1"] .appointment-booking__multi-explainer {
  margin: -.35rem 0 .75rem; font-size: .84rem; line-height: 1.5; color: #475569;
}
.js-wb-appointment-booking[data-appointment-go17-filter="1"] .appointment-booking__multi-filter-status {
  margin: .65rem 0 .7rem; padding: .55rem .7rem; border-radius: .55rem;
  background: #edf5ff; color: #16406a; font-size: .85rem; font-weight: 650;
}
.js-wb-appointment-booking[data-appointment-go17-filter="1"] [data-appointment-card][hidden] { display: none !important; }
@media (max-width: 575px) {
  .js-wb-appointment-booking[data-appointment-go17-filter="1"] .appointment-booking__multi-filter-status { font-size: .82rem; }
}

/* GO-17/FIX03: one consistent service > staff > date flow for every multi-resource site. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-worker {
  margin: 1rem 0 1.25rem;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards {
  margin-bottom: 0;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards-title-step {
  margin: 0 0 .6rem;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards-list {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 2px 9px 6px 2px;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #f1f5f9;
}
/* GO-17/FIX03/UI01: hint is only shown when real list overflow remains. */
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: 0;
  padding: .4rem .3rem .1rem;
  font-size: .8rem;
  line-height: 1.4;
  color: #475569;
  text-align: center;
  pointer-events: none;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards-more[hidden] {
  display: none !important;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards-more::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__cards-list:focus-visible {
  outline: 2px solid var(--bs-primary,#245786);
  outline-offset: 2px;
}
.js-wb-appointment-booking[data-appointment-multi="1"] .appointment-booking__multi-filter-status {
  margin: .65rem 0 0; padding: .55rem .7rem; border-radius: .55rem;
  background: #edf5ff; color: #16406a; font-size: .85rem; font-weight: 650;
}
.js-wb-appointment-booking[data-appointment-multi="1"] [data-appointment-card][hidden] {
  display: none !important;
}
/* UI02: egységes 320px maximális magasság mobilon és desktopon. */
