@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{color-scheme:light;--bg:#f4f5f7;--paper:#fff;--ink:#252731;--muted:#606571;--soft:#eaecef;--accent:#bd3732;--tint:#fbe6e2;--shadow:0 5px 24px rgba(39,47,63,.055),0 1px 5px rgba(39,47,63,.025);font-family:Onest,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:3px}button,summary{cursor:pointer}button{border:0}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #4478c5;outline-offset:3px}[hidden]{display:none!important}.wrap{width:min(1136px,calc(100% - 72px));margin-inline:auto}
.site-head {background:white; box-shadow:0 1px 12px rgba(42,45,52,.035)}
.top {
  width:100%; max-width:2560px; min-height:80px; margin-inline:auto;
  padding-inline:40px; display:flex; align-items:center;
}
.brand {display:inline-flex; align-items:center; font-size:1.19rem; flex-shrink:0}
.brand img {display:block; width:9.6em; height:auto; max-width:100%}
#nav {
  display:flex; align-self:stretch; gap:clamp(18px,1.8vw,26px);
  margin-inline:clamp(28px,4vw,60px) 20px;
}
#account {display:flex; align-self:stretch; margin-inline-start:auto}
#nav a, .account-link {
  position:relative; display:flex; align-items:center; text-align:center; text-decoration:none;
  color:var(--muted); font-size:.7rem; font-weight:650; line-height:1.4; letter-spacing:.06em;
  text-transform:uppercase;
}
#nav a:hover, .account-link:hover, #nav a[aria-current=page], .account-link[aria-current=page] {color:var(--accent)}
#nav a[aria-current=page]::after, .account-link[aria-current=page]::after {
  content:""; position:absolute; inset-inline:0; bottom:0; height:2px; background:currentColor;
}
.account-link {gap:8px}
.account-icon {
  display:grid; place-items:center; flex-shrink:0; width:28px; height:28px;
  border-radius:50%; background:#f1ebeb; color:#813936; font-size:.84rem; font-weight:700;
}
.account-link[aria-current=page]:has(.account-icon)::after {inset-inline-start:36px}
@media (max-width:960px) {
  .account-name {display:none}
  .account-link[aria-current=page]:has(.account-icon)::after {inset-inline-start:0}
}
@media (max-width:800px) {
  .top {
    display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:54px minmax(44px,auto);
  }
  .brand {grid-column:1; grid-row:1; justify-self:start; font-size:1.07rem}
  #nav {grid-column:1/-1; grid-row:2; gap:clamp(10px,3vw,20px); margin:0}
  #account {grid-column:2; grid-row:1}
}
@media (max-width:520px) {
  #nav:has(a:nth-child(4)) a {width:min-content}
}
@media (max-width:400px) {
  #nav a {width:min-content}
}
@media (max-width:374px) {
  #nav:has(a:nth-child(4)) {gap:4px}
  #nav a {letter-spacing:normal}
}
main{padding:42px 0 70px;outline:0;min-height:76vh}h1,h2,h3,p,fieldset,figure{margin:0}h1,h2,h3{line-height:1.17;text-wrap:balance}h1{font-size:clamp(2rem,3.7vw,3.16rem);font-weight:705}h2{font-size:clamp(1.35rem,2.2vw,1.72rem);font-weight:670}h3,legend{font-size:1.08rem;font-weight:650}p+p{margin-top:.75em}.muted,.meta{color:var(--muted)}.meta{font-size:.94rem}.heading,.rowline,.actions,.counts,.tabs,.crumb,.navline,.formbar,.state-line{display:flex;align-items:center}.heading{justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.heading h1+p,.heading h2+p{margin-top:6px}.actions,.navline,.formbar,.state-line,.counts{gap:10px;flex-wrap:wrap}.section-title{margin:28px 0 14px}.panel,.module-list,.answer-card{background:white;border-radius:17px;box-shadow:var(--shadow)}.panel{padding:26px 30px}.panel+.panel{margin-top:16px}.primary,.secondary,.simple{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-weight:625;font-size:.96rem;line-height:1.4;border:0;border-radius:10px;padding:11px 17px}.primary{background:var(--accent);color:white}.primary:hover{background:#a52d28}.secondary{background:var(--soft);color:var(--ink)}.secondary:hover{background:#dde1e6}.simple{color:var(--accent);background:transparent}.simple:hover{text-decoration:underline}.primary:disabled,.secondary:disabled{opacity:.55;cursor:default}.module-list{overflow:hidden;padding:5px 10px}.module{display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 19px;border-radius:12px;text-decoration:none;color:var(--ink)}.module:hover,.module:focus-visible{background:#f1f2f4}.module .order{font-variant-numeric:tabular-nums;font-size:1.19rem;color:#767b86;font-weight:560}.module strong{font-weight:635;font-size:clamp(1.02rem,1.6vw,1.21rem);line-height:1.35}.module small{display:block;color:var(--muted);font-size:.91rem;margin-top:2px}.module .status{justify-self:end}.module-end{color:var(--muted);font-size:.92rem;white-space:nowrap}
.strip{display:flex;height:7px;border-radius:100px;overflow:hidden;gap:2px;background:#e8e9ed;max-width:490px;margin-bottom:11px}.strip span{min-width:0}.strip .red{background:#cb6b62}.strip .yellow{background:#d1a43a}.strip .green{background:#539070}.status{display:inline-flex;align-items:center;font-size:.87rem;font-weight:575;line-height:1.4;border-radius:7px;padding:3px 7px;white-space:normal}.green,.accepted{color:#276747;background:#e1f0e7}.yellow,.pending,.submitted{color:#78580b;background:#f8edcc}.red,.revise{color:#983f38;background:#fae4df}.neutral{color:#515867;background:#eceef1}.counts{gap:13px}.counts span{font-size:.94rem}.counts b{font-variant-numeric:tabular-nums}.panel p{max-width:85ch}.panel .actions{margin-top:15px}.route-call{display:flex;align-items:center;justify-content:space-between;gap:18px}.route-call p{margin-top:4px}.crumb{gap:9px;flex-wrap:wrap;color:var(--muted);font-size:.93rem;margin-bottom:18px}.crumb a{color:var(--muted)}.crumb span+span::before,.crumb a+span::before{content:"/";margin-right:9px;color:#8e9299}.tabs{gap:4px;flex-wrap:wrap;margin:20px 0 18px}.tabs a{color:var(--muted);text-decoration:none;padding:8px 14px;border-radius:9px;font-weight:600}.tabs a[aria-current=page]{background:var(--ink);color:white}.tabs a:hover:not([aria-current]){background:var(--soft)}.lesson{display:grid;gap:18px}.lesson .panel{margin:0}.lesson p,.readable{max-width:77ch}.lesson .intro{font-size:1.16rem;line-height:1.65;max-width:80ch}.lesson h2,.reading h2{margin-bottom:12px}.example{background:#e9eef1}.shot{margin:16px 0 0}.shot img{display:block;width:min(850px,100%);height:auto;border-radius:10px}.shot figcaption{color:var(--muted);font-size:.9rem;margin-top:8px}.lesson details+details{margin-top:12px}.steps,.bullets,.feedback-list{padding-left:1.3em;margin:8px 0 0}.steps li+li,.bullets li+li,.feedback-list li+li{margin-top:.55em}.skills{list-style:none;padding:0;margin:10px 0 0}.skills li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:14px;padding:8px 0}.skills li>span:first-child{overflow-wrap:anywhere}.skills .ref{color:var(--muted);font-size:.87rem}.chapter-links{justify-content:space-between;margin:23px 0 0}.chapter-links a{text-decoration:none;font-weight:600}summary{font-weight:600}
.narrow{max-width:780px;margin-inline:auto}.authbox{max-width:465px;margin:10px auto 0}.authbox h1{font-size:2rem;margin-bottom:18px}.field{display:grid;gap:6px;margin:15px 0}.field span,.field>strong{font-weight:600}.field input,.field select,.field textarea,.search{width:100%;min-width:0;padding:11px 13px;background:#f0f2f4;border:0;border-radius:9px;line-height:1.4}.field select{white-space:normal}.field textarea{resize:vertical;min-height:160px}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{background:#f7f8fa}.authbox .formbar{margin:20px 0 12px}.authbox .formbar button{width:100%}.authlinks{display:flex;gap:12px 18px;flex-wrap:wrap;font-size:.95rem}.flash{margin:0 0 16px;padding:12px 14px;background:#edf3ee;color:#2e6447;border-radius:10px}.error{color:#943b34}.form-error:not(:empty){margin:10px 0;font-weight:550}.choices{border:0;padding:0;min-width:0;margin:20px 0}.choices legend{margin:0 0 6px;padding:0;line-height:1.45;overflow-wrap:anywhere}.choice{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:8px 10px;border-radius:8px;overflow-wrap:anywhere}.choice:hover,.choice:has(input:checked){background:#eff1f4}.choice input{flex-shrink:0;accent-color:var(--accent);margin:5px 0 0;width:16px;height:16px}.formbar{margin-top:18px}.feedback:not(:empty){margin-top:19px;background:#f2f4f5;padding:15px;border-radius:10px}.feedback-list li{overflow-wrap:anywhere}.feedback-list strong{display:block}.feedback-list small{color:var(--muted);font-size:.94rem}.progress{height:7px;width:min(100%,480px);border:0;border-radius:8px;appearance:none;background:var(--soft);margin:12px 0}.progress::-webkit-progress-bar{background:var(--soft);border-radius:8px}.progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.progress::-moz-progress-bar{background:var(--accent);border-radius:8px}.diaghead p{margin-top:5px}.diaghead .progress{margin-bottom:0}.diagnav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.diagnav .meta{margin-left:auto}
.report-list{display:grid;gap:8px}.report-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;background:#f3f4f6;border-radius:10px;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.report-row:hover{background:#e9ebee}.report-row strong{font-weight:625}.report-row small{display:block;color:var(--muted)}.table-box{overflow-x:auto}.table{width:100%;border-collapse:collapse;line-height:1.45}.table th,.table td{text-align:left;vertical-align:top;padding:8px 9px}.table th{font-weight:600;color:var(--muted);font-size:.9rem}.table th:first-child,.table td:first-child{padding-left:0}.table td{overflow-wrap:anywhere}.snapshot{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f3f5;border-radius:10px;padding:16px;margin:13px 0}.search{margin:12px 0}.level-groups details{background:white;box-shadow:var(--shadow);border-radius:12px;padding:14px 17px;margin-top:9px}.level-groups summary{line-height:1.4}.mini{margin-top:8px}.readable h3{margin-top:16px}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);max-width:min(90vw,530px);z-index:3;background:#292b32;color:white;padding:12px 18px;border-radius:12px;box-shadow:var(--shadow)}.skip{position:fixed;left:-100vw}.skip:focus{left:5px;top:5px;z-index:4;background:white;padding:7px}.loading{color:var(--muted)}
@media(max-width:840px){.wrap{width:calc(100% - 36px)}.panel{padding:22px}.module{gap:11px;grid-template-columns:2.5rem minmax(0,1fr) auto}}
@media(max-width:680px){.wrap{width:calc(100% - 28px)}main{padding:25px 0 45px}.heading{margin-bottom:17px}.heading .primary{padding:9px 12px}.panel{padding:18px 16px}.module-list{padding:4px 5px}.module{grid-template-columns:1.65rem minmax(0,1fr) auto;gap:8px;padding:14px 9px}.module .order{font-size:1rem}.module .status{font-size:.76rem;max-width:82px}.module small,.module-end,.meta{font-size:.87rem}.route-call{align-items:flex-start;flex-direction:column;gap:10px}.section-title{margin-top:20px}.tabs{margin:14px 0}.tabs a{padding:7px 10px}.diagnav .meta{margin-left:0}.skills li{grid-template-columns:1fr;gap:2px}.skills .status{justify-self:start}.report-row{flex-wrap:wrap}.toast{bottom:10px}.choices{margin:16px 0}}
@media(max-width:360px){.wrap{width:calc(100% - 18px)}.module{grid-template-columns:1.4rem minmax(0,1fr);gap:6px}.module>.status,.module-end{grid-column:2;justify-self:start}.heading{gap:10px}.panel{padding:15px 12px}}

.program-heading {
  display:grid;
  grid-template-columns:minmax(min-content,1fr) auto;
  align-items:center;
  column-gap:12px;
}
.program-completion {text-align:right; color:var(--muted); font-size:.94rem}
.program-completion b {white-space:nowrap; color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums}
.module.with-meter {
  grid-template-columns: 3.2rem minmax(0, 1fr) clamp(10.5rem, 19vw, 13rem);
}
.skill-meter {display:grid; gap:7px; min-width:0}
.mastered-label {color:#286449; font-size:.875rem; line-height:1.2}
.mastered-label b {font-weight:650; font-variant-numeric:tabular-nums}
.skill-track {display:flex; gap:3px; height:7px}
.skill-track i {flex:1; border-radius:2px}
.skill-track .mastered {background:#439475}
.skill-track .remaining {background:#e7e7e7}

.lesson-layout {
  display:grid;
  grid-template-columns:clamp(14rem,21vw,17rem) minmax(0,1fr);
  align-items:start;
  gap:clamp(24px,2.4vw,36px);
}
.lesson-content, .lesson-content .choices {min-inline-size:0}
.course-reading .reading-section {margin-top:2.1rem}
.reading-section h2 {margin-bottom:.75rem}
.reading-section p, .reading-section li, .reading-practice p {max-width:74ch; line-height:1.65; overflow-wrap:anywhere}
.lesson-table-wrap {max-width:100%; overflow-x:auto; margin:1rem 0}
.lesson-screen {margin:1.35rem 0 1.65rem; max-width:100%}
.screen-image {display:block; width:fit-content; max-width:100%; padding:0; border:0; background:none; cursor:zoom-in}
.shot .screen-image {width:min(850px,100%)}
.screen-image img {display:block; max-width:100%; height:auto; border-radius:8px; box-shadow:0 2px 12px #20232812}
.lesson-screen figcaption {max-width:74ch; margin-top:.7rem; line-height:1.5}
.lesson-screen small {display:block; margin-top:.35rem; color:var(--muted)}
.lesson-screen small a,.screen-expand {color:inherit; text-underline-offset:.16em}
.screen-expand {padding:0; background:none; border:0; font:inherit; text-decoration:underline; cursor:zoom-in}
html:has(#image-viewer[open]) {overflow:hidden}
#image-viewer {
  position:fixed; inset:0; margin:0; padding:12px; box-sizing:border-box;
  width:100%; height:100%; max-width:none; max-height:none; border:0; background:transparent;
  color:white; overflow:hidden;
}
#image-viewer[open] {display:grid; grid-template-rows:auto minmax(0,1fr); gap:8px}
#image-viewer::backdrop {background:rgb(19 21 26 / 93%)}
.viewer-controls {display:flex; gap:8px; justify-self:end}
.viewer-controls button {min-height:44px; padding:0 16px; border:0; border-radius:9px; background:#383b42; color:white; font:inherit; cursor:pointer}
.viewer-controls .viewer-close {width:44px; padding:0; font-size:1.65rem; line-height:1}
.viewer-stage {display:flex; min-width:0; overflow:auto; overscroll-behavior:contain}
.viewer-stage img {display:block; flex:none; margin:auto; width:auto; height:auto; max-width:100%; max-height:100%; border-radius:4px}
.viewer-stage.is-zoomed img {max-width:none; max-height:none}
.lesson-table {width:100%; border-collapse:collapse; text-align:left; font-size:.94rem}
.lesson-table caption {padding:0 0 .65rem; text-align:left; font-size:1rem}
.lesson-table:has(caption):has(th:nth-child(4)) {min-width:32rem}
.lesson-table:has(caption):has(th:nth-child(6)) {min-width:40rem}
.course-reading [data-message-text] {padding:1rem 1.15rem; background:#f6f7f8; border-radius:10px}
.course-reading [data-copy-message] {margin-top:.25rem}
.lesson-table th, .lesson-table td {padding:.65rem .8rem; vertical-align:top; line-height:1.45}
.lesson-table th {background:#edf0f1; font-weight:650}
.lesson-table tr:nth-child(even) td {background:#f7f8f8}
.reading-practice details {margin-top:.8rem}
.reading-practice details p {margin-top:.5rem}
@media(max-width:600px){
  .lesson-table th,.lesson-table td {padding:.45rem; overflow-wrap:anywhere}
  .course-reading .reading-section {margin-top:1.65rem}
}
.lesson-content .lesson, .lesson-content .field {grid-template-columns:minmax(0,1fr)}
.lesson-sidebar {
  position:sticky;
  top:20px;
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:#c8c9cd transparent;
  padding:20px 10px 16px;
  color:var(--ink);
  background:var(--paper);
  border-radius:16px;
  box-shadow:var(--shadow);
}
.lesson-menu-title, .lesson-menu-toggle {
  font-size:1rem;
  line-height:1.35;
  font-weight:680;
}
.lesson-menu-title {margin:0 10px 12px}
.lesson-menu-toggle {display:none}
.lesson-menu-list, .lesson-menu-legend {list-style:none; margin:0; padding:0}
.lesson-menu-list {display:grid; gap:2px}
.lesson-menu-link {
  position:relative;
  display:grid;
  grid-template-columns:9px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-height:36px;
  padding:8px 10px;
  border-radius:8px;
  color:#505460;
  text-decoration:none;
  font-size:.875rem;
  line-height:1.35;
  font-weight:470;
}
.lesson-menu-name {overflow-wrap:anywhere}
.module-list + .actions {margin-top:20px}
.lesson-menu-link:hover {background:#f6f6f7; color:var(--ink)}
.lesson-menu-link[aria-current=page] {background:#f5e9e7; color:#782a29; font-weight:660}
.lesson-menu-link:focus-visible, .lesson-menu-toggle:focus-visible {outline-offset:-2px}
.lesson-state {
  display:inline-block;
  width:9px;
  height:9px;
  flex-shrink:0;
  border-radius:50%;
}
.lesson-state.is-done {background:#327e56}
.lesson-state.is-started {border:1.5px solid #b36621; background:linear-gradient(90deg,#b36621 50%,transparent 50%)}
.lesson-state.is-new {border:1.5px solid #bf4b47}
.lesson-status-text {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.lesson-menu-legend {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 12px;
  margin:14px 10px 0;
  padding-top:12px;
  border-top:1px solid #eeeef0;
  font-size:.75rem;
  line-height:1.4;
  color:var(--muted);
}
.lesson-menu-legend li {display:inline-flex; align-items:center; gap:5px}
@media (min-width:901px) {
  main.wrap:has(.lesson-layout) {width:min(1320px,calc(100% - 80px))}
}
@media (max-width:900px) {
  .lesson-layout {display:block}
  .lesson-sidebar {position:static; max-height:none; overflow:visible; margin-bottom:20px; padding:0}
  .lesson-menu-title {display:none}
  .lesson-menu-toggle {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:48px;
    padding:12px 17px;
    list-style:none;
    border-radius:16px;
  }
  .lesson-menu-toggle::-webkit-details-marker {display:none}
  .lesson-menu-chevron {
    width:8px;
    height:8px;
    margin:-3px 3px 0 0;
    border:solid currentColor;
    border-width:0 1.5px 1.5px 0;
    transform:rotate(45deg);
    font-size:0;
  }
  .lesson-menu[open] .lesson-menu-chevron {margin-top:3px; transform:rotate(225deg)}
  .lesson-menu-nav {padding:0 8px 14px}
  .lesson-menu-link {min-height:42px}
}
@media (max-width:840px) {
  .module.with-meter {grid-template-columns:2.5rem minmax(0,1fr) 10.5rem}
}
@media (max-width:680px) {
  .module.with-meter {grid-template-columns:1.65rem minmax(0,1fr); row-gap:8px}
  .with-meter .order {align-self:start}
  .skill-meter {grid-column:2; width:min(100%,15rem); gap:5px}
  .skill-track {height:6px}
}
