/* ALCANCE Home — SABRE-only search UI.
 * WhatsApp markup is removed server-side before the shortcode reaches the browser.
 */
[data-mp-home-search-v2] .mphs__body {
    padding-bottom: 22px !important;
}

/* Remove any residual spacing left by empty status elements. */
[data-mp-home-search-v2] .mphf {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

[data-mp-home-search-v2] .mphs__status:empty {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* HOME AUDIT — SABRE desktop visual standard. */
@media (min-width: 1025px) {
    html body [data-mp-home-search-v2].mphs,
    html body [data-mp-home-search-v2].mphs button,
    html body [data-mp-home-search-v2].mphs input,
    html body [data-mp-home-search-v2].mphs select,
    html body [data-mp-home-search-v2].mphs textarea {
        font-family: "Rubik", Arial, sans-serif !important;
    }

    html body [data-mp-home-search-v2].mphs {
        border: 1px solid #e5ebf2 !important;
        border-radius: 5px !important;
        box-shadow: none !important;
    }

    html body [data-mp-home-search-v2].mphs .mphs__tabs {
        min-height: 54px !important;
        padding: 0 28px !important;
        gap: 44px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphs__tab {
        min-height: 54px !important;
        gap: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    html body [data-mp-home-search-v2].mphs .mphs__tab-icon,
    html body [data-mp-home-search-v2].mphs .mphs__tab-icon > svg {
        width: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        height: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphs__body {
        padding: 18px 28px 20px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__trip {
        margin-bottom: 14px !important;
        gap: 8px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__trip-option,
    html body [data-mp-home-search-v2].mphs .mphf__trip-option span {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        border-radius: 5px !important;
        font-size: 12px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__field > label,
    html body [data-mp-home-search-v2].mphs .mphf__field > span:first-child,
    html body [data-mp-home-search-v2].mphs .mphf__label {
        margin-bottom: 7px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__field > input:not([type="hidden"]),
    html body [data-mp-home-search-v2].mphs .mphd__trigger,
    html body [data-mp-home-search-v2].mphs .mphf__passenger-toggle,
    html body [data-mp-home-search-v2].mphs .mphc__trigger,
    html body [data-mp-home-search-v2].mphs .mphf__field > select,
    html body [data-mp-home-search-v2].mphs .mphf__submit {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        border-radius: 5px !important;
        box-shadow: none !important;
    }

    /* Field values/placeholders stay compact at the approved 10px. */
    html body [data-mp-home-search-v2].mphs .mphf__field > input:not([type="hidden"]),
    html body [data-mp-home-search-v2].mphs .mphd__trigger,
    html body [data-mp-home-search-v2].mphs .mphf__passenger-toggle,
    html body [data-mp-home-search-v2].mphs .mphc__trigger,
    html body [data-mp-home-search-v2].mphs .mphf__field > select {
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 10px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__field > input:not([type="hidden"])::placeholder,
    html body [data-mp-home-search-v2].mphs .mphd__trigger,
    html body [data-mp-home-search-v2].mphs .mphf__passenger-toggle > span:first-child,
    html body [data-mp-home-search-v2].mphs .mphc__trigger {
        font-size: 10px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__submit {
        padding-left: 18px !important;
        padding-right: 18px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__search-icon,
    html body [data-mp-home-search-v2].mphs .mphf__search-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__airport-copy strong,
    html body [data-mp-home-search-v2].mphs .mphf__passenger-row strong {
        font-size: 10px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphcal__title {
        font-size: 12px !important;
    }

    html body [data-mp-home-search-v2].mphs .mphf__airport-code,
    html body [data-mp-home-search-v2].mphs .mphf__airport-empty,
    html body [data-mp-home-search-v2].mphs .mphf__passenger-done,
    html body [data-mp-home-search-v2].mphs .mphs__status {
        font-size: 10px !important;
    }
}
