/* Account navigation preserves the existing header and design tokens. */
.bdl-header-account { position: relative; flex: none; margin: 0; }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } #wpadminbar #wp-admin-bar-bdl-message-alerts > .ab-item { position: relative; box-sizing: border-box; width: 52px; padding: 0 9px; } #wpadminbar #wp-admin-bar-bdl-message-alerts .bdl-message-badge { position: absolute; right: 2px; top: 2px; min-width: 16px; padding: 1px 3px; font-size: 10px; line-height: 1.3; } }
.bdl-header-account > summary, .bdl-header-login { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(232,199,102,.45); border-radius: 13px; color: #e8c766; background: rgba(255,255,255,.045); cursor: pointer; list-style: none; position: relative; transition: background .15s, border-color .15s; }
.bdl-header-account > summary::-webkit-details-marker, .bdl-account-submenu > summary::-webkit-details-marker { display: none; }
.bdl-header-account > summary:hover, .bdl-header-account[open] > summary, .bdl-header-login:hover { color: #fff; border-color: #e8c766; background: rgba(201,162,39,.14); }
.bdl-header-account > summary:focus-visible, .bdl-header-login:focus-visible { outline: 3px solid #e8c766; outline-offset: 3px; }
.bdl-account-dropdown { position: absolute; inset-inline-end: 0; top: calc(100% + 11px); z-index: 210; width: min(370px, calc(100vw - 24px)); max-height: min(720px, calc(100dvh - 140px)); overflow-y: auto; overscroll-behavior: contain; background: #fff; color: var(--navy, #0d1b2e); border: 1px solid var(--line, #e3e6ea); border-radius: 17px; padding: .6rem; box-shadow: 0 18px 50px rgba(13,27,46,.22); text-align: start; }
.bdl-account-identity { display: flex; flex-direction: column; gap: .18rem; padding: .7rem .65rem .85rem; margin-bottom: .35rem; border-bottom: 1px solid var(--line, #e3e6ea); overflow-wrap: anywhere; }
.bdl-account-identity strong { font-size: 1rem; line-height: 1.4; }
.bdl-account-identity > span { color: var(--muted, #5d6673); font-size: .8rem; }
.bdl-account-link { display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .65rem; border-radius: 11px; color: var(--navy, #0d1b2e); text-decoration: none; }
.bdl-account-link:hover { background: var(--cream, #faf7f0); color: var(--navy, #0d1b2e); }
.bdl-account-link:focus-visible, .bdl-account-submenu > summary:focus-visible { outline: 2px solid var(--gold, #c9a227); outline-offset: -2px; }
.bdl-account-link-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 9px; color: #617082; background: #f6f7f9; }
.bdl-account-link-icon svg { width: 20px; height: 20px; }
.bdl-account-link-copy { display: flex; flex: 1; flex-direction: column; gap: .12rem; min-width: 0; overflow-wrap: anywhere; }
.bdl-account-link-copy strong { font-size: .88rem; line-height: 1.45; }
.bdl-account-link-copy small { font-size: .74rem; color: var(--muted, #5d6673); line-height: 1.5; }
.bdl-header-count { flex: none; min-width: 21px; padding: .04rem .35rem; border-radius: 999px; background: #132540; color: #fff; font-size: .73rem; font-weight: 700; text-align: center; }
.bdl-header-count[data-unread="0"] { display: none; }
.bdl-header-trigger-count { position: absolute; top: -5px; inset-inline-end: -6px; border: 2px solid var(--navy, #0d1b2e); background: #e8c766; color: #0d1b2e; }
.bdl-account-submenu { margin: .35rem 0 0; border-top: 1px solid var(--line, #e3e6ea); padding-top: .3rem; }
.bdl-account-submenu > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: .55rem .65rem; font-size: .84rem; font-weight: 700; list-style: none; cursor: pointer; border-radius: 9px; }
.bdl-account-submenu > summary:hover { background: #faf7f0; }
.bdl-account-submenu[open] > summary > span { transform: rotate(180deg); }
.bdl-account-submenu > div { padding-inline-start: .25rem; }
.bdl-account-exit { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--line, #e3e6ea); }
.site-nav li:nth-last-child(2) > a { color: #d8dee9; background: transparent; font-weight: 500; margin-inline-start: 0; }
.site-nav li:last-child > a { border: 0; }
.site-nav li.bdl-primary-accent > a { color: #0d1b2e; background: linear-gradient(135deg,#c9a227,#e8c766); font-weight: 700; margin-inline-start: .4rem; }
@media (max-width: 600px) { .site-head-in { gap: .65rem; } .bdl-header-account > summary, .bdl-header-login { min-height: 44px; border-radius: 11px; } .bdl-account-dropdown { width: min(350px, calc(100vw - 24px)); } }
@media (max-width: 420px) { .site-brand { font-size: 1.05rem; } .site-brand em { font-size: .7rem; } .nav-toggle { font-size: 0; padding: 0; min-width: 40px; height: 44px; justify-content: center; gap: 0; } }
/* Auxiliary plugin shortcuts remain in WordPress administration; reserve the small frontend toolbar for native controls and messages. */
@media (max-width: 420px) { #wpadminbar #wp-admin-bar-wpseo-menu, #wpadminbar #wp-admin-bar-hack-guardian, #wpadminbar #wp-admin-bar-wpnceasywp-admin-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .bdl-header-account > summary, .bdl-header-login { transition: none; } }
