body.fh-customer-auth {
    --fh-auth-orange: #FE6600;
    --fh-auth-orange-hover: #E65C00;
    --fh-auth-orange-pressed: #CC5200;
    --fh-auth-orange-soft: #FFF1E6;
    --fh-auth-brand-border: #FFD3B5;
    --fh-auth-focus: rgba(254, 102, 0, .20);
    --fh-auth-link: #A64000;
    --fh-auth-text: #172033;
    --fh-auth-muted: #64748B;
    --fh-auth-border: #E2E8F0;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    color: var(--fh-auth-text);
    background: #F8FAFC;
    font-family: Inter, "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-tap-highlight-color: rgba(254, 102, 0, .15);
}

body.fh-customer-auth *,
body.fh-customer-auth *::before,
body.fh-customer-auth *::after { box-sizing: border-box; }

body.fh-customer-auth #container {
    grid-template-columns: minmax(360px, 44%) minmax(0, 56%);
    min-height: 100vh;
    min-height: 100dvh;
}

body.fh-customer-auth .fh-portal-brand { padding: clamp(28px, 4.2vw, 64px); }
body.fh-customer-auth .fh-portal-brand-inner { width: min(100%, 440px); }
body.fh-customer-auth .fh-portal-wordmark img { width: min(100%, 220px); }
body.fh-customer-auth .fh-portal-intro { margin-top: clamp(30px, 6vh, 64px); }
body.fh-customer-auth .fh-portal-intro h1 { font-size: clamp(32px, 3.2vw, 46px); }
body.fh-customer-auth .fh-portal-intro > p:last-child { font-size: 15px; }
body.fh-customer-auth .fh-portal-benefits { gap: 12px; margin-top: 24px; }
body.fh-customer-auth .fh-portal-benefits li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
body.fh-customer-auth .fh-benefit-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 19px; }
body.fh-customer-auth .fh-portal-illustration { width: min(100%, 350px); height: 136px; }

body.fh-customer-auth .fh-portal-main {
    width: min(100%, 960px);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 16px clamp(22px, 3.2vw, 48px) 28px;
}

body.fh-customer-auth #header {
    display: flex;
    min-height: 40px;
    height: auto;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
}

body.fh-customer-auth #header #logo,
body.fh-customer-auth #header + .clear,
body.fh-customer-auth #nav,
body.fh-customer-auth #header + hr { display: none; }

body.fh-customer-auth #header .pull-right {
    display: flex;
    float: none;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-height: 38px;
}

body.fh-customer-auth #header .pull-right p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    margin: 0;
    color: var(--fh-auth-muted);
    font-size: 12px;
    white-space: nowrap;
}

body.fh-customer-auth #header .pull-right p + p { margin-left: 0; }
body.fh-customer-auth #header .pull-right p + p:not(:has(a)) { display: none; }
body.fh-customer-auth #header .fh-auth-guest { display: inline-block; }
body.fh-customer-auth #header .pull-right a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--fh-auth-link);
    background: #fff;
    border: 1px solid var(--fh-auth-brand-border);
    border-radius: 8px;
    text-decoration: none;
}

body.fh-customer-auth #header .pull-right a:hover {
    color: #fff;
    background: var(--fh-auth-orange-hover);
    border-color: var(--fh-auth-orange-hover);
}

body.fh-customer-auth .fh-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 12px 0 16px;
    overflow: hidden;
    background: #F8FAFC;
    border-radius: 10px;
}

body.fh-customer-auth .fh-auth-tab {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 62px;
    padding: 8px 12px;
    color: var(--fh-auth-text);
    text-decoration: none;
    touch-action: manipulation;
}

body.fh-customer-auth .fh-auth-tab::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    content: "";
    background: transparent;
}

body.fh-customer-auth .fh-auth-tab.active { background: #fff; }
body.fh-customer-auth .fh-auth-tab.active::after { background: var(--fh-auth-orange); }
body.fh-customer-auth .fh-auth-tab-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--fh-auth-text); background: #EEF2F7; border-radius: 10px; font-size: 17px; }
body.fh-customer-auth .fh-auth-tab.active .fh-auth-tab-icon { color: var(--fh-auth-orange); background: var(--fh-auth-orange-soft); }
body.fh-customer-auth .fh-auth-tab strong,
body.fh-customer-auth .fh-auth-tab small { display: block; }
body.fh-customer-auth .fh-auth-tab strong { font-size: 14px; font-weight: 650; }
body.fh-customer-auth .fh-auth-tab.active strong { color: #C84E00; }
body.fh-customer-auth .fh-auth-tab small { margin-top: 1px; color: var(--fh-auth-muted); font-size: 11px; line-height: 1.35; }

body.fh-customer-auth #content {
    flex: 0 0 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

body.fh-customer-auth .fh-auth-card {
    width: min(100%, 740px);
    margin: 0 auto 16px;
    padding: clamp(20px, 2.2vw, 28px);
    color: var(--fh-auth-text);
    background: #fff;
    border: 1px solid var(--fh-auth-border);
    border-radius: 12px;
    box-shadow: none;
}

body.fh-customer-auth .fh-auth-signin { max-width: 620px; }
body.fh-customer-auth .fh-auth-registration { max-width: 760px; }
body.fh-customer-auth .fh-auth-card-heading { margin: 0 0 20px; }
body.fh-customer-auth .fh-auth-card-heading h1,
body.fh-customer-auth .fh-auth-card-heading h2 { margin: 0; color: var(--fh-auth-text); font-size: 23px; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; text-wrap: balance; }
body.fh-customer-auth .fh-auth-card-heading p { margin: 5px 0 0; color: var(--fh-auth-muted); font-size: 13px; line-height: 1.5; }
body.fh-customer-auth .fh-auth-password-reset { max-width: 620px; }
body.fh-customer-auth .fh-auth-form { width: 100%; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
body.fh-customer-auth .fh-auth-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
body.fh-customer-auth .fh-auth-field { min-width: 0; margin: 0; }
body.fh-customer-auth .fh-auth-signin .fh-auth-field + .fh-auth-field { margin-top: 15px; }
body.fh-customer-auth .fh-auth-field > label,
body.fh-customer-auth .fh-auth-dynamic-fields label { display: block; float: none; width: 100%; margin: 0 0 7px; color: #344054; font-size: 13px; font-weight: 600; line-height: 1.4; }
body.fh-customer-auth .fh-auth-required { color: #B42318; }
body.fh-customer-auth .fh-auth-input-wrap { position: relative; display: block; }
body.fh-customer-auth .fh-auth-input-wrap > i { position: absolute; z-index: 1; top: 50%; left: 13px; color: var(--fh-auth-muted); font-size: 15px; pointer-events: none; transform: translateY(-50%); }
body.fh-customer-auth .fh-auth-form .fh-auth-input-wrap > input { padding-left: 38px; }

body.fh-customer-auth input[type="text"],
body.fh-customer-auth input[type="email"],
body.fh-customer-auth input[type="tel"],
body.fh-customer-auth input[type="password"],
body.fh-customer-auth select,
body.fh-customer-auth .select2-container .select2-selection--single {
    display: block;
    width: 100%;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    color: var(--fh-auth-text);
    background-color: #fff;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
}

body.fh-customer-auth .fh-auth-form input,
body.fh-customer-auth .fh-auth-form select { float: none; margin-right: 0; }
body.fh-customer-auth select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}
body.fh-customer-auth input::placeholder { color: #8190AA; opacity: 1; }
body.fh-customer-auth input:focus,
body.fh-customer-auth select:focus { border-color: var(--fh-auth-orange); box-shadow: 0 0 0 3px var(--fh-auth-focus); outline: 0; }
body.fh-customer-auth a:focus-visible,
body.fh-customer-auth button:focus-visible,
body.fh-customer-auth input:focus-visible,
body.fh-customer-auth select:focus-visible { outline: 2px solid var(--fh-auth-orange); outline-offset: 2px; }

body.fh-customer-auth .fh-auth-forgot { display: block; width: fit-content; margin: 6px 0 0 auto; color: var(--fh-auth-link); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body.fh-customer-auth .fh-auth-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 42px; margin: 18px 0 0; padding: 9px 14px; color: #fff; background: var(--fh-auth-orange); border: 1px solid var(--fh-auth-orange); border-radius: 8px; box-shadow: none; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; cursor: pointer; touch-action: manipulation; transition: background-color .16s ease, border-color .16s ease; }
body.fh-customer-auth .fh-auth-primary-button:hover { background: var(--fh-auth-orange-hover); border-color: var(--fh-auth-orange-hover); }
body.fh-customer-auth .fh-auth-primary-button:active { background: var(--fh-auth-orange-pressed); border-color: var(--fh-auth-orange-pressed); }
body.fh-customer-auth .fh-auth-primary-button:disabled { opacity: .72; cursor: wait; }
body.fh-customer-auth .fh-auth-card-footer { display: grid; gap: 6px; margin-top: 18px; color: var(--fh-auth-muted); font-size: 12px; text-align: center; }
body.fh-customer-auth .fh-auth-card-footer p { margin: 0; }
body.fh-customer-auth .fh-auth-card-footer a,
body.fh-customer-auth .fh-auth-open-ticket a,
body.fh-customer-auth .fh-auth-confirm-link a { color: var(--fh-auth-link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--fh-auth-brand-border); text-underline-offset: 3px; }
body.fh-customer-auth .fh-auth-card-footer a:hover,
body.fh-customer-auth .fh-auth-open-ticket a:hover,
body.fh-customer-auth .fh-auth-confirm-link a:hover { color: var(--fh-auth-orange-hover); }
body.fh-customer-auth .fh-auth-open-ticket { width: min(100%, 620px); margin: 0 auto; color: var(--fh-auth-muted); font-size: 12px; text-align: center; }
body.fh-customer-auth .fh-auth-external { margin-top: 18px; }
body.fh-customer-auth .fh-auth-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--fh-auth-muted); font-size: 12px; }
body.fh-customer-auth .fh-auth-divider::before,
body.fh-customer-auth .fh-auth-divider::after { height: 1px; flex: 1; content: ""; background: var(--fh-auth-border); }
body.fh-customer-auth .fh-auth-external .external-auth { margin: 8px 0 0; text-align: center; }
body.fh-customer-auth .fh-auth-external .external-auth a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; }

body.fh-customer-auth .fh-auth-dynamic-fields { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-collapse: collapse; }
body.fh-customer-auth .fh-auth-dynamic-fields tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; width: 100%; }
body.fh-customer-auth .fh-auth-dynamic-fields tr { display: block; min-width: 0; margin: 0; padding: 0; }
body.fh-customer-auth .fh-auth-dynamic-fields td { display: block; width: 100%; min-width: 0; padding: 0 !important; border: 0 !important; }
body.fh-customer-auth .fh-auth-dynamic-fields tr.fh-form-section-row { grid-column: 1 / -1; margin: 0 0 -2px; }
body.fh-customer-auth .fh-auth-dynamic-fields .fh-form-section-row hr { display: none; }
body.fh-customer-auth .fh-auth-dynamic-fields .fh-form-section-row .form-header { margin: 0 !important; }
body.fh-customer-auth .fh-auth-dynamic-fields .fh-form-section-row h3 { margin: 0; color: #64748B; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
body.fh-customer-auth .fh-auth-dynamic-fields .fh-form-section-row .form-header > div { margin-top: 3px; color: var(--fh-auth-muted); font-size: 12px; }
body.fh-customer-auth .fh-auth-dynamic-fields label { margin: 0; }
body.fh-customer-auth .fh-auth-dynamic-fields label > span:first-child { display: block; margin-bottom: 7px; }
body.fh-customer-auth .fh-auth-dynamic-fields label > br { display: none; }
body.fh-customer-auth .fh-auth-dynamic-fields .error { display: block; margin: 5px 0 0; color: #B42318; font-size: 12px; line-height: 1.4; }
body.fh-customer-auth .fh-auth-dynamic-fields tr:has(textarea),
body.fh-customer-auth .fh-auth-dynamic-fields tr:has(.freetext-files),
body.fh-customer-auth .fh-auth-dynamic-fields tr:has(.redactor-box) { grid-column: 1 / -1; }
body.fh-customer-auth .fh-auth-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid #E8EDF5; }
body.fh-customer-auth .fh-auth-section h2 { margin: 0 0 12px; color: #64748B; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
body.fh-customer-auth .fh-auth-timezone { max-width: 360px; }
body.fh-customer-auth .fh-auth-timezone .select2-container { display: block; width: 100% !important; }
body.fh-customer-auth .fh-auth-timezone .select2-selection--single { display: flex; align-items: center; padding: 0 10px; }
body.fh-customer-auth .fh-auth-timezone .select2-selection__rendered { padding: 0; color: var(--fh-auth-text); line-height: 40px; }
body.fh-customer-auth .fh-auth-timezone .select2-selection__arrow { height: 40px; }
body.fh-customer-auth .fh-auth-timezone button.action-button { min-height: 34px; margin: 8px 0 0; padding: 6px 10px; color: var(--fh-auth-link); background: #fff; border: 1px solid var(--fh-auth-brand-border); border-radius: 7px; box-shadow: none; font: inherit; font-size: 12px; }
body.fh-customer-auth .fh-auth-credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
body.fh-customer-auth .fh-auth-credential-grid .error,
body.fh-customer-auth .fh-auth-timezone .error { display: block; margin: 5px 0 0; color: #B42318; font-size: 12px; }
body.fh-customer-auth .fh-auth-field.has-error input { border-color: #B42318; }
body.fh-customer-auth .fh-auth-backend-label { margin: 0; color: var(--fh-auth-muted); }
body.fh-customer-auth .fh-auth-form-actions { margin-top: 0; }
body.fh-customer-auth .fh-auth-form-actions .fh-auth-primary-button { margin-top: 20px; }
body.fh-customer-auth .fh-auth-confirmation { max-width: 620px; }
body.fh-customer-auth .fh-auth-confirmation > p { margin: 12px 0 0; color: var(--fh-auth-muted); }
body.fh-customer-auth .fh-auth-confirm-copy { margin-top: 12px; color: var(--fh-auth-muted); }
body.fh-customer-auth .fh-auth-confirm-link { margin-top: 20px !important; text-align: left !important; }
body.fh-customer-auth #footer { display: none; }

@media (max-width: 900px) {
    body.fh-customer-auth #container { grid-template-columns: minmax(280px, 40%) minmax(0, 60%); }
    body.fh-customer-auth .fh-portal-brand { padding: 28px 22px; }
    body.fh-customer-auth .fh-portal-wordmark img { width: clamp(150px, 18vw, 184px); }
    body.fh-customer-auth .fh-portal-intro h1 { font-size: clamp(30px, 4vw, 38px); }
    body.fh-customer-auth .fh-portal-illustration { width: min(100%, 300px); height: 124px; }
    body.fh-customer-auth .fh-portal-ticket-art { width: min(62%, 190px); height: 100px; }
}

@media (max-width: 700px) {
    body.fh-customer-auth { min-width: 320px; }
    body.fh-customer-auth #container { display: block; }
    body.fh-customer-auth .fh-portal-brand { min-height: 0; padding: 20px 20px 18px; }
    body.fh-customer-auth .fh-portal-brand-inner { min-height: 0; }
    body.fh-customer-auth .fh-portal-wordmark img { width: 168px; }
    body.fh-customer-auth .fh-portal-wordmark span { font-size: 10px; }
    body.fh-customer-auth .fh-portal-intro { margin-top: 16px; }
    body.fh-customer-auth .fh-portal-intro h1 { max-width: 520px; font-size: clamp(26px, 7vw, 32px); }
    body.fh-customer-auth .fh-portal-intro > p:last-child { margin-top: 8px; font-size: 14px; }
    body.fh-customer-auth .fh-portal-benefits { display: none; }
    body.fh-customer-auth .fh-portal-illustration {
        display: block;
        width: min(100%, 250px);
        height: 104px;
        margin-top: 14px;
        padding-top: 0;
    }
    body.fh-customer-auth .fh-portal-main { width: 100%; min-height: 0; padding: 10px 20px 28px; }
    body.fh-customer-auth #header { min-height: 34px; }
    body.fh-customer-auth #header .pull-right { gap: 8px; min-height: 34px; }
    body.fh-customer-auth #header .pull-right p { gap: 8px; font-size: 12px; }
    body.fh-customer-auth #header .pull-right a { min-height: 32px; padding-inline: 10px; }
    body.fh-customer-auth .fh-auth-tabs { margin: 10px 0 14px; }
    body.fh-customer-auth .fh-auth-tab { grid-template-columns: 30px minmax(0, 1fr); min-height: 54px; gap: 7px; padding: 7px 9px; }
    body.fh-customer-auth .fh-auth-tab-icon { width: 30px; height: 30px; font-size: 15px; }
    body.fh-customer-auth .fh-auth-tab strong { font-size: 13px; }
    body.fh-customer-auth .fh-auth-tab small { font-size: 10px; }
    body.fh-customer-auth .fh-auth-card { padding: 18px 16px; }
    body.fh-customer-auth .fh-auth-card-heading { margin-bottom: 16px; }
    body.fh-customer-auth .fh-auth-card-heading h1,
    body.fh-customer-auth .fh-auth-card-heading h2 { font-size: 21px; }
    body.fh-customer-auth .fh-auth-dynamic-fields tbody,
    body.fh-customer-auth .fh-auth-credential-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    body.fh-customer-auth .fh-auth-timezone { max-width: none; }
    body.fh-customer-auth .fh-auth-open-ticket { margin-top: 12px; }
}

@media (max-width: 380px) {
    body.fh-customer-auth #header .pull-right p { gap: 6px; font-size: 11px; }
    body.fh-customer-auth #header .pull-right a { min-height: 30px; padding-inline: 8px; }
    body.fh-customer-auth .fh-auth-card { padding: 16px 14px; }
    body.fh-customer-auth .fh-auth-tab { grid-template-columns: 1fr; justify-items: center; gap: 3px; text-align: center; }
    body.fh-customer-auth .fh-auth-tab-icon { display: none; }
    body.fh-customer-auth .fh-auth-tab small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body.fh-customer-auth *,
    body.fh-customer-auth *::before,
    body.fh-customer-auth *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
