@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{--blue:#1769aa;--blue-dark:#10558d;--blue-soft:#eaf3fb;--ink:#172b4d;--muted:#718096;--line:#e5ebf2;--surface:#fff;--page:#f6f8fb;--green:#21966b;--shadow:0 12px 35px rgba(27,55,90,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input{font:inherit}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--blue);margin:0 0 9px}.eyebrow-light{color:#c9e5ff}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:800;letter-spacing:.5px}.brand b{color:var(--blue)}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--blue);color:white;font-size:18px;font-weight:800}.brand-light{color:#fff}.brand-light .brand-mark{background:#fff;color:var(--blue)}.brand-dark{color:var(--ink)}
.auth-page{background:#fff;min-height:100vh}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{padding:48px 9%;display:flex;flex-direction:column;justify-content:space-between;color:white;background:linear-gradient(145deg,#145c98,#2384c5);position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-190px;bottom:-230px;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025)}.auth-brand-copy{max-width:510px;position:relative;z-index:1}.auth-brand h1{font-size:clamp(36px,4.5vw,58px);line-height:1.12;letter-spacing:-2px;margin:15px 0}.auth-brand h1 span{color:#c6e6ff}.auth-brand-copy p{font-size:16px;color:#e0f1ff;max-width:400px}.auth-footnote{font-size:12px;color:#d9edff;position:relative;z-index:1}.auth-panel{display:grid;place-items:center;padding:35px}.auth-card{width:min(100%,390px)}.auth-card>.brand{margin-bottom:54px}.auth-card h2{font-size:30px;letter-spacing:-1px;margin:0 0 5px}.auth-card>.muted{margin:0 0 28px}.form-stack{display:flex;flex-direction:column;gap:9px}.form-stack label{font-weight:650;font-size:12px;margin-top:7px}.form-stack input{height:48px;border:1px solid #dce4ed;border-radius:8px;padding:0 14px;outline:none;background:#fff;color:var(--ink)}.form-stack input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(23,105,170,.1)}.button{height:43px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;font-weight:700;font-size:12px;border:1px solid transparent;cursor:pointer;transition:.18s}.button-primary{background:var(--blue);color:#fff}.button-primary:hover{background:var(--blue-dark)}.button-outline{border-color:#cbd9e7;color:var(--blue);background:white}.button-full{width:100%;margin-top:13px}.form-message{min-height:20px;font-size:12px;color:var(--blue)}.auth-help{border-top:1px solid var(--line);margin-top:27px;padding-top:18px;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:8px}.help-dot{width:7px;height:7px;background:var(--green);border-radius:50%}.copyright{font-size:10px;color:#9aa7b7;margin-top:48px}
.app-layout{min-height:100vh}.sidebar{width:245px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:25px 18px;display:flex;flex-direction:column;z-index:5}.sidebar>.brand{padding:0 7px 34px}.nav-caption{font-size:9px;font-weight:800;letter-spacing:1.4px;color:#9aa7b7;padding:0 10px;margin:0 0 10px}.side-nav{display:grid;gap:5px}.nav-link{height:42px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:8px;color:#607187;font-size:12px;font-weight:600}.nav-link span{font-size:17px;width:18px;text-align:center}.nav-link:hover,.nav-link.active{background:var(--blue-soft);color:var(--blue)}.sidebar-bottom{margin-top:auto}.sidebar-support{background:#f4f8fc;padding:14px;border-radius:9px;margin-bottom:15px}.sidebar-support strong{font-size:12px}.sidebar-support p{font-size:11px;color:var(--muted);margin:5px 0 0}.main-area{margin-left:245px;min-height:100vh}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 36px;gap:15px}.topbar-spacer{flex:1}.topbar-label{font-size:9px;letter-spacing:1.3px;color:#91a0b2;font-weight:800}.avatar{height:32px;width:32px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-weight:800}.menu-button{display:none;border:0;background:none;font-size:22px;color:var(--ink)}.page-content{max-width:1180px;padding:34px 38px;margin:0 auto}.welcome-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.welcome-row h1,.course-heading h1{font-size:27px;letter-spacing:-1px;margin:0 0 5px}.welcome-row p.muted,.course-heading p.muted{margin:0}.date-chip{background:#fff;border:1px solid var(--line);padding:9px 13px;border-radius:8px;font-size:11px;color:#61738a}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;display:flex;align-items:center;gap:14px}.stat-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;font-size:19px}.stat-icon.blue{background:#eaf3fb;color:var(--blue)}.stat-icon.green{background:#e8f7f0;color:var(--green)}.stat-icon.violet{background:#f0edff;color:#7965c9}.stat-card p{font-size:11px;color:var(--muted);margin:0 0 3px}.stat-card strong{font-size:22px}.section-block{margin-top:35px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section-heading h2{font-size:19px;margin:0;letter-spacing:-.5px}.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.course-card{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.course-cover{height:130px;padding:17px 20px;position:relative;overflow:hidden;color:#fff}.cover-blue{background:linear-gradient(120deg,#145b98,#3289c8)}.cover-sky{background:linear-gradient(120deg,#3688bd,#8cc9e8)}.course-cover>span{font-size:10px;letter-spacing:1.4px;font-weight:800;position:relative;z-index:1}.cover-symbol{position:absolute;right:28px;bottom:-43px;font-size:145px;font-weight:800;line-height:1;color:rgba(255,255,255,.16)}.course-body{padding:19px}.course-tag{font-size:9px;letter-spacing:1px;color:var(--blue);font-weight:800}.course-body h3{font-size:16px;margin:6px 0 2px}.course-body>p{margin:0}.progress-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:17px 0 7px}.progress-meta strong{color:var(--ink)}.progress-track{height:6px;border-radius:20px;background:#edf1f5;overflow:hidden}.progress-track span{height:100%;display:block;background:var(--blue);border-radius:20px}.course-body .button{margin-top:18px}.resource-row{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px 16px}.resource-icon{height:38px;width:38px;border-radius:8px;background:#fff0ef;color:#d65b50;display:grid;place-items:center;font-size:9px;font-weight:800}.resource-copy{flex:1}.resource-copy strong{font-size:12px}.resource-copy p{margin:2px 0 0}.resource-arrow{color:var(--blue);font-size:18px}.page-footer{border-top:1px solid var(--line);margin-top:45px;padding:18px 0;color:#9aa7b7;font-size:10px}
.back-link{display:inline-block;color:var(--blue);font-size:11px;font-weight:700;margin-bottom:22px}.course-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);padding:23px;border-radius:11px}.course-progress-box{width:155px;flex-shrink:0}.course-progress-box strong{display:block;font-size:25px}.course-progress-box .progress-track{margin-top:8px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr);gap:18px;margin-top:20px}.lesson-main,.lesson-list{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.video-placeholder{aspect-ratio:16/9;background:#102f4d;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;gap:8px}.play-button{height:52px;width:52px;border-radius:50%;background:#fff;color:var(--blue);display:grid;place-items:center;padding-left:3px;font-size:18px}.video-placeholder p{font-weight:700;margin:5px 0 0}.video-placeholder>span{font-size:10px;color:#b8d4e9}.lesson-info{padding:20px 20px 14px}.lesson-info h2{font-size:19px;margin:0 0 4px}.lesson-info p:last-child{margin:0}.lesson-main>.resource-row{border:0;border-top:1px solid var(--line);border-radius:0;margin:0 18px;padding:15px 0}.lesson-list-head{padding:18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.lesson-list-head h3{font-size:13px;margin:0}.unit-item{border-bottom:1px solid #f0f3f6}.unit-button{width:100%;border:0;background:white;padding:13px 15px;display:flex;justify-content:space-between;text-align:left;color:var(--ink);font-weight:700;font-size:11px;cursor:pointer}.unit-button:hover{background:#f8fbfe}.unit-lessons{padding:0 15px 10px;display:grid;gap:5px}.unit-lessons a{font-size:10px;color:#65758a;padding:6px 8px;border-radius:5px}.unit-lessons a:hover{background:var(--blue-soft);color:var(--blue)}
@media(max-width:900px){.sidebar{width:215px}.main-area{margin-left:215px}.page-content{padding:28px 24px}.lesson-layout{grid-template-columns:1fr}.lesson-list{order:2}}
@media(max-width:680px){.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:230px;padding:25px 26px}.auth-brand-copy{margin:48px 0 28px}.auth-brand h1{font-size:34px}.auth-brand-copy p{font-size:13px}.auth-footnote{font-size:10px}.auth-panel{padding:36px 24px}.auth-card>.brand{margin-bottom:35px}.sidebar{transform:translateX(-100%);transition:transform .2s ease;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.main-area{margin-left:0}.topbar{padding:0 18px;height:60px}.menu-button{display:block}.page-content{padding:25px 17px}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row h1,.course-heading h1{font-size:23px}.date-chip{display:none}.stats-grid{grid-template-columns:1fr;gap:9px}.stat-card{padding:13px}.course-grid{grid-template-columns:1fr}.course-heading{align-items:flex-start;flex-direction:column}.course-progress-box{width:100%}.lesson-layout{grid-template-columns:1fr}.section-heading .muted{display:none}}

[hidden] { display: none !important; }
.access-status { margin: 1rem; }
#reset-password { margin-top: .75rem; }
button:disabled { cursor: not-allowed; opacity: .65; }

#courses-status:empty, #course-status:empty { display: none; }
#course-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.course-card h3, #course-title { overflow-wrap: anywhere; }

#student-lesson-message:empty, #lesson-player:empty { display: none; }

#student-lesson-list {
  display: grid;
  gap: .5rem;
  list-style: none;
  padding: 0;
}

#student-lesson-list button {
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  overflow-wrap: anywhere;
}

#student-lesson-list button[aria-pressed="true"] {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.lesson-video-frame {
  display: block;
  max-width: 52rem;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
}

#lesson-player a {
  display: inline-block;
  margin-top: .5rem;
}
