.account-page { background: var(--hera-bg); }
.account-page [hidden] { display: none !important; }
.account-intro, .account-registration { max-width: 1120px; margin-inline: auto; }
.account-views { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 1rem 0; border-bottom: 1px solid var(--hera-line); }
.account-views a { padding: .7rem 0; color: var(--hera-ink); border-bottom: 3px solid transparent; text-decoration: none; }
.account-views a[aria-current] { color: var(--hera-text-red); border-bottom-color: var(--hera-red); font-weight: 700; }
.account-notice { padding: 1rem; margin-bottom: 2rem; background: #fff; border-left: 3px solid var(--hera-grey); font-size: .9rem; }
.account-login { max-width: 980px; }
.account-box { border: 1px solid var(--hera-line); background: #fff; }
.account-page fieldset, .account-page [class*="col-"] { min-width: 0; }
.account-page .form-label { font-size: .85rem; font-weight: 700; margin-bottom: .3rem; }
.account-page .form-control, .account-page .form-select { border-radius: 4px; }
.account-page .form-check-input { float: none; margin-left: -1.5em; margin-right: .35em; }
.account-legend { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.account-side { background: var(--hera-ink); color: #fff; }
.account-side p { color: #d2d2cf; }
.account-side li { display: flex; gap: .8rem; padding: .6rem 0; font-size: .95rem; }
.account-side li .icon { color: var(--hera-red); width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin-top: .2rem; }
.account-side .btn { color: var(--hera-text-red); }
.account-password { position: relative; }
.account-password .form-control { padding-right: 6rem; }
.account-password-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: #fff; color: var(--hera-text-red); border: 0; font-size: .8rem; padding: .2rem .3rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.account-actions .btn { max-width: 100%; white-space: normal; }
.account-login .account-actions { display: grid; }
.account-feedback:not(:empty) { padding: .75rem; margin-top: .75rem; background: var(--hera-bg); border-left: 3px solid var(--hera-grey); }
.account-page [data-account-checked] :invalid { border-color: var(--hera-text-red); }
.account-recovery { max-width: 520px; }
.account-steps { counter-reset: account-step; }
.account-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .8rem; padding: .6rem 0; font-size: .9rem; }
.account-steps li::before { counter-increment: account-step; content: counter(account-step); width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--hera-text-red); font-weight: 700; display: grid; place-items: center; }
.account-confirmation { border: 1px solid var(--hera-line); }
.account-confirmation summary { padding: .8rem; cursor: pointer; color: var(--hera-text-red); font-weight: 700; }
.account-demo-label { font-size: .85rem; border-bottom: 1px solid var(--hera-line); padding-bottom: .75rem; }
.account-confirmation-icon { display: grid; place-items: center; background: var(--hera-bg); color: var(--hera-grey); width: 48px; height: 48px; border-radius: 50%; margin-bottom: .8rem; }
.account-confirmation-icon .icon { width: 24px; height: 24px; }
.account-password-meter { display: block; width: 100%; height: .6rem; margin: .25rem 0; }
.account-page a, .account-page p, .account-page label, .account-page legend, .account-page summary, .account-page h1 { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .account-views { gap: 0 1rem; }
    .account-views a { flex-basis: calc(50% - .5rem); font-size: .9rem; }
    .account-actions { flex-direction: column; }
}
