/* Header account menu. Loads on every page. */
.msp-acct { position: relative; }
.site-header .msp-bell { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: inherit; }
.site-header .msp-bell:hover { background: var(--wp--preset--color--surface-2, #f2f0f6); }
.site-header .msp-bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header .msp-bell b { position: absolute; top: 1px; right: 0; min-width: 16px; padding: 0 4px; border-radius: 999px; background: #c0262d; color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.site-header .msp-bell b[hidden] { display: none; }
.msp-acct summary {
	display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; cursor: pointer; list-style: none;
	border: 1px solid var(--wp--preset--color--border, #e4e1eb); font-size: 0.875rem; font-weight: 600; line-height: 1.2;
}
.msp-acct summary::-webkit-details-marker { display: none; }
.msp-acct summary:hover, .msp-acct[open] summary { background: var(--wp--preset--color--surface-2, #f2f0f6); }
.msp-acct-av {
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 0.6875rem; font-weight: 700;
	background: var(--wp--preset--color--accent, #6d28d9); color: var(--wp--preset--color--on-accent, #fff);
}
.msp-acct-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msp-acct svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.msp-acct-chev { transition: transform 0.15s; }
.msp-acct[open] .msp-acct-chev { transform: rotate(180deg); }
.msp-acct-menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 232px; padding: 6px;
	background: var(--wp--preset--color--surface, #fff); border: 1px solid var(--wp--preset--color--border, #e4e1eb);
	border-radius: 12px; box-shadow: 0 16px 40px -12px rgb(20 10 40 / 0.35);
}
.msp-acct-who { display: flex; flex-direction: column; padding: 8px 10px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--wp--preset--color--border, #e4e1eb); font-size: 0.875rem; }
.msp-acct-who span { color: var(--wp--preset--color--muted, #67637a); font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; }
.msp-acct-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 0.875rem; color: var(--wp--preset--color--contrast, #17151d); text-decoration: none; }
.msp-acct-menu a:hover { background: var(--wp--preset--color--accent-soft, #f1ebfc); text-decoration: none; }
.msp-acct-menu .msp-acct-out { margin-top: 6px; border-top: 1px solid var(--wp--preset--color--border, #e4e1eb); border-radius: 0 0 8px 8px; }
.msp-acct-login.wp-element-button { padding: 8px 14px; font-size: 0.875rem; }
@media (max-width: 600px) { .msp-acct-name { display: none; } .msp-acct summary { padding-right: 8px; } }
@media (prefers-reduced-motion: reduce) { .msp-acct-chev { transition: none; } }
.msp-webmenu summary { padding: 8px 12px; border-color: transparent; color: var(--wp--preset--color--muted, #67637a); border-radius: 8px; }
.msp-webmenu .msp-acct-menu { width: 190px; }
@media (max-width: 600px) {
	.msp-portal-page .site-header__inner, .msp-portal-page .site-header__right { flex-wrap: nowrap; }
	.msp-portal-page .site-header__right { gap: 6px; }
	.msp-webmenu summary { padding: 8px; }
	.msp-webmenu .msp-acct-chev { display: none; }
}
