/* Bizly 2.7 – a single persistent student navigation shell. */
:root{--shell-bar:68px;--shell-gap:9px;--shell-safe:env(safe-area-inset-bottom,0px);--shell-reserve:calc(var(--shell-bar) + var(--shell-gap)*2 + var(--shell-safe));--shell-vh:var(--bz-vv-height,100dvh);--shell-top:var(--bz-vv-top,0px);--shell-content:calc(var(--shell-vh) - var(--shell-reserve));}
@media(max-width:900px){
 html.shell-ready.shell-compact{--shell-bar:52px;--shell-gap:6px}
 html.shell-ready.shell-keyboard{--shell-safe:0px;--shell-bar:52px;--shell-gap:4px}
 html.shell-ready body:not(:has(#admin.on)){padding-bottom:var(--shell-reserve)!important;scroll-padding-bottom:var(--shell-reserve)}
 html.shell-ready body:not(:has(#admin.on)) #mnav{display:flex!important;visibility:visible!important;pointer-events:none!important;position:fixed;z-index:6000;left:var(--bz-vv-left,0px);right:auto;width:var(--bz-vv-width,100%);top:calc(var(--shell-top) + var(--shell-vh) - var(--shell-reserve));bottom:auto;height:var(--shell-reserve);padding:var(--shell-gap) max(12px,env(safe-area-inset-right,0px)) calc(var(--shell-gap) + var(--shell-safe)) max(12px,env(safe-area-inset-left,0px));align-items:center;justify-content:center;transition:top 280ms var(--motion-ease),height 280ms var(--motion-ease),padding 280ms var(--motion-ease)}
 html.shell-ready #mnav-pill{height:var(--shell-bar);width:100%;max-width:520px;pointer-events:auto!important;padding:4px;transition:height 280ms var(--motion-ease),border-radius 280ms var(--motion-ease);border-radius:34px}
 html.shell-ready #mnav-pill>button{height:calc(var(--shell-bar) - 10px);min-height:44px;gap:2px;transition:height 280ms var(--motion-ease),gap 280ms var(--motion-ease),transform var(--motion-press),color var(--motion-fast)}
 html.shell-ready #mnav-pill .motion-mobile-indicator{top:3px;bottom:3px}
 html.shell-ready #mnav-pill>button :is(svg,.mnav-center-btn,.mnav-av){transition:transform 280ms var(--motion-ease),scale 280ms var(--motion-ease)}
 html.shell-ready #mnav-pill>button>span:not(.mnav-center-btn):not(.mnav-av){transition:opacity 180ms ease,transform 280ms var(--motion-ease),font-size 280ms var(--motion-ease)}
 html.shell-ready:is(.shell-compact,.shell-keyboard) #mnav-pill>button{gap:0}
 html.shell-ready:is(.shell-compact,.shell-keyboard) #mnav-pill>button :is(svg,.mnav-center-btn,.mnav-av){scale:.9}
 html.shell-ready:is(.shell-compact,.shell-keyboard) #mnav-pill>button>span:not(.mnav-center-btn):not(.mnav-av){font-size:9px;opacity:.84}
 html.shell-ready #fab{display:none!important}
 html.shell-ready #admin.on~#mnav,html.shell-ready body:has(#admin.on) #mnav{display:none!important}
 /* The viewport-relative content box ends immediately above the global bar. */
 html.shell-ready body:not(:has(#admin.on)) :is(#chat,#live-chat,#pp-overlay,#plan-overlay,#ann-overlay,#dir-overlay,#tix-overlay,#grad-overlay,#enroll-modal,#auth-modal,#advise-modal,#gsearch-overlay).on{inset:auto!important;top:var(--shell-top)!important;left:var(--bz-vv-left,0px)!important;width:var(--bz-vv-width,100%)!important;height:var(--shell-content)!important;max-height:var(--shell-content)!important;bottom:auto!important;right:auto!important;transition:height 280ms var(--motion-ease),max-height 280ms var(--motion-ease);overscroll-behavior:contain}
 html.shell-ready :is(#plan-overlay,#ann-overlay,#dir-overlay,#tix-overlay,#grad-overlay,#enroll-modal,#auth-modal).on>:is(.plan-panel,.modal){height:100%;max-height:100%!important;min-height:0;overflow:auto}
 html.shell-ready #gsearch-overlay.on{padding:0!important;align-items:stretch}
 html.shell-ready #gsearch-overlay.on .gsearch-box{height:100%!important;max-height:100%!important;display:flex;flex-direction:column;min-height:0;margin:0}
 html.shell-ready #gsearch-overlay.on .gsearch-results{flex:1;min-height:0;max-height:none;overflow:auto}
 html.shell-ready .bz-dialog.motion-sheet[open]{position:fixed;z-index:5900;top:auto;bottom:max(0px,calc(100% - var(--shell-top) - var(--shell-content)));max-height:min(78dvh,var(--shell-content));border-radius:24px 24px 12px 12px;padding-bottom:18px;margin:0 auto;box-shadow:0 -10px 65px #162a4233}
 html.shell-ready #notif-panel.open{max-height:calc(var(--shell-content) - 80px);z-index:5750;overflow:auto}
 html.shell-ready #toasts{bottom:calc(var(--shell-reserve) + 6px);z-index:6100;pointer-events:none}
 html.shell-ready.shell-keyboard :is(#mnav,#chat,#live-chat,#pp-overlay,#plan-overlay,#enroll-modal,#auth-modal,#gsearch-overlay){transition:none!important}
 html.shell-ready.shell-keyboard #mnav-pill{transition:none}
 html.shell-ready :is(#chat-msgs,#live-msgs,.plan-body,.v2-work-main,.gsearch-results){scroll-padding-bottom:12px;min-height:0}
 html.shell-ready #chat.on .chat-input,html.shell-ready #live-chat.on .live-input{padding-bottom:8px!important;flex-shrink:0}
 html.shell-ready .shell-parked{display:none!important}
 @media(prefers-reduced-motion:reduce){html.shell-ready #mnav,html.shell-ready #mnav-pill,html.shell-ready #mnav-pill>*{transition:none!important}}
}
@media(max-width:900px){
 html.shell-ready body:has(:is(#chat,#live-chat,#pp-overlay,#plan-overlay,#enroll-modal,#auth-modal,#ann-overlay,#dir-overlay,#tix-overlay,#grad-overlay,#advise-modal,#gsearch-overlay).on) #mnav{background:var(--v2-paper)}
 html.shell-ready #mnav-pill>button:focus-visible{outline-offset:-2px}
 html.shell-ready.shell-keyboard #mnav-pill>button{min-height:44px}
 html.shell-ready #chat.on .chat-msgs{overflow-y:auto}
}
