.as-header-user {
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:18px;
    min-width:0;
}

.as-user-profile {
    display:flex;
    align-items:center;
    gap:10px;
    color:inherit;
    text-decoration:none;
    min-width:0;
}

.as-avatar {
    position:relative;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex:0 0 44px;
    overflow:hidden;
    border-radius:50%;
    background:#e5edf6;
    color:#17395e;
    font-weight:700;
}

.topbar .as-avatar img.as-avatar-photo {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    border-radius:50%;
}

.as-user-name {
    display:flex;
    flex-direction:column;
    min-width:0;
    max-width:240px;
}

.as-user-name strong {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
}

.as-user-name small {
    font-size:11px;
    opacity:.8;
}

.as-bell-wrapper {
    position:relative;
}

.as-bell {
    position:relative;
    border:0;
    background:transparent;
    color:inherit;
    cursor:pointer;
    padding:8px;
}

#as-alert-count {
    position:absolute;
    top:0;
    right:0;
    background:#c62828;
    color:white;
    border-radius:20px;
    min-width:19px;
    padding:3px 5px;
    font-size:11px;
    font-weight:bold;
}

#as-alert-panel {
    position:absolute;
    top:52px;
    right:0;
    width:min(380px,90vw);
    background:white;
    color:#17395e;
    border:1px solid #dce3eb;
    border-radius:10px;
    box-shadow:0 12px 35px #0003;
    z-index:10050;
    overflow:hidden;
}

.as-alert-heading {
    padding:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    border-bottom:1px solid #dce3eb;
}

#as-alert-read {
    font-size:11px;
    cursor:pointer;
}

#as-alert-list {
    max-height:420px;
    overflow:auto;
}

.as-alert-item {
    display:block;
    padding:12px 16px;
    border-bottom:1px solid #edf0f4;
    text-decoration:none;
    color:#17395e;
    overflow-wrap:anywhere;
}

.as-alert-item.as-unseen {
    background:#edf5ff;
    border-left:4px solid #2465a4;
}

.as-alert-item strong,
.as-alert-item small {
    display:block;
}

.as-alert-item small {
    color:#64748b;
    margin-top:5px;
}

.as-alert-footer {
    display:block;
    padding:14px;
    text-align:center;
    color:#17395e;
}

#as-alert-toasts {
    position:fixed;
    right:20px;
    top:85px;
    width:min(340px,90vw);
    z-index:10060;
}

.as-toast {
    display:block;
    background:white;
    color:#17395e;
    border-left:5px solid #2465a4;
    padding:16px;
    margin-bottom:10px;
    border-radius:8px;
    box-shadow:0 5px 25px #0003;
    text-decoration:none;
    overflow-wrap:anywhere;
}

.as-toast strong,
.as-toast small {
    display:block;
    margin-bottom:5px;
}

.as-header-user [hidden] {
    display:none !important;
}

@media(max-width:700px) {
    .as-header-user {gap:6px}
    .as-user-name {display:none}
    .as-avatar {
        width:36px;
        height:36px;
        flex-basis:36px;
    }
    #as-alert-panel {
        position:fixed;
        top:75px;
        right:8px;
    }
}

/* AIRSPEED TYPOGRAPHY 48.23.2 */

/* Tipografia natural do cabecalho */

.topbar .as-header-user,
.topbar .as-header-user * {
    font-family: "Segoe UI", Arial, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    font-stretch: normal !important;
    font-style: normal !important;
}

.topbar .as-header-user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin-left: auto;
    padding: 0 8px;
}

.topbar .as-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.topbar .as-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
}

.topbar .as-user-name {
    display: flex;
    flex-direction: column;
    max-width: none;
    gap: 4px;
    text-align: left;
    line-height: 1.35;
}

.topbar .as-user-name strong {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #142e50;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
}

.topbar .as-user-name small {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #64748b;
    line-height: 1.3;
    opacity: 1;
}

.topbar .as-bell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #142e50;
}

.topbar .as-bell:hover {
    background: #edf3f9;
}

#as-alert-panel,
#as-alert-panel *,
#as-alert-toasts,
#as-alert-toasts * {
    font-family: "Segoe UI", Arial, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    font-stretch: normal !important;
}

@media (max-width: 1024px) {
    .topbar .as-header-user {
        gap: 12px;
    }

    .topbar .as-user-name {
        max-width: 220px;
    }
}

@media (max-width: 700px) {
    .topbar .as-header-user {
        gap: 8px;
        padding: 0;
    }

    .topbar .as-user-name {
        display: none;
    }

    .topbar .as-avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}
