/* Header correction belongs only to the German customer page on phones. */
@media (max-width: 600px) {
  html body.booking-customer-page:has(.topbar) > .topbar.topbar.topbar { height: calc(60px + env(safe-area-inset-top, 0px)) !important; min-height: calc(60px + env(safe-area-inset-top, 0px)) !important; }
  html body.booking-customer-page .topbar.topbar > .mobile-header-title.mobile-header-title { display: none !important; }
  html body.booking-customer-page .topbar.topbar > .center-logo-link.center-logo-link.center-logo-link { left: 6px !important; top: calc(2px + env(safe-area-inset-top, 0px)) !important; width: 56px !important; height: 56px !important; }
  html body.booking-customer-page .topbar.topbar > .center-logo-link .center-logo.center-logo.center-logo { width: 56px !important; height: 56px !important; max-width: 56px !important; max-height: 56px !important; object-fit: contain !important; }
  html body.booking-customer-page:has(.topbar) > .mobile-menu-button.mobile-menu-button.mobile-menu-button { top: calc(8px + env(safe-area-inset-top, 0px)) !important; }
  body.booking-customer-page .support-booking-portal.booking-mobile-wizard { padding-top: calc(92px + env(safe-area-inset-top, 0px)) !important; }
}
/* Shared German wizard foundations; wider layouts are in booking-responsive.css. */
/* The legacy portal overflow rule clips outer keyboard focus rings at x=0. */
body.booking-customer-page .support-booking-portal.booking-mobile-wizard:has([data-booking-step="4"]:not([hidden])) { overflow: visible !important; }
body.booking-customer-page .booking-billing-address-fields { display: grid; gap: 18px; min-width: 0; }
body.booking-customer-page .booking-billing-address-fields:empty { display: none; }
/* With clipping removed, enlarged text must wrap rather than push the editor out. */
body.booking-customer-page .booking-residence-summary { flex-wrap: wrap; }
body.booking-customer-page [data-booking-step="4"] .booking-summary h2,
body.booking-customer-page .booking-wizard-final-navigation button { overflow-wrap: anywhere; }
body.booking-customer-page .booking-devices-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 550; line-height: normal; }
body.booking-customer-page .booking-contract-fields > :is(.booking-residence-choice,[data-live-facts]) { grid-column: 1 / -1; }
  .support-booking-portal.booking-mobile-wizard {
    --booking-mobile-blue: #006edb;
    width: calc(100% - 32px);
    max-width: 520px;
    padding: calc(78px + env(safe-area-inset-top, 0px)) 0 max(52px, calc(28px + env(safe-area-inset-bottom, 0px))) !important;
    overflow: visible;
  }
  .booking-mobile-wizard .booking-mobile-form,
  .booking-mobile-wizard .booking-mobile-step { width: 100%; min-width: 0; margin: 0; padding: 0; }
  .booking-mobile-wizard [hidden] { display: none !important; }
  .booking-mobile-wizard .booking-progress { margin-bottom: 24px; }
  .booking-mobile-wizard .booking-progress p { margin: 0; text-align: left; }
  .booking-mobile-wizard .booking-progress-count { color: #6e6e73; font-size: 13px; line-height: 1.4; }
  .booking-mobile-wizard .booking-step-number { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: var(--booking-mobile-blue); color: #fff; font-size: 15px; font-weight: 650; }
  .booking-mobile-wizard .booking-progress-segments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  .booking-mobile-wizard .booking-progress-segments button { min-width: 0; min-height: 40px; border: 0; border-radius: 12px; background: #e8e8ed; color: #404047; font: inherit; font-weight: 600; cursor: pointer; }
  .booking-mobile-wizard .booking-progress-segments button:disabled { opacity: .55; cursor: default; }
  .booking-mobile-wizard .booking-progress-segments button[aria-current="step"] { background: var(--booking-mobile-blue); color: #fff; }
  .booking-mobile-wizard .booking-progress-segments button:focus-visible { outline: 2px solid var(--booking-mobile-blue); outline-offset: 2px; }
  .booking-mobile-wizard .booking-reset { display: block; min-height: 44px; margin: 12px auto 0; padding: 8px 16px; border: 0; border-radius: 10px; background: transparent; color: #55555d; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
  .booking-mobile-wizard .booking-reset:focus-visible { outline: 2px solid var(--booking-mobile-blue); outline-offset: 2px; }
  .booking-mobile-wizard .booking-devices-note { text-align: center; text-wrap: balance; }
  .booking-mobile-wizard .booking-progress-segments .is-complete { background: var(--booking-mobile-blue); }
  .booking-mobile-wizard .booking-progress-segments button.is-complete { color: #fff; }
  .booking-mobile-wizard .booking-mobile-step h1 { margin: 0; padding: 0; font-size: clamp(27px, 7.2vw, 32px) !important; line-height: 1.15; letter-spacing: -0.035em; text-align: left; text-wrap: balance; }
  .booking-mobile-wizard .booking-mobile-intro { margin: 12px 0 24px; color: #66666d; font-size: 15px; line-height: 1.5; }
  .booking-mobile-wizard .booking-section { margin-top: 28px; padding: 0; border: 0; }
  .booking-mobile-wizard .booking-section h2,
  .booking-mobile-wizard .booking-summary h2 { margin: 0 0 14px; font-size: 19px; font-weight: 650; line-height: 1.3; text-align: left; }
  .booking-mobile-wizard .booking-support-choices { display: grid; gap: 12px; margin-top: 24px; }
  .booking-mobile-wizard .booking-location-choices,
  .booking-mobile-wizard .booking-language-choices,
  .booking-mobile-wizard .booking-mobile-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .booking-mobile-wizard .booking-pill { min-width: 0 !important; width: 100%; min-height: 46px !important; height: auto; padding: 11px 10px !important; border: 1px solid transparent !important; border-radius: 14px !important; background: #f5f5f7 !important; color: #29292d !important; font: inherit; font-size: 14px !important; font-weight: 550 !important; line-height: 1.35 !important; white-space: normal; box-shadow: none !important; transform: none !important; }
  .booking-mobile-wizard .booking-pill.is-active { border-color: var(--booking-mobile-blue) !important; background: #eef6ff !important; color: var(--booking-mobile-blue) !important; }
  .booking-mobile-wizard .booking-pill:disabled { opacity: 0.5; cursor: default; }
  .booking-mobile-wizard .booking-support-choice,
  .booking-mobile-wizard .booking-location-choice { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; text-align: left; padding: 18px !important; }
  .booking-mobile-wizard .booking-support-choice { padding: 14px 16px !important; gap: 4px; }
  .booking-mobile-wizard .booking-support-choice strong { font-size: 17px; font-weight: 650; }
  .booking-mobile-wizard .booking-support-choice span,
  .booking-mobile-wizard .booking-location-choice span { color: #66666d; font-size: 14px; line-height: 1.4; font-weight: 400; }
  .booking-mobile-wizard .booking-location-choice { padding: 14px 12px !important; }
  .booking-mobile-wizard .booking-location-choice strong { font-size: 14px; font-weight: 600; }
  .booking-mobile-wizard .booking-mobile-note { margin: 12px 0 16px; color: #6e6e73; font-size: 13px; line-height: 1.5; }
  .booking-mobile-wizard .booking-fields { grid-template-columns: 1fr; gap: 18px; }
  .booking-mobile-wizard .booking-field { gap: 8px; font-size: 15px; font-weight: 550; }
  .booking-mobile-wizard .booking-field input,
  .booking-mobile-wizard .booking-field textarea,
  .booking-mobile-wizard .booking-phone-row select { min-height: 48px; padding: 12px; border: 1px solid #dedee3; border-radius: 13px; background: #f8f8fa; font-size: 16px !important; font-weight: 400; line-height: 1.4; }
  .booking-mobile-wizard .booking-field textarea { min-height: 120px; }
  .booking-mobile-wizard .booking-field input:focus,
  .booking-mobile-wizard .booking-field textarea:focus,
  .booking-mobile-wizard .booking-phone-row select:focus { border-color: var(--booking-mobile-blue); background: #fff; }
  .booking-mobile-wizard .booking-field.has-error input,
  .booking-mobile-wizard .booking-field.has-error textarea { border-color: #b42318; }
  .booking-mobile-wizard .booking-phone-row { grid-template-columns: 84px minmax(0, 1fr); }
  .booking-mobile-wizard .booking-message-counter { color: #6e6e73; font-size: 12px; font-weight: 400; }
  .booking-mobile-wizard .booking-message-counter.is-writing { color: #15834a; }
  .booking-mobile-wizard .booking-message-counter.is-over-limit { color: #b42318; }
  .booking-mobile-wizard .booking-month-head { grid-template-columns: 44px minmax(0, 1fr) 44px !important; gap: 6px !important; }
  .booking-mobile-wizard .booking-month-head h2 { font-size: 22px !important; font-weight: 650; letter-spacing: -0.02em; }
  .booking-mobile-wizard .booking-month-arrow,
  .booking-mobile-wizard .booking-month-arrow-spacer { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; }
  .booking-mobile-wizard .booking-single-calendar { margin-top: 14px; padding: 12px 8px; border-radius: 20px; background: #f5f5f7; }
  .booking-mobile-wizard .booking-calendar-grid { gap: 4px; grid-template-rows: 28px; grid-auto-rows: 44px; }
  .booking-mobile-wizard .booking-day {
    --booking-day-size: min(44px, 11vw);
    box-sizing: border-box;
    position: relative;
    align-self: center;
    max-width: 44px !important;
    width: var(--booking-day-size) !important;
    min-height: 0 !important;
    height: var(--booking-day-size) !important;
    aspect-ratio: 1;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 550;
    box-shadow: none !important;
  }
  /* Expand only the hit area, keeping every adjacent day independently tappable. */
  .booking-mobile-wizard .booking-day::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .booking-mobile-wizard .booking-day.is-selected { background: var(--booking-mobile-blue) !important; border-color: var(--booking-mobile-blue) !important; color: #fff !important; }
  .booking-mobile-wizard .booking-calendar-legend { justify-content: center; gap: 9px 13px; margin: 16px 0 0; font-size: 11px; font-weight: 400; }
  .booking-mobile-wizard .booking-weekday { font-size: 12px; font-weight: 500; }
  .booking-mobile-wizard .booking-time-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .booking-mobile-wizard .booking-duration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .booking-mobile-wizard .booking-mobile-price { margin-top: 28px; padding: 18px; border-radius: 16px; background: #f5f5f7; }
  .booking-mobile-wizard .booking-mobile-price > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 14px; line-height: 1.4; }
  .booking-mobile-wizard .booking-mobile-price > div:first-child { margin-top: 0; }
  .booking-mobile-wizard .booking-mobile-price strong { font-weight: 650; text-align: right; }
  .booking-mobile-wizard .booking-mobile-price > p { margin: 14px 0 0; color: #6e6e73; font-size: 13px; line-height: 1.4; }
  .booking-mobile-wizard .booking-summary { padding: 18px; margin-top: 28px; border-radius: 16px; background: #f5f5f7; }
  .booking-mobile-wizard .booking-summary dl { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .booking-mobile-wizard .booking-summary dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; align-items: start; }
  .booking-mobile-wizard .booking-summary dt { font-size: 13px; font-weight: 400; line-height: 1.45; }
  .booking-mobile-wizard .booking-summary dd { margin: 0; font-size: 14px; font-weight: 550; line-height: 1.4; text-align: right; }
  .booking-mobile-wizard .booking-mobile-total { font-weight: 650; }
  .booking-mobile-wizard .booking-contract-notice { padding: 0; margin: 24px 0 0; border: 0; background: #fff; font-size: 13px; line-height: 1.5; }
  .booking-mobile-wizard .booking-consent { align-items: flex-start; min-height: 44px; gap: 10px; }
  .booking-mobile-wizard .booking-consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--booking-mobile-blue); }
  .booking-mobile-wizard .booking-consent label { font-size: 13px; font-weight: 400; line-height: 1.5; white-space: normal; }
  .booking-mobile-wizard .booking-consent a { color: var(--booking-mobile-blue); }
  .booking-mobile-wizard .booking-feedback { min-height: 0; margin: 18px 0 0; font-size: 14px; line-height: 1.5; font-weight: 500; }
  .booking-mobile-wizard .booking-feedback:empty { display: none; }
  .booking-mobile-wizard .booking-wizard-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; padding-bottom: 6px; }
  .booking-mobile-wizard .booking-wizard-navigation > :only-child { grid-column: 1 / -1; }
  .booking-mobile-wizard .booking-wizard-final-navigation { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
  .booking-mobile-wizard .booking-wizard-navigation button,
  .booking-mobile-wizard .booking-availability-retry { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; min-height: 48px; margin: 0; padding: 11px 12px; border: 1px solid var(--booking-mobile-blue); border-radius: 14px; color: var(--booking-mobile-blue); background: #fff; box-shadow: none; font: inherit; font-size: 15px; line-height: 1.35; font-weight: 600; cursor: pointer; }
  .booking-mobile-wizard .booking-wizard-navigation .booking-wizard-next,
  .booking-mobile-wizard .booking-wizard-navigation .booking-submit:not(:disabled) { background: var(--booking-mobile-blue) !important; border-color: var(--booking-mobile-blue) !important; color: #fff !important; }
  .booking-mobile-wizard .booking-wizard-navigation button:disabled { background: #e8edf4 !important; border-color: transparent !important; color: #79828e !important; opacity: 1; cursor: default; }
  .booking-mobile-wizard .booking-wizard-final-navigation .booking-submit { font-size: 14px; }
  .booking-mobile-wizard button:focus-visible,
  .booking-mobile-wizard input:focus-visible,
  .booking-mobile-wizard textarea:focus-visible,
  .booking-mobile-wizard select:focus-visible { outline: 3px solid rgb(0 110 219 / 25%); outline-offset: 3px; }
  .booking-mobile-wizard .booking-field textarea:focus { border: 2px solid var(--booking-mobile-blue); padding: 11px; outline: none; box-shadow: none; }
  .booking-mobile-wizard .booking-phone-country { width: 100%; min-width: 0; min-height: 48px; padding: 12px 34px 12px 12px; border: 1px solid #dedee3; border-radius: 13px; background: #f8f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2366666d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; font: inherit; font-size: 16px; }
  .booking-mobile-wizard .booking-phone-prefix { display: flex; align-items: center; justify-content: center; font-weight: 400; }
  .booking-mobile-wizard .booking-summary dd ul { margin: 0; padding: 0; list-style: none; }
  .booking-mobile-wizard .booking-summary dd li + li { margin-top: 4px; }
  .booking-mobile-wizard .booking-contract-notice > p:first-child { width: 100%; max-width: 100%; min-width: 0; margin: 0 0 16px; white-space: normal; overflow-wrap: anywhere; text-align: center; font-size: 13px; line-height: 1.5; }
  .booking-mobile-wizard .booking-contract-notice { overflow: visible; }
  .booking-mobile-wizard button, .booking-mobile-wizard select { touch-action: manipulation; }
  .booking-mobile-wizard .booking-mobile-availability { margin-top: 24px; color: #66666d; font-size: 15px; line-height: 1.5; }
  .booking-mobile-wizard .booking-availability-retry { margin-top: 16px; }
  .booking-mobile-wizard .booking-feedback-status { color: #66666d; font-weight: 500; }
  .booking-mobile-wizard .booking-feedback-error { color: #b33d38; }
/* Sentence groups stay readable without forcing overflow on narrow screens. */
body.booking-customer-page .booking-payment-terms p { margin: 10px 0 0; line-height: 1.5; text-align: center; font-size: .9375rem; font-weight: 400; color: #55555d; }
body.booking-customer-page .booking-residence-choice { position: relative; min-width: 0; }
/* The optional residence text control is not the old transparent select. */
body.booking-customer-page .booking-residence-choice input[name="residenceCountryText"] {
  box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%;
  outline: none; box-shadow: none;
}
body.booking-customer-page .booking-residence-choice input[name="residenceCountryText"]:focus {
  border-color: #006edb; outline: 2px solid #006edb; outline-offset: -2px;
}
body.booking-customer-page .booking-residence-choice input[name="residenceCountryText"][aria-invalid="true"] {
  border-color: #c84f4a; background: #fff8f7; outline-color: #c84f4a;
}
/* Style only the closed control. Options and their highlighting remain native. */
body.booking-customer-page .booking-mobile-wizard select { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; padding: 12px 40px 12px 12px; border: 1px solid #dedee3; border-radius: 13px; color: #29292d; background: #f8f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2366666d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; font: inherit; font-size: max(16px, 1rem); font-weight: 400; line-height: 1.4; touch-action: manipulation; }
body.booking-customer-page .booking-residence-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; line-height: 1.5; }
body.booking-customer-page .booking-residence-editor { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; padding: 8px; box-sizing: border-box; color: #005ebd; text-decoration: underline; text-underline-offset: 3px; }
body.booking-customer-page .booking-residence-editor .booking-residence-choice { position: absolute; inset: 0; margin: 0; padding: 0; }
body.booking-customer-page .booking-residence-editor .booking-residence-choice > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body.booking-customer-page .booking-residence-editor select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 44px; margin: 0; opacity: 0; cursor: pointer; }
body.booking-customer-page .booking-residence-editor:focus-within { outline: 2px solid #006edb; outline-offset: 2px; border-radius: 8px; }
body.booking-customer-page .booking-mobile-wizard select:focus-visible { outline: 2px solid #006edb; outline-offset: -2px; box-shadow: none; }
/* Existing desktop grid is retained; contract controls share the same field styling. */
@media (min-width: 601px) {
  body.booking-customer-page .booking-contract-fields { display: grid; gap: 16px; }
  body.booking-customer-page .booking-contract-fields .booking-field { display: grid; gap: 6px; min-width: 0; }
  body.booking-customer-page .booking-contract-fields :is(input,select) { box-sizing: border-box; width: 100%; min-height: 44px; border: 1px solid #dedee3; border-radius: 12px; padding: 10px; font: inherit; }
  body.booking-customer-page .booking-customer-declarations { line-height: 1.5; overflow-wrap: anywhere; }
}
/* Local German contract preparation. */
@media (max-width: 600px) {
  .booking-contract-fields { display: grid; gap: 1.25rem; }
  .booking-contract-fields .booking-field { min-width: 0; }
  .booking-mobile-wizard .booking-contract-fields select, .booking-mobile-wizard .booking-contract-fields input { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 3rem; padding: .75rem; border: 1px solid #dedee3; border-radius: 13px; background: #f8f8fa; font: inherit; font-size: max(16px, 1rem); line-height: 1.4; }
  /* WebKit's native menulist ignores the box dimensions; keep the native picker,
     but use the same controllable select surface as the existing phone country. */
  .booking-mobile-wizard .booking-contract-fields select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; background: #f8f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2366666d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .75rem center; }
  .booking-contract-fields small { line-height: 1.5; overflow-wrap: anywhere; }
  .booking-mobile-wizard .booking-contract-fields :is(select, input):focus { outline: 2px solid #006edb; outline-offset: -2px; box-shadow: none; }
  .booking-contract-preparation { display: grid; gap: 1rem; margin-block: 1.5rem; overflow-wrap: anywhere; }
  .booking-contract-preparation p { margin: 0; }
  .booking-contract-preparation fieldset { min-width: 0; margin: 0; padding: 1rem; border: 1px solid #dedee3; border-radius: 12px; }
  .booking-contract-preparation legend { max-width: 100%; white-space: normal; }
  .booking-contract-preparation address { font-style: normal; line-height: 1.6; }
  .booking-contract-blocker { padding: 1rem; border-radius: 12px; background: #f2f2f7; color: #3a3a3c; }
  .booking-contract-final { margin-top: 1rem; }
  .booking-contract-final p { line-height: 1.5; }
  [data-customer-checkout] .booking-summary :is(dt, dd) { min-width: 0; overflow-wrap: anywhere; }
  [data-customer-checkout] .booking-summary .booking-summary-message { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  [data-customer-checkout] .booking-summary-message dd { text-align: left; white-space: pre-wrap; }
  [data-customer-checkout] .booking-customer-declarations { font-size: 14px; line-height: 1.5; }
  [data-customer-checkout] .booking-customer-declarations .booking-consent { margin-top: 14px; flex-wrap: wrap; }
  [data-customer-checkout] .booking-customer-declarations .booking-consent label { flex: 1; min-width: 0; }
  [data-customer-checkout] .booking-customer-declarations address { font-size: 13px; overflow-wrap: anywhere; }
  [data-customer-checkout] .booking-cancellation-information summary { display: list-item; min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 600; }
  [data-customer-checkout] .booking-cancellation-information p + p { margin-top: 12px; }
  [data-customer-checkout] .booking-checkout-unavailable { margin: 20px 0 0; color: #55555d; font-size: 13px; line-height: 1.5; }
  [data-customer-checkout] [data-customer-field-error] { color: #a52218; font-size: 13px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
  [data-customer-checkout] .booking-consent [data-customer-field-error] { flex: 0 0 100%; }
  .booking-mobile-wizard .booking-calendar-grid { grid-template-rows: 56px; }
  .booking-mobile-wizard .booking-message-input { display: block; position: relative; min-width: 0; }
  .booking-mobile-wizard [name="message"] { display: block; width: 100%; resize: vertical; scroll-margin-block: 80px; max-width: 100%; box-sizing: border-box; padding-bottom: 26px; }
  /* A conventional grip also works where iOS does not expose CSS resize. */
  .booking-mobile-wizard .booking-message-resize { position: absolute; right: 3px; bottom: 3px; width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; border-radius: 0 0 10px 0; background: linear-gradient(135deg, transparent 56%, #777781 57%, #777781 61%, transparent 62%, transparent 70%, #777781 71%, #777781 75%, transparent 76%) bottom right / 16px 16px no-repeat; cursor: ns-resize; touch-action: none; }
  .booking-mobile-wizard .booking-devices-note { text-align: center; text-wrap: balance; }
  .booking-mobile-wizard .booking-early-residence select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 12px; font: inherit; font-size: 16px; color: #29292d; border: 1px solid #dedee3; border-radius: 13px; background: #f8f8fa; }
  .booking-mobile-wizard .booking-early-residence select:focus-visible { outline: 2px solid #006edb; outline-offset: -2px; }
  .booking-mobile-wizard .booking-country-price { font-size: 14px; color: #55555d; line-height: 1.5; overflow-wrap: anywhere; }
  .booking-mobile-wizard .booking-residence-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 400; line-height: 1.5; }
  .booking-mobile-wizard [data-residence-edit] { flex-shrink: 0; min-height: 44px; padding: 8px; font: inherit; color: #005ebd; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
  [data-customer-checkout] .booking-customer-declarations { padding: 18px; border-radius: 16px; background: #f5f5f7; }
  [data-customer-checkout] .booking-billing-fields { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 16px; border: 1px solid #dedee3; border-radius: 12px; }
  [data-customer-checkout] .booking-billing-fields legend { font-weight: 600; }
  [data-customer-checkout] .booking-legal-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  [data-customer-checkout] .booking-legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
  [data-customer-checkout] .booking-customer-declarations a { color: #005ebd; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 550; }
  [data-customer-checkout] .booking-payment-terms p { margin: 10px 0 0; }
  [data-customer-checkout] .booking-customer-declarations > fieldset { background: #f5f5f7; border: 0; padding: 18px; border-radius: 16px; }
  [data-customer-checkout] .booking-customer-declarations > fieldset > legend { float: left; width: 100%; margin: 0 0 4px; font-size: 19px; font-weight: 650; }
  [data-customer-checkout] .booking-customer-declarations > fieldset > .booking-consent:first-of-type { clear: both; }
  [data-customer-checkout] .booking-legal-links { gap: 4px 12px; padding: 12px 0; border-block: 1px solid #e4e4e9; }
  [data-customer-checkout] .booking-customer-declarations address { padding-top: 8px; }
  [data-customer-checkout] .booking-billing-fields p { margin: 0; font-weight: 400; line-height: 1.5; }
  [data-customer-checkout] .booking-short-notice { padding: 14px; background: #f5f5f7; border-radius: 12px; }
  [data-customer-checkout] .booking-short-notice p { margin-top: 10px; }
  [data-customer-checkout] .booking-customer-declarations > fieldset { padding: 0; background: transparent; }
  [data-customer-checkout] .booking-customer-declarations .booking-short-notice { padding: 0; background: transparent; }
}
@media (max-width: 600px) {
  .booking-mobile-wizard #booking-step-title-4 {
    font-size: clamp(1.5rem, 6.4vw, 1.75rem) !important;
    text-wrap: wrap;
  }
  /* One solid focus contour per control, including the combined telephone field. */
  .booking-mobile-wizard [data-booking-step="4"] .booking-contact-panel input:is([name="firstName"], [name="lastName"], [name="email"]):focus,
  .booking-mobile-wizard [data-booking-step="4"] .booking-phone-country:focus,
  .booking-mobile-wizard [data-booking-step="4"] .booking-phone-row:focus-within {
    border-color: #dedee3;
    outline: 2px solid #006edb;
    outline-offset: -2px;
    box-shadow: none;
  }
  .booking-mobile-wizard [data-booking-step="4"] .booking-phone-row input:focus {
    outline: none;
    box-shadow: none;
  }
  .booking-mobile-wizard .booking-availability-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 12px auto 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--booking-mobile-blue);
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
  }
  .booking-mobile-wizard .booking-availability-refresh:disabled { color: #79828e; cursor: default; }
  .booking-mobile-wizard .booking-month-arrow {
    box-sizing: border-box;
    width: 44px !important;
    height: 44px !important;
    aspect-ratio: 1;
    padding: 0 !important;
    border-radius: 50% !important;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .booking-mobile-wizard .booking-weekday {
    /* Lift the complete weekday row by 10px versus the previous +4px offset.
       Date rows and their independent 44px hit targets remain unchanged. */
    position: relative;
    top: -6px;
    width: var(--booking-day-size, min(44px, 11vw));
    max-width: 44px;
    height: var(--booking-day-size, min(44px, 11vw));
    min-height: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    justify-self: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
  }
  .booking-mobile-wizard .booking-calendar-legend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
    font-size: 11px;
    line-height: 1.35;
  }
  .booking-mobile-wizard .booking-calendar-legend > span { min-width: 0; gap: 4px; white-space: nowrap; justify-content: center; text-align: center; }
  .booking-mobile-wizard .booking-calendar-legend > span:nth-child(2) { justify-content: center; text-align: center; }
  .booking-mobile-wizard .booking-calendar-legend > span:nth-child(3) { justify-content: center; text-align: center; }
  .booking-mobile-wizard .booking-calendar-legend i { width: 8px; height: 8px; flex: 0 0 8px; }
  .booking-mobile-wizard .booking-mobile-sentences > span { display: block; }
  .booking-mobile-wizard .booking-mobile-sentences > span + span { margin-top: 4px; }
  .booking-mobile-wizard .booking-mobile-payment-note { text-align: center; }
  .booking-mobile-wizard .booking-phone-row {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0;
    border: 1px solid #dedee3;
    border-radius: 13px;
    background: #f8f8fa;
  }
  .booking-mobile-wizard .booking-phone-prefix {
    min-height: 48px;
    padding: 12px 8px;
    border-radius: 12px 0 0 12px;
    background: #f5f5f7;
    font-size: 16px;
    line-height: 1.4;
  }
  .booking-mobile-wizard .booking-phone-row input {
    min-width: 0;
    min-height: 48px;
    border: 0;
    border-radius: 0 12px 12px 0;
  }
  .booking-mobile-wizard .booking-phone-row:focus-within { border-color: var(--booking-mobile-blue); box-shadow: 0 0 0 3px rgb(0 110 219 / 25%); }
  .booking-mobile-wizard .booking-phone-row input:focus-visible { outline: none; }
  .booking-mobile-wizard .booking-field.has-error .booking-phone-row { border-color: #b42318; }
  .support-booking-portal.booking-mobile-wizard ~ .global-site-footer { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) {
  /* Seven non-overlapping 44px targets require 308px of inner calendar width. */
  .support-booking-portal.booking-mobile-wizard:has([data-booking-step="3"]:not([hidden])) { overflow-x: visible !important; }
  .support-booking-portal.booking-mobile-wizard:has([data-booking-step="3"]:not([hidden])) .booking-month-head,
  .support-booking-portal.booking-mobile-wizard:has([data-booking-step="3"]:not([hidden])) .booking-schedule-options,
  .support-booking-portal.booking-mobile-wizard:has([data-booking-step="3"]:not([hidden])) .booking-wizard-navigation { overflow-x: clip; }
  .booking-mobile-wizard .booking-single-calendar {
    box-sizing: border-box;
    width: max(100%, 316px);
    margin-inline: min(0px, calc((100% - 316px) / 2));
    padding-inline: 4px;
  }
  .booking-mobile-wizard .booking-calendar-grid { column-gap: 0; }
}

/* Only the authenticated simulation: no changes to public or wider layouts. */
@media (max-width: 600px) {
  body:has(.anlexu-design-review) .anlexu-design-review { padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
  body:has(.anlexu-design-review) .support-booking-portal.booking-mobile-wizard { padding-top: 24px !important; }
  [data-design-simulation] .booking-calendar-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); justify-items: center; align-items: center; }
  [data-design-simulation] .booking-weekday { top: 0; align-self: center; }
  [data-design-simulation] .booking-summary :is(dt, dd) { min-width: 0; overflow-wrap: anywhere; }
  [data-design-simulation] .booking-summary .booking-summary-message { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  [data-design-simulation] .booking-summary-message dd { text-align: left; white-space: pre-wrap; }
  [data-design-simulation] [data-simulation-error] { color: #a52218; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
  [data-design-simulation] .booking-contract-preparation { gap: 16px; font-size: 14px; line-height: 1.5; }
  [data-design-simulation] .booking-contract-preparation .booking-consent { margin-top: 12px; }
  [data-design-simulation] .booking-contract-preparation .booking-consent:first-of-type { margin-top: 0; }
  [data-design-simulation] .booking-contract-preparation address { font-size: 13px; }
}

/* Only the existing German customer-visit notice changes its alignment. */
@media (min-width: 1024px) {
  html[lang="de"] .booking-mobile-wizard .booking-travel-policy {
    text-align: center;
  }
}

/* Customer-only additions: keep the existing form, focus rings and breakpoints. */
.booking-mobile-wizard .booking-invoice-heading { grid-column: 1 / -1; }
.booking-mobile-wizard .booking-invoice-heading h2 { margin-bottom: 6px; }
.booking-mobile-wizard .booking-invoice-heading p { margin: 0; }
.booking-mobile-wizard .booking-contract-fields > #booking-residence-review,
.booking-mobile-wizard .booking-invoice-details,
.booking-mobile-wizard .booking-invoice-extras { grid-column: 1 / -1; width: 100%; min-width: 0; }
.booking-mobile-wizard .booking-invoice-extras { display: grid; gap: 18px; }
.booking-mobile-wizard .booking-phone-control { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; min-width: 0; grid-column: 1 / -1; }
.booking-mobile-wizard .booking-phone-control .booking-phone-country { grid-column: 1; grid-row: 1; border-radius: 13px 0 0 13px; }
.booking-mobile-wizard .booking-phone-control .booking-phone-country[aria-invalid=true] { border-color: #b42318; }
.booking-mobile-wizard .booking-phone-control input[name=phone] { grid-column: 2; grid-row: 1; border-radius: 0 13px 13px 0; border-left-width: 0; }
.booking-mobile-wizard .booking-phone-control:focus-within { outline: 2px solid #006edb; outline-offset: 2px; border-radius: 13px; }
.booking-mobile-wizard .booking-phone-control :is(input,select):focus { outline: none !important; box-shadow: none !important; }
.booking-mobile-wizard :is(.booking-mobile-step,.booking-contact-panel,.booking-fields,.booking-contract-fields,.booking-billing-address-fields,.booking-field) { overflow: visible; }
.booking-mobile-wizard .booking-field :is(input,textarea,select) { box-sizing: border-box; min-width: 0; max-width: 100%; }
.booking-mobile-wizard .booking-field:not([data-field-wrap=phone]) :is(input,textarea,select):focus-visible { outline: 2px solid #006edb; outline-offset: 2px; box-shadow: none; }
.booking-mobile-wizard .booking-field:not([data-field-wrap=phone]) :is(input,textarea,select)[aria-invalid=true] { outline-color: #b42318; border-color: #b42318; }
.booking-mobile-wizard .booking-country-suggestions {
  position: absolute; z-index: 20; top: 100%; left: 0; right: 0;
  box-sizing: border-box; min-width: 0; max-width: 100%;
  max-height: 240px; max-height: min(240px, 40dvh);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  margin: 4px 0 0; padding: 4px; list-style: none; border: 1px solid #dedee3;
  border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}
.booking-mobile-wizard .booking-country-suggestions li {
  display: flex; align-items: center; box-sizing: border-box; min-height: 44px;
  padding: 10px 12px; border-radius: 8px; font-size: 16px; font-weight: 400;
  line-height: 1.4; overflow-wrap: anywhere; cursor: pointer;
}
.booking-mobile-wizard .booking-country-suggestions [aria-selected="true"] { background: #eef6ff; color: #005ebd; }
.booking-mobile-wizard .booking-country-suggestions li:hover { background: #f5f5f7; }
.booking-mobile-wizard .booking-mobile-price { grid-column: 1 / -1; min-width: 0; }
.booking-mobile-wizard .booking-mobile-price dl { display: grid; gap: 12px; margin: 0; }
.booking-mobile-wizard .booking-mobile-price dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.booking-mobile-wizard .booking-mobile-price :is(dt,dd) { margin: 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.booking-mobile-wizard .booking-mobile-price dd { text-align: right; }
.booking-mobile-wizard .booking-mobile-price .booking-mobile-total { font-weight: 650; }
.booking-mobile-wizard .booking-mobile-price .booking-mobile-total:not(:first-child) { padding-top: 12px; border-top: 1px solid #dedee3; }
.booking-mobile-wizard [data-customer-field-error] { color: #b42318; font-size: 13px; font-weight: 400; line-height: 1.45; }
.booking-mobile-wizard .booking-duration-more { margin-top: 8px; }
.booking-mobile-wizard .booking-duration-more summary { display: list-item; min-height: 44px; padding: 12px 0; box-sizing: border-box; color: #005ebd; font-size: 14px; cursor: pointer; }
.booking-mobile-wizard .booking-month-head h2 { white-space: normal !important; overflow-wrap: anywhere; hyphens: auto; }
.booking-mobile-wizard .booking-time-grid { display: flex; flex-wrap: wrap; }
.booking-mobile-wizard .booking-time-grid .booking-pill { flex: 1 1 max(calc((100% - 30px) / 4), calc(5ch + 24px)); width: auto; }
.booking-mobile-wizard :is(dt,dd,h2) { hyphens: auto; }
.booking-mobile-wizard [data-weekday-short] { white-space: nowrap; }
.booking-mobile-wizard .booking-weekday-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .booking-mobile-wizard .booking-wizard-final-navigation { display: flex; flex-wrap: wrap; }
  .booking-mobile-wizard .booking-wizard-final-navigation .booking-wizard-back { flex: 1 1 7em; }
  .booking-mobile-wizard .booking-wizard-final-navigation .booking-submit { flex: 2 1 16em; }
}
@media (min-width: 601px) {
 .booking-mobile-wizard .booking-invoice-extras { grid-template-columns: repeat(2,minmax(0,1fr)); }
 /* The prefix now lives inside this control, not in a sibling grid column. */
 .booking-mobile-wizard [data-field-wrap="phone"] > .booking-phone-control { grid-column: 1 / -1; grid-row: 2; width: 100%; box-sizing: border-box; }
}
