/* Booking readability and navigation only; existing fields and actions are preserved. */
.booking-card {
  --text: #3f5148;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
.booking-card :is(small, .step-hint, .sq-hint, .deduct-hint, .booking-terms,
  .booking-option-description, .condition-description, .condition-help,
  .time-hint, .field-hint, .field-help, .ui-summary-note, .booking-kicker, #step-counter,
  .booking-reassurance, .required-note, #ui-summary-context, .ui-summary-title,
  .ui-summary-price > span, .ui-summary-extras li, .ui-summary-discount,
  .booking-ask span, .booking-ask a, .field-error, .form-errors, #breakdown,
  .frequency-label, .review dt, .review dd, .review-edit-links button,
  .sup-pr, .sup-tx b, .confirm-text, .steps i, .price-assurance,
  .photo-consent p, .service-options strong, .frequency-choices button,
  .total-row > span, .time-cards button, .date-card small, .info-note,
  .review-more-title, .pay-tx b, .confirm-note) {
  font-size: 15px !important;
  line-height: 1.45;
}
.booking-card :is(.step-hint, .sq-hint, .deduct-hint, .booking-terms,
  .booking-option-description, .condition-description, .condition-help,
  .time-hint, .field-hint, .field-help, .ui-summary-note,
  .booking-reassurance, .required-note, #ui-summary-context, #breakdown,
  .price-assurance, .photo-consent p) { color: #3f5148; }
.booking-card :is(label, .checkbox, .steps button, .booking-option-title,
  .service-options b, .condition-level strong, .time-card span, .form-buttons .main-button) {
  font-size: 16px !important;
}
.booking-card .booking-head p { font-size: 16px; color: #3f5148; }
/* A consistent hierarchy: headings, field labels and supporting text. */
.booking-card .booking-head h2 { letter-spacing: -.035em; line-height: 1.15; }
.booking-card .booking-head { padding-bottom: 18px; }
.booking-card .booking-kicker { letter-spacing: .06em; font-weight: 600; }
.booking-card #step-counter { letter-spacing: 0; font-weight: 500; }
.booking-card form > fieldset > legend,
.booking-card .static-field-title { font-weight: 650; letter-spacing: -.02em; }
.booking-card :is(label, .frequency-label, .picker-heading, .sq-question > legend) {
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.booking-card :is(small, .field-help, .sq-hint, .step-hint,
  .booking-option-description, .required-note, .booking-reassurance,
  .price-assurance, .photo-consent p, .confirm-text) {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}
.booking-card :is(.service-options b, .sup-tx b, .pay-tx b) {
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.booking-card :is(.service-options strong, .sup-pr) {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.booking-card .service-options label > span { row-gap: 4px; }
.booking-card .booking-option-title { font-weight: 600; line-height: 1.3; }
.booking-card .booking-option-description { margin-top: 4px; }
.booking-card .frequency-choices button { font-weight: 500; line-height: 1.35; }
.booking-card .frequency-choices button[aria-pressed="true"] { font-weight: 600; }
.booking-card :is(.field-help, .sq-hint, .step-hint) { text-wrap: pretty; }
.booking-card .home-grid .room-count label small { margin-top: 4px; }
.booking-card .review :is(dt, dd) { line-height: 1.5; overflow-wrap: anywhere; }
.booking-card .review dt { font-weight: 500; }
.booking-card .review dd { font-weight: 600; }
.booking-card .form-buttons .back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1.5px solid #9aafa1;
  border-radius: 10px;
  background: #fff;
  color: #0e5239;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}
.booking-card .back::before { content: '\2190'; }
.booking-card .back:hover { background: #e5f1eb; border-color: #0e5239; }
.booking-card .back:focus-visible { outline: 3px solid #0e5239; outline-offset: 3px; }
@media (max-width: 600px) {
  .booking-card .steps { gap: 4px; padding: 5px; }
  .booking-card .steps button { min-height: 46px; padding: 7px 4px; font-weight: 600; }
  .booking-card .steps i { display: none; }
  .booking-card .steps li.done::after { display: none; }
  .booking-card .steps button > span { line-height: 1.3; }
  .booking-card .service-options label { gap: 10px; padding: 11px 32px 11px 12px !important; }
  .booking-card .service-options label > span { column-gap: 8px; }
  .booking-card .service-options b { overflow-wrap: normal; }
  .booking-card .service-options strong { align-self: start; }
  /* Let room explanations use the whole row instead of a narrow text column. */
  .booking-card .home-grid .room-count {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 12px;
    padding: 9px 0;
  }
  .booking-card .home-grid .room-count label { display: contents !important; }
  .booking-card .home-grid .room-count label > span { grid-column: 1; grid-row: 1; }
  .booking-card .home-grid .room-count label > small {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    font-weight: 400;
  }
  .booking-card .home-grid .room-stepper { grid-column: 2; grid-row: 1; }
  .booking-card .booking-option-head { gap: 10px; padding: 11px 12px; }
  .booking-card .form-buttons { gap: 10px; }
  .booking-card .form-buttons .back { padding-inline: 14px; }
  .booking-card .form-buttons .main-button { padding-inline: 12px; }
}
body.booking-in-view #chat-bubble:not(.open) { display: none !important; }

/* Booking polish: presentation only, with the existing controls kept visible. */
.booking-card .service-options label {
  border-color: #cbd8d0;
  border-radius: 12px;
}
.booking-card .service-options label:has(input:checked) {
  background: #edf5ef;
  border-color: #0e5239;
}
.booking-card :is(.total-row, .booking-summary) { background: #f5f3eb; }
.booking-card .total-row {
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce3d7;
  border-radius: 12px;
}
.booking-card .total-row > div { min-width: 0; }
.booking-card .total-row > div > span { font-weight: 600; }
.booking-card #breakdown { margin-top: 4px; overflow-wrap: anywhere; }
.booking-card :is(#total, #ui-summary-total) {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.booking-card .condition-estimate {
  padding: 12px 0;
  border: 0;
  background: transparent;
}
.booking-card .condition-final { font-size: 16px; line-height: 1.4; }
.booking-card .condition-final > span { color: #3f5148; font-weight: 500; }
.booking-card .condition-extra-note {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  margin-top: 6px;
}
.booking-card #step2 > .schedule-picker { background: #fafbf8; }
.booking-card #step2 .form-section-title {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e0e7e1;
  font-weight: 650;
}
.booking-card #step3 .review > div { padding-block: 10px; }
.booking-card #step3 .review > .sum { padding: 16px 12px; background: #edf5ef; }
.booking-card #step3 .review > .sum dd { font-size: 26px !important; line-height: 1.2; }
.booking-card .review-edit-links { gap: 8px; }
.booking-card .review-edit-links button { border-radius: 8px; }
.booking-card .pay-method:has(input:checked) { background: #edf5ef; }
.booking-card .pay-tx small { font-size: 15px; line-height: 1.45; }
.booking-card .form-buttons .main-button {
  font-weight: 650;
  letter-spacing: -.01em;
  box-shadow: 0 3px 8px #0e523910;
}
@media (max-width: 600px) {
  .booking-card .total-row { padding: 12px; gap: 8px; }
  .booking-card .total-row output { font-size: 28px; }
  .booking-card .condition-final { flex-wrap: wrap; gap: 4px 12px; }
  .booking-card .ui-summary-overview { padding: 10px; gap: 10px; }
  .booking-card .ui-summary-price > span { font-weight: 500; }
  .booking-card #ui-summary-total { font-size: 27px; }
  .booking-card #step3 .review > .review-deduction {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px;
  }
}
