.topbar .site-account-menu {
    position: relative;
    float: none;
    margin: -1px 10px -1px 0;
    z-index: 1100;
}

.topbar .site-account-menu summary {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 3px 10px;
    border: 1px solid #dfe3e9;
    border-radius: 22px;
    background: #fff;
    color: #283345;
    cursor: pointer;
    list-style: none;
    font: 600 12px/1.4 Arial,sans-serif;
    white-space: nowrap;
    transition: border-radius .18s ease, border-color .15s ease, background-color .15s ease;
}

.topbar .site-account-menu summary::-webkit-details-marker {
    display: none;
}

.topbar .site-account-menu summary::marker {
    content: '';
}

.topbar .site-account-menu summary:hover {
    border-color: #ffb295;
    background: #fff;
}

.topbar .site-account-menu[open] summary {
    border-color: #ffb295;
    border-bottom-color: transparent;
    border-radius: 13px 13px 0 0;
    background: #fff;
}

.topbar .site-account-menu summary:focus-visible,.topbar .site-account-dropdown a:focus-visible {
    outline: 2px solid #ff3900;
    outline-offset: 2px;
}

.topbar .site-account-icon {
    display: block;
    flex: none;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar .site-account-menu summary>.site-account-icon {
    color: #7d899b;
}

.topbar .site-account-menu .site-account-chevron {
    width: 12px;
    height: 12px;
    color: #4e5b6d;
    transition: transform .15s ease;
}

.topbar .site-account-menu[open] .site-account-chevron {
    transform: rotate(180deg);
}

.topbar .site-account-menu .site-account-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 6px;
    margin: 0;
    border: 1px solid #ffb295;
    border-top: 0;
    border-radius: 0 0 13px 13px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px #15243a18;
    list-style: none;
}

.topbar .site-account-menu:not([open]) .site-account-dropdown {
    display: none;
}

.topbar .site-account-dropdown>li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar .site-account-dropdown>li>a {
    box-sizing: border-box;
    display: flex;
    float: none;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 12px;
    margin: 0;
    border-radius: 6px;
    background: transparent;
    color: #344154;
    text-decoration: none;
    font: 500 12px/1.4 Arial,sans-serif;
    white-space: nowrap;
}

.topbar .site-account-dropdown>li>a:hover {
    background: #f6f8fa;
    text-decoration: none;
}

.topbar .site-account-dropdown>li:last-child {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #edf0f3;
}

.topbar .site-account-dropdown>li>a.site-account-logout {
    color: #ff3900;
    font-weight: 600;
}

.topbar .site-account-dropdown>li>a.site-account-logout:hover {
    background: #fff4ee;
}

@media(prefers-reduced-motion:reduce) {
    .topbar .site-account-menu summary,
    .topbar .site-account-chevron {
        transition: none;
    }
}

/* Unread indicators are scoped to the existing PC account menu. */

.topbar .site-account-menu [hidden] {
    display: none!important;
}

.topbar .site-account-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    min-height: 20px;
    margin-left: -2px;
}

.topbar .site-account-status .site-account-person {
    color: #7d899b;
}

.topbar .site-account-status .site-account-bell {
    color: #ff3900;
}

.topbar .site-account-icon-count {
    position: absolute;
    top: -6px;
    left: 12px;
    box-sizing: border-box;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #ff3900;
    color: #fff;
    font: 700 9px/12px Arial,sans-serif;
    text-align: center;
}

.topbar .site-account-message-count {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 19px;
    margin-left: auto;
    padding: 1px 5px;
    border-radius: 10px;
    background: #ff3900;
    color: #fff;
    font: 700 10px/16px Arial,sans-serif;
    text-align: center;
}

.topbar .site-account-notice {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
