:root{--blue:#2455ec;--navy:#18234d;--ink:#1b2441;--muted:#707a91;--bg:#f5f7fc;--line:#e5e9f2;--green:#107c53;--lime:#d6f784;--radius:22px}
*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8dabff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.2;letter-spacing:-.035em}h2{font-size:1.35rem;letter-spacing:-.025em}h3{font-size:1.075rem}small,.tiny{font-size:.875rem}strong{font-weight:700}.muted{color:var(--muted)}.eyebrow{font-size:.875rem;font-weight:600;color:var(--muted)}.skip{position:fixed;left:20px;top:-100px;background:white;padding:12px;z-index:100}.skip:focus{top:16px}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sidebar{width:228px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:30px 19px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-size:1.6rem;font-weight:800;letter-spacing:-.05em;margin:0 6px 42px}.brand img{border-radius:13px}.brand-accent{color:var(--blue)}.nav-label{font-size:.75rem;letter-spacing:.09em;color:#929aad;font-weight:700;margin:0 14px 14px}.nav-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:13px;margin:5px 0;color:#777f94;font-weight:600;font-size:.9375rem;transition:background .15s}.nav-item:hover{background:#f4f6fb}.nav-item.active{background:#edf2ff;color:var(--blue)}.sidebar-bottom{margin-top:auto;padding-top:30px}.goal-card{padding:20px 16px;background:#f5f7fe;border-radius:18px}.goal-card .tiny{color:var(--muted);font-size:.75rem}.goal-card strong{display:block;margin:12px 0;font-size:1.05rem;line-height:1.4}.goal-line{display:block;width:38px;height:4px;background:var(--blue);border-radius:8px;margin:18px 0}.goal-card p{font-size:.875rem;color:var(--muted)}.prototype-pill{display:inline-block;font-size:.75rem;color:var(--muted);margin:20px 12px 0;border:1px solid var(--line);padding:4px 10px;border-radius:20px}
.workspace{margin-left:228px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:rgba(255,255,255,.7)}.topbar-title{font-size:.875rem;color:var(--muted)}.topbar-right{display:flex;gap:18px;align-items:center}.local-note{font-size:.75rem;color:var(--muted)}.avatar{width:38px;height:38px;border:1px solid #dce4f8;border-radius:50%;background:#eaf0ff;color:var(--blue);display:grid;place-items:center;font-weight:700;font-size:.875rem}main{max-width:1360px;margin:0 auto;padding:36px 40px 18px;min-height:calc(100vh - 150px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.page-heading p{color:var(--muted);margin-top:8px}.streak{display:flex;gap:8px;align-items:center;padding:9px 13px;background:#fff;border:1px solid var(--line);border-radius:12px;white-space:nowrap;font-size:.875rem}.streak .icon{color:#ee9b35}.subject-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}.subject-tab{background:white;text-align:left;border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;gap:12px;align-items:center;color:var(--ink);transition:border-color .15s,box-shadow .15s}.subject-tab.active{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.subject-symbol{width:38px;height:38px;background:#edf2ff;border-radius:12px;display:grid;place-items:center;font-size:1.125rem;font-weight:700;color:var(--blue);flex:none}.subject-tab strong{display:block;font-size:.9375rem;line-height:1.35}.subject-tab small{display:block;color:var(--muted);margin-top:3px;font-size:.8125rem}.subject-tab .check{margin-left:auto;width:20px;height:20px;display:grid;place-items:center;background:var(--blue);border-radius:50%;color:#fff}.subject-tab .check .icon{width:13px;height:13px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#1b3bc3,#285cef);border-radius:var(--radius);color:white;padding:32px;min-height:236px;display:flex;align-items:center;gap:20px}.hero-content{position:relative;z-index:1;flex:1}.hero .eyebrow{color:#c5d3ff}.hero h2{font-size:1.75rem;margin:12px 0 9px;max-width:350px;line-height:1.25}.hero p{color:#d3dfff;font-size:.9375rem;max-width:335px}.hero img{width:145px;height:145px;border-radius:30px;transform:rotate(-7deg);box-shadow:0 14px 35px #14278250}.hero .primary{margin-top:22px;background:var(--lime);color:#1b3543;box-shadow:0 3px 0 #9aba52}.primary,.secondary,.small-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650;border-radius:12px;min-height:46px;padding:10px 20px}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 0 #173cc0}.primary:hover{filter:brightness(1.06)}.secondary{background:#f0f3fa;color:var(--ink)}.small-button{background:#edf2ff;color:var(--blue);font-size:.875rem;min-height:38px;padding:8px 13px}.text-button{background:transparent;color:var(--blue);font-weight:600;font-size:.875rem;padding:8px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 15px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.metric{border:1px solid var(--line);border-radius:17px;background:#fff;padding:20px}.metric-title{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:.8125rem}.metric-title .icon{width:17px;height:17px}.metric-value{display:block;font-size:1.65rem;letter-spacing:-.04em;margin:8px 0 2px}.metric small{font-size:.75rem;color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.panel+.panel{margin-top:20px}.panel h3{margin-bottom:15px}.week{display:flex;justify-content:space-between;gap:5px}.day{text-align:center;font-size:.75rem;color:var(--muted)}.day-circle{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);margin:8px auto}.day.today .day-circle{border:2px solid var(--blue);color:var(--blue);font-weight:700}.day.done .day-circle{background:var(--blue);color:white;border-color:var(--blue)}.week-note{font-size:.875rem;color:var(--muted);margin-top:16px}.focus-item{padding:13px 0;border-top:1px solid var(--line)}.focus-item:first-of-type{border-top:0}.focus-item strong{display:block;font-size:.9375rem}.focus-item p{font-size:.8125rem;color:var(--muted);margin:5px 0 8px}.focus-item button{padding:0}.topic-list{display:grid;gap:10px}.topic-row{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);border-radius:16px;padding:17px 20px}.topic-number{width:40px;height:40px;border-radius:13px;background:#f1f4ff;color:var(--blue);display:grid;place-items:center;font-size:.9375rem;font-weight:700;flex:none}.topic-info{flex:1;min-width:0}.topic-info h3{font-size:.9375rem}.topic-info p{font-size:.8125rem;color:var(--muted);margin:3px 0 7px}.progress-bar{height:5px;background:#eef1f8;border-radius:4px;overflow:hidden;max-width:180px}.progress-bar>span{display:block;background:var(--blue);height:100%;border-radius:4px}.topic-status{font-size:.8125rem;color:var(--muted);margin-right:7px}.status-good{color:var(--green)}.status-warn{color:#b6721e}.topics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.topic-card{display:flex;flex-direction:column;min-height:290px}.topic-card .topic-number{margin-bottom:17px}.topic-card h3{margin-bottom:8px;font-size:1.2rem}.topic-card p{font-size:.9375rem;color:var(--muted);margin-bottom:14px}.topic-card .progress-bar{max-width:none;margin:12px 0 8px}.topic-card .primary{margin-top:auto}.inline-note{margin:18px 0;color:var(--muted);font-size:.875rem}.plan-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.settings label{display:block;font-size:.9375rem;font-weight:600;margin:20px 0 8px}.settings select{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}.settings input[type=range]{width:100%;accent-color:var(--blue);margin:10px 0 5px}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:.8125rem}.settings .primary{width:100%;margin-top:24px}.plan-step{position:relative;display:flex;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}.plan-step:last-child{border:0}.step-marker{width:35px;height:35px;background:#eaf0ff;color:var(--blue);border-radius:50%;display:grid;place-items:center;flex:none;font-weight:700}.plan-step h3{margin-bottom:5px}.plan-step p{color:var(--muted);font-size:.9375rem;margin-bottom:10px}.plan-step .eyebrow{font-size:.8125rem}.plan-step .small-button{margin-top:12px}.chart-panel{margin-top:24px}.chart{height:155px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;align-items:end;margin:32px 0 12px}.chart-col{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:7px;font-size:.8125rem;color:var(--muted)}.chart-bar{width:100%;max-width:48px;background:#3e68ee;border-radius:8px 8px 3px 3px;min-height:3px}.chart-caption{color:var(--muted);font-size:.875rem}.stats-topic{display:grid;grid-template-columns:minmax(100px,1fr) 90px 85px 90px;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line);font-size:.9375rem}.stats-topic:last-child{border:0}.stats-topic.header{font-size:.8125rem;color:var(--muted)}.stats-topic strong{font-size:.9375rem}.stats-topic span:not(:first-child){text-align:right}.weak-list{display:grid;gap:12px}.weak-card{background:#fff9ee;border:1px solid #f3dfbc;border-radius:16px;padding:18px}.weak-card p{color:var(--muted);font-size:.9375rem;margin:6px 0 12px}.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.achievement{padding:28px;text-align:center}.badge-icon{width:72px;height:72px;margin:0 auto 20px;background:#eef2fa;border-radius:22px;display:grid;place-items:center;color:#9aa6bf}.badge-icon .icon{width:35px;height:35px}.achievement.unlocked .badge-icon{background:#eaf7db;color:#5b8418}.achievement p{font-size:.9375rem;color:var(--muted);margin:9px 0 14px}.badge-status{font-size:.8125rem;color:var(--muted)}.achievement.unlocked .badge-status{color:var(--green)}.empty-box{padding:30px 22px;text-align:center;background:white;border:1px dashed #ccd6e9;border-radius:18px}.empty-box .icon{width:30px;height:30px;color:var(--blue);margin-bottom:10px}.empty-box p{margin:8px 0 18px;color:var(--muted)}footer{max-width:1360px;margin:0 auto;padding:20px 40px 28px;color:var(--muted);font-size:.75rem}.mobile-nav{display:none}
dialog{width:calc(100% - 32px);max-width:680px;max-height:calc(100dvh - 32px);border:0;border-radius:24px;padding:28px;color:var(--ink);box-shadow:0 30px 100px #10265340;overflow:auto}dialog::backdrop{background:#121f4a85;backdrop-filter:blur(4px)}.lesson-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.lesson-head h2{margin-top:5px}.icon-button{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f1f4fa;color:var(--muted);flex:none}.question-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:.875rem;margin:17px 0}.timer{display:flex;align-items:center;gap:7px}.timer .icon{width:16px;height:16px}.question{font-size:1.3rem;font-weight:650;line-height:1.6;margin:24px 0}.answer-label{font-size:.875rem;display:block;color:var(--muted);margin-bottom:8px}.answer-input{width:100%;padding:13px 16px;border:1px solid #cdd6e8;border-radius:12px;background:#fff;color:var(--ink);font-size:1.125rem}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{position:relative;padding:15px;border:1px solid var(--line);border-radius:12px;display:flex;gap:9px;align-items:center;cursor:pointer;font-size:1.05rem}.choice:has(input:checked){border-color:var(--blue);background:#f0f4ff}.choice input{accent-color:var(--blue)}.answer-actions{display:flex;gap:12px;justify-content:space-between;margin-top:24px;flex-wrap:wrap}.hint-box{background:#f0f4ff;border-radius:14px;padding:16px;font-size:.9375rem;margin:18px 0}.feedback{border-radius:16px;padding:20px;margin-top:22px;background:#fff5eb;border:1px solid #f2ddc6}.feedback.correct{background:#edfaf2;border-color:#c2ead1}.feedback h3{margin-bottom:8px}.feedback p{line-height:1.7;font-size:.9375rem;white-space:pre-line}.feedback .primary{margin-top:18px}.lesson-result{text-align:center;padding:12px 5px}.result-icon{background:#edfaf2;color:var(--green);width:75px;height:75px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px}.result-icon .icon{width:38px;height:38px}.lesson-result h3{font-size:1.6rem}.lesson-result p{margin:12px 0 24px;color:var(--muted)}.result-metrics{display:flex;justify-content:center;gap:32px;margin:26px 0}.result-metrics strong{display:block;font-size:1.5rem}.result-metrics span{font-size:.8125rem;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 32px);background:var(--navy);color:#fff;padding:13px 20px;border-radius:14px;opacity:0;pointer-events:none;z-index:100;transition:.2s;font-size:.9375rem}.toast.visible{opacity:1;transform:translate(-50%,0)}.paused{color:#ae711c}.reset-row{display:flex;justify-content:space-between;gap:16px;margin-top:24px;align-items:center}.reset-row p{font-size:.875rem;color:var(--muted)}.error-text{color:#b54437;font-size:.875rem;margin-top:9px}
@media(min-width:1600px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 340px}.hero{min-height:260px}.hero img{width:180px;height:180px}}
@media(max-width:1200px){.sidebar{width:200px;padding:26px 14px}.workspace{margin-left:200px}main{padding:30px 28px 18px}.topbar{padding:0 28px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.hero{padding:26px}.hero img{width:110px;height:110px}.hero h2{font-size:1.5rem}.subject-tab{padding:14px 12px;gap:9px}.subject-symbol{width:32px;height:32px}.metric{padding:16px}.topic-status{display:none}.plan-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1000px){.sidebar{width:180px}.workspace{margin-left:180px}.brand{font-size:1.4rem;gap:6px}.brand img{width:34px;height:34px}.nav-item{padding:13px 12px;gap:9px}.dashboard-grid{grid-template-columns:1fr}.dashboard-right{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel+.panel{margin-top:0}.hero img{width:140px;height:140px}.hero{min-height:230px}.topics-grid,.achievement-grid{grid-template-columns:1fr 1fr}.subject-tabs{gap:9px}.subject-tab{align-items:flex-start}.subject-symbol{display:none}.subject-tab .check{flex:none}.plan-layout{grid-template-columns:1fr}.settings{order:-1}.settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings .primary{width:auto}.stats-topic{grid-template-columns:minmax(100px,1fr) 80px 80px 70px}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:65px;padding:0 20px}.topbar-title{font-size:1.1rem;font-weight:800;color:var(--blue)}.topbar-right{gap:8px}.local-note{font-size:.75rem;max-width:150px;line-height:1.3;text-align:right}.avatar{width:32px;height:32px}main{padding:25px 18px 20px;min-height:calc(100vh - 190px)}h1{font-size:1.7rem}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading p{font-size:.9375rem;max-width:245px}.streak{padding:7px 9px;font-size:.8125rem;gap:5px}.streak .icon{width:17px;height:17px}.subject-tabs{gap:8px;margin-bottom:20px}.subject-tab{border-radius:13px;padding:12px 9px;min-height:85px;display:block}.subject-tab strong{font-size:.875rem}.subject-tab small{font-size:.75rem;margin-top:6px}.subject-tab .check{display:none}.hero{padding:24px 20px;gap:9px;min-height:235px}.hero h2{font-size:1.5rem;max-width:220px}.hero p{font-size:.875rem}.hero img{width:87px;height:87px;border-radius:20px;align-self:flex-start;margin-top:25px}.hero .primary{padding:11px 15px}.metrics{gap:8px;margin-top:15px}.metric{padding:14px 11px;border-radius:14px}.metric-title{font-size:.75rem;gap:4px}.metric-title .icon{display:none}.metric-value{font-size:1.4rem}.metric small{font-size:.75rem;line-height:1.3;display:block}.section-heading{margin-top:24px}.section-heading h2{font-size:1.15rem}.topic-row{padding:15px 13px;gap:10px}.topic-row .topic-number{width:32px;height:32px;border-radius:10px}.topic-info h3{font-size:.875rem}.topic-info p{font-size:.75rem}.topic-row .small-button{padding:8px 10px;font-size:.8125rem}.dashboard-right{grid-template-columns:1fr;margin-top:0}.panel{padding:20px}.topics-grid,.achievement-grid{grid-template-columns:1fr}.topic-card{min-height:260px}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:8px 5px calc(8px + env(safe-area-inset-bottom));z-index:20}.mobile-nav .nav-item{display:flex;flex-direction:column;gap:4px;margin:0;padding:7px 2px;border-radius:10px;font-size:.75rem}.mobile-nav .icon{width:21px;height:21px}.mobile-nav .nav-item.active{background:transparent;color:var(--blue)}footer{padding:10px 20px calc(105px + env(safe-area-inset-bottom));font-size:.75rem}.toast{bottom:100px}.settings-fields{grid-template-columns:1fr;gap:0}.stats-topic{grid-template-columns:minmax(90px,1fr) 55px 70px 55px;gap:7px;font-size:.8125rem}.stats-topic strong{font-size:.8125rem}.stats-topic.header{font-size:.75rem}.chart{gap:9px}.chart-panel{overflow:hidden}.reset-row{align-items:flex-start;flex-direction:column}.lesson-head h2{font-size:1.1rem}dialog{padding:22px 18px;border-radius:20px}.question{font-size:1.15rem}.choice{padding:12px;font-size:1rem}.choices{grid-template-columns:1fr}.answer-actions .primary{flex:1}.result-metrics{gap:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
/* Accounts and exam-format workbench */
.avatar{font-size:.8rem;min-width:44px;width:auto;padding:0 12px}.course-info{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#edf2ff;border:1px solid #dce5ff;border-radius:18px;padding:18px 22px;margin:0 0 24px}.course-info strong{display:block;margin-top:3px}.course-info p{font-size:.875rem;color:var(--muted);margin-top:5px}.course-info a{flex:none;background:#fff}.variant-button{margin:22px 0}.resume-button{margin-top:18px}.welcome-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);gap:28px;align-items:start}.welcome-hero{min-height:295px}.welcome-hero .secondary{margin-top:8px;display:inline-flex}.welcome-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:26px 0}.welcome-benefits .icon{display:block;color:var(--blue);margin-bottom:10px}.welcome-benefits p{font-size:.875rem;color:var(--muted);margin-top:6px}.auth-panel h2{font-size:1.5rem;margin-bottom:5px}.auth-tabs{display:flex;gap:8px;padding:5px;background:var(--bg);border-radius:12px;margin:24px 0 20px}.auth-tabs button{background:transparent;color:var(--muted);padding:10px 14px;border-radius:9px;flex:1;font-weight:600}.auth-tabs button.active{background:white;color:var(--blue);box-shadow:0 2px 6px #1c2c5110}#auth-form label{display:block;font-size:.875rem;font-weight:600;margin:16px 0 7px}#auth-form input{display:block;width:100%;border:1px solid #dce2ed;border-radius:11px;padding:12px;background:#fff;min-width:0}#auth-form .primary{width:100%;margin-top:18px;justify-content:center}#auth-form .inline-note{margin-top:12px}.password-field{display:flex;align-items:center;gap:9px}.password-field .text-button{font-size:.8125rem;flex:none}.auth-divider{display:flex;align-items:center;gap:9px;font-size:.8125rem;color:var(--muted);margin:23px 0 15px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:var(--line);flex:1}.social-buttons{display:flex;flex-direction:column;gap:9px}.social{border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:12px;padding:10px 14px;text-align:left;background:#fff}.social strong{border-radius:9px;background:#edf2ff;color:var(--blue);height:32px;width:32px;display:grid;place-items:center}.social small{display:block;font-size:.75rem;color:var(--muted)}.social.yandex strong{color:#e33431;background:#fff1ee}.social-linked{padding:10px;color:var(--green);font-size:.875rem}.account-heading{margin:24px 0 13px}.device-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}.device-row small{display:block;color:var(--muted);font-size:.75rem;word-break:break-word;max-width:440px;margin-top:5px}.danger{color:#b54437;margin-top:25px}.source-text{padding:15px 18px;background:var(--bg);border:1px solid var(--line);border-radius:14px;margin:20px 0}.source-text summary{cursor:pointer;font-weight:600}.source-text p{white-space:pre-line;font-size:.9375rem;line-height:1.85;margin-top:12px}.question{white-space:pre-line;font-size:1.06rem;line-height:1.8}.exam-table{overflow-x:auto;margin:20px 0}.exam-table table{border-collapse:collapse;width:100%;font-size:.9375rem}.exam-table th,.exam-table td{padding:11px 13px;border:1px solid #d4dbe8;text-align:left}.exam-table th{background:#f1f4fc}.exam-figure{margin:20px auto;max-width:480px}.exam-figure svg{width:100%;height:auto;border:1px solid var(--line);border-radius:12px}textarea.extended-answer{font:inherit;width:100%;min-height:200px;resize:vertical;line-height:1.65;font-size:1rem}.rubric{font-size:.9375rem;padding-left:22px;line-height:1.7}.rubric li{margin:9px 0}.auth-panel .inline-note{margin-top:14px}.inline-note a{color:var(--blue);text-decoration:underline}dialog{max-height:88vh;overflow:auto}#account-dialog{width:min(660px,calc(100% - 28px))}.answer-actions{flex-wrap:wrap}
@media(max-width:1000px){.welcome-grid{grid-template-columns:1fr}.auth-panel{max-width:600px;width:100%;margin:0 auto}.course-info{align-items:flex-start}.course-info a{font-size:.8125rem}.welcome-hero{min-height:260px}}
@media(max-width:700px){.welcome-grid{gap:22px}.welcome-benefits{gap:12px}.welcome-benefits strong{font-size:.875rem}.welcome-benefits p{font-size:.75rem}.welcome-hero{padding:24px 20px;min-height:260px}.welcome-hero h2{font-size:1.7rem}.course-info{flex-direction:column;gap:12px;padding:16px}.course-info strong{font-size:.9375rem}.question{font-size:1rem}.question-meta{font-size:.75rem}.device-row{align-items:flex-start}.answer-actions .primary,.answer-actions .secondary{flex:1;justify-content:center}.result-metrics span{font-size:.75rem}.result-metrics{gap:12px}.variant-button{width:100%;justify-content:center}}

.review-panel{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:18px 0}.review-panel p{max-width:800px}.review-panel small{color:#68768a}.review-badge{padding:12px 16px;background:#fff2da;color:#79511a;border-radius:12px;font-weight:600}.solution-steps{padding-left:25px;line-height:1.75}.solution-steps li{padding:6px 0}@media(max-width:700px){.review-panel{display:block}.review-panel button{margin-top:15px}}
.pair-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pair-inputs label{min-width:0}.pair-inputs input{width:100%;margin-top:8px}.answer-matrix{max-width:100%}.answer-matrix table{table-layout:fixed}.answer-matrix th:first-child{width:62px}.answer-matrix td{padding:6px}.answer-matrix input{width:100%;min-width:0;font-size:16px;padding:10px}.task-files{padding:16px;margin:18px 0;border:1px solid var(--line);border-radius:14px}.task-files a{display:inline-flex;margin:8px 6px 0 0;overflow-wrap:anywhere}.email-panel form input,#recovery-form input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;margin:8px 0 16px}.email-panel button{margin:8px 8px 0 0}.email-panel details{margin-top:16px}textarea:focus-visible{outline:3px solid #8dabff;outline-offset:3px}

/* UCHILLO 4: subjects, quest and legal pages */
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.catalog-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px;border:1px solid #e1e6f2;border-radius:22px;background:#fff;text-align:left;min-width:0;color:#202743;font:inherit;cursor:pointer}.catalog-card strong{font-size:17px;line-height:1.35}.catalog-card small{color:#747e98}.catalog-card.selected,.select-card:has(input:checked){border:2px solid #3454ee;padding:21px;background:#f9faff}.catalog-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#eef1ff;color:#3454ee;font-size:20px;font-weight:800}.select-card{position:relative}.select-card input{position:absolute;right:16px;top:16px;width:22px;height:22px;margin:0}.compact-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 8px}.compact-tabs .subject-tab{flex:0 1 auto;width:auto;padding:14px 18px;min-height:56px}.legal-consents{margin:20px 0}.consent-row{display:flex!important;align-items:flex-start;gap:12px;margin:15px 0!important;font-size:14px;font-weight:400!important;line-height:1.6}.consent-row input{width:20px!important;height:20px!important;flex:0 0 20px;margin:3px 0!important;padding:0!important;accent-color:#3454ee}.consent-row a{color:#294cdf;text-decoration:underline}.guardian-row[hidden]{display:none!important}.legal-links{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:13px}.legal-links a{color:#576487;text-decoration:underline}.narrow-panel{max-width:680px}.level-card{padding:30px;border-radius:26px;background:#2f48dc;color:#fff;display:grid;grid-template-columns:1fr auto;gap:20px;margin:28px 0}.level-card h2{margin:8px 0}.level-card strong{display:block;font-size:32px}.level-card .progress-bar,.level-card small{grid-column:1/-1}.level-card .progress-bar{background:#6277ed}.level-card .progress-bar span{background:#fff}.level-card .eyebrow{color:#dce1ff}.quest-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.quest-node{position:relative;padding:24px;border-radius:24px;border:1px solid #e1e6f2;background:#fff;display:flex;flex-direction:column;gap:14px;min-width:0}.quest-node h3{margin:0;min-height:48px}.quest-node p{font-size:13px;color:#707b92;margin:0}.quest-node .small-button{align-self:flex-start;margin-top:auto}.quest-node.mastered{border-color:#93cfb2;background:#f1fcf7}.quest-node.review{border-color:#edc492;background:#fff9ef}.quest-state{position:absolute;top:24px;right:22px;font-size:12px;color:#747c91}.quest-pips{display:flex;gap:6px}.quest-pips span{width:26px;height:8px;background:#e3e8f3;border-radius:5px}.quest-pips .filled{background:#3454ee}.exam-panel h2{font-size:26px;line-height:1.4}.exam-panel{margin:20px 0}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.document-page{background:#f5f6fc}.document-page main{max-width:860px;margin:40px auto;padding:24px}.document-page h1{font-size:34px;margin:28px 0}.document-page section{margin:30px 0}.document-page p{font-size:16px;line-height:1.85}.document-page h2{font-size:22px;margin-bottom:12px}.document-page label,.admin-form label{display:block;line-height:1.6;margin:14px 0}.document-page input,.document-page select,.document-page textarea{width:100%;padding:14px;border:1px solid #dce2f1;border-radius:12px;font:inherit;background:#fff}.document-page .honey{display:none}.document-page strong{overflow-wrap:anywhere}.unfinished{margin:20px 0}form button{margin-top:10px}input,textarea,select{max-width:100%}footer .legal-links{margin-top:16px}
@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quest-map{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-card{padding:16px;border-radius:18px}.catalog-card.selected,.select-card:has(input:checked){padding:15px}.catalog-card strong{font-size:15px}.catalog-card small{font-size:12px}.quest-map{grid-template-columns:1fr}.level-card{padding:22px}.level-card strong{font-size:26px}.document-page main{padding:18px;margin:12px auto}.document-page h1{font-size:28px}.exam-panel h2{font-size:22px}.legal-links{font-size:12px}.compact-tabs .subject-tab{font-size:13px;padding:12px}.subject-tabs.compact-tabs{display:flex}.hero-content p{line-height:1.55}.narrow-panel{width:100%}}
