:root{--ink:#252636;--muted:#696b78;--paper:#f6f6f2;--line:#e1e2dd;--lime:#d0f477;--purple:#c9c3ed;--peach:#f7c8ad;--blue:#c4dfec;--success:#28633e;--danger:#9e3d2f;--font:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);background:var(--paper);color:var(--ink);font-size:16px;line-height:1.5}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #6860c6;outline-offset:4px}button{border:0;background:none}a{color:inherit}p,h1,h2,h3{margin:0}button{touch-action:manipulation}svg{display:block}h1{letter-spacing:-.055em;line-height:1.06;font-weight:800}h2{letter-spacing:-.035em;line-height:1.2}h3{line-height:1.25;letter-spacing:-.02em}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;flex-shrink:0;background:var(--ink);color:#fff;padding:35px 22px 24px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:12px;align-items:center;text-align:left;font-weight:800;font-size:13px;letter-spacing:.05em;padding:0;min-height:46px}.brand-mark{border:1px solid #6d6e7e;border-radius:12px;width:49px;height:47px;font-size:22px;letter-spacing:-.09em;display:flex;align-items:center;justify-content:center}.brand-mark span{color:var(--lime);font-size:18px}.brand-sub{display:block;font-size:10px;font-weight:400;color:#babcc9;letter-spacing:.07em;margin-top:4px}.sidebar-body{margin-top:65px}.nav-label{font-size:10px;letter-spacing:.18em;color:#aaadbd;display:block;margin:0 13px 21px}.route-step{display:flex;gap:13px;align-items:center;border-radius:10px;padding:13px 12px;margin:7px 0;font-size:13px;color:#c5c7d2}.route-step.active{background:#3b3c4d;color:#fff}.step-num{display:grid;place-items:center;width:28px;height:28px;border:1px solid #666878;border-radius:50%;font-size:11px;flex-shrink:0}.route-step.active .step-num{background:var(--lime);color:var(--ink);border-color:var(--lime)}.route-step.done .step-num{color:var(--lime);border-color:var(--lime)}.sidebar-note{border-top:1px solid #4e4f60;padding:25px 13px 0;margin-top:31px;font-size:12px;color:#babcc9;line-height:1.7}.note-star{color:var(--lime);font-size:33px;line-height:1;display:block;margin-bottom:14px}.dictionary-link{font-size:12px;display:flex;gap:9px;align-items:center;padding:14px 9px;margin-top:auto;text-align:left}.dictionary-link span:first-child{font-size:20px;color:var(--lime)}.dictionary-link span:last-child{margin-left:auto}.workspace{margin-left:246px;width:calc(100% - 246px);padding:0 48px;display:flex;flex-direction:column}.topbar{height:92px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-label{font-size:10px;letter-spacing:.14em;color:var(--muted)}.text-btn{font-size:12px;padding:10px 0;white-space:nowrap}.text-btn:hover{text-decoration:underline}.text-btn span{margin-right:6px}main{width:100%;max-width:1120px;margin:auto;flex:1;outline:none;padding:42px 0 45px}footer{border-top:1px solid var(--line);min-height:62px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);gap:12px;font-size:11px}footer button{font-size:11px!important}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;display:inline-block;background:#7b865f;border-radius:50%}.home-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:center}.home-copy h1{font-size:clamp(42px,4.4vw,70px);margin:22px 0}.home-copy h1 span{color:#747182}.lead{font-size:15px;line-height:1.7;max-width:430px;color:var(--muted)}.metadata{display:flex;gap:20px;font-size:11px;color:#555867;margin:21px 0 23px}.metadata span{display:flex;gap:6px;align-items:center}.metadata svg{width:15px;height:15px}.primary{background:var(--ink);color:white;padding:16px 23px;border-radius:9px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:51px;transition:background .15s,transform .15s}.primary:hover{background:#414257;transform:translateY(-1px)}.primary .arrow{font-size:20px;line-height:1}.secondary{border:1px solid #cccdd2;border-radius:9px;padding:14px 18px;min-height:49px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:12px;background:transparent}.secondary:hover{background:#ecece7}.small-note{font-size:10px;line-height:1.5;color:var(--muted);margin-top:12px}.restart-link{display:block;text-decoration:underline;font-size:11px;margin-top:12px;padding:3px 0}.hero-art{background:var(--purple);border-radius:20px;position:relative;min-height:377px;padding:25px;overflow:hidden;isolation:isolate}.hero-art:before{content:'';position:absolute;width:270px;height:270px;left:50%;top:43%;border:1px solid #aca4d8;border-radius:50%;transform:translate(-50%,-50%);z-index:-1}.hero-art:after{content:'';position:absolute;width:345px;height:345px;left:50%;top:43%;border:1px solid #b7afe0;border-radius:50%;transform:translate(-50%,-50%);z-index:-1}.art-tag{font-size:9px;letter-spacing:.14em;font-weight:700}.hero-art .shield-art{width:170px;height:194px;margin:26px auto 22px;transform:rotate(-9deg);filter:drop-shadow(9px 13px 0 #726c95)}.art-float{position:absolute;border:1px solid #a49ccf;background:#e8e4fa;border-radius:12px;padding:12px;display:grid;place-items:center;box-shadow:0 5px 0 #aea6d3}.art-float svg{width:30px;height:30px}.float-phone{top:95px;left:22px;transform:rotate(-13deg)}.float-plane{top:64px;right:22px;transform:rotate(13deg)}.float-home{right:34px;bottom:80px;transform:rotate(-9deg);background:var(--peach)}.art-caption{display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:24px;left:24px;right:24px;font-size:12px;font-weight:700}.art-caption span:last-child{font-size:25px}.badge-sticker{position:absolute;left:25px;bottom:85px;background:var(--lime);padding:8px 12px;border-radius:30px;transform:rotate(-8deg);font-size:10px;font-weight:700;border:1px solid var(--ink)}.journey{margin-top:46px}.section-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.section-line h2{font-size:19px}.section-line>span{color:var(--muted);font-size:11px}.chapter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.chapter-card{border:1px solid var(--line);border-radius:12px;padding:17px 16px;background:#fafaf7;min-height:164px;position:relative}.chapter-card .icon-box{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;margin-bottom:18px}.icon-box svg{width:23px;height:23px}.chapter-card h3{font-size:12px;margin-bottom:5px}.chapter-card p{font-size:10px;color:var(--muted);line-height:1.5}.chapter-number{position:absolute;top:19px;right:15px;font-size:10px;color:var(--muted)}.lavender{background:var(--purple)}.peach{background:var(--peach)}.lime{background:var(--lime)}.blue{background:var(--blue)}.under-grid{display:flex;align-items:center;gap:9px;margin-top:18px;font-size:11px;color:var(--muted)}.under-grid span{font-size:17px}.progress-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:10px}.progress-line span:last-child{color:var(--muted)}.progress-bar{height:5px;background:#e0e1db;border-radius:10px;overflow:hidden;margin-bottom:30px}.progress-bar>div{height:100%;background:var(--ink);border-radius:10px;transition:width .25s}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:26px}.question .eyebrow{color:#77748b;margin-bottom:15px}.question h1{font-size:clamp(29px,3vw,43px);max-width:650px;margin-bottom:22px}.scenario{border-left:3px solid #b3a8dd;padding:0 0 0 17px;font-size:14px;line-height:1.75;color:#595b68;margin-bottom:25px}.question h2{font-size:17px;margin-bottom:15px;letter-spacing:-.02em}.answers{display:flex;flex-direction:column;gap:10px}.answer{border:1px solid #dcded7;border-radius:10px;display:flex;align-items:center;gap:14px;text-align:left;padding:14px 16px;background:#fff;min-height:63px;width:100%;font-size:13px;line-height:1.5;transition:border-color .15s,background .15s}.answer:not(:disabled):hover{background:#eeecf8;border-color:#aaa1cf}.answer-key{width:28px;height:28px;border:1px solid #d7d8d3;border-radius:7px;display:grid;place-items:center;flex-shrink:0;color:#7b7d86;font-size:11px}.answer.correct{background:#eaf3e1;border:1.5px solid #77a551}.answer.correct .answer-key{background:#377748;color:white;border-color:#377748}.answer.incorrect{background:#faece7;border:1.5px solid #c77d69}.answer.incorrect .answer-key{background:#a85140;color:#fff;border-color:#a85140}.answer:disabled{color:var(--ink)}.answer .answer-status{margin-left:auto;font-size:10px;font-weight:700;flex-shrink:0}.feedback{border-radius:12px;background:#fff;border:1px solid #dce3d2;margin-top:18px;padding:20px;animation:reveal .18s ease}.feedback h3{font-size:15px;color:var(--success);margin-bottom:8px}.feedback.is-wrong{border-color:#e7d4cc}.feedback.is-wrong h3{color:var(--danger)}.feedback>p{font-size:13px;line-height:1.75;color:#555866}.term-inline{padding:14px 0 0;margin-top:14px;border-top:1px solid var(--line);font-size:12px;line-height:1.7}.term-inline strong{display:block;color:var(--ink);margin-bottom:4px}.question-actions{display:flex;justify-content:space-between;align-items:center;margin-top:21px;gap:12px}.question-actions .primary{min-width:185px}.question-hint{font-size:11px;color:var(--muted)}.context-card{border-radius:15px;min-height:265px;padding:23px;position:sticky;top:25px;align-self:start;overflow:hidden}.context-card>.context-icon{width:85px;height:85px;display:grid;place-items:center;margin:26px auto 33px}.context-icon svg{width:82px;height:82px;stroke-width:1.3}.context-card .mini-label{font-size:9px;letter-spacing:.1em;text-transform:uppercase}.context-card h3{font-size:19px;letter-spacing:-.035em;line-height:1.3}.context-card>p{font-size:11px;line-height:1.7;margin-top:11px;color:#424554}.context-count{margin-top:25px;font-size:10px;display:flex;gap:5px}.context-count i{width:23px;height:4px;background:#ffffff80;border-radius:3px}.context-count i.filled{background:var(--ink)}.save-info{margin-top:20px;font-size:10px;color:var(--muted);display:flex;gap:6px}.result-intro{display:grid;grid-template-columns:1fr 270px;gap:35px;align-items:center;background:var(--ink);color:#fff;border-radius:18px;padding:35px}.result-intro h1{font-size:40px;margin:15px 0}.result-intro p{font-size:14px;line-height:1.7;color:#caccd6;max-width:500px}.result-intro .eyebrow{color:var(--lime)}.score-ring{width:205px;height:205px;border-radius:50%;background:conic-gradient(var(--lime) calc(var(--score)*1%),#4b4d5f 0);padding:11px;margin:auto;display:flex;align-items:center;justify-content:center}.score-inner{background:var(--ink);border-radius:50%;height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.score-inner strong{font-size:56px;letter-spacing:-.08em;line-height:1.1}.score-inner span{font-size:12px;color:#caccd6}.score-inner small{font-size:10px;color:var(--lime);margin-top:9px}.result-actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}.result-actions .primary{background:var(--lime);color:var(--ink)}.result-actions .secondary{border-color:#626476;color:#fff}.result-actions .secondary:hover{background:#3a3b4e}.chapter-results{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0 30px}.chapter-result{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.chapter-result strong{display:block;font-size:24px;letter-spacing:-.04em;margin-bottom:6px}.chapter-result span{font-size:11px}.review-heading{font-size:21px;margin-bottom:17px}.review-item{border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:10px;overflow:hidden}.review-item summary{cursor:pointer;padding:17px;display:flex;gap:12px;align-items:center;list-style:none;font-size:13px;line-height:1.5}.review-item summary::-webkit-details-marker{display:none}.review-status{color:var(--success);background:#eaf3e1;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0}.review-status.wrong{color:var(--danger);background:#faece7}.summary-arrow{margin-left:auto;color:var(--muted)}details[open] .summary-arrow{transform:rotate(45deg)}.review-content{padding:0 20px 20px 52px;font-size:12px;line-height:1.8}.review-content p{margin-bottom:8px;color:#555866}.review-content strong{color:var(--ink)}.lesson{background:#e9ecdF;border-radius:12px;padding:22px;margin-top:27px}.lesson h2{font-size:18px;margin-bottom:10px}.lesson p{font-size:13px;line-height:1.8}.final-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:20px}.review-filter{font-size:12px;display:flex;gap:8px;align-items:center}.review-filter input{width:17px;height:17px;accent-color:#56517c}.empty{padding:24px;background:#eaf3e1;border-radius:12px;font-size:14px}dialog{width:min(620px,calc(100% - 32px));max-height:85vh;max-height:85dvh;border:0;border-radius:17px;background:var(--paper);padding:27px;color:var(--ink);box-shadow:0 20px 100px #11132955}dialog::backdrop{background:#20213299;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.modal-head h2{font-size:24px}.close-btn{width:40px;height:40px;flex-shrink:0;font-size:29px;line-height:1;border-radius:50%;background:#e8e8e2}#modal-body{font-size:14px;line-height:1.8}#modal-body p{margin-bottom:14px}#modal-body ol{padding-left:22px}#modal-body li{margin-bottom:12px}.glossary-item{padding:15px 0;border-bottom:1px solid var(--line)}.glossary-item:first-child{padding-top:0}.glossary-item dt{font-weight:700;margin-bottom:5px}.glossary-item dd{margin:0;color:#616370;font-size:13px}.source-list{padding-left:20px}.source-list a{text-underline-offset:3px}.modal-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.save-warning{color:#9e3d2f!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:10px;top:-100px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}.no-js{position:fixed;bottom:20px;left:20px;right:20px;background:var(--lime);padding:20px}@keyframes reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.workspace{padding:0 70px}.home-copy h1{font-size:70px}.hero-art{min-height:415px}.hero-art .shield-art{margin-top:40px}}
@media(max-width:1200px){.sidebar{width:215px;padding-left:17px;padding-right:17px}.workspace{margin-left:215px;width:calc(100% - 215px);padding:0 30px}.brand{gap:9px;font-size:11px}.home-hero{gap:22px}.hero-art{min-height:350px;padding:20px}.float-phone{left:12px}.float-plane{right:12px}.hero-art .shield-art{width:145px;height:175px;margin-top:30px}.chapter-card{padding:14px 12px}.chapter-card h3{font-size:11px}.quiz-layout{grid-template-columns:minmax(0,1fr) 205px;gap:20px}.context-card{padding:20px}.context-card h3{font-size:17px}.answer-status{display:none}.result-intro{grid-template-columns:1fr 210px;padding:28px}.result-intro h1{font-size:34px}}
@media(max-width:960px){.sidebar{width:185px;padding:26px 13px}.brand{flex-direction:column;align-items:flex-start;gap:9px;padding-left:12px}.brand-sub{display:none}.sidebar-body{margin-top:42px}.route-step{font-size:11px;gap:9px;padding:12px 8px}.step-num{width:25px;height:25px}.nav-label{font-size:9px;margin-left:9px}.sidebar-note{font-size:11px;padding-left:8px}.dictionary-link{font-size:10px;gap:7px}.workspace{margin-left:185px;width:calc(100% - 185px);padding:0 25px}.home-copy h1{font-size:43px}.home-hero{grid-template-columns:1.1fr .9fr;gap:18px}.hero-art{min-height:327px}.hero-art .shield-art{width:120px;height:156px;margin-top:41px}.art-float{padding:8px}.art-float svg{width:23px;height:23px}.float-phone{left:12px;top:74px}.float-home{right:14px;bottom:80px}.badge-sticker{left:15px;font-size:8px}.art-caption{font-size:9px;left:17px;right:17px}.art-tag{font-size:8px}.lead{font-size:13px}.metadata{gap:12px;font-size:10px}.chapter-grid{grid-template-columns:repeat(2,1fr)}.chapter-card{min-height:133px}.chapter-card .icon-box{margin-bottom:13px}.chapter-card h3{font-size:13px}.chapter-card p{font-size:11px}.quiz-layout{grid-template-columns:1fr}.context-card{display:none}.result-intro{grid-template-columns:1fr;gap:25px}.score-ring{grid-row:1;width:160px;height:160px}.score-inner strong{font-size:43px}.chapter-results{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.app-shell{display:block}.sidebar{position:relative;width:100%;height:74px;padding:0 20px;flex-direction:row;align-items:center;justify-content:space-between}.brand{flex-direction:row;align-items:center;padding:0;font-size:10px;gap:9px}.brand-mark{width:37px;height:37px;font-size:19px;border-radius:10px}.brand-mark span{font-size:14px}.sidebar-body{display:none}.dictionary-link{margin:0;padding:10px 0;font-size:0;gap:0}.dictionary-link span:first-child{font-size:22px}.dictionary-link span:last-child{display:none}.dictionary-link::after{content:'Словарь';font-size:10px;margin-left:6px}.workspace{margin:0;width:100%;padding:0 21px}.topbar{height:57px}.topbar-label{font-size:8px;letter-spacing:.07em}.topbar .text-btn{font-size:10px}main{padding:29px 0 32px}.home-hero{display:flex;flex-direction:column;align-items:stretch;gap:28px}.home-copy h1{font-size:49px;margin:18px 0;max-width:380px}.home-copy h1 br:last-of-type{display:none}.home-copy h1 span{display:block}.eyebrow{font-size:9px;letter-spacing:.1em}.lead{font-size:14px;max-width:460px;line-height:1.75}.metadata{font-size:11px;gap:18px;margin:19px 0 21px}.home-copy .primary{width:100%;justify-content:space-between;font-size:14px;padding:17px 20px}.small-note{text-align:center;font-size:10px}.restart-link{margin:10px auto 0}.hero-art{min-height:235px;padding:19px;border-radius:16px}.hero-art .shield-art{height:150px;width:131px;margin:5px auto 0;filter:drop-shadow(7px 8px 0 #726c95)}.art-tag{font-size:8px}.float-phone{left:34px;top:69px;padding:10px}.float-plane{right:35px;top:35px;padding:10px}.float-home{right:42px;bottom:48px}.badge-sticker{left:25px;bottom:50px;font-size:9px}.art-caption{bottom:15px;font-size:10px}.hero-art:before{width:190px;height:190px}.hero-art:after{width:270px;height:270px}.journey{margin-top:31px}.section-line{margin-bottom:15px}.section-line h2{font-size:18px}.section-line>span{font-size:10px}.chapter-grid{gap:10px}.chapter-card{padding:15px;min-height:146px}.chapter-card .icon-box{width:33px;height:33px;margin-bottom:15px}.chapter-card h3{font-size:12px}.chapter-card p{font-size:10px}.under-grid{font-size:10px;line-height:1.7;align-items:flex-start;margin-top:14px}footer{min-height:66px;font-size:9px;gap:8px}footer button{font-size:10px!important}.progress-line{font-size:11px}.progress-bar{margin-bottom:25px}.question h1{font-size:34px;margin-bottom:21px;line-height:1.1}.scenario{font-size:13px;padding-left:13px;margin-bottom:24px;line-height:1.8}.question h2{font-size:16px;margin-bottom:15px;line-height:1.5}.answer{padding:14px 12px;gap:11px;font-size:12px;min-height:66px}.answer-key{width:25px;height:25px;font-size:10px}.question-actions{flex-direction:column-reverse;align-items:stretch;gap:13px;margin-top:20px}.question-actions .primary{width:100%;justify-content:space-between}.question-hint{text-align:center;font-size:10px}.feedback{padding:17px}.feedback>p{font-size:12px}.term-inline{font-size:11px}.save-info{font-size:9px;margin-top:16px;line-height:1.6}.result-intro{padding:26px 22px;text-align:center;border-radius:14px;gap:19px}.result-intro .eyebrow{justify-content:center}.result-intro h1{font-size:34px;line-height:1.1}.result-intro p{font-size:12px}.score-ring{width:165px;height:165px;padding:9px}.result-actions{flex-direction:column;gap:10px}.result-actions .primary,.result-actions .secondary{width:100%;font-size:12px}.chapter-results{margin-top:15px;gap:10px}.chapter-result{padding:15px}.chapter-result span{font-size:10px}.review-heading{font-size:20px}.review-section .section-line{align-items:flex-start;flex-direction:column;gap:4px}.review-filter{font-size:11px}.review-item summary{font-size:12px;padding:14px;gap:9px}.review-content{padding:0 16px 17px;font-size:12px}.lesson{padding:19px}.lesson h2{font-size:17px}.lesson p{font-size:12px}.final-note{font-size:9px}dialog{padding:23px 20px}.modal-head h2{font-size:22px}#modal-body{font-size:13px}.glossary-item dd{font-size:12px}}
@media(max-width:360px){.workspace{padding:0 16px}.home-copy h1{font-size:43px}.topbar-label{font-size:7px}.metadata{gap:12px;font-size:10px}.chapter-card{padding:12px}.question h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
