:root {
  color-scheme:light; --paper:#f6f7fb; --ink:#202339; --muted:#585e72; --violet:#484bc4; --line:#dadde7;
  --navy:#202641; --lime:#dafa8a; --round:20px; --shade:0 4px 14px rgba(30,36,70,.035);
  font-family:Roboto,"Helvetica Neue",Arial,sans-serif; line-height:1.5; color:var(--ink); background:var(--paper);
}
*{box-sizing:border-box} body{margin:0} a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit}
button,select,summary{cursor:pointer} button{border:0} h1,h2,h3,p{margin:0} h1,h2,h3{line-height:1.12;letter-spacing:-.035em}
h1{font-size:clamp(2.15rem,4vw,3.75rem);font-weight:700} h2{font-size:clamp(1.45rem,2.1vw,1.95rem)} h3{font-size:1.17rem}
small,.fine{font-size:.875rem;color:var(--muted)} .icon{width:1.3em;height:1.3em;flex:none;vertical-align:middle}
:focus-visible{outline:3px solid #4a60e0;outline-offset:3px} .skip{position:fixed;top:-100px;left:12px;z-index:99;background:white;padding:12px}.skip:focus{top:12px}
.brand{display:inline-flex;align-items:center;gap:.58rem;font-size:1.65rem;font-weight:760;letter-spacing:-.075em;color:#22263c}
.brandmark{display:flex;align-items:flex-end;gap:2px;background:var(--violet);border-radius:10px;padding:8px;width:36px;height:36px}
.brandmark i{width:5px;background:white;border-radius:1px}.brandmark i:first-child{height:7px}.brandmark i:nth-child(2){height:13px}.brandmark i:last-child{height:19px}
.overline,.heroeye,.postertop{font-size:.82rem;letter-spacing:.095em;text-transform:uppercase;font-weight:680;color:#5357a7;margin-bottom:.7rem}
.lede,.muted,.practice,.subject p,.skillline p{color:var(--muted)}.lede{margin-top:.65rem;font-size:1.05rem}
.primary,.secondary,.bright,.quiet,.textlink{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;font-weight:640;line-height:1.25}
.primary,.bright,.secondary{border-radius:11px;padding:.8rem 1.25rem}.primary{background:var(--violet);color:white}.primary:hover{background:#393d9f}
.bright{background:var(--lime);color:#242d17}.bright:hover{background:#e7ffb5}.secondary{color:#383c93;background:#f1f1fc;border:1px solid #d9d9f0}.secondary:hover{background:#e8e9fc}
.quiet,.textlink{background:transparent;color:var(--muted);padding:.5rem .65rem}.quiet:hover,.textlink:hover{color:var(--violet);background:#efeff9;border-radius:8px}
.textlink{color:var(--violet);padding-left:0}.quiet .icon{width:1.12rem}
label,legend{display:block;font-size:.95rem;font-weight:620} label+input,label+select,label+textarea{margin-top:.45rem}
input:not([type=radio]),select,textarea{width:100%;border:1px solid #bfc3d2;border-radius:10px;padding:.75rem .9rem;min-height:48px;background:#fff;color:var(--ink)}
select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12'%3E%3Cpath d='m3 3 6 6 6-6' fill='none' stroke='%234d536c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center;padding-right:2.7rem}
textarea{resize:vertical}.fine,.heroeye,.postertop,.metarow,.profile,.localstamp{display:flex;align-items:center;gap:.55rem}
.loginwrap{min-height:100svh;padding:clamp(.85rem,2.8vw,3rem);display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);max-width:1680px;margin:auto}
.loginleft{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:clamp(.8rem,2.1vw,2rem) clamp(1rem,4vw,4rem)}
.logincard{width:100%;max-width:390px;margin:3.5rem 0}.logincard h1{font-size:clamp(2.3rem,4vw,3.8rem)}.logincard .overline{margin-bottom:.85rem}
.roles{display:flex;border-radius:12px;padding:4px;background:#e8eaf1;border:1px solid #daddE8;margin:2rem 0 1.55rem;gap:3px}
.roles a{display:flex;align-items:center;justify-content:center;gap:.5rem;border-radius:8px;flex:1;font-weight:600;min-height:44px;color:#4e5369}
.roles .chosen{background:white;color:#383e9a;box-shadow:0 2px 5px #22243b15}.roles .icon{width:1.2rem}
.loginform .primary{width:100%;margin-top:1.1rem;min-height:49px}.fine{align-items:flex-start;margin-top:1.1rem;font-size:.83rem}.fine .icon{width:1rem;margin-top:.16rem}
.localstamp{font-size:.8rem;color:#565d70}.localstamp b{width:7px;height:7px;border-radius:50%;background:#50855e}
.poster,.hero{isolation:isolate;position:relative;overflow:hidden;border-radius:var(--round);background-color:var(--navy);color:white}
.poster:before,.game .hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 60% 40%,#575fa866,transparent 64%),linear-gradient(#adb4d910 1px,transparent 1px),linear-gradient(90deg,#adb4d910 1px,transparent 1px);background-size:auto,36px 36px,36px 36px}
.poster{min-height:590px;max-height:1100px;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(1.75rem,4.1vw,4.3rem)}
.postertop,.heroeye{color:#d4dcff;position:relative;z-index:1}.poster .island{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);width:min(91%,800px);max-height:49%;object-fit:contain}
.postercopy{position:relative}.postercopy h2{font-size:clamp(2.5rem,4.7vw,5rem);letter-spacing:-.055em}.postercopy p{margin-top:.9rem;color:#e0e1f6;font-size:1.05rem;max-width:33ch}.parentposter{align-self:center;color:#bdc6f5}.parentposter .icon{width:7rem;height:7rem}
.frame{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100svh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:2rem 1rem;display:flex;flex-direction:column;position:sticky;top:0;height:100svh}.brandlink{padding:0 .7rem;align-self:flex-start}
.nav{display:grid;gap:.35rem;margin-top:3.5rem}.nav a{display:flex;align-items:center;gap:.85rem;font-weight:550;padding:.75rem .9rem;min-height:45px;border-radius:10px;color:#51576c}
.nav a:hover,.nav a.active{background:#eeeffc;color:#393c97}.nav a.active{font-weight:680}.sidefoot{margin-top:auto;display:grid;gap:.2rem;border-top:1px solid var(--line);padding-top:1rem}.sidefoot button{justify-content:flex-start;white-space:nowrap}
.stage{min-width:0}.topbar{height:68px;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(1.2rem,4vw,4rem);background:#ffffffba;border-bottom:1px solid var(--line);font-size:.87rem}
.crumb{color:#53596e}.crumb span{padding:0 .6rem;color:#9297a9}.profile{font-weight:620}.profile .icon{box-sizing:content-box;padding:.45rem;background:#e7e9fa;color:#494ca9;border-radius:10px;width:1.1rem;height:1.1rem}
.main{padding:clamp(1.5rem,3.3vw,3.2rem) clamp(1.2rem,4vw,4rem) 4rem;max-width:1500px;margin:auto}.heading{margin-bottom:1.65rem}
.panel,.list,.empty{background:white;border:1px solid var(--line);border-radius:var(--round);box-shadow:var(--shade)}.block{padding:clamp(1.15rem,2.25vw,2rem)}.block+.block{margin-top:.8rem}
.dashgrid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(18.5rem,1fr);grid-template-areas:"mission wallet";gap:1rem}.dashgrid>.hero{grid-area:mission}.hero{padding:clamp(1.25rem,2.5vw,2.5rem);min-height:245px;display:flex;align-items:center}
.herotext{position:relative;z-index:1;max-width:59%}.herotext h2{font-size:clamp(1.8rem,3vw,3rem);letter-spacing:-.045em;overflow-wrap:break-word}.herotext p:not(.heroeye){margin-top:.65rem;color:#e0e3f1}
.hero .island{position:absolute;right:-2%;width:43%;height:90%;object-fit:contain;top:5%}.heroeye{margin:0 0 .8rem;letter-spacing:.06em}.metarow{font-size:.9rem;color:#dce2f5;margin:.72rem 0 1.15rem;flex-wrap:wrap}.metarow .icon{width:1rem}
.wallet{grid-area:wallet;min-width:0;padding:1.25rem}
.wallet-summary{display:flex;align-items:center;gap:.7rem}.wallet-summary h2{font-size:1rem;letter-spacing:0}.wallet-summary .amount{margin-top:.2rem;font-size:1.65rem;font-weight:680;line-height:1.15}
.wallet-summary .textlink{margin-left:auto;white-space:nowrap;padding-right:0}
.wallet-hold{margin-top:.75rem;padding:.75rem .85rem .25rem;border-radius:12px;background:var(--paper)}
.wallet-hold p{line-height:1.4}
.wallet .savings{max-width:none;margin:1rem 0 0;padding:.85rem 0 0;border:0;border-top:1px solid var(--line);border-radius:0}
.wallet .savings-head h2{font-size:1rem}
.symbol,.minisym{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;width:46px;height:46px;flex:none;background:#ececfc;color:#4b50a7}
.math .symbol,.lilac{background:#eceafd;color:#554fa7}.ru .symbol{background:#e6f0f9;color:#355f8c}.lit .symbol,.amber{background:#fbedd6;color:#805214}.en .symbol{background:#deefe7;color:#30694e}
.section{margin-top:2rem}.section>h2{margin-bottom:1rem}.subjectgrid,.skillgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.subject{padding:1.2rem;display:flex;align-items:center;gap:.95rem}.subject:hover{border-color:#989bd4;box-shadow:0 3px 14px #494a8c12}.subject p,.skillline p{margin-top:.3rem;font-size:.93rem}
.empty{padding:1.25rem;color:var(--muted);box-shadow:none}.list{overflow:hidden}.list>.empty{border:0}.row,.split,.actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.row{flex-wrap:wrap;padding:1rem 1.3rem}.row+.row{border-top:1px solid var(--line)}.row small{display:block;margin-top:.15rem}
.badge{display:inline-block;background:#eeeefa;color:#494d83;font-size:.82rem;font-weight:600;border-radius:7px;padding:.3rem .55rem}.actions{flex-wrap:wrap}.metrics,.rewardsgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.metric,.reward{padding:1.35rem;display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}.metric strong{font-size:2.4rem;line-height:1.1;letter-spacing:-.045em}.reward form,.reward>.muted{margin-top:auto}.reward h3{margin:.35rem 0}.reward b{margin-bottom:.5rem}
.narrow,.task,.result{max-width:780px}.block p+.primary,.block p+.secondary{margin-top:1.1rem}.block>label:not(:first-child){margin-top:1rem}.block>textarea+button{margin-top:1rem}.block fieldset{padding:0;border:0;margin:1.35rem 0}.block legend{margin-bottom:.65rem}.choice{display:flex;align-items:center;gap:.75rem;padding:.7rem .85rem;border:1px solid var(--line);border-radius:10px;cursor:pointer;margin-bottom:.5rem}.choice:has(input:checked){background:#f3f3ff;border-color:#9395d7}.choice input{width:18px;height:18px;accent-color:var(--violet)}.choice b{margin-left:auto;white-space:nowrap}.minisym{width:30px;height:30px;border-radius:7px}.task .split{font-size:.9rem;flex-wrap:wrap}.rail{display:flex;gap:4px;margin:.8rem 0 1.6rem}.rail i{height:5px;border-radius:4px;background:#e4e5ee;flex:1}.rail i.here{background:#8c8fe2}.rail i.done{background:var(--violet)}
.practice{font-size:.96rem}.prompt{font-size:clamp(1.3rem,2.45vw,1.9rem);line-height:1.4;margin:1rem 0 1.25rem;letter-spacing:-.02em}.hint,.feedback,.warning{padding:1rem;border-radius:12px;background:#edf2ff;color:#303c6e}.feedback,.warning{background:#fff2d9;color:#694714}.hint p,.feedback p{margin-top:.35rem}.answer{margin-top:1.4rem}.answer button{margin-top:.9rem}.result .bright{margin-top:1.3rem}
.skilltitle{display:flex;align-items:center;gap:.7rem;font-size:1.2rem}.skillline{border-top:1px solid var(--line);margin-top:1.2rem;padding-top:1rem}.skillline h3{font-size:1.03rem}.skillline .split{align-items:start;flex-wrap:wrap}.skillline summary{padding:.55rem 0;color:var(--violet);font-size:.92rem;min-height:44px}.skillline li{font-size:.88rem}.skillgrid .block{margin:0}.notebody{white-space:pre-wrap;overflow-wrap:anywhere}.plain .hero .island{display:none}.plain .hero{background:#e8ebf8;color:var(--ink)}.plain .herotext{max-width:100%}.plain .heroeye,.plain .herotext p:not(.heroeye),.plain .metarow{color:#474e73}.plain .bright{background:var(--violet);color:white}.plain .symbol,.adult .symbol{color:#4e5570;background:#eef0f5}
@media(min-width:1600px){.main{padding-left:4rem;padding-right:4rem}.hero{min-height:300px}}
@media(max-width:1040px){.frame{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:1.5rem .65rem}.main,.topbar{padding-left:1.5rem;padding-right:1.5rem}.hero .island{width:36%}.herotext{max-width:68%}.loginleft{padding-left:1.5rem;padding-right:2rem}.loginwrap{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.dashgrid{grid-template-columns:minmax(0,1fr);grid-template-areas:"wallet" "mission"}}
@media(max-width:760px){.frame{display:block}.sidebar{height:auto;position:static;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.5rem;padding:.7rem 1rem 0;border:0;border-bottom:1px solid var(--line)}.brandlink{padding:0}.brand{font-size:1.4rem}.brandmark{width:31px;height:31px;padding:6px}.sidefoot{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;align-items:center;margin:0;padding:0;border:0}.quiet{font-size:.85rem;padding:.5rem}.nav{grid-column:1/-1;grid-row:2;display:flex;gap:2px;margin:0}.nav a{flex:1;justify-content:center;padding:.6rem .35rem;font-size:.85rem;gap:.35rem;border-radius:8px 8px 0 0}.topbar{height:50px}.profile .icon{width:.9rem;height:.9rem}.main{padding:1.5rem 1rem 3rem}.topbar{padding:0 1rem}.wallet{padding:1rem}.heading{margin-bottom:1.15rem}.hero{min-height:220px}.subjectgrid,.skillgrid{gap:.65rem}.subject{padding:1rem}.metrics,.rewardsgrid{gap:.6rem}.metric,.reward{padding:1rem}.loginwrap{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);padding:.8rem}.loginleft{padding:1rem}.poster{padding:1.2rem}.poster .island{max-height:40%}.postercopy h2{font-size:2.2rem}}
@media(max-width:570px){.loginwrap{display:flex;flex-direction:column;gap:.8rem;padding:.9rem;min-height:100svh}.loginleft{display:contents}.loginleft>.brand{margin:.6rem .25rem}.logincard{max-width:none;margin:.6rem 0 0;padding:.45rem .25rem}.logincard h1{font-size:2.6rem}.roles{margin:1.4rem 0 1.2rem}.localstamp{order:3;margin:.2rem .25rem}.poster{min-height:160px;border-radius:16px;justify-content:center;margin-top:.4rem}.poster .island{width:40%;max-height:88%;left:auto;right:0;top:50%;transform:translateY(-50%)}.postertop,.parentposter{display:none}.postercopy h2{font-size:1.65rem}.postercopy p{font-size:.85rem;max-width:62%;margin-top:.4rem}.poster.parent .postercopy p{max-width:95%}.skillgrid,.subjectgrid,.rewardsgrid{grid-template-columns:1fr}.hero{min-height:216px}.hero .island{width:38%}.herotext{max-width:63%}.subjectgrid .subject{padding:.9rem 1rem}.symbol{width:41px;height:41px}.quiet .icon{width:1rem}.nav .icon{width:1.05rem}.section{margin-top:1.5rem}.metric span{font-size:.86rem}.metric strong{font-size:1.8rem}.metrics{grid-template-columns:repeat(auto-fit,minmax(88px,1fr))}.metric{padding:.75rem .6rem}.metric small{font-size:.8rem}.reward{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:.8rem}.reward .symbol{grid-row:1/3}.reward h3,.reward b{margin:0}.reward form,.reward>.muted{grid-column:2}.choice{gap:.45rem;padding:.65rem .45rem}.choice .minisym{display:none}.result .herotext{max-width:68%}}
@media(max-width:365px){.nav a{gap:.15rem;font-size:.78rem}.nav .icon{display:none}.quiet{padding:.4rem}.sidefoot .quiet .icon{display:none}.hero .island{width:29%}.herotext{max-width:73%}.crumb span{padding:0 .2rem}}
.game .task .rail{gap:6px}.game .task .rail i{height:8px;border-radius:2px}.game .task .rail i.done{background:#565bb8;box-shadow:inset 0 -2px 0 #393e86}.game .task .rail i.here{background:#accc75;box-shadow:inset 0 -2px 0 #798f53}

.case-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:.5rem}
.case-options .choice{margin:0;min-height:46px}.answer fieldset{margin:0}

.history-result{display:block;min-height:44px;color:var(--violet)}.history-result b{text-decoration:underline;text-underline-offset:.2em}
.points-why{margin:.45rem 0}.points-why summary{width:fit-content;min-height:44px;padding:.55rem 1rem;border:1px solid currentColor;border-radius:10px;font-weight:650;list-style-position:inside}
.points-why summary:focus-visible{outline-color:currentColor}
.result:has(.points-why[open]) .herotext{width:100%;max-width:40rem}
.result:has(.points-why[open]) .island{display:none}
.points-story{margin:.7rem 0 1rem;background:white;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:1rem 1.15rem}
.points-story ul{list-style:none;margin:0;padding:0}.points-story li+li{margin-top:.8rem;border-top:1px solid var(--line);padding-top:.8rem}
.result .points-story p:not(.heroeye){color:var(--ink);margin:0}.points-story li strong{display:block;margin-bottom:.25rem}

.plan-subjects{display:flex;flex-wrap:wrap;gap:.5rem}
.plan-subject{display:flex;align-items:center;gap:.5rem;padding:.55rem .8rem;min-height:44px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.plan-subject input{width:18px;height:18px;margin:0;accent-color:var(--violet)}
.plan-subject:has(:checked){background:#f3f3ff;border-color:#9395d7}
.subject-plans{display:none;order:1;flex:0 0 100%}
.plan-subject:has(:checked)+.subject-plans{display:block}
.plan-preview{display:none;padding:1rem;border-radius:12px;background:#edf2ff;color:#303c6e}
form:has([name=mode][value=adaptive]:checked) .plan-preview.adaptive,
form:has([name=mode][value=fresh]:checked) .plan-preview.fresh{display:block}
form:has([name=mode][value=fresh]:checked):has(.no-fresh:checked) .mission-launch{display:none}
.plan-preview strong{font-size:1.15rem}.plan-preview p{margin-top:.3rem}

.savings{max-width:780px;margin:1rem 0;padding:1rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:14px}
.savings-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.25rem 1rem}
.savings-head h2{font-size:1.15rem}.savings-head span{font-weight:620;font-variant-numeric:tabular-nums}
.savings-track{position:relative;height:.65rem;margin:.85rem 0 .5rem}
.savings-track progress{display:block;width:100%;height:100%;appearance:none;border:0;border-radius:1rem;overflow:hidden;background:var(--line);color:var(--violet);accent-color:var(--violet)}
.savings-track progress::-webkit-progress-bar{background:var(--line)}.savings-track progress::-webkit-progress-value{background:var(--violet)}
.savings-track progress::-moz-progress-bar{background:var(--violet)}
.savings-track svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.savings-track line{stroke:white;stroke-width:2px;vector-effect:non-scaling-stroke}
.savings ul{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.3rem;list-style:none;margin:0;padding:0}
.savings li{text-align:right;font-size:.9rem}.savings li>*{display:block}.savings li span,.savings li small{color:var(--muted)}
.savings li.reached small{color:#276143;font-weight:620}.savings>.textlink{margin-top:.4rem}
.savings li.next small{color:var(--violet);font-weight:620}
@media(max-width:570px){.savings{padding:.85rem}.savings li{font-size:.81rem}.savings li small{font-size:.78rem}}

.report-option { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.report-option p { margin: .6rem 0 0; }
.rail i.skipped { background: transparent; border: 1px dashed currentColor; }
