@charset "UTF-8";
:root{--bg:#f7f8fa;--surface:#fff;--ink:#202b3a;--muted:#83909e;--line:#e8ecf0;--accent:#e96847;--accent-light:#fff0e9;--green:#44816d;--sidebar:238px;--radius:16px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e99979;outline-offset:3px}svg{width:20px;height:20px;display:block;flex-shrink:0;stroke-width:1.7}button{border:0;background:none;color:inherit}h1,h2,h3,h4,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.2;font-weight:650;margin-bottom:10px}h2{font-size:19px;letter-spacing:-.45px;font-weight:650}h3{font-size:15px;font-weight:650}p{line-height:1.65}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:700;color:var(--accent);text-transform:uppercase}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 19px 0;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding-left:7px;font-weight:750;letter-spacing:-1px;font-size:25px;line-height:1.1}.brand-mark{width:39px;height:39px;background:var(--accent);border-radius:12px;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:750;font-size:28px;letter-spacing:-3px;box-shadow:0 4px 12px #e9684724}.brand-mark span{color:#ffd6bc}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:1.7px;color:#9aa1a8;margin-top:7px;font-weight:600}.workspace-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#77838f;margin:31px 6px 35px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6a9e81;flex-shrink:0}.local-tag{font-size:8px;letter-spacing:.7px;border:1px solid var(--line);border-radius:4px;padding:3px 4px;margin-left:auto;color:#8b959f}.nav-label{font-size:9px;letter-spacing:1.6px;color:#a2aab2;padding:0 12px;margin-bottom:13px;font-weight:600}nav{display:grid;gap:6px}nav a{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 12px;color:#73808e;font-size:12px;font-weight:550;border-radius:8px;transition:.2s}nav a:hover{background:#f7f8fa;color:var(--ink)}nav a.active{background:var(--accent-light);color:#d96243}nav a svg{width:18px;height:18px}.nav-count{margin-left:auto;color:#96a0a9;font-size:10px;border:1px solid var(--line);border-radius:5px;padding:2px 5px}.nav-indicator{display:none;margin-left:auto;width:5px;height:5px;background:var(--accent);border-radius:50%}.active .nav-indicator{display:block}.sidebar-bottom{margin-top:auto}.offline-card{background:#f8f9fa;border:1px solid #edf0f2;border-radius:11px;padding:16px 13px;margin:35px 5px 18px}.offline-card svg{color:#98a59a;width:21px;margin-bottom:11px}.offline-card strong{font-size:10px;font-weight:600}.offline-card p{font-size:10px;color:#9aa2ac;margin:7px 0 0;line-height:1.7}.settings-link{display:flex;align-items:center;gap:8px;padding:12px 8px 19px;font-size:10px;color:#8c97a1}.settings-link svg{width:16px}.profile{border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;padding:20px 3px}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#f0e9e2;color:#a18b79;width:35px;height:35px;border-radius:50%;font-size:12px;font-weight:600;flex-shrink:0}.avatar.small{width:31px;height:31px;font-size:11px}.profile strong{font-size:10px;display:block}.profile small{font-size:9px;color:#9ca5ad;display:block;margin-top:4px}.profile .status-dot{margin-left:auto;width:5px;height:5px}.app-shell{margin-left:var(--sidebar)}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 39px;background:#ffffffcf;backdrop-filter:blur(16px);position:sticky;top:0;z-index:20}.breadcrumb{font-size:11px;color:#929ba5;display:flex;gap:13px;align-items:center}.breadcrumb strong{font-weight:500;color:#515e6b;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb span{color:#c3cbd3}.topbar-actions{display:flex;align-items:center;gap:24px}.search-box{display:flex;align-items:center;gap:9px;color:#a7afb7}.search-box svg{width:16px;height:16px}.search-box input{background:none;border:0;width:150px;font-size:11px;color:var(--ink);outline:0}.search-box input::placeholder{color:#9da6af}kbd{font-family:inherit;font-size:10px;color:#a1aab2;border:1px solid var(--line);padding:2px 5px;border-radius:4px}.offline-badge{display:flex;align-items:center;gap:7px;color:#8c9893;font-size:10px}.offline-badge .status-dot{width:5px;height:5px}main{padding:35px 39px 32px;min-height:calc(100vh - 134px);max-width:1600px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px;gap:20px}.page-heading p{color:#8a95a1;font-size:12px;margin:0}.date-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#99a2ab;padding-top:10px;white-space:nowrap}.date-label svg{width:14px;height:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;min-height:39px;padding:10px 16px;border-radius:7px;font-size:11px;font-weight:600;line-height:1.2;transition:background .2s,transform .2s}.btn:hover{transform:translateY(-1px)}.btn svg{width:15px;height:15px}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 4px 10px #e9684717}.btn.primary:hover{background:#d95a3a}.btn.secondary{border-color:var(--line);background:white;color:#6c7885}.btn.soft{background:var(--accent-light);color:var(--accent)}.btn.dark{background:#243240;color:#fff}.text-link{display:inline-flex;align-items:center;gap:7px;color:#7e8996;font-size:10px;font-weight:550}.text-link svg{width:14px;height:14px}.hero{display:grid;grid-template-columns:1.4fr .8fr;background:#f0ede8;border:1px solid #e9e4dd;border-radius:var(--radius);position:relative;overflow:hidden;min-height:257px;margin-bottom:22px}.hero-content{padding:28px 31px;z-index:1}.hero .eyebrow{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1.4px;color:#a38972}.hero .eyebrow svg{width:13px;height:13px}.hero h2{font-size:30px;line-height:1.23;letter-spacing:-.9px;margin:17px 0 9px;max-width:500px}.hero p{font-size:11px;color:#8e8b87;max-width:430px;margin-bottom:21px}.hero-actions{display:flex;align-items:center;gap:16px}.hero-caption{font-size:10px;color:#928c83}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:250px;isolation:isolate}.hero-art:before{content:"";position:absolute;width:245px;height:245px;border:1px solid #ded8cf;border-radius:50%;transform:rotate(-20deg)}.hero-art:after{content:"";position:absolute;width:305px;height:305px;border:1px solid #e4ded5;border-radius:50%;z-index:-1}.code-tile{width:185px;height:141px;background:#fff;border:1px solid #e6dfd5;border-radius:13px;transform:rotate(-9deg);box-shadow:8px 15px 30px #98866b14;padding:18px;color:#8d83a5;position:relative}.tile-dots{display:flex;gap:4px;margin-bottom:19px}.tile-dots i{width:4px;height:4px;background:#dfdad3;border-radius:50%}.code-tile b{font-family:Consolas,monospace;font-size:26px;letter-spacing:-1.5px;color:#747193}.code-tile small{font-family:Consolas,monospace;font-size:10px;display:block;color:#b5a999;margin-top:8px}.art-chip{position:absolute;bottom:42px;right:28px;display:flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid #e6dfd5;border-radius:10px;background:#fffefc;transform:rotate(5deg);box-shadow:3px 8px 17px #98866b0e;font-size:10px;color:#8d8d81}.art-chip svg{width:19px;color:#7e9a83}.spark{position:absolute;color:#c3a281;font-size:25px;left:25px;top:47px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:31px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:11px;padding:17px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.stat-label{font-size:10px;color:#89949f;margin-bottom:9px}.stat-value{font-size:23px;font-weight:600;letter-spacing:-.7px}.stat-value small{font-size:11px;color:#a3acb5;font-weight:400;letter-spacing:0}.stat-card>span{background:#f5f6f8;color:#98a4af;display:flex;padding:8px;border-radius:9px}.stat-card>span svg{width:16px;height:16px}.stat-card:first-child>span{background:#fff2ea;color:#d58b68}.mini-progress{height:3px;background:#f0f2f5;border-radius:3px;margin-top:10px;overflow:hidden}.mini-progress i{display:block;height:100%;background:var(--accent);border-radius:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-heading h2{margin:0;font-size:17px}.section-heading p{font-size:10px;color:#99a1aa;margin:7px 0 0}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.course-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.course-banner{height:119px;background:#e9edf2;display:flex;align-items:center;justify-content:space-between;padding:20px 24px;position:relative;overflow:hidden}.course-banner:after{content:"";width:200px;height:200px;border:1px solid #d9e0e8;border-radius:50%;position:absolute;right:-15px;top:-44px}.course-banner .eyebrow{font-size:8px;letter-spacing:1.6px;color:#7b899d;margin-bottom:11px}.course-banner h3{font-size:23px;color:#3e4b5f;margin:0;font-weight:650;letter-spacing:-.8px}.php-badge{font:italic bold 47px Georgia,serif;color:#9aa7ba;letter-spacing:-4px;position:relative;z-index:1;margin-right:12px}.course-card-body{padding:20px 23px}.course-meta{display:flex;gap:14px;font-size:9px;color:#9aa4af;flex-wrap:wrap;margin-bottom:17px}.course-meta span{display:flex;align-items:center;gap:5px}.course-meta svg{width:12px;height:12px}.course-card-body h3{font-size:16px;margin:0 0 8px}.course-card-body p{font-size:10px;color:#8d98a4;margin-bottom:18px;max-width:450px}.progress-label{display:flex;justify-content:space-between;font-size:9px;color:#909ba6}.progress-label strong{color:#667687;font-weight:550}.course-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:9px;line-height:1.2;border-radius:5px;padding:5px 7px;background:#f4f6f8;color:#8b97a3}.pill.orange{background:#fff0e9;color:#cc8063}.pill.green{background:#edf6f0;color:#619376}.side-widget{border:1px solid var(--line);border-radius:12px;padding:19px;background:#fff;margin-bottom:16px}.side-widget .section-heading{margin-bottom:16px}.side-widget h3{font-size:12px;margin:0}.side-widget .eyebrow{font-size:8px;color:#a8b0b8}.task-preview{display:flex;gap:11px;align-items:flex-start}.task-preview .task-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#c69a74;background:#faf2e9;flex-shrink:0}.task-preview svg{width:16px}.task-preview h4{font-size:11px;margin:2px 0 5px}.task-preview p{font-size:9px;color:#9da6af;line-height:1.5;margin-bottom:12px}.side-widget .btn{width:100%;font-size:10px;min-height:33px;padding:8px}.hint-widget{background:#eff3ef;border-color:#e6ece5}.hint-widget>svg{color:#7e997d;width:20px;margin-bottom:11px}.hint-widget h3{color:#697d68;font-size:11px;margin-bottom:7px}.hint-widget p{font-size:10px;color:#8e9c8a;line-height:1.7;margin-bottom:0}.path-section{margin-top:28px}.path-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.path-item{padding:16px 14px;background:#fff;border:1px solid var(--line);border-radius:10px;position:relative}.path-item .path-number{width:25px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f5f7f9;color:#9ea9b4;font-size:9px;margin-bottom:12px}.path-item.active{border-color:#edc4b3;background:#fffdfc}.path-item.active .path-number{background:var(--accent-light);color:#d78060}.path-item h3{font-size:10px;margin-bottom:7px}.path-item p{font-size:8px;color:#9ca6b0;margin:0;line-height:1.5}footer{padding:19px 39px;border-top:1px solid var(--line);color:#aab2ba;font-size:9px;display:flex;justify-content:space-between;gap:10px}footer span{font-size:8px;letter-spacing:1.4px}footer b{color:#cead8b;padding:0 7px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:7px;color:#8b98a6}.icon-button:hover{background:#eef1f4;color:#384657}.mobile-menu{display:none}.loading{text-align:center;padding:15vh 0;color:#94a0ab}.loading p{margin-top:18px;font-size:12px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,15px);background:#263747;color:#fff;padding:12px 20px;border-radius:10px;box-shadow:0 8px 30px #172c4820;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:calc(100vw - 30px)}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:16px;box-shadow:0 15px 100px #17263b30;padding:30px;max-width:min(750px,92vw);width:650px;color:var(--ink)}dialog::backdrop{background:#202b3a65;backdrop-filter:blur(3px)}dialog h2{margin-right:25px}dialog p{font-size:12px;color:#7f8c99}.modal-close{position:absolute;right:14px;top:14px}.skip-link{position:fixed;top:-50px;left:250px;z-index:1000;background:#fff;padding:12px}.skip-link:focus{top:10px}.filter-bar{display:flex;align-items:center;gap:8px;margin-bottom:22px;flex-wrap:wrap}.filter-chip{border:1px solid var(--line);background:#fff;border-radius:7px;padding:8px 13px;font-size:10px;color:#8b97a3}.filter-chip.active{background:#243240;color:#fff;border-color:#243240}.filter-bar .search-box{margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 12px}.stage{margin-bottom:15px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.stage summary{display:flex;gap:14px;align-items:center;padding:21px;cursor:pointer;list-style:none}.stage summary::-webkit-details-marker{display:none}.stage-number{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f5f6f8;color:#939fac;border-radius:10px;font-size:12px;flex-shrink:0}.stage summary h3{margin:0 0 5px;font-size:13px}.stage summary p{font-size:10px;color:#9aa5b0;margin:0}.stage-meta{margin-left:auto;display:flex;align-items:center;gap:14px;color:#9da8b3;font-size:10px}.stage[open] summary .chevron{transform:rotate(90deg)}.lesson-row{padding:12px 23px 12px 27px;display:flex;align-items:center;gap:12px;border-top:1px solid #f1f3f5;font-size:11px;min-height:52px}.lesson-row:hover{background:#fcf8f5}.lesson-row.current{background:#fff6ef}.lesson-row .lesson-number{width:24px;text-align:center;color:#a2adb7;font:10px Consolas,monospace}.lesson-row .lesson-title{flex:1;line-height:1.5}.lesson-row .lesson-duration{font-size:10px;color:#a4adb7}.lesson-row svg{width:15px;height:15px;color:#aab4be}.lesson-row.done svg{color:#74a18d}.lesson-row .pill{font-size:8px}.empty-state{text-align:center;background:#fff;border:1px dashed #dde3e9;border-radius:12px;padding:50px 20px;color:#8a97a4}.empty-state>svg{margin:0 auto 18px;width:35px;height:35px;color:#bac3cc}.empty-state h3{font-size:15px;color:#586979}.empty-state p{font-size:12px}.homework-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.homework-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;align-items:flex-start}.homework-card .eyebrow{font-size:9px;color:#9ca6b0;letter-spacing:1.3px;margin:16px 0 10px}.homework-card h3{line-height:1.5;font-size:15px;margin-bottom:12px}.homework-card p{font-size:11px;color:#909daa;margin-bottom:17px;flex:1}.homework-card .btn{margin-top:18px;width:100%}.homework-card .card-top{width:100%;display:flex;justify-content:space-between;align-items:center}.homework-card .card-top>svg{padding:8px;box-sizing:content-box;background:var(--accent-light);color:#d48d70;border-radius:10px}.notes-list{display:grid;gap:13px}.note-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:11px}.note-card h3{font-size:13px;margin-bottom:10px}.note-card p{font-size:12px;color:#8793a0;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:15px}.bookmark-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.bookmark{padding:6px 10px;border:1px solid #ead7c9;background:#fff8f0;border-radius:6px;color:#b78b64;font-size:10px;display:inline-flex;gap:7px;align-items:center}.bookmark button{font-size:13px;padding:0;color:#b8a391}.material-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.material-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.material-card h3{font-size:15px}.material-card>svg{color:#a39888;margin-bottom:16px}.material-card p{font-size:12px;color:#8d99a5}.material-actions{display:flex;gap:8px;flex-wrap:wrap}.document-text{max-height:65vh;overflow:auto;padding-right:12px}.document-text p{line-height:1.8;font-size:12px}.settings-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:27px;max-width:850px;margin-bottom:20px}.settings-panel h2{font-size:17px}.settings-panel p{font-size:12px;color:#8c99a6}.setting-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0;gap:20px}.setting-row:last-child{padding-bottom:0}.setting-row strong{font-size:12px;font-weight:600}.setting-row small{display:block;font-size:10px;color:#98a4af;margin-top:6px}.setting-row select{border:1px solid var(--line);background:#f8f9fa;padding:8px 11px;border-radius:6px;color:#667585;font-size:11px}.setting-row input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.help-text{background:#f8f9fa;border-radius:8px;padding:15px;font-size:11px;line-height:1.8;color:#8795a3;margin-top:18px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:23px;align-items:start}.lesson-main{min-width:0}.lesson-side{position:sticky;top:99px;max-height:calc(100vh - 125px);overflow:auto;scrollbar-width:thin;border-radius:12px;background:#fff;border:1px solid var(--line)}.lesson-side-header{padding:18px;border-bottom:1px solid var(--line)}.lesson-side-header h3{font-size:12px;margin:0 0 8px}.lesson-side-header .progress-label{font-size:9px}.lesson-side .stage{border:0;border-radius:0;margin:0}.lesson-side .stage summary{padding:15px 13px;gap:9px;border-bottom:1px solid var(--line)}.lesson-side .stage-number{width:24px;height:24px;border-radius:6px;font-size:9px}.lesson-side .stage summary h3{font-size:10px;line-height:1.5;margin:0}.lesson-side .stage summary p{display:none}.lesson-side .stage-meta{font-size:8px;gap:5px}.lesson-side .stage-meta .stage-time{display:none}.lesson-side .lesson-row{font-size:10px;padding:11px 12px;gap:8px}.lesson-side .lesson-row .lesson-number{font-size:8px;width:16px}.lesson-side .lesson-row .lesson-duration{font-size:8px}.lesson-side .lesson-row .pill{display:none}.lesson-side .lesson-row svg{width:13px;height:13px}.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.lesson-top .eyebrow{font-size:9px;letter-spacing:1.3px}.lesson-top .text-link{font-size:10px}.video-shell{border-radius:13px;overflow:hidden;background:#10171f;border:1px solid #182331;position:relative}.video-shell video{display:block;width:100%;aspect-ratio:16/9;background:#0d141d;object-fit:contain}.video-tools{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:9px 12px;background:#1b2634;color:#b6c2cf;flex-wrap:wrap}.video-tools-left,.video-tools-right{display:flex;align-items:center;gap:5px}.video-tools button{font-size:9px;padding:5px 7px;display:flex;gap:5px;align-items:center;border-radius:4px}.video-tools button:hover{background:#2c3b4e}.video-tools button svg{width:13px;height:13px}.video-tools select{font-size:10px;color:#c1cbd5;border:0;background:#273446;border-radius:5px;padding:5px 7px}.video-tools label{display:flex;align-items:center;gap:5px;font-size:9px}.video-tools input{accent-color:var(--accent)}.video-error{background:#fff0e9;color:#ae6149;font-size:11px;padding:14px;line-height:1.6}.lesson-title-block{padding:22px 0 19px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.lesson-title-block h1{font-size:22px;letter-spacing:-.6px;margin-bottom:8px}.lesson-info{display:flex;gap:13px;align-items:center;color:#9aa6b2;font-size:10px}.lesson-title-block .btn{flex-shrink:0;font-size:10px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow:auto}.tab{white-space:nowrap;font-size:11px;color:#94a0ad;padding:0 0 13px;position:relative}.tab.active{color:#d87a5a}.tab.active:after{content:"";position:absolute;height:2px;left:0;right:0;bottom:0;background:var(--accent)}.tab-content{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px;min-height:150px}.tab-content h3{font-size:14px}.tab-content p{font-size:12px;color:#8c99a7}.lesson-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.lesson-navigation .btn{font-size:10px}.tip{display:flex;align-items:flex-start;gap:10px;background:#f5f7f8;padding:13px;border-radius:8px;font-size:10px;color:#8e9ba8;line-height:1.7;margin:17px 0}.tip svg{width:16px;height:16px;color:#9aa8b6;flex-shrink:0;margin-top:2px}.check-list{display:grid;gap:10px;margin:18px 0}.check-item{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:7px;font-size:11px;line-height:1.7;color:#778694;cursor:pointer}.check-item input{margin-top:3px;accent-color:var(--accent)}.check-item:has(input:checked){background:#f5f9f6;border-color:#dbe8df;color:#82a08e}.homework-status-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.note-textarea{width:100%;min-height:170px;resize:vertical;border:1px solid var(--line);border-radius:8px;padding:14px;font-size:12px;line-height:1.8;color:#526477;background:#fcfdfd}.note-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.note-actions span{font-size:9px;color:#9aa6b1}.source-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px}.source-list{max-height:400px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:5px}.source-file{display:block;text-align:left;width:100%;padding:8px;font:10px Consolas,monospace;overflow-wrap:anywhere;color:#8d9aa8;border-radius:4px}.source-file.active{background:#fff0e9;color:#c97959}.source-code{margin:0;background:#f6f8fa;border:1px solid var(--line);border-radius:7px;padding:15px;overflow:auto;max-height:440px;font:11px/1.8 Consolas,monospace;white-space:pre;color:#66798c;tab-size:4}.source-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.source-toolbar .btn{font-size:10px;min-height:32px;padding:7px 11px}.source-toolbar>span{font-size:10px;color:#98a4af;margin-right:auto}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.editor-toolbar .btn{font-size:10px;min-height:33px;padding:8px 11px}.file-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:9px}.file-tab{padding:7px 10px;font:10px Consolas,monospace;border:1px solid var(--line);border-radius:6px;background:#f7f9fa;color:#8494a4;display:flex;align-items:center;gap:8px}.file-tab.active{background:#263649;color:#e3eaf0;border-color:#263649}.file-tab .file-delete{font-size:13px;opacity:.6;padding:0}.code-editor{width:100%;min-height:290px;background:#1c2837;color:#d2dfeb;border:1px solid #263649;resize:vertical;border-radius:8px;padding:17px;font:12px/1.85 Consolas,"Courier New",monospace;tab-size:4;white-space:pre;overflow:auto;outline:0}.editor-caption{font-size:9px;color:#9ea9b3;margin:7px 0 15px}.preview-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 10px}.preview-header h4{font-size:11px;margin:0}.preview-header span{font-size:9px;color:#a0abb5}.preview-frame{width:100%;height:250px;background:#fff;border:1px solid var(--line);border-radius:8px}.run-info{font:10px/1.8 Consolas,monospace;white-space:pre-wrap;background:#f8f9fa;border:1px solid var(--line);padding:12px;border-radius:7px;color:#8795a4;overflow-wrap:anywhere}.focus-mode .sidebar,.focus-mode .topbar,.focus-mode footer,.focus-mode .lesson-side{display:none}.focus-mode .app-shell{margin-left:0}.focus-mode main{max-width:1300px}.focus-mode .lesson-layout{grid-template-columns:1fr}.focus-mode .video-shell video{max-height:70vh}.focus-mode .focus-exit{display:inline-flex}.focus-exit{display:none}.error-box{background:#fff0e9;border:1px solid #f0cdbd;color:#ac684c;padding:16px;border-radius:10px;font-size:12px;line-height:1.8}.search-result-title{font-size:11px;color:#96a2ae;margin:0 0 15px}.search-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}body:has(dialog[open]){overflow:hidden}
@media(min-width:1600px){:root{--sidebar:260px}.topbar{padding-left:50px;padding-right:50px}main{padding:40px 50px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 310px}.hero h2{font-size:35px}.hero-content{padding:35px}.hero{min-height:280px}.path-item h3{font-size:12px}.path-item p{font-size:10px}.stat-card{padding:22px}.homework-card p{font-size:12px}}
@media(max-width:1180px){:root{--sidebar:215px}.sidebar{padding-left:13px;padding-right:13px}.topbar{padding:0 25px}main{padding:28px 25px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.hero-content{padding:26px}.hero h2{font-size:26px}.hero-art:after{width:240px;height:240px}.hero-art:before{width:195px;height:195px}.code-tile{width:150px;height:125px}.art-chip{right:6px;bottom:34px}.search-box input{width:115px}.lesson-layout{grid-template-columns:minmax(0,1fr) 240px;gap:17px}.lesson-title-block{flex-direction:column}.homework-grid{grid-template-columns:1fr 1fr}.topbar-actions{gap:15px}.lesson-side .stage-meta{display:none}.lesson-side .stage summary h3{font-size:9px}.stats-grid{gap:10px}.stat-card{padding:15px 13px}.stat-card>span{padding:5px}.stat-value{font-size:20px}.hero-caption{font-size:9px}}
@media(max-width:980px){:root{--sidebar:195px}.brand{font-size:22px;gap:8px}.brand small{font-size:7px}.brand-mark{width:33px;height:33px;font-size:24px}.workspace-label{font-size:9px;gap:4px}.local-tag{font-size:7px}.sidebar nav a{font-size:10px;gap:9px;padding:0 10px}.offline-card{padding:13px 10px}.offline-card strong{font-size:9px}.offline-card p{font-size:9px}.profile strong{font-size:9px}.profile small{font-size:8px}.settings-link{font-size:8px}.dashboard-columns{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dashboard-side .side-widget{margin-bottom:0}.path-list{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1.7fr 1fr}.hero-art .code-tile{width:125px;height:110px;padding:14px}.code-tile b{font-size:21px}.hero-art .art-chip{font-size:8px;gap:5px;padding:8px;right:0}.hero-art .spark{left:0}.topbar .offline-badge{display:none}.lesson-layout{grid-template-columns:1fr}.lesson-side{position:static;max-height:500px}.source-layout{grid-template-columns:140px minmax(0,1fr)}.breadcrumb strong{max-width:200px}.material-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:17px}.stat-value{font-size:23px}.topbar{height:67px}footer{padding:17px 25px}footer>span{display:none}.date-label{font-size:8px}.page-heading h1{font-size:26px}}
@media(max-width:720px){:root{--sidebar:238px}.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 40px #1a2c3a10}.sidebar.open{transform:translateX(0)}.sidebar nav a{font-size:12px}.sidebar .brand{font-size:25px}.sidebar .brand-mark{width:39px;height:39px}.sidebar .brand small{font-size:8px}.workspace-label{font-size:11px}.profile strong{font-size:10px}.profile small{font-size:9px}.settings-link{font-size:10px}.app-shell{margin-left:0}.mobile-menu{display:flex}.topbar{padding:0 17px;gap:10px;height:62px}.breadcrumb{margin-right:auto;font-size:10px;gap:8px}.breadcrumb strong{max-width:150px}.topbar-actions{gap:10px}.topbar .search-box{display:none}.avatar.small{width:27px;height:27px}main{padding:25px 18px;min-height:calc(100vh - 115px)}h1{font-size:25px}.page-heading{margin-bottom:22px}.date-label{display:none}.hero{min-height:240px;grid-template-columns:1fr .5fr}.hero-content{padding:23px}.hero h2{font-size:25px;margin-top:16px}.hero .eyebrow{font-size:8px;letter-spacing:1px}.hero p{font-size:10px}.hero-art:before{width:165px;height:165px}.hero-art:after{width:220px;height:220px}.hero-art .code-tile{width:100px;height:100px;transform:rotate(-12deg) translateX(10px)}.code-tile b{font-size:18px}.code-tile small{font-size:8px}.tile-dots{margin-bottom:12px}.hero-art .art-chip{right:-30px;bottom:28px;font-size:7px}.hero-art .spark{font-size:20px;left:-5px;top:45px}.hero-actions{gap:10px;flex-wrap:wrap}.hero-caption{font-size:8px}.hero .btn{font-size:10px;padding:10px 12px}.stat-label{font-size:9px}.stats-grid{margin-bottom:25px}.stat-card{padding:15px}.dashboard-side{grid-template-columns:1fr 1fr;gap:12px}.side-widget{padding:16px}.hint-widget p{font-size:9px}.path-list{gap:10px}.homework-grid{grid-template-columns:1fr 1fr;gap:12px}.homework-card{padding:16px}.homework-card h3{font-size:13px}.homework-card p{font-size:10px}.homework-card .btn{font-size:10px}.stage summary{padding:17px 14px;gap:10px}.stage summary h3{font-size:12px}.stage summary p{font-size:9px}.stage-meta{font-size:9px;gap:8px}.stage-meta .stage-time{display:none}.lesson-row{padding:12px 14px;gap:9px}.lesson-row .pill{font-size:7px}.filter-bar .search-box{width:100%;margin-top:4px}.filter-bar .search-box input{width:100%}.lesson-title-block h1{font-size:21px}.video-tools{padding:8px;gap:6px}.video-tools button{font-size:8px;padding:4px}.video-tools label{font-size:8px}.video-tools select{font-size:9px}.video-tools-right{margin-left:auto}.tab-content{padding:16px}.tabs{gap:20px}.tab{font-size:10px}.source-layout{grid-template-columns:1fr}.source-list{max-height:115px}.source-code{font-size:10px}.note-actions{align-items:flex-start}.note-actions span{max-width:120px;line-height:1.5}.settings-panel{padding:20px}.setting-row{gap:15px}.setting-row strong{font-size:11px}.setting-row small{font-size:9px}.toast{left:50%;font-size:11px}.lesson-top .eyebrow{font-size:8px}.lesson-top .text-link{font-size:9px}.lesson-navigation .btn{font-size:9px;padding:10px}footer{padding:18px;font-size:8px}.skip-link{left:15px}.brand-mark{letter-spacing:-2px}.material-card{padding:19px}.source-toolbar .btn{font-size:9px}.code-editor{font-size:11px}.preview-frame{height:230px}}
@media(max-width:420px){.hero{grid-template-columns:1fr}.hero-art{display:none}.hero-content{padding:24px}.hero h2{font-size:27px}.hero p{max-width:240px}.hero-caption{font-size:9px}.dashboard-side,.homework-grid{grid-template-columns:1fr}.stat-card>span{display:none}.path-item h3{font-size:10px}.breadcrumb{font-size:9px}.breadcrumb strong{max-width:125px}.tabs{gap:15px}.video-tools-right{margin-left:0}.course-meta{gap:9px}.lesson-title-block h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
