:root{--green:#3f5f46;--olive:#718257;--beige:#f4ecdf;--card:#fffdf8;--line:#e4d7c5;--ink:#253126;--muted:#6f776d;--bad:#9b3d30;--ok:#426b48}*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#f7f0e6,#e8ddca);font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink)}button,input,select{font:inherit}button{border:0;border-radius:16px;background:var(--green);color:white;padding:13px 18px;font-weight:800;cursor:pointer;min-height:48px}button.secondary{background:#efe5d6;color:var(--green)}button.small{min-height:36px;padding:8px 12px;border-radius:12px}button:disabled{opacity:.45}.layout{min-height:100vh}.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 22px;background:rgba(255,253,248,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.logo{width:44px;height:44px;border-radius:14px;background:var(--green);color:white;display:grid;place-items:center;font-weight:900}.brand small{display:block;color:var(--muted)}main{max-width:1120px;margin:28px auto;padding:0 16px}.card{background:var(--card);border:1px solid var(--line);border-radius:28px;box-shadow:0 18px 45px rgba(57,49,38,.12);padding:28px;margin-bottom:18px}h1{font-size:38px;margin:0 0 10px}h2{font-size:30px;margin:0 0 16px;color:var(--green)}h3{margin:0 0 10px}p,li{font-size:17px;line-height:1.55}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.course{border:1px solid var(--line);background:#fffaf3;border-radius:22px;padding:18px}.pill{display:inline-block;background:#eef2e8;color:var(--green);border:1px solid #d5ddca;padding:6px 10px;border-radius:999px;font-weight:800;font-size:13px}.progress{height:11px;background:#e6dccd;border-radius:99px;overflow:hidden;margin:10px 0}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--olive),var(--green))}.login{max-width:520px;margin:8vh auto}.field{display:block;margin:16px 0;font-weight:800}.field input,.field select{width:100%;margin-top:8px;padding:14px 15px;border:1px solid #cdbd9f;border-radius:15px;background:white}.slideTop{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.crumb{color:var(--muted);font-weight:700}.slideBody{display:grid;gap:12px}.item{padding:14px 16px;border-radius:16px;background:#f8f1e7;border:1px solid #ebdfcf;font-size:18px;line-height:1.48}.rule{border-left:6px solid var(--green)}.phrase{background:#f2f5ed;border-color:#d6dfca}.nav{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.examQ{border:1px solid var(--line);border-radius:20px;background:#fffaf3;padding:18px;margin:14px 0}.examQ label{display:block;padding:9px;margin:6px 0;border:1px solid #eadfce;border-radius:13px;background:white}.orderItem{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px;border:1px solid #eadfce;border-radius:13px;background:white;margin:7px 0}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);padding:11px}.stat{background:#fffaf3;border:1px solid var(--line);border-radius:18px;padding:16px}.ok{color:var(--ok);font-weight:900}.bad{color:var(--bad);font-weight:900}.mobileCards{display:none}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.filters{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.filters label{font-weight:800}.filters input,.filters select{width:100%;margin-top:6px;padding:11px 12px;border:1px solid #cdbd9f;border-radius:13px;background:white}.hidden{display:none}@media(max-width:760px){.top{padding:10px 12px}.brand b{font-size:15px}.brand small{font-size:12px}main{margin:14px auto}.card{padding:19px;border-radius:21px}h1{font-size:29px}h2{font-size:24px}.grid,.filters{grid-template-columns:1fr}.table{display:none}.mobileCards{display:grid;gap:12px}.nav{position:sticky;bottom:0;background:rgba(247,240,230,.92);padding:10px 0}.item{font-size:16px}button{width:100%}.toolbar button{width:auto}}
/* lesson redesign v1.2 */
.slideTop{align-items:flex-start}.moduleTag{display:inline-block;margin-top:6px;color:var(--green);font-weight:900}.lessonHero{margin:18px 0 16px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#f8f1e7,#eef2e8);border:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.lessonHero small{text-transform:uppercase;letter-spacing:.08em;color:var(--olive);font-weight:900}.lessonHero h2{margin:6px 0 0}.lessonBody{display:grid;gap:13px}.lessonItem{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;padding:16px 17px;border-radius:18px;background:#fffaf3;border:1px solid #eadfce}.lessonItem span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#efe5d6;color:var(--green);font-weight:900}.lessonItem p{margin:0}.lessonRule{border-left:7px solid var(--green);background:#f8f1e7}.lessonPhrase{background:#f2f5ed;border-color:#d6dfca}.lessonPractice{background:#fff7df;border-color:#ead69a}.writtenAnswer{width:100%;padding:14px;border:1px solid #cdbd9f;border-radius:15px;background:white;font:inherit;line-height:1.5}@media(max-width:760px){.lessonHero{padding:16px;border-radius:18px}.lessonItem{grid-template-columns:28px 1fr;padding:13px}.lessonItem span{width:25px;height:25px;font-size:13px}}

/* structured course v1.3 */
.lesson.title .lessonHero{background:linear-gradient(135deg,#3f5f46,#718257);color:white}.lesson.title .lessonHero h2,.lesson.title .lessonHero small{color:white}.lesson.divider .lessonHero{min-height:260px;align-items:center;background:linear-gradient(135deg,#f4ecdf,#fffdf8)}.block{padding:18px 20px;border-radius:20px;background:#fffaf3;border:1px solid #eadfce}.block h3,.stepsBlock h3,.cardsBlock h3{margin:0 0 10px;color:var(--green)}.block p{margin:8px 0}.accentBlock{background:#eef2e8;border-left:8px solid var(--green);font-size:20px;font-weight:800}.quoteBlock{margin:0;padding:22px 24px;border-radius:22px;background:#f2f5ed;border:1px solid #d6dfca;border-left:8px solid var(--olive)}.quoteBlock p{font-size:22px;line-height:1.45;margin:8px 0}.quoteBlock small{color:var(--muted)}.compareGrid,.dosDonts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compareGrid>div,.dosDonts>div,.miniCard,.situationBlock>div,.checkBlock{padding:18px;border-radius:20px;border:1px solid #eadfce;background:white}.weak{border-left:8px solid #b06b5b!important;background:#fff7f4!important}.strong{border-left:8px solid var(--green)!important;background:#f2f5ed!important}.compareGrid b,.dosDonts b{display:block;margin-bottom:8px;color:var(--green)}.stepsBlock{display:grid;gap:11px}.step{display:grid;grid-template-columns:42px 1fr;gap:13px;align-items:start;padding:15px;border-radius:18px;background:white;border:1px solid #eadfce}.step>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:white;font-weight:900}.step p{margin:5px 0 0;color:var(--muted)}.cardsBlock{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.cardsBlock h3{grid-column:1/-1}.miniCard p{margin-bottom:0}.situationBlock{display:grid;gap:12px}.situationBlock p,.checkBlock p{margin:7px 0 0}.checkBlock{background:#fff7df;border-color:#ead69a}.checkBlock summary{cursor:pointer;font-weight:900;color:var(--green)}@media(max-width:760px){.lesson.title .lessonHero,.lesson.divider .lessonHero{min-height:190px}.compareGrid,.dosDonts,.cardsBlock{grid-template-columns:1fr}.quoteBlock p{font-size:18px}.block{padding:15px}.step{grid-template-columns:34px 1fr}.step>span{width:30px;height:30px}.slideTop{display:block}.slideTop .pill{margin-top:8px}}
