/* Shared staff navigation: one layout across all Academy administration pages. */
body:not(.student-mode) .academy-nav-shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100dvh;align-items:start}
body:not(.student-mode) .academy-nav-sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;min-width:0;margin:0;padding:28px 14px;background:linear-gradient(180deg,#103565,#1b538f);color:#fff;display:flex;flex-direction:column;gap:0;font:16px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.academy-nav-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
body:not(.student-mode) .academy-nav-sidebar .academy-brand{display:block;padding:0 16px;margin:0;font-size:26px;line-height:1.22;font-weight:800;letter-spacing:.03em;color:#fff;text-decoration:none;border:0;background:none;border-radius:0}
body:not(.student-mode) .academy-nav-sidebar small{display:block;padding:8px 16px 24px;color:#d2e3f7;font-size:13px}
body:not(.student-mode) .academy-nav-sidebar nav{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;overflow:visible}
body:not(.student-mode) .academy-nav-sidebar nav a{display:block;box-sizing:border-box;min-height:48px;margin:0;padding:13px 16px;border-left:4px solid transparent;border-radius:9px;font:650 15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:#fff;text-decoration:none;white-space:normal;overflow-wrap:normal}
body:not(.student-mode) .academy-nav-sidebar nav a:hover{background:#ffffff14}
body:not(.student-mode) .academy-nav-sidebar nav a[aria-current="page"]{background:#2b79bd;border-left-color:#b8e3ff;color:#fff;font-weight:750}
.academy-nav-sidebar a:focus-visible,.academy-nav-toggle:focus-visible{outline:3px solid #b8e3ff;outline-offset:2px}
body:not(.student-mode) .academy-nav-sidebar .sidebar-exit{width:auto;min-height:44px;margin:auto 4px 0;padding:12px 16px;background:#0b315e;color:#fff;text-align:left}
.academy-nav-toggle{display:none}
body.student-mode .academy-nav-toggle{display:none}
body:not(.student-mode) .academy-nav-shell>main{min-width:0;width:100%;max-width:1400px;margin:0 auto;padding:40px clamp(20px,3vw,48px);box-sizing:border-box}
body:not(.student-mode) .academy-content{max-width:1400px;padding:40px clamp(20px,3vw,48px)}
body:not(.student-mode) .academy-top{margin-top:0}
body:not(.student-mode) #navStudent{margin-top:12px;border-top:1px solid #ffffff30}
.academy-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.academy-page-heading p{margin-bottom:0}
.academy-page-heading button{margin:0}
.academy-view-tabs{display:flex;gap:8px;margin:22px 0 12px;padding:5px;background:#d9e7f6;border-radius:12px;width:fit-content}
.academy-view-tabs a{padding:10px 20px;border-radius:9px;text-decoration:none;font-weight:700;color:#174b82}
.academy-view-tabs a[aria-current="page"]{background:#fff;box-shadow:0 2px 8px #153c6914}
.academy-stats>div>a{display:inline-block;color:#fff;font-weight:700;padding:12px 0}
html[data-academy-view="courses"] .calendar-panel>.cal-header,html[data-academy-view="courses"] .calendar-panel>.calendar-scroll{display:none}
[hidden]{display:none!important}
@media(max-width:850px){
 body:not(.student-mode) .academy-nav-shell{grid-template-columns:minmax(0,1fr)}
 body:not(.student-mode) .academy-nav-sidebar{position:relative;height:auto;min-height:0;padding:16px;overflow:visible}
 body:not(.student-mode) .academy-nav-sidebar .academy-brand{padding:0;font-size:21px}
 body:not(.student-mode) .academy-nav-sidebar .academy-brand br{display:none}
 body:not(.student-mode) .academy-nav-sidebar small{display:none}
 body:not(.student-mode) .academy-nav-toggle{display:block;flex:0 0 auto;width:auto;min-height:44px;margin:0;padding:10px 14px;border:1px solid #ffffff60;border-radius:9px;background:#ffffff14;color:#fff;font:650 15px system-ui;cursor:pointer}
 body:not(.student-mode) .academy-nav-sidebar nav{display:none;margin-top:16px;grid-template-columns:minmax(0,1fr)}
 body:not(.student-mode) .academy-nav-sidebar.menu-open nav{display:grid}
 body:not(.student-mode) .academy-nav-sidebar .sidebar-exit{display:none;margin:12px 0 0}
 body:not(.student-mode) .academy-nav-sidebar.menu-open .sidebar-exit{display:block}
 body:not(.student-mode) .academy-nav-shell>main,body:not(.student-mode) .academy-content{padding:24px 16px}
 .academy-page-heading{gap:16px}.academy-page-heading button{width:100%}
}
@media(prefers-reduced-motion:reduce){.academy-nav-sidebar{transition:none}}
