
:root{--app-bar-h:54px;--sidebar-w:252px}
.learning-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-w);z-index:40;background:#173b30;color:#d5e3d8;padding:22px 14px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#587568 #173b30;box-sizing:border-box;font-family:'Be Vietnam Pro',system-ui,sans-serif}
.learning-sidebar:focus{outline:none}
.learning-brand{display:block;color:#eef5e9!important;font-size:24px;font-weight:700;text-decoration:none!important;padding:0 12px 18px;letter-spacing:-1px;line-height:1.2}.learning-brand small{display:block;font-size:8px;letter-spacing:1.5px;font-weight:400;color:#b5c8b8;margin-top:5px}
.learning-group{display:block;margin:0 0 12px;border:0;padding:0}.learning-group>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:10px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:#a6bead;padding:10px 12px;min-height:40px;line-height:1.5}.learning-group>summary::after{content:'⌄';font-size:14px;transition:transform .15s}.learning-group:not([open])>summary::after{transform:rotate(-90deg)}.learning-group>summary::-webkit-details-marker{display:none}.learning-group>div{display:grid;gap:3px}.learning-group a{display:block;color:#d5e3d8;text-decoration:none;font-size:12px;line-height:1.5;padding:10px 12px;border-radius:9px;min-height:40px;box-sizing:border-box}.learning-group a:hover{background:#ffffff0d;color:white}.learning-group a.active{background:#deedc6;color:#214533;font-weight:600}.learning-group a:focus-visible,.learning-group>summary:focus-visible{outline:2px solid #d4e9b4;outline-offset:2px}.learning-subgroup{margin:0}.learning-subgroup>summary{text-transform:none;font-size:12px;letter-spacing:0;color:#d5e3d8;font-weight:550}.learning-subgroup>summary:hover{color:white}.learning-subgroup>div{margin-left:12px;padding-left:10px;border-left:1px solid #ffffff1f}.learning-public-link{display:block;color:#b5c8b8;font-size:12px;padding:12px;margin-top:10px;border-top:1px solid #ffffff16;text-decoration:none}

/* App bar: the one always-visible piece of chrome. Hidden while the sidebar is a permanent
   column, and the only bar on compact widths, where the shells' own topbars are hidden.
   Fixed rather than sticky: opening the panel locks scrolling with overflow:hidden on <html>,
   which turns that element into the sticky scroll port and would strand the bar off-screen. */
.app-bar{display:none;position:fixed;top:0;left:0;right:0;z-index:45;align-items:center;gap:12px;height:var(--app-bar-h);padding:0 12px 0 8px;background:#173b30;color:#eef5e9;font-family:'Be Vietnam Pro',system-ui,sans-serif}
.app-bar-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:none;color:inherit;font:inherit;font-size:12px;font-weight:550;cursor:pointer}
.app-bar-toggle:hover{background:#ffffff14}
.app-bar-bars{position:relative;display:block;width:18px;height:2px;border-radius:2px;background:currentColor;transition:background .15s}
.app-bar-bars::before,.app-bar-bars::after{content:'';position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform .15s}
.app-bar-bars::before{top:-6px}.app-bar-bars::after{top:6px}
/* The bars fold into a cross while the panel is open, so the same control reads as "close". */
.nav-open .app-bar-bars{background:transparent}
.nav-open .app-bar-bars::before{transform:translateY(6px) rotate(45deg)}
.nav-open .app-bar-bars::after{transform:translateY(-6px) rotate(-45deg)}
.app-bar-brand{display:flex;flex-direction:column;justify-content:center;color:#eef5e9!important;font-size:19px;font-weight:700;letter-spacing:-.8px;line-height:1.1;text-decoration:none!important}
.app-bar-brand small{font-size:7px;letter-spacing:1.4px;font-weight:400;color:#b5c8b8;margin-top:2px}
.app-bar-actions{display:flex;align-items:center;gap:4px;margin-left:auto}
.app-bar-action{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:none;color:#d5e3d8;cursor:pointer}
.app-bar-action:hover{background:#ffffff14;color:#fff}
.app-bar-action:focus-visible,.app-bar-toggle:focus-visible{outline:2px solid #d4e9b4;outline-offset:-2px}
.app-bar-icon{width:21px;height:21px}

.unified-workspace .shell{margin-left:var(--sidebar-w)}.learning-academic.admin-shell,.unified-shell.admin-shell{display:block}.learning-academic>.main,.unified-shell>.main{margin-left:var(--sidebar-w);min-width:0;padding:32px 36px;max-width:1500px}.unified-shell>.workspace{margin-left:var(--sidebar-w);min-width:0}.unified-shell>.workspace>.main{max-width:1400px}.learning-context{font-size:12px;color:#6a7e6b;margin-bottom:24px}.learning-context a{text-decoration:underline;text-underline-offset:3px}
.learning-sidebar~.shell .topbar{position:sticky;top:0}.lab-card h3{margin-top:12px}.lab-card .btn{margin-top:15px}

@media(max-width:1024px){
 .app-bar{display:flex}
 /* The bar is out of flow, so the workspace reserves its height. Keyed off the bar actually
    being present, since the auth screens replace #app without one. */
 #app:has(.app-bar){padding-top:var(--app-bar-h)}
 /* The panel hangs off the app bar and owns the rest of the viewport, so it needs no scrim;
    locking the body keeps the page behind it from scrolling under the open menu. */
 .learning-sidebar{position:fixed;inset:var(--app-bar-h) 0 0 0;width:auto;padding:14px 16px calc(24px + env(safe-area-inset-bottom));transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .18s ease,transform .18s ease,visibility .18s}
 .nav-open .learning-sidebar{transform:none;opacity:1;visibility:visible}
 .nav-open,.nav-open body{overflow:hidden}
 /* The app bar already shows the brand; repeating it at the top of the panel wastes a row. */
 .learning-brand{display:none}
 .learning-group{margin-bottom:6px}
 .learning-group a,.learning-group>summary{min-height:44px}
 .learning-group a{font-size:14px}
 .learning-group>summary{font-size:11px}
 .learning-subgroup>summary{font-size:14px}
 .learning-public-link{font-size:14px}
 /* One bar at the top, not two: the per-shell topbars fold into the app bar here. */
 .unified-workspace .topbar{display:none}
 .unified-workspace .shell,.learning-academic>.main,.unified-shell>.main,.unified-shell>.workspace{margin-left:0}
 .learning-academic>.main,.unified-shell>.main{padding:24px 20px}
 .shell .page{padding-bottom:30px}
 .learning-academic .form-grid{grid-template-columns:1fr}
}
@media(max-width:760px){.learning-academic>.main,.unified-shell>.main{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){.learning-sidebar,.app-bar-bars,.app-bar-bars::before,.app-bar-bars::after{transition:none}}
@media print{.learning-sidebar,.app-bar,.learning-context{display:none!important}.unified-workspace .shell,.learning-academic>.main,.unified-shell>.main,.unified-shell>.workspace{margin-left:0!important}}
.skip-link{position:fixed;top:-100px;left:10px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}
