.rs-account-link {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 0 .85rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    background: #0e61bd;
    color: #fff;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.rs-account-link:hover, .rs-account-link:focus-visible {
    background: #094e98;
    color: #fff;
}

.rs-account-link:focus-visible, .rs-account-request:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #0e61bd;
}

.rs-account-link--header-mobile {
    height: 24px;
    font-size: .875rem;
    white-space: nowrap;
}

.header .rs-account-link--header-mobile,
.header .rs-account-link--header-desktop {
    background: var(--accent-1);
    color: var(--white);
    text-transform: uppercase;
}

.rs-account-link--header-mobile:is(:hover, :focus-visible),
.rs-account-link--header-desktop:is(:hover, :focus-visible) {
    background: var(--accent-1);
    color: var(--white);
    border-color: currentColor;
}

.rs-account-link--header-desktop, .rs-account-link--footer {
    font-size: .95rem;
}

.rs-account-link--header-desktop {
    height: 28px;
}

.rs-account-link--consultation {
    min-height: 40px;
    padding-inline: 1rem;
    border: 1px solid currentColor;
    border-radius: 2rem;
    background: #fff;
    color: #0e61bd;
}

.rs-account-link--consultation-strip {
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 2rem;
    background: #fff;
    color: #0e61bd;
    font: var(--h5);
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.rs-account-link--consultation-strip .bi {
    line-height: 1;
}

.rs-consultation-strip-actions > a {
    flex-shrink: 0;
}

.rs-account-link--footer {
    border-color: rgba(255,255,255,.65);
    border-radius: 2rem;
}

.rs-account-footer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    max-width: 32rem;
    width: 100%;
}

.rs-account-footer-actions a,
.rs-account-footer-actions .h6 {
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

.rs-account-footer-actions .h6 {
    text-wrap: balance;
}

.rs-account-footer-actions a > :first-child {
    flex-shrink: 0;
}

.rs-account-request {
    align-self: flex-start;
    padding: .4rem 0;
    border: 0;
    background: none;
    color: #0e61bd;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .2em;
}

@media (min-width: 1200px) {
    .rs-account-link--header-mobile { display: none; }
}

@media (max-width: 1199.98px) {
    .rs-account-link--header-desktop { display: none; }
    .rs-account-footer-actions { margin-inline: auto; }
}
