.dashboard-app[hidden]{display:none!important}
#authPanel[hidden],#accountHeader[hidden],#accountFooter[hidden],#studentDashboard[hidden]{display:none!important}
.dashboard-app{display:block;min-height:100vh;background:#f6f8fc;color:#1d2942;font-size:15px;line-height:1.9}
.dashboard-sidebar{position:fixed;z-index:20;right:0;top:0;bottom:0;width:278px;background:#fff;border-left:1px solid #e8edf4;padding:24px 17px 16px;display:flex;flex-direction:column;overflow-y:auto}
.dashboard-brand{display:flex;align-items:center;gap:12px;padding:2px 9px 24px;border-bottom:1px solid #eef1f6}
.dashboard-brand .brand-symbol{width:42px;height:42px;border-radius:13px}
.dashboard-brand b,.dashboard-brand small{display:block}
.dashboard-brand b{font-size:16px;color:#1c2942}
.dashboard-brand small{font-size:11px;color:#8491a5;margin-top:1px}
.sidebar-section-title{font-size:12px;font-weight:700;color:#9aa5b5;padding:20px 11px 9px}
.dashboard-nav{display:grid;gap:5px}
.dashboard-nav-item{height:48px;width:100%;display:flex;align-items:center;gap:12px;text-align:right;padding:0 12px;border:0;border-radius:11px;background:transparent;color:#66758d;font:inherit;font-size:14px;text-decoration:none;transition:background .18s,color .18s}
.dashboard-nav-item:hover{background:#f5f6fb;color:#465fd1}
.dashboard-nav-item.active{background:#eef1ff;color:#5069dd;font-weight:700}
.nav-icon{width:24px;text-align:center;font-size:18px;color:#8593ab}
.dashboard-nav-item.active .nav-icon{color:#5d73df}
.dashboard-nav-item small{margin-right:auto;font-size:10px;color:#a6afbd;background:#f4f5f8;padding:2px 7px;border-radius:9px}
.dashboard-nav-item:disabled{cursor:not-allowed;opacity:.72}
.nav-arrow{margin-right:auto;font-size:15px}
.account-nav-title{margin-top:12px}
.sidebar-bottom{margin-top:auto;padding-top:16px}
.sidebar-user{min-height:62px;border-top:1px solid #eef1f5;padding:13px 3px 12px;display:flex;align-items:center;gap:10px}
.user-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e9edff;color:#526bdd;font-size:17px;font-weight:700}
.sidebar-user-meta{min-width:0;display:grid;gap:1px;flex:1}
.sidebar-user-meta b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-user-meta small{font-size:11px;color:#929daf}
.sidebar-user-menu{border:0;background:transparent;color:#8996a9;font-size:21px;letter-spacing:1px}
.sidebar-user-menu{display:flex;align-items:center;gap:5px;font-size:11px;letter-spacing:0;color:#7f8ca0;white-space:nowrap}.sidebar-user-menu span{font-size:17px}
.sidebar-home-link{height:40px;display:flex;align-items:center;padding:0 11px;border:1px solid #e8edf3;border-radius:10px;color:#65748c;font-size:12px}
.dashboard-workspace{margin-right:278px;min-height:100vh;padding-top:76px}
.dashboard-topbar{position:fixed;top:0;right:278px;left:0;z-index:15;height:76px;background:rgba(255,255,255,.97);border-bottom:1px solid #e9edf3;display:flex;align-items:center;padding:0 clamp(22px,4vw,52px);gap:14px;backdrop-filter:blur(12px)}
.dashboard-breadcrumb{display:flex;align-items:center;gap:10px;font-size:13px;color:#8a96a8;flex:1}
.dashboard-breadcrumb i{font-style:normal;color:#c2cad5}
.dashboard-breadcrumb b{font-weight:700;color:#34435e}
.dashboard-top-actions{display:flex;align-items:center;gap:22px}
.notification-wrap{position:relative}
.notification-button{height:42px;min-width:44px;border:1px solid #e8edf4;border-radius:12px;background:#fff;color:#677791;position:relative;display:flex;align-items:center;justify-content:center;gap:5px}
.bell-icon{font-size:21px}
.notification-count{font-size:10px;color:#8b97a9}
.notification-popover{position:absolute;top:51px;left:0;width:330px;padding:15px;background:#fff;border:1px solid #e7ebf2;border-radius:15px;box-shadow:0 18px 45px #2736561c;z-index:30}
.notification-popover[hidden]{display:none}
.popover-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;border-bottom:1px solid #eff1f5}
.popover-heading b{font-size:14px}
.popover-heading span{font-size:11px;color:#909bad}
.notification-empty{padding:24px 10px 18px;display:grid;justify-items:center;gap:5px;text-align:center}
.notification-empty>span{width:42px;height:42px;display:grid;place-items:center;background:#f0f2ff;color:#657be2;border-radius:50%;font-size:20px;margin-bottom:5px}
.notification-empty b{font-size:13px}
.notification-empty small{font-size:11px;color:#929daf}
.top-user{display:flex;align-items:center;gap:10px;padding-right:19px;border-right:1px solid #edf0f4}
.top-user-text{display:grid;gap:0;text-align:right}
.top-user-text b{font-size:13px;color:#34415a}
.top-user-text small{font-size:11px;color:#909bad}
.top-avatar{width:40px;height:40px}
.sidebar-toggle{display:none}
.dashboard-content{max-width:1370px;padding:33px clamp(22px,4vw,52px) 26px;margin:0 auto}
.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.welcome-date{font-size:13px;color:#7786a0;font-weight:600}
.dashboard-welcome h1{font-size:30px;line-height:1.5;letter-spacing:-.5px;margin:3px 0 4px;color:#1d2942}
.dashboard-welcome p{font-size:14px;color:#7e8ba0;margin:0;line-height:1.9}
.dashboard-cta{min-height:46px;font-size:13px;white-space:nowrap}
.dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:17px}
.dashboard-metric{background:#fff;border:1px solid #e9edf3;border-radius:15px;padding:19px;min-height:126px;display:flex;align-items:flex-start;gap:14px;box-shadow:0 4px 15px #25385d05}
.metric-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:19px;flex:none}
.metric-symbol.indigo{background:#eff1ff;color:#6178df}
.metric-symbol.green{background:#eaf8f2;color:#2a9d79}
.metric-symbol.gold{background:#fff5e3;color:#d3a345}
.dashboard-metric>div{display:grid;gap:1px}
.dashboard-metric small{font-size:12px;color:#7f8ca0}
.dashboard-metric b{font-size:26px;line-height:1.5;color:#273650}
.dashboard-metric span:last-child{font-size:11px;color:#99a4b3}
.dashboard-metric.profile-metric b{font-size:20px}
.dashboard-metric b.status-word{font-size:20px;color:#299d78}.dashboard-metric b.mobile-word{font-size:18px;direction:ltr;unicode-bidi:isolate}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:17px;margin-bottom:17px}
.dashboard-panel{background:#fff;border:1px solid #e9edf3;border-radius:15px;padding:21px;box-shadow:0 4px 15px #25385d05}
.dashboard-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.dashboard-panel-heading h2{font-size:17px;margin:0;color:#273650}
.dashboard-panel-heading p{font-size:12px;color:#8d99aa;margin:4px 0 0}
.panel-decoration{width:34px;height:34px;border-radius:10px;background:#fff5e2;color:#d8a848;display:grid;place-items:center;font-size:17px}
.learning-empty{display:flex;align-items:center;gap:19px;border-top:1px solid #eef1f5;margin-top:17px;padding-top:20px}
.empty-illustration{width:68px;height:68px;display:grid;place-items:center;flex:none;border-radius:18px;background:linear-gradient(145deg,#f0f2ff,#e6ebff);color:#667be0;font-size:29px}
.learning-empty b{font-size:15px;color:#394760}
.learning-empty p{font-size:12px;line-height:1.9;color:#8692a5;margin:5px 0 13px;max-width:620px}
.learning-empty .button{height:40px;font-size:11px;padding:0 14px}
.verified-label{display:inline-flex;align-items:center;gap:6px;color:#2a9d78;background:#eaf8f2;border-radius:20px;padding:5px 10px;font-size:10px;white-space:nowrap}
.verified-label i{width:6px;height:6px;background:#2da780;border-radius:50%}
.profile-detail-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eff1f5;padding:13px 0}
.profile-detail-row:first-of-type{margin-top:8px}
.profile-detail-row span{font-size:12px;color:#8491a4}
.profile-detail-row b{font-size:13px;color:#35435c;text-align:left}
.text-button{border:0;background:transparent;color:#9a6470;font:inherit;font-size:12px;padding:13px 0 1px}
.text-button span{margin-right:6px}
.dashboard-help{display:flex;align-items:center;gap:14px;padding:17px 20px}
.help-icon{width:38px;height:38px;display:grid;place-items:center;background:#f0f3ff;color:#6379dc;border-radius:50%;font-weight:700;font-size:18px;flex:none}
.dashboard-help>div{flex:1}
.dashboard-help b{font-size:13px}
.dashboard-help p{font-size:11px;color:#8b97a8;margin:3px 0 0}
.dashboard-help>a{color:#596fd8;font-size:11px;font-weight:700;white-space:nowrap}
.dashboard-footer{display:flex;justify-content:space-between;padding:19px 2px 0;color:#9aa5b3;font-size:10px}
.dashboard-backdrop{display:none}
.auth-heading h2{font-size:25px}.auth-heading p{font-size:13px;line-height:1.9}.auth-heading .section-kicker{font-size:12px}.account-form{gap:13px}.account-form label{font-size:13px}.account-form input,.account-form select{height:49px;font-size:14px;padding:0 14px}.account-form .button{height:50px;font-size:14px}.form-consent{font-size:11px}.step-label,.back-step,.form-description,.resend-row{font-size:12px}.account-form h3{font-size:21px}.form-description{font-size:13px;line-height:1.9}.account-alert{font-size:12px;padding:11px 13px}.auth-tabs button{height:42px;font-size:13px}.auth-message h1{font-size:38px}.auth-message p{font-size:14px}.auth-points{font-size:13px}.auth-aside-foot{font-size:11px}
@media(max-width:1100px){.dashboard-sidebar{width:250px}.dashboard-workspace{margin-right:250px}.dashboard-topbar{right:250px}.dashboard-content{padding-right:25px;padding-left:25px}.dashboard-columns{grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr)}.dashboard-metric{padding:15px;gap:11px}.dashboard-metric span:last-child{font-size:10px}}
@media(max-width:780px){.dashboard-sidebar{width:280px;right:0;transform:translateX(105%);transition:transform .25s ease;box-shadow:-12px 0 35px #17284314}.dashboard-sidebar.open{transform:translateX(0)}.dashboard-workspace{margin-right:0;padding-top:68px}.dashboard-topbar{right:0;height:68px;padding:0 18px}.dashboard-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:19;background:#17243c66;backdrop-filter:blur(2px)}.sidebar-toggle{display:grid;place-items:center;width:42px;height:42px;background:#fff;border:1px solid #e8edf4;border-radius:11px;color:#596985;font-size:17px}.dashboard-top-actions{gap:12px}.dashboard-content{padding:25px 20px}.dashboard-welcome h1{font-size:26px}.dashboard-welcome p{font-size:13px}.dashboard-metrics{gap:11px}.dashboard-metric{min-height:115px;padding:14px}.dashboard-columns{grid-template-columns:1fr}.profile-panel{order:2}}
@media(max-width:560px){.dashboard-topbar{padding:0 13px;gap:9px}.dashboard-breadcrumb{font-size:11px;gap:7px}.dashboard-top-actions{gap:8px}.notification-button{height:39px;min-width:40px}.notification-popover{position:fixed;top:74px;left:12px;right:12px;width:auto}.top-user{padding-right:9px;gap:7px}.top-user-text b{max-width:94px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.top-user-text small{font-size:9px}.top-avatar{width:36px;height:36px;font-size:14px}.dashboard-content{padding:22px 14px}.dashboard-welcome{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:18px}.dashboard-welcome h1{font-size:24px}.dashboard-welcome p{font-size:12px}.dashboard-cta{width:100%;justify-content:center}.dashboard-metrics{grid-template-columns:1fr;gap:9px}.dashboard-metric{min-height:0;padding:13px 14px;align-items:center}.dashboard-metric b{font-size:22px}.dashboard-metric>div{grid-template-columns:1fr auto;align-items:center;gap:0 10px;flex:1}.dashboard-metric small{font-size:11px}.dashboard-metric span:last-child{grid-column:1/-1;margin-top:1px}.dashboard-metric.profile-metric b{font-size:18px}.dashboard-panel{padding:16px}.dashboard-panel-heading h2{font-size:15px}.dashboard-panel-heading p{font-size:11px}.learning-empty{align-items:flex-start;gap:12px;padding-top:15px}.empty-illustration{width:48px;height:48px;border-radius:13px;font-size:22px}.learning-empty b{font-size:13px}.learning-empty p{font-size:11px}.profile-detail-row span{font-size:11px}.profile-detail-row b{font-size:12px}.dashboard-help{align-items:flex-start;flex-wrap:wrap}.dashboard-help>div{flex-basis:calc(100% - 55px)}.dashboard-help p{font-size:10px}.dashboard-help>a{margin-right:52px}.dashboard-footer{font-size:9px;gap:10px;flex-direction:column}.sidebar-toggle{width:38px;height:38px}.account-page{font-size:15px}.auth-heading h2{font-size:22px}.auth-heading p{font-size:12px}.account-form label{font-size:12px}.account-form input,.account-form select{font-size:14px}.auth-message h1{font-size:30px}}
/* Student menu remains anchored while its own content can scroll. */
#studentDashboard{transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
#studentSidebar{position:fixed!important;top:0!important;bottom:auto!important;height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;flex-shrink:0}
#studentSidebar>*{flex-shrink:0}
@media(min-width:781px){#studentSidebar{transform:none!important;right:0!important}}
