/* R48: quiet white chrome, precise 24-unit icons, restrained warm-gold selection. */
body[data-appearance=balanced-a] #nav{--station-nav-row:32px;--nav-ink:#737b84;--nav-gold:#927439;--nav-gold-soft:#f8f3e8;position:fixed;width:136px;top:var(--chrome)!important;bottom:30px;height:auto;min-height:0;padding:6px 8px;display:block;overflow:visible;border-right:1px solid #eae9e5;scrollbar-width:none;background:var(--card);z-index:25}
body[data-appearance=balanced-a] #nav::-webkit-scrollbar{display:none}
.station-desktop-nav{display:flex;flex-direction:column;gap:4px;height:100%;min-height:0}
body[data-appearance=balanced-a] #nav .station-nav-group{display:block;min-width:0;flex:none;margin:0}
body[data-appearance=balanced-a] #nav .station-nav-heading,#stationNavMenu .station-nav-heading{display:flex;align-items:center;justify-content:space-between;flex-direction:row;width:100%;min-width:0;height:16px;min-height:16px;padding:0 9px;margin:0;gap:0;border:0;border-radius:4px;background:none;line-height:1;font-size:10px;font-weight:500;letter-spacing:1.5px;color:#a0a3a8}
body[data-appearance=balanced-a] #nav .station-nav-heading:disabled,#stationNavMenu .station-nav-heading:disabled{opacity:1;cursor:default}
.station-nav-heading svg{display:none;width:14px;height:14px;flex:none}
.station-nav-items{display:grid;gap:0;min-width:0}
body[data-appearance=balanced-a] #nav .station-nav-item,#stationNavMenu .station-nav-item{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;min-height:var(--station-nav-row,34px);height:var(--station-nav-row,34px);margin:0;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--nav-ink,#737b84);font-size:12px;font-weight:400;line-height:1.2;white-space:nowrap;text-decoration:none;flex:none;transition:background .15s,color .15s}
body[data-appearance=balanced-a] #nav .station-nav-item::before{display:none}
body[data-appearance=balanced-a] #nav .station-nav-item .station-nav-icon,#stationNavMenu .station-nav-item .station-nav-icon{display:block;width:18px;height:18px;flex:0 0 18px;stroke-width:1.65}
body[data-appearance=balanced-a] #nav .station-nav-item:hover,#stationNavMenu .station-nav-item:hover{background:#f6f6f4;color:#343b44}
body[data-appearance=balanced-a] #nav .station-nav-item.active,#stationNavMenu .station-nav-item.active{background:var(--nav-gold-soft,#f8f3e8);color:var(--nav-gold,#927439);font-weight:600;border:0}
body[data-appearance=balanced-a] #nav .station-nav-item:focus-visible,#stationNavMenu button:focus-visible,#stationNavMenu a:focus-visible{outline:2px solid #b79a60;outline-offset:-2px}
body[data-appearance=balanced-a] #nav .station-nav-item:disabled,#stationNavMenu .station-nav-item:disabled{opacity:.38}
body[data-appearance=balanced-a] main{margin-left:136px}
.station-mobile-nav{display:none}
#nav[data-folded=true] .station-nav-group[data-expanded=false] .station-nav-items,#stationNavMenu[data-folded=true] .station-nav-group[data-expanded=false] .station-nav-items{display:none}
body[data-appearance=balanced-a] #nav[data-folded=true] .station-desktop-nav{gap:6px}
body[data-appearance=balanced-a] #nav[data-folded=true] .station-nav-heading{height:30px;min-height:30px;cursor:pointer;letter-spacing:.8px;font-size:11px;color:#7c8289}
#nav[data-folded=true] .station-nav-heading svg,#stationNavMenu[data-folded=true] .station-nav-heading svg{display:block}
.station-nav-group[data-expanded=true] .station-nav-heading svg{transform:rotate(180deg)}
#stationNavMenu{--nav-ink:#727b86;--nav-gold:#927439;--nav-gold-soft:#f8f3e8;box-sizing:border-box;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid #e9e6df;border-radius:18px;background:var(--card);color:var(--text);box-shadow:0 24px 80px #17213024;overflow:visible}
#stationNavMenu::backdrop{background:#1b233749;backdrop-filter:blur(5px)}
.station-nav-menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.station-nav-menu-head small{font-size:9px;letter-spacing:2px;color:#a48b56}.station-nav-menu-head h2{font-size:18px;line-height:1.3;margin:4px 0 0;font-weight:600}.station-nav-menu-head button{height:34px;width:34px;min-height:34px;border:0;padding:0;font-size:21px;background:#f5f5f3;border-radius:9px;color:#767e88}
.station-menu-groups{display:grid;gap:10px}.station-menu-groups .station-nav-group{min-width:0}.station-menu-groups .station-nav-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px}
#stationNavMenu .station-nav-heading{padding:0 8px;margin-bottom:5px}#stationNavMenu .station-nav-item{height:38px;min-height:38px;font-size:12px}
#stationNavMenu[data-folded=true] .station-nav-heading{height:27px;min-height:27px;cursor:pointer;margin:0}#stationNavMenu[data-folded=true] .station-menu-groups{gap:4px}
body.dark #nav{--nav-ink:#aeb9c6;--nav-gold:#d7bc80;--nav-gold-soft:#383426;border-color:var(--line)}body.dark #stationNavMenu{--nav-ink:#aeb9c6;--nav-gold:#d7bc80;--nav-gold-soft:#383426;border-color:var(--line)}body.dark #nav .station-nav-item:hover,body.dark #stationNavMenu .station-nav-item:hover{background:#273444;color:#edf1f5}
@media(max-width:750px){body[data-appearance=balanced-a] #nav{top:calc(var(--chrome) - 54px)!important;bottom:auto;left:0;right:0;width:100%;height:54px;min-height:54px;padding:0 8px;border-right:0;border-bottom:1px solid #ecebe7;overflow:visible}body[data-appearance=balanced-a] main{margin-left:0}.station-desktop-nav{display:none}.station-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;height:54px;gap:4px}body[data-appearance=balanced-a] #nav .station-mobile-nav .station-nav-item{height:48px;min-height:48px;min-width:0;width:100%;margin:3px 0;padding:4px;gap:3px;flex-direction:column;justify-content:center;font-size:10px;border-radius:8px}body[data-appearance=balanced-a] #nav .station-mobile-nav .station-nav-icon{width:18px;height:18px;flex:0 0 18px}#stationNavMenu{padding:14px}.station-nav-menu-head{margin-bottom:10px}.station-menu-groups{gap:7px}}
@media(max-height:520px){#stationNavMenu{padding:10px 14px}.station-nav-menu-head{margin-bottom:6px}.station-nav-menu-head small{display:none}.station-nav-menu-head h2{font-size:16px;margin:0}#stationNavMenu .station-nav-item{height:34px;min-height:34px}}
@media(prefers-reduced-motion:reduce){#nav .station-nav-item,#stationNavMenu .station-nav-item{transition:none}}
/* Very short desktop windows retain every function through the complete menu. */
@media(min-width:751px){#nav[data-minimal=true] .station-desktop-nav{display:none}#nav[data-minimal=true] .station-mobile-nav{display:flex;flex-direction:column;gap:4px}body[data-appearance=balanced-a] #nav[data-minimal=true] .station-nav-item{height:32px;min-height:32px}}
@media(max-width:750px){.station-mobile-nav{height:100%}body[data-appearance=balanced-a] #nav .station-mobile-nav .station-nav-item{margin:2px 0}}
