:is(.site-header .nav, header .nav-actions) .sb-header-user{display:inline-flex;align-items:center;gap:9px;padding:5px 12px 5px 5px;border:1px solid #36557b;border-radius:28px;background:linear-gradient(120deg,#192f4b,#101e33);color:#f4f8ff;text-decoration:none;max-width:220px;flex-shrink:1;min-width:0}:is(.site-header .nav, header .nav-actions) .sb-header-user[hidden]{display:none!important}:is(.site-header .nav, header .nav-actions) .sb-header-user:hover{border-color:#77adf3;background:#1b385a}.sb-header-user-avatar{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;overflow:hidden;border:2px solid #72affb;border-radius:50%;background:#285e9e;color:white;font-size:12px;font-weight:800}.sb-header-user-avatar img{width:100%;height:100%;object-fit:cover}.sb-header-user-copy{display:flex;flex-direction:column;min-width:0;gap:3px;line-height:1.2}.sb-header-user-copy small{font-size:9px;font-weight:800;letter-spacing:.1em;color:#8bb7ed}.sb-header-user-copy strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}html[data-theme=light] :is(.site-header .nav, header .nav-actions) .sb-header-user{background:#e8f1ff;color:#173354;border-color:#b4c9e3}@media(max-width:760px){.sb-header-user-copy small{display:none}:is(.site-header .nav, header .nav-actions) .sb-header-user{padding:4px 8px 4px 4px}.sb-header-user-copy strong{max-width:70px}}
/* Consistent appearance control on every authenticated client page. */
:is(.site-header .nav, header .nav-actions) .theme-toggle{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:38px!important;padding:8px 13px!important;border:1px solid #385577!important;border-radius:8px!important;background:#101d30!important;color:#e5f1ff!important;font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer!important}
:is(.site-header .nav, header .nav-actions) .theme-toggle:hover{background:#1b3454!important;border-color:#72a7e6!important}
html[data-theme=light] :is(.site-header .nav, header .nav-actions) .theme-toggle{background:#e9f1fb!important;color:#1d3b5c!important;border-color:#aabfd8!important}
html[data-theme=light] :is(.site-header .nav, header .nav-actions) .theme-toggle:hover{background:#dceaff!important}

/* Shared authenticated account dropdown */
:is(.site-header .nav, header .nav-actions) .sb-account-menu-wrap{position:relative;display:inline-flex;align-items:center;flex:0 1 auto;min-width:0;z-index:50}
:is(.site-header .nav, header .nav-actions) .sb-account-menu-wrap[hidden],:is(.site-header .nav, header .nav-actions) .sb-account-dropdown[hidden]{display:none!important}
:is(.site-header .nav, header .nav-actions) button.sb-header-user{font-family:inherit;cursor:pointer;text-align:left;line-height:normal}
:is(.site-header .nav, header .nav-actions) .sb-header-user::after{content:'';width:6px;height:6px;border-right:1.5px solid #8db9f4;border-bottom:1.5px solid #8db9f4;transform:rotate(45deg) translateY(-2px);margin-left:4px;flex-shrink:0;transition:transform .2s}
:is(.site-header .nav, header .nav-actions) .sb-account-menu-wrap.is-open .sb-header-user::after{transform:rotate(225deg) translateY(-1px)}
:is(.site-header .nav, header .nav-actions) .sb-header-user:focus-visible,:is(.site-header .nav, header .nav-actions) .sb-account-menu-item:focus-visible{outline:2px solid #8abaff;outline-offset:3px}
:is(.site-header .nav, header .nav-actions) .sb-account-dropdown{position:absolute;right:0;top:calc(100% + 11px);width:218px;max-width:min(218px,calc(100vw - 24px));padding:7px;background:#14243c;border:1px solid #3a5a80;border-radius:12px;box-shadow:0 16px 36px #0008;display:flex;flex-direction:column;gap:3px;z-index:100}
:is(.site-header .nav, header .nav-actions) .sb-account-menu-item{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:#e4efff;font:600 12px/1.2 inherit;text-decoration:none;text-align:left;white-space:nowrap;cursor:pointer}
:is(.site-header .nav, header .nav-actions) .sb-account-menu-item span{font-size:17px;color:#8dbbff;width:20px;text-align:center}
:is(.site-header .nav, header .nav-actions) .sb-account-menu-item:hover{background:#213c60;color:#fff}
:is(.site-header .nav, header .nav-actions) .sb-account-menu-divider{height:1px;background:#334962;margin:4px 5px}
:is(.site-header .nav, header .nav-actions) button.sb-account-logout{font-family:inherit!important;font-size:12px!important;font-weight:600!important;color:#ffbec2!important}
html[data-theme=light] :is(.site-header .nav, header .nav-actions) .sb-account-dropdown{background:#fff;border-color:#b9cce4;box-shadow:0 14px 32px #152d4d30}
html[data-theme=light] :is(.site-header .nav, header .nav-actions) .sb-account-menu-item{color:#203b5d}
html[data-theme=light] :is(.site-header .nav, header .nav-actions) .sb-account-menu-item:hover{background:#e7f0fc}
html[data-theme=light] :is(.site-header .nav, header .nav-actions) button.sb-account-logout{color:#a92d3c!important}

:is(.site-header .nav, header .nav-actions) .sb-account-menu-item svg{width:18px;height:18px;flex:0 0 18px;color:#91bcf8;display:block}:is(.site-header .nav, header .nav-actions) button.sb-account-logout svg{color:#e99ca8}html[data-theme=light] :is(.site-header .nav, header .nav-actions) .sb-account-menu-item svg{color:#376da9}html[data-theme=light] :is(.site-header .nav, header .nav-actions) button.sb-account-logout svg{color:#a92d3c}

/* Public homepage and hosting-plan navigation integration */
header .nav-actions .sb-account-menu-wrap{order:5}
header .nav-actions .sb-header-user{font:inherit}
header .nav-actions .sb-account-menu-item{font-family:inherit!important;font-size:12px!important;line-height:1.3!important}
header .nav-actions .sb-account-menu-wrap[hidden]{display:none!important}
@media(max-width:850px){header .nav-actions .sb-header-user-copy small{display:none}header .nav-actions .sb-header-user-copy strong{max-width:75px}}
