.compryx-account-link {
    --compryx-account-accent: #514acf;
    --compryx-account-accent-dark: #3f3d8f;
    --compryx-account-text: #1f2937;
    --compryx-account-muted: #667085;
    --compryx-account-border: #e7e7f1;
    --compryx-account-active: #087f6b;

    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 7px 11px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--compryx-account-text) !important;
    background: transparent;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.compryx-account-link:hover,
.compryx-account-link:focus-visible {
    color: var(--compryx-account-accent-dark) !important;
    background: #f7f6ff;
    border-color: var(--compryx-account-border);
    text-decoration: none !important;
}

.compryx-account-link:active {
    transform: translateY(1px);
}

.compryx-account-link__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #dedcf8;
    border-radius: 50%;
    background: #f4f3ff;
    color: var(--compryx-account-accent-dark);
    box-sizing: border-box;
}

.compryx-account-link__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.compryx-account-link__status-dot {
    position: absolute;
    right: -1px;
    bottom: 0;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #98a2b3;
    box-sizing: content-box;
}

.compryx-account-link.is-logged-in .compryx-account-link__icon {
    color: #fff;
    background: var(--compryx-account-accent-dark);
    border-color: var(--compryx-account-accent-dark);
}

.compryx-account-link.is-logged-in .compryx-account-link__status-dot {
    background: var(--compryx-account-active);
}

.compryx-account-link__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.12;
}

.compryx-account-link__copy strong {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.compryx-account-link__copy > span {
    margin-top: 3px;
    color: var(--compryx-account-muted);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.compryx-account-link.is-logged-in .compryx-account-link__copy > span {
    color: var(--compryx-account-active);
}

@media (max-width: 767px) {
    .compryx-account-link {
        gap: 7px;
        min-height: 40px;
        padding: 4px 6px;
    }

    .compryx-account-link__icon {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .compryx-account-link__copy > span {
        display: none;
    }

    .compryx-account-link__copy strong {
        font-size: 12px;
    }
}
