.profile-avatar {
    --avatar-color: #3e5265;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--avatar-color);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.profile-avatar--rose { --avatar-color: #b73b6a; }
.profile-avatar--red { --avatar-color: #bd342b; }
.profile-avatar--orange { --avatar-color: #b05218; }
.profile-avatar--gold { --avatar-color: #906600; }
.profile-avatar--olive { --avatar-color: #616d16; }
.profile-avatar--green { --avatar-color: #22754b; }
.profile-avatar--teal { --avatar-color: #117279; }
.profile-avatar--sky { --avatar-color: #247193; }
.profile-avatar--blue { --avatar-color: #285fae; }
.profile-avatar--indigo { --avatar-color: #494da5; }
.profile-avatar--violet { --avatar-color: #843ea1; }
.profile-avatar--brown { --avatar-color: #805540; }

.profile-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin-block: .75rem;
}

.profile-color-picker legend {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .375rem;
}

.profile-color-picker label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: .25rem;
    border: 2px solid transparent;
    border-radius: .5rem;
    cursor: pointer;
}

.profile-color-picker label:has(input:checked) {
    border-color: #263746;
}

.profile-color-picker label:has(input:focus-visible) {
    outline: 2px solid #1264a3;
    outline-offset: 2px;
}

.profile-color-picker .profile-avatar {
    width: 1.75rem;
    height: 1.75rem;
}

.profile-learning-choice {
    min-height: 3.25rem;
}

.profile-learning-choice[aria-current="true"] {
    background: #eaf3ed;
    border-color: #8eb29b;
}

.learning-profile-bar {
    position: sticky;
    top: .5rem;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .5rem .75rem;
    background: #f6faf7;
    border: 1px solid #a9c4b3;
    border-radius: .625rem;
    box-shadow: 0 .125rem .375rem rgb(24 59 43 / 12%);
    color: #183b2b;
}

.learning-profile-name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.learning-profile-bar .btn {
    flex-shrink: 0;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
}
