/* A single, readable navigation hierarchy. Colors identify the task, not every surface. */
.navigation162{--nav-ink162:#293d51;--nav-muted162:#566b7e;--nav-line162:#e0e7ee;display:block!important;color:var(--nav-ink162)}
.navigation162 .nav-caption162{margin:0;padding:10px 12px 14px;font-size:14px;color:var(--nav-muted162)}
.navigation162 .nav-section162{--nav-color162:#365f98;--nav-soft162:#edf3fd;margin:3px 0}
.navigation162 [data-nav-theme162=students]{--nav-color162:#246f60;--nav-soft162:#eaf6ef}
.navigation162 [data-nav-theme162=classes]{--nav-color162:#855c1d;--nav-soft162:#fff6e2}
.navigation162 [data-nav-theme162=consult]{--nav-color162:#98572f;--nav-soft162:#fff1e7}
.navigation162 [data-nav-theme162=parents],.navigation162 [data-nav-theme162=creative]{--nav-color162:#72509a;--nav-soft162:#f2ecfa}
.navigation162 [data-nav-theme162=settings],.navigation162 [data-nav-theme162=archive]{--nav-color162:#526a7e;--nav-soft162:#edf2f6}
body .navigation162 :is(.nav-parent162,.nav-child162){font-family:inherit;font-size:17px!important;line-height:1.5!important;min-height:48px;box-sizing:border-box;cursor:pointer;text-align:left;letter-spacing:-.025em;box-shadow:none!important;max-width:100%;word-break:keep-all;overflow-wrap:anywhere}
body .navigation162 .nav-parent162{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:10px;background:transparent;color:var(--nav-ink162);padding:10px 12px;font-weight:650}
.navigation162 .nav-label162{flex:1;min-width:0}
.navigation162 .nav-parent162>svg:not(.nav-chevron162){flex:none;width:32px;height:32px}
.navigation162 .nav-parent162>small{font-size:11px!important;color:var(--nav-muted162)!important;white-space:nowrap}
.navigation162 .nav-chevron162{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.navigation162 .nav-parent162[aria-expanded=true] .nav-chevron162{transform:rotate(90deg)}
body .navigation162 .nav-parent162:hover,body .navigation162 .nav-child162:hover{background:#f4f6f9}
body .navigation162 [data-active162]>.nav-parent162{color:var(--nav-color162);background:var(--nav-soft162)}
.navigation162 .nav-children162{margin:4px 8px 13px 27px;padding:0 0 0 14px;border-left:1px solid var(--nav-line162)}
.navigation162 .nav-children162[hidden]{display:none!important}
body .navigation162 .nav-child162{position:relative;display:block;width:100%;border:0;background:transparent;color:var(--nav-muted162);font-weight:450;border-radius:7px;padding:11px 10px;margin:2px 0}
body .navigation162 .nav-child162[aria-current=page]{background:var(--nav-soft162);color:var(--nav-color162);font-weight:700}
.navigation162 .nav-child162[aria-current=page]::before{content:none}
.navigation162 :is(button,a):focus-visible{outline:3px solid #3b6197!important;outline-offset:2px}
.navigation162 .nav-all162{display:flex;width:100%;gap:10px;align-items:center;text-align:left;margin:18px 0 0;padding:14px 12px;border:0;border-top:1px solid var(--nav-line162);background:transparent;color:var(--nav-muted162);font:inherit;min-height:50px}
.navigation162 .nav-all162 svg{width:30px;height:30px;flex:none}
html[data-readable124=large] .navigation162 :is(.nav-parent162,.nav-child162){font-size:20px!important;min-height:54px}
@media(min-width:761px){
 body.owner-nav162{--sidebar-width162:270px}
 html[data-readable124=large] body.owner-nav162{--sidebar-width162:296px}
 html[data-readable124][data-worktheme97] .owner-shell96.owner-nav162 .main{margin-left:var(--sidebar-width162)!important}
 html[data-readable124][data-worktheme97] .owner-shell96.owner-nav162 .nav,html[data-readable124][data-worktheme97] .owner-shell96.owner-nav162 .topbar .brand{width:var(--sidebar-width162)!important;max-width:var(--sidebar-width162)!important}
 .owner-shell96.owner-nav162 .topbar .brand{justify-content:flex-start!important;padding:0 20px!important;gap:8px}
 .owner-shell96.owner-nav162 .topbar .brand img{width:184px!important;max-width:calc(100% - 30px)}
 .owner-shell96.owner-nav162 .nav{padding:12px 12px 8px!important;scrollbar-gutter:stable}
 .owner-shell96.owner-nav162 .nav-foot{padding-top:20px!important}
 .owner-shell96.owner-nav162 .view-context96{display:none!important}
 .owner-shell96.owner-nav162 #page{padding-top:24px!important}
}
@media(min-width:881px){
 body.teacher-nav162{height:100dvh;overflow:hidden;background:#f6f7f9}
 body.teacher-nav162::before,body.teacher-nav162::after{display:none}
 .teacher-nav162 .shell{grid-template-columns:270px minmax(0,1fr);height:100dvh;min-height:0}
 .teacher-nav162 .tnav-side{padding:0!important;position:relative;top:auto;height:100dvh;overflow:auto;background:#fff;backdrop-filter:none;border-right:1px solid #e0e7ee;scrollbar-gutter:stable}
 .teacher-nav162 .tnav-side .brand{display:flex!important;flex-direction:row!important;align-items:center!important;height:72px;min-height:72px;padding:0 20px;gap:8px;border-bottom:1px solid #e0e7ee}
 .teacher-nav162 .tnav-side .brand img{width:176px!important;height:auto!important;max-width:calc(100% - 38px)}
 .teacher-nav162 .tnav-side .brand-role{margin:0!important;align-self:center!important;padding:3px 6px;flex:none;font-size:11px}
 .teacher-nav162 #tnav{padding:12px;overflow:visible!important}
 .teacher-nav162 .main{display:flex;flex-direction:column;height:100dvh;min-width:0}
 .teacher-nav162 .top{position:relative;flex:none;background:#fff;border-bottom:1px solid #e0e7ee;box-shadow:none}
 .teacher-nav162 .top-in{max-width:none;min-height:72px;padding:12px 24px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
 .teacher-nav162 .who{font-size:18px}
 .teacher-nav162 #app{flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:24px;overflow:auto}
 .teacher-nav162 #app:has(>iframe){display:flex;flex-direction:column;overflow:hidden;padding:22px 24px 0}
 .teacher-nav162 #m-embedded{flex:1;min-height:0!important;height:0!important;width:100%;border:0}
 .teacher-nav162 #tnavind{display:none}
 .teacher-nav162 .top .role{display:none}
}

.navigation162 [data-nav-theme162=consult]{--nav-color162:#8161a7;--nav-soft162:#f3edf9}

/* Shared owner/teacher selection marker: quick group disclosure, sliding child selection. */
.navigation162 .nav-children162{position:relative;animation:none!important;transition:none!important}
.navigation162 .nav-selection508{position:absolute;display:block;pointer-events:none;border-radius:9px;background:var(--nav-soft162);z-index:0}
.navigation162 .nav-selection508::before{content:none}
html body .navigation162 .nav-children162[data-slide508]>.nav-child162{z-index:1}
html body .navigation162 .nav-children162[data-slide508]>.nav-child162[aria-current=page]{background:transparent!important}
html body .navigation162 .nav-children162[data-slide508]>.nav-child162[aria-current=page]::before{content:none!important}
.navigation162 .nav-parent162{transition:background-color .1s,color .1s}
@media(prefers-reduced-motion:reduce){.navigation162 .nav-parent162{transition:none}}
