:root{--ink:#182923;--muted:#647169;--paper:#f5f6ef;--white:#fff;--line:#dde3d7;--lime:#c8ebaa;--green:#2d654c;--soft:#ebf1e5;--orange:#aa6232;--shadow:0 12px 40px #18292308;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #5d9245;outline-offset:4px}.skip{position:absolute;left:10px;top:-100px;z-index:10;background:white;padding:15px}.skip:focus{top:10px}.loading{padding:15vh 8vw}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--ink);color:#eef5e9;padding:32px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-size:17px;font-weight:750;letter-spacing:-.5px;text-decoration:none;display:flex;gap:10px;align-items:center;padding:0 12px}.brandmark{display:grid;place-items:center;width:32px;height:34px;background:var(--lime);color:var(--ink);border-radius:10px;font-size:20px}.brand small{display:block;font-size:10px;letter-spacing:2.7px;font-weight:500;margin-top:4px;color:#b9c7b5}.nav{display:grid;gap:6px;margin-top:48px}.nav a{text-decoration:none;color:#bfcfc2;border-radius:10px;padding:13px 15px;font-size:14px;display:flex;align-items:center;gap:12px}.nav a:hover{background:#ffffff0c}.nav a.active{color:var(--ink);background:var(--lime);font-weight:650}.nav .glyph{font-size:19px;width:24px;text-align:center}.sidebar-foot{margin-top:auto;padding:24px 12px 0;color:#b8c7bc;font-size:12px;line-height:1.6}.profile{display:flex;gap:11px;align-items:center;padding-top:22px;margin-top:22px;border-top:1px solid #ffffff25}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#385145;color:var(--lime);font-weight:700}.profile strong{color:white;display:block}.textbutton{background:transparent;color:inherit;border:0;padding:0;text-decoration:underline;font-size:12px}.workspace{min-width:0}.topbar{height:81px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 48px;background:#f9faf5}.topbar span{font-size:12px;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--green)}.badge{display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:30px;padding:6px 11px;font-size:11px;color:var(--muted);background:#fff}.badge::before{content:"";width:6px;height:6px;background:#83a45e;border-radius:50%}.main{max-width:1260px;margin:auto;padding:42px 48px 64px}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:28px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3.2vw,44px);line-height:1.1;letter-spacing:-1.6px;margin-bottom:13px;font-weight:640}h2{font-size:24px;line-height:1.25;letter-spacing:-.6px;font-weight:630;margin-bottom:16px}h3{font-size:17px;line-height:1.4;font-weight:650;margin-bottom:10px}p{line-height:1.65}.muted,.subtitle{color:var(--muted)}.subtitle{font-size:14px;max-width:650px;margin-bottom:0}.hero{background:var(--ink);border-radius:18px;padding:34px 38px;color:white;display:grid;grid-template-columns:1fr 190px;gap:24px;overflow:hidden;margin-bottom:26px;position:relative}.hero h2{font-size:30px;letter-spacing:-1px;max-width:500px;margin:14px 0}.hero p{color:#c7d4c9;max-width:520px;font-size:14px}.hero .eyebrow{color:var(--lime)}.hero-art{align-self:center;justify-self:center;width:155px;height:155px;position:relative;border:1px solid #71906b;border-radius:50%;display:grid;place-items:center}.hero-art::before,.hero-art::after{content:"";position:absolute;border:1px solid #71906b;border-radius:50%;inset:18px}.hero-art::after{inset:36px}.hero-art span{font-size:40px;color:var(--lime);z-index:1;font-weight:200}.btn{border:1px solid var(--line);background:white;border-radius:8px;padding:11px 18px;font-size:13px;font-weight:650;line-height:1.4;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px}.btn:hover{filter:brightness(.96)}.btn.primary{background:var(--ink);border-color:var(--ink);color:white}.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--ink)}.btn.small{padding:8px 12px;font-size:12px}.btn.ghost{background:transparent}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:32px}.stat,.card{border:1px solid var(--line);border-radius:13px;background:white;padding:24px;box-shadow:var(--shadow)}.stat strong{font-size:29px;font-weight:600;letter-spacing:-1px;display:block;margin-bottom:6px}.stat span{color:var(--muted);font-size:12px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px}.section-head h2{font-size:20px;margin:0}.section-head a{font-size:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lesson-card{display:flex;gap:18px;color:inherit;text-decoration:none;align-items:flex-start;transition:transform .15s,border .15s}.lesson-card:hover{transform:translateY(-2px);border-color:#93aa80}.lesson-no{width:38px;height:38px;border-radius:10px;flex-shrink:0;display:grid;place-items:center;background:var(--soft);color:var(--green);font-size:13px;font-weight:650}.lesson-card h3{margin:5px 0 8px}.lesson-card p{font-size:12px;line-height:1.5;margin:0}.label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:650}.meta{font-size:11px;color:var(--muted);margin-top:14px}.done{color:var(--green);font-weight:650}.progress{display:block;width:100%;height:5px;border-radius:5px;overflow:hidden;margin-top:14px;accent-color:var(--green)}progress::-webkit-progress-bar{background:var(--soft);border-radius:5px}progress::-webkit-progress-value{background:var(--green);border-radius:5px}.back{font-size:12px;text-decoration:none;color:var(--muted);display:inline-block;margin-bottom:22px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:28px;align-items:start}.article{background:white;border:1px solid var(--line);border-radius:14px;padding:32px}.article p{white-space:pre-line;font-size:15px}.article section+section{border-top:1px solid var(--line);padding-top:25px;margin-top:25px}.goal{background:var(--soft);padding:18px 22px;border-radius:10px;color:var(--green);margin:24px 0;font-size:14px;line-height:1.6}.lesson-aside{position:sticky;top:24px}.lesson-aside h3{font-size:13px}.lesson-aside a{display:block;padding:9px 0;text-decoration:none;font-size:12px;color:var(--muted)}.lesson-aside a.current{color:var(--ink);font-weight:700}.video{margin:22px 0;background:#10251c;border-radius:12px;overflow:hidden;aspect-ratio:16/9;position:relative}.video iframe{width:100%;height:100%;border:0}.video-poster{width:100%;height:100%;background:linear-gradient(135deg,#253e2c,#16291f);color:#fff;border:0;padding:22px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.play{width:48px;height:48px;border:1px solid #b9d5a6;border-radius:50%;display:grid;place-items:center;padding-left:3px;font-size:20px}.video-caption{font-size:11px;color:var(--muted)}.quiz{margin-top:28px}.question{border:0;padding:0;margin:0 0 24px;min-width:0}.question legend{font-size:15px;font-weight:650;line-height:1.5;margin-bottom:12px}.option{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:8px 0;cursor:pointer;font-size:13px;line-height:1.5}.option:has(input:checked){background:var(--soft);border-color:#8aa374}.option input{accent-color:var(--green);margin-top:3px}.check{display:flex;gap:9px;font-size:13px;align-items:center;margin:20px 0}.feedback{padding:15px;background:var(--soft);border-radius:8px;font-size:13px;line-height:1.65;margin:18px 0}.feedback p:last-child{margin:0}.error{color:#993d2e;background:#fff1e9;padding:12px;border-radius:8px;font-size:13px}.field{display:grid;gap:8px;margin-bottom:17px}.field label{font-size:12px;font-weight:650}input[type=text],input[type=password],textarea{width:100%;border:1px solid #ccd5c5;border-radius:8px;padding:12px 13px;background:white;color:var(--ink);min-width:0}textarea{line-height:1.6;resize:vertical;font-size:14px}.note{margin-top:24px}.note h3{font-size:16px}.source{font-size:11px;color:var(--muted);line-height:1.6;margin-top:24px}.scenario{position:relative}.scenario h3{font-size:20px;margin-top:15px}.scenario p{font-size:13px;color:var(--muted)}.level{color:var(--green);font-size:10px;text-transform:uppercase;letter-spacing:1px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start}.chatlog{display:flex;flex-direction:column;gap:18px;max-height:55vh;overflow:auto;padding:8px 0 24px}.message{background:var(--soft);border-radius:12px 12px 12px 2px;padding:16px 18px;font-size:14px;white-space:pre-wrap;line-height:1.6;max-width:88%;align-self:flex-start}.message.user{background:var(--ink);color:white;border-radius:12px 12px 2px 12px;align-self:flex-end}.message small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;opacity:.7;margin-bottom:6px}.chat-compose{border-top:1px solid var(--line);padding-top:18px}.hint{font-size:11px;color:var(--muted);line-height:1.6}.recording{color:#a94526!important}.score{font-size:40px;letter-spacing:-1.5px;font-weight:650}.score small{font-size:14px;letter-spacing:0;color:var(--muted)}.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.feedback-grid ul{padding-left:18px;font-size:14px;line-height:1.65}.flashcard{max-width:680px;margin:30px auto;text-align:center;padding:48px 35px;min-height:330px;display:flex;flex-direction:column;justify-content:center}.flashcard h2{font-size:27px;line-height:1.4}.flashcard p{white-space:pre-line;font-size:16px}.flash-actions{justify-content:center;margin-top:24px}.library .card{display:flex;flex-direction:column;align-items:flex-start}.library .btn{margin-top:auto}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:8vw;background:var(--ink);color:white;display:flex;flex-direction:column;justify-content:center}.auth-story .brand{padding:0;margin-bottom:90px}.auth-story h1{font-size:clamp(36px,4vw,60px);line-height:1.1;letter-spacing:-2px}.auth-story p{color:#bfcfc2;font-size:15px;max-width:370px}.auth-story .eyebrow{color:var(--lime);margin-bottom:24px}.auth-form{padding:8vw;display:flex;flex-direction:column;justify-content:center}.auth-form form{max-width:360px;width:100%;margin:auto}.auth-form h2{font-size:28px}.auth-form .btn{width:100%;margin-top:5px}.auth-note{font-size:11px;color:var(--muted);line-height:1.6;margin-top:20px}.empty{text-align:center;padding:45px;color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line)}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.tablewrap{overflow:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:12px 20px;font-size:13px;box-shadow:0 5px 20px #0003;z-index:20;max-width:90vw;display:none}#toast.show{display:block}.mini-list{padding-left:18px;font-size:13px;color:var(--muted);line-height:1.9}.auth-form .error:empty{display:none}.toolbar{margin:22px 0}.stretch{width:100%}.kbd{font-size:11px;color:var(--muted)}.divider{height:1px;background:var(--line);margin:25px 0}
@media(min-width:1400px){.main{padding-top:50px}.hero{padding:40px}.stats{margin-bottom:40px}}
@media(max-width:1050px){.shell{grid-template-columns:205px minmax(0,1fr)}.main{padding:30px 28px}.topbar{padding:0 28px}.lesson-layout,.chat-layout{grid-template-columns:1fr}.lesson-aside{position:static;display:none}.hero{grid-template-columns:1fr 130px}.hero-art{width:120px;height:120px}.chat-layout aside{order:-1}.chat-layout aside .mini-list{display:none}}
@media(max-width:720px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px 16px 10px}.brand{font-size:15px;padding:0}.brand small{font-size:8px}.nav{display:flex;gap:4px;margin-top:18px;overflow-x:auto}.nav a{white-space:nowrap;padding:10px 12px;font-size:11px}.nav .glyph{display:none}.sidebar-foot{display:none}.topbar{height:56px;padding:0 20px}.main{padding:28px 20px 45px}h1{font-size:31px;letter-spacing:-1px}.page-title{align-items:start}.hero{grid-template-columns:1fr;padding:26px}.hero-art{display:none}.hero h2{font-size:25px}.stats{gap:8px}.stat{padding:16px 12px}.stat strong{font-size:24px}.stat span{font-size:10px}.grid{grid-template-columns:1fr}.card{padding:22px}.article{padding:24px 20px}.article p{font-size:14px}.auth{grid-template-columns:1fr}.auth-story{padding:30px 26px}.auth-story .brand{margin-bottom:45px}.auth-story h1{font-size:36px;margin-bottom:20px}.auth-story p{display:none}.auth-story .eyebrow{margin-bottom:12px}.auth-form{padding:36px 26px}.feedback-grid{grid-template-columns:1fr}.chatlog{max-height:none}.message{max-width:96%}.topbar .badge{font-size:10px}.flashcard{padding:35px 20px}.flashcard h2{font-size:23px}}
.audit-block{margin-bottom:12px}.audit-block summary{cursor:pointer;display:flex;justify-content:space-between;gap:20px;font-size:14px}.audit-summary{font-size:12px;color:var(--muted)}.audit-question{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.audit-question p{font-size:13px;white-space:pre-wrap}.brandmark{flex-shrink:0}
.material-group{margin:16px 0}.material-group>summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;font-size:17px}.material-group>.grid{margin-top:24px}.material-item{min-width:0}.material-item[hidden]{display:none}.field input[type=search]{padding:13px;border:1px solid var(--line);border-radius:9px;width:100%;background:white}.material-item .video{width:100%}
