.c11-account-menu {
    position: relative;
    min-width: 0;
    z-index: 30;
}
.c11-account-menu summary {
    box-sizing: border-box;
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #8a182d;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
    list-style: none;
}
.c11-account-menu summary::-webkit-details-marker { display: none; }
.c11-account-menu summary::after {
    content: "";
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    transform: rotate(45deg);
    margin-top: -4px;
}
.c11-account-menu[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.c11-account-menu summary span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.c11-account-options {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 6px);
    min-width: 190px;
    width: max-content;
    max-width: min(260px, 80vw);
    padding: 6px;
    background: white;
    border: 1px solid #e9d5d0;
    border-radius: 9px;
    box-shadow: 0 8px 22px #3a102a25;
}
.site-header nav .c11-account-options a,
.market-utility .c11-account-options a,
.c11-account-options button {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #55152a;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: start;
}
.c11-account-options a:hover,
.c11-account-options button:hover { background: #f6e9ee; }
.c11-account-options button { cursor: pointer; }
.c11-account-options form { margin: 0; }
.c11-account-menu :is(a,button,summary):focus-visible {
    outline: 2px solid #a43a59;
    outline-offset: 2px;
}
.site-header nav > .c11-account-menu { grid-column: 6; grid-row: 1; }
.site-header nav > .c11-account-menu summary { height: 100%; padding: 2px 4px; gap: 4px; font-size: 12px; }
.site-header nav > .c11-account-menu summary span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
    white-space: normal;
}
.market-utility .c11-account-menu summary { min-height: 28px; font-size: 12px; }
.c11-login-help { margin-top: 14px; }
.c11-login-help a { text-decoration: underline; }
@media (max-width: 650px) {
    .site-header nav > .c11-account-menu { grid-column: 2; grid-row: 1; }
    .site-header nav > .c11-account-menu summary { min-height: 38px; font-size: 11px; }
    .site-header nav .c11-account-options { inset-inline: 0 auto; }
}

/* Account card at the top of the workspace sidebar. */
.workspace-shell .sidebar-intro {
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 15px 14px 16px;
    border: 1px solid #8d4056;
    border-inline-start: 3px solid #dfbd7b;
    border-radius: 12px;
    background: radial-gradient(ellipse at top right, #83374d 0%, transparent 65%),
                linear-gradient(145deg, #631a33, #4b1027);
    box-shadow: 0 4px 12px #5015271c;
    color: #fff;
}
.workspace-shell .sidebar-intro small {
    color: #f4d89e;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .13em;
}
.workspace-shell .sidebar-intro strong {
    margin: 7px 0 9px;
    color: #fff;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.workspace-shell .sidebar-intro span {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid #f2d39366;
    border-radius: 6px;
    background: #f2d3931a;
    color: #ffedc7;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
