/* Horizon Jets customer identity. The renderer marks first-party HTML only. */
html[data-hj-customer-brand] {
    --hj-bronze: #785b33;
    --hj-bronze-on-navy: #d8b583;
    --hj-brand-ink: #102e3e;
    --hj-brand-paper: #f8f7f3;
}

@media screen {
    /* A shared edge identifies editorial, booking and member shells without changing their layout. */
    html[data-hj-customer-brand] body > :is(header.hx-header, header.hj48-header, header.hj49-header) {
        border-block-end: 2px solid var(--hj-bronze-on-navy) !important;
    }
    html[data-hj-customer-brand] .hjfull-payment-receipt > header {
        border-block-end: 2px solid var(--hj-bronze-on-navy);
    }
    html[data-hj-customer-brand] .hjfull-payment-receipt main > .ref {
        color: var(--hj-bronze);
    }

    /* Locational labels share one accent across the light editorial surfaces. */
    html[data-hj-customer-brand] #main :is(.he-light, .hx-page-head, .h14-hero, .hjov-page) .hx-eyebrow,
    html[data-hj-customer-brand] #main :is(.hjm-top, .hv-app-panel, .hj18-policy) .hx-eyebrow,
    html[data-hj-customer-brand] #main :is(.hjfl-crumbs, .hjs-crumbs) [aria-current="page"],
    html[data-hj-customer-brand] #main .hx-breadcrumb a,
    html[data-hj-customer-brand] #main .hj49-crumb a {
        color: var(--hj-bronze) !important;
    }

    html[data-hj-customer-brand] #main .he-endcap .hx-eyebrow {
        color: var(--hj-bronze-on-navy);
    }

    /* An understated rule above the title carries the mark onto sparse customer forms. */
    html[data-hj-customer-brand] :is(.hj50-auth-heading, .hj49-request-heading) > h1::before,
    html[data-hj-customer-brand] :is(.hjm-main > .hjm-card, .hjg-member-handoff, .hjfl-copy) > h1:first-of-type::before,
    html[data-hj-customer-brand] .hj18-policy h1::before {
        content: "";
        display: block;
        width: 2.5rem;
        height: .1875rem;
        margin-block-end: .8rem;
        background-color: var(--hj-bronze);
    }
    html[data-hj-customer-brand] .hj49-request-heading > h1::before {
        margin-inline: auto;
    }

    html[data-hj-customer-brand] #main .hj-trip-steps li::before {
        border-color: var(--hj-bronze);
        color: var(--hj-bronze);
    }

    html[data-hj-customer-brand] #main :is(.hr-cards article, .hjq-destinations li) > a,
    html[data-hj-customer-brand] #main [aria-labelledby="model-guide-heading"] summary::marker {
        color: var(--hj-bronze);
    }

    /* Keep the original navigation text legible; show the current page with a persistent underline. */
    html[data-hj-customer-brand] :is(.hjt-nav, .hjt-menu, .hx-nav, .hj48-header, .hj49-header, .hj49-request-header) a[aria-current="page"],
    html[data-hj-customer-brand] .hjm-nav a[aria-current="page"] {
        text-decoration-line: underline;
        text-decoration-color: var(--hj-bronze-on-navy);
        text-decoration-thickness: 2px;
        text-underline-offset: .34em;
    }
    html[data-hj-customer-brand] :is(.hjm-nav, .hj48-menu, .hj49-menu) a[aria-current="page"] {
        text-decoration-color: currentColor;
    }

    html[data-hj-customer-brand] #main :is(.hjs-feature, .hjs-lead, .hjs-process, .hjs-band) {
        --hjs-gold: var(--hj-bronze);
    }
    html[data-hj-customer-brand] body:not(.hj49-customer-page, .hj48-overview-page) .hx-footer-grid h2 {
        color: var(--hj-bronze-on-navy) !important;
    }

    /* The main and condensed transaction footers have different native backgrounds. */
    html[data-hj-customer-brand] body > footer.hx-footer {
        border-block-start: 2px solid var(--hj-bronze-on-navy);
    }
    html[data-hj-customer-brand] body:is(.hj49-customer-page, .hj48-overview-page) > footer.hx-footer {
        border-block-start-color: var(--hj-bronze);
    }

    /* A two-tone keyboard indicator remains visible across light and dark surfaces. */
    html[data-hj-customer-brand] :is(a, button, input:not([type="hidden"]), select, textarea, summary, [tabindex="0"]):focus-visible {
        outline: 3px solid var(--hj-bronze) !important;
        outline-offset: 3px !important;
        box-shadow: 0 0 0 3px var(--hj-brand-paper) !important;
    }
}
@media screen and (max-width: 640px) {
    html[data-hj-customer-brand] .hj49-request-heading > h1::before { margin-inline: 0; }
}
@media (forced-colors: active) {
    html[data-hj-customer-brand] :focus-visible {
        outline: 3px solid Highlight !important;
        box-shadow: none !important;
    }
}
