body:has(.im-account) {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    background: radial-gradient(ellipse at 12% 0%, #e2e5fe 0%, transparent 49%),
                radial-gradient(ellipse at 94% 100%, #e1edf7 0%, transparent 43%), #f5f7fc;
}

.im-account {
    width: min(100% - 2rem, 26rem);
    margin: 1.5rem auto;
    box-sizing: border-box;
    padding: clamp(1.375rem, 5vw, 2.5rem);
    border: 1px solid #e1e6f2;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 16px 55px #20306412;
    color: #18233c;
}

.account-heading { margin-bottom: 1.5rem; }
.account-mark {
    display: grid;
    place-items: center;
    width: 2.875rem;
    height: 2.875rem;
    margin-bottom: .875rem;
    border-radius: .875rem;
    background: #4239c6;
    color: #fff;
    font-size: 1.25rem;
}
.account-product { color: #59657e; font-size: .8125rem; font-weight: 650; }
.im-account h1 { margin: .375rem 0 0; font-size: 1.625rem; }
.im-account form { display: grid; gap: 1rem; }
.account-field { display: grid; gap: .375rem; min-width: 0; }
.account-field label { font-size: .875rem; font-weight: 600; }
.im-account .e-input-group { min-height: 2.75rem; margin: 0; border-radius: .5rem; }
.im-account .e-input-group input { font-size: .9375rem; }

.im-account-actions {
    display: grid;
    justify-items: center;
    gap: .875rem;
    margin-top: .25rem;
}

.im-account .e-btn.account-submit {
    width: 100%;
    min-height: 2.75rem;
    border: 0;
    border-radius: .625rem;
    background: #4239c6;
    color: #fff;
    font-size: .875rem;
    font-weight: 650;
}
.im-account .e-btn.account-submit:hover { background: #352bad; }

.im-account a { color: #4239c6; font-size: .875rem; text-underline-offset: .2em; }
.im-account-help { margin: 0; color: #616f87; font-size: .75rem; line-height: 1.5; }
.im-account-error { margin: 0; color: #a32c3e; font-size: .875rem; }
