/* Student-only responsive redesign. Educator, public and admin screens unaffected. */
body.fmt-student-page{background:#f8faf8;overflow-x:clip}
body.fmt-student-page .site-header{background:#fff!important;border-bottom:1px solid #e4ecea;box-shadow:0 1px 8px rgba(14,48,52,.04)}
body.fmt-student-page .site-header .header-inner{width:min(100% - 32px,1200px)!important;max-width:1200px!important;margin:auto!important;min-height:76px;display:flex!important;align-items:center!important;gap:14px!important}
body.fmt-student-page .site-header .brand{margin-right:auto!important;min-width:0;flex-shrink:0}
body.fmt-student-page .site-header .brand img{width:auto!important;max-width:155px!important;max-height:55px!important;object-fit:contain}
body.fmt-student-page .fmt-student-desktop-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
body.fmt-student-page .fmt-student-desktop-actions>a,body.fmt-student-page .fmt-student-desktop-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 17px;border:1px solid #dce9e6;border-radius:9px;background:#fff;color:#153c42;text-decoration:none;font-size:14px;font-weight:650;white-space:nowrap;cursor:pointer;font-family:inherit}
body.fmt-student-page .fmt-student-desktop-actions .fmt-student-desktop-search{padding:9px 13px;color:#087d74}
body.fmt-student-page .fmt-student-desktop-actions .fmt-student-desktop-saved{background:#edf6f3}
body.fmt-student-page .fmt-student-desktop-actions .fmt-student-desktop-logout button{background:#0d766e;color:white;border-color:#0d766e}
body.fmt-student-page .fmt-student-desktop-logout{margin:0}
body.fmt-student-page .fmt-student-search-quick,body.fmt-student-page .site-header .menu-toggle{display:none!important}
body.fmt-student-page #nav[hidden]{display:none!important}
body.fmt-student-page .fmt-learner-dashboard{padding-block:26px 48px;background:#f8faf8}
body.fmt-student-page .fmt-learner-dashboard>.container{width:min(100% - 36px,1150px)!important;max-width:1150px!important;margin-inline:auto!important}
body.fmt-student-page .fmt-learner-hero{border:1px solid #e4ecea;box-shadow:0 8px 25px rgba(20,64,61,.04)}
body.fmt-student-page .fmt-learner-ad{margin-top:20px}
body.fmt-student-page .fmt-learner-search>*{min-width:0}
body.fmt-student-page .fmt-learner-search .btn{min-height:47px}
body.fmt-student-page .fmt-learner-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
body.fmt-student-page .fmt-learner-stats .surface{min-width:0}
body.fmt-student-page .fmt-learner-stats strong{overflow-wrap:anywhere}
body.fmt-student-page .fmt-learner-record>*{min-width:0}
body.fmt-student-page .fmt-learner-recs>*{min-width:0}
@media(max-width:1050px){body.fmt-student-page .fmt-learner-stats{grid-template-columns:repeat(3,minmax(0,1fr))}body.fmt-student-page .fmt-learner-recs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 body.fmt-student-page .site-header .header-inner{width:calc(100% - 24px)!important;min-height:64px!important;gap:5px!important;padding:0!important}
 body.fmt-student-page .site-header .brand img{max-width:min(130px,35vw)!important;max-height:48px!important}
 body.fmt-student-page .fmt-student-desktop-actions{display:none!important}
 body.fmt-student-page .fmt-student-search-quick,body.fmt-student-page .site-header .menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:10px!important;color:#086f68!important}
 body.fmt-student-page .site-header .menu-toggle{font-size:23px!important;background:#edf6f3!important;border:1px solid #e0ece9!important}
 body.fmt-student-page #nav[hidden]{display:none!important}
 body.fmt-student-page #nav:not([hidden]){position:absolute!important;top:calc(100% + 5px)!important;right:0!important;left:auto!important;width:min(290px,calc(100vw - 24px))!important;max-height:calc(100dvh - 90px)!important;overflow:auto!important;background:#fff!important;box-shadow:0 14px 40px rgba(15,54,56,.17)!important;border-radius:13px!important;border:1px solid #dce9e6!important;display:flex!important;flex-direction:column!important;padding:9px!important;z-index:1500!important}
 body.fmt-student-page #nav>a,body.fmt-student-page #nav button.nav-link{display:flex!important;align-items:center!important;width:100%!important;min-height:46px!important;text-align:left!important;font-size:14px!important;border-radius:8px!important}
 body.fmt-student-page #nav .fmt-student-logout{width:100%!important;margin:0!important}
 body.fmt-student-page .fmt-learner-dashboard{padding-block:15px 34px}
 body.fmt-student-page .fmt-learner-dashboard>.container{width:calc(100% - 24px)!important}
 body.fmt-student-page .fmt-learner-hero{padding:clamp(17px,4vw,26px)!important}
 body.fmt-student-page .fmt-learner-hero h1{font-size:clamp(24px,6vw,33px)!important;line-height:1.2!important;overflow-wrap:break-word}
 body.fmt-student-page .fmt-learner-search{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important}
 body.fmt-student-page .fmt-learner-search label{width:100%!important;min-width:0!important}
 body.fmt-student-page .fmt-learner-search .btn{width:100%!important;white-space:normal!important}
 body.fmt-student-page .fmt-learner-quick{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body.fmt-student-page .fmt-learner-quick .btn{width:100%!important;text-align:center!important;justify-content:center!important;white-space:normal!important}
 body.fmt-student-page .fmt-learner-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.fmt-student-page .fmt-learner-stats .surface{padding:15px!important}
 body.fmt-student-page .fmt-learner-stats strong{font-size:24px!important}
 body.fmt-student-page .fmt-learner-recs{grid-template-columns:minmax(0,1fr)!important}
 body.fmt-student-page .fmt-learner-section{padding:18px!important}
 body.fmt-student-page .fmt-learner-record{flex-wrap:wrap}
 body.fmt-student-page .fmt-learner-ad{padding:18px!important}
 body.fmt-student-page .fmt-social-float{left:6px!important;right:auto!important;bottom:100px!important;top:auto!important;transform:none!important;opacity:.82!important;z-index:30!important}
 body.fmt-student-page .fmt-social-float a{width:34px!important;height:34px!important}
}
@media(max-width:350px){body.fmt-student-page .fmt-learner-stats{grid-template-columns:1fr!important}body.fmt-student-page .fmt-learner-section-head{flex-wrap:wrap}}
