:root{--bg:#f7f8fa;--surface:#fff;--ink:#1b2334;--muted:#697386;--line:#e9ecf2;--blue:#3265ec;--blue-soft:#edf2ff;--orange:#e98542;--green:#249876;--radius:20px;--shadow:0 7px 32px #23324d05;--sidebar:236px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:15px;line-height:1.55}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a{touch-action:manipulation}a{color:var(--blue);text-decoration:none}button{border:0}h1,h2,h3,h4,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.3px;line-height:1.2;font-weight:700}h2{font-size:23px;letter-spacing:-.6px;line-height:1.3}h3{font-size:17px;letter-spacing:-.25px}p{color:var(--muted)}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap{gap:24px}.stack>*+*{margin-top:16px}.hidden{display:none!important}.divider{height:1px;background:var(--line);margin:24px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 18px;border-radius:11px;font-size:13px;font-weight:650;line-height:1.4;background:var(--blue);color:white;transition:background .18s,transform .18s;white-space:nowrap}.btn:hover{background:#2554ce}.btn:active{transform:translateY(1px)}.btn.secondary{background:#f1f3f8;color:#45516a}.btn.secondary:hover{background:#e8edf6}.btn.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}.btn.danger{background:#fff0f0;color:#c63b42}.btn.tiny{min-height:34px;padding:7px 11px;font-size:12px}.icon-btn{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:transparent;color:var(--muted)}.icon-btn:hover{background:var(--blue-soft);color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9bb5ff;outline-offset:3px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:30px;background:#f0f3f8;color:#617087;padding:5px 10px;font-size:11px;font-weight:650;white-space:nowrap}.pill.blue{background:#eaf0ff;color:#3862c9}.pill.green{background:#e8f6ef;color:#248266}.pill.orange{background:#fff2e7;color:#bd712e}.pill.red{background:#ffeded;color:#bd4141}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:26px}.notice{padding:14px 18px;border-radius:12px;background:var(--blue-soft);color:#49638e;font-size:13px;line-height:1.6}.notice.warn{background:#fff5e9;color:#9a652a}.notice.error{background:#fff0f0;color:#ac3d43}.empty{padding:45px 20px;text-align:center;color:var(--muted)}.empty .icon{width:36px;height:36px;margin-bottom:14px;color:#a3afc3}.empty h3{color:var(--ink)}label.field{display:block;font-size:12px;color:#556177;font-weight:650;margin-bottom:16px}input:not([type=range]):not([type=radio]):not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #dfe4ed;background:white;border-radius:10px;padding:11px 12px;margin-top:7px;color:var(--ink);font-size:14px;min-height:44px}textarea{resize:vertical;min-height:100px;line-height:1.6}input[type=checkbox],input[type=radio]{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}input[type=range]{width:100%;accent-color:var(--blue);cursor:pointer;height:25px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:#7d8799;font-weight:650;background:#fafbfc}td,th{padding:15px 16px;border-bottom:1px solid var(--line);vertical-align:middle}td:last-child,th:last-child{text-align:right}tr:last-child td{border-bottom:0}.table-scroll{overflow:auto}.table-card{padding:0;overflow:hidden}.table-card h3{padding:22px 24px 0}.table-scroll table{min-width:620px}.boot{padding:20vh 20px;text-align:center;font-size:28px;font-weight:750}.boot span{font-weight:400;color:var(--blue)}.boot p{font-size:14px;font-weight:400;margin-top:16px}
/* Sign in */
.login{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh;background:#fff}.login-story{background:#edf2fa;position:relative;padding:52px 64px;display:flex;flex-direction:column;overflow:hidden}.brand{display:flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.9px;font-weight:750;color:#1c273b}.brand .mark{width:35px;height:35px;border-radius:11px;background:var(--blue);display:grid;place-items:center;color:white}.brand .mark .icon{width:23px;height:23px;fill:white;stroke:none}.brand .edu{color:#4f6daf;font-weight:400}.login-story h1{font-size:54px;font-weight:650;letter-spacing:-2.2px;max-width:420px;margin:68px 0 20px;line-height:1.08}.login-story h1 span{color:#5278cd}.login-story p{max-width:365px;font-size:16px;line-height:1.8;color:#697d9d}.login-art{margin:auto -25px 0;max-width:550px}.login-art svg{width:100%;height:auto}.login-footer{margin-top:25px;font-size:11px;color:#7d8ba3;letter-spacing:.1px}.login-form{display:flex;align-items:center;justify-content:center;padding:44px}.login-form-inner{width:100%;max-width:340px}.login-form h2{font-size:29px;letter-spacing:-.9px;margin-bottom:10px}.login-form p{margin-bottom:31px;font-size:14px}.login-form .btn{width:100%;margin-top:5px}.login-note{font-size:11px!important;line-height:1.7;margin-top:30px;color:#8a93a3}.input-error{color:#bd4141;font-size:13px;margin:15px 0}
/* App frame */
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:30px 20px 20px;border-right:1px solid var(--line);background:#fff;z-index:30;display:flex;flex-direction:column}.sidebar .brand{font-size:21px;margin:0 14px 43px;gap:9px}.sidebar .brand .mark{height:30px;width:30px;border-radius:9px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#99a1af;font-weight:700;padding:0 15px;margin:0 0 10px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;background:transparent;border-radius:11px;padding:12px 14px;color:#737d90;font-size:13px;font-weight:550;margin-bottom:4px;min-height:44px}.nav-item:hover{background:#f7f8fc;color:#3655a2}.nav-item.active{background:var(--blue-soft);color:var(--blue);font-weight:650}.nav-item .icon{width:19px;height:19px}.nav-bottom{margin-top:auto}.sidebar-help{margin:28px 0 22px;padding:18px 15px;border-radius:13px;background:#f8f9fc;font-size:11px;color:#8992a4;line-height:1.65}.sidebar-help strong{display:block;color:#64718b;font-size:12px;margin:9px 0 5px}.profile{display:flex;gap:10px;align-items:center;padding:15px 9px 0;border-top:1px solid var(--line)}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e7eefb;color:#4d6caa;font-size:11px;font-weight:700;flex-shrink:0}.profile-name{font-size:11px;font-weight:650;max-width:125px;overflow:hidden;text-overflow:ellipsis}.profile-role{font-size:10px;color:#939aaa}.profile .icon-btn{margin-left:auto;width:28px;height:33px}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 46px;border-bottom:1px solid var(--line);background:#ffffffa8;font-size:12px;color:#8b93a2}.topbar .crumb{color:#4a5870}.topbar-right{display:flex;gap:18px;align-items:center}.status-dot{width:6px;height:6px;border-radius:50%;background:#4ca889;display:inline-block;margin-right:7px}.mobile-menu{display:none}.page{max-width:1400px;margin:auto;padding:39px 46px 60px;animation:enter .25s ease-out}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:27px;gap:18px}.page-heading p{font-size:14px;margin:10px 0 0}.page-heading h1{margin:6px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:32px 0 17px}.section-heading h2{font-size:19px;margin:0}.text-link{font-size:12px;color:var(--blue);font-weight:600;display:inline-flex;gap:7px;align-items:center}.text-link .icon{width:15px;height:15px}.hero{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid #dfe7f5;border-radius:23px;background:linear-gradient(110deg,#edf3ff,#f3f6fc);padding:32px 36px;overflow:hidden;min-height:250px}.hero h2{font-size:30px;letter-spacing:-1px;max-width:360px;line-height:1.2;margin:13px 0}.hero p{max-width:370px;font-size:13px;color:#76839d;margin-bottom:23px}.hero .eyebrow{color:#6d86b0}.hero-art{display:flex;align-items:center;justify-content:center}.hero-art svg{width:100%;max-width:370px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:22px 0 0}.stat{padding:21px 24px;display:flex;gap:15px;align-items:center}.stat-icon{height:42px;width:42px;display:grid;place-items:center;border-radius:12px;background:#f2f5fa;color:#7f93b5}.stat-value{font-size:23px;font-weight:650;letter-spacing:-.8px;line-height:1.2}.stat-label{font-size:11px;color:#8c95a7;margin-top:4px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.course-card{padding:0;overflow:hidden;transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-3px);box-shadow:0 10px 32px #3249780d}.course-visual{height:138px;position:relative;padding:22px;display:flex;align-items:center;justify-content:center;background:#f0f5ff}.course-visual.orange{background:#fff4e9}.course-visual.green{background:#ebf5f0}.course-number{position:absolute;top:14px;left:17px;font-size:10px;font-weight:650;color:#8da0c1}.course-visual.orange .course-number{color:#cfa37b}.course-visual.green .course-number{color:#8fb5a4}.course-visual svg{height:105px;width:180px}.course-body{padding:22px 22px 20px}.course-body .eyebrow{font-size:8px;letter-spacing:1.2px}.course-body h3{font-size:17px;margin:6px 0 9px}.course-body p{font-size:12px;line-height:1.65;min-height:60px;margin-bottom:18px}.course-meta{font-size:10px;color:#8b94a5;display:flex;gap:15px;margin-bottom:17px}.course-meta .icon{width:12px;height:12px;margin-right:4px}.progress-track{height:4px;border-radius:10px;background:#edf0f5;overflow:hidden}.progress-fill{height:100%;background:var(--blue);border-radius:10px}.course-action{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:11px;color:#8a94a5}.bottom-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.tip-card{background:#fff;display:flex;gap:17px;align-items:flex-start}.tip-card p{font-size:12px;margin-bottom:13px}.tip-icon{color:#bd8b47;background:#fff5e6;padding:10px;border-radius:12px}
/* Learning */
.lesson-layout{display:grid;grid-template-columns:250px 1fr;gap:25px;align-items:start}.lesson-menu{padding:17px;position:sticky;top:20px}.lesson-menu .eyebrow{margin:8px 10px 18px}.lesson-item{display:flex;align-items:flex-start;gap:10px;text-align:left;width:100%;background:transparent;padding:13px 10px;border-radius:10px;font-size:12px;color:#7b8496;line-height:1.5;margin-bottom:4px}.lesson-item.active{background:var(--blue-soft);color:var(--blue)}.lesson-index{width:20px;height:20px;border-radius:50%;font-size:9px;display:grid;place-items:center;background:#eef1f6;flex-shrink:0}.lesson-index.done{background:#e4f4ed;color:#309674}.lesson-index .icon{height:12px;width:12px}.lesson-content{padding:36px 42px}.lesson-content h1{font-size:30px;margin:14px 0 8px}.lesson-content .lead{font-size:16px;color:#7a8ba5;margin-bottom:29px}.prose{font-size:15px;color:#5a667c;line-height:1.95;max-width:760px}.prose p{color:inherit;white-space:pre-wrap;margin:0 0 21px}.lesson-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:25px;margin-top:30px}.exam-intro{max-width:680px;margin:20px auto;padding:42px}.exam-intro h1{font-size:30px;margin-top:20px}.exam-info{display:flex;gap:27px;margin:25px 0}.exam-info strong{font-size:21px;display:block}.exam-info span{font-size:11px;color:#8991a2}.quiz{max-width:780px;margin:auto}.quiz-toolbar{position:sticky;top:0;z-index:5;background:var(--bg);padding:15px 0;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.question-card{padding:28px;margin-bottom:16px}.question-head{font-size:11px;color:#939db0;margin-bottom:13px;display:flex;justify-content:space-between}.question-card h3{line-height:1.6;font-size:15px;margin-bottom:20px}.choice{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:13px 15px;margin:10px 0;color:#63718a;font-size:13px;cursor:pointer}.choice:has(input:checked){border-color:#a4b9f5;background:#f3f6ff;color:#3659b1}.choice input{margin:0}.answer-review{padding:14px 17px;border-radius:10px;background:#f6f8fc;font-size:13px;margin:10px 0;color:#596b8a;white-space:pre-wrap}.grade-row{display:flex;align-items:center;gap:13px}.grade-row input{max-width:90px}.result-hero{text-align:center;padding:35px}.result-score{font-size:58px;letter-spacing:-3px;color:var(--blue);line-height:1.2;margin:15px 0}.pagination{display:flex;gap:12px;justify-content:flex-end;align-items:center;padding:18px;font-size:12px;color:var(--muted)}
/* Lab */
.lab-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.segmented{display:flex;padding:4px;border:1px solid var(--line);border-radius:11px;background:#eef1f6;gap:3px}.segment{padding:8px 17px;background:transparent;color:#788298;border-radius:8px;font-size:12px;font-weight:650;display:flex;align-items:center;gap:6px}.segment.active{background:white;color:var(--ink);box-shadow:0 2px 5px #00000008}.lab-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.lab-main{min-width:0}.lab-diagram{padding:25px 23px}.lab-diagram h3{font-size:13px;font-weight:650;margin-bottom:6px}.circuit{width:100%;height:auto;margin-top:10px}.circuit .pipe{fill:none;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;cursor:pointer;transition:stroke-width .15s}.circuit .pipe:hover,.circuit .pipe.selected{stroke-width:14}.circuit .pipe-hit{fill:none;stroke:transparent;stroke-width:34;cursor:pointer}.circuit text{font-family:inherit}.circuit .flow{fill:none;stroke:white;stroke-width:2;stroke-dasharray:3 18;stroke-linecap:round;pointer-events:none;animation:flow 2s linear infinite}.circuit button{cursor:pointer}.lab-controls{padding:24px;position:sticky;top:20px}.lab-controls h3{font-size:15px}.control-label{display:flex;justify-content:space-between;font-size:11px;margin:18px 0 1px;color:#7b879d;gap:10px}.control-label output{font-weight:650;color:#3c4b65;white-space:nowrap}.lab-controls .field{margin-bottom:12px}.lab-controls select{font-size:11px}.control-note{font-size:10px;color:#9ba4b4;line-height:1.6;margin-top:16px}.lab-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0}.lab-kpi{padding:18px 19px}.lab-kpi label{font-size:10px;color:#8792a6;display:block;margin-bottom:8px}.lab-kpi strong{font-size:25px;font-weight:650;letter-spacing:-.8px}.lab-kpi small{font-size:11px;color:#a2aaba;margin-left:4px}.delta{font-size:10px;color:#7891b3;margin-top:5px}.lab-details{display:grid;grid-template-columns:1fr 1fr;gap:17px}.chart-card{padding:20px;min-width:0}.chart-card h3{font-size:13px}.ph-chart{width:100%;height:auto}.point-card{padding:22px}.point-card h3{font-size:14px}.point-values{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:19px 0}.point-values dt{font-size:10px;color:#9aa4b5}.point-values dd{margin:3px 0 0;font-size:19px;letter-spacing:-.5px}.lab-warning{font-size:11px;color:#a77940;margin-top:10px;line-height:1.6}.busy-label{color:var(--blue);font-size:11px}.comparison{font-size:11px;color:#7891b3;margin-top:12px}
/* Chat */
.chat-layout{display:grid;grid-template-columns:245px 1fr;gap:22px;height:calc(100vh - 217px);min-height:500px}.chat-sidebar{padding:17px;overflow:auto}.chat-link{display:block;width:100%;border-radius:9px;text-align:left;padding:12px 11px;background:transparent;font-size:12px;color:#7d879a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0}.chat-link.active{background:var(--blue-soft);color:var(--blue)}.chat-panel{padding:0;display:flex;flex-direction:column;overflow:hidden;min-width:0}.chat-header{padding:19px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.tutor-avatar{height:34px;width:34px;border-radius:11px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}.chat-header strong{font-size:13px;display:block}.chat-header span{font-size:10px;color:#8e9aad}.messages{flex:1;overflow:auto;padding:24px 28px;scroll-behavior:smooth}.message{max-width:85%;margin-bottom:20px;white-space:pre-wrap;font-size:13px;line-height:1.85;overflow-wrap:anywhere}.message.user{margin-left:auto;background:var(--blue-soft);color:#4e659d;padding:14px 18px;border-radius:16px 16px 4px 16px}.message.assistant{padding:7px 0;color:#60718c}.message-meta{font-size:9px;color:#a1aabd;margin-top:7px}.chat-composer{padding:14px 21px 17px;border-top:1px solid var(--line)}.composer-row{display:flex;align-items:flex-end;gap:10px}.composer-row textarea{min-height:45px;max-height:140px;margin:0;font-size:12px}.chat-disclosure{font-size:9px;color:#97a1b1;margin:9px 0 0;text-align:center}.chat-welcome{max-width:370px;margin:45px auto;text-align:center}.chat-welcome .tutor-avatar{width:54px;height:54px;border-radius:18px;margin:0 auto 22px}.chat-welcome h2{font-size:23px}.chat-welcome p{font-size:13px}.suggestions{display:flex;flex-direction:column;gap:9px;margin-top:25px}.suggestions button{background:#f7f9fc;border:1px solid var(--line);padding:12px;border-radius:10px;text-align:left;color:#71809c;font-size:11px}.dots:after{content:' · · ·';animation:pulse 1.4s infinite}
/* Admin */
.admin-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}.admin-tab{font-size:12px;padding:12px 16px;color:#8d96a6;background:transparent;border-bottom:2px solid transparent;white-space:nowrap}.admin-tab.active{color:var(--blue);border-color:var(--blue)}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.admin-grid .stat{padding:22px}.admin-action{display:flex;gap:8px;align-items:center;justify-content:flex-end}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.admin-toolbar h3{margin:0}.content-list{display:flex;flex-direction:column;gap:10px}.content-row{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:11px}.content-row h4{font-size:12px;margin:0}.content-row p{font-size:10px;margin:3px 0 0}.content-row .admin-action{margin-left:auto}.content-module{margin-bottom:30px}.content-module-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}.content-module-head h3{margin:0}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor-grid .wide{grid-column:1/-1}.editor-grid label.field{margin:0}.content-body{min-height:300px!important}.check-row{display:flex;align-items:center;gap:9px;font-size:12px;color:#67778f;margin:10px 0}.account-card{max-width:540px}.account-card h3{margin-bottom:25px}.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sim-log{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.sim-log code{font-size:10px;display:block;white-space:pre-wrap;overflow-wrap:anywhere;color:#8f9bae;margin-top:7px}
/* Dialog and responsive */
.modal-backdrop{position:fixed;inset:0;background:#17213b45;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px}.modal{width:min(800px,100%);max-height:92vh;overflow:auto;background:white;border-radius:22px;box-shadow:0 30px 100px #1625442b;padding:30px}.modal.small-modal{max-width:460px}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.modal-head h2{margin:0;font-size:21px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.modal .prose{font-size:13px}.modal pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px inherit}#toast{position:fixed;bottom:25px;left:calc(50% + 95px);transform:translate(-50%,20px);background:#26354b;color:white;border-radius:12px;box-shadow:0 7px 30px #17234020;padding:13px 21px;z-index:200;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-overlay{display:none}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes flow{to{stroke-dashoffset:-42}}@keyframes pulse{50%{opacity:.3}}
@media(min-width:1500px){.page{padding-top:48px}.hero{min-height:275px}.course-visual{height:162px}}
@media(max-width:1200px){:root{--sidebar:210px}.page{padding:30px}.topbar{padding:0 30px}.hero{padding:28px}.hero h2{font-size:26px}.course-body{padding:18px}.course-body h3{font-size:15px}.course-body p{font-size:11px}.lab-grid{grid-template-columns:minmax(0,1fr) 245px}.lab-controls{padding:18px}.lab-details{grid-template-columns:1fr}.lesson-layout{grid-template-columns:210px 1fr}.lesson-content{padding:30px}.admin-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:950px){.course-grid{grid-template-columns:1fr}.course-card{display:grid;grid-template-columns:180px 1fr}.course-visual{height:100%;min-height:190px}.course-body p{min-height:0}.stats{gap:10px}.stat{padding:17px;gap:10px}.stat-icon{display:none}.bottom-grid{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.hero-art{display:none}.lesson-layout{grid-template-columns:1fr}.lesson-menu{position:static}.lesson-menu .lesson-item{display:inline-flex;width:auto;max-width:48%;margin-right:5px}.lab-grid{grid-template-columns:1fr}.lab-controls{position:static}.lab-controls-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.lab-details{grid-template-columns:1fr 1fr}.chat-layout{grid-template-columns:180px 1fr}.chat-sidebar{padding:10px}.login-story{padding:45px}.login-story h1{font-size:43px}.login-form{padding:33px}.topbar-right .top-date{display:none}}
@media(max-width:700px){:root{--sidebar:236px}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.mobile-overlay.open{display:block;position:fixed;inset:0;background:#1827414d;z-index:29}.main{margin-left:0}.topbar{height:64px;padding:0 18px;gap:13px;justify-content:flex-start}.mobile-menu{display:grid}.topbar-right{margin-left:auto}.page{padding:26px 18px 40px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:28px}.page-heading p{font-size:12px}.page-heading>.btn{padding:9px 12px;font-size:11px}.eyebrow{font-size:9px}.hero{padding:25px;min-height:230px}.hero h2{font-size:27px}.hero p{font-size:12px}.stats{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.stat{padding:18px 12px}.stat-value{font-size:22px}.stat-label{font-size:9px}.course-card{grid-template-columns:120px 1fr}.course-visual{padding:9px;min-height:180px}.course-visual svg{width:110px}.course-body{padding:17px}.course-body h3{font-size:14px}.course-body p{font-size:10px;margin-bottom:13px}.course-meta{gap:9px;font-size:9px}.course-action{font-size:10px}.text-link{font-size:10px}.section-heading{margin-top:28px}.section-heading h2{font-size:17px}.card{border-radius:16px}.bottom-grid{gap:14px}.lesson-content{padding:25px}.lesson-content h1{font-size:26px}.prose{font-size:14px}.lesson-menu .lesson-item{max-width:100%;display:flex;width:100%}.lesson-footer{flex-wrap:wrap}.exam-intro{padding:28px}.exam-info{gap:20px}.question-card{padding:22px}.quiz-toolbar{font-size:11px;gap:10px}.lab-toolbar{flex-wrap:wrap;align-items:flex-start}.lab-toolbar .segmented{max-width:100%}.segment{font-size:10px;padding:8px 12px}.lab-diagram{padding:19px 10px}.lab-diagram h3{padding-left:9px}.lab-kpis{gap:8px}.lab-kpi{padding:15px 12px}.lab-kpi label{font-size:9px}.lab-kpi strong{font-size:22px}.lab-details{grid-template-columns:1fr}.lab-controls-grid{grid-template-columns:1fr 1fr;gap:0 15px}.control-label{font-size:10px}.lab-controls{padding:22px}.chat-layout{display:flex;flex-direction:column;height:calc(100dvh - 185px);min-height:480px;gap:12px}.chat-sidebar{flex-shrink:0;max-height:100px;padding:10px;display:flex;align-items:center;gap:6px;overflow:auto}.chat-sidebar>.btn{flex-shrink:0}.chat-sidebar .eyebrow{display:none}.chat-link{min-width:110px;max-width:160px;flex-shrink:0;margin:0}.chat-panel{flex:1;min-height:0}.chat-header{padding:14px 18px}.messages{padding:18px}.chat-welcome{margin:24px auto}.chat-welcome h2{font-size:20px}.chat-welcome p{font-size:11px}.suggestions{margin-top:16px}.chat-composer{padding:12px}.chat-disclosure{font-size:8px}.message{max-width:95%;font-size:12px}.chat-header .pill{display:none}.admin-grid{gap:10px}.admin-grid .stat{padding:20px}.admin-tab{padding:10px 12px;font-size:11px}.admin-toolbar{align-items:flex-start;flex-wrap:wrap}.editor-grid{grid-template-columns:1fr}.editor-grid .wide{grid-column:auto}.modal-backdrop{padding:12px}.modal{padding:23px;max-height:94dvh}.modal-head h2{font-size:18px}.activity-grid{grid-template-columns:1fr}.content-row{padding:13px;gap:8px}.content-row h4{font-size:11px}.content-module-head{flex-wrap:wrap}.login{grid-template-columns:1fr}.login-story{padding:30px;min-height:315px}.login-story .brand{font-size:20px}.login-story h1{font-size:35px;letter-spacing:-1.2px;margin:30px 0 11px;max-width:310px}.login-story p{font-size:12px;max-width:290px;margin-bottom:0}.login-art,.login-footer{display:none}.login-form{padding:35px 30px 40px;align-items:flex-start}.login-form-inner{max-width:400px}.login-form h2{font-size:26px}.login-form p{font-size:13px;margin-bottom:23px}.login-note{margin-top:24px;font-size:10px!important}#toast{left:50%;bottom:18px;width:max-content;max-width:calc(100vw - 35px)}.topbar .crumb{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
