:root{--tps-blue:#073b69;--tps-light:#eaf4fb}body{background:#f5f7f9;color:#24313d}.bg-tps{background:var(--tps-blue)}.card{border:0;box-shadow:0 .15rem .7rem rgba(0,0,0,.07)}.table thead th{background:var(--tps-light);color:var(--tps-blue)}

.customer-code-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: .35rem;
    border: 1px solid var(--tps-blue);
    border-radius: 50%;
    color: var(--tps-blue);
    background: #fff;
    font-family: Georgia, serif;
    font-size: .85rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
}

.customer-code-info:hover,
.customer-code-info:focus-visible {
    color: #fff;
    background: var(--tps-blue);
    outline: 2px solid rgba(7, 59, 105, .2);
    outline-offset: 2px;
}

.customer-code-preview {
    position: absolute;
    z-index: 1100;
    top: calc(100% + .65rem);
    left: -.5rem;
    display: block;
    width: min(760px, 82vw);
    padding: .4rem;
    border: 1px solid #b9c9d7;
    border-radius: .4rem;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.25rem);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    pointer-events: none;
}

.customer-code-preview::before {
    position: absolute;
    top: -.45rem;
    left: .75rem;
    width: .8rem;
    height: .8rem;
    border-top: 1px solid #b9c9d7;
    border-left: 1px solid #b9c9d7;
    background: #fff;
    content: '';
    transform: rotate(45deg);
}

.customer-code-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .2rem;
}

.customer-code-info:hover .customer-code-preview,
.customer-code-info:focus .customer-code-preview,
.customer-code-info:focus-within .customer-code-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 576px) {
    .customer-code-preview {
        width: 88vw;
        left: -1rem;
    }
}

/* Public home and login */
.public-home {
    margin: 0;
    min-width: 320px;
    color: #202b38;
    background: #f4f6f9;
    font-family: Arial, Helvetica, sans-serif;
}

.public-home *,
.public-home *::before,
.public-home *::after {
    box-sizing: border-box;
}

.public-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.public-container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.public-header {
    border-bottom: 1px solid #dfe4ec;
    background: #fff;
}

.public-header__inner {
    display: flex;
    min-height: 104px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.public-brand {
    display: block;
    flex: 0 1 305px;
}

.public-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.public-header__actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.public-header__label {
    color: #707887;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.public-site-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #293b8f;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.public-site-link:hover {
    color: #ed3949;
}

.public-main {
    position: relative;
    display: grid;
    flex: 1;
    align-items: center;
    overflow: hidden;
    padding: 58px 0 66px;
}

.public-main::after {
    position: absolute;
    z-index: 0;
    right: -180px;
    bottom: -230px;
    width: 510px;
    height: 510px;
    border: 70px solid rgba(41, 59, 143, .045);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.public-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: center;
}

.public-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 16px;
    color: #293b8f;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.public-eyebrow::before {
    width: 28px;
    height: 3px;
    background: #ed3949;
    content: '';
}

.public-intro h1 {
    max-width: 800px;
    margin: 0;
    color: #202b38;
    font-size: clamp(1.8rem, 4.5vw, 4.45rem);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -.048em;
}

.public-lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: #687383;
    font-size: 1.08rem;
    line-height: 1.7;
}

.ppwr-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    max-width: 800px;
    margin-top: 30px;
    padding: 24px 26px;
    border: 1px solid #d9e0ea;
    border-left: 4px solid #293b8f;
    background: #fff;
    box-shadow: 0 12px 32px rgba(32, 43, 56, .055);
}

.ppwr-card__mark {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #293b8f;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.ppwr-card h2 {
    margin: 0 0 9px;
    color: #253142;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.4;
}

.ppwr-card h2 strong {
    color: #293b8f;
}

.ppwr-card p {
    margin: 0;
    color: #677384;
    font-size: .86rem;
    line-height: 1.65;
}

.ppwr-card .ppwr-card__closing {
    margin-top: 7px;
    color: #364353;
    font-weight: 700;
}

.public-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 820px;
    margin-top: 28px;
}

.public-benefit {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #707b8a;
    font-size: .77rem;
    line-height: 1.5;
}

.public-benefit strong {
    display: block;
    margin-bottom: 2px;
    color: #273344;
    font-size: .82rem;
}

.public-benefit__icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #d7deea;
    color: #293b8f;
    background: #fff;
}

.public-benefit__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.public-login {
    position: relative;
    padding: 42px 40px 32px;
    border-top: 5px solid #293b8f;
    background: #fff;
    box-shadow: 0 24px 65px rgba(28, 39, 53, .13);
}

.public-login::before {
    position: absolute;
    top: -5px;
    right: 0;
    width: 78px;
    height: 5px;
    background: #ed3949;
    content: '';
}

.public-login__badge {
    color: #293b8f;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.public-login h2 {
    margin: 9px 0 0;
    color: #202b38;
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -.035em;
}

.public-login__intro {
    margin: 10px 0 26px;
    color: #737d8b;
    font-size: .9rem;
    line-height: 1.6;
}

.public-login__error {
    margin-bottom: 18px;
    padding: 11px 13px;
    border-left: 3px solid #cf2537;
    color: #85202c;
    background: #fff0f2;
    font-size: .82rem;
    line-height: 1.5;
}

.public-login__success {
    margin-bottom: 18px;
    padding: 11px 13px;
    border-left: 3px solid #268a61;
    color: #1f684b;
    background: #edf9f4;
    font-size: .82rem;
    line-height: 1.5;
}

.public-field {
    margin-bottom: 18px;
}

.public-field label {
    display: block;
    margin-bottom: 7px;
    color: #344151;
    font-size: .8rem;
    font-weight: 700;
}

.public-field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #ccd4df;
    border-radius: 2px;
    outline: 0;
    color: #202b38;
    background: #fafbfc;
    font: inherit;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.public-field input::placeholder {
    color: #9aa3af;
}

.public-field input:focus {
    border-color: #293b8f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 59, 143, .1);
}

.public-password-recovery {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.public-password-recovery a {
    color: #293b8f;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.public-password-recovery a:hover {
    color: #ed3949;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.public-login__button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    padding: 0 18px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: #293b8f;
    font-size: .88rem;
    font-weight: 750;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.public-login__button:hover {
    background: #1e2e78;
}

.public-login__button:active {
    transform: translateY(1px);
}

.public-login__button span {
    font-size: 1.25rem;
}

.public-registration {
    display: flex;
    justify-content: center;
    gap: .35rem;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e2e6ec;
    color: #707a88;
    font-size: .85rem;
}

.public-registration a {
    color: #293b8f;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(41, 59, 143, .3);
    text-underline-offset: 3px;
}

.public-registration a:hover {
    color: #ed3949;
}

.public-login__support {
    margin: 18px 0 0;
    color: #8a929e;
    font-size: .72rem;
    text-align: center;
}

.public-footer {
    border-top: 1px solid #dfe4ec;
    background: #fff;
}

.public-footer__inner {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #7b8491;
    font-size: .73rem;
}

@media (min-width: 1051px) and (min-height: 720px) {
    .public-shell {
        height: 100dvh;
        min-height: 0;
    }

    .public-header__inner {
        min-height: 82px;
    }

    .public-brand {
        flex-basis: 260px;
    }

    .public-main {
        min-height: 0;
        padding: 24px 0 28px;
    }

    .public-layout {
        gap: clamp(38px, 4.5vw, 68px);
    }

    .public-intro h1 {
        font-size: clamp(1.8rem, 3.4vw, 3.65rem);
    }

    .public-lead {
        margin-top: 15px;
        line-height: 1.55;
    }

    .ppwr-card {
        margin-top: 20px;
        padding: 18px 22px;
    }

    .public-login {
        padding: 27px 32px 23px;
    }

    .public-login__intro {
        margin-bottom: 17px;
    }

    .public-field {
        margin-bottom: 13px;
    }

    .public-registration {
        margin-top: 17px;
        padding-top: 15px;
    }

    .public-login__support {
        margin-top: 11px;
    }

    .public-footer__inner {
        min-height: 48px;
    }
}

@media (max-width: 1050px) {
    .public-main {
        align-items: start;
    }

    .public-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .public-login {
        width: min(100%, 560px);
    }
}

@media (max-width: 720px) {
    .public-container {
        width: min(100% - 28px, 1240px);
    }

    .public-header__inner {
        min-height: 86px;
    }

    .public-brand {
        flex-basis: 235px;
    }

    .public-header__label {
        display: none;
    }

    .public-site-link {
        font-size: 0;
    }

    .public-site-link span {
        font-size: 1.2rem;
    }

    .public-main {
        padding: 38px 0 46px;
    }

    .public-intro h1 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .public-lead {
        font-size: 1rem;
    }

    .ppwr-card {
        grid-template-columns: 1fr;
        padding: 21px;
    }

    .ppwr-card__mark {
        width: 50px;
        height: 50px;
    }

    .public-benefits {
        grid-template-columns: 1fr;
    }

    .public-login {
        padding: 34px 24px 28px;
    }

    .public-footer__inner {
        min-height: 82px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-home *,
    .public-home *::before,
    .public-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Password recovery */
.security-action {
    display: grid;
    min-height: calc(100vh - 145px);
    place-items: center;
    padding: 28px 0 48px;
}

.security-action__card {
    width: min(100%, 590px);
    padding: 42px 46px 38px;
    border-top: 5px solid #293b8f;
    background: #fff;
    box-shadow: 0 20px 55px rgba(28, 39, 53, .12);
}

.security-action__card--centered {
    text-align: center;
}

.security-action__eyebrow {
    color: #293b8f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.security-action h1 {
    margin: 8px 0 12px;
    color: #202b38;
    font-size: clamp(1.9rem, 5vw, 2.45rem);
    font-weight: 750;
    letter-spacing: -.04em;
}

.security-action__lead {
    margin: 0 0 26px;
    color: #6c7786;
    font-size: .94rem;
    line-height: 1.7;
}

.security-action__form .btn-primary,
.security-action__primary-link {
    border-color: #293b8f;
    border-radius: 2px;
    background: #293b8f;
    font-weight: 700;
}

.security-action__form .btn-primary:hover,
.security-action__primary-link:hover {
    border-color: #1e2e78;
    color: #fff;
    background: #1e2e78;
}

.security-action__back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 24px;
    color: #596575;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
}

.security-action__back:hover {
    color: #293b8f;
}

.security-action__primary-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 13px 20px;
    color: #fff;
    font-size: .86rem;
    text-decoration: none;
}

.security-action__icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef1fb;
}

.security-action__icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.security-action__icon--warning {
    color: #8a6516;
    background: #fff7e5;
    font-size: 1.6rem;
    font-weight: 800;
}

.security-action__notice {
    margin: 4px 0 24px;
    padding: 14px 16px;
    border-left: 3px solid #d29b27;
    color: #70581d;
    background: #fff8e8;
    font-size: .8rem;
    line-height: 1.55;
    text-align: left;
}

@media (max-width: 620px) {
    .security-action__card {
        padding: 34px 22px 30px;
    }
}

/* Login hero */
body.public-home {
    background: #fff;
}

.public-home .public-shell {
    min-height: 100dvh;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .96) 34%, rgba(255, 255, 255, .68) 51%, rgba(13, 29, 48, .04) 72%),
        url('/images/login-workers-hero-v1.webp');
    background-position: center;
    background-size: cover;
}

.public-home .public-container {
    width: min(1380px, calc(100% - 96px));
}

.public-home .public-header {
    position: relative;
    z-index: 3;
    border-bottom-color: rgba(166, 177, 190, .35);
    background: rgba(255, 255, 255, .06);
}

.public-home .public-header__inner {
    min-height: 90px;
}

.public-home .public-brand {
    flex-basis: 275px;
}

.public-home .public-site-link {
    color: #fff;
    font-weight: 750;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.public-home .public-site-link:hover {
    color: #fff;
    opacity: .82;
}

.public-home .public-main {
    min-height: 0;
    padding: 18px 0 22px;
}

.public-home .public-main::after {
    display: none;
}

.public-home .public-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
    gap: clamp(58px, 7vw, 112px);
}

.public-home .public-intro {
    max-width: 650px;
}

.public-home .public-eyebrow {
    margin-bottom: 22px;
    color: #293b8f;
    font-size: .75rem;
}

.public-home .public-eyebrow::before {
    width: 26px;
    height: 2px;
    background: #ed1c2e;
}

.public-home .public-intro h1 {
    max-width: 650px;
    color: #0d1b31;
    font-size: clamp(2.35rem, 3.4vw, 3.65rem);
    font-weight: 760;
    line-height: 1.14;
    letter-spacing: -.045em;
}

.public-home .public-intro h1 strong {
    color: #ed1c2e;
    font-weight: inherit;
}

.public-home .public-lead {
    max-width: 490px;
    margin-top: 24px;
    color: #60708a;
    font-size: .96rem;
    line-height: 1.85;
}

.public-home .ppwr-card {
    max-width: 610px;
    margin-top: 34px;
    padding: 23px 25px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 13px 38px rgba(25, 43, 66, .09);
}

.public-home .ppwr-card__mark {
    width: 54px;
    height: 54px;
    background: #293b8f;
}

.public-home .ppwr-card__mark svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.public-home .ppwr-card h2 {
    margin-bottom: 8px;
    color: #182944;
    font-size: .88rem;
}

.public-home .ppwr-card h2 strong {
    color: inherit;
}

.public-home .ppwr-card p {
    color: #687790;
    font-size: .79rem;
    line-height: 1.65;
}

.public-home .public-login {
    padding: 31px 38px 27px;
    border: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(7, 20, 37, .27);
}

.public-home .public-login::before {
    top: 65px;
    right: auto;
    left: 38px;
    width: 38px;
    height: 2px;
    background: #ed1c2e;
}

.public-home .public-login__badge {
    font-size: .69rem;
    letter-spacing: .18em;
}

.public-home .public-login h2 {
    margin-top: 27px;
    color: #0d1b31;
    font-size: 1.85rem;
}

.public-home .public-login__intro {
    margin: 10px 0 20px;
    color: #687790;
    font-size: .82rem;
}

.public-home .public-field {
    position: relative;
    margin-bottom: 14px;
}

.public-home .public-field label {
    color: #14233a;
    font-size: .76rem;
}

.public-home .public-field input {
    height: 48px;
    padding-inline: 14px 43px;
    border-color: #cbd4e1;
    border-radius: 3px;
    background: rgba(255, 255, 255, .78);
    font-size: .84rem;
}

.public-home .public-field__icon {
    position: absolute;
    right: 13px;
    bottom: 14px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #8290a4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    pointer-events: none;
}

.public-home .password-visibility-toggle {
    right: .55rem;
    color: #8290a4;
}

.public-home .public-password-recovery {
    margin-top: 8px;
}

.public-home .public-password-recovery a {
    font-size: .73rem;
}

.public-home .public-login__button {
    min-height: 50px;
    margin-top: 22px;
    border-radius: 3px;
    background: #293b8f;
    font-size: .84rem;
}

.public-home .public-login__button:hover {
    background: #1e2e78;
}

.public-home .public-registration {
    margin-top: 22px;
    padding-top: 18px;
    font-size: .8rem;
}

.public-home .public-login__support {
    margin-top: 15px;
    font-size: .69rem;
}

.public-home .public-footer {
    position: relative;
    z-index: 3;
    border-top-color: rgba(196, 204, 215, .7);
    background: rgba(255, 255, 255, .95);
}

.public-home .public-footer__inner {
    min-height: 54px;
}

@media (min-width: 1051px) and (min-height: 720px) {
    .public-home .public-shell {
        height: 100dvh;
    }

    .public-home .public-main {
        overflow: hidden;
    }
}

@media (max-width: 1050px) {
    .public-home .public-shell {
        background-position: 58% center;
    }

    .public-home .public-container {
        width: min(100% - 42px, 760px);
    }

    .public-home .public-header {
        background: rgba(255, 255, 255, .86);
        backdrop-filter: blur(8px);
    }

    .public-home .public-site-link {
        color: #293b8f;
        text-shadow: none;
    }

    .public-home .public-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .public-home .public-main {
        padding: 42px 0 48px;
    }

    .public-home .public-login {
        width: min(100%, 520px);
    }
}

@media (max-width: 720px) {
    .public-home .public-shell {
        background-image:
            linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .9)),
            url('/images/login-workers-hero-v2.png');
        background-position: 64% center;
    }

    .public-home .public-container {
        width: min(100% - 28px, 1240px);
    }

    .public-home .public-header__inner {
        min-height: 82px;
    }

    .public-home .public-brand {
        flex-basis: 225px;
    }

    .public-home .public-intro h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .public-home .public-intro h1 br {
        display: none;
    }

    .public-home .ppwr-card {
        grid-template-columns: auto 1fr;
        gap: 16px;
        padding: 20px;
    }

    .public-home .public-login {
        padding: 29px 23px 25px;
    }

    .public-home .public-login::before {
        left: 23px;
    }
}

/* Customer portal */
body.customer-portal {
    min-width: 320px;
    color: #17243a;
    background: #f5f7fa;
}

.customer-portal *,
.customer-portal *::before,
.customer-portal *::after {
    box-sizing: border-box;
}

.customer-portal__shell {
    height: 100vh;
    overflow: hidden;
}

.customer-portal__header {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    border-bottom: 1px solid #e2e7ee;
    background: #fff;
}

.customer-portal__brand {
    display: block;
    width: 190px;
}

.customer-portal__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.customer-portal__user {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #17243a;
}

.customer-portal__avatar {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #123b88;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.customer-portal__user strong {
    font-size: .82rem;
}

.customer-portal__user > div {
    min-width: 0;
}

.customer-portal__user strong,
.customer-portal__user small,
.customer-portal__company strong,
.customer-portal__company small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-portal__user strong,
.customer-portal__user small {
    white-space: nowrap;
}

.customer-portal__user small {
    margin-top: 2px;
    color: #7a8798;
    font-size: .64rem;
}

.customer-portal__body {
    display: grid;
    height: calc(100vh - 78px);
    min-height: 0;
    grid-template-columns: 220px minmax(0, 1fr);
}

.customer-portal__sidebar {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px 17px 26px;
    border-right: 1px solid #e1e6ed;
    background: rgba(255, 255, 255, .72);
}

.customer-portal__nav {
    display: grid;
    gap: 8px;
}

.customer-portal__nav a,
.customer-portal__logout {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 7px;
    color: #56657a;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s, background .15s, box-shadow .15s;
}

.customer-portal__nav a:hover,
.customer-portal__nav a.is-active {
    color: #293b8f;
    background: #eef2fa;
}

.customer-portal__nav a.is-active {
    box-shadow: 0 7px 20px rgba(32, 52, 98, .06);
}

.customer-portal__nav svg,
.customer-portal__logout svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.customer-portal__logout:hover {
    color: #c72738;
    background: #fff0f2;
}

.customer-portal__sidebar-footer {
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 39, 53, .06);
}

.customer-portal__company {
    margin: 0;
    padding: 16px 14px;
    border-bottom: 1px solid #edf0f4;
}

.customer-portal__company strong {
    color: #26354b;
    font-size: .7rem;
    line-height: 1.4;
}

.customer-portal__person {
    display: block;
    margin-bottom: 9px;
    padding-bottom: 9px;
    overflow: hidden;
    border-bottom: 1px solid #edf0f4;
    color: #293b8f;
    font-size: .72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-portal__company small {
    margin-top: 4px;
    color: #7a8798;
    font-size: .61rem;
    line-height: 1.4;
}

.customer-portal__sidebar-footer .customer-portal__logout {
    min-height: 45px;
    padding-inline: 14px;
    border-radius: 0;
}

.customer-portal__main {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 24px 38px;
    scrollbar-gutter: stable;
}

.customer-portal .conformity-hero {
    min-height: 170px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    margin-bottom: 16px;
    padding: 27px 40px;
    border-radius: 9px;
    background: linear-gradient(125deg, #10387f 0%, #0c438e 60%, #083473 100%);
    box-shadow: 0 13px 34px rgba(17, 48, 105, .16);
}

.customer-portal .conformity-hero::before,
.customer-portal .conformity-hero::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    content: '';
}

.customer-portal .conformity-hero::before {
    right: 32px;
    bottom: -154px;
    width: 330px;
    height: 330px;
}

.customer-portal .conformity-hero::after {
    right: -75px;
    bottom: -180px;
    width: 390px;
    height: 390px;
    border-width: 34px;
}

.customer-portal .conformity-hero__eyebrow {
    margin-bottom: 14px;
    color: #dce5ff;
    font-size: .67rem;
}

.customer-portal .conformity-hero h1 {
    max-width: 570px;
    font-size: clamp(1.65rem, 2.35vw, 2.15rem);
    line-height: 1.14;
}

.customer-portal .conformity-hero h1 > span {
    color: #ef3345;
}

.customer-portal .conformity-hero__company {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 23px 24px;
    border: 0;
    border-left: 3px solid #ef3345;
    border-radius: 7px;
    color: #17243a;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 32px rgba(5, 23, 55, .18);
    backdrop-filter: none;
}

.customer-portal .conformity-hero__company-icon {
    display: grid;
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef1fb;
}

.customer-portal .conformity-hero__company-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.customer-portal .conformity-hero__company span {
    color: #79869a;
}

.customer-portal .conformity-hero__company strong {
    color: #17243a;
    font-size: .9rem;
    text-transform: uppercase;
}

.customer-portal .conformity-hero__company small {
    color: #69778b;
}

.customer-portal .conformity-toolbar {
    display: block;
    margin-bottom: 16px;
    padding: 20px 22px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(28, 39, 53, .055);
}

.customer-portal .conformity-search {
    display: grid;
    grid-template-columns: minmax(210px, 1.3fr) minmax(175px, 1fr) auto auto;
    gap: 14px;
    align-items: end;
}

.customer-portal .conformity-search__group {
    min-width: 0;
}

.customer-portal .conformity-search label {
    margin-bottom: 7px;
    color: #3f4d62;
    font-size: .7rem;
}

.customer-portal .conformity-search__field,
.customer-portal .conformity-search__select {
    position: relative;
}

.customer-portal .conformity-search input,
.customer-portal .conformity-search select {
    width: 100%;
    height: 43px;
    border: 1px solid #cbd4e1;
    border-radius: 4px;
    outline: 0;
    color: #536176;
    background: #fff;
    font-size: .78rem;
}

.customer-portal .conformity-search input {
    padding: 0 13px 0 41px;
}

.customer-portal .conformity-search select {
    padding: 0 42px 0 13px;
    appearance: none;
}

.customer-portal .conformity-search__select svg {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #65748a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transform: translateY(-50%);
    pointer-events: none;
}

.customer-portal .conformity-search > button,
.customer-portal .conformity-search > a {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    border-radius: 4px;
    font-size: .76rem;
    font-weight: 750;
    text-decoration: none;
}

.customer-portal .conformity-search > button {
    border: 1px solid #293b8f;
    color: #fff;
    background: #293b8f;
}

.customer-portal .conformity-search > button:hover {
    border-color: #1e2e78;
    background: #1e2e78;
}

.customer-portal .conformity-search > button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.customer-portal .conformity-search > a {
    border: 1px solid #cbd4e1;
    color: #5f6d81;
    background: #fff;
}

.customer-portal .conformity-list {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(28, 39, 53, .06);
}

.customer-portal .conformity-table thead th {
    padding: 12px 22px;
    color: #657287;
    background: #fbfcfd;
    font-size: .62rem;
    letter-spacing: .1em;
}

.customer-portal .conformity-table tbody td {
    padding: 12px 22px;
    font-size: .77rem;
}

.customer-portal .conformity-document__icon {
    color: #5972bf;
    background: #eef2fc;
}

.customer-portal .conformity-document strong {
    color: #17243a;
}

.customer-portal .conformity-download {
    min-width: 122px;
    justify-content: center;
    border-radius: 4px;
}

@media (max-width: 1050px) {
    .customer-portal__body {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .customer-portal .conformity-hero {
        grid-template-columns: 1fr;
    }

    .customer-portal .conformity-search {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .customer-portal__shell {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .customer-portal__header {
        min-height: 70px;
        padding-inline: 16px;
    }

    .customer-portal__brand {
        width: 155px;
    }

    .customer-portal__body {
        display: block;
        height: auto;
        min-height: calc(100vh - 70px);
    }

    .customer-portal__sidebar {
        position: static;
        display: block;
        height: auto;
        padding: 10px 14px;
        border-right: 0;
        border-bottom: 1px solid #e1e6ed;
    }

    .customer-portal__nav {
        display: flex;
    }

    .customer-portal__nav a,
    .customer-portal__logout {
        min-height: 44px;
        padding: 0 12px;
    }

    .customer-portal__logout span {
        display: inline;
    }

    .customer-portal__sidebar-footer {
        margin-top: 10px;
    }

    .customer-portal__company {
        margin: 0;
    }

    .customer-portal__sidebar-footer .customer-portal__logout {
        width: 100%;
    }

    .customer-portal__main {
        overflow: visible;
        padding: 16px 14px 30px;
        scrollbar-gutter: auto;
    }

    .customer-portal .conformity-hero {
        margin-inline: 0;
        padding: 28px 22px;
    }

    .customer-portal .conformity-search {
        grid-template-columns: 1fr;
    }

    .customer-portal .conformity-search > button,
    .customer-portal .conformity-search > a {
        width: 100%;
    }
}

/* Customer profile */
.customer-portal .profile-hero h1 {
    font-size: clamp(1.9rem, 2.8vw, 2.55rem);
}

.customer-portal .profile-hero p {
    max-width: 480px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .82);
    font-size: .84rem;
    line-height: 1.65;
}

.customer-portal .profile-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.customer-portal .profile-panel {
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(28, 39, 53, .06);
}

.customer-portal .profile-panel__header {
    align-items: center;
    padding: 23px 24px 15px;
    border-bottom: 0;
    background: #fff;
}

.customer-portal .profile-panel__icon {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    border-radius: 50%;
}

.customer-portal .profile-panel__header h2 {
    margin: 0;
    color: #17243a;
    font-size: 1rem;
}

.customer-portal .profile-panel__header p {
    margin-top: 5px;
    color: #687790;
    font-size: .72rem;
}

.customer-portal .profile-panel__body {
    flex: 1;
    padding: 16px 24px 24px;
}

.customer-portal .profile-form__grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

.customer-portal .profile-form label {
    color: #26354b;
    font-size: .72rem;
}

.customer-portal .profile-form input {
    min-height: 43px;
    border-radius: 4px;
    background: #fff;
    font-size: .8rem;
}

.customer-portal .profile-form input:disabled {
    color: #67758a;
    background: #f5f7fa;
    opacity: 1;
    cursor: not-allowed;
}

.customer-portal .profile-form__actions {
    margin-top: 18px;
    padding-top: 17px;
}

.customer-portal .profile-form__actions button {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 4px;
    background: #293b8f;
    font-size: .74rem;
}

.customer-portal .profile-form__actions button:hover {
    background: #1e2e78;
}

.customer-portal .profile-readonly-data {
    display: block;
    border: 0;
}

.customer-portal .profile-readonly-data > div,
.customer-portal .profile-readonly-data > div:nth-child(2n),
.customer-portal .profile-readonly-data > div:nth-last-child(-n + 2) {
    display: grid;
    grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
    padding: 13px 4px;
    border: 0;
    border-bottom: 1px solid #e3e8ef;
    background: #fff;
}

.customer-portal .profile-readonly-data > div:last-child {
    border-bottom: 0;
}

.customer-portal .profile-readonly-data dt {
    margin: 0;
    color: #647289;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.customer-portal .profile-readonly-data dd {
    color: #17243a;
    font-size: .74rem;
    font-weight: 650;
}

.customer-portal .profile-readonly-data a {
    color: #293b8f;
    text-decoration: none;
}

@media (max-width: 1050px) {
    .customer-portal .profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .customer-portal .profile-readonly-data > div,
    .customer-portal .profile-readonly-data > div:nth-child(2n),
    .customer-portal .profile-readonly-data > div:nth-last-child(-n + 2) {
        grid-template-columns: 1fr;
        gap: 5px;
    }

}

/* Registration request status */
.registration-pending {
    display: grid;
    min-height: calc(100vh - 145px);
    place-items: center;
    padding: 28px 0 48px;
}

.registration-pending__card {
    width: min(100%, 660px);
    padding: 44px 48px 40px;
    border-top: 5px solid #293b8f;
    background: #fff;
    box-shadow: 0 20px 55px rgba(28, 39, 53, .12);
    text-align: center;
}

.registration-pending__icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef1fb;
}

.registration-pending__icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.registration-pending__eyebrow {
    color: #293b8f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.registration-pending h1 {
    margin: 8px 0 12px;
    color: #202b38;
    font-size: clamp(2rem, 5vw, 2.65rem);
    font-weight: 750;
    letter-spacing: -.04em;
}

.registration-pending__lead {
    max-width: 530px;
    margin: 0 auto;
    color: #6c7786;
    font-size: .97rem;
    line-height: 1.7;
}

.registration-steps {
    display: grid;
    gap: 0;
    margin: 32px 0 26px;
    border: 1px solid #e0e5ec;
    text-align: left;
}

.registration-step {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 1px solid #e7ebf0;
}

.registration-step:last-child {
    border-bottom: 0;
}

.registration-step > span {
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid #cfd6df;
    border-radius: 50%;
    color: #8a94a2;
    font-size: .77rem;
    font-weight: 800;
}

.registration-step strong,
.registration-step small {
    display: block;
}

.registration-step strong {
    color: #334052;
    font-size: .86rem;
}

.registration-step small {
    margin-top: 2px;
    color: #7c8795;
    font-size: .75rem;
}

.registration-step--done > span {
    border-color: #268a61;
    color: #fff;
    background: #268a61;
}

.registration-step--current {
    background: #f4f6fc;
}

.registration-step--current > span {
    border-color: #293b8f;
    color: #fff;
    background: #293b8f;
}

.registration-pending__notice {
    padding: 12px 16px;
    border-left: 3px solid #d29b27;
    color: #70581d;
    background: #fff8e8;
    font-size: .8rem;
    line-height: 1.5;
    text-align: left;
}

.registration-pending__button {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 26px;
    padding: 13px 20px;
    border-radius: 2px;
    color: #fff;
    background: #293b8f;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
}

.registration-pending__button:hover {
    color: #fff;
    background: #1e2e78;
}

@media (max-width: 620px) {
    .registration-pending__card {
        padding: 34px 20px 30px;
    }
}

/* Customer reserved area */
.customer-area-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 28px;
    align-items: start;
}

.customer-area-content {
    min-width: 0;
}

.customer-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    min-height: calc(100vh - 112px);
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid #e0e5ec;
    border-top: 4px solid #293b8f;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(28, 39, 53, .08);
}

.customer-sidebar__heading {
    padding: 24px 22px 14px;
    color: #87909c;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.customer-sidebar__nav {
    padding: 0 12px;
}

.customer-sidebar__link,
.customer-sidebar__logout {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4e5b6b;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color .15s, background .15s;
}

.customer-sidebar__link {
    padding: 13px 12px;
    border-radius: 3px;
}

.customer-sidebar__link svg,
.customer-sidebar__logout svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.customer-sidebar__link:hover,
.customer-sidebar__link.is-active {
    color: #293b8f;
    background: #eef1fb;
}

.customer-sidebar__link.is-active {
    box-shadow: inset 3px 0 #293b8f;
}

.customer-sidebar__account {
    padding: 14px 12px 12px;
    border-top: 1px solid #e4e8ee;
    background: #fafbfc;
}

.customer-sidebar__profile {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px;
    border-radius: 3px;
    color: #334052;
    text-decoration: none;
    transition: background .15s;
}

.customer-sidebar__profile:hover,
.customer-sidebar__profile.is-active {
    color: #293b8f;
    background: #eef1fb;
}

.customer-sidebar__avatar {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #293b8f;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.customer-sidebar__identity {
    min-width: 0;
}

.customer-sidebar__identity strong,
.customer-sidebar__identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-sidebar__identity strong {
    font-size: .84rem;
}

.customer-sidebar__identity small {
    margin-top: 2px;
    color: #7d8794;
    font-size: .72rem;
}

.customer-sidebar__logout {
    margin-top: 8px;
    padding: 10px 11px;
    border-top: 1px solid #e6e9ee;
    color: #687383;
}

.customer-sidebar__logout:hover {
    color: #c42e3e;
}

.customer-readonly-data > div {
    padding: 12px 0;
    border-bottom: 1px solid #e7ebf0;
}

.customer-readonly-data > div:first-child {
    padding-top: 0;
}

.customer-readonly-data > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.customer-readonly-data dt {
    margin-bottom: 3px;
    color: #838d99;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-readonly-data dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #334052;
    font-size: .9rem;
    font-weight: 650;
}

form .invalid-feedback,
form ul {
    margin: .4rem 0 0;
    padding-left: 1rem;
    color: #b42334;
    font-size: .78rem;
}

@media (max-width: 991.98px) {
    .customer-area-layout {
        grid-template-columns: 1fr;
    }

    .customer-sidebar {
        position: static;
        min-height: 0;
        order: -1;
    }

    .customer-sidebar__account {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .customer-sidebar__logout {
        margin: 0;
        border-top: 0;
    }
}

@media (max-width: 575.98px) {
    .customer-sidebar__account {
        grid-template-columns: 1fr;
    }

    .customer-sidebar__logout {
        border-top: 1px solid #e6e9ee;
    }
}

/* Registration page */
body.registration-page {
    min-width: 320px;
    color: #17243a;
    background: #f5f7fa;
}

.registration-page *,
.registration-page *::before,
.registration-page *::after {
    box-sizing: border-box;
}

.registration-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.registration-container {
    position: relative;
    z-index: 1;
    width: min(1380px, calc(100% - 96px));
    margin-inline: auto;
}

.registration-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #e0e6ee;
    background: #fff;
}

.registration-header__inner {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.registration-brand {
    display: block;
    width: 275px;
}

.registration-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.registration-login-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #68758a;
    font-size: .86rem;
}

.registration-login-link a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #293b8f;
    font-weight: 800;
    text-decoration: none;
}

.registration-login-link a:hover {
    color: #1e2e78;
}

.registration-main {
    position: relative;
    display: grid;
    flex: 1;
    align-items: center;
    overflow: hidden;
    padding: 26px 0;
}

.registration-main::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .9) 35%, rgba(245, 247, 250, .97) 58%, #f5f7fa 100%),
        url('/images/login-industrial-hero.png') center / cover no-repeat;
    content: '';
    transform: scaleX(-1);
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(330px, .75fr) minmax(580px, 1.25fr);
    gap: clamp(50px, 7vw, 105px);
    align-items: center;
}

.registration-intro {
    max-width: 440px;
}

.registration-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #293b8f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.registration-eyebrow::before {
    width: 24px;
    height: 2px;
    background: #ed1c2e;
    content: '';
}

.registration-intro h1 {
    margin: 27px 0 0;
    color: #102039;
    font-size: clamp(2.2rem, 3.8vw, 3.55rem);
    font-weight: 780;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.registration-intro h1 strong {
    color: #ed1c2e;
    font-weight: inherit;
}

.registration-intro > p {
    max-width: 385px;
    margin: 25px 0 0;
    color: #5f6f86;
    font-size: 1rem;
    line-height: 1.75;
}

.registration-benefits {
    margin-top: 29px;
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(28, 39, 53, .08);
}

.registration-benefits article {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 16px 0;
}

.registration-benefits article + article {
    border-top: 1px solid #e4e8ef;
}

.registration-benefits article > span {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef2fb;
}

.registration-benefits svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.registration-benefits strong {
    display: block;
    color: #24334a;
    font-size: .88rem;
}

.registration-benefits p {
    margin: 4px 0 0;
    color: #687790;
    font-size: .78rem;
    line-height: 1.55;
}

.registration-card {
    padding: 27px 34px 28px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 54px rgba(28, 39, 53, .12);
}

.registration-card h2 {
    margin: 0;
    color: #17243a;
    font-size: 1.62rem;
    font-weight: 780;
    letter-spacing: -.025em;
}

.registration-card__intro {
    max-width: 680px;
    margin: 9px 0 19px;
    color: #64738a;
    font-size: .98rem;
    line-height: 1.65;
}

.registration-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 8px;
}

.registration-form .mb-3 {
    margin-bottom: .55rem !important;
}

.registration-form label {
    margin-bottom: 6px;
    color: #26354b;
    font-size: .92rem;
    font-weight: 750;
}

.registration-form .form-control {
    min-height: 43px;
    padding: 0 13px;
    border-color: #ccd5e1;
    border-radius: 4px;
    color: #26354b;
    background: #fff;
    font-size: .97rem;
}

.registration-form .form-control:focus {
    border-color: #293b8f;
    box-shadow: 0 0 0 3px rgba(41, 59, 143, .1);
}

.registration-form .form-text {
    margin-top: 5px;
    color: #8691a1;
    font-size: .82rem;
}

.registration-form .invalid-feedback {
    font-size: .82rem;
}

.registration-form__privacy {
    margin-top: 7px;
    padding-top: 13px;
    border-top: 1px solid #e4e8ef;
}

.registration-form__privacy .form-check {
    margin: 0;
}

.registration-form__privacy label {
    color: #5f6d82;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.45;
}

.registration-form__privacy a {
    color: #293b8f;
    font-weight: 700;
}

.registration-form__submit {
    display: inline-flex;
    min-width: 180px;
    min-height: 45px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 17px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #293b8f;
    font-size: .94rem;
    font-weight: 800;
}

.registration-form__submit:hover {
    background: #1e2e78;
}

.registration-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid #e0e6ee;
    background: #fff;
}

.registration-footer__inner {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #748196;
    font-size: .73rem;
}

@media (max-width: 980px) {
    .registration-main {
        overflow: visible;
        padding: 40px 0;
    }

    .registration-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .registration-intro {
        max-width: 620px;
    }

    .registration-benefits {
        max-width: 500px;
    }
}

@media (max-width: 680px) {
    .registration-container {
        width: min(100% - 28px, 1360px);
    }

    .registration-header__inner {
        min-height: 76px;
    }

    .registration-brand {
        width: 190px;
    }

    .registration-login-link > span {
        display: none;
    }

    .registration-intro h1 br {
        display: none;
    }

    .registration-card {
        padding: 25px 20px;
    }

    .registration-form__grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .registration-form__submit {
        width: 100%;
    }

    .registration-footer__inner {
        min-height: 68px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
    }
}

/* Forgot password page */
body.forgot-password-page {
    min-width: 320px;
    color: #17243a;
    background: #f5f7fa;
}

.forgot-password-page *,
.forgot-password-page *::before,
.forgot-password-page *::after {
    box-sizing: border-box;
}

.forgot-password-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.forgot-password-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #293b8f;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.forgot-password-back:hover {
    color: #1e2e78;
}

.forgot-password-back span {
    font-size: 1.15rem;
}

.forgot-password-main {
    position: relative;
    display: grid;
    flex: 1;
    align-items: center;
    overflow: hidden;
    padding: 28px 0;
}

.forgot-password-main::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(245, 247, 250, .45) 0%, rgba(255, 255, 255, .8) 36%, rgba(245, 247, 250, .97) 66%, #f5f7fa 100%),
        url('/images/login-industrial-hero.png') center / cover no-repeat;
    content: '';
    transform: scaleX(-1);
}

.forgot-password-main::after {
    position: absolute;
    right: -170px;
    bottom: -170px;
    width: 460px;
    height: 460px;
    border: 52px solid rgba(41, 59, 143, .035);
    border-radius: 50%;
    content: '';
}

.forgot-password-layout {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(430px, 1.2fr);
    gap: clamp(65px, 9vw, 140px);
    align-items: center;
}

.forgot-password-intro {
    max-width: 390px;
    margin-left: auto;
}

.forgot-password-intro h1 {
    margin: 26px 0 0;
    color: #12254a;
    font-size: clamp(2.35rem, 4vw, 3.45rem);
    font-weight: 780;
    line-height: 1.13;
    letter-spacing: -.045em;
}

.forgot-password-intro > p {
    max-width: 360px;
    margin: 24px 0 0;
    color: #4e617e;
    font-size: .98rem;
    line-height: 1.72;
}

.forgot-password-security {
    display: flex;
    gap: 17px;
    align-items: center;
    margin-top: 48px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 34px rgba(28, 39, 53, .09);
}

.forgot-password-security > span {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #293b8f;
}

.forgot-password-security svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.forgot-password-security strong {
    display: block;
    color: #24334a;
    font-size: .86rem;
}

.forgot-password-security p {
    margin: 5px 0 0;
    color: #687790;
    font-size: .76rem;
    line-height: 1.55;
}

.forgot-password-card {
    width: min(100%, 530px);
    padding: 34px 42px 31px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 60px rgba(28, 39, 53, .14);
    text-align: center;
}

.forgot-password-card__icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef2ff;
}

.forgot-password-card__icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.forgot-password-card h2 {
    margin: 0;
    color: #13285a;
    font-size: 1.7rem;
    font-weight: 780;
    letter-spacing: -.025em;
}

.forgot-password-card__accent {
    display: block;
    width: 58px;
    height: 2px;
    margin: 18px auto 25px;
    background: #ed1c2e;
}

.forgot-password-form {
    text-align: left;
}

.forgot-password-field {
    margin-bottom: 18px;
}

.forgot-password-field label,
.forgot-password-label {
    color: #26354b;
    font-size: .82rem;
    font-weight: 750;
}

.forgot-password-field > label,
.forgot-password-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-password-label label {
    margin: 0;
}

.forgot-password-label > span {
    display: inline-grid;
    width: 19px;
    height: 19px;
    margin-left: 8px;
    place-items: center;
    border: 1px solid #293b8f;
    border-radius: 50%;
    color: #293b8f;
    font-family: Georgia, serif;
    font-size: .72rem;
    font-style: italic;
    cursor: help;
}

.forgot-password-input {
    position: relative;
}

.forgot-password-input > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #718097;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
    transform: translateY(-50%);
    pointer-events: none;
}

.forgot-password-input .form-control {
    min-height: 53px;
    padding: 0 15px 0 49px;
    border-color: #cbd4e1;
    border-radius: 4px;
    color: #26354b;
    background: #fff;
    font-size: .87rem;
}

.forgot-password-input .form-control:focus {
    border-color: #293b8f;
    box-shadow: 0 0 0 3px rgba(41, 59, 143, .1);
}

.forgot-password-submit {
    display: flex;
    width: 100%;
    min-height: 53px;
    align-items: center;
    justify-content: space-between;
    margin-top: 29px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #293b8f;
    font-size: .86rem;
    font-weight: 800;
}

.forgot-password-submit:hover {
    background: #1e2e78;
}

.forgot-password-submit span {
    font-size: 1.25rem;
}

.forgot-password-support {
    position: relative;
    margin-top: 28px;
    padding-top: 27px;
    border-top: 1px solid #dde3eb;
    color: #687790;
}

.forgot-password-support > span {
    position: absolute;
    top: -9px;
    left: 50%;
    padding: 0 14px;
    color: #9aa5b5;
    background: #fff;
    font-size: .55rem;
    transform: translateX(-50%);
}

.forgot-password-support p {
    margin: 0;
    font-size: .74rem;
    line-height: 1.7;
}

.forgot-password-support a {
    color: #293b8f;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 920px) {
    .forgot-password-main {
        overflow: visible;
        padding: 42px 0;
    }

    .forgot-password-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .forgot-password-intro {
        max-width: 600px;
        margin: 0;
    }

    .forgot-password-security {
        max-width: 430px;
        margin-top: 28px;
    }

    .forgot-password-card {
        width: min(100%, 550px);
    }
}

@media (max-width: 680px) {
    .forgot-password-back {
        font-size: 0;
    }

    .forgot-password-back span {
        font-size: 1.35rem;
    }

    .forgot-password-intro h1 br {
        display: none;
    }

    .forgot-password-card {
        padding: 29px 21px 26px;
    }
}

/* Invalid password-reset link */
body.invalid-reset-page {
    min-width: 320px;
    color: #17243a;
    background: #f5f7fa;
}

.invalid-reset-page *,
.invalid-reset-page *::before,
.invalid-reset-page *::after {
    box-sizing: border-box;
}

.invalid-reset-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.invalid-reset-main {
    position: relative;
    display: grid;
    flex: 1;
    place-items: center;
    overflow: hidden;
    padding: 38px 20px;
    background:
        radial-gradient(circle at 6% 68%, transparent 0 125px, rgba(41, 59, 143, .025) 126px 188px, transparent 189px),
        linear-gradient(135deg, #f8f9fb, #f3f6fa);
}

.invalid-reset-main::after {
    position: absolute;
    right: -175px;
    bottom: -190px;
    width: 470px;
    height: 470px;
    border: 56px solid rgba(41, 59, 143, .025);
    border-radius: 50%;
    content: '';
}

.invalid-reset-card {
    position: relative;
    z-index: 1;
    width: min(100%, 660px);
    padding: 52px 55px 48px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(28, 39, 53, .11);
    text-align: center;
}

.invalid-reset-card__icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 29px;
    place-items: center;
    border-radius: 50%;
    color: #ed1c2e;
    background: #fff0f2;
}

.invalid-reset-card__icon svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.invalid-reset-card__eyebrow {
    display: block;
    color: #293b8f;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.invalid-reset-card h1 {
    margin: 19px 0 0;
    color: #14233a;
    font-size: clamp(2rem, 3.4vw, 2.65rem);
    font-weight: 780;
    letter-spacing: -.04em;
}

.invalid-reset-card__accent {
    display: block;
    width: 58px;
    height: 2px;
    margin: 24px auto 30px;
    background: #ed1c2e;
}

.invalid-reset-card p {
    margin: 0;
    color: #687790;
    font-size: .92rem;
    line-height: 1.65;
}

.invalid-reset-card p + p {
    margin-top: 15px;
}

.invalid-reset-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 34px;
}

.invalid-reset-card__primary,
.invalid-reset-card__secondary {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.invalid-reset-card__primary {
    min-width: 235px;
    justify-content: space-between;
    padding: 0 18px;
    border-radius: 4px;
    color: #fff;
    background: #293b8f;
}

.invalid-reset-card__primary:hover {
    color: #fff;
    background: #1e2e78;
}

.invalid-reset-card__primary span {
    font-size: 1.2rem;
}

.invalid-reset-card__divider {
    width: 1px;
    height: 30px;
    background: #d8dee7;
}

.invalid-reset-card__secondary {
    color: #293b8f;
}

.invalid-reset-card__secondary:hover {
    color: #1e2e78;
}

@media (max-width: 680px) {
    .invalid-reset-card {
        padding: 40px 22px 34px;
    }

    .invalid-reset-card__actions {
        flex-direction: column;
        gap: 13px;
    }

    .invalid-reset-card__primary,
    .invalid-reset-card__secondary {
        width: 100%;
    }

    .invalid-reset-card__divider {
        display: none;
    }
}

/* Password-reset e-mail sent */
body.forgot-sent-page {
    min-width: 320px;
    color: #17243a;
    background: #f5f7fa;
}

.forgot-sent-page *,
.forgot-sent-page *::before,
.forgot-sent-page *::after {
    box-sizing: border-box;
}

.forgot-sent-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.forgot-sent-main {
    position: relative;
    display: grid;
    flex: 1;
    place-items: center;
    overflow: hidden;
    padding: 38px 20px;
    background:
        radial-gradient(circle at 4% 58%, transparent 0 122px, rgba(41, 59, 143, .025) 123px 184px, transparent 185px),
        linear-gradient(135deg, #f8f9fb, #f3f6fa);
}

.forgot-sent-main::after {
    position: absolute;
    top: 55px;
    right: 55px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(41, 59, 143, .07) 3px, transparent 3.5px);
    background-size: 24px 24px;
    content: '';
}

.forgot-sent-card {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    padding: 38px 60px 40px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(28, 39, 53, .11);
    text-align: center;
}

.forgot-sent-card__icon {
    position: relative;
    display: grid;
    width: 88px;
    height: 88px;
    margin: 0 auto 29px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef2ff;
}

.forgot-sent-card__icon > svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.forgot-sent-card__icon > span {
    position: absolute;
    right: -2px;
    bottom: 4px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #2878eb;
}

.forgot-sent-card__icon > span svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.forgot-sent-card__eyebrow {
    display: block;
    color: #293b8f;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.forgot-sent-card h1 {
    margin: 17px 0 0;
    color: #14233a;
    font-size: clamp(2.15rem, 4vw, 3rem);
    font-weight: 780;
    letter-spacing: -.04em;
}

.forgot-sent-card__lead {
    max-width: 620px;
    margin: 18px auto 0;
    color: #687790;
    font-size: .95rem;
    line-height: 1.65;
}

.forgot-sent-card__divider {
    height: 1px;
    margin: 28px 0;
    background: #e0e5ec;
}

.forgot-sent-card__notice {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 18px 22px;
    border-radius: 7px;
    color: #4f5968;
    background: #fff8e9;
    text-align: left;
}

.forgot-sent-card__notice > span {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid #e1a410;
    border-radius: 50%;
    color: #d49100;
    font-size: 1.45rem;
}

.forgot-sent-card__notice p {
    margin: 0;
    font-size: .86rem;
    line-height: 1.65;
}

.forgot-sent-card__button {
    display: inline-flex;
    min-width: 355px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 31px;
    padding: 0 24px;
    border-radius: 4px;
    color: #fff;
    background: #293b8f;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.forgot-sent-card__button:hover {
    color: #fff;
    background: #1e2e78;
}

.forgot-sent-card__button span {
    font-size: 1.2rem;
}

@media (max-width: 680px) {
    .forgot-sent-main {
        padding-inline: 14px;
    }

    .forgot-sent-main::after {
        display: none;
    }

    .forgot-sent-card {
        padding: 34px 21px 31px;
    }

    .forgot-sent-card__notice {
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .forgot-sent-card__button {
        width: 100%;
        min-width: 0;
    }
}

/* Choose a new password */
body.reset-password-page {
    min-width: 320px;
    color: #17243a;
    background: #f5f7fa;
}

.reset-password-page *,
.reset-password-page *::before,
.reset-password-page *::after {
    box-sizing: border-box;
}

.reset-password-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.reset-password-main {
    position: relative;
    display: grid;
    flex: 1;
    align-items: center;
    overflow: hidden;
    padding: 28px 0;
}

.reset-password-main::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(245, 247, 250, .5) 0%, rgba(255, 255, 255, .78) 37%, rgba(245, 247, 250, .98) 68%, #f5f7fa 100%),
        url('/images/login-industrial-hero.png') center / cover no-repeat;
    content: '';
    transform: scaleX(-1);
}

.reset-password-layout {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(480px, 1.2fr);
    gap: clamp(70px, 10vw, 155px);
    align-items: center;
}

.reset-password-intro {
    max-width: 390px;
    margin-left: auto;
}

.reset-password-intro h1 {
    margin: 26px 0 0;
    color: #14233a;
    font-size: clamp(2.5rem, 4.3vw, 3.8rem);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.reset-password-intro h1 strong {
    color: #c91f2f;
    font-weight: inherit;
}

.reset-password-intro p {
    max-width: 340px;
    margin: 25px 0 0;
    color: #4f617d;
    font-size: 1.08rem;
    line-height: 1.7;
}

.reset-password-content {
    width: min(100%, 540px);
}

.reset-password-card {
    padding: 29px 38px 31px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 55px rgba(28, 39, 53, .13);
    text-align: center;
}

.reset-password-card__icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 17px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef2ff;
}

.reset-password-card__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.reset-password-card__eyebrow {
    display: block;
    color: #293b8f;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.reset-password-card h2 {
    margin: 14px 0 0;
    color: #14233a;
    font-size: 1.62rem;
    font-weight: 780;
    letter-spacing: -.025em;
}

.reset-password-card__accent {
    display: block;
    width: 50px;
    height: 2px;
    margin: 17px auto 18px;
    background: #ed1c2e;
}

.reset-password-card__intro {
    max-width: 390px;
    margin: 0 auto 22px;
    color: #687790;
    font-size: .92rem;
    line-height: 1.6;
}

.reset-password-form {
    text-align: left;
}

.reset-password-field {
    margin-bottom: 17px;
}

.reset-password-field label {
    margin-bottom: 7px;
    color: #26354b;
    font-size: .78rem;
    font-weight: 750;
}

.reset-password-field .form-control {
    min-height: 47px;
    padding: 0 45px 0 13px;
    border-color: #cbd4e1;
    border-radius: 4px;
    color: #26354b;
    background: #fff;
    font-size: .82rem;
}

.reset-password-field .form-control:focus {
    border-color: #293b8f;
    box-shadow: 0 0 0 3px rgba(41, 59, 143, .1);
}

.reset-password-field .form-text {
    margin-top: 6px;
    color: #8190a3;
    font-size: .69rem;
}

.reset-password-field .password-visibility-toggle {
    right: .55rem;
}

.reset-password-submit {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #293b8f;
    font-size: .82rem;
    font-weight: 800;
}

.reset-password-submit:hover {
    background: #1e2e78;
}

.reset-password-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.reset-password-tip {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    padding: 0 38px;
}

.reset-password-tip > span {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef2ff;
}

.reset-password-tip svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.reset-password-tip strong {
    display: block;
    color: #293b8f;
    font-size: .76rem;
}

.reset-password-tip p {
    margin: 5px 0 0;
    color: #687790;
    font-size: .8rem;
    line-height: 1.55;
}

@media (max-width: 920px) {
    .reset-password-main {
        overflow: visible;
        padding: 42px 0;
    }

    .reset-password-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .reset-password-intro {
        max-width: 600px;
        margin: 0;
    }
}

@media (max-width: 680px) {
    .reset-password-intro h1 br {
        display: none;
    }

    .reset-password-card {
        padding: 27px 21px 29px;
    }

    .reset-password-tip {
        padding: 0 8px;
    }
}

/* Admin customers */
.admin-shell {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    min-height: calc(100vh - 112px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e5ec;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(28, 39, 53, .07);
}

.admin-sidebar__heading {
    padding: 23px 21px;
    color: #fff;
    background: #234f7a;
}

.admin-sidebar__heading span,
.admin-sidebar__heading strong {
    display: block;
}

.admin-sidebar__heading span {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .68);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-sidebar__heading strong {
    font-size: 1.02rem;
}

.admin-sidebar__nav {
    display: grid;
    gap: 5px;
    padding: 16px 12px;
}

.admin-sidebar__link,
.admin-sidebar__logout {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 5px;
    color: #445366;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-sidebar__link svg,
.admin-sidebar__logout svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.admin-sidebar__link:hover,
.admin-sidebar__link.is-active {
    color: #234f7a;
    background: #eef4f8;
}

.admin-sidebar__link.is-active {
    box-shadow: inset 3px 0 #ed3e4d;
}

.admin-sidebar__logout {
    margin: auto 12px 14px;
    border-top: 1px solid #e8ebef;
    border-radius: 0;
    color: #b12f3b;
}

.admin-sidebar__logout:hover {
    color: #8f202b;
    background: #fff5f6;
}

.admin-content {
    min-width: 0;
}

.admin-page-header,
.admin-customer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 27px 30px;
    color: #fff;
    background: linear-gradient(120deg, #183f68, #295f8f);
    box-shadow: 0 14px 34px rgba(24, 63, 104, .16);
}

.admin-page-header__eyebrow,
.admin-customer-hero > div:first-child > span {
    display: block;
    margin-bottom: 7px;
    color: #f5acb3;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.admin-page-header h1,
.admin-customer-hero h1 {
    margin: 0 0 7px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
}

.admin-page-header p,
.admin-customer-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: .88rem;
}

.admin-header-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 5px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-header-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.admin-header-action span {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #234f7a;
    background: #fff;
    font-size: .7rem;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 20px;
}

.admin-stat-grid article {
    padding: 17px 19px;
    border: 1px solid #e0e5ec;
    border-top: 3px solid #3f75a6;
    background: #fff;
    box-shadow: 0 7px 20px rgba(28, 39, 53, .045);
}

.admin-stat-grid article.has-error {
    border-top-color: #d93c4b;
}

.admin-stat-grid span,
.admin-stat-grid strong {
    display: block;
}

.admin-stat-grid span {
    color: #728093;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.admin-stat-grid strong {
    margin-top: 5px;
    color: #193e63;
    font-size: 1.55rem;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap .form-control,
.password-input-wrap > input {
    padding-right: 3rem;
}

.password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: .65rem;
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: .4rem;
    background: transparent;
    color: #66788a;
}

.password-visibility-toggle:hover {
    background: #eef3f7;
    color: #193e63;
}

.password-visibility-toggle:focus-visible {
    outline: 2px solid #3f75a6;
    outline-offset: 2px;
}

.password-eye {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.password-eye--hide,
.password-visibility-toggle[aria-pressed="true"] .password-eye--show {
    display: none;
}

.password-visibility-toggle[aria-pressed="true"] .password-eye--hide {
    display: block;
}

.admin-profile-list {
    overflow: hidden;
    border: 1px solid #dde5ed;
    border-radius: .7rem;
    background: #f8fafc;
}

.admin-profile-list__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #dde5ed;
    background: #fff;
}

.admin-profile-list__heading span {
    display: block;
    margin-bottom: .2rem;
    color: #718096;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-profile-list__heading h2 {
    margin: 0;
    color: #193e63;
    font-size: 1.05rem;
    font-weight: 750;
}

.admin-profile-list__heading > strong {
    display: inline-flex;
    min-width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #293b8f;
    font-size: .85rem;
}

.admin-profile-list__items {
    max-height: 28rem;
    overflow-y: auto;
    padding: .45rem;
}

.admin-profile-list__item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .8rem;
    border-radius: .55rem;
}

.admin-profile-list__item + .admin-profile-list__item {
    border-top: 1px solid #e4eaf0;
}

.admin-profile-list__avatar {
    display: inline-flex;
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 2.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #293b8f;
    background: #e6ebfa;
    font-size: .76rem;
    font-weight: 800;
}

.admin-profile-list__item > div {
    min-width: 0;
}

.admin-profile-list__item strong,
.admin-profile-list__item > div > span {
    display: block;
}

.admin-profile-list__item strong {
    color: #263747;
    font-size: .88rem;
}

.admin-profile-list__item strong small {
    margin-left: .35rem;
    padding: .12rem .38rem;
    border-radius: 999px;
    color: #293b8f;
    background: #e6ebfa;
    font-size: .62rem;
    text-transform: uppercase;
}

.admin-profile-list__item > div > span {
    overflow: hidden;
    margin-top: .15rem;
    color: #718096;
    font-size: .75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-profile-list__empty {
    margin: 0;
    padding: 1.25rem;
    color: #718096;
    text-align: center;
}

.admin-list-panel {
    overflow: hidden;
    border: 1px solid #dfe4ea;
    background: #fff;
    box-shadow: 0 12px 32px rgba(28, 39, 53, .065);
}

.admin-list-panel__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #e3e7ec;
    background: #fafbfc;
}

.admin-list-panel__heading--search-only {
    justify-content: flex-end;
}

.admin-list-panel__heading > div > span {
    display: block;
    margin-bottom: 4px;
    color: #ed3e4d;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.admin-list-panel__heading h2 {
    margin: 0;
    color: #243d58;
    font-size: 1.18rem;
    font-weight: 800;
}

.admin-search {
    display: flex;
    align-items: center;
    gap: 0;
}

.admin-search svg {
    width: 18px;
    height: 18px;
    margin-right: -29px;
    z-index: 1;
    fill: none;
    stroke: #788697;
    stroke-width: 1.8;
}

.admin-search input {
    width: min(310px, 34vw);
    height: 40px;
    padding: 8px 12px 8px 38px;
    border: 1px solid #ccd5df;
    border-radius: 5px 0 0 5px;
    outline: 0;
    font-size: .8rem;
}

.admin-search input:focus {
    border-color: #4f7ca6;
    box-shadow: 0 0 0 3px rgba(79, 124, 166, .1);
}

.admin-search button,
.admin-search a {
    display: inline-flex;
    height: 40px;
    align-items: center;
    padding: 0 14px;
    border: 0;
    color: #fff;
    background: #234f7a;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-search a {
    margin-left: 7px;
    border: 1px solid #d4dbe3;
    border-radius: 5px;
    color: #596879;
    background: #fff;
}

.admin-customer-table thead th,
.admin-note-table thead th {
    padding: 12px 15px;
    border-bottom: 1px solid #dce2e8;
    color: #778493;
    background: #f7f8fa;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-customer-table tbody td,
.admin-note-table tbody td {
    padding: 14px 15px;
    border-color: #e8ebef;
    color: #3f4d5d;
    font-size: .8rem;
}

.admin-customer-table tbody tr:hover td,
.admin-note-table tbody tr:hover td {
    background: #fbfcfd;
}

.admin-customer-name {
    color: #214f79;
    font-weight: 800;
    text-decoration: none;
}

.admin-customer-name:hover {
    color: #ed3e4d;
}

.admin-code {
    padding: 5px 8px;
    border-radius: 4px;
    color: #38536f;
    background: #eef3f7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .73rem;
    font-weight: 750;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #526276;
    font-size: .7rem;
    font-weight: 800;
}

.admin-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b97a5;
    content: "";
}

.admin-status.is-active {
    color: #26744c;
}

.admin-status.is-active::before {
    background: #25a365;
}

.admin-status.is-disabled,
.admin-status.is-error {
    color: #b52f3c;
}

.admin-status.is-disabled::before,
.admin-status.is-error::before {
    background: #dc3d4c;
}

.admin-status.is-pending::before {
    background: #e5a21b;
}

.admin-row-action,
.admin-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #234f7a;
    font-size: .74rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.admin-row-action:hover,
.admin-download:hover {
    color: #ed3e4d;
}

.admin-row-action svg,
.admin-download svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.admin-empty {
    padding: 34px;
    color: #768394;
    text-align: center;
}

.admin-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #e4e8ed;
    font-size: .75rem;
}

.admin-pagination a,
.admin-pagination span {
    color: #546477;
    text-decoration: none;
}

.admin-pagination a:last-child,
.admin-pagination span:last-child {
    text-align: right;
}

.admin-pagination strong {
    color: #234f7a;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #234f7a;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-back-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.admin-customer-hero__metrics {
    display: flex;
    gap: 10px;
}

.admin-customer-hero__metrics article {
    min-width: 90px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
    background: rgba(255, 255, 255, .08);
}

.admin-customer-hero__metrics strong,
.admin-customer-hero__metrics span {
    display: block;
}

.admin-customer-hero__metrics strong {
    font-size: 1.35rem;
}

.admin-customer-hero__metrics span {
    color: rgba(255, 255, 255, .68);
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-account-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 15px 18px;
    border: 1px solid #dfe4ea;
    background: #fff;
}

.admin-account-strip > span {
    flex: 0 0 auto;
    color: #718093;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-account-strip > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-account-chip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 4px;
    color: #3f5368;
    background: #eef3f7;
    font-size: .7rem;
}

.admin-account-chip small {
    color: #718093;
}

.admin-note-number {
    color: #234f7a;
    font-size: .93rem;
}

.admin-note-year {
    color: #788697;
    font-size: .72rem;
}

.admin-articles {
    display: flex;
    max-width: 350px;
    flex-wrap: wrap;
    gap: 5px;
}

.admin-articles span {
    padding: 3px 6px;
    border-radius: 3px;
    color: #38536f;
    background: #eef3f7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .66rem;
}

.admin-articles small {
    align-self: center;
    color: #788697;
    font-size: .67rem;
}

@media (max-width: 1199.98px) {
    .admin-shell {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 18px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        min-height: 0;
    }

    .admin-sidebar__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar__logout {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .admin-page-header,
    .admin-customer-hero,
    .admin-list-panel__heading,
    .admin-account-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-search {
        flex-wrap: wrap;
    }

    .admin-search input {
        width: calc(100% - 72px);
    }

    .admin-search a {
        margin-top: 7px;
        margin-left: 0;
    }

    .admin-customer-hero__metrics {
        width: 100%;
    }

    .admin-customer-hero__metrics article {
        flex: 1;
    }
}

/* Premium recent delivery notes accordion */
.admin-recent-notes-card {
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-top: 4px solid #1e5aa8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 47, 82, .07);
    transition: box-shadow .25s ease, transform .25s ease;
}

.admin-recent-notes-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(18, 47, 82, .11);
}

.admin-recent-notes-card .admin-recent-notes__heading {
    display: flex;
    width: 100%;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.admin-recent-notes__heading:focus-visible {
    outline: 3px solid rgba(30, 90, 168, .22);
    outline-offset: -3px;
}

.admin-recent-notes__heading-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 17px;
}

.admin-recent-notes__icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 14px;
    color: #1e5aa8;
    background: #eef5fc;
}

.admin-recent-notes__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-recent-notes__copy {
    min-width: 0;
}

.admin-recent-notes__copy strong,
.admin-recent-notes__copy small {
    display: block;
}

.admin-recent-notes__copy strong {
    color: #18365d;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.25;
}

.admin-recent-notes__copy small {
    margin-top: 5px;
    color: #718096;
    font-size: .78rem;
    line-height: 1.4;
}

.admin-recent-notes__chevron {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid #dce5ef;
    border-radius: 50%;
    color: #63758b;
    background: #fff;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
}

.admin-recent-notes__chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.admin-recent-notes__heading:hover .admin-recent-notes__chevron {
    color: #1e5aa8;
    border-color: #bed0e6;
    background: #f4f8fd;
}

.admin-recent-notes-card.is-open .admin-recent-notes__chevron {
    color: #1e5aa8;
    transform: rotate(90deg);
}

.admin-recent-notes__panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, transform .28s cubic-bezier(.4, 0, .2, 1);
}

.admin-recent-notes-card.is-open .admin-recent-notes__panel {
    opacity: 1;
    transform: translateY(0);
}

.admin-recent-notes__panel-inner {
    border-top: 1px solid #edf1f5;
}

.admin-recent-notes__table {
    min-width: 720px;
}

.admin-recent-notes__table thead th {
    padding: 13px 24px;
    border-bottom: 1px solid #edf1f5;
    color: #758399;
    background: #fbfcfe;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-recent-notes__table tbody td {
    padding: 14px 24px;
    border-bottom: 1px solid #eff2f6;
    color: #526174;
    background: #fff;
    font-size: .78rem;
    transition: background .15s ease;
}

.admin-recent-notes__table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-recent-notes__table tbody tr:hover td {
    background: #f8fafc;
}

.admin-recent-notes__status {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    color: #247346;
    background: #eaf7ef;
    font-size: .68rem;
    font-weight: 800;
}

.admin-recent-notes__open {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1e5aa8;
    font-weight: 800;
    text-decoration: none;
}

.admin-recent-notes__open svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .15s ease;
}

.admin-recent-notes__open:hover {
    color: #143f79;
}

.admin-recent-notes__open:hover svg {
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .admin-recent-notes-card .admin-recent-notes__heading {
        min-height: 92px;
        gap: 12px;
        padding: 18px;
    }

    .admin-recent-notes__heading-main {
        align-items: flex-start;
    }

    .admin-recent-notes__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 12px;
    }

    .admin-recent-notes__icon svg {
        width: 23px;
        height: 23px;
    }

    .admin-recent-notes__copy strong {
        font-size: .94rem;
    }

    .admin-recent-notes__copy small {
        font-size: .72rem;
    }

    .admin-recent-notes__chevron {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}

@media (max-width: 575.98px) {
    .admin-stat-grid,
    .admin-sidebar__nav {
        grid-template-columns: 1fr;
    }

    .admin-page-header,
    .admin-customer-hero {
        padding: 22px 20px;
    }

    .admin-pagination {
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
    }

    .admin-pagination strong {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }
}

/* Customer profile */
.profile-navigation {
    margin-bottom: 14px;
}

.profile-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #d8e0e8;
    border-radius: 5px;
    color: #234f7a;
    background: #fff;
    box-shadow: 0 4px 12px rgba(28, 39, 53, .045);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.profile-navigation a:hover {
    border-color: #b9c7d5;
    color: #173f68;
    background: #f7f9fb;
    transform: translateX(-2px);
}

.profile-navigation svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.profile-hero__account {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
}

.profile-hero__avatar {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.profile-hero__account strong,
.profile-hero__account small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-hero__account strong {
    font-size: .92rem;
}

.profile-hero__account small {
    max-width: 240px;
    margin-top: 4px;
    color: rgba(255, 255, 255, .7);
    font-size: .72rem;
    white-space: nowrap;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 24px;
    align-items: start;
}

.profile-panel {
    overflow: hidden;
    border: 1px solid #e0e5ec;
    background: #fff;
    box-shadow: 0 10px 30px rgba(28, 39, 53, .065);
}

.profile-panel__header {
    display: flex;
    gap: 15px;
    padding: 23px 24px;
    border-bottom: 1px solid #e5e9ef;
    background: #fafbfc;
}

.profile-panel__icon {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 3px;
    color: #293b8f;
    background: #eef1fb;
}

.profile-panel__icon svg,
.profile-form__actions svg,
.profile-locked-notice svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.profile-panel__header > div > span {
    color: #293b8f;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.profile-panel__header h2 {
    margin: 3px 0 0;
    color: #2d394a;
    font-size: 1.08rem;
}

.profile-panel__header p {
    margin: 6px 0 0;
    color: #7d8794;
    font-size: .76rem;
    line-height: 1.5;
}

.profile-panel__body {
    padding: 25px 24px;
}

.profile-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profile-form label {
    display: block;
    margin-bottom: 7px;
    color: #4d5a6b;
    font-size: .75rem;
    font-weight: 800;
}

.profile-form input {
    min-height: 48px;
    border-color: #ccd4df;
    border-radius: 2px;
    color: #2e3a4b;
    background: #fafbfc;
}

.profile-form input:focus {
    border-color: #293b8f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 59, 143, .1);
}

.profile-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8ebf0;
}

.profile-form__actions button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 17px;
    border: 1px solid #293b8f;
    border-radius: 2px;
    color: #fff;
    background: #293b8f;
    font-size: .78rem;
    font-weight: 800;
}

.profile-form__actions button:hover {
    background: #1e2e78;
}

.profile-form__actions svg {
    width: 18px;
    height: 18px;
}

.profile-readonly-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border: 1px solid #e2e7ed;
}

.profile-readonly-data > div {
    min-width: 0;
    padding: 14px 15px;
    border-right: 1px solid #e6eaf0;
    border-bottom: 1px solid #e6eaf0;
    background: #fafbfc;
}

.profile-readonly-data > div:nth-child(2n) {
    border-right: 0;
}

.profile-readonly-data > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.profile-readonly-data dt {
    margin-bottom: 4px;
    color: #8a94a1;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-readonly-data dd {
    margin: 0;
    overflow: hidden;
    color: #3d4a5b;
    font-size: .77rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
}

.profile-locked-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 12px 13px;
    border-left: 3px solid #293b8f;
    color: #657181;
    background: #f1f4fb;
    font-size: .72rem;
    line-height: 1.5;
}

.profile-locked-notice svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #293b8f;
}

.profile-locked-notice a {
    color: #293b8f;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .profile-form__grid,
    .profile-readonly-data {
        grid-template-columns: 1fr;
    }

    .profile-readonly-data > div,
    .profile-readonly-data > div:nth-child(2n),
    .profile-readonly-data > div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e6eaf0;
    }

    .profile-readonly-data > div:last-child {
        border-bottom: 0;
    }

    .profile-form__actions button {
        width: 100%;
        justify-content: center;
    }
}

/* Customer header menu */
.customer-user-menu {
    position: relative;
    z-index: 1050;
}

.customer-user-menu__trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 7px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.customer-user-menu__trigger:hover,
.customer-user-menu__trigger:focus-visible,
.customer-user-menu:focus-within .customer-user-menu__trigger {
    background: rgba(255, 255, 255, .11);
    outline: 0;
}

.customer-user-menu__avatar {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.customer-user-menu__name {
    max-width: 220px;
    overflow: hidden;
    font-size: .84rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-user-menu__trigger > svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .15s;
}

.customer-user-menu:hover .customer-user-menu__trigger > svg,
.customer-user-menu:focus-within .customer-user-menu__trigger > svg {
    transform: rotate(180deg);
}

.customer-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: block;
    width: 205px;
    padding: 7px;
    border: 1px solid #dfe4eb;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 15px 36px rgba(20, 30, 43, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .15s, visibility .15s, transform .15s;
    pointer-events: none;
}

.customer-user-menu__dropdown::before {
    position: absolute;
    top: -10px;
    right: 0;
    width: 100%;
    height: 10px;
    content: '';
}

.customer-user-menu:hover .customer-user-menu__dropdown,
.customer-user-menu:focus-within .customer-user-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.customer-user-menu__dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 2px;
    color: #435063;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.customer-user-menu__dropdown a:hover,
.customer-user-menu__dropdown a:focus-visible {
    color: #293b8f;
    background: #eef1fb;
    outline: 0;
}

.customer-user-menu__dropdown a + a {
    margin-top: 3px;
    border-top: 1px solid #e8ebf0;
}

.customer-user-menu__dropdown .customer-user-menu__logout:hover,
.customer-user-menu__dropdown .customer-user-menu__logout:focus-visible {
    color: #bd2d3c;
    background: #fff0f2;
}

.customer-user-menu__dropdown svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* Conformity documents */
.conformity-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    gap: 38px;
    align-items: center;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(28px, 4vw, 46px);
    color: #fff;
    background: linear-gradient(125deg, #182b70 0%, #293b8f 56%, #354ca9 100%);
    box-shadow: 0 18px 44px rgba(25, 40, 93, .18);
}

.conformity-hero::after {
    position: absolute;
    right: -90px;
    bottom: -135px;
    width: 310px;
    height: 310px;
    border: 48px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    content: '';
}

.conformity-hero > * {
    position: relative;
    z-index: 1;
}

.conformity-hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #cbd4ff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.conformity-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -.045em;
}

.conformity-hero p {
    max-width: 680px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: .96rem;
    line-height: 1.65;
}

.conformity-hero__company {
    padding: 19px 21px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: 3px solid #ef3b4b;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
}

.conformity-hero__company span,
.conformity-hero__company strong,
.conformity-hero__company small {
    display: block;
}

.conformity-hero__company span {
    margin-bottom: 5px;
    color: #cbd4ff;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.conformity-hero__company strong {
    font-size: .95rem;
    line-height: 1.35;
}

.conformity-hero__company small {
    margin-top: 7px;
    color: rgba(255, 255, 255, .7);
    font-size: .72rem;
}

.conformity-toolbar {
    display: grid;
    grid-template-columns: auto minmax(360px, 1fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 24px;
    padding: 20px 22px;
    border: 1px solid #e0e5ec;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 39, 53, .055);
}

.conformity-toolbar__summary {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 250px;
}

.conformity-toolbar__count {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef1fb;
    font-size: 1rem;
    font-weight: 800;
}

.conformity-toolbar__summary strong,
.conformity-toolbar__summary small {
    display: block;
}

.conformity-toolbar__summary strong {
    color: #334052;
    font-size: .84rem;
}

.conformity-toolbar__summary small {
    margin-top: 3px;
    color: #838c98;
    font-size: .71rem;
}

.conformity-search label {
    display: block;
    margin-bottom: 7px;
    color: #536071;
    font-size: .72rem;
    font-weight: 800;
}

.conformity-search__controls {
    display: flex;
    gap: 8px;
}

.conformity-search__field {
    position: relative;
    flex: 1;
}

.conformity-search__field svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #8a94a2;
    stroke-linecap: round;
    stroke-width: 1.7;
    transform: translateY(-50%);
}

.conformity-search input {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 41px;
    border: 1px solid #ccd4df;
    border-radius: 2px;
    outline: 0;
    background: #fafbfc;
}

.conformity-search input:focus {
    border-color: #293b8f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 59, 143, .1);
}

.conformity-search button,
.conformity-search__controls > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 2px;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.conformity-search button {
    border: 1px solid #293b8f;
    color: #fff;
    background: #293b8f;
}

.conformity-search__controls > a {
    border: 1px solid #ccd4df;
    color: #657181;
    background: #fff;
}

.conformity-list {
    overflow: hidden;
    border: 1px solid #e0e5ec;
    background: #fff;
    box-shadow: 0 10px 30px rgba(28, 39, 53, .065);
}

.conformity-list__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border-bottom: 1px solid #e5e9ef;
}

.conformity-list__header span:first-child {
    color: #293b8f;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.conformity-list__header h2 {
    margin: 3px 0 0;
    color: #273344;
    font-size: 1.15rem;
}

.conformity-list__secure {
    color: #7d8794;
    font-size: .72rem;
}

.conformity-list__secure::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #268a61;
    content: '';
}

.conformity-table thead th {
    padding: 12px 24px;
    border-bottom: 1px solid #dfe5ec;
    color: #788391;
    background: #f7f9fb;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.conformity-table tbody td {
    padding: 16px 24px;
    border-color: #e8ebf0;
    color: #546171;
    font-size: .83rem;
}

.conformity-table tbody tr:hover td {
    background: #fafbfe;
}

.conformity-document {
    display: flex;
    min-width: 260px;
    align-items: center;
    gap: 12px;
}

.conformity-document__icon {
    display: grid;
    flex: 0 0 41px;
    width: 41px;
    height: 41px;
    place-items: center;
    border-radius: 3px;
    color: #293b8f;
    background: #eef1fb;
}

.conformity-document__icon svg,
.conformity-empty svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.conformity-document strong,
.conformity-document small {
    display: block;
}

.conformity-document strong {
    color: #334052;
    font-size: .82rem;
}

.conformity-document small {
    margin-top: 2px;
    color: #929aa5;
    font-size: .68rem;
}

.conformity-note-number {
    color: #293b8f;
    font-size: .92rem;
}

.conformity-note-year {
    color: #8b95a1;
}

.conformity-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #ccd4df;
    border-radius: 2px;
    color: #293b8f;
    background: #fff;
    font-size: .73rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background .15s;
}

.conformity-download:hover {
    border-color: #293b8f;
    color: #fff;
    background: #293b8f;
}

.conformity-download svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.conformity-empty {
    padding: 54px 24px;
    text-align: center;
}

.conformity-empty > span {
    display: grid;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    place-items: center;
    border-radius: 50%;
    color: #293b8f;
    background: #eef1fb;
}

.conformity-empty strong {
    display: block;
    color: #334052;
}

.conformity-empty p {
    margin: 5px 0 0;
    color: #7d8794;
    font-size: .8rem;
}

.conformity-empty a {
    display: inline-block;
    margin-top: 13px;
    color: #293b8f;
    font-size: .78rem;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .conformity-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .conformity-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .customer-user-menu__name {
        max-width: 115px;
    }

    .conformity-hero {
        margin-inline: -12px;
        padding: 28px 22px;
    }

    .conformity-toolbar {
        padding: 18px;
    }

    .conformity-search__controls {
        flex-wrap: wrap;
    }

    .conformity-search__field {
        flex-basis: 100%;
    }

    .conformity-list__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Admin portal */
body.admin-portal {
    min-height: 100vh;
    overflow: hidden;
    background: #f5f7fb;
}

.admin-portal__shell {
    height: 100vh;
    overflow: hidden;
}

.admin-portal__header {
    position: relative;
    z-index: 2;
    display: flex;
    height: 78px;
    align-items: center;
    padding: 0 30px;
    border-bottom: 1px solid #e5e9f1;
    background: #fff;
}

.admin-portal__brand {
    display: inline-flex;
    align-items: center;
}

.admin-portal__brand img {
    display: block;
    width: 190px;
    height: auto;
}

.admin-portal__body {
    display: grid;
    height: calc(100vh - 78px);
    min-height: 0;
    grid-template-columns: 220px minmax(0, 1fr);
}

.admin-portal__sidebar {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    padding: 46px 17px 26px;
    border-right: 1px solid #e5e9f1;
    background: #fff;
}

.admin-portal__nav {
    display: grid;
    gap: 10px;
}

.admin-portal__nav a {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    border-radius: 7px;
    color: #4d5a6f;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color .15s, background .15s;
}

.admin-portal__nav a:hover {
    color: #293b8f;
    background: #f4f6fb;
}

.admin-portal__nav a.is-active {
    color: #293b8f;
    background: #eef1fb;
    box-shadow: inset 3px 0 #293b8f;
}

.admin-portal__nav svg,
.admin-portal__logout svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.admin-portal__sidebar-footer {
    margin-top: auto;
    overflow: hidden;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    background: #fff;
}

.admin-portal__user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    padding: 15px;
}

.admin-portal__avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #293b8f;
    font-size: .72rem;
    font-weight: 800;
}

.admin-portal__user > span:last-child {
    min-width: 0;
}

.admin-portal__user strong,
.admin-portal__user small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-portal__user strong {
    color: #182842;
    font-size: .76rem;
}

.admin-portal__user small {
    margin-top: 2px;
    color: #8490a2;
    font-size: .67rem;
}

.admin-portal__logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-top: 1px solid #e8ebf1;
    color: #d51f32;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-portal__logout:hover {
    color: #a81425;
    background: #fff7f8;
}

.admin-portal__main {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 22px 26px 38px;
    scrollbar-gutter: stable;
}

.admin-portal__main > .admin-stat-grid:first-child {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .admin-portal__body {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .admin-portal__sidebar {
        padding-inline: 12px;
    }

    .admin-portal__nav a {
        padding-inline: 12px;
        font-size: .76rem;
    }

    .admin-portal__main {
        padding-inline: 18px;
    }
}

@media (max-width: 767.98px) {
    body.admin-portal {
        overflow: auto;
    }

    .admin-portal__shell,
    .admin-portal__body {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .admin-portal__header {
        height: 70px;
        padding-inline: 18px;
    }

    .admin-portal__brand img {
        width: 165px;
    }

    .admin-portal__body {
        display: block;
    }

    .admin-portal__sidebar {
        height: auto;
        padding: 14px 14px 0;
        border-right: 0;
        border-bottom: 1px solid #e5e9f1;
    }

    .admin-portal__nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .admin-portal__nav a {
        min-height: 46px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-portal__sidebar-footer {
        display: none;
    }

    .admin-portal__main {
        overflow: visible;
        padding: 18px 14px 32px;
    }
}

/* Live password requirements */
.password-feedback {
    margin: 15px 0 18px;
    padding: 14px 16px;
    border: 1px solid #dfe5ee;
    border-radius: 7px;
    background: #f8faff;
}

.password-feedback[hidden] {
    display: none;
}

.password-feedback__title {
    display: block;
    margin-bottom: 10px;
    color: #182842;
    font-size: .82rem;
}

.password-feedback__rules {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    list-style: none;
}

.password-feedback__rules li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7b8798;
    font-size: .75rem;
    font-weight: 650;
    line-height: 1.35;
    transition: color .15s;
}

.password-feedback__rules li > span {
    position: relative;
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border: 1px solid #b8c1ce;
    border-radius: 50%;
    background: #fff;
}

.password-feedback__rules li > span::after {
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
    content: '';
}

.password-feedback__rules li[data-state="valid"] {
    color: #20834a;
}

.password-feedback__rules li[data-state="valid"] > span {
    border-color: #2a9b5b;
    background: #2a9b5b;
}

.password-feedback__rules li[data-state="valid"] > span::after {
    content: '✓';
}

.password-feedback__rules li[data-state="invalid"] {
    color: #c62c3d;
}

.password-feedback__rules li[data-state="invalid"] > span {
    border-color: #d84252;
    background: #d84252;
}

.password-feedback__rules li[data-state="invalid"] > span::after {
    content: '×';
}

.reset-password-form .password-feedback__rules {
    grid-template-columns: 1fr;
}

.registration-form .password-feedback__title {
    font-size: .92rem;
}

.registration-form .password-feedback__rules li {
    font-size: .85rem;
}

/* Portal viewport containment */
body.customer-portal,
body.admin-portal {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.customer-portal__shell,
.admin-portal__shell {
    width: 100%;
    max-width: 100%;
}

.customer-portal__body,
.admin-portal__body,
.customer-portal__main,
.admin-portal__main {
    min-width: 0;
}

.customer-portal__main > *,
.admin-portal__main > * {
    min-width: 0;
    max-width: 100%;
}

.customer-portal .table-responsive,
.admin-portal .table-responsive {
    max-width: 100%;
}

/* Latest delivery notes */
.admin-recent-notes-card {
    margin-bottom: 20px;
    padding: 17px 19px;
    overflow: hidden;
    border: 1px solid #e0e5ec;
    border-top: 3px solid #3f75a6;
    background: #fff;
    box-shadow: 0 7px 20px rgba(28, 39, 53, .045);
}

.admin-recent-notes-card .admin-recent-notes__heading {
    min-height: 40px;
    padding: 0;
}

.admin-recent-notes {
    display: block;
    background-color: #fff;
}

.admin-recent-notes__heading {
    display: flex;
    min-height: 76px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 19px;
    cursor: pointer;
    list-style: none;
}

.admin-recent-notes__heading::-webkit-details-marker {
    display: none;
}

.admin-recent-notes__action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid #ccd7eb;
    border-radius: 5px;
    color: #173b91;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
}

.admin-recent-notes__action::before {
    content: '⌄ Visualizza';
}

.admin-recent-notes__heading:hover .admin-recent-notes__action {
    color: #0e57b7;
    border-color: #9eb4da;
    background: #f6f8fd;
}

.admin-recent-notes[open] .admin-recent-notes__action::before {
    content: '⌃ Chiudi';
}

.admin-recent-notes__eyebrow,
.admin-recent-notes__title {
    display: block;
}

.admin-recent-notes__eyebrow {
    color: #728093;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.admin-recent-notes__title {
    margin-top: 5px;
    color: #193e63;
    font-size: 1.05rem;
}

.admin-recent-notes .table-responsive {
    width: calc(100% + 38px);
    margin: 17px -19px -17px;
    border-top: 1px solid #e3e7ec;
}

.admin-recent-notes__table {
    min-width: 760px;
}

.admin-recent-notes__table td > a:first-child {
    display: block;
    color: #183a89;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .customer-portal__sidebar-footer,
    .admin-portal__sidebar-footer {
        width: 100%;
        max-width: 100%;
    }

    .admin-portal__sidebar-footer {
        display: flex;
        margin: 0 0 14px;
        align-items: stretch;
        justify-content: space-between;
        border: 0;
        border-top: 1px solid #e3e8f0;
        border-radius: 0;
    }

    .admin-portal__user {
        flex: 1 1 auto;
        padding: 11px 12px;
    }

    .admin-portal__logout {
        min-height: 46px;
        flex: 0 0 auto;
        padding: 11px 13px;
        border-top: 0;
        border-left: 1px solid #e8ebf1;
    }

    .admin-recent-notes__heading {
        align-items: center;
        gap: 12px;
        padding: 15px 16px;
    }

    .admin-recent-notes__action {
        min-height: 28px;
        padding: 5px 7px;
        font-size: .72rem;
    }
}

/* Keep the accordion rules after legacy admin overrides. */
.admin-recent-notes-card {
    padding: 0;
    border: 1px solid #e5eaf1;
    border-top: 4px solid #1e5aa8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 47, 82, .07);
}

.admin-recent-notes-card .admin-recent-notes__heading {
    min-height: 94px;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
}

.admin-recent-notes__table {
    min-width: 720px;
}

@media (max-width: 767.98px) {
    .admin-recent-notes-card .admin-recent-notes__heading {
        min-height: 92px;
        gap: 12px;
        padding: 18px;
    }
}
/* Customer language selector */
.customer-language-switcher {
    position: fixed;
    z-index: 2100;
    top: 20px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 18px rgba(28, 39, 53, .08);
    line-height: 1;
    backdrop-filter: blur(8px);
}

.customer-language-switcher a {
    display: inline-flex;
    width: 36px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    opacity: .55;
    text-decoration: none;
    transition: opacity .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.customer-language-switcher a:hover,
.customer-language-switcher a.is-active {
    background: #edf2fb;
    opacity: 1;
}

.customer-language-switcher a:hover {
    transform: translateY(-1px);
}

.customer-language-switcher__flag {
    display: block;
    width: 25px;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.public-header__actions,
.registration-login-link,
.forgot-password-back {
    margin-right: 96px;
}

@media (max-width: 700px) {
    .customer-language-switcher {
        top: 14px;
        right: 10px;
    }

    .customer-language-switcher a {
        width: 31px;
        height: 27px;
    }

    .customer-language-switcher__flag {
        width: 23px;
    }

    .public-header__actions,
    .registration-login-link,
    .forgot-password-back {
        margin-right: 86px;
    }
}
