:root{--green:#315a35;--lime:#96b847;--ink:#223529;--muted:#68756b;--line:#dfe5db;--bg:#f5f6f0;--white:#fff;--red:#a13131}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:9px;padding:10px 16px;color:var(--ink);font-weight:600}button:hover{background:#edf2e8}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#23452a}.danger{color:var(--red)}.small{font-size:13px;padding:6px 10px}.link{border:0;background:transparent;color:var(--green);padding:8px 0}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.2;letter-spacing:-1px;margin-bottom:12px}h2{font-size:22px;line-height:1.3}h3{font-size:17px;margin-bottom:8px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800;color:var(--green)}.brand{width:172px;height:auto;display:block}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:32px 24px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand-wrap{padding:0 0 32px}.brand-wrap small{font-size:10px;letter-spacing:2px;color:var(--muted)}nav{display:grid;gap:8px}nav button{text-align:left;border:0;background:transparent;font-weight:500}nav button.active{background:#eaf0df;color:var(--green);font-weight:750}.side-bottom{margin-top:auto;padding-top:32px;font-size:12px;overflow-wrap:anywhere}.side-bottom button{margin-top:10px}.main{padding:0 42px 44px;min-width:0}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin-bottom:34px;gap:16px}.topbar span{font-size:12px;color:var(--muted)}.avatar{width:36px;height:36px;border-radius:50%;background:#dce8cb;display:grid;place-items:center;color:var(--green);font-weight:800}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.heading p{margin-bottom:0}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.stat,.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px}.stat strong{display:block;font-size:32px;line-height:1.3}.stat span{color:var(--muted);font-size:13px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}.card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.cover{height:180px;background:linear-gradient(145deg,#dce5cd,#eaf0e2);display:flex;align-items:center;justify-content:center;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.cover .dome{font-size:72px;color:#315a3566}.card-body{padding:22px}.card-body p{font-size:13px;color:var(--muted)}.card-body .actions{margin-top:18px}.badge{font-size:11px;font-weight:700;border-radius:50px;background:#edf1e7;color:var(--green);padding:4px 10px;white-space:nowrap}.badge.warn{background:#fff1db;color:#855a1b}.badge.off{background:#f4e4e1;color:#91372f}.course-title{display:flex;justify-content:space-between;gap:12px;align-items:start}.course-title h3{margin-top:12px}.empty{padding:50px 24px;text-align:center;border:1px dashed #c7d3bc;border-radius:14px;background:#fafbf7}.empty p{max-width:430px;margin:0 auto 18px;color:var(--muted)}label{display:block;font-size:13px;font-weight:650;margin-bottom:16px}input,textarea,select{display:block;width:100%;margin-top:6px;border:1px solid #cbd5c4;border-radius:8px;padding:11px 12px;background:white;color:var(--ink)}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #a0bf6666;outline-offset:2px}textarea{min-height:100px;resize:vertical}.field-help{font-size:12px;color:var(--muted);margin-top:-8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{grid-column:1/-1}.module{margin-bottom:16px}.module-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px}.module-head h3{margin:0}.lesson-row{display:flex;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.lesson-row .name{flex:1;min-width:0}.lesson-row strong{display:block;overflow-wrap:anywhere}.number{background:#f0f3ea;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;font-size:12px;flex-shrink:0}.subheading{margin:30px 0 18px}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.table td,.table th{padding:14px 12px;border-bottom:1px solid var(--line);font-size:13px}.table th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}.table td small{display:block;color:var(--muted)}.search{max-width:340px;margin-bottom:20px}.progress{height:5px;background:#e4eadc;border-radius:5px;margin:14px 0 7px;overflow:hidden}.progress meter{width:100%;height:10px;display:block;margin-top:-3px;accent-color:var(--green)}.hero{background:var(--green);color:white;border-radius:16px;padding:32px;margin-bottom:28px;position:relative;overflow:hidden}.hero .eyebrow{color:#c8df9b}.hero h2{font-size:27px;max-width:600px}.hero p{color:#d5e2d0;max-width:540px;margin-bottom:0}.player-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.video-box{background:#13221a;border-radius:12px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center;color:white}.video-box video,.video-box iframe{width:100%;height:100%;border:0}.video-box p{padding:20px;text-align:center}.lesson-info{padding:24px 0}.description{white-space:pre-wrap;overflow-wrap:anywhere}.playlist{padding:20px}.playlist details{border-bottom:1px solid var(--line);padding:12px 0}.playlist summary{cursor:pointer;font-weight:700;font-size:13px}.playlist button{display:flex;width:100%;text-align:left;gap:10px;border:0;font-size:13px;font-weight:400;margin-top:5px;background:transparent}.playlist button.selected{background:#edf3e6;color:var(--green);font-weight:700}.notice{background:#edf3e4;border:1px solid #d4e0c4;border-radius:10px;padding:14px 18px;font-size:13px;margin-bottom:20px}.error{background:#fff0ed;color:#963a32;border-color:#eac2bb}.loading{padding:80px;text-align:center}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--green);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:12%;position:relative;overflow:hidden}.auth-story h1{font-size:52px;max-width:470px}.auth-story p{color:#d5e2cd;max-width:420px;font-size:17px}.auth-story .eyebrow{color:#c2dc90}.geometry{font-size:140px;line-height:1;color:#a6c46d;margin-bottom:40px}.auth-form{padding:60px 10%;display:flex;flex-direction:column;justify-content:center;max-width:660px;width:100%;margin:auto}.auth-form .brand{width:220px;margin-bottom:50px}.auth-form form{margin-top:16px}.auth-form .primary{width:100%}.auth-form footer{font-size:12px;color:var(--muted);margin-top:42px}dialog{border:1px solid var(--line);border-radius:18px;max-width:620px;width:calc(100% - 32px);padding:28px;color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#17291b99;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dialog-head h2{margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203b28;color:white;padding:14px 22px;border-radius:12px;max-width:calc(100% - 32px);z-index:100;display:none;box-shadow:0 8px 30px #0002}#toast.show{display:block}.mobile-label{display:none}.back{margin-bottom:18px}.footnote{font-size:12px;color:var(--muted);margin-top:28px}.cover-preview{width:100%;max-height:180px;object-fit:cover;border-radius:10px;margin:8px 0}.preview-banner{background:#fff4d9;border:1px solid #e7d39e;padding:12px 16px;border-radius:10px;margin-bottom:18px;font-size:13px}
@media(min-width:1500px){.main{max-width:1450px;width:100%;margin:auto}}@media(max-width:1050px){.main{padding:0 24px 30px}.shell{grid-template-columns:205px 1fr}.sidebar{padding:25px 16px}.player-layout{grid-template-columns:1fr}.auth-story h1{font-size:40px}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand-wrap{padding:0 0 16px}.brand{width:140px}.brand-wrap small{display:none}nav{display:flex;overflow:auto;gap:4px}nav button{white-space:nowrap;font-size:13px;padding:8px 12px}.side-bottom{display:none}.main{padding:0 18px 30px}.topbar{height:60px;margin-bottom:24px}.mobile-label{display:block}h1{font-size:28px}.heading{align-items:flex-start;flex-direction:column;gap:14px}.heading .primary{width:100%}.stats{gap:8px}.stat{padding:15px 10px}.stat strong{font-size:25px}.stat span{font-size:11px}.panel{padding:18px}.module-head{align-items:flex-start;flex-direction:column}.lesson-row{flex-wrap:wrap}.lesson-row .actions{margin-left:46px}.hero{padding:24px}.hero h2{font-size:24px}.auth-layout{display:block}.auth-story{display:none}.auth-form{padding:45px 24px;min-height:100vh}.auth-form .brand{margin-bottom:42px}.form-grid{display:block}.course-title{flex-wrap:wrap}.grid{grid-template-columns:1fr}.dialog-actions{flex-wrap:wrap}}
