/* MES 166IL · brighter navigation, clearer section hierarchy, quiet white work surfaces. */
body.mes-spring{--mes-polish-mint:#dff3e9;--mes-polish-sky:#e2f1ff;--mes-polish-peach:#ffeddf;--mes-polish-lemon:#fff5ce;--mes-polish-text:#344f49;}
/* Public entry: distinct navigation and a welcoming illustrated card. */
body.mes-spring>.site-header{border-bottom:3px solid #d9eee2!important;}
body.mes-spring .site-header .nav a{border-radius:10px!important;box-shadow:none!important;font-weight:800!important;}
body.mes-spring .site-header .nav a:nth-child(4n+1){background:#e5f3eb!important;}
body.mes-spring .site-header .nav a:nth-child(4n+2){background:#e7f2ff!important;}
body.mes-spring .site-header .nav a:nth-child(4n+3){background:#fff0e3!important;}
body.mes-spring .site-header .nav a:nth-child(4n+4){background:#fff7d8!important;}
body.mes-spring .hero-kicker{width:fit-content;max-width:100%;background:#fffdf7!important;border:1px solid #c5ddd0;border-radius:999px;padding:7px 12px;letter-spacing:.06em;}
body.mes-spring .home-menu-panel{border-radius:24px!important;border-color:#bad9c7!important;box-shadow:0 12px 34px #567d6a12!important;}
body.mes-spring .home-menu-head{padding-bottom:10px;border-bottom:1px solid #dfebe3;margin-bottom:12px;}
body.mes-spring .home-quick-card{border-radius:14px!important;transition:background-color .16s,box-shadow .16s;}
body.mes-spring .home-quick-card:hover{box-shadow:0 4px 12px #43746516!important;}
/* Side menu groups are easy to locate without turning the workspace into a solid color. */
body.mes-spring aside.nb-sidebar nav.nb-nav>.mes-nav-section,body.mes-spring nav.mes-menu-unified-nav>.mes-nav-section{border-width:1px!important;border-radius:12px!important;overflow:visible;}
body.mes-spring .nb-sidebar nav.nb-nav .mes-nav-section-title{background:#dff1e6!important;border-radius:7px;color:#365d4e!important;padding:7px 8px!important;margin-bottom:3px;}
body.mes-spring .nb-sidebar nav.nb-nav>.mes-nav-section:nth-child(4n+2) .mes-nav-section-title{background:#e1effd!important;color:#3e5d78!important;}
body.mes-spring .nb-sidebar nav.nb-nav>.mes-nav-section:nth-child(4n+3) .mes-nav-section-title{background:#ffebdd!important;color:#79523c!important;}
body.mes-spring .nb-sidebar nav.nb-nav>.mes-nav-section:nth-child(4n+4) .mes-nav-section-title{background:#fff4cb!important;color:#75612a!important;}
body.mes-spring .nb-sidebar nav.nb-nav a.active{background:#d5ede0!important;border-color:#85bca1!important;box-shadow:inset 4px 0 #43876a!important;font-weight:900!important;}
/* Consistent title bands; functional table cells and status colors are intentionally scoped out. */
body.mes-spring .nb-card>.nb-card-title{border:1px solid #d2e6d9;border-left:5px solid #82b89c;border-radius:10px;padding:11px 13px!important;gap:10px;flex-wrap:wrap;}
body.mes-spring .nb-card>.nb-card-title :is(h2,h3){color:#345b4a!important;}
body.mes-spring .nb-card>.nb-card-title .nb-admin-badge{background:#fffdf3!important;color:#756138!important;border-color:#e7dbb7!important;white-space:normal;line-height:1.4;}
body.mes-spring .nb-topbar,body.mes-spring .nb-dashboard-strip{background:linear-gradient(110deg,#e5f3e9,#eef7ff 65%,#fff5df)!important;border-color:#c8dfd0!important;border-top:4px solid #9bc9af!important;box-shadow:0 6px 22px #4d79620b!important;}
body.mes-spring .nb-topbar :is(h1,h2){color:#3e6456!important;}
body.mes-spring .mes-role-hero{border-radius:22px!important;border-top:5px solid #9ccbb2!important;box-shadow:0 9px 25px #5078620d!important;}
body.mes-spring .mes-dashboard-art{border:1px solid #e0e5ce;box-shadow:0 5px 15px #5a7a5b0c;}
body.mes-spring .mes-home-card{border-radius:17px!important;}
body.mes-spring .mes-home-section-head{gap:10px;flex-wrap:wrap;}
body.mes-spring .mes-home-section-head h2{padding-left:10px;border-left:4px solid #9cc5ae;line-height:1.5;}
body.mes-spring .mes-home-kpis .mes-home-go{display:inline-block;width:fit-content;max-width:100%;padding:4px 8px;border:1px solid #cbded3;border-radius:7px;background:#ffffffb8;color:#3a6855!important;line-height:1.5;}
body.mes-spring .mes-home-kpis .mes-home-number{color:#42685c!important;}
/* Login surfaces: colored edge, generous readable controls, no decorative overlap. */
body.mes-spring .teacher-login-card,body.mes-spring .nb-login-card{border-radius:20px!important;box-shadow:0 12px 35px #4a75621a!important;}
body.mes-spring .teacher-login-card input,body.mes-spring .nb-login-card :is(input,select){background:#fcfefb!important;border-color:#c7ddd0!important;border-radius:10px!important;}
body.mes-spring .mes-login-illustration{background:#fffdf5;border:1px solid #e6ead8;padding:6px;}
body.mes-spring .mvgw-module{border-color:#c1d8cb!important;box-shadow:0 5px 15px #46705c0c;}
body.mes-spring .mvgw-module:nth-child(1){background:#eaf4ff!important;}
body.mes-spring .mvgw-module:nth-child(2){background:#eaf7ee!important;}
body.mes-spring .mvgw-module:nth-child(3){background:#fff2df!important;}
body.mes-spring .mvgw-module .mvgw-go.primary{background:#397b67!important;border-color:#397b67!important;}
@media(max-width:600px){
 body.mes-spring .nb-card>.nb-card-title{padding:9px 10px!important;}
 body.mes-spring .mes-home-section-head h2{font-size:17px;}
 body.mes-spring .home-menu-panel{border-radius:18px!important;}
 body.mes-spring .mes-login-illustration{padding:3px;}
}
@media(prefers-reduced-motion:reduce){body.mes-spring .home-quick-card{transition:none!important;}}
@media print{body.mes-spring .nb-card>.nb-card-title,body.mes-spring .nb-topbar{background:#fff!important;box-shadow:none!important;}}
