/* Minification failed. Returning unminified contents.
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(58,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(59,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(60,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(61,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(62,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(63,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(64,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(65,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(66,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(67,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(68,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(69,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(70,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(71,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(72,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(73,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(74,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(83,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-canvas'
(84,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-ink'
(95,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-panel'
(96,28): run-time error CSS1039: Token not allowed after unary operator: '-cp-line'
(136,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-ink'
(141,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-muted'
(145,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-ink'
(158,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-ink-2'
(180,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-ink'
(181,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-panel'
(182,28): run-time error CSS1039: Token not allowed after unary operator: '-cp-control-line'
(190,24): run-time error CSS1039: Token not allowed after unary operator: '-cp-accent'
(191,32): run-time error CSS1039: Token not allowed after unary operator: '-cp-accent-subtle'
(196,24): run-time error CSS1039: Token not allowed after unary operator: '-cp-error-fg'
(200,32): run-time error CSS1039: Token not allowed after unary operator: '-cp-error-bg'
(209,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-link'
(220,29): run-time error CSS1039: Token not allowed after unary operator: '-cp-accent'
(235,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-accent'
(245,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-accent-hover'
(251,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-error-fg'
(260,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-error-bg'
(263,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-error-fg'
(290,22): run-time error CSS1039: Token not allowed after unary operator: '-cp-success-bg'
(291,28): run-time error CSS1039: Token not allowed after unary operator: '-cp-success-line'
(293,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-success-fg'
(303,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-muted'
(329,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-success-fg'
(334,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-error-fg'
(343,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-muted'
(354,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-link'
(365,29): run-time error CSS1039: Token not allowed after unary operator: '-cp-accent'
(372,32): run-time error CSS1039: Token not allowed after unary operator: '-cp-line-soft'
(373,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-muted'
(384,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-muted'
(392,17): run-time error CSS1039: Token not allowed after unary operator: '-cp-muted'
 */
/*
 * Customer Portal sign-in, in Momentum: a white card on the neutral canvas, the business's logo and colour, a Barlow
 * Condensed headline and Figtree everywhere else (as the What's New pages use them).
 *
 * The page rules are scoped to .cp-signin, the wrapper Views/Account/Login.cshtml and NewPassword.cshtml (Reset password)
 * render. This sheet is the whole ~/Content/signin bundle that Views/Shared/_Layout_All_2025.cshtml loads, with no
 * reset or framework sheet before it, so the few base rules below are its own. The business colour arrives as
 * --cp-accent from the view. Paths are absolute because the bundle is served from /Content/.
 */

:root {
    /* Link blue, as on the rest of the Customer Portal (--cp-link in customer-portal.css), whatever the business colour */
    --cp-link: #1D4ED8;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
}

.cp-signin,
.cp-signin *,
.cp-signin *::before,
.cp-signin *::after {
    box-sizing: border-box;
}

/* Figtree, as style-variables.css declares it for the signed-in portal; the sign-in layout does not load that sheet */
@font-face {
    font-family: "Figtree-VariableFont_wght";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("/Assets/framework/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/Assets/framework/fonts/barlow-condensed-700-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/Assets/framework/fonts/barlow-condensed-800-latin.woff2") format("woff2");
}

.cp-signin {
    --cp-ink: #0B1220;
    --cp-ink-2: #3D4858;
    --cp-muted: #59616C;
    --cp-canvas: #F4F6F8;
    --cp-panel: #FFFFFF;
    --cp-line: #D9DEE5;
    --cp-line-soft: #E6E9EE;
    --cp-control-line: #8894A3;
    --cp-error-bg: #FFF0EE;
    --cp-error-fg: #941C13;
    --cp-success-bg: #ECFDF3;
    --cp-success-line: #ABEFC6;
    --cp-success-fg: #067647;
    --cp-accent: #2563EB;
    --cp-accent-hover: #1D4ED8;
    --cp-accent-subtle: #EFF6FF;
    --cp-accent-on-subtle: #1E40AF;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 16px;
    background: var(--cp-canvas);
    color: var(--cp-ink);
    font-family: "Figtree-VariableFont_wght", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cp-signin__card {
    width: 100%;
    max-width: 440px;
    background: var(--cp-panel);
    border: 1px solid var(--cp-line);
    border-radius: 12px;
    padding: 32px 32px 28px;
}

.cp-signin__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 64px;
    margin-bottom: 28px;
}

.cp-signin__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90px;
}

.cp-signin__logo img.cp-signin__ascora {
    max-width: 200px;
}

.cp-signin__wordmark {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
}

.cp-signin__title {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: .95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cp-ink);
}

.cp-signin__lead {
    margin: 6px 0 24px;
    color: var(--cp-muted);
}

.cp-signin__lead strong {
    color: var(--cp-ink);
    font-weight: 600;
}

.cp-signin__field {
    margin-bottom: 16px;
}

.cp-signin__field label {
    display: block;
    margin: 0 0 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cp-ink-2);
}

.cp-signin__label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.cp-signin__label-row label {
    margin-bottom: 6px;
}

.cp-signin .form-control {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    font: inherit;
    font-size: 15px;
    color: var(--cp-ink);
    background: var(--cp-panel);
    border: 1px solid var(--cp-control-line);
    border-radius: 6px;
    box-shadow: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.cp-signin .form-control:focus {
    outline: none;
    border-color: var(--cp-accent);
    box-shadow: 0 0 0 3px var(--cp-accent-subtle);
}

/* A box with a problem, as the server or the page's validation marks it */
.cp-signin .form-control.input-validation-error {
    border-color: var(--cp-error-fg);
}

.cp-signin .form-control.input-validation-error:focus {
    box-shadow: 0 0 0 3px var(--cp-error-bg);
}

/* The company code box while the page is the business's own (Use a different company code opens it) */
.cp-signin [hidden] {
    display: none !important;
}

.cp-signin a {
    color: var(--cp-link);
    font-weight: 600;
    text-decoration: none;
}

.cp-signin a:hover {
    text-decoration: underline;
}

.cp-signin a:focus-visible,
.cp-signin__submit:focus-visible {
    outline: 2px solid var(--cp-accent);
    outline-offset: 2px;
}

.cp-signin__forgot {
    font-size: 13px;
}

.cp-signin__submit {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 8px;
    border: 0;
    border-radius: 6px;
    background: var(--cp-accent);
    color: #FFFFFF;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 120ms ease;
}

.cp-signin__submit:hover {
    background: var(--cp-accent-hover);
}

.cp-signin .field-validation-error {
    display: block;
    margin-top: 6px;
    color: var(--cp-error-fg);
    font-size: 13px;
    font-weight: 500;
}

.cp-signin__error,
.cp-signin .alert.alert-error {
    margin: 0 0 16px;
    padding: 10px 12px;
    background: var(--cp-error-bg);
    border: 1px solid #F5C6C0;
    border-radius: 8px;
    color: var(--cp-error-fg);
    font-size: 13.5px;
}

.cp-signin__error .field-validation-error {
    margin-top: 0;
}

.cp-signin .alert.alert-error .close {
    display: none;
}

.cp-signin .alert.alert-error .alert-heading {
    margin: 0 0 4px;
    font-size: 13.5px;
    font-weight: 700;
}

.cp-signin .alert.alert-error ul {
    margin: 0;
    padding-left: 18px;
}

/* After a password reset, on the sign-in page */
.cp-signin__notice {
    margin: 0 0 16px;
    padding: 10px 12px;
    background: var(--cp-success-bg);
    border: 1px solid var(--cp-success-line);
    border-radius: 8px;
    color: var(--cp-success-fg);
    font-size: 13.5px;
}

/* Reset password (Views/Account/NewPassword.cshtml): the password rules, ticked by validatePassword.js as each is met.
   Quiet until met while typing; the unmet ones turn red only after the server has refused the password. */
.cp-signin__rules {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: var(--cp-muted);
    font-size: 13px;
    line-height: 1.4;
}

.cp-signin__rules li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 4px;
}

.cp-signin__rules li:last-child {
    margin-bottom: 0;
}

.cp-signin__rules i {
    flex: 0 0 12px;
    width: 12px;
    font-size: 11px;
    text-align: center;
    color: #A3ACB8;
}

.cp-signin__rules .password-valid,
.cp-signin__rules .password-valid i {
    color: var(--cp-success-fg);
}

.cp-signin__rules--refused .password-invalid,
.cp-signin__rules--refused .password-invalid i {
    color: var(--cp-error-fg);
}

.cp-signin__code {
    letter-spacing: .06em;
}

.cp-signin__back {
    margin: 16px 0 0;
    color: var(--cp-muted);
    font-size: 13.5px;
    text-align: center;
}

/* A button that reads as a link, for an action that stays on the page */
.cp-signin__link {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--cp-link);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cp-signin__link:hover {
    text-decoration: underline;
}

.cp-signin__link:focus-visible {
    outline: 2px solid var(--cp-accent);
    outline-offset: 2px;
}

.cp-signin__help {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--cp-line-soft);
    color: var(--cp-muted);
    font-size: 13.5px;
    text-align: center;
}

.cp-signin__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 16px;
    color: var(--cp-muted);
    font-size: 12.5px;
}

.cp-signin__powered {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cp-muted) !important;
    font-weight: 400 !important;
}

.cp-signin__powered img {
    display: block;
    height: 13px;
    width: auto;
}

@media (max-width: 480px) {
    .cp-signin {
        justify-content: flex-start;
        padding-top: 24px;
    }

    .cp-signin__card {
        padding: 24px 20px 20px;
    }

    .cp-signin__title {
        font-size: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-signin .form-control,
    .cp-signin__submit {
        transition: none;
    }
}

