a[hidden]{display:none!important}
.chapter-switch{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font:600 11px/1.2 Arial,sans-serif!important;letter-spacing:0!important;color:inherit!important;text-decoration:none!important;border:1px solid currentColor;border-radius:30px;padding:9px 12px;white-space:nowrap;margin-right:auto;margin-left:16px;opacity:.8;transition:opacity .2s,background .2s}
.chapter-switch:hover{opacity:1;background:#ffffff1a}.chapter-switch:focus-visible{outline:2px solid currentColor;outline-offset:4px}
body[data-chapter=user]:not([data-chapter-ready]) header{visibility:hidden}
.chapter-header{position:relative;z-index:5;padding:0 clamp(22px,4vw,72px);border:0;background:#f6f8fc;color:#0b2d6d;font-family:Arial,Helvetica,sans-serif}
.chapter-header .chapter-row{position:relative;width:100%;max-width:none;min-height:92px;margin:0;padding:0;display:flex;align-items:center;gap:20px;border-bottom:1px solid #0b2d6d25;flex-wrap:nowrap}
.chapter-identity{display:flex;align-items:center;gap:12px}.chapter-header .chapter-brand{display:inline-flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-1.2px;white-space:nowrap;color:inherit;text-decoration:none}.chapter-brand img{width:36px;height:36px;border-radius:50%}
.chapter-header .workspace-label{font-size:11px;color:inherit;white-space:nowrap}
.chapter-header nav{display:flex;gap:28px;align-items:center;padding:0;border:0;font-size:13px;font-weight:600;flex-wrap:nowrap}
.chapter-header nav a{position:relative;color:inherit;text-decoration:none;white-space:nowrap}.chapter-header nav a::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s}.chapter-header nav a:hover::after,.chapter-header nav a[aria-current]::after{transform:scaleX(1)}
.chapter-menu{display:none}.chapter-header .chapter-switch{margin-left:0}
@media(max-width:1100px){.chapter-header .workspace-label{display:none}}
@media(max-width:1000px){.chapter-header .chapter-row{min-height:80px;gap:10px}.chapter-menu{display:flex;gap:18px;align-items:center;border:1px solid currentColor;border-radius:30px;padding:11px 16px;font:12px Arial,sans-serif;color:inherit;background:none}.chapter-header nav{display:none;position:absolute;top:calc(100% + 12px);left:0;right:0;padding:26px;background:#f6f8fc;box-shadow:0 18px 40px #09295220;border-radius:18px;flex-direction:column;align-items:stretch;gap:24px}.chapter-header nav.is-open{display:flex}.chapter-switch{padding:8px 10px;margin-left:8px;font-size:10px!important}}
@media(max-width:400px){.chapter-header .chapter-brand{font-size:21px;gap:7px}.chapter-brand img{width:30px;height:30px}.chapter-menu{padding:10px 12px;gap:10px}}
@media(max-width:1000px){header:has(.chapter-switch:not([hidden])),.unified-header .unified-row:has(.chapter-switch:not([hidden])){gap:10px}.chapter-switch{margin-left:0}header:has(.chapter-switch:not([hidden])) .nav-account:has(>a[hidden]),header:has(.chapter-switch:not([hidden])) .unified-account:has(>a[hidden]){display:none}}
/* Keep both chapter switches in the same logo-adjacent slot. */
.opening>header:has(.chapter-switch),.unified-row:has(.chapter-switch),.chapter-row:has(.chapter-switch),.nav-row:has(.chapter-switch){gap:20px!important}
header .chapter-switch{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin-left:0!important;width:84px;height:34px;padding:0!important;font:600 11px/1.2 Arial,sans-serif!important}
header:has(.chapter-switch) :is(.brand,.unified-brand,.chapter-brand){font-size:25px;font-weight:800;gap:10px;letter-spacing:-1.2px}
header:has(.chapter-switch) :is(.brand,.unified-brand,.chapter-brand) img{width:36px;height:36px}
@media(max-width:1000px){.opening>header:has(.chapter-switch),.unified-row:has(.chapter-switch),.chapter-row:has(.chapter-switch),.nav-row:has(.chapter-switch){gap:12px!important}}
@media(max-width:400px){.opening>header:has(.chapter-switch),.unified-row:has(.chapter-switch),.chapter-row:has(.chapter-switch),.nav-row:has(.chapter-switch){gap:8px!important}header:has(.chapter-switch) :is(.brand,.unified-brand,.chapter-brand){font-size:21px;gap:7px}header:has(.chapter-switch) :is(.brand,.unified-brand,.chapter-brand) img{width:30px;height:30px}}
/* Profile dropdowns use background hover feedback, never navigation lines. */
header :is(.account-menu,#chapter-account-menu) :is(a,button){text-decoration:none!important;border:0!important;box-shadow:none!important;background-image:none!important}
header :is(.account-menu,#chapter-account-menu) :is(a,button)::before,header :is(.account-menu,#chapter-account-menu) :is(a,button)::after{content:none!important;display:none!important}
header .account-menu .menu-identity{border-bottom:0}
