/* Shared Hong Kong phone control; no additional selectable country or field. */
.hk-phone-control {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #94836b;
  border-radius: .6rem;
  background: #fff;
  color: #201c16;
}
.hk-phone-control .hk-phone-prefix {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: .7rem .8rem;
  border-inline-end: 1px solid #d8cdbd;
  border-radius: .6rem 0 0 .6rem;
  background: #f4eddf;
  color: #514333;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.hk-phone-control input[data-hk-phone] {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  flex: 1 1 auto;
  margin: 0;
  padding: .7rem .8rem;
  border: 0;
  border-radius: 0 .6rem .6rem 0;
  background: #fff;
  color: #201c16;
  font: inherit;
  font-size: 1rem;
  box-shadow: none;
}
.hk-phone-control:focus-within { outline: 3px solid #99560f; outline-offset: 4px; }
.hk-phone-control input[data-hk-phone]:focus-visible { outline: none; }
.hk-phone-control:has(input[aria-invalid='true']) { border-color: #a82f24; }
/* Higher specificity than the pre-existing scoped Talk2us input declaration. */
body[data-page='/talk2us'] .talk2us-field-group .hk-phone-control input[data-hk-phone] { border: 0; border-radius: 0 .6rem .6rem 0; }
body[data-page='/talk2us'] .talk2us-field-group .hk-phone-control input[data-hk-phone]:focus-visible { outline: none; }
body.office-shell .hk-phone-control input[data-hk-phone] { border: 0; border-radius: 0 .6rem .6rem 0; }
body.office-shell .hk-phone-control input[data-hk-phone]:focus { box-shadow: none; }
@media (forced-colors: active) {
  .hk-phone-control:focus-within { outline-color: Highlight; }
  .hk-phone-control .hk-phone-prefix { border-color: CanvasText; }
}

/* Contact form must fit a 320px phone; existing seven-day controls can scroll
   inside their own row instead of forcing all contact fields off-screen. */
body[data-page='/book'] .booking-form { grid-template-columns: minmax(0, 1fr); }
body[data-page='/book'] .booking-form .field-group { min-width: 0; }
body[data-page='/book'] .booking-form .weekday-picker { min-width: 0; max-width: 100%; overflow-x: auto; }
