/* Option 2: only the added row; all existing menu rules remain untouched. */
html #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link,html #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link{display:flex;align-items:center;text-decoration:none;background:#e5eee9!important;color:#376a59!important;margin:4px 0!important}
html #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link svg,html #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link .mn-more-icon{color:#376a59!important}
html[data-theme="dark"] #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link,html[data-theme="dark"] #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link{background:#3f5749!important;color:#e0efe5!important}
html[data-theme="dark"] #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link svg,html[data-theme="dark"] #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link .mn-more-icon{color:#e0efe5!important}
html #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link:focus-visible,html #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link:focus-visible{outline:2px solid currentColor!important;outline-offset:-3px}

/* Option 1: account identity above the existing action; original menu rows untouched. */
.ss-account-identity{display:flex;align-items:center;gap:10px;padding:8px;min-height:60px;box-sizing:border-box;font-family:'BB Sidebar Inter',Inter,system-ui,sans-serif;color:inherit}
.ss-account-identity[hidden],.ss-account-sep[hidden]{display:none!important}
.ss-account-initials{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#e5eee9;color:#376a59;font-size:11px;font-weight:500;line-height:16px}
.ss-account-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.ss-account-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;line-height:20px;color:inherit}
.ss-account-plan{display:block;font-size:12px;line-height:18px;color:#74695e}
.ss-account-sep{height:0;border:0;border-top:1px solid #e4dcd4;margin:6px 8px 8px}
html #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link.ss-pro-paid,html #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link.ss-pro-paid{background:transparent!important;color:inherit!important;margin:0!important}
html #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link.ss-pro-paid svg,html #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link.ss-pro-paid .mn-more-icon{color:#857769!important}
html[data-theme="dark"] .ss-account-initials{background:#3f5749;color:#e0efe5}
html[data-theme="dark"] .ss-account-plan{color:#bfb2a4}
html[data-theme="dark"] .ss-account-sep{border-color:#655e54}
html[data-theme="dark"] #settingsDropdown.bb-profile-dropdown .s-dropdown-item.ss-pro-link.ss-pro-paid svg,html[data-theme="dark"] #bb-mobile-more-sheet.mn-more-sheet .mn-more-link.ss-pro-link.ss-pro-paid .mn-more-icon{color:#bfb2a4!important}

.ss-pro-link .ss-pro-card-icon,.ss-pro-link.ss-pro-paid .ss-pro-upgrade-icon{display:none}
.ss-pro-link.ss-pro-paid .ss-pro-card-icon{display:inline}

/* Native scrollbars scoped to the account menu only. */
#settingsDropdown.bb-profile-dropdown,#bb-mobile-more-sheet .mn-more-body,#bb-mobile-more-sheet .mn-more-lang{scrollbar-width:thin;scrollbar-color:#91877d transparent}
html[data-theme="dark"] #settingsDropdown.bb-profile-dropdown,html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-body,html[data-theme="dark"] #bb-mobile-more-sheet .mn-more-lang{scrollbar-color:#a69b8e transparent}
@media (forced-colors:active){#settingsDropdown.bb-profile-dropdown,#bb-mobile-more-sheet .mn-more-body,#bb-mobile-more-sheet .mn-more-lang{scrollbar-width:auto;scrollbar-color:auto}}

/* Non-link identity text prevents iOS data detectors from creating a mail link. */
.ss-account-name > a:not([href]){color:inherit!important;text-decoration:none!important;cursor:inherit}
/* Preserve keyboard focus while avoiding Safari's retained ring after a menu tap. */
#bb-mobile-nav[data-pointer-focus] [data-mn-more-toggle]:focus-visible{outline:none}
