/* Profile-led navigation uses the Athenian site theme color tokens. */
.bsw-account-controls { display:flex; align-items:center; gap:12px; }
.bsw-account-controls [hidden] { display:none !important; }
.bsw-profile-control { display:flex; align-items:center; gap:11px; max-width:300px; min-height:58px; padding:7px 9px; border:1px solid transparent; border-radius:12px; background:transparent; color:var(--text-high); font-family:var(--bsw-body); text-align:left; text-decoration:none; cursor:pointer; }
body.bsw-site a.bsw-profile-control { color:var(--text-high); }
.bsw-profile-control:hover,.bsw-profile-control[aria-expanded="true"] { border-color:var(--border); background:var(--surface-1); }
.bsw-profile-avatar { position:relative; display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; border:1px solid color-mix(in oklch,var(--ctl-c2) 55%,var(--border)); border-radius:50%; overflow:hidden; background:color-mix(in oklch,var(--ctl-c1) 22%,var(--surface-1)); color:var(--text-high); font-size:13px; font-weight:700; }
.bsw-profile-avatar img { position:absolute; inset:0; width:100%; height:100%; max-height:none; object-fit:cover; }
.bsw-profile-copy { display:grid; min-width:0; gap:1px; line-height:1.35; }
.bsw-profile-copy>span { display:block; overflow:hidden; max-width:200px; font-size:12px; font-weight:400; text-overflow:ellipsis; white-space:nowrap; color:var(--text-mid); }
.bsw-profile-copy strong { color:var(--text-high); font-size:14px; font-weight:700; letter-spacing:-.02em; }
.bsw-profile-chevron { display:inline-flex; flex:0 0 auto; color:var(--text-low); }
.bsw-profile-mobile-icon { display:none; }
.bsw-profile-chevron svg { width:16px; height:16px; transition:transform 150ms ease; }
.bsw-profile-control[aria-expanded="true"] .bsw-profile-chevron svg { transform:rotate(180deg); }
.bsw-desktop-navigation { gap:6px; }
.bsw-desktop-navigation a { padding:10px 12px; font-size:14px; border-radius:8px; white-space:nowrap; }
.bsw-desktop-navigation a:hover,.bsw-desktop-navigation [aria-current="page"] { color:var(--text-high); background:var(--surface-1); transform:none; }
.bsw-header-sign-in { padding:10px 15px; border:1px solid var(--border); border-radius:9px; font-size:14px; font-weight:700; white-space:nowrap; }
.bsw-guest-menu { display:none; }
.bsw-site-menu { position:fixed; inset:var(--bsw-menu-top,90px) auto auto var(--bsw-menu-left,calc(100% - 400px)); width:380px; max-width:calc(100vw - 24px); max-height:calc(100dvh - var(--bsw-menu-top,90px) - 16px); margin:0; padding:0; overflow:auto; overscroll-behavior:contain; border:1px solid var(--border); border-radius:16px; background:var(--surface-0,#13160e); color:var(--text-mid); box-shadow:0 24px 70px #0006; font-family:var(--bsw-body); scrollbar-width:thin; }
.bsw-site-menu:not([open]) { display:none; }
.bsw-site-menu::backdrop { background:#0004; }
.bsw-menu-panel { display:flex; flex-direction:column; min-height:100%; padding:8px; }
.bsw-menu-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 8px 4px 12px; }
.bsw-menu-heading h2 { margin:0; color:var(--text-high); font-family:var(--bsw-body); font-size:15px; font-weight:700; line-height:1.4; letter-spacing:-.02em; }
.bsw-menu-close { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; padding:0; border:0; border-radius:8px; background:transparent; color:var(--text-mid); cursor:pointer; }
.bsw-menu-close:hover { background:var(--surface-1); color:var(--text-high); }
.bsw-menu-identity { display:flex; align-items:center; gap:12px; padding:10px 12px 18px; }
.bsw-menu-identity>div { display:grid; min-width:0; gap:4px; }
.bsw-menu-identity strong { color:var(--text-high); font-size:16px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
.bsw-menu-identity small { font-size:12px; line-height:1.5; color:var(--text-low); }
.bsw-menu-section { padding:10px 0; border-top:1px solid var(--border); }
.bsw-menu-section h3 { margin:4px 12px 8px; color:var(--text-low); font-family:var(--bsw-body); font-size:10px; font-weight:700; line-height:1.5; letter-spacing:.12em; text-transform:uppercase; }
body.bsw-site a.bsw-menu-link { display:flex; align-items:center; gap:12px; min-height:48px; margin:2px 0; padding:10px 12px; border-radius:9px; color:var(--text-mid); font-size:14px; text-decoration:none; transition:background 120ms ease,color 120ms ease; }
.bsw-menu-link>svg { flex:0 0 20px; color:var(--text-low); }
.bsw-menu-link>span:not(.bsw-menu-link__arrow) { display:grid; min-width:0; gap:3px; }
.bsw-menu-link strong { color:var(--text-high); font-size:14px; font-weight:600; line-height:1.4; }
.bsw-menu-link small { font-size:12px; line-height:1.5; color:var(--text-low); }
.bsw-menu-link__arrow { display:flex; flex:0 0 16px; margin-left:auto; opacity:.55; }
.bsw-menu-link__arrow svg { width:16px; height:16px; }
body.bsw-site a.bsw-menu-link:hover,body.bsw-site a.bsw-menu-link[aria-current="page"] { background:color-mix(in oklch,var(--ctl-c1) 14%,var(--surface-1)); color:var(--text-high); }
.bsw-menu-link[aria-current="page"]>svg { color:var(--ctl-c2); }
.bsw-menu-explore .bsw-menu-link { min-height:42px; }
.bsw-menu-explore .bsw-menu-link>svg { display:none; }
.bsw-menu-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; padding:8px 12px 4px; border-top:1px solid var(--border); }
body.bsw-site .bsw-menu-bottom a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--text-low); font-size:12px; text-decoration:none; }
body.bsw-site .bsw-menu-bottom .bsw-menu-sign-out { color:var(--text-high); font-size:13px; font-weight:600; }
.bsw-menu-welcome { display:grid; gap:14px; padding:16px 12px 24px; }
.bsw-menu-welcome p { margin:0; color:var(--text-mid); font-size:14px; }
.bsw-menu-create { display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; }
html.bsw-navigation-open { overflow:hidden; scrollbar-gutter:stable; }
.bsw-navigation-ready .bsw-account-fallback { display:none; }
.bsw-workspace-context { display:none; }
.bsw-navigation-ready .bs-account-switcher { display:none; }
.bsw-navigation-ready .bsw-workspace-context { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:28px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.bsw-workspace-context>span { display:grid; gap:3px; }
.bsw-workspace-context small { font-size:11px; color:var(--text-low); }
.bsw-workspace-context strong { font-size:14px; color:var(--text-high); }
.bsw-workspace-context button { display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:8px; border:0; border-radius:8px; background:transparent; color:var(--ctl-c2); font-family:var(--bsw-body); font-size:12px; cursor:pointer; }
.bsw-workspace-context button:hover { background:var(--surface-1); }
@media(max-width:900px) {
 html.bsw-navigation-open { scrollbar-gutter:auto; }
 .bsw-navigation-ready .bsw-header__inner { min-height:76px; flex-wrap:nowrap; gap:12px; padding-block:8px; }
 .bsw-navigation-ready .bsw-primary-slot { display:none; }
 .bsw-navigation-ready .bsw-actions { order:initial; width:auto; flex:0 1 auto; margin-left:auto; }
 .bsw-navigation-ready .bsw-brand img { width:clamp(135px,24vw,180px); max-height:42px; }
 .bsw-profile-control { gap:8px; min-height:48px; padding:4px; border-radius:8px; }
 .bsw-profile-avatar { flex-basis:34px; width:34px; height:34px; }
 .bsw-profile-copy>span { max-width:145px; font-size:11px; }
 .bsw-profile-copy { max-width:clamp(70px,calc(100vw - 272px),145px); }
 .bsw-profile-copy strong { font-size:12px; }
 .bsw-profile-chevron { display:none; }
 .bsw-profile-mobile-icon { display:inline-flex; flex:0 0 18px; color:var(--text-low); }
 .bsw-profile-mobile-icon svg { width:18px; height:18px; }
 .bsw-guest-menu:not([hidden]) { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid var(--border); border-radius:9px; background:transparent; color:var(--text-high); cursor:pointer; }
 .bsw-site-menu { inset:0 0 0 auto; width:min(390px,calc(100vw - 16px)); max-width:none; height:100dvh; max-height:100dvh; border-radius:16px 0 0 16px; border-block:0; border-right:0; }
 .bsw-site-menu::backdrop { background:#0008; }
 .bsw-menu-panel { padding:max(12px,env(safe-area-inset-top)) 8px max(12px,env(safe-area-inset-bottom)); }
 .bsw-menu-heading { padding-bottom:10px; }
 .bsw-menu-link { min-height:52px; }
 .bsw-menu-explore .bsw-menu-link { min-height:46px; }
}
@media(max-width:370px) {
 .bsw-navigation-ready .bsw-header__inner { gap:6px; }
 .bsw-navigation-ready .bsw-brand img { width:125px; }
 .bsw-profile-copy>span { max-width:110px; }
 .bsw-profile-copy strong { font-size:11px; }
 .bsw-profile-control { gap:6px; }
 .bsw-profile-avatar { flex-basis:30px; width:30px; height:30px; }
}
@media(prefers-reduced-motion:reduce) { .bsw-profile-chevron svg,.bsw-menu-link { transition:none; } }
