:root {
  --ink:#173154;
  --paper:#f7f1e7;
  --white:#fffdf8;
  --coral:#f26b4a;
  --yellow:#f3ca5d;
  --mint:#96cdb9;
  --blue:#9bc8df;
  --violet:#b5a6d9;
  --line:rgba(23,49,84,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 "Segoe UI",Arial,sans-serif;overflow-x:hidden}
button,input{font:inherit;color:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin-top:0}
.page-noise{position:fixed;inset:0;z-index:100;opacity:.028;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.section-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.site-header{height:84px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);background:rgba(247,241,231,.94);backdrop-filter:blur(12px)}
.brand{display:inline-flex;align-items:center;gap:9px;width:max-content;font-size:25px;font-weight:900;letter-spacing:-1px}
.brand-mark{width:29px;height:29px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;color:var(--coral);font-size:16px}
.main-nav{display:flex;gap:34px;font-size:13px;font-weight:800}
.main-nav a{position:relative}
.main-nav a::after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:2px;background:var(--coral);transition:width .2s}
.main-nav a:hover::after{width:100%}
.header-action{justify-self:end;font-size:12px;font-weight:900;border-bottom:1px solid var(--ink);padding-bottom:3px}
.header-action span{color:var(--coral);margin-left:8px}
.header-progress{justify-self:end;display:flex;align-items:center;gap:10px}
.header-progress>span:last-child{display:grid}
.header-progress>span:last-child b{font-size:11px}.header-progress small{font-size:9px;color:#6d7d92}
.mini-ring{--progress:0%;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--coral) 0 var(--progress),rgba(23,49,84,.12) var(--progress));position:relative}
.mini-ring::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--paper)}
.mini-ring b{position:relative;z-index:1;font-size:9px}.mini-ring b::after{content:"%"}
.menu-toggle{display:none;border:0;background:none;padding:10px}.menu-toggle span{display:block;width:23px;height:2px;background:var(--ink)}
.eyebrow,.kicker{font-size:10px;font-weight:900;letter-spacing:1.45px;text-transform:uppercase}
.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:22px}.eyebrow span{padding:5px 11px;border:1.5px solid var(--ink);border-radius:99px;background:var(--yellow)}.eyebrow b{font-size:inherit}
.kicker{display:block;color:var(--coral);margin-bottom:10px}
h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-3px}
h2{font-size:clamp(43px,5vw,65px);line-height:1;margin-bottom:0}
.button{min-height:52px;border:1.5px solid var(--ink);padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:28px;font-size:13px;font-weight:900;cursor:pointer;transition:transform .2s,box-shadow .2s}
.button:hover{transform:translateY(-3px);box-shadow:5px 6px 0 var(--ink)}
.button-primary{background:var(--coral);color:white}.button span{font-size:19px}
.text-link,.text-button{border:0;border-bottom:1px solid var(--ink);background:none;padding:4px 0;font-size:12px;font-weight:900;cursor:pointer}.text-link span,.text-button span{color:var(--coral);margin-left:7px}
.hero-actions{display:flex;align-items:center;gap:28px;margin-top:32px}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:45px}.section-heading p{font-size:13px;color:#69798d;margin-bottom:4px}

/* Catalog */
.catalog-hero{min-height:665px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px;padding-block:78px}
.catalog-hero h1{font-size:clamp(63px,7vw,92px);line-height:.92;margin-bottom:28px}.catalog-hero h1 em{color:var(--coral);font-weight:inherit}
.catalog-hero-copy>p{max-width:520px;font-size:18px;color:#53677f;line-height:1.65}
.catalog-orbit{height:500px;position:relative;display:grid;place-items:center}
.catalog-orbit::before,.catalog-orbit::after{content:"";position:absolute;border:1.5px solid var(--ink);border-radius:50%}.catalog-orbit::before{width:400px;height:400px}.catalog-orbit::after{width:305px;height:305px;border-style:dashed;opacity:.35}
.orbit-center{width:170px;height:170px;border-radius:50%;background:var(--ink);color:white;display:grid;place-content:center;text-align:center;z-index:2;box-shadow:9px 10px 0 var(--yellow)}
.orbit-center b{font:500 68px/1 Georgia,serif}.orbit-center span{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:var(--yellow)}
.orbit-card{position:absolute;width:104px;height:92px;border:1.5px solid var(--ink);background:var(--white);display:grid;place-content:center;text-align:center;z-index:3;box-shadow:4px 5px 0 var(--ink);transform:rotate(var(--r))}
.orbit-card i{font:500 27px Georgia,serif;font-style:normal}.orbit-card span{font-size:9px;text-transform:uppercase;font-weight:900;margin-top:4px}.orbit-one{left:13px;top:95px;--r:-8deg;background:#f4a18c}.orbit-two{right:8px;top:80px;--r:7deg;background:var(--yellow)}.orbit-three{right:-5px;bottom:85px;--r:-5deg;background:var(--mint)}.orbit-four{left:8px;bottom:80px;--r:8deg;background:var(--blue)}.orbit-five{top:9px;left:50%;margin-left:-52px;--r:3deg;background:var(--violet)}
.stats-band{min-height:108px;background:var(--ink);color:white;display:grid;grid-template-columns:repeat(3,1fr) 1.25fr;align-items:stretch;padding-inline:max(24px,calc((100vw - 1180px)/2))}
.stats-band>div{display:flex;align-items:center;gap:14px;padding-right:27px;margin-right:27px;border-right:1px solid rgba(255,255,255,.16)}.stats-band strong{font:500 31px Georgia,serif;color:var(--yellow)}.stats-band span{font-size:10px;line-height:1.35}.stats-band p{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:0;font-size:10px}.stats-band p span{width:22px;height:22px;border:1px solid var(--mint);border-radius:50%;display:grid;place-items:center;color:var(--mint)}
.course-catalog{padding-block:110px 125px}.catalog-filters{display:flex;width:max-content;max-width:100%;overflow:auto;border:1px solid var(--ink);margin-bottom:30px}.filter-button{min-height:40px;padding:0 17px;border:0;border-right:1px solid var(--ink);background:transparent;white-space:nowrap;font-size:10px;font-weight:900;cursor:pointer}.filter-button:last-child{border-right:0}.filter-button.is-active{background:var(--ink);color:white}
.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.course-card{--accent:var(--coral);--accent-soft:#f5a18d;min-height:465px;border:1.5px solid var(--ink);display:grid;grid-template-columns:180px 1fr;background:var(--white);color:var(--ink);text-decoration:none;transition:transform .22s,box-shadow .22s}.course-card:hover{transform:translateY(-5px);box-shadow:8px 9px 0 var(--ink)}
.accent-coral{--accent:var(--coral);--accent-soft:#f4a18c}.accent-yellow{--accent:#d8a91e;--accent-soft:var(--yellow)}.accent-mint{--accent:#549d83;--accent-soft:var(--mint)}.accent-blue{--accent:#4b93b8;--accent-soft:var(--blue)}.accent-violet{--accent:#8171b2;--accent-soft:var(--violet)}
.course-card-cover{background:var(--accent-soft);border-right:1.5px solid var(--ink);padding:20px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center}.course-card-cover::before{content:"";position:absolute;width:150px;height:150px;border:1.5px solid var(--ink);border-radius:50%;top:95px;left:14px}.card-index{position:absolute;left:16px;top:14px;font:italic 18px Georgia,serif}.course-symbol{width:100px;height:100px;border-radius:50%;border:1.5px solid var(--ink);background:var(--white);display:grid;place-items:center;font:500 38px Georgia,serif;z-index:1;box-shadow:5px 6px 0 var(--ink)}.cover-label{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:1px;margin-top:22px;z-index:1}
.course-card-body{padding:24px 25px;display:flex;flex-direction:column;min-width:0}.course-card-meta{display:flex;justify-content:space-between;gap:10px;color:#6a798c;font-size:8px;text-transform:uppercase;font-weight:900}.course-card-body h3{font:500 27px/1.08 Georgia,serif;letter-spacing:-1px;margin:17px 0 11px}.course-card-body>p{font-size:11px;color:#65758a;line-height:1.5}.mini-stats{display:flex;gap:18px;padding:13px 0;border-block:1px solid var(--line);font-size:8px;text-transform:uppercase;color:#6d7b8c}.mini-stats span{display:grid}.mini-stats b{font:500 16px Georgia,serif;color:var(--ink)}.course-progress{margin-top:auto;padding-top:14px}.course-progress>div{display:flex;justify-content:space-between;font-size:9px;font-weight:800}.course-progress i{display:block;height:4px;background:rgba(23,49,84,.1);margin-top:7px}.course-progress i span{display:block;height:100%;background:var(--accent)}.course-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--ink);padding-top:12px;margin-top:15px;font-size:11px;font-weight:900}.course-link span{color:var(--accent);font-size:19px}
.how-section{background:var(--ink);color:white;padding-block:105px}.light-heading p{color:#afbbc9}.kicker-yellow{color:var(--yellow)}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.how-grid article{border:1px solid rgba(255,255,255,.25);min-height:310px;padding:28px;position:relative}.how-grid article>span{position:absolute;right:20px;top:16px;font:italic 20px Georgia,serif;color:#76869a}.how-icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:var(--ink);font:500 28px Georgia,serif;margin-bottom:45px}.how-grid article:nth-child(2) .how-icon{background:var(--mint)}.how-grid article:nth-child(3) .how-icon{background:var(--coral);color:white}.how-grid h3{font:500 27px Georgia,serif;margin-bottom:13px}.how-grid p{font-size:12px;color:#b4c0ce;max-width:280px}
.source-section,.course-source{padding-block:105px;display:grid;grid-template-columns:100px .9fr 1.1fr;align-items:start;gap:40px}.source-stamp{width:78px;height:78px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font:700 25px Georgia,serif;background:var(--yellow);box-shadow:4px 5px 0 var(--ink)}.source-copy p{color:#5e6f84;font-size:13px;line-height:1.7}.source-copy a{display:block;width:max-content;max-width:100%;border-bottom:1px solid var(--ink);font-size:11px;font-weight:900;margin-top:13px}
footer{padding:70px max(24px,calc((100vw - 1180px)/2)) 28px;display:grid;grid-template-columns:1.1fr 1.3fr 1fr;gap:40px;align-items:start;border-top:1px solid var(--line)}footer p{font-size:12px;color:#68788d;max-width:300px}.footer-links{display:flex;justify-content:flex-end;gap:22px;font-size:11px;font-weight:800}footer small{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;color:#798698;font-size:9px}

/* Course page */
.course-hero{--accent:var(--coral);--accent-soft:#f4a18c;min-height:675px;display:grid;grid-template-columns:1fr .86fr;align-items:center;gap:85px;padding-block:64px 82px}.back-link{display:inline-block;font-size:10px;font-weight:900;margin-bottom:35px;border-bottom:1px solid var(--ink)}.course-hero h1{font-size:clamp(52px,5.8vw,78px);line-height:.96;margin-bottom:25px}.course-hero-copy>p{max-width:620px;font-size:17px;line-height:1.65;color:#576b82}.course-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.course-badges span{border:1px solid var(--line);background:rgba(255,255,255,.35);padding:6px 10px;font-size:9px;font-weight:800}.course-cover-art{min-height:470px;background:var(--accent-soft);border:2px solid var(--ink);box-shadow:12px 14px 0 var(--ink);padding:34px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;transform:rotate(1.5deg);overflow:hidden}.course-cover-art::before{content:"";position:absolute;width:330px;height:330px;border:2px solid var(--ink);border-radius:50%}.cover-small{position:absolute;top:24px;left:27px;font-size:9px;font-weight:900;letter-spacing:1px}.course-cover-art>strong{width:145px;height:145px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;background:var(--white);font:500 54px Georgia,serif;z-index:1}.course-cover-art h2{font-size:37px;z-index:1;margin-top:18px}.cover-sticker{position:absolute;right:19px;top:22px;width:76px;height:67px;border:1.5px solid var(--ink);background:var(--coral);color:white;box-shadow:4px 5px 0 var(--ink);display:grid;place-content:center;font:500 24px Georgia,serif;transform:rotate(7deg)}.cover-sticker small{display:block;font:800 8px "Segoe UI",sans-serif;text-transform:uppercase}.cover-progress{position:absolute;left:30px;right:30px;bottom:25px;z-index:1;text-align:left;font-size:9px;font-weight:900}.cover-progress>b{float:right}.cover-progress i{clear:both;display:block;height:5px;background:rgba(255,255,255,.6);margin-top:7px;border:1px solid var(--ink)}.cover-progress em{display:block;height:100%;background:var(--ink)}
.course-stats{grid-template-columns:repeat(4,1fr)}.course-stats>div:last-child{border-right:0}.course-stats strong{font-size:25px}
.program-section{padding-block:115px}.program-layout{display:grid;grid-template-columns:1.45fr .55fr;gap:35px;align-items:start}.program-list{list-style:none;padding:0;margin:0;border-top:1.5px solid var(--ink)}.program-list li{border-bottom:1px solid var(--line)}.program-list button{width:100%;min-height:78px;border:0;background:transparent;display:grid;grid-template-columns:52px 1fr 35px;align-items:center;text-align:left;cursor:pointer;padding:9px 12px;transition:background .18s}.program-list button:hover{background:rgba(255,255,255,.55)}.program-list li.is-done button{background:rgba(150,205,185,.22)}.program-number{font:italic 18px Georgia,serif;color:#6e7c8e}.program-list button>span:nth-child(2){display:grid}.program-list button b{font-size:13px}.program-list button small{font-size:9px;color:#728094;margin-top:3px}.program-list button i{width:27px;height:27px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900}.program-list li.is-done button i{background:var(--mint)}
.program-list button em{display:block;height:4px;background:#e4ded3;margin-top:7px;overflow:hidden}.program-list button em i{display:block;width:0;height:100%;border:0;border-radius:0;background:var(--mint)}.program-topics{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 15px 64px}.program-topics button{width:auto;min-height:30px;display:inline-flex;grid-template-columns:none;align-items:center;border:1px solid var(--line);background:#f5f1e9;padding:5px 9px;font-size:9px;font-weight:800;color:#53667d}.program-topics button:hover{background:var(--yellow);border-color:var(--ink)}
.program-summary{position:sticky;top:110px;border:1.5px solid var(--ink);background:var(--yellow);padding:28px;text-align:center;box-shadow:7px 8px 0 var(--ink)}.program-summary>span{font-size:9px;font-weight:900;letter-spacing:1px}.summary-ring,.large-ring{--progress:0%;width:175px;height:175px;margin:22px auto;border-radius:50%;display:grid;place-content:center;background:conic-gradient(var(--ink) 0 var(--progress),rgba(23,49,84,.12) var(--progress));position:relative}.summary-ring::after,.large-ring::after{content:"";position:absolute;inset:14px;border-radius:50%;background:var(--yellow)}.summary-ring b,.summary-ring small,.large-ring b,.large-ring small{position:relative;z-index:1}.summary-ring b,.large-ring b{font:500 38px Georgia,serif}.summary-ring small,.large-ring small{font-size:9px}.program-summary p{font-size:10px}.program-summary p b{font:500 18px Georgia,serif}.button-dark{background:var(--ink);color:white;width:100%}
.inside-section{background:#eae5dc;padding-block:105px;border-block:1px solid var(--line)}.feature-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.feature-grid article{min-height:230px;border:1px solid var(--line);background:var(--white);padding:20px;position:relative;display:flex;flex-direction:column}.feature-grid article>span{font:italic 15px Georgia,serif;color:#7b8796}.feature-grid i{width:55px;height:55px;border-radius:50%;background:var(--yellow);border:1px solid var(--ink);display:grid;place-items:center;font:500 23px Georgia,serif;font-style:normal;margin:30px 0 22px}.feature-grid article:nth-child(2n) i{background:var(--mint)}.feature-grid article:nth-child(3n) i{background:var(--coral);color:white}.feature-grid h3{font:500 20px/1.15 Georgia,serif;margin-top:auto}
.learning-path{padding-block:105px}.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.path-grid article{min-height:220px;border:1.5px solid var(--ink);padding:25px;background:#f3dbb5;position:relative}.path-grid article:nth-child(2){background:var(--mint);transform:translateY(-12px)}.path-grid article:nth-child(3){background:var(--blue)}.path-grid article>span{position:absolute;right:18px;top:14px;font:italic 20px Georgia,serif;opacity:.45}.path-grid h3{font:500 29px Georgia,serif;margin:55px 0 12px}.path-grid p{font-size:11px;color:#4f6178;max-width:290px}
.trainer-section{background:var(--ink);color:white;padding-block:110px}.trainer-layout{display:grid;grid-template-columns:.68fr 1.32fr;gap:80px;align-items:center}.trainer-copy h2{margin:10px 0 22px}.trainer-copy>p{color:#b1bdca;max-width:355px}.trainer-score{display:flex;gap:35px;margin-top:45px}.trainer-score div{display:grid}.trainer-score b{font:500 30px Georgia,serif;color:var(--yellow)}.trainer-score span{font-size:8px;text-transform:uppercase;color:#aeb9c7;letter-spacing:.7px}
.trainer-panel{background:var(--white);color:var(--ink);border:1.5px solid var(--ink);box-shadow:10px 11px 0 var(--yellow);min-height:560px;padding:30px 34px;position:relative}.mode-switch{display:flex;width:max-content;border:1px solid var(--ink);margin-bottom:28px}.mode-switch button{min-height:34px;padding:0 15px;border:0;border-right:1px solid var(--ink);background:transparent;font-size:9px;font-weight:900;cursor:pointer}.mode-switch button:last-child{border:0}.mode-switch button.is-active{background:var(--ink);color:white}.task-top{display:flex;justify-content:space-between;font-size:9px;font-weight:900}.task-top span:last-child{color:var(--coral)}.task-progress{height:4px;background:rgba(23,49,84,.1);margin:14px 0 37px}.task-progress i{display:block;height:100%;background:var(--coral)}.trainer-panel>h3{font:500 28px/1.3 Georgia,serif;min-height:74px;margin-bottom:24px}.answer-field{border:1.5px solid var(--ink);display:grid;padding:8px 13px}.answer-field span{font-size:8px;text-transform:uppercase;color:#718095}.answer-field input{border:0;background:transparent;outline:0;font-size:20px;font-weight:800;padding:4px 0}.answer-field input:disabled{color:#6d7989}.task-actions{display:flex;gap:8px;margin-top:10px}.helper-button{border:0;border-bottom:1px solid var(--ink);background:transparent;padding:7px 2px;font-size:9px;font-weight:900;cursor:pointer}.helper-button:disabled{opacity:.35;cursor:not-allowed}.reveal-box{margin-top:12px;padding:12px 14px;background:#f4e2bb;border-left:4px solid var(--yellow)}.solution-box{background:#dcecf3;border-color:var(--blue)}.reveal-box b{font-size:9px;text-transform:uppercase}.reveal-box p{font-size:11px;margin:3px 0 0}.task-feedback{min-height:54px;padding-top:13px;font-size:11px;color:#647489}.task-feedback b{display:block;font-size:12px}.task-feedback .success{color:#36846a}.task-feedback .error{color:var(--coral)}.task-bottom{display:flex;justify-content:space-between;align-items:center}.button-check{background:var(--coral);color:white}.button-check:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}.next-task{visibility:hidden;border:0;background:transparent;border-bottom:1px solid var(--ink);font-size:10px;font-weight:900;cursor:pointer}.next-task span{font-size:18px;margin-left:10px}
.audience-section{padding-block:110px;display:grid;grid-template-columns:1.35fr .65fr;gap:18px}.audience-card,.progress-card{border:1.5px solid var(--ink);padding:40px}.audience-card{background:#f0dbb8}.audience-card h2{margin:10px 0 23px}.audience-card p{max-width:640px;color:#53667e;line-height:1.7}.progress-card{background:var(--mint);text-align:center}.progress-card>span{font-size:9px;font-weight:900;letter-spacing:1px}.large-ring{width:190px;height:190px}.large-ring::after{background:var(--mint)}.progress-card p{font-size:10px;color:#4e6179}.course-source{border-top:1px solid var(--line)}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,100px);background:var(--ink);color:white;border:1px solid white;box-shadow:4px 5px 0 var(--coral);padding:12px 18px;font-size:10px;font-weight:800;z-index:90;transition:transform .25s}.toast.is-visible{transform:translate(-50%,0)}.not-found{min-height:100vh;display:grid;place-content:center;text-align:center}
.course-hero.accent-coral{--accent:var(--coral);--accent-soft:#f4a18c}.course-hero.accent-yellow{--accent:#d8a91e;--accent-soft:var(--yellow)}.course-hero.accent-mint{--accent:#549d83;--accent-soft:var(--mint)}.course-hero.accent-blue{--accent:#4b93b8;--accent-soft:var(--blue)}.course-hero.accent-violet{--accent:#8171b2;--accent-soft:var(--violet)}

@media(max-width:1000px){
  .catalog-hero{grid-template-columns:1fr;padding-top:60px}.catalog-hero-copy{max-width:700px}.catalog-orbit{min-height:550px}.stats-band{grid-template-columns:repeat(3,1fr)}.stats-band p{display:none}.course-grid{grid-template-columns:1fr}.course-card{grid-template-columns:210px 1fr}.course-hero{grid-template-columns:1fr;gap:55px}.course-hero-copy{max-width:760px}.course-cover-art{width:min(520px,100%);justify-self:center}.feature-grid{grid-template-columns:repeat(3,1fr)}.trainer-layout{grid-template-columns:1fr;gap:45px}.trainer-copy{max-width:540px}
}
@media(max-width:720px){
  .section-shell{width:min(100% - 32px,1180px)}.site-header{height:70px;grid-template-columns:1fr auto;padding-inline:16px;backdrop-filter:none}.brand{font-size:22px}.brand-mark{width:26px;height:26px}.menu-toggle{display:grid;gap:6px;z-index:2}.menu-toggle.is-open span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle.is-open span:last-child{transform:translateY(-4px) rotate(-45deg)}.main-nav{position:absolute;left:0;top:69px;width:100%;display:none;flex-direction:column;gap:18px;padding:22px 16px;background:var(--paper);border-bottom:1px solid var(--ink)}.main-nav.is-open{display:flex}.header-action,.header-progress{display:none}.eyebrow{white-space:nowrap;font-size:9px}.catalog-hero{min-height:auto;gap:20px;padding-block:55px}.catalog-hero h1{font-size:clamp(48px,14vw,62px);letter-spacing:-2.5px}.catalog-hero-copy>p{font-size:15px}.hero-actions{align-items:flex-start;flex-direction:column}.catalog-orbit{height:430px;min-height:430px;transform:scale(.83);margin-inline:-35px}.catalog-orbit::before{width:360px;height:360px}.catalog-orbit::after{width:275px;height:275px}.orbit-one{left:-6px}.orbit-two{right:-8px}.orbit-three{right:-12px}.orbit-four{left:-8px}.stats-band{grid-template-columns:1fr;padding:17px 23px}.stats-band>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.15);padding:12px 0;margin:0;justify-content:space-between}.section-heading{align-items:flex-start;flex-direction:column;gap:18px}h2{font-size:44px}.course-catalog,.program-section,.learning-path{padding-block:78px}.catalog-filters{width:100%}.course-card{grid-template-columns:1fr;min-height:0}.course-card-cover{height:210px;border-right:0;border-bottom:1.5px solid var(--ink)}.course-card-cover::before{top:27px;left:50%;margin-left:-75px}.course-symbol{width:90px;height:90px}.course-card-body{padding:22px 20px}.course-card-body h3{font-size:25px}.mini-stats{gap:13px}.how-section,.inside-section,.trainer-section{padding-block:78px}.how-grid,.path-grid{grid-template-columns:1fr}.how-grid article{min-height:260px}.source-section,.course-source{grid-template-columns:1fr;padding-block:78px}.source-stamp{width:65px;height:65px}.footer-links{justify-content:flex-start;flex-wrap:wrap}footer{grid-template-columns:1fr}footer small{grid-column:auto}.course-hero{min-height:auto;padding-block:45px 70px;gap:40px}.back-link{margin-bottom:25px}.course-hero h1{font-size:clamp(43px,12vw,54px);letter-spacing:-2px}.course-hero-copy>p{font-size:15px}.course-badges{gap:5px}.course-cover-art{min-height:410px;padding:25px}.course-cover-art::before{width:280px;height:280px}.course-cover-art>strong{width:120px;height:120px}.course-cover-art h2{font-size:31px}.course-stats{grid-template-columns:1fr 1fr;padding:15px 16px}.course-stats>div{border-bottom:1px solid rgba(255,255,255,.15);border-right:0;padding:12px;margin:0;display:grid;text-align:center}.program-layout{grid-template-columns:1fr}.program-summary{position:static}.program-list button{grid-template-columns:42px 1fr 30px;padding-inline:5px}.program-list button b{font-size:12px}.feature-grid{grid-template-columns:1fr 1fr}.feature-grid article{min-height:190px}.feature-grid h3{font-size:17px}.path-grid article:nth-child(2){transform:none}.trainer-layout{gap:40px}.trainer-panel{padding:24px 19px;min-height:580px}.trainer-panel>h3{font-size:24px}.task-bottom{align-items:flex-start;gap:20px}.audience-section{grid-template-columns:1fr;padding-block:78px}.audience-card,.progress-card{padding:29px 23px}.trainer-score{gap:25px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important}}

/* Full task bank */
.task-bank-section .trainer-layout{align-items:start}
.bank-panel{min-height:720px}
.bank-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;margin-bottom:26px;padding:13px;background:#eee9df;border:1px solid var(--line)}
.bank-toolbar label{display:grid;gap:4px;min-width:0}.bank-toolbar label span{font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.7px;color:#66768a}.bank-toolbar select{width:100%;height:35px;border:1px solid var(--ink);background:var(--white);padding:0 8px;font-size:10px;font-weight:700;outline:0}.random-task{align-self:end;height:35px;border:1px solid var(--ink);background:var(--yellow);padding:0 12px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap}
.task-tags{display:flex;gap:6px;flex-wrap:wrap;margin:-19px 0 18px}.task-tags span{border:1px solid var(--line);padding:4px 8px;font-size:8px;text-transform:uppercase;font-weight:900;color:#66768a}.task-tags span:first-child{background:var(--coral);border-color:var(--ink);color:white}
.task-image{margin:0 0 12px;border:1px solid var(--line);background:#f2ede5;min-height:185px;display:grid;place-items:center;padding:14px}.task-image[hidden]{display:none}.task-image img{display:block;max-width:100%;max-height:520px;width:auto;height:auto}.task-source-links{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 18px}.task-source-links a{font-size:9px;font-weight:900;border-bottom:1px solid var(--ink)}.task-source-links a[hidden]{display:none}
.task-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px}.task-options[hidden]{display:none}.task-options button{min-height:42px;border:1px solid var(--line);background:transparent;text-align:left;padding:8px 11px;cursor:pointer;font-size:11px}.task-options button.is-selected{background:var(--yellow);border-color:var(--ink)}
.answer-map-wrap{border-top:1px solid var(--line);margin-top:25px;padding-top:18px}.answer-map-wrap>span{font-size:8px;font-weight:900;letter-spacing:1px}.answer-map{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;margin-top:10px}.answer-map button{aspect-ratio:1;border:1px solid var(--line);background:transparent;font-size:9px;font-weight:800;cursor:pointer}.answer-map button.is-current{outline:2px solid var(--yellow);outline-offset:1px}.answer-map button.is-correct{background:var(--mint);border-color:#43856e}.answer-map button.is-wrong{background:#f3ad9b;border-color:var(--coral)}
.finish-variant{width:100%;min-height:42px;margin-top:12px;border:1px solid var(--ink);background:var(--ink);color:white;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;cursor:pointer}.variant-result{margin-top:10px;border:1px solid var(--ink);background:var(--yellow);padding:15px}.variant-result[hidden]{display:none}.variant-result b{font:600 18px Georgia,serif}.variant-result p{margin:7px 0 0;font-size:10px;line-height:1.5}.trainer-panel h3 code,.reveal-box code{padding:1px 4px;background:#eee9df;font-family:inherit;font-size:.9em}.math{font-family:Georgia,"Times New Roman",serif;white-space:nowrap}
.exam-timer{margin-top:38px;border:1px solid rgba(255,255,255,.3);padding:18px 20px;display:grid;gap:8px;width:min(300px,100%)}.exam-timer>span{font-size:8px;font-weight:900;letter-spacing:1px;color:#aebac8}.exam-timer>b{font:500 38px Georgia,serif;color:var(--yellow)}.exam-timer>div{display:flex;gap:7px}.exam-timer button{border:1px solid var(--yellow);background:transparent;color:white;min-height:33px;padding:0 14px;font-size:9px;font-weight:900;cursor:pointer}.exam-timer button:first-child{background:var(--yellow);color:var(--ink)}
@media(max-width:1000px){.bank-toolbar{grid-template-columns:1fr 1fr}.random-task{width:100%}.bank-panel{min-height:650px}}
@media(max-width:720px){.bank-toolbar{grid-template-columns:1fr}.task-tags{margin-top:-12px}.task-image{min-height:150px}.task-options{grid-template-columns:1fr}.answer-map{grid-template-columns:repeat(7,1fr)}.bank-panel{padding:22px 16px}.task-bank-section .trainer-copy h2{font-size:58px}}

/* Global task browser */
.task-browser-shell{padding-block:90px 120px}.task-browser-heading{max-width:820px;margin-bottom:42px}.task-browser-heading h1{font-size:clamp(62px,8vw,100px);line-height:.9;margin:13px 0 24px}.task-browser-heading h1 em{color:var(--coral);font-weight:inherit}.task-browser-heading p{max-width:680px;color:#607188;font-size:15px}.global-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:8px;padding:15px;border:1.5px solid var(--ink);background:#eee9df;margin-bottom:28px}.global-filters label{display:grid;gap:5px}.global-filters span{font-size:8px;font-weight:900;text-transform:uppercase;color:#607188}.global-filters select,.global-filters button{height:40px;border:1px solid var(--ink);background:white;padding:0 9px;font-size:10px;font-weight:800;min-width:0}.global-filters button{align-self:end;background:var(--yellow);cursor:pointer}.global-result-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;font-size:10px;color:#66768a}.global-result-head b{font:500 21px Georgia,serif;color:var(--ink)}.global-task-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.global-task-card{min-height:390px;border:1.5px solid var(--ink);background:white;color:var(--ink);text-decoration:none;display:grid;grid-template-rows:210px 1fr;transition:transform .18s,box-shadow .18s}.global-task-card:hover{transform:translateY(-4px);box-shadow:6px 7px 0 var(--ink)}.global-task-card.is-solved{box-shadow:inset 0 0 0 5px var(--mint)}.global-task-image{display:grid;place-items:center;background:#eee9df;border-bottom:1px solid var(--ink);overflow:hidden;padding:8px}.global-task-image img{display:block;max-width:100%;max-height:194px}.global-task-copy{padding:16px;display:flex;flex-direction:column}.global-task-copy>span{font-size:8px;font-weight:900;text-transform:uppercase;color:#6b798c}.global-task-copy h2{font:500 21px Georgia,serif;margin:7px 0}.global-task-copy p{font-size:10px;line-height:1.45;color:#65758a;margin:0}.global-task-copy b{margin-top:auto;padding-top:12px;font-size:9px}.global-more{display:block;margin:28px auto 0;min-height:44px;border:1px solid var(--ink);background:var(--yellow);padding:0 24px;font-size:10px;font-weight:900;cursor:pointer}.global-more[hidden]{display:none}
@media(max-width:1000px){.global-filters{grid-template-columns:repeat(3,1fr)}.global-task-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.task-browser-shell{padding-block:55px 80px}.global-filters{grid-template-columns:1fr}.global-task-grid{grid-template-columns:1fr}.global-task-card{grid-template-rows:190px 1fr}}

/* Local editor */
.editor-shell{padding-block:75px 110px}.editor-heading{max-width:760px;margin-bottom:55px}.editor-heading h1{font-size:clamp(62px,7vw,90px);line-height:.92;margin:10px 0 25px}.editor-heading h1 em{color:var(--coral);font-weight:inherit}.editor-heading p{max-width:620px;color:#5b6d82;font-size:16px}.import-panel{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:16px;border:1.5px solid var(--ink);background:var(--yellow);padding:24px 28px;margin-bottom:22px;box-shadow:6px 7px 0 var(--ink)}.import-panel span{font-size:8px;font-weight:900;letter-spacing:1px}.import-panel h2{font:500 28px Georgia,serif;letter-spacing:-1px;margin:4px 0}.import-panel p{font-size:10px;margin:0}.file-button,.import-panel>button{min-height:42px;border:1px solid var(--ink);background:var(--white);display:flex;align-items:center;padding:0 15px;font-size:9px;font-weight:900;cursor:pointer}.file-button input{display:none}.import-panel>button{background:var(--ink);color:white}.editor-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:start}.task-form,.custom-list-panel{border:1.5px solid var(--ink);background:var(--white);padding:28px}.form-top,.custom-list-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:22px}.form-top>span,.custom-list-head>span{font-size:9px;font-weight:900;letter-spacing:1px}.form-top button{border:0;border-bottom:1px solid var(--ink);background:transparent;font-size:9px;font-weight:900;cursor:pointer}.custom-list-head b{width:31px;height:31px;border-radius:50%;background:var(--coral);color:white;display:grid;place-items:center;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:11px}.task-form label{display:grid;gap:5px}.task-form label>span{font-size:8px;font-weight:900;text-transform:uppercase;color:#63738a}.task-form input,.task-form select,.task-form textarea{width:100%;border:1px solid var(--line);background:#faf7f1;padding:10px;outline:0;font-size:12px}.task-form input,.task-form select{height:43px}.task-form textarea{resize:vertical}.task-form input:focus,.task-form select:focus,.task-form textarea:focus{border-color:var(--ink)}.wide-field{margin-bottom:11px}.save-task{margin-top:10px}.editor-message{min-height:20px;font-size:10px;color:#40816c;margin:13px 0 0}.custom-list-panel{position:sticky;top:105px;max-height:760px;overflow:auto}.custom-list{display:grid;gap:9px}.custom-task-card{border:1px solid var(--line);padding:14px}.custom-task-card span{font-size:8px;text-transform:uppercase;color:#6b798b;font-weight:900}.custom-task-card h3{font:500 16px/1.25 Georgia,serif;margin:7px 0}.custom-task-card p{font-size:9px;margin-bottom:8px}.custom-task-card>div:last-child{display:flex;gap:7px}.custom-task-card button{border:0;border-bottom:1px solid var(--ink);background:transparent;padding:3px 0;font-size:8px;font-weight:900;cursor:pointer}.custom-task-card button:last-child{color:var(--coral)}.empty-list{font-size:11px;color:#6a798d}
@media(max-width:900px){.editor-layout{grid-template-columns:1fr}.custom-list-panel{position:static}.import-panel{grid-template-columns:1fr 1fr}.import-panel>div{grid-column:1/-1}}
@media(max-width:720px){.editor-shell{padding-block:55px 75px}.editor-heading h1{font-size:52px}.import-panel{grid-template-columns:1fr;padding:20px}.import-panel>div{grid-column:auto}.task-form,.custom-list-panel{padding:20px 16px}.form-grid{grid-template-columns:1fr}}

/* Clear learning route, page groups and full variants */
.number-nav{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:7px;margin:28px 0 56px}.number-nav button{min-height:72px;border:1px solid var(--ink);background:var(--white);display:grid;place-items:center;padding:8px 3px;cursor:pointer;transition:transform .16s,box-shadow .16s}.number-nav button:hover{transform:translateY(-3px);box-shadow:3px 4px 0 var(--ink)}.number-nav button b{font:600 24px Georgia,serif}.number-nav button span{font-size:7px;text-transform:uppercase;color:#6a798c}.number-nav button.is-second-part{background:#f1dfba}.number-nav button.is-active{background:var(--coral);color:white;box-shadow:3px 4px 0 var(--ink)}.number-nav button.is-active span{color:white}.number-nav button:disabled{opacity:.35;cursor:not-allowed;box-shadow:none;transform:none}.program-subheading{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:end;border-top:1px solid var(--line);padding-top:24px;margin-bottom:22px}.program-subheading>span{width:45px;height:45px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-size:8px;font-weight:900}.program-subheading h3{font:500 29px Georgia,serif}.program-subheading p{font-size:10px;color:#627287;margin:0}
.variant-route-card{border:1.5px solid var(--ink);background:var(--blue);padding:34px;box-shadow:7px 8px 0 var(--ink);max-width:760px}.variant-route-card b{font:500 34px Georgia,serif}.variant-route-card p{max-width:560px;margin:10px 0 22px;color:#3e5872;font-size:12px;line-height:1.6}
.task-image{gap:14px}.task-image img{width:100%;max-height:none}.task-image figcaption{width:100%;padding:10px 12px;background:var(--yellow);border:1px solid var(--ink);font-size:9px;line-height:1.45;text-align:left}.answer-rows,.variant-answer-rows{display:grid;gap:9px}.answer-row{position:relative;transition:border-color .15s,background .15s}.answer-row small{min-height:13px;font-size:8px;font-weight:800;color:#65758a}.answer-row.is-correct{border-color:#3f866e;background:#e1f2e9}.answer-row.is-correct small{color:#33745e}.answer-row.is-wrong{border-color:var(--coral);background:#fff0eb}.answer-row.is-wrong small{color:#b54f38}.answer-row.is-empty{border-color:#c49b26}.answer-row.is-manual{border-color:#4d8fac;background:#e5f1f6}.source-answer-list{display:grid;gap:7px}.source-answer-list>span{display:block}.trainer-panel>h3[hidden]{display:none}
.variant-choice{grid-column:1/-1;max-width:330px}.variant-intro{border:1px solid var(--ink);background:var(--yellow);padding:18px 20px;margin-bottom:15px}.variant-intro b{font:500 21px Georgia,serif}.variant-intro p{font-size:10px;line-height:1.5;margin:6px 0 0}.variant-jump{background:var(--white);margin:0 -10px 12px;padding:14px 10px;border-bottom:1px solid var(--ink)}.variant-jump .answer-map{grid-template-columns:repeat(13,1fr)}.variant-sheet{display:grid;gap:20px;max-height:72vh;overflow-y:auto;overscroll-behavior:contain;border:1.5px solid var(--ink);background:#eee9df;padding:12px;scrollbar-gutter:stable}.variant-sheet:focus{outline:3px solid var(--yellow);outline-offset:2px}.variant-task-card{border:1.5px solid var(--ink);background:#fff;padding:20px;scroll-margin-top:12px}.variant-task-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:14px}.variant-task-head b{font:600 23px Georgia,serif}.variant-task-head span{font-size:8px;text-transform:uppercase;color:#647489;text-align:right}.variant-task-images{margin-bottom:14px;min-height:0;padding:8px}.variant-task-images:empty{display:none}.variant-fallback{font:500 20px/1.45 Georgia,serif;margin-bottom:18px}.variant-answer-row{scroll-margin-top:12px}.variant-task-card .task-source-links{margin:15px 0 0}.variant-result{position:sticky;bottom:12px;z-index:6;box-shadow:5px 6px 0 var(--ink)}
.root-answer-helper{display:grid;grid-template-columns:auto minmax(140px,220px);gap:5px 10px;align-items:center;margin-top:7px;padding-top:7px;border-top:1px solid var(--line)}.root-answer-helper>span{font-size:8px;font-weight:900;color:#53677f}.root-answer-helper select{height:34px;border:1px solid var(--ink);background:var(--white);padding:0 8px;font-size:11px;font-weight:800}.root-answer-helper small{grid-column:1/-1;font-size:8px;color:#6a798c}.solution-upload{margin-top:9px;padding-top:9px;border-top:1px dashed #9aa5b2;display:grid;grid-template-columns:1fr auto;gap:6px 10px}.solution-upload label{display:block}.solution-upload input{display:none}.solution-upload label span{display:inline-flex;align-items:center;min-height:35px;border:1px solid var(--ink);background:var(--yellow);padding:0 12px;font-size:8px;font-weight:900;text-transform:uppercase;cursor:pointer}.solution-upload.has-file label span{background:var(--mint)}.solution-upload small{align-self:center;font-size:8px;color:#69788b}.solution-upload img{grid-column:1/-1;display:block;max-width:220px;max-height:150px;border:1px solid var(--ink);object-fit:contain;background:white}.solution-upload img[hidden]{display:none}.answer-row>.answer-status{min-height:13px;font-size:8px;font-weight:800;color:#65758a}
.math-answer-helper{margin-top:9px;padding-top:9px;border-top:1px solid var(--line);display:grid;gap:7px}.math-helper-toggle{width:100%;min-height:39px;border:1px solid var(--ink);background:#e5f1f6;color:var(--ink);display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:9px;font-weight:900;text-transform:uppercase;cursor:pointer}.math-helper-toggle i{width:24px;height:24px;border-radius:50%;background:var(--ink);color:var(--white);display:grid;place-items:center;font:700 17px Georgia,serif}.math-helper-toggle[aria-expanded="true"]{background:var(--yellow)}.math-helper-panel{display:grid;gap:7px;padding:9px;border:1px solid var(--line);background:#f8f5ef}.math-helper-panel[hidden]{display:none}.math-helper-panel>span{font-size:8px;font-weight:900;text-transform:uppercase;color:#53677f}.math-helper-panel>small{font-size:8px;line-height:1.45;color:#6a798c;text-transform:none}.math-helper-panel>small b{color:var(--ink)}.math-keypad{display:grid;grid-template-columns:repeat(7,minmax(36px,1fr));gap:5px}.math-keypad button,.math-templates button{min-height:36px;border:1px solid var(--ink);background:var(--white);color:var(--ink);font:700 16px Georgia,serif;cursor:pointer;transition:background .14s,transform .14s}.math-keypad button:hover,.math-templates button:hover{background:var(--yellow);transform:translateY(-1px)}.math-keypad .math-key-action{background:#eee9df}.math-templates{display:flex;flex-wrap:wrap;gap:5px}.math-templates button{min-height:32px;padding:0 10px;font-size:11px;background:#e5f1f6}
.task-image-frame{position:relative;display:block;width:100%;overflow:visible}.task-image-frame img{width:100%;height:auto}.task-image-frame .source-number-mask{position:absolute;z-index:2;display:block;background:#fff;pointer-events:none;border-radius:3px}.task-image-frame.is-page-number-masked .source-number-mask{display:none}.task-image-frame.is-crop-number-masked .source-number-mask{left:4.8%;top:43%;width:7.2%;height:16%}.number-mask-caption{background:#dcecf3!important}
.task-question table{width:100%;border-collapse:collapse;margin:12px 0}.task-question td,.task-question th{padding:7px 8px;vertical-align:top}.task-question .MsoNormal{margin:0 0 8px;line-height:1.5}.task-question .fipi-answer-layout{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.task-question .distractors-table tr{border-bottom:1px solid rgba(18,30,42,.12)}.task-question .distractors-table td{padding:8px 6px}.task-question .answer-table{width:auto;min-width:160px;text-align:center}.task-question .fipi-inline-image{display:inline-block;max-width:min(100%,680px);height:auto;margin:8px 10px 8px 0;vertical-align:middle}.task-question math{font-family:"Cambria Math","Times New Roman",serif}.task-question p{max-width:76ch}.variant-fallback .fipi-inline-image{max-width:min(100%,520px)}

/* Separate progress for practical task types №1–5 */
.practical-type-section{margin:-22px 0 48px;border:1.5px solid var(--ink);background:var(--white);box-shadow:7px 8px 0 var(--ink)}.practical-type-toggle{width:100%;border:0;background:var(--yellow);display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 28px;text-align:left;cursor:pointer}.practical-type-toggle>span{display:grid;gap:4px}.practical-type-toggle small{font-size:8px;font-weight:900;letter-spacing:1.3px}.practical-type-toggle b{font:500 30px Georgia,serif}.practical-type-toggle em{font-style:normal;font-size:10px;color:#59697c}.practical-type-toggle>i{min-width:96px;border:1px solid var(--ink);background:var(--white);padding:11px 13px;font-style:normal;font-size:9px;font-weight:900;text-align:center}.practical-type-toggle[aria-expanded="true"]>i{background:var(--ink);color:var(--white)}.practical-type-panel{padding:27px}.practical-type-panel[hidden]{display:none}.practical-type-intro{display:flex;justify-content:space-between;gap:30px;align-items:start;margin-bottom:20px}.practical-type-intro b{font:500 22px Georgia,serif}.practical-type-intro p{max-width:570px;margin:0;font-size:10px;line-height:1.55;color:#607186}.practical-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.practical-type-card{min-height:190px;border:1px solid var(--ink);background:#f8f5ef;padding:16px;display:flex;flex-direction:column;align-items:stretch;text-align:left;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s}.practical-type-card:hover{transform:translateY(-3px);box-shadow:4px 5px 0 var(--ink)}.practical-type-card.is-active{background:var(--mint);box-shadow:4px 5px 0 var(--ink)}.practical-type-card-head{display:flex;justify-content:space-between;align-items:center}.practical-type-card-head small{font-size:8px;font-weight:900;color:#66768a}.practical-type-card-head strong{font:600 27px Georgia,serif}.practical-type-card>b{font:500 18px/1.1 Georgia,serif;margin:20px 0 5px}.practical-type-count{font-size:8px;color:#63738a}.practical-type-bar{display:block;height:6px;background:#ddd8ce;margin:15px 0 12px;overflow:hidden}.practical-type-bar i{display:block;height:100%;background:var(--coral)}.practical-type-open{margin-top:auto;font-size:8px;font-weight:900;text-transform:uppercase}
@media(max-width:1000px){.number-nav{grid-template-columns:repeat(9,1fr)}.program-subheading{grid-template-columns:auto 1fr}.program-subheading p{grid-column:2}.variant-jump .answer-map{grid-template-columns:repeat(10,1fr)}.practical-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.number-nav{grid-template-columns:repeat(5,1fr);margin-bottom:42px}.number-nav button{min-height:63px}.program-subheading h3{font-size:23px}.variant-jump{margin-inline:-7px}.variant-jump .answer-map{grid-template-columns:repeat(5,1fr)}.variant-sheet{max-height:68vh;padding:7px}.variant-task-card{padding:14px 11px;scroll-margin-top:8px}.variant-answer-row{scroll-margin-top:8px}.variant-task-head{display:grid}.variant-task-head span{text-align:left}.answer-field input{font-size:18px}.task-image{padding:6px}.variant-intro b{font-size:18px}.root-answer-helper{grid-template-columns:1fr}.root-answer-helper small{grid-column:auto}.math-keypad{grid-template-columns:repeat(5,minmax(36px,1fr))}.math-keypad button{min-height:40px}.math-templates button{flex:1 1 90px}.solution-upload{grid-template-columns:1fr}.solution-upload img{grid-column:auto}.practical-type-section{margin-top:-14px;box-shadow:4px 5px 0 var(--ink)}.practical-type-toggle{padding:19px 16px;align-items:flex-start}.practical-type-toggle b{font-size:23px}.practical-type-toggle em{display:none}.practical-type-toggle>i{min-width:80px;padding-inline:8px}.practical-type-panel{padding:16px}.practical-type-intro{display:grid;gap:7px}.practical-type-grid{grid-template-columns:1fr}.practical-type-card{min-height:150px}.practical-type-card>b{margin-top:13px}}

/* 10–15 minute diagnostic */
.diagnostic-page{background:var(--paper)}.diagnostic-shell{padding-block:80px 120px;min-height:calc(100vh - 90px)}.diagnostic-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;min-height:620px}.diagnostic-intro h1{font-size:clamp(68px,8vw,104px);line-height:.86;letter-spacing:-4px;margin:18px 0 28px}.diagnostic-intro h1 em{color:var(--coral);font-weight:inherit}.diagnostic-intro>div>p{max-width:620px;font-size:17px;line-height:1.65;color:#586b82}.diagnostic-start{margin-top:25px}.diagnostic-map{border:1.5px solid var(--ink);background:var(--yellow);padding:30px;box-shadow:8px 9px 0 var(--ink)}.diagnostic-map>span{font-size:9px;font-weight:900;letter-spacing:1px}.diagnostic-map ol{list-style:none;display:grid;gap:7px;margin:22px 0;padding:0}.diagnostic-map li{display:grid;grid-template-columns:62px 1fr;align-items:center;border:1px solid var(--ink);background:var(--white);min-height:58px}.diagnostic-map li b{font:600 22px Georgia,serif;text-align:center;border-right:1px solid var(--ink);align-self:stretch;display:grid;place-items:center}.diagnostic-map li small{font-size:10px;font-weight:800;padding:0 13px}.diagnostic-map>p{font-size:10px;line-height:1.55;color:#4f6074}
.diagnostic-test{max-width:900px;margin:30px auto}.diagnostic-test[hidden],.diagnostic-result[hidden],.diagnostic-intro[hidden]{display:none}.diagnostic-test-head{display:flex;justify-content:space-between;align-items:end}.diagnostic-test-head>div:first-child{display:grid;gap:5px}.diagnostic-test-head span{font-size:8px;font-weight:900;letter-spacing:1px;color:#68788b}.diagnostic-test-head b{font:500 24px Georgia,serif}.diagnostic-test-head i{font-style:normal;color:var(--coral)}.diagnostic-clock{text-align:right}.diagnostic-clock b{display:block;font:500 38px Georgia,serif;color:var(--coral)}.diagnostic-progress{height:6px;background:#d9d4ca;margin:18px 0 24px}.diagnostic-progress i{display:block;height:100%;background:var(--coral);transition:width .25s}.diagnostic-card{border:1.5px solid var(--ink);background:var(--white);padding:30px;box-shadow:9px 10px 0 var(--yellow)}.diagnostic-task-meta{display:flex;justify-content:space-between;gap:15px;margin-bottom:18px}.diagnostic-task-meta span{background:var(--ink);color:white;padding:6px 9px;font-size:8px;font-weight:900;text-transform:uppercase}.diagnostic-task-meta b{font-size:9px;text-transform:uppercase;color:#63738a}.diagnostic-card figure{margin:0 0 20px;border:1px solid var(--line);background:#f1ece4;padding:12px;display:grid;place-items:center;min-height:160px}.diagnostic-card figure img{display:block;max-width:100%;max-height:460px}.diagnostic-answer{max-width:100%}.diagnostic-message{min-height:22px;margin:9px 0 0;color:var(--coral);font-size:10px;font-weight:800}.diagnostic-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.diagnostic-actions .text-button:disabled{opacity:.3;cursor:not-allowed}
.diagnostic-task-text{max-width:68ch;margin:0;padding:22px;font:500 20px/1.55 Georgia,serif;white-space:pre-wrap;color:var(--ink)}
.diagnostic-result{padding-top:30px}.diagnostic-result-head{text-align:center;max-width:760px;margin:0 auto 45px}.diagnostic-result-head h1{font-size:clamp(90px,13vw,165px);line-height:.8;color:var(--coral);margin:22px 0}.diagnostic-result-head h2{font:500 38px Georgia,serif}.diagnostic-result-head p{color:#627287}.diagnostic-domain-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.diagnostic-domain-grid article{border:1.5px solid var(--ink);background:var(--white);padding:28px}.diagnostic-domain-grid article:nth-child(2){background:var(--mint)}.diagnostic-domain-grid span{font-size:9px;font-weight:900;letter-spacing:1px}.diagnostic-domain-grid b{display:block;font:500 58px Georgia,serif;margin:14px 0}.diagnostic-domain-grid i{display:block;height:7px;background:#ded9d0}.diagnostic-domain-grid em{display:block;height:100%;background:var(--coral)}.diagnostic-domain-grid p{font-size:11px;line-height:1.55;min-height:36px}.diagnostic-domain-grid a{font-size:9px;font-weight:900;border-bottom:1px solid var(--ink)}.diagnostic-review{border:1.5px solid var(--ink);background:#eee9df;margin-top:20px;padding:28px}.diagnostic-review h2{font-size:34px;margin-bottom:20px}.diagnostic-review>div{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px;padding:13px;border-top:1px solid var(--line);font-size:10px}.diagnostic-review>div.is-correct{border-left:5px solid #43856e}.diagnostic-review>div.is-wrong{border-left:5px solid var(--coral)}.diagnostic-result-actions{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:30px}
@media(max-width:800px){.diagnostic-shell{padding-block:45px 80px}.diagnostic-intro{grid-template-columns:1fr;gap:35px;min-height:auto}.diagnostic-intro h1{font-size:60px;letter-spacing:-2px}.diagnostic-map{padding:22px}.diagnostic-card{padding:20px 14px}.diagnostic-domain-grid{grid-template-columns:1fr}.diagnostic-review{padding:20px 14px}.diagnostic-review>div{grid-template-columns:1fr}.diagnostic-result-actions{align-items:flex-start;flex-direction:column}.diagnostic-test-head{align-items:start}.diagnostic-clock b{font-size:30px}}

/* Accounts, access schedule and teacher cabinet */
.site-header.has-account{grid-template-columns:auto 1fr auto;column-gap:28px}.site-header.has-account>.header-action,.site-header.has-account>.header-progress{display:none}.account-menu{display:flex;align-items:center;justify-self:end;gap:8px}.account-menu>span{display:grid;line-height:1.1;text-align:right}.account-menu small{font-size:7px;text-transform:uppercase;color:#6b798a}.account-menu b{font-size:10px}.account-menu a,.account-menu button{min-height:34px;border:1px solid var(--ink);background:transparent;color:var(--ink);display:inline-flex;align-items:center;padding:0 11px;font-size:8px;font-weight:900;text-transform:uppercase;cursor:pointer}.account-menu .account-primary{background:var(--yellow)}
.course-card.is-locked{filter:saturate(.45);cursor:not-allowed}.course-card.is-locked .course-card-cover::after{content:"";position:absolute;inset:0;background:rgba(238,233,223,.45)}.course-lock{position:absolute;right:15px;top:14px;z-index:3;width:38px;height:38px;border:1px solid var(--ink);background:var(--white);display:grid;place-items:center}.course-card.is-locked .course-link{color:#7b4f3d}.access-gate{min-height:calc(100vh - 90px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:850px}.access-gate h1{font-size:clamp(60px,9vw,110px);line-height:.88;margin:16px 0 25px}.access-gate p{max-width:680px;font-size:16px;line-height:1.65;color:#5d6f84}.access-gate>div{display:flex;align-items:center;gap:24px;margin-top:20px}
.auth-shell{padding-block:85px 110px}.auth-heading{max-width:760px;margin-bottom:38px}.auth-heading h1{font-size:clamp(72px,9vw,112px);line-height:.84;margin:15px 0 25px}.auth-heading p{max-width:600px;color:#5e7084;font-size:16px}.auth-current{border:1.5px solid var(--ink);background:var(--mint);padding:18px 22px;margin-bottom:20px;display:flex;align-items:center;gap:14px}.auth-current[hidden]{display:none}.auth-current>div{display:grid;margin-right:auto}.auth-current span{font-size:8px;font-weight:900}.auth-current b{font:500 24px Georgia,serif}.auth-current small{font-size:9px;color:#51647a}.auth-current>button{border:0;border-bottom:1px solid var(--ink);background:transparent;font-size:8px;font-weight:900;cursor:pointer}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.auth-card{border:1.5px solid var(--ink);background:var(--white);padding:30px;display:grid;gap:14px;align-content:start}.auth-register{background:var(--yellow);box-shadow:8px 9px 0 var(--ink)}.auth-card>span{font-size:8px;font-weight:900;letter-spacing:1px}.auth-card h2{font:500 38px Georgia,serif}.auth-card label,.student-create label,.student-settings label{display:grid;gap:5px}.auth-card label b,.student-create label span,.student-settings label span{font-size:8px;font-weight:900;text-transform:uppercase;color:#5e7084}.auth-card input,.student-create input,.student-settings input{height:44px;border:1px solid var(--ink);background:var(--white);padding:0 11px;font-size:11px}.form-message{min-height:18px;color:var(--coral);font-size:9px;font-weight:900;margin:0}.local-mode-note,.deployment-note{margin-top:25px;border-left:7px solid var(--coral);background:#eee9df;padding:21px 24px}.local-mode-note b{font:500 20px Georgia,serif}.local-mode-note p,.deployment-note p{max-width:850px;margin:5px 0 0;font-size:10px;color:#5f7084}
.admin-shell{padding-block:75px 120px}.admin-heading{display:grid;grid-template-columns:1.35fr .65fr;gap:40px;align-items:end}.admin-heading h1{font-size:clamp(76px,9vw,118px);line-height:.84;margin-top:16px}.teacher-access-card{border:1.5px solid var(--ink);background:var(--mint);box-shadow:7px 8px 0 var(--ink);padding:28px}.teacher-access-card span{font-size:8px;font-weight:900}.teacher-access-card b{display:block;font:500 31px Georgia,serif;margin:8px 0}.teacher-access-card p{font-size:10px;margin:0;color:#4f6277}.admin-explainer{border:1px solid var(--ink);background:var(--yellow);padding:19px 22px;margin:35px 0 18px;display:flex;gap:30px;align-items:center}.admin-explainer b{font:500 20px Georgia,serif;white-space:nowrap}.admin-explainer p{margin:0;font-size:10px;color:#53667c}.student-create{display:grid;grid-template-columns:.65fr 1.35fr;gap:35px;border:1.5px solid var(--ink);background:var(--white);padding:31px}.student-create h2{font-size:42px;margin:8px 0}.student-create>div>p{font-size:11px;color:#607186}.student-base-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.schedule-editor{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:14px 0}.schedule-editor label{border:1px solid var(--line);background:#f7f3ec;padding:9px}.schedule-editor input{height:37px;font-size:16px;font-weight:900}.schedule-editor small{font-size:7px;color:#6b798b}.full-access-check{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin:10px 0 15px}.full-access-check input{width:19px;height:19px}.students-section{padding-top:80px}.student-list{display:grid;gap:18px}.student-card{border:1.5px solid var(--ink);background:var(--white);padding:25px}.student-card-head{display:flex;justify-content:space-between;gap:25px;align-items:start}.student-card-head span{font-size:8px;font-weight:900;color:#66768a}.student-card-head h3{font:500 29px Georgia,serif;margin:2px 0}.student-card-head p{font-size:9px;margin:0;color:#64758a}.student-card-head>div:last-child{display:flex;gap:7px}.student-card-head button,.student-settings summary{border:1px solid var(--ink);background:var(--yellow);padding:10px 12px;font-size:8px;font-weight:900;text-transform:uppercase;cursor:pointer}.student-card-head .danger-link{background:transparent;color:var(--coral)}.student-course-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:20px}.student-course-row{border:1px solid var(--line);padding:12px;display:grid;gap:3px}.student-course-row.is-open{background:#e1f2e9}.student-course-row.is-locked{background:#eee9df}.student-course-row span{font-size:8px;font-weight:900;text-transform:uppercase}.student-course-row b{font:500 24px Georgia,serif}.student-course-row small{font-size:7px;color:#647489}.student-settings{margin-top:15px}.student-settings summary{display:inline-block;list-style:none;background:#e5f1f6}.student-settings form{border-top:1px solid var(--line);margin-top:14px;padding-top:5px}.student-update-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;align-items:end}.empty-students{border:1px dashed var(--ink);padding:40px;text-align:center}.empty-students b{font:500 24px Georgia,serif}.deployment-note{margin-top:60px;padding:28px}.deployment-note h2{font-size:34px;margin:7px 0}
@media(max-width:1050px){.site-header.has-account{grid-template-columns:auto 1fr auto}.site-header.has-account .header-action,.site-header.has-account .header-progress{display:none}.schedule-editor,.student-course-grid{grid-template-columns:repeat(3,1fr)}.student-create{grid-template-columns:1fr}.admin-heading{grid-template-columns:1fr}}
@media(max-width:720px){.site-header.has-account{grid-template-columns:1fr auto}.account-menu>span{display:none}.account-menu a,.account-menu button{padding-inline:8px}.auth-shell,.admin-shell{padding-block:50px 80px}.auth-heading h1,.admin-heading h1{font-size:62px}.auth-grid{grid-template-columns:1fr}.auth-card{padding:23px 17px}.auth-current{align-items:flex-start;flex-wrap:wrap}.student-create{padding:22px 15px}.student-base-fields,.schedule-editor,.student-course-grid,.student-update-fields{grid-template-columns:1fr}.student-card{padding:20px 14px}.student-card-head{display:grid}.student-card-head>div:last-child{flex-wrap:wrap}.admin-explainer{display:grid;gap:6px}.access-gate>div{align-items:flex-start;flex-direction:column}}

/* Teacher monitoring: attempts and diagnostics */
.student-monitoring{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.student-monitoring details{border:1px solid var(--ink);background:#f8f5ef}.student-monitoring summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:13px 15px;font-size:9px;font-weight:900;text-transform:uppercase}.student-monitoring summary::-webkit-details-marker{display:none}.student-monitoring summary b{width:28px;height:28px;border-radius:50%;background:var(--coral);color:#fff;display:grid;place-items:center}.student-monitoring details[open]{grid-column:1/-1}.student-monitoring details[open] summary{background:var(--yellow);border-bottom:1px solid var(--ink)}.monitoring-summary{display:flex;align-items:center;gap:8px;padding:13px 15px;border-bottom:1px solid var(--line)}.monitoring-summary b{font:500 25px Georgia,serif}.monitoring-summary span{font-size:8px;color:#63748a;margin-right:14px}.attempt-task-list{display:grid;gap:10px;padding:14px}.attempt-task-card{border:1px solid var(--line);background:var(--white)}.attempt-task-head{display:grid;grid-template-columns:1fr auto;gap:20px;padding:14px}.attempt-task-head>div:last-child{text-align:right;display:grid;justify-items:end}.attempt-task-head span,.attempt-task-head small{font-size:7px;font-weight:900;text-transform:uppercase;color:#66778b}.attempt-task-head h4,.diagnostic-log-head h4{font:500 20px Georgia,serif;margin:3px 0}.attempt-task-head p{font-size:8px;margin:0;color:#65768a}.attempt-task-head>div:last-child>b{font:500 18px Georgia,serif}.attempt-task-head a{font-size:8px;font-weight:900;border-bottom:1px solid var(--ink);margin-top:4px}.attempt-history{border-top:1px solid var(--line)}.attempt-row{display:grid;grid-template-columns:90px 125px 1fr 135px;gap:9px;padding:9px 12px;border-top:1px solid #ebe6dd;font-size:8px;align-items:center}.attempt-row:first-child{border-top:0}.attempt-row em{font-style:normal;font-weight:900;text-align:right}.attempt-row.is-correct{border-left:5px solid #43856e}.attempt-row.is-wrong{border-left:5px solid var(--coral)}.attempt-row.is-manual{border-left:5px solid #4d8fac}.diagnostic-log-card{margin:14px;border:1px solid var(--line);background:var(--white)}.diagnostic-log-head{display:grid;grid-template-columns:1fr auto;gap:5px 20px;padding:14px}.diagnostic-log-head>div>span{font-size:7px;color:#66778b}.diagnostic-log-head>b{grid-row:1/3;grid-column:2;font:500 38px Georgia,serif;color:var(--coral)}.diagnostic-log-head>p{font-size:8px;margin:0}.diagnostic-answer-log{border-top:1px solid var(--line)}.diagnostic-answer-log>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding:9px 12px;border-top:1px solid #ebe6dd;font-size:8px}.diagnostic-answer-log>div:first-child{border-top:0}.diagnostic-answer-log .is-correct{border-left:5px solid #43856e}.diagnostic-answer-log .is-wrong{border-left:5px solid var(--coral)}.empty-monitoring{padding:22px;font-size:10px;color:#66778b}.diagnostic-locked-route{font-size:8px;font-weight:900;color:#64758a;text-transform:uppercase}.filter-button[hidden]{display:none!important}
@media(max-width:800px){.student-monitoring{grid-template-columns:1fr}.attempt-task-head{grid-template-columns:1fr}.attempt-task-head>div:last-child{text-align:left;justify-items:start}.attempt-row{grid-template-columns:1fr 1fr}.attempt-row em{text-align:left}.diagnostic-answer-log>div{grid-template-columns:1fr}}

/* Class dashboard and expandable attempt table */
.class-toolbar{border:1.5px solid var(--ink);background:var(--yellow);padding:15px 18px;display:grid;grid-template-columns:240px 1fr;gap:20px;align-items:end;margin-bottom:15px}.class-toolbar label{display:grid;gap:5px}.class-toolbar label>span{font-size:8px;font-weight:900;text-transform:uppercase}.class-toolbar select{height:42px;border:1px solid var(--ink);background:var(--white);padding:0 10px;font-size:10px;font-weight:800}.class-toolbar>div{display:flex;justify-content:flex-end;gap:22px;flex-wrap:wrap}.class-toolbar>div span{display:grid;font-size:8px;text-transform:uppercase;color:#5c6d82}.class-toolbar>div b{font:500 25px Georgia,serif;color:var(--ink)}.class-results-wrap{overflow-x:auto;border:1.5px solid var(--ink);background:var(--white)}.class-results-table{width:100%;border-collapse:collapse;min-width:1030px}.class-results-table th{background:#eee9df;text-align:left;padding:11px 12px;border-bottom:1px solid var(--ink);font-size:7px;text-transform:uppercase;color:#64758a}.class-results-table td{padding:13px 12px;border-top:1px solid var(--line);font-size:9px}.class-results-table tbody tr:hover{background:#fff8dc}.class-results-table td:first-child b{display:block;font:500 16px Georgia,serif}.class-results-table td small{display:block;font-size:7px;color:#6a798c}.class-results-table td strong{font:500 22px Georgia,serif}.class-results-table button{border:1px solid var(--ink);background:var(--yellow);padding:9px 11px;font-size:8px;font-weight:900;text-transform:uppercase;white-space:nowrap;cursor:pointer}.student-detail-list{display:grid;gap:18px;margin-top:18px}.student-report-card{scroll-margin-top:100px;box-shadow:7px 8px 0 var(--ink)}.student-report-card[hidden]{display:none!important}
.attempt-table-head,.attempt-number-group>summary{display:grid!important;grid-template-columns:70px 90px 80px minmax(130px,1fr) 125px 90px;gap:9px;align-items:center}.attempt-table-head{padding:10px 14px;background:#eee9df;border-bottom:1px solid var(--ink);font-size:7px;text-transform:uppercase;color:#65758a}.attempt-table-head i{display:block}.attempt-number-list{display:grid}.attempt-number-group{border:0!important;border-bottom:1px solid var(--line)!important;background:var(--white)!important}.attempt-number-group:last-child{border-bottom:0!important}.attempt-number-group>summary{padding:12px 14px!important;background:var(--white)!important;border:0!important;font-size:9px!important;text-transform:none!important}.attempt-number-group>summary:hover{background:#fff8dc!important}.attempt-number-group>summary>b{width:42px!important;height:42px!important;background:var(--ink)!important;font:500 19px Georgia,serif}.attempt-number-group>summary em{font-style:normal;font-weight:900}.attempt-number-group>summary em.is-correct{color:#37785f}.attempt-number-group>summary em.is-wrong{color:var(--coral)}.attempt-number-group>summary i{font-style:normal;font-size:8px;font-weight:900;text-align:right}.attempt-number-detail{overflow-x:auto;border-top:1px solid var(--ink)}.attempt-number-detail table{width:100%;border-collapse:collapse;min-width:930px}.attempt-number-detail th{background:#e5f1f6;padding:9px;text-align:left;font-size:7px;text-transform:uppercase}.attempt-number-detail td{padding:9px;border-top:1px solid var(--line);font-size:8px}.attempt-number-detail tr.is-correct{border-left:5px solid #43856e}.attempt-number-detail tr.is-wrong{border-left:5px solid var(--coral)}.attempt-number-detail tr.is-manual{border-left:5px solid #4d8fac}.attempt-number-detail a{font-weight:900;border-bottom:1px solid var(--ink)}.attempt-photo-link{display:inline-block;margin:6px 0 0;font-size:8px!important;color:#2563eb;border-bottom:1px solid currentColor!important}.attempt-photo-thumb{display:block;width:92px;max-height:72px;object-fit:cover;margin-top:6px;border:1px solid var(--line);border-radius:8px;background:#fff}
@media(max-width:900px){.class-toolbar{grid-template-columns:1fr}.class-toolbar>div{justify-content:flex-start}.attempt-table-head,.attempt-number-group>summary{grid-template-columns:55px 65px 60px minmax(100px,1fr) 90px}.attempt-table-head i,.attempt-number-group>summary i{display:none}.student-base-fields{grid-template-columns:1fr}}
.parent-shell{padding-block:75px 120px}.parent-create{margin-top:22px;background:#e5f1f6}.parents-section{padding-top:80px}.parent-list,.parent-child-list{display:grid;gap:18px}.student-create select{border:1px solid var(--ink);background:var(--white);padding:0 11px;font-size:11px}.student-create select[multiple]{height:104px;padding:8px 11px}.student-card-head .linked-parents{margin-top:5px;color:#3f7c67}.parent-results-table td:last-child{display:flex;gap:7px;flex-wrap:wrap}.parent-results-table .danger-link{background:transparent!important;color:var(--coral)}.parent-results-table button{margin-right:6px}.parent-child-card{box-shadow:7px 8px 0 var(--ink)}.parent-heading{margin-bottom:30px}.parent-metrics{text-align:right;display:grid;justify-items:end}.parent-metrics b{font:500 48px Georgia,serif;color:var(--coral)}.parent-metrics span{font-size:8px;font-weight:900;text-transform:uppercase;color:#65758a}.parent-main-summary{background:var(--yellow);border:1px solid var(--ink);margin-top:14px}.parent-problems{border:1px solid var(--line);background:#f8f5ef;padding:13px 15px;margin-top:12px;font-size:10px;color:#5c6d82}.parent-problems b{font-size:9px;text-transform:uppercase;color:var(--ink)}.parent-attempts table{min-width:760px}.parent-diagnostic-log>div{grid-template-columns:1fr 1fr 90px}@media(max-width:900px){.parent-heading{grid-template-columns:1fr}.parent-metrics{justify-items:start;text-align:left}.parent-diagnostic-log>div{grid-template-columns:1fr}}

/* 2026 redesign layer */
:root{--paper:#f7f4ee;--white:#fffdf8;--ink:#101820;--line:#e5ded2;--soft:#efebe3;--shadow:0 24px 70px rgba(16,24,32,.09);--radius-xl:34px;--radius-lg:24px;--radius-md:16px}
body{background:radial-gradient(circle at 8% 0,rgba(244,161,140,.28),transparent 34%),radial-gradient(circle at 92% 10%,rgba(156,197,207,.32),transparent 30%),linear-gradient(180deg,#fbf8f1 0%,#f3efe7 100%);color:var(--ink)}
.page-noise{opacity:.32}
.site-header{width:min(100% - 28px,1240px);top:14px;margin-inline:auto;border:1px solid rgba(16,24,32,.11);border-radius:999px;background:rgba(255,253,248,.82);box-shadow:0 12px 40px rgba(16,24,32,.08);backdrop-filter:blur(18px);height:68px;padding-inline:18px 20px}
.brand{letter-spacing:-.05em}.brand-mark{box-shadow:inset 0 0 0 6px rgba(255,255,255,.35)}
.main-nav a,.header-action,.account-menu a,.account-menu button{border-radius:999px;text-decoration:none}
.catalog-hero,.course-hero{padding-top:118px}
.catalog-hero h1,.course-hero h1,.auth-heading h1,.admin-heading h1,.task-browser-heading h1{letter-spacing:-.04em;text-wrap:balance}
.catalog-hero-copy>p,.course-hero-copy>p,.task-browser-heading p{color:#435166;text-wrap:pretty}
.button,.text-button,.random-task,.finish-variant,.global-more{border-radius:999px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.button:hover,.text-button:hover,.random-task:hover,.finish-variant:hover,.global-more:hover{transform:translateY(-2px)}
.course-card{border:0;border-radius:var(--radius-xl);overflow:hidden;background:rgba(255,253,248,.88);box-shadow:var(--shadow);min-height:430px;transition:transform .22s ease,box-shadow .22s ease}
.course-card:hover{box-shadow:0 28px 80px rgba(16,24,32,.14);transform:translateY(-6px)}
.course-card-cover{border:0;background:linear-gradient(155deg,var(--accent-soft),rgba(255,253,248,.44));border-radius:0 28px 28px 0}
.course-card-cover::before{border-color:rgba(16,24,32,.18)}
.course-symbol{border:0;box-shadow:0 18px 42px rgba(16,24,32,.15)}
.course-card-body h3{letter-spacing:-.035em;text-wrap:balance}
.course-card-meta span:last-child{display:none}
.course-cover-art,.trainer-panel,.student-card,.auth-card,.teacher-access-card,.class-results-wrap,.task-form,.custom-list-panel{border:0;border-radius:var(--radius-xl);box-shadow:var(--shadow)}
.course-cover-art{transform:none;background:linear-gradient(160deg,var(--accent-soft),rgba(255,253,248,.48));overflow:hidden}
.course-cover-art::after{content:"";position:absolute;inset:auto -70px -90px auto;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.32);filter:blur(2px)}
.course-stats{width:min(100% - 34px,1120px);margin:0 auto;border:0;border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}
.program-section{padding-block:96px}
.program-layout{grid-template-columns:minmax(0,1fr) 310px;gap:26px}
.program-list{display:grid;gap:12px;border:0}
.program-list li{border:0;border-radius:22px;background:rgba(255,253,248,.82);box-shadow:0 12px 38px rgba(16,24,32,.06);overflow:hidden}
.program-list button{font:inherit}
.program-list .program-module-row{min-height:76px;display:grid;grid-template-columns:minmax(0,1fr) 84px 48px;gap:14px;align-items:center;padding:0 8px 0 18px;border:0;background:#f2efea}
.program-list .program-module-row:hover{background:#ece7df}
.program-title{display:grid;gap:5px}
.program-title b{font-size:16px;line-height:1.25;letter-spacing:-.01em}
.program-title small{font-size:10px;color:#6f7680}
.program-count{justify-self:end;font-size:16px;font-weight:800;color:#101820}
.program-list .program-module-row>i{width:36px;height:36px;border:0;border-radius:11px;background:#2b2b2d;color:#fff;font-size:28px;font-weight:400;line-height:1;display:grid;place-items:center;transition:transform .18s ease,background .18s ease}
.program-list .program-module-row:hover>i{transform:translateX(2px);background:#101820}
.program-list li.is-done .program-module-row{background:#e4f1ea}
.program-topics{display:grid;gap:0;padding:8px 8px 10px;background:rgba(255,253,248,.72)}
.program-topics button{width:100%;min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:14px;border:0;border-radius:14px;background:transparent;padding:0 0 0 28px;color:#6f737a;text-align:left}
.program-topics button:hover{background:#f4f1eb;color:#101820}
.program-topics button span{display:grid;gap:3px}
.program-topics button b{font-size:14px;line-height:1.25;color:inherit}
.program-topics button small{font-size:9px;color:#8a9098}
.program-topics button strong{justify-self:end;padding-right:8px;font-size:14px;color:#30343a}
.program-summary{position:sticky;top:108px;border:0;border-radius:var(--radius-xl);background:#101820;color:#fff;box-shadow:var(--shadow)}
.program-summary span,.program-summary p{color:rgba(255,255,255,.72)}
.program-summary .summary-ring{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}
.number-nav{gap:8px}
.number-nav button{border:0;border-radius:18px;background:rgba(255,253,248,.84);box-shadow:0 10px 28px rgba(16,24,32,.06);transition:transform .18s ease,background .18s ease}
.number-nav button:hover:not(:disabled),.number-nav button.is-active{transform:translateY(-2px);background:#101820;color:#fff}
.practical-type-section{border:0;border-radius:var(--radius-xl);box-shadow:var(--shadow)}
.practical-type-toggle,.practical-type-panel,.variant-route-card{border:0;border-radius:var(--radius-xl);background:rgba(255,253,248,.86)}
.practical-type-toggle>i{border-radius:999px;background:#101820;color:#fff}
.bank-toolbar{border:0;border-radius:24px;background:#f1ece4;padding:12px}
.bank-toolbar label span{letter-spacing:.04em}
.bank-toolbar select{border:0;border-radius:13px;background:#fffdf8;box-shadow:inset 0 0 0 1px rgba(16,24,32,.08)}
.trainer-panel{background:rgba(255,253,248,.92)}
.task-image{border:0;border-radius:24px;background:#f4f1eb}
.answer-field{border:0;border-radius:18px;background:#f6f2ea;box-shadow:inset 0 0 0 1px rgba(16,24,32,.08)}
.answer-field input{font-size:22px}
.answer-row.is-correct{background:#e3f2ea}.answer-row.is-wrong{background:#fff0e9}
.variant-sheet{border:0;border-radius:24px;background:#eee9df;box-shadow:inset 0 0 0 1px rgba(16,24,32,.08)}
.variant-task-card{border:0;border-radius:22px;box-shadow:0 12px 32px rgba(16,24,32,.07)}
.global-filters,.class-toolbar,.admin-explainer{border:0;border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.global-task-card{border:0;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
@media(max-width:900px){.site-header{width:min(100% - 20px,1240px);top:10px;border-radius:24px}.catalog-hero,.course-hero{padding-top:96px}.program-layout{grid-template-columns:1fr}.program-summary{position:static}.program-list .program-module-row{grid-template-columns:minmax(0,1fr) 54px 42px}.program-topics button{padding-left:14px;grid-template-columns:minmax(0,1fr) 44px}.course-card-cover{border-radius:0}.course-stats{width:min(100% - 24px,1120px)}}

/* Final clean redesign: stable layout + new palette */
:root{
  --ink:#19212b;
  --paper:#f5f3ee;
  --white:#ffffff;
  --coral:#e85f3d;
  --yellow:#f1b84b;
  --mint:#7dc7a2;
  --blue:#7da7d9;
  --violet:#9b87c8;
  --line:rgba(25,33,43,.11);
  --muted:#657180;
  --surface:#ffffff;
  --surface-2:#ebe7df;
  --brand:#1f5eff;
  --brand-2:#13a887;
  --danger:#e85f3d;
  --shadow:0 18px 55px rgba(25,33,43,.10);
  --shadow-soft:0 8px 25px rgba(25,33,43,.07);
  --radius-xl:30px;
  --radius-lg:22px;
  --radius-md:14px;
}
body{
  background:
    radial-gradient(circle at 14% -6%,rgba(31,94,255,.14),transparent 34%),
    radial-gradient(circle at 92% 4%,rgba(19,168,135,.13),transparent 30%),
    linear-gradient(180deg,#faf8f3 0%,#f1eee7 54%,#ebe7df 100%);
  color:var(--ink);
}
.page-noise{opacity:.018}
.section-shell{width:min(1220px,calc(100% - 48px))}
.site-header{
  position:sticky;
  top:12px;
  left:auto;
  transform:none;
  width:min(1220px,calc(100% - 32px));
  height:70px;
  margin:12px auto 0;
  padding:0 14px 0 18px;
  border:1px solid rgba(25,33,43,.10);
  border-radius:24px;
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 34px rgba(25,33,43,.08);
  backdrop-filter:blur(18px);
}
.site-header.has-account{grid-template-columns:auto 1fr auto}
.brand{font-size:23px;letter-spacing:-.04em}
.brand-mark{border:0;background:var(--brand);color:#fff;box-shadow:none}
.main-nav{gap:10px;justify-content:center}
.main-nav a{padding:9px 13px;border-radius:999px;color:#4f5967;font-size:12px}
.main-nav a::after{display:none}
.main-nav a:hover{background:#f0f3ff;color:var(--brand)}
.header-action,.account-menu a,.account-menu button{border:0;border-radius:999px;background:#f0f3ff;color:var(--brand)}
.account-menu .account-primary{background:var(--ink);color:#fff}
.header-progress{background:#f4f1ea;border-radius:999px;padding:6px 11px 6px 6px}
.mini-ring{background:conic-gradient(var(--brand) 0 var(--progress),rgba(25,33,43,.10) var(--progress))}
.mini-ring::after{background:#fff}
.catalog-hero,.course-hero{padding-top:72px}
.catalog-hero{min-height:620px;gap:64px}
.course-hero{min-height:610px;gap:58px}
h1,h2{font-family:"Segoe UI",Arial,sans-serif;font-weight:850;letter-spacing:-.045em}
.catalog-hero h1,.course-hero h1{font-size:clamp(48px,6.2vw,86px);line-height:.94}
.catalog-hero h1 em{color:var(--brand)}
.catalog-hero-copy>p,.course-hero-copy>p,.section-heading p{color:var(--muted)}
.eyebrow span{border:0;background:#eaf0ff;color:var(--brand)}
.kicker{color:var(--brand);letter-spacing:.12em}
.button{border:0;border-radius:999px;box-shadow:none}
.button-primary{background:var(--brand);color:#fff}
.button-dark{background:var(--ink);color:#fff}
.button:hover{box-shadow:0 12px 26px rgba(31,94,255,.18)}
.text-button,.text-link{border:0;color:var(--brand)}
.stats-band{background:var(--ink);border-radius:0}
.course-stats{
  width:min(1220px,calc(100% - 48px));
  margin:-18px auto 0;
  border-radius:24px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow);
}
.course-stats>div{border-right:1px solid var(--line)}
.course-stats strong,.stats-band strong{color:var(--brand);font-family:"Segoe UI",Arial,sans-serif;font-weight:850}
.course-grid{gap:20px}
.course-card{
  min-height:390px;
  grid-template-columns:170px 1fr;
  border:0;
  border-radius:28px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.course-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.course-card-cover{border:0;border-radius:0;background:linear-gradient(160deg,#eef3ff,#e7fbf5)}
.accent-coral .course-card-cover,.course-card.accent-coral .course-card-cover{background:linear-gradient(160deg,#ffece6,#fff7ef)}
.accent-yellow .course-card-cover,.course-card.accent-yellow .course-card-cover{background:linear-gradient(160deg,#fff4d7,#fffaf0)}
.accent-mint .course-card-cover,.course-card.accent-mint .course-card-cover{background:linear-gradient(160deg,#e5fbf1,#f3fff8)}
.accent-blue .course-card-cover,.course-card.accent-blue .course-card-cover{background:linear-gradient(160deg,#e7f0ff,#f4f8ff)}
.accent-violet .course-card-cover,.course-card.accent-violet .course-card-cover{background:linear-gradient(160deg,#f0ebff,#faf7ff)}
.course-card-cover::before{display:none}
.course-symbol{border:0;background:#fff;color:var(--brand);box-shadow:0 12px 30px rgba(25,33,43,.10)}
.course-card-body h3{font-family:"Segoe UI",Arial,sans-serif;font-weight:850;font-size:25px;letter-spacing:-.035em}
.course-card-body>p{font-size:12px;color:var(--muted)}
.mini-stats{border-color:var(--line)}
.course-progress i{height:7px;border-radius:999px;background:#edf0f3;overflow:hidden}
.course-progress i span{border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}
.course-link{border-top-color:var(--line);color:var(--brand)}
.course-cover-art{
  min-height:430px;
  border:0;
  border-radius:34px;
  background:linear-gradient(145deg,#ffffff,#eef3ff);
  box-shadow:var(--shadow);
  transform:none;
}
.course-cover-art::before{border:0;background:linear-gradient(135deg,rgba(31,94,255,.12),rgba(19,168,135,.10))}
.course-cover-art>strong{border:0;background:var(--brand);color:#fff;box-shadow:0 18px 38px rgba(31,94,255,.24)}
.course-cover-art h2{font-family:"Segoe UI",Arial,sans-serif;font-weight:850}
.cover-sticker{border:0;background:var(--ink);box-shadow:none;border-radius:18px;transform:none}
.cover-progress i{border:0;border-radius:999px;background:#e2e7ef}
.cover-progress em{border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}
.program-section{padding-block:88px}
.program-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
.number-nav button,.program-list li,.practical-type-section,.variant-route-card,.program-summary,.trainer-panel,.feature-grid article,.path-grid article,.audience-card,.progress-card,.auth-card,.student-card,.class-results-wrap,.student-create,.teacher-access-card{
  border:0!important;
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}
.number-nav button{background:#fff;color:var(--ink)}
.number-nav button:hover:not(:disabled),.number-nav button.is-active{background:var(--brand);color:#fff}
.program-list{gap:10px}
.program-list li{background:#fff;overflow:hidden}
.program-list .program-module-row{
  background:#fff;
  min-height:72px;
  grid-template-columns:minmax(0,1fr) 76px 42px;
  padding:0 10px 0 18px;
}
.program-list .program-module-row:hover{background:#f5f7ff}
.program-title b{font-size:16px;color:var(--ink)}
.program-title small{font-size:10px;color:var(--muted)}
.program-count{font-weight:850;color:var(--ink)}
.program-list .program-module-row>i{background:var(--ink);border-radius:12px}
.program-list li.is-done .program-module-row{background:#eefaf4}
.program-topics{padding:6px;background:#fbfaf7}
.program-topics button{
  min-height:50px;
  border-radius:16px;
  padding-left:24px;
  color:#7c828b;
}
.program-topics button:hover{background:#eef3ff;color:var(--ink)}
.program-topics button strong{color:#3a424c}
.program-summary{background:var(--ink);color:#fff;padding:24px;top:98px}
.program-summary>span,.program-summary p{color:rgba(255,255,255,.70)}
.summary-ring,.large-ring{background:conic-gradient(var(--brand-2) 0 var(--progress),rgba(255,255,255,.16) var(--progress))}
.summary-ring::after{background:var(--ink)}
.large-ring::after{background:#fff}
.inside-section{background:transparent;border:0}
.feature-grid{gap:14px}
.feature-grid article{background:#fff}
.feature-grid i{border:0;background:#eef3ff;color:var(--brand)}
.path-grid article{background:#fff!important}
.path-grid article:nth-child(2){transform:none}
.trainer-section{background:#151d28}
.trainer-layout{align-items:start;gap:42px}
.trainer-panel{background:#fff;color:var(--ink);box-shadow:var(--shadow)}
.bank-toolbar{background:#f4f1ea;border-radius:22px}
.bank-toolbar select{border:0;border-radius:13px;background:#fff}
.mode-switch{border:0;background:#f2f4f7;border-radius:999px;padding:4px}
.mode-switch button{border:0;border-radius:999px}
.mode-switch button.is-active{background:var(--brand)}
.task-progress{height:8px;border-radius:999px;background:#edf0f3;overflow:hidden}
.task-progress i{border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}
.task-tags span{background:#eef3ff;color:var(--brand);border:0}
.task-image,.variant-sheet{border:0;border-radius:24px;background:#f3f1ec}
.answer-field{border:0;border-radius:18px;background:#f6f4ef;box-shadow:inset 0 0 0 1px rgba(25,33,43,.08)}
.answer-field input{font-size:22px}
.button-check{background:var(--brand)}
.variant-task-card{border:0;border-radius:22px;box-shadow:var(--shadow-soft)}
.global-filters,.class-toolbar,.admin-explainer{border:0!important;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}
.global-task-card{border:0;border-radius:24px;box-shadow:var(--shadow-soft)}
.auth-register{background:#eef3ff;box-shadow:var(--shadow-soft)}
.student-monitoring details,.attempt-task-card,.diagnostic-log-card{border:0;border-radius:18px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}
.student-monitoring details[open] summary{background:#eef3ff;border:0}
.class-results-table th{background:#f3f1ec;border:0}
.class-results-table td{border-top:1px solid var(--line)}
@media(max-width:1050px){
  .catalog-hero,.course-hero{grid-template-columns:1fr;padding-top:46px}
  .course-grid{grid-template-columns:1fr}
  .trainer-layout{grid-template-columns:1fr}
  .program-layout{grid-template-columns:1fr}
  .program-summary{position:static}
}
@media(max-width:720px){
  .section-shell{width:min(100% - 28px,1220px)}
  .site-header{width:min(100% - 20px,1220px);height:64px;top:8px;margin-top:8px;border-radius:20px;grid-template-columns:1fr auto}
  .site-header.has-account{grid-template-columns:1fr auto}
  .main-nav{position:absolute;left:0;right:0;top:70px;border:0;border-radius:20px;background:#fff;box-shadow:var(--shadow);padding:16px}
  .catalog-hero h1,.course-hero h1{font-size:clamp(42px,13vw,58px)}
  .catalog-hero,.course-hero{gap:30px}
  .course-card{grid-template-columns:1fr}
  .course-card-cover{height:180px}
  .course-stats{width:min(100% - 28px,1220px);grid-template-columns:1fr 1fr}
  .program-list .program-module-row{grid-template-columns:minmax(0,1fr) 50px 38px;padding-left:14px}
  .program-title b{font-size:14px}
  .program-topics button{grid-template-columns:minmax(0,1fr) 40px;padding-left:12px}
  .feature-grid,.path-grid{grid-template-columns:1fr}
  .trainer-panel{padding:18px 14px}
}

/* Teacher gradebook heatmap */
.class-toolbar{
  grid-template-columns:220px 220px 1fr;
  align-items:end;
}
.course-check-title{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:12px;
  padding:14px 16px;
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.course-check-title>div{
  display:grid;
  gap:2px;
  margin-right:auto;
}
.course-check-title b{font-size:18px}
.course-check-title span,
.course-check-title i{
  font-size:11px;
  color:var(--muted);
  font-style:normal;
}
.course-check-title i{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.course-check-title em{
  width:14px;
  height:14px;
  border-radius:5px;
  display:inline-block;
}
.legend-weak{background:#ffe1dc}
.legend-mid{background:#fff2bf}
.legend-strong{background:#dff4e8}
.heat-results-wrap{
  max-height:72vh;
  overflow:auto;
}
.heat-results-table{min-width:1320px}
.heat-results-table th{
  position:sticky;
  top:0;
  z-index:2;
}
.heat-results-table .student-sticky{
  position:sticky;
  left:0;
  z-index:1;
  min-width:220px;
  background:#fff;
  box-shadow:1px 0 0 var(--line);
}
.heat-results-table th:first-child{
  left:0;
  z-index:3;
  min-width:220px;
}
.heat-results-table .number-head{
  text-align:center;
  min-width:76px;
}
.score-cell{min-width:118px}
.score-cell strong{
  display:block;
  line-height:1;
}
.heat-cell{
  min-width:76px;
  padding:5px!important;
}
.heat-cell button{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:12px;
  display:grid;
  place-items:center;
  gap:1px;
  color:var(--ink);
  box-shadow:inset 0 0 0 1px rgba(25,33,43,.06);
  background:#f5f3ee;
}
.heat-cell button b{font-size:13px}
.heat-cell button span,
.heat-cell button em{
  font-size:9px;
  color:#586473;
  font-style:normal;
}
.heat-cell.is-empty button{background:#f2f0eb;color:#8b929b}
.heat-cell.is-weak button{background:#ffe1dc}
.heat-cell.is-mid button{background:#fff2bf}
.heat-cell.is-strong button{background:#dff4e8}
.heat-cell button:hover{
  outline:2px solid var(--brand);
  outline-offset:1px;
}
.heat-results-table tr.is-best .score-cell{background:#e3f7ea}
.heat-results-table tr.is-worst .score-cell{background:#ffe8e3}
@media(max-width:900px){
  .class-toolbar{grid-template-columns:1fr}
  .heat-results-wrap{max-height:68vh}
}

/* Redesign v3: clean learning product */
:root{
  --ink:#0b1220;
  --paper:#f5f7fb;
  --white:#ffffff;
  --coral:#ff6b3d;
  --yellow:#f6c453;
  --mint:#28c78d;
  --blue:#4f7cff;
  --violet:#8b5cf6;
  --line:rgba(11,18,32,.10);
  --muted:#687386;
  --surface:#ffffff;
  --surface-2:#eef2f7;
  --brand:#4f46e5;
  --brand-2:#06b6d4;
  --success:#16a36b;
  --warning:#f59e0b;
  --danger:#ef5b3d;
  --shadow:0 24px 70px rgba(11,18,32,.12);
  --shadow-soft:0 10px 30px rgba(11,18,32,.08);
  --radius-xl:32px;
  --radius-lg:22px;
  --radius-md:14px;
}
body{
  background:
    radial-gradient(circle at 12% -10%,rgba(79,70,229,.18),transparent 30%),
    radial-gradient(circle at 96% 2%,rgba(6,182,212,.14),transparent 28%),
    linear-gradient(180deg,#fbfcff 0%,#f5f7fb 42%,#edf1f7 100%);
  color:var(--ink);
}
.section-shell{width:min(1240px,calc(100% - 48px))}
.site-header{
  position:sticky;
  top:14px;
  left:auto;
  transform:none;
  width:min(1240px,calc(100% - 32px));
  margin:14px auto 0;
  height:66px;
  padding:0 12px 0 18px;
  border:1px solid rgba(11,18,32,.08);
  border-radius:20px;
  background:rgba(255,255,255,.88);
  box-shadow:0 14px 38px rgba(11,18,32,.08);
  backdrop-filter:blur(16px);
}
.brand{font:850 23px/1 "Segoe UI",Arial,sans-serif;letter-spacing:-.04em}
.brand-mark{border:0;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;box-shadow:none}
.main-nav{gap:6px}
.main-nav a{padding:9px 12px;border-radius:999px;color:#526071;font-size:12px}
.main-nav a::after{display:none}
.main-nav a:hover{background:#eef2ff;color:var(--brand)}
.header-action,.account-menu a,.account-menu button{border:0;border-radius:999px;background:#eef2ff;color:var(--brand);min-height:36px}
.account-menu .account-primary{background:var(--ink);color:#fff}
.header-progress{background:#f1f5f9;border-radius:999px;padding:6px 10px 6px 6px}
.mini-ring{background:conic-gradient(var(--brand) 0 var(--progress),rgba(11,18,32,.08) var(--progress))}
.mini-ring::after{background:#fff}
h1,h2,h3{font-family:"Segoe UI",Arial,sans-serif;font-weight:850;letter-spacing:-.045em}
h2{font-size:clamp(38px,4.7vw,64px);line-height:.98;text-wrap:balance}
.kicker{color:var(--brand);letter-spacing:.14em}
.button,.random-task,.finish-variant,.global-more{border:0;border-radius:999px;box-shadow:none}
.button-primary,.button-check{background:linear-gradient(135deg,var(--brand),#6958ff);color:#fff}
.button-dark{background:var(--ink);color:#fff}
.button:hover,.random-task:hover,.finish-variant:hover,.global-more:hover{box-shadow:0 14px 30px rgba(79,70,229,.20);transform:translateY(-2px)}
.text-button,.text-link{border:0;color:var(--brand)}
.catalog-hero,.course-hero{
  margin-top:22px;
  padding:72px;
  border-radius:38px;
  min-height:580px;
  background:
    radial-gradient(circle at 82% 18%,rgba(6,182,212,.28),transparent 32%),
    radial-gradient(circle at 16% 92%,rgba(139,92,246,.24),transparent 30%),
    linear-gradient(135deg,#0b1220 0%,#172554 56%,#312e81 100%);
  color:#fff;
  box-shadow:var(--shadow);
}
.catalog-hero-copy>p,.course-hero-copy>p{color:rgba(255,255,255,.76);max-width:680px}
.catalog-hero h1,.course-hero h1{font-size:clamp(48px,6.2vw,88px);line-height:.92}
.catalog-hero h1 em{color:#67e8f9}
.eyebrow span{border:0;background:rgba(255,255,255,.13);color:#fff}
.eyebrow b,.course-badges span{color:rgba(255,255,255,.72)}
.course-badges span{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08)}
.back-link{color:rgba(255,255,255,.8);border:0}
.catalog-orbit::before,.catalog-orbit::after{border-color:rgba(255,255,255,.20)}
.orbit-center{background:#fff;color:var(--ink);box-shadow:0 18px 40px rgba(0,0,0,.18)}
.orbit-center span{color:var(--brand)}
.orbit-card{border:0;border-radius:22px;box-shadow:0 16px 34px rgba(0,0,0,.18)}
.course-cover-art{
  min-height:420px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:34px;
  background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 22px 52px rgba(0,0,0,.22);
  color:#fff;
  transform:none;
  backdrop-filter:blur(14px);
}
.course-cover-art::before{border:0;background:rgba(255,255,255,.10)}
.course-cover-art>strong{border:0;background:#fff;color:var(--brand);box-shadow:none}
.course-cover-art h2{font-family:"Segoe UI",Arial,sans-serif;font-weight:850}
.cover-sticker{border:0;border-radius:18px;background:#67e8f9;color:#0b1220;box-shadow:none;transform:none}
.cover-progress i{border:0;border-radius:999px;background:rgba(255,255,255,.20)}
.cover-progress em{border-radius:999px;background:#67e8f9}
.stats-band{background:var(--ink)}
.course-stats{
  width:min(1240px,calc(100% - 48px));
  margin:-20px auto 0;
  border:0;
  border-radius:24px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow-soft);
}
.course-stats>div{border-right:1px solid var(--line)}
.course-stats strong,.stats-band strong{font-family:"Segoe UI",Arial,sans-serif;font-weight:850;color:var(--brand)}
.course-catalog{padding-block:86px 118px}
.catalog-filters{border:0;border-radius:999px;background:#fff;padding:5px;box-shadow:var(--shadow-soft)}
.filter-button{border:0;border-radius:999px;color:#617084}
.filter-button.is-active{background:var(--ink);color:#fff}
.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.course-card{
  grid-template-columns:160px 1fr;
  min-height:360px;
  border:0;
  border-radius:30px;
  background:#fff;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.course-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.course-card-cover{border:0;border-radius:0;background:linear-gradient(160deg,#eef2ff,#ecfeff)}
.course-card-cover::before{display:none}
.course-symbol{border:0;background:#fff;color:var(--brand);box-shadow:0 14px 30px rgba(11,18,32,.12)}
.course-card-body h3{font:850 25px/1.08 "Segoe UI",Arial,sans-serif;letter-spacing:-.035em}
.course-card-body>p{font-size:12px;color:var(--muted)}
.course-card-meta span:last-child{display:none}
.mini-stats{border-color:var(--line)}
.course-progress i{height:8px;border-radius:999px;background:#e8edf5;overflow:hidden}
.course-progress i span{border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}
.course-link{border-top-color:var(--line);color:var(--brand)}
.program-section{padding-block:92px}
.program-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px}
.program-subheading{margin-top:36px}
.number-nav{gap:8px}
.number-nav button{
  border:0;
  border-radius:18px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow-soft);
}
.number-nav button:hover:not(:disabled),.number-nav button.is-active{background:var(--brand);color:#fff;transform:translateY(-2px)}
.program-list{border:0;display:grid;gap:12px}
.program-list li{
  border:0;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.program-list .program-module-row{
  min-height:74px;
  grid-template-columns:minmax(0,1fr) 78px 42px;
  gap:14px;
  padding:0 12px 0 20px;
  background:#fff;
}
.program-list .program-module-row:hover{background:#f8faff}
.program-title b{font:850 16px/1.22 "Segoe UI",Arial,sans-serif;color:var(--ink);letter-spacing:-.02em}
.program-title small{font-size:10px;color:var(--muted)}
.program-count{font:850 16px/1 "Segoe UI",Arial,sans-serif;color:var(--ink);justify-self:end}
.program-list .program-module-row>i{
  width:36px;height:36px;border:0;border-radius:12px;background:#242b36;color:#fff;font-size:28px;font-weight:400;
}
.program-list li.is-done .program-module-row{background:#effaf5}
.program-topics{
  display:grid;
  gap:8px;
  padding:8px;
  background:#f8fafc;
}
.program-topic-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  border-radius:18px;
  background:#fff;
  padding:6px;
}
.program-topic-main{
  min-height:56px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 58px!important;
  gap:12px!important;
  padding:0 6px 0 18px!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  color:var(--ink)!important;
}
.program-topic-main:hover{background:#f1f5ff!important}
.program-topic-main b{font:750 14px/1.25 "Segoe UI",Arial,sans-serif!important;color:var(--ink)}
.program-topic-main small{font-size:9px;color:var(--muted)}
.program-topic-main strong{justify-self:end;color:#3b4451}
.program-topic-numbers{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
  padding-right:2px;
}
.program-topic-numbers button{
  width:auto!important;
  min-height:36px!important;
  display:inline-flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 10px!important;
  border:1px solid rgba(79,70,229,.15)!important;
  border-radius:999px!important;
  background:#f3f5ff!important;
  color:var(--brand)!important;
  font-size:10px!important;
  font-weight:850!important;
}
.program-topic-numbers button span{font-size:9px;color:#778095}
.program-topic-numbers button:hover,.program-topic-numbers button.is-active{background:var(--brand)!important;color:#fff!important}
.program-topic-numbers button:hover span,.program-topic-numbers button.is-active span{color:rgba(255,255,255,.78)}
.program-summary{
  border:0;
  border-radius:26px;
  background:#101827;
  color:#fff;
  box-shadow:var(--shadow-soft);
  top:96px;
}
.program-summary>span,.program-summary p{color:rgba(255,255,255,.70)}
.summary-ring{background:conic-gradient(var(--brand-2) 0 var(--progress),rgba(255,255,255,.14) var(--progress))}
.summary-ring::after{background:#101827}
.inside-section{border:0;background:transparent;padding-block:86px}
.feature-grid{gap:14px}
.feature-grid article,.path-grid article,.audience-card,.progress-card,.trainer-panel,.student-card,.auth-card,.student-create,.teacher-access-card,.class-results-wrap{
  border:0!important;
  border-radius:26px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.feature-grid i{border:0;background:#eef2ff;color:var(--brand)}
.learning-path{padding-block:86px}
.path-grid article{background:#fff!important;transform:none!important}
.trainer-section{background:#0b1220;color:#fff;padding-block:92px}
.trainer-layout{grid-template-columns:.56fr 1.44fr;gap:40px;align-items:start}
.trainer-copy>p{color:rgba(255,255,255,.68)}
.trainer-score b{color:#67e8f9}
.trainer-panel{color:var(--ink);background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.22)}
.mode-switch{border:0;border-radius:999px;background:#eef2f7;padding:4px}
.mode-switch button{border:0;border-radius:999px}
.mode-switch button.is-active{background:var(--brand);color:#fff}
.bank-toolbar{border:0;border-radius:22px;background:#f3f5f8;padding:12px}
.bank-toolbar select{border:0;border-radius:13px;background:#fff;box-shadow:inset 0 0 0 1px rgba(11,18,32,.08)}
.task-progress{height:8px;border-radius:999px;background:#e9eef5;overflow:hidden}
.task-progress i{border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2))}
.task-tags span{border:0;border-radius:999px;background:#eef2ff;color:var(--brand)}
.task-image,.variant-sheet{border:0;border-radius:24px;background:#f3f5f8}
.answer-field{border:0;border-radius:18px;background:#f7f8fb;box-shadow:inset 0 0 0 1px rgba(11,18,32,.08)}
.answer-row.is-correct{background:#ecfdf5}.answer-row.is-wrong{background:#fff1ed}
.variant-task-card{border:0;border-radius:22px;box-shadow:var(--shadow-soft)}
.global-filters,.class-toolbar,.admin-explainer{border:0!important;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}
.student-monitoring details,.attempt-task-card,.diagnostic-log-card{border:0;border-radius:18px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}
.student-monitoring details[open] summary{background:#eef2ff;border:0}
@media(max-width:1050px){
  .catalog-hero,.course-hero{grid-template-columns:1fr;padding:54px}
  .course-grid{grid-template-columns:1fr}
  .program-layout,.trainer-layout{grid-template-columns:1fr}
  .program-summary{position:static}
  .program-topic-row{grid-template-columns:1fr}
  .program-topic-numbers{justify-content:flex-start;padding:0 0 4px 12px}
}
@media(max-width:720px){
  .section-shell{width:min(100% - 28px,1240px)}
  .site-header{width:min(100% - 20px,1240px);height:64px;top:8px;margin-top:8px;border-radius:18px;grid-template-columns:1fr auto}
  .site-header.has-account{grid-template-columns:1fr auto}
  .main-nav{position:absolute;left:0;right:0;top:70px;border:0;border-radius:20px;background:#fff;box-shadow:var(--shadow);padding:16px}
  .catalog-hero,.course-hero{padding:34px 22px;border-radius:28px;min-height:auto}
  .catalog-hero h1,.course-hero h1{font-size:clamp(40px,13vw,58px)}
  .course-card{grid-template-columns:1fr}
  .course-card-cover{height:170px}
  .course-stats{width:min(100% - 28px,1240px);grid-template-columns:1fr 1fr}
  .program-list .program-module-row{grid-template-columns:minmax(0,1fr) 48px 36px;padding-left:14px}
  .program-title b{font-size:14px}
  .program-topic-main{grid-template-columns:minmax(0,1fr) 44px!important;padding-left:10px!important}
  .program-topic-numbers{padding-left:4px}
  .feature-grid,.path-grid{grid-template-columns:1fr}
  .trainer-panel{padding:18px 14px}
}

/* Course content repair: compact hierarchy, stable filters and readable FIPI tasks */
.program-list{
  display:grid;
  gap:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:none;
}
.program-list li{
  overflow:visible;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.program-list li+li{border-top:1px solid var(--line)}
.program-list .program-module-row{
  min-height:68px;
  grid-template-columns:minmax(0,1fr) 94px 38px;
  gap:12px;
  padding:0 14px 0 20px;
  background:#fff;
  transition:background-color .18s cubic-bezier(.22,1,.36,1),transform .18s cubic-bezier(.22,1,.36,1);
}
.program-list .program-module-row:hover{
  background:#f3f6ff;
  transform:translateX(2px);
}
.program-title b{font:800 16px/1.25 "Segoe UI",Arial,sans-serif;letter-spacing:-.01em}
.program-title small{font-size:10px;color:var(--muted)}
.program-count{
  justify-self:end;
  color:var(--muted);
  font:700 13px/1 "Segoe UI",Arial,sans-serif;
  white-space:nowrap;
}
.program-list .program-module-row>i{
  width:34px;
  height:34px;
  border-radius:10px;
  background:var(--ink);
  color:#fff;
  font-size:25px;
  transition:transform .18s cubic-bezier(.22,1,.36,1),background-color .18s ease;
}
.program-list li.is-expanded .program-module-row>i{transform:rotate(90deg)}
.program-topics{
  display:grid;
  gap:0;
  padding:0;
  background:#fff;
}
.program-topics[hidden]{display:none!important}
.program-topic-row{
  display:block;
  padding:0;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:#fff;
}
.program-topic-main{
  min-height:64px!important;
  grid-template-columns:72px minmax(0,1fr) 86px 28px!important;
  gap:12px!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  transition:background-color .18s cubic-bezier(.22,1,.36,1),transform .18s cubic-bezier(.22,1,.36,1)!important;
}
.program-topic-main:hover{
  background:#f7f9ff!important;
  transform:translateX(2px);
}
.program-topic-index{
  width:54px;
  min-height:38px;
  display:grid!important;
  place-items:center;
  border-radius:8px;
  background:#eef2ff;
  color:var(--brand);
  font-size:11px;
  font-weight:800;
}
.program-topic-copy{display:grid!important;gap:3px;min-width:0}
.program-topic-copy b{
  overflow-wrap:anywhere;
  color:var(--ink)!important;
  font:650 14px/1.3 "Segoe UI",Arial,sans-serif!important;
}
.program-topic-copy small{font-size:9px;color:var(--muted)}
.program-topic-main strong{
  justify-self:end;
  padding:0;
  color:var(--muted);
  font:700 12px/1 "Segoe UI",Arial,sans-serif;
  white-space:nowrap;
}
.program-topic-main>i{
  color:var(--muted);
  font-style:normal;
  font-size:22px;
  transition:transform .18s cubic-bezier(.22,1,.36,1);
}
.program-topic-main:hover>i{transform:translateX(3px)}

.bank-toolbar{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:end;
  overflow:visible;
  padding:14px;
  border-radius:14px;
  background:#f2f4f8;
}
.bank-toolbar label{position:relative;display:grid;gap:6px;min-width:0;max-width:100%}
.bank-toolbar label span{
  position:static;
  display:block;
  color:#536071;
  font-size:9px;
  line-height:1.2;
  letter-spacing:.02em;
}
.bank-toolbar select{
  width:100%;
  min-width:0;
  max-width:100%;
  height:44px;
  padding:0 34px 0 11px;
  border:0;
  border-radius:10px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(11,18,32,.12);
  color:var(--ink);
  font:650 12px/1 "Segoe UI",Arial,sans-serif;
}
.random-task{
  height:44px;
  border:0;
  border-radius:10px;
  background:var(--brand);
  color:#fff;
  transition:transform .18s cubic-bezier(.22,1,.36,1),background-color .18s ease;
}
.random-task:hover{background:#1749c9;transform:translateY(-2px)}
.variant-choice{grid-column:1/-1;max-width:none}

.variant-jump{
  margin:0 0 18px;
  padding:0 0 18px;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
}
.variant-jump>span{color:var(--muted);font-size:9px;letter-spacing:.06em}
.variant-jump .answer-map{grid-template-columns:repeat(13,minmax(0,1fr));gap:8px}
.answer-map button{
  aspect-ratio:auto;
  min-height:52px;
  border:0;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  box-shadow:inset 0 0 0 1px rgba(11,18,32,.11);
  font-size:12px;
  transition:transform .18s cubic-bezier(.22,1,.36,1),background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.answer-map button:not(.is-correct):not(.is-wrong):hover{
  transform:translateY(-3px);
  background:var(--brand);
  color:#fff;
  box-shadow:0 6px 8px rgba(79,70,229,.18);
}
.answer-map button:focus-visible{
  outline:3px solid rgba(79,70,229,.32);
  outline-offset:2px;
}
.answer-map button.is-current{outline:3px solid rgba(79,70,229,.28);outline-offset:1px}

.task-question{
  min-height:74px;
  margin:0 0 24px;
  color:var(--ink);
  font:500 20px/1.58 "Segoe UI",Arial,sans-serif;
  overflow-wrap:anywhere;
}
.task-question[hidden]{display:none!important}
.task-question p{max-width:75ch;margin:0 0 14px;line-height:1.58;text-wrap:pretty}
.task-question p:last-child{margin-bottom:0}
.task-question table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:16px 0}
.task-question td,.task-question th{padding:8px 10px;vertical-align:top}
.task-question math{font-family:"Cambria Math","Times New Roman",serif;font-size:1.05em}
.task-question .fipi-inline-image{
  display:inline-block;
  max-width:100%;
  height:auto;
  margin:2px 4px;
  vertical-align:middle;
}
.task-question .fipi-inline-image[src*="innerimg3.gif"]{
  display:block;
  width:auto;
  max-width:min(100%,620px);
  max-height:380px;
  margin:18px auto;
}
.variant-fallback.task-question{min-height:0;margin-bottom:18px;font-size:18px}

@media(max-width:1100px){
  .bank-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .variant-jump .answer-map{grid-template-columns:repeat(8,minmax(0,1fr))}
}
@media(max-width:720px){
  .program-list .program-module-row{grid-template-columns:minmax(0,1fr) 68px 34px;padding-left:14px}
  .program-title b{font-size:14px}
  .program-topic-main{grid-template-columns:48px minmax(0,1fr) 58px!important;gap:8px!important;padding:8px 10px!important}
  .program-topic-main>i{display:none}
  .program-topic-index{width:42px;min-height:34px}
  .program-topic-copy b{font-size:12px!important}
  .bank-toolbar{grid-template-columns:1fr}
  .variant-jump .answer-map{grid-template-columns:repeat(5,minmax(0,1fr))}
  .answer-map button{min-height:46px}
  .task-question{font-size:17px;line-height:1.52}
}
@media(prefers-reduced-motion:reduce){
  .program-list .program-module-row,.program-topic-main,.program-list .program-module-row>i,.program-topic-main>i,.random-task,.answer-map button{transition:none!important}
  .program-list .program-module-row:hover,.program-topic-main:hover,.random-task:hover,.answer-map button:hover{transform:none!important}
}

/* Sequential task stream and teacher group matrix */
.task-stream{display:grid;gap:18px}
.task-stream-head{
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 14px rgba(15,23,42,.06);
}
.task-stream-head span{display:block;color:var(--muted);font-size:11px;font-weight:700}
.task-stream-head h3{margin:3px 0;color:var(--ink);font:800 24px/1.15 "Segoe UI",Arial,sans-serif}
.task-stream-head p{margin:0;color:#334155;font-size:13px}
.task-stream-list{display:grid;gap:16px}
.stream-task-card{
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.stream-task-head{
  display:grid;
  grid-template-columns:130px 92px minmax(0,1fr);
  gap:10px;
  align-items:center;
  margin-bottom:14px;
  color:var(--muted);
  font-size:12px;
}
.stream-task-head b{
  justify-self:start;
  padding:7px 10px;
  border-radius:9px;
  background:#eef2ff;
  color:var(--brand);
}
.stream-task-head em{
  min-width:0;
  color:var(--ink);
  font-style:normal;
  font-weight:700;
  overflow-wrap:anywhere;
}
.stream-task-images{margin:0 0 16px}
.stream-task-card .task-bottom{justify-content:flex-start;margin-top:12px}
.empty-task-stream{
  padding:26px;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  background:#f8fafc;
  color:#334155;
}

.group-create,.group-section{margin-top:24px}
.group-list{display:grid;gap:12px}
.group-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.group-card span,.group-card small{display:block;color:var(--muted);font-size:12px}
.group-card h3{margin:3px 0 6px;color:var(--ink);font:800 20px/1.2 "Segoe UI",Arial,sans-serif}
.group-card p{margin:0 0 6px;color:#334155}
.group-card div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.group-card button,.class-results-table button{
  min-height:34px;
  border:0;
  border-radius:9px;
  padding:0 12px;
  background:#eef2ff;
  color:var(--brand);
  font-weight:750;
  cursor:pointer;
}
.group-card button:hover,.class-results-table button:hover{background:var(--brand);color:#fff}
.class-toolbar{
  display:grid;
  grid-template-columns:repeat(6,minmax(140px,1fr));
  gap:12px;
  align-items:end;
}
.class-toolbar label{display:grid;gap:6px;min-width:0}
.class-toolbar label span{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.04em}
.class-toolbar input,.class-toolbar select{
  width:100%;
  min-width:0;
  height:42px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:0 11px;
  background:#fff;
  color:var(--ink);
}
#classSummary{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}
#classSummary span{
  padding:8px 10px;
  border-radius:9px;
  background:#f1f5f9;
  color:#334155;
  font-size:12px;
}
.heat-results-wrap{
  max-height:72vh;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:12px;
}
.heat-results-table{
  min-width:1180px;
  border-collapse:separate;
  border-spacing:0;
}
.heat-results-table th{
  position:sticky;
  top:0;
  z-index:3;
  background:#f8fafc;
  color:#0f172a;
  border-bottom:1px solid var(--line);
}
.heat-results-table thead tr:nth-child(2) th{top:42px}
.heat-results-table th:first-child,
.heat-results-table td.student-sticky{
  position:sticky;
  left:0;
  z-index:4;
  background:#fff;
  box-shadow:1px 0 0 var(--line);
}
.heat-results-table th:nth-child(2),
.heat-results-table td.score-cell{
  position:sticky;
  left:220px;
  z-index:4;
  background:#fff;
  box-shadow:1px 0 0 var(--line);
}
.heat-results-table td.student-sticky{min-width:220px}
.heat-results-table td.score-cell,.heat-results-table th:nth-child(2){min-width:120px}
.type-head{min-width:138px;max-width:180px;vertical-align:bottom}
.type-head span{
  display:block;
  max-width:160px;
  white-space:normal;
  overflow-wrap:anywhere;
  font-size:11px;
  line-height:1.2;
}
.type-head small{display:block;margin-top:4px;color:var(--muted)}
.heat-cell button{
  width:100%;
  min-width:88px;
  display:grid;
  gap:2px;
  place-items:center;
  background:transparent;
  color:#0f172a;
}
.heat-cell.is-strong{background:#bbf7d0}
.heat-cell.is-mid{background:#dcfce7}
.heat-cell.is-weak{background:#fee2e2}
.heat-cell.is-empty{background:#f8fafc;color:#64748b}
.heat-cell em{font-style:normal;color:#b91c1c;font-size:10px}
.class-results-table tr.is-best td.student-sticky{box-shadow:inset 4px 0 0 #22c55e,1px 0 0 var(--line)}
.class-results-table tr.is-worst td.student-sticky{box-shadow:inset 4px 0 0 #ef4444,1px 0 0 var(--line)}

@media(max-width:900px){
  .task-stream-head{position:static;display:grid}
  .stream-task-head{grid-template-columns:1fr;gap:6px}
  .class-toolbar{grid-template-columns:1fr 1fr}
  .group-card{grid-template-columns:1fr}
  .group-card div:last-child{justify-content:flex-start}
}
@media(max-width:640px){
  .class-toolbar{grid-template-columns:1fr}
  .stream-task-card{padding:14px}
  .task-stream-head h3{font-size:20px}
}

/* Teacher dashboard redesign */
.teacher-dashboard-page{
  --teacher-bg:#f6f5f2;
  --teacher-surface:#ffffff;
  --teacher-soft:#fafafa;
  --teacher-line:#e7e5df;
  --teacher-text:#111827;
  --teacher-muted:#6b7280;
  --teacher-muted-2:#9ca3af;
  --teacher-accent:#111827;
  --teacher-green:#16a34a;
  --teacher-green-soft:#ecfdf3;
  --teacher-orange:#d97706;
  --teacher-orange-soft:#fff7ed;
  --teacher-red:#dc2626;
  --teacher-red-soft:#fef2f2;
  --teacher-blue:#2563eb;
  --teacher-radius:20px;
  --teacher-shadow:0 18px 48px rgba(17,24,39,.06);
  margin:0;
  background:var(--teacher-bg);
  color:var(--teacher-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden;
}
.teacher-dashboard-page *{box-sizing:border-box}
.teacher-dashboard-page button,
.teacher-dashboard-page input,
.teacher-dashboard-page select{font:inherit}
.teacher-app-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:252px minmax(0,1fr);
}
.teacher-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  display:flex;
  flex-direction:column;
  gap:20px;
  padding:22px 16px;
  background:rgba(255,255,255,.86);
  border-right:1px solid var(--teacher-line);
  backdrop-filter:blur(16px);
  z-index:30;
}
.teacher-sidebar-brand{
  min-height:46px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--teacher-text);
  text-decoration:none;
  letter-spacing:-.04em;
}
.teacher-sidebar-brand b{font-size:20px}
.brand-orbit{
  width:42px;
  height:42px;
  position:relative;
  display:inline-grid;
  place-items:center;
  border:1px solid var(--teacher-line);
  border-radius:14px;
  background:#fff;
}
.brand-orbit i{
  position:absolute;
  width:17px;
  height:17px;
  border-radius:50%;
  opacity:.92;
}
.brand-orbit i:nth-child(1){background:#111827;left:9px;top:8px}
.brand-orbit i:nth-child(2){background:#f7c948;right:8px;top:13px}
.brand-orbit i:nth-child(3){background:#16a34a;left:15px;bottom:7px}
.sidebar-collapse{
  position:absolute;
  right:-13px;
  top:78px;
  width:26px;
  height:26px;
  border:1px solid var(--teacher-line);
  border-radius:999px;
  background:#fff;
  color:var(--teacher-muted);
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.sidebar-collapse:hover{background:#111827;color:#fff}
.teacher-nav{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.teacher-nav a{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  color:var(--teacher-muted);
  text-decoration:none;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.teacher-nav a:hover{
  background:#f3f4f6;
  color:var(--teacher-text);
  transform:translateX(2px);
}
.teacher-nav a.is-active{
  background:#111827;
  color:#fff;
}
.teacher-nav span{
  width:22px;
  display:grid;
  place-items:center;
  font-size:17px;
}
.teacher-nav b{
  font-size:14px;
  font-weight:700;
}
.teacher-sidebar-foot{
  margin-top:auto;
  padding:14px;
  border:1px solid var(--teacher-line);
  border-radius:18px;
  background:#fafafa;
  display:grid;
  gap:4px;
}
.teacher-sidebar-foot span{
  color:var(--teacher-muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.teacher-sidebar-foot b{font-size:14px}
.teacher-sidebar-collapsed .teacher-app-shell{grid-template-columns:92px minmax(0,1fr)}
.teacher-sidebar-collapsed .teacher-sidebar{padding-inline:14px}
.teacher-sidebar-collapsed .teacher-sidebar-brand b,
.teacher-sidebar-collapsed .teacher-nav b,
.teacher-sidebar-collapsed .teacher-sidebar-foot{display:none}
.teacher-sidebar-collapsed .teacher-nav a{justify-content:center}
.teacher-sidebar-collapsed .sidebar-collapse{transform:rotate(180deg)}
.teacher-main{
  width:100%;
  max-width:none;
  margin:0;
  padding:28px clamp(18px,3vw,42px) 80px;
}
.teacher-topbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  align-items:center;
  gap:18px;
  margin-bottom:18px;
}
.mobile-menu-button{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--teacher-line);
  border-radius:14px;
  background:#fff;
}
.teacher-greeting span{
  display:block;
  color:var(--teacher-muted);
  font-size:13px;
  text-transform:capitalize;
}
.teacher-greeting h1{
  margin:3px 0;
  font-size:clamp(26px,3vw,38px);
  line-height:1;
  letter-spacing:-.055em;
  font-weight:850;
  color:var(--teacher-text);
  text-shadow:none!important;
}
.teacher-greeting p{
  margin:0;
  color:var(--teacher-muted);
}
.teacher-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.teacher-search{
  width:min(360px,28vw);
  height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border:1px solid var(--teacher-line);
  border-radius:999px;
  background:#fff;
  color:var(--teacher-muted);
}
.teacher-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:var(--teacher-text);
}
.icon-action,
.quick-add-button,
.teacher-avatar{
  width:44px;
  height:44px;
  border:1px solid var(--teacher-line);
  border-radius:50%;
  background:#fff;
  color:var(--teacher-text);
  display:grid;
  place-items:center;
}
.icon-action{
  position:relative;
  cursor:pointer;
}
.icon-action em{
  position:absolute;
  right:9px;
  top:9px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--teacher-red);
}
.quick-add{position:relative}
.quick-add-button{
  border-color:#111827;
  background:#111827;
  color:#fff;
  cursor:pointer;
  transition:transform .18s ease;
}
.quick-add-button:hover{transform:translateY(-1px)}
.quick-add-menu{
  position:absolute;
  right:0;
  top:52px;
  width:260px;
  padding:8px;
  border:1px solid var(--teacher-line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--teacher-shadow);
  z-index:50;
}
.quick-add-menu button,
.quick-add-menu a{
  width:100%;
  display:block;
  padding:11px 12px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:var(--teacher-text);
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.quick-add-menu button:hover,
.quick-add-menu a:hover{background:#f3f4f6}
.teacher-avatar{
  background:#fff7ed;
  border-color:#fed7aa;
  font-weight:800;
}
.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.dash-card{
  min-width:0;
  padding:20px;
  border:1px solid var(--teacher-line);
  border-radius:var(--teacher-radius);
  background:var(--teacher-surface);
  box-shadow:0 1px 0 rgba(17,24,39,.03);
}
.dash-card:hover{box-shadow:var(--teacher-shadow)}
.schedule-card{grid-column:span 7}
.finance-card{grid-column:span 5}
.courses-card,
.people-card,
.attention-card{grid-column:span 4}
.stats-card{grid-column:span 12}
.dash-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.dash-card-head span,
.kicker{
  color:var(--teacher-muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.dash-card-head h2{
  margin:4px 0 0;
  color:var(--teacher-text);
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.dash-card-head p{
  margin:4px 0 0;
  color:var(--teacher-muted);
  font-size:13px;
}
.segmented-control,
.course-filters,
.people-tabs,
.pill-filter,
.tabs-line,
.stats-filters{
  display:inline-flex;
  gap:4px;
  padding:4px;
  border:1px solid var(--teacher-line);
  border-radius:999px;
  background:#f8fafc;
}
.segmented-control button,
.course-filters button,
.people-tabs button,
.pill-filter button,
.tabs-line button,
.stats-filters button{
  border:0;
  border-radius:999px;
  padding:7px 12px;
  background:transparent;
  color:var(--teacher-muted);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.segmented-control button.is-active,
.course-filters button.is-active,
.people-tabs button.is-active,
.pill-filter button.is-active,
.tabs-line button.is-active,
.stats-filters button.is-active{
  background:#111827;
  color:#fff;
}
.week-strip{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:8px;
  margin-bottom:16px;
}
.week-strip button{
  min-height:70px;
  display:grid;
  place-items:center;
  gap:2px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#fff;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.week-strip button:hover{transform:translateY(-2px);border-color:#111827}
.week-strip button.is-active{background:#111827;color:#fff}
.week-strip span{font-size:12px;color:inherit;opacity:.74;text-transform:capitalize}
.week-strip b{font-size:18px}
.week-strip i{
  min-height:14px;
  color:var(--teacher-green);
  font-size:11px;
  font-style:normal;
  font-weight:800;
}
.lesson-agenda{
  display:grid;
  gap:10px;
}
.lesson-row{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto 36px;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#fff;
  transition:transform .18s ease,border-color .18s ease;
}
.lesson-row:hover,
.lesson-row:focus-within{
  transform:translateY(-1px);
  border-color:#111827;
}
.lesson-row time{
  display:grid;
  gap:2px;
  color:var(--teacher-text);
  font-weight:800;
}
.lesson-row time small,
.lesson-row p{
  margin:0;
  color:var(--teacher-muted);
  font-size:12px;
  font-weight:500;
}
.lesson-row h3{
  margin:0 0 3px;
  font-size:15px;
  letter-spacing:-.015em;
}
.status-badge{
  padding:6px 10px;
  border-radius:999px;
  background:var(--teacher-green-soft);
  color:#15803d;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.row-arrow{
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f3f4f6;
  cursor:pointer;
}
.dash-card-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
}
.quiet-button,
.dark-pill{
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.quiet-button{
  border:1px solid var(--teacher-line);
  background:#fff;
  color:var(--teacher-text);
}
.quiet-button.compact{
  min-height:38px;
  padding-inline:14px;
  font-size:14px;
}
.dark-pill{
  border:1px solid #111827;
  background:#111827;
  color:#fff;
}
.finance-metrics{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.finance-metric{
  min-height:86px;
  padding:14px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#fff;
  display:grid;
  align-content:center;
  gap:7px;
}
.finance-metric span{color:var(--teacher-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.finance-metric b{font-size:22px;letter-spacing:-.04em}
.finance-metric.good b{color:var(--teacher-green)}
.finance-metric.bad b{color:var(--teacher-red)}
.income-chart{
  height:132px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  margin:16px 0;
  padding:14px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fafafa);
}
.income-chart i,
.homework-bar-chart i{
  flex:1;
  min-height:12px;
  border-radius:999px 999px 4px 4px;
  background:#111827;
}
.payment-list{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.payment-list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:10px;
  align-items:center;
  padding:10px 0;
  border-top:1px solid #f1f5f9;
}
.payment-list span{font-weight:700}
.payment-list b{white-space:nowrap}
.payment-list em{
  padding:5px 8px;
  border-radius:999px;
  background:#f3f4f6;
  color:var(--teacher-muted);
  font-size:12px;
  font-style:normal;
  font-weight:800;
}
.payment-list li.good em{background:var(--teacher-green-soft);color:#15803d}
.payment-list li.bad em{background:var(--teacher-red-soft);color:#b91c1c}
.course-mini-list,
.course-dashboard-list,
.people-list,
.attention-list{
  display:grid;
  gap:10px;
}
.course-mini-card,
.person-row,
.attention-item{
  width:100%;
  display:grid;
  align-items:center;
  gap:9px;
  padding:14px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#fff;
  color:var(--teacher-text);
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.course-mini-card:hover,
.person-row:hover,
.attention-item:hover{
  transform:translateY(-2px);
  border-color:#111827;
}
.course-mini-card{
  grid-template-columns:minmax(0,1fr) auto;
}
.course-mini-card span{
  color:var(--teacher-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.course-mini-card h3{
  margin:2px 0 0;
  font-size:15px;
}
.course-mini-card b{font-size:24px}
.course-mini-card p{
  grid-column:1/-1;
  margin:0;
  color:var(--teacher-muted);
  font-size:13px;
}
.course-mini-card i{
  grid-column:1/-1;
  height:7px;
  border-radius:999px;
  background:#eef2f7;
  overflow:hidden;
}
.course-mini-card em{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--teacher-green);
}
.people-summary{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-bottom:12px;
}
.people-summary div{
  padding:12px;
  border:1px solid var(--teacher-line);
  border-radius:14px;
  background:#fff;
}
.people-summary b{display:block;font-size:21px}
.people-summary span{color:var(--teacher-muted);font-size:12px}
.person-row{
  grid-template-columns:minmax(0,1fr) auto auto;
  text-align:left;
}
.person-row span{font-weight:800}
.person-row b{font-size:18px}
.person-row i{color:var(--teacher-muted);font-style:normal;font-size:12px}
.attention-count{
  min-width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-weight:900;
}
.attention-item{
  grid-template-columns:10px minmax(0,1fr) auto;
  text-align:left;
}
.attention-item > span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--teacher-orange);
}
.attention-item.bad > span{background:var(--teacher-red)}
.attention-item b{display:block;font-size:14px}
.attention-item p{margin:3px 0 0;color:var(--teacher-muted);font-size:12px}
.attention-item em{color:var(--teacher-muted);font-style:normal;font-weight:800;font-size:12px}
.stats-card{
  display:grid;
  gap:16px;
  grid-template-columns:minmax(0,1fr)!important;
}
.teacher-dashboard-page .dash-card > *{min-width:0}
.teacher-dashboard-page .stats-head{
  grid-template-columns:minmax(0,1fr)!important;
}
.teacher-dashboard-page .stats-head > *,
.teacher-dashboard-page .stats-head h2,
.teacher-dashboard-page .stats-filters{
  width:auto!important;
  max-width:100%;
  min-width:0;
}
.teacher-dashboard-page .stats-filters{
  flex-wrap:wrap;
  overflow:hidden;
}
.stats-metric-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.stats-metric-row div{
  padding:15px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#fff;
}
.stats-metric-row span{display:block;color:var(--teacher-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.stats-metric-row b{display:block;margin:5px 0;font-size:28px;letter-spacing:-.05em}
.stats-metric-row small{color:var(--teacher-muted)}
.stats-visuals,
.stats-visual-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:12px;
}
.stats-panel,
.line-chart-card,
.bar-chart-card,
.level-card{
  min-height:220px;
  padding:16px;
  border:1px solid var(--teacher-line);
  border-radius:18px;
  background:#fff;
  min-width:0;
}
.stats-panel h3,
.mini-chart-title b{
  margin:0 0 12px;
  font-size:15px;
}
.mini-chart-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.mini-chart-title span{
  color:var(--teacher-muted);
  font-size:12px;
  text-align:right;
}
.progress-line-chart{
  color:#111827;
}
.progress-line-chart svg{width:100%;height:168px}
.progress-line-chart circle{fill:#fff;stroke:#111827;stroke-width:3}
.progress-line-chart text{fill:var(--teacher-muted);font-size:18px;font-weight:800;text-anchor:middle}
.homework-bar-chart{
  height:160px;
  display:flex;
  align-items:flex-end;
  gap:10px;
}
.homework-bar-chart i{
  position:relative;
  background:#16a34a;
}
.homework-bar-chart span{
  position:absolute;
  left:50%;
  top:-22px;
  transform:translateX(-50%);
  color:var(--teacher-muted);
  font-size:11px;
  font-style:normal;
  font-weight:800;
}
.level-breakdown{
  display:grid;
  gap:10px;
}
.level-breakdown div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px;
  border-radius:14px;
  background:#f8fafc;
}
.level-breakdown .good{background:var(--teacher-green-soft)}
.level-breakdown .wait{background:var(--teacher-orange-soft)}
.level-breakdown .bad{background:var(--teacher-red-soft)}
.level-breakdown b{font-size:24px}
.level-breakdown span{color:var(--teacher-muted);font-weight:800}
.stats-insight{
  margin:0;
  padding:14px 16px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#fafafa;
  color:var(--teacher-muted);
}
.dashboard-empty{
  padding:18px;
  border:1px dashed var(--teacher-line);
  border-radius:16px;
  color:var(--teacher-muted);
  background:#fff;
}
.management-workbench{
  margin-top:18px;
  display:grid;
  gap:16px;
}
.teacher-dashboard-page .student-create,
.teacher-dashboard-page .groups-section,
.teacher-dashboard-page .parents-section,
.teacher-dashboard-page .students-section,
.teacher-dashboard-page .deployment-note{
  border:1px solid var(--teacher-line);
  border-radius:var(--teacher-radius);
  background:#fff;
  box-shadow:0 1px 0 rgba(17,24,39,.03);
}
.teacher-dashboard-page .section-heading{
  align-items:flex-start;
}
.teacher-dashboard-page .student-base-fields,
.teacher-dashboard-page .class-toolbar{
  gap:12px;
}
.teacher-dashboard-page input,
.teacher-dashboard-page select{
  border-color:var(--teacher-line);
  border-radius:14px;
}
.teacher-dashboard-page .button-primary{
  border-radius:999px;
  background:#111827;
  color:#fff;
}
.dashboard-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  max-width:min(420px,calc(100vw - 32px));
  padding:14px 16px;
  border:1px solid var(--teacher-line);
  border-radius:16px;
  background:#111827;
  color:#fff;
  box-shadow:var(--teacher-shadow);
  z-index:100;
}
.teacher-dashboard-page :focus-visible{
  outline:3px solid rgba(37,99,235,.28);
  outline-offset:2px;
}

@media(max-width:1180px){
  .teacher-app-shell{grid-template-columns:220px minmax(0,1fr)}
  .schedule-card,
  .finance-card,
  .courses-card,
  .people-card,
  .attention-card{grid-column:span 6}
  .stats-visuals,.stats-visual-grid{grid-template-columns:1fr}
  .teacher-search{width:260px}
}
@media(max-width:900px){
  .teacher-app-shell{grid-template-columns:1fr}
  .teacher-sidebar{
    position:fixed;
    left:0;
    top:0;
    width:min(300px,86vw);
    transform:translateX(calc(-100% - 24px));
    transition:transform .2s ease;
    box-shadow:var(--teacher-shadow);
  }
  .teacher-sidebar-open .teacher-sidebar{transform:translateX(0)}
  .mobile-menu-button{display:grid;place-items:center}
  .teacher-topbar{grid-template-columns:1fr}
  .teacher-greeting{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center}
  .teacher-greeting h1,.teacher-greeting p{grid-column:1/-1}
  .teacher-actions{justify-content:flex-start;flex-wrap:wrap}
  .teacher-search{width:min(100%,420px)}
}
@media(max-width:760px){
  .teacher-main{padding:18px 12px 54px}
  .schedule-card,
  .finance-card,
  .courses-card,
  .people-card,
  .attention-card,
  .stats-card{grid-column:1/-1}
  .dash-card{padding:16px;border-radius:18px}
  .dash-card-head{display:grid}
  .week-strip{grid-template-columns:repeat(4,1fr)}
  .lesson-row{grid-template-columns:1fr auto}
  .lesson-row time{grid-column:1/-1}
  .status-badge{justify-self:start}
  .finance-metrics,
  .people-summary,
  .stats-metric-row{grid-template-columns:1fr 1fr}
  .payment-list li{grid-template-columns:1fr auto}
  .payment-list em{grid-column:1/-1;justify-self:start}
}
@media(max-width:520px){
  .teacher-actions{display:grid;grid-template-columns:1fr auto auto auto;width:100%}
  .teacher-search{grid-column:1/-1;width:100%}
  .week-strip{grid-template-columns:repeat(2,1fr)}
  .finance-metrics,
  .people-summary,
  .stats-metric-row{grid-template-columns:1fr}
  .person-row,
  .attention-item{grid-template-columns:1fr}
  .attention-item > span{display:none}
}
@media(prefers-reduced-motion:reduce){
  .teacher-dashboard-page *,
  .teacher-dashboard-page *::before,
  .teacher-dashboard-page *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}

/* Teacher dashboard v2: calmer product cockpit */
.teacher-dashboard-page{
  --teacher-bg:#f4f5f7;
  --teacher-surface:#ffffff;
  --teacher-soft:#f8f9fb;
  --teacher-line:#e3e6eb;
  --teacher-text:#111827;
  --teacher-muted:#5f6878;
  --teacher-muted-2:#8b95a5;
  --teacher-accent:#4f46e5;
  --teacher-accent-soft:#eef2ff;
  --teacher-green:#159947;
  --teacher-green-soft:#eaf8ef;
  --teacher-orange:#b76a05;
  --teacher-orange-soft:#fff7e8;
  --teacher-red:#d92d20;
  --teacher-red-soft:#fff1f0;
  --teacher-sidebar:#0d1320;
  --teacher-sidebar-2:#151c2b;
  --teacher-radius:14px;
  --teacher-shadow:none;
  background:var(--teacher-bg);
  font-size:14px;
}
.teacher-app-shell{
  grid-template-columns:236px minmax(0,1fr);
}
.teacher-sidebar{
  background:var(--teacher-sidebar);
  border-right:0;
  color:#d9dee9;
  padding:18px 12px;
}
.teacher-sidebar-brand{
  color:#fff;
  padding:0 8px 10px;
}
.teacher-sidebar-brand b{
  font-size:17px;
  letter-spacing:-.02em;
}
.brand-orbit{
  width:34px;
  height:34px;
  border-color:rgba(255,255,255,.12);
  background:var(--teacher-sidebar-2);
  border-radius:10px;
}
.brand-orbit i{width:14px;height:14px}
.brand-orbit i:nth-child(1){left:7px;top:7px;background:#f8fafc}
.brand-orbit i:nth-child(2){right:6px;top:11px;background:#facc15}
.brand-orbit i:nth-child(3){left:12px;bottom:6px;background:#22c55e}
.teacher-nav{gap:3px}
.teacher-nav a{
  min-height:38px;
  border-radius:10px;
  color:#aeb7c7;
  padding:9px 10px;
}
.teacher-nav a:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
  transform:none;
}
.teacher-nav a.is-active{
  background:#fff;
  color:#0d1320;
}
.teacher-nav span{
  width:20px;
  font-size:14px;
  opacity:.9;
}
.teacher-nav b{
  font-size:13px;
  font-weight:650;
}
.sidebar-collapse{
  background:#fff;
  color:#0d1320;
  border:0;
  box-shadow:0 2px 8px rgba(15,23,42,.12);
}
.teacher-sidebar-foot{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius:12px;
}
.teacher-sidebar-foot span{color:#8f99ac}
.teacher-sidebar-foot b{color:#fff}
.teacher-sidebar-collapsed .teacher-app-shell{grid-template-columns:76px minmax(0,1fr)}
.teacher-main{
  padding:24px clamp(20px,3vw,36px) 72px;
}
.teacher-topbar{
  grid-template-columns:minmax(280px,1fr) minmax(360px,auto);
  margin-bottom:14px;
}
.teacher-greeting span{
  font-size:13px;
  color:#667085;
}
.teacher-greeting h1{
  margin:5px 0 2px;
  font-size:30px;
  line-height:1.12;
  letter-spacing:-.03em;
  font-weight:760;
}
.teacher-greeting p{
  color:#667085;
  font-size:14px;
}
.teacher-search{
  width:360px;
  height:40px;
  border-radius:10px;
  background:#fff;
}
.icon-action,
.quick-add-button,
.teacher-avatar{
  width:40px;
  height:40px;
  border-radius:10px;
}
.quick-add-button{
  background:var(--teacher-accent);
  border-color:var(--teacher-accent);
}
.teacher-avatar{
  background:#fff;
  border-color:#f0d19a;
}
.overview-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin:0 0 14px;
}
.overview-card{
  min-height:86px;
  padding:14px;
  border:1px solid var(--teacher-line);
  border-radius:14px;
  background:#fff;
  display:grid;
  align-content:center;
  gap:3px;
}
.overview-card span{
  color:#667085;
  font-size:12px;
  font-weight:650;
}
.overview-card b{
  color:#111827;
  font-size:24px;
  line-height:1.1;
  letter-spacing:-.035em;
}
.overview-card small{
  color:#7b8494;
  font-size:12px;
}
.overview-card.dark{
  background:#111827;
  border-color:#111827;
}
.overview-card.dark span,
.overview-card.dark small{color:#b8c0ce}
.overview-card.dark b{color:#fff}
.overview-card.good{background:var(--teacher-green-soft)}
.overview-card.good b{color:var(--teacher-green)}
.overview-card.wait{background:var(--teacher-orange-soft)}
.overview-card.wait b{color:var(--teacher-orange)}
.overview-card.bad{background:var(--teacher-red-soft)}
.overview-card.bad b{color:var(--teacher-red)}
.dashboard-grid{
  gap:12px;
}
.dash-card{
  padding:18px;
  border-radius:14px;
  border-color:var(--teacher-line);
  box-shadow:none!important;
}
.dash-card:hover{
  border-color:#d5dae3;
  box-shadow:none;
}
.schedule-card{grid-column:span 7}
.finance-card{grid-column:span 5}
.courses-card,
.people-card,
.attention-card{grid-column:span 4}
.dash-card-head{
  margin-bottom:14px;
}
.dash-card-head span,
.kicker{
  color:#667085;
  font-size:12px;
  letter-spacing:0;
  text-transform:none;
  font-weight:700;
}
.dash-card-head h2{
  margin-top:3px;
  font-size:19px;
  font-weight:760;
  letter-spacing:-.025em;
}
.segmented-control,
.course-filters,
.people-tabs,
.pill-filter,
.tabs-line,
.stats-filters{
  border-radius:10px;
  background:#f3f5f8;
  border-color:#e2e6ee;
}
.segmented-control button,
.course-filters button,
.people-tabs button,
.pill-filter button,
.tabs-line button,
.stats-filters button{
  border-radius:8px;
  padding:6px 10px;
  font-size:13px;
}
.segmented-control button.is-active,
.course-filters button.is-active,
.people-tabs button.is-active,
.pill-filter button.is-active,
.tabs-line button.is-active,
.stats-filters button.is-active{
  background:#fff;
  color:#111827;
  box-shadow:0 1px 2px rgba(15,23,42,.08);
}
.stats-filters select{
  height:34px;
  border-radius:8px;
  background:#fff;
}
.week-strip{
  gap:7px;
}
.week-strip button{
  min-height:62px;
  border-radius:12px;
  background:#fbfcfd;
}
.week-strip button.is-active{
  background:var(--teacher-accent);
  border-color:var(--teacher-accent);
}
.lesson-agenda{gap:8px}
.lesson-row{
  grid-template-columns:66px minmax(0,1fr) auto 32px;
  border-radius:12px;
  padding:11px 12px;
  background:#fbfcfd;
}
.lesson-row:hover,
.lesson-row:focus-within{
  border-color:#cfd6e3;
  transform:none;
}
.lesson-row time{
  font-size:14px;
}
.lesson-row h3{
  font-size:14px;
  font-weight:760;
}
.status-badge{
  background:#edf7f1;
  color:#147c3c;
  border-radius:8px;
  padding:5px 8px;
  font-size:12px;
}
.row-arrow{
  width:30px;
  height:30px;
  border-radius:8px;
}
.quiet-button,
.dark-pill{
  min-height:38px;
  border-radius:10px;
}
.dark-pill{
  background:#111827;
  border-color:#111827;
}
.finance-metrics{
  gap:8px;
}
.finance-metric{
  min-height:74px;
  border-radius:12px;
  background:#fbfcfd;
}
.finance-metric span{
  letter-spacing:0;
  text-transform:none;
  font-size:12px;
}
.finance-metric b{
  font-size:20px;
}
.income-chart{
  height:118px;
  border-radius:12px;
  background:#fbfcfd;
  padding:12px;
}
.income-chart i,
.homework-bar-chart i{
  border-radius:5px 5px 2px 2px;
  background:var(--teacher-accent);
}
.payment-list li{
  padding:9px 0;
}
.payment-list em{
  border-radius:8px;
}
.course-mini-card,
.person-row,
.attention-item{
  border-radius:12px;
  background:#fbfcfd;
}
.course-mini-card:hover,
.person-row:hover,
.attention-item:hover{
  transform:none;
  border-color:#cfd6e3;
}
.course-mini-card span{
  color:#667085;
  letter-spacing:.02em;
}
.course-mini-card h3{
  font-size:14px;
}
.course-mini-card b{
  font-size:22px;
}
.course-mini-card i{
  height:6px;
  background:#e7ebf2;
}
.course-mini-card em{
  background:var(--teacher-accent);
}
.people-summary{
  gap:8px;
}
.people-summary div{
  border-radius:12px;
  background:#fbfcfd;
}
.people-summary b{
  font-size:20px;
}
.attention-count,
#attentionCount{
  min-width:28px;
  height:28px;
  border-radius:8px;
  background:var(--teacher-red-soft);
  color:var(--teacher-red);
  display:grid;
  place-items:center;
}
.attention-item{
  grid-template-columns:8px minmax(0,1fr) auto;
}
.stats-card{
  gap:12px;
}
.stats-metric-row{
  gap:8px;
}
.stats-metric-row div,
.line-chart-card,
.bar-chart-card,
.level-card{
  border-radius:12px;
  background:#fbfcfd;
}
.stats-metric-row b{
  font-size:24px;
}
.progress-line-chart svg{
  height:154px;
}
.stats-insight{
  border-radius:12px;
  background:#fbfcfd;
}
.teacher-dashboard-page .student-create,
.teacher-dashboard-page .groups-section,
.teacher-dashboard-page .parents-section,
.teacher-dashboard-page .students-section,
.teacher-dashboard-page .deployment-note{
  border-radius:14px;
  box-shadow:none;
}
.teacher-dashboard-page input,
.teacher-dashboard-page select{
  border-radius:10px;
}
.teacher-dashboard-page .button-primary{
  border-radius:10px;
  background:var(--teacher-accent);
}
.dashboard-toast{
  border-radius:12px;
}
@media(max-width:1180px){
  .overview-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .teacher-sidebar{
    background:var(--teacher-sidebar);
  }
  .teacher-topbar{
    grid-template-columns:1fr;
  }
  .overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .teacher-main{padding:16px 12px 48px}
  .overview-strip{grid-template-columns:1fr 1fr}
  .overview-card{min-height:78px}
  .teacher-greeting h1{font-size:25px}
}
@media(max-width:520px){
  .overview-strip{grid-template-columns:1fr}
}

.teacher-workspaces{
  display:grid;
  gap:12px;
  margin-top:12px;
}
.workspace-panel{
  padding:18px;
  border:1px solid var(--teacher-line);
  border-radius:14px;
  background:#fff;
  scroll-margin-top:18px;
}
.workspace-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.workspace-head span{
  color:#667085;
  font-size:12px;
  font-weight:700;
}
.workspace-head h2{
  margin:3px 0 4px;
  color:#111827;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.025em;
}
.workspace-head p{
  max-width:760px;
  margin:0;
  color:#667085;
  font-size:14px;
}
.workspace-grid{
  display:grid;
  gap:10px;
}
.schedule-workspace-grid,
.homework-workspace-grid,
.results-workspace-grid,
.finance-workspace-grid,
.materials-workspace-grid,
.settings-workspace-grid{
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.workspace-item{
  min-width:0;
  min-height:86px;
  display:grid;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid var(--teacher-line);
  border-radius:12px;
  background:#fbfcfd;
  color:#111827;
  text-align:left;
  text-decoration:none;
}
button.workspace-item,
.settings-workspace-grid button{
  cursor:pointer;
}
.workspace-item:hover,
.settings-workspace-grid button:hover{
  border-color:#cfd6e3;
  background:#fff;
}
.workspace-item h3{
  margin:0 0 4px;
  color:#111827;
  font-size:15px;
  line-height:1.25;
}
.workspace-item p,
.workspace-item small,
.workspace-item span{
  margin:0;
  color:#667085;
  font-size:12px;
}
.workspace-item b{
  color:#111827;
  font-size:22px;
  line-height:1.1;
  letter-spacing:-.03em;
}
.lesson-workspace-item{
  grid-template-columns:72px minmax(0,1fr) auto;
}
.workspace-time{
  display:grid;
  gap:3px;
}
.workspace-time b{
  font-size:18px;
}
.workspace-status{
  justify-self:start;
  padding:6px 8px;
  border-radius:8px;
  background:var(--teacher-green-soft);
  color:var(--teacher-green)!important;
  font-weight:700;
}
.workspace-actions{
  grid-column:1/-1;
  display:flex;
  gap:8px;
}
.workspace-actions button,
.settings-workspace-grid button{
  min-height:34px;
  padding:8px 10px;
  border:1px solid var(--teacher-line);
  border-radius:9px;
  background:#fff;
  color:#111827;
  font-weight:700;
}
.homework-workspace-item{
  grid-template-columns:minmax(0,1fr) auto;
}
.homework-workspace-item i{
  grid-column:1/-1;
  height:7px;
  border-radius:999px;
  background:#e7ebf2;
  overflow:hidden;
}
.homework-workspace-item em{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--teacher-accent);
}
.result-workspace-item{
  grid-template-columns:minmax(0,1fr) auto;
}
.result-workspace-item span{
  grid-column:1/-1;
}
.finance-total-card{
  align-content:center;
}
.finance-total-card b{
  color:var(--teacher-green);
}
.finance-total-card.bad b,
.finance-operation.bad b{
  color:var(--teacher-red);
}
.finance-operation{
  grid-template-columns:minmax(0,1fr) auto;
}
.finance-operation.good b{color:var(--teacher-green)}
.material-workspace-item,
.settings-workspace-grid button{
  grid-template-columns:minmax(0,1fr) auto;
}
.material-workspace-item.is-tool{
  background:var(--teacher-accent-soft);
  border-color:#dfe3ff;
}
.workspace-empty{
  padding:18px;
  border:1px dashed var(--teacher-line);
  border-radius:12px;
  background:#fbfcfd;
}
.workspace-empty b{
  display:block;
  margin-bottom:4px;
}
.workspace-empty span{
  color:#667085;
}
.overview-card{
  border:1px solid var(--teacher-line);
  text-align:left;
  cursor:pointer;
}
@media(max-width:760px){
  .workspace-head{
    display:grid;
  }
  .lesson-workspace-item,
  .finance-operation,
  .homework-workspace-item,
  .result-workspace-item,
  .material-workspace-item,
  .settings-workspace-grid button{
    grid-template-columns:1fr;
  }
}

/* Site-wide product shell: student, parent, catalog, courses, tasks */
body:not(.teacher-dashboard-page){
  --site-bg:#f4f5f7;
  --site-surface:#ffffff;
  --site-soft:#f8f9fb;
  --site-line:#e3e6eb;
  --site-text:#111827;
  --site-muted:#5f6878;
  --site-muted-2:#8b95a5;
  --site-accent:#4f46e5;
  --site-accent-soft:#eef2ff;
  --site-green:#159947;
  --site-green-soft:#eaf8ef;
  --site-red:#d92d20;
  --site-red-soft:#fff1f0;
  --site-sidebar:#0d1320;
  margin:0;
  background:var(--site-bg)!important;
  color:var(--site-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body:not(.teacher-dashboard-page) .page-noise,
body:not(.teacher-dashboard-page)::before,
body:not(.teacher-dashboard-page)::after{
  display:none!important;
}
body:not(.teacher-dashboard-page) a{
  color:inherit;
}
body:not(.teacher-dashboard-page) .site-header{
  width:min(100% - 28px,1240px)!important;
  height:64px!important;
  top:12px!important;
  margin:12px auto 0!important;
  padding:0 12px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  border:0!important;
  border-radius:16px!important;
  background:var(--site-sidebar)!important;
  color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body:not(.teacher-dashboard-page) .brand{
  color:#fff!important;
  font-size:18px!important;
  letter-spacing:-.02em!important;
  text-decoration:none!important;
}
body:not(.teacher-dashboard-page) .brand-mark{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:#151c2b!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#22c55e!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .main-nav{
  position:static!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:4px!important;
  width:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .main-nav a{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 12px!important;
  border-radius:10px!important;
  color:#aeb7c7!important;
  font-size:13px!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body:not(.teacher-dashboard-page) .main-nav a::after{display:none!important}
body:not(.teacher-dashboard-page) .main-nav a:hover{
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
}
body:not(.teacher-dashboard-page) .header-action,
body:not(.teacher-dashboard-page) .account-menu a,
body:not(.teacher-dashboard-page) .account-menu button{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:10px!important;
  background:var(--site-accent)!important;
  color:#fff!important;
  padding:0 14px!important;
  font-size:13px!important;
  font-weight:750!important;
  text-decoration:none!important;
  text-transform:none!important;
}
body:not(.teacher-dashboard-page) .account-menu{
  justify-self:end!important;
  color:#fff!important;
}
body:not(.teacher-dashboard-page) .site-header.has-account{
  grid-template-columns:auto minmax(0,1fr) auto!important;
}
body:not(.teacher-dashboard-page) .site-header.has-account .header-action{
  display:none!important;
}
body:not(.teacher-dashboard-page) .site-header.has-account .account-menu{
  grid-column:3!important;
  align-self:center!important;
}
body:not(.teacher-dashboard-page) .account-menu>span small{
  color:#aeb7c7!important;
  text-transform:none!important;
  font-size:11px!important;
}
body:not(.teacher-dashboard-page) .account-menu>span b{
  color:#fff!important;
  font-size:13px!important;
}
body:not(.teacher-dashboard-page) .menu-toggle{
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:10px!important;
  background:#151c2b!important;
  width:46px!important;
  height:38px!important;
  min-width:46px!important;
  padding:0!important;
  place-content:center!important;
  justify-self:end!important;
}
body:not(.teacher-dashboard-page) .menu-toggle span{
  background:#fff!important;
}
body:not(.teacher-dashboard-page) .section-shell{
  width:min(100% - 32px,1160px)!important;
}
body:not(.teacher-dashboard-page) main{
  color:var(--site-text);
}
body:not(.teacher-dashboard-page) h1,
body:not(.teacher-dashboard-page) h2,
body:not(.teacher-dashboard-page) h3,
body:not(.teacher-dashboard-page) h4{
  color:var(--site-text)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:-.03em!important;
  text-shadow:none!important;
}
body:not(.teacher-dashboard-page) h1{
  font-size:clamp(42px,6vw,72px)!important;
  line-height:1.02!important;
  font-weight:780!important;
}
body:not(.teacher-dashboard-page) h2{
  font-size:clamp(28px,3.8vw,46px)!important;
  line-height:1.08!important;
  font-weight:760!important;
}
body:not(.teacher-dashboard-page) h3{
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:750!important;
}
body:not(.teacher-dashboard-page) p{
  color:var(--site-muted);
}
body:not(.teacher-dashboard-page) .kicker,
body:not(.teacher-dashboard-page) .eyebrow,
body:not(.teacher-dashboard-page) .auth-card>span,
body:not(.teacher-dashboard-page) .student-create label span,
body:not(.teacher-dashboard-page) .auth-card label b{
  color:#667085!important;
  font-family:Inter,ui-sans-serif,system-ui!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
body:not(.teacher-dashboard-page) .eyebrow{
  display:inline-flex!important;
  gap:8px!important;
  min-height:34px!important;
  align-items:center!important;
  padding:0 10px!important;
  border:1px solid var(--site-line)!important;
  border-radius:10px!important;
  background:#fff!important;
}
body:not(.teacher-dashboard-page) .catalog-hero,
body:not(.teacher-dashboard-page) .course-hero,
body:not(.teacher-dashboard-page) .auth-shell,
body:not(.teacher-dashboard-page) .diagnostic-shell,
body:not(.teacher-dashboard-page) .parent-shell,
body:not(.teacher-dashboard-page) .task-browser-shell,
body:not(.teacher-dashboard-page) .editor-shell{
  padding-top:92px!important;
  padding-bottom:56px!important;
}
body:not(.teacher-dashboard-page) .catalog-hero,
body:not(.teacher-dashboard-page) .course-hero,
body:not(.teacher-dashboard-page) .diagnostic-intro,
body:not(.teacher-dashboard-page) .admin-heading{
  min-height:auto!important;
}
body:not(.teacher-dashboard-page) .catalog-hero h1 em,
body:not(.teacher-dashboard-page) .course-hero h1 em{
  color:var(--site-accent)!important;
  font-style:normal!important;
}
body:not(.teacher-dashboard-page) .catalog-hero h1,
body:not(.teacher-dashboard-page) .course-hero h1,
body:not(.teacher-dashboard-page) .catalog-hero h1 *,
body:not(.teacher-dashboard-page) .course-hero h1 *{
  color:#fff!important;
}
body:not(.teacher-dashboard-page) .catalog-hero h1 em,
body:not(.teacher-dashboard-page) .course-hero h1 em{
  color:#8b7cff!important;
}
body:not(.teacher-dashboard-page) .catalog-hero p,
body:not(.teacher-dashboard-page) .course-hero p,
body:not(.teacher-dashboard-page) .catalog-hero .eyebrow *,
body:not(.teacher-dashboard-page) .course-hero .eyebrow *,
body:not(.teacher-dashboard-page) .course-hero .back-link{
  color:#cbd5e1!important;
}
body:not(.teacher-dashboard-page) .catalog-hero .eyebrow,
body:not(.teacher-dashboard-page) .course-hero .eyebrow{
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(255,255,255,.14)!important;
}
body:not(.teacher-dashboard-page) .task-browser-hero h1 em,
body:not(.teacher-dashboard-page) .global-task-heading h1 em{
  color:var(--site-accent)!important;
}
body:not(.teacher-dashboard-page) .course-cover-art h2,
body:not(.teacher-dashboard-page) .course-cover-art h2 *,
body:not(.teacher-dashboard-page) .course-cover-art p,
body:not(.teacher-dashboard-page) .course-cover-art span,
body:not(.teacher-dashboard-page) .course-cover-art small{
  color:#fff!important;
}
body:not(.teacher-dashboard-page) .button,
body:not(.teacher-dashboard-page) .button-primary,
body:not(.teacher-dashboard-page) .button-dark,
body:not(.teacher-dashboard-page) .text-button,
body:not(.teacher-dashboard-page) .global-more{
  min-height:42px!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  padding:0 16px!important;
  font-family:Inter,ui-sans-serif,system-ui!important;
  font-size:14px!important;
  font-weight:750!important;
  text-transform:none!important;
  text-decoration:none!important;
}
body:not(.teacher-dashboard-page) .button-primary,
body:not(.teacher-dashboard-page) .button-dark,
body:not(.teacher-dashboard-page) .global-more{
  background:var(--site-accent)!important;
  color:#fff!important;
}
body:not(.teacher-dashboard-page) .text-link,
body:not(.teacher-dashboard-page) .text-button{
  color:var(--site-accent)!important;
  background:var(--site-accent-soft)!important;
  border:0!important;
}
body:not(.teacher-dashboard-page) .stats-band,
body:not(.teacher-dashboard-page) .course-card,
body:not(.teacher-dashboard-page) .how-grid article,
body:not(.teacher-dashboard-page) .path-grid article,
body:not(.teacher-dashboard-page) .source-section,
body:not(.teacher-dashboard-page) .source-card,
body:not(.teacher-dashboard-page) .auth-card,
body:not(.teacher-dashboard-page) .auth-current,
body:not(.teacher-dashboard-page) .local-mode-note,
body:not(.teacher-dashboard-page) .diagnostic-card,
body:not(.teacher-dashboard-page) .diagnostic-intro aside,
body:not(.teacher-dashboard-page) .diagnostic-test,
body:not(.teacher-dashboard-page) .diagnostic-review,
body:not(.teacher-dashboard-page) .diagnostic-domain-grid article,
body:not(.teacher-dashboard-page) .teacher-access-card,
body:not(.teacher-dashboard-page) .parent-child-card,
body:not(.teacher-dashboard-page) .program-summary,
body:not(.teacher-dashboard-page) .program-list article,
body:not(.teacher-dashboard-page) .program-list button,
body:not(.teacher-dashboard-page) .trainer-panel,
body:not(.teacher-dashboard-page) .audience-card,
body:not(.teacher-dashboard-page) .progress-card,
body:not(.teacher-dashboard-page) .feature-grid article,
body:not(.teacher-dashboard-page) .global-task-card,
body:not(.teacher-dashboard-page) .task-filter-panel,
body:not(.teacher-dashboard-page) .task-stream-card,
body:not(.teacher-dashboard-page) .stream-task-card,
body:not(.teacher-dashboard-page) .variant-route-card{
  border:1px solid var(--site-line)!important;
  border-radius:14px!important;
  background:var(--site-surface)!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .auth-current{
  border-radius:14px!important;
  background:var(--site-accent-soft)!important;
  color:#111827!important;
  align-items:center!important;
}
body:not(.teacher-dashboard-page) .auth-current b{
  color:#111827!important;
  font-family:Inter,ui-sans-serif,system-ui!important;
}
body:not(.teacher-dashboard-page) .auth-current button{
  border:0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111827!important;
  padding:9px 12px!important;
  font-weight:750!important;
}
body:not(.teacher-dashboard-page) .course-card{
  overflow:hidden;
}
body:not(.teacher-dashboard-page) .course-card:hover,
body:not(.teacher-dashboard-page) .program-list button:hover,
body:not(.teacher-dashboard-page) .global-task-card:hover{
  border-color:#cfd6e3!important;
  transform:none!important;
}
body:not(.teacher-dashboard-page) .course-card-cover,
body:not(.teacher-dashboard-page) .course-cover-art,
body:not(.teacher-dashboard-page) .catalog-orbit{
  border:1px solid var(--site-line)!important;
  border-radius:14px!important;
  background:#111827!important;
  color:#fff!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .course-symbol,
body:not(.teacher-dashboard-page) .orbit-center,
body:not(.teacher-dashboard-page) .orbit-card{
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:14px!important;
  background:#151c2b!important;
  color:#fff!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .mini-stats span,
body:not(.teacher-dashboard-page) .course-badges span,
body:not(.teacher-dashboard-page) .course-meta span,
body:not(.teacher-dashboard-page) .tag,
body:not(.teacher-dashboard-page) .filter-button,
body:not(.teacher-dashboard-page) .catalog-filters button{
  border:1px solid var(--site-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .catalog-filters button.is-active,
body:not(.teacher-dashboard-page) .filter-button.is-active,
body:not(.teacher-dashboard-page) .number-nav button.is-active{
  background:var(--site-accent)!important;
  border-color:var(--site-accent)!important;
  color:#fff!important;
}
body:not(.teacher-dashboard-page) input,
body:not(.teacher-dashboard-page) select,
body:not(.teacher-dashboard-page) textarea{
  min-height:42px!important;
  border:1px solid var(--site-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .number-nav button,
body:not(.teacher-dashboard-page) .practical-type-toggle,
body:not(.teacher-dashboard-page) .program-topics button{
  border:1px solid var(--site-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body:not(.teacher-dashboard-page) .number-nav button:hover:not(:disabled),
body:not(.teacher-dashboard-page) .practical-type-toggle:hover,
body:not(.teacher-dashboard-page) .program-topics button:hover{
  border-color:#cfd6e3!important;
  transform:none!important;
}
body:not(.teacher-dashboard-page) .trainer-panel,
body:not(.teacher-dashboard-page) .task-card,
body:not(.teacher-dashboard-page) .stream-task-card{
  color:#111827!important;
}
body:not(.teacher-dashboard-page) .trainer-panel img,
body:not(.teacher-dashboard-page) .task-image img,
body:not(.teacher-dashboard-page) .diagnostic-image img,
body:not(.teacher-dashboard-page) .stream-task-image img{
  border-radius:12px!important;
}
body:not(.teacher-dashboard-page) footer{
  border-top:1px solid var(--site-line)!important;
  background:#fff!important;
  color:#111827!important;
}
body:not(.teacher-dashboard-page) .brand-footer{
  color:#111827!important;
}
@media(max-width:900px){
  html,
  body:not(.teacher-dashboard-page){
    overflow-x:hidden!important;
  }
  body:not(.teacher-dashboard-page) .site-header{
    position:fixed!important;
    width:auto!important;
    max-width:none!important;
    left:10px!important;
    right:10px!important;
    height:60px!important;
    top:8px!important;
    margin:8px 0 0!important;
    grid-template-columns:1fr auto!important;
  }
  body:not(.teacher-dashboard-page) .site-header .menu-toggle{
    display:grid!important;
    position:absolute!important;
    right:10px!important;
    top:11px!important;
  }
  body:not(.teacher-dashboard-page) .main-nav{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:66px!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:10px!important;
    border-radius:14px!important;
    background:var(--site-sidebar)!important;
  }
  body:not(.teacher-dashboard-page) .main-nav.is-open{display:flex!important}
  body:not(.teacher-dashboard-page) .main-nav a{
    justify-content:flex-start!important;
  }
  body:not(.teacher-dashboard-page) .catalog-hero,
  body:not(.teacher-dashboard-page) .course-hero,
  body:not(.teacher-dashboard-page) .auth-shell,
  body:not(.teacher-dashboard-page) .diagnostic-shell,
  body:not(.teacher-dashboard-page) .parent-shell,
  body:not(.teacher-dashboard-page) .task-browser-shell,
  body:not(.teacher-dashboard-page) .editor-shell{
    padding-top:126px!important;
  }
}
@media(max-width:640px){
  body:not(.teacher-dashboard-page) h1{
    font-size:38px!important;
  }
  body:not(.teacher-dashboard-page) h2{
    font-size:28px!important;
  }
  body:not(.teacher-dashboard-page) .section-shell{
    width:min(100% - 24px,1160px)!important;
  }
  body:not(.teacher-dashboard-page) .header-action{
    display:none!important;
  }
}
@media(max-width:900px){
  body:not(.teacher-dashboard-page) .site-header:not(:has(.menu-toggle)){
    height:auto!important;
    min-height:60px!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    padding:10px!important;
    align-items:center!important;
  }
  body:not(.teacher-dashboard-page) .site-header:not(:has(.menu-toggle)) .brand{
    justify-self:start!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  body:not(.teacher-dashboard-page) .site-header:not(:has(.menu-toggle)) .main-nav{
    grid-column:1 / -1!important;
    grid-row:2!important;
    position:static!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin-top:6px!important;
    padding:0!important;
    background:transparent!important;
  }
  body:not(.teacher-dashboard-page) .site-header:not(:has(.menu-toggle)) .header-action{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
  }
  body:not(.teacher-dashboard-page) .site-header:not(:has(.menu-toggle)) .account-menu{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
  }
}
@media(max-width:640px){
  body:not(.teacher-dashboard-page) .site-header .header-action{
    display:none!important;
  }
  body:not(.teacher-dashboard-page) .site-header.has-account .account-menu{
    display:none!important;
  }
  body:not(.teacher-dashboard-page) .site-header.has-account:not(:has(.menu-toggle)) .account-menu{
    gap:6px!important;
  }
  body:not(.teacher-dashboard-page) .site-header.has-account .account-menu button[data-auth-logout]{
    display:none!important;
  }
  body:not(.teacher-dashboard-page) .site-header.has-account .account-menu .account-primary{
    width:36px!important;
    min-width:36px!important;
    padding:0!important;
    font-size:0!important;
    overflow:hidden!important;
  }
  body:not(.teacher-dashboard-page) .site-header.has-account .account-menu .account-primary::before{
    content:"↗";
    font-size:16px!important;
    line-height:1!important;
  }
  body:not(.teacher-dashboard-page) .site-header.has-account:not(:has(.menu-toggle)) .account-menu a,
  body:not(.teacher-dashboard-page) .site-header.has-account:not(:has(.menu-toggle)) .account-menu button{
    min-height:34px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
  body:not(.teacher-dashboard-page) .site-header:not(:has(.menu-toggle)) .main-nav a{
    min-height:32px!important;
    padding:0 9px!important;
    font-size:12px!important;
  }
}
@media(max-width:900px){
  body:not(.teacher-dashboard-page) .site-header:has(.menu-toggle){
    height:auto!important;
    min-height:60px!important;
    grid-template-columns:1fr!important;
    padding:10px!important;
  }
  body:not(.teacher-dashboard-page) .site-header:has(.menu-toggle) .menu-toggle{
    display:none!important;
  }
  body:not(.teacher-dashboard-page) .site-header:has(.menu-toggle) .brand{
    grid-column:1!important;
    grid-row:1!important;
  }
  body:not(.teacher-dashboard-page) .site-header:has(.menu-toggle) .main-nav{
    grid-column:1!important;
    grid-row:2!important;
    position:static!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin-top:6px!important;
    padding:0!important;
    background:transparent!important;
  }
  body:not(.teacher-dashboard-page) .site-header:has(.menu-toggle) .main-nav a{
    min-height:32px!important;
    padding:0 9px!important;
    font-size:12px!important;
  }
  body:not(.teacher-dashboard-page) .site-header:has(.menu-toggle) .main-nav a:nth-child(n+4){
    display:none!important;
  }
}

/* Student app home v1 */
body.student-app-page{
  --student-bg:#f4f3f0;
  --student-panel:#ffffff;
  --student-ink:#0c1324;
  --student-muted:#667085;
  --student-line:#e3e1dc;
  --student-soft:#f8f7f4;
  --student-accent:#101828;
  --student-green:#19b36b;
  --student-purple:#635bff;
  --student-yellow:#ffd166;
  margin:0!important;
  min-height:100vh!important;
  overflow:auto;
  background:var(--student-bg)!important;
  color:var(--student-ink)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.student-app-page *{box-sizing:border-box}
body.student-app-page a{text-decoration:none;color:inherit}
body.student-app-page button,
body.student-app-page input{
  font:inherit;
}
.student-app-shell{
  height:100dvh;
  display:grid;
  grid-template-columns:174px minmax(0,1fr);
}
.student-sidebar{
  min-height:0;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:24px;
  padding:18px 12px;
  border-right:1px solid var(--student-line);
  background:#fbfaf8;
}
.student-logo{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:36px;
  font-weight:850;
  letter-spacing:-.03em;
}
.student-logo-mark{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid var(--student-line);
  border-radius:999px;
  background:#fff;
}
.student-logo-mark i{
  width:16px;
  height:16px;
  border-radius:999px;
  background:linear-gradient(135deg,#111827 0 42%,#33c770 43% 100%);
}
.student-menu{
  display:grid;
  align-content:start;
  gap:7px;
}
.student-menu a,
.student-menu button{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:12px;
  border:0;
  border-radius:10px;
  padding:0 12px;
  background:transparent;
  color:#6c7280;
  font-size:13px;
  font-weight:760;
  text-align:left;
  cursor:pointer;
}
.student-menu a:hover,
.student-menu button:hover{
  background:#f0efec;
  color:var(--student-ink);
}

html.student-booting body.student-app-page .student-workspace{
  opacity:0;
}

body.student-app-page .student-workspace{
  transition:opacity 120ms ease;
}
.student-menu a.is-active,
.student-menu button.is-active{
  background:var(--student-accent);
  color:#fff;
}
.student-menu span{
  width:16px;
  display:inline-grid;
  place-items:center;
  font-size:14px;
}
.student-sidebar-card{
  min-height:52px;
  display:grid;
  align-content:center;
  gap:3px;
  padding:10px 12px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
}
.student-sidebar-card span{
  color:#8b95a5;
  font-size:11px;
  font-weight:700;
}
.student-sidebar-card b{
  font-size:13px;
}
.student-workspace{
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:14px;
  padding:24px 28px 22px 32px;
  overflow:hidden;
}
.student-topbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
}
.student-topbar span{
  color:#7a8494;
  font-size:12px;
  font-weight:650;
}
.student-topbar h1{
  margin:3px 0 2px!important;
  color:var(--student-ink)!important;
  font-size:32px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.04em!important;
}
.student-topbar p{
  margin:0;
  color:#697386!important;
  font-size:13px;
}
.student-top-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.student-search{
  width:min(320px,32vw);
  height:42px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border:1px solid var(--student-line);
  border-radius:999px;
  background:#fff;
}
.student-search span{
  color:#9aa3b2;
}
.student-search input{
  min-height:0!important;
  width:100%;
  border:0!important;
  outline:0;
  background:transparent!important;
  color:var(--student-ink)!important;
  font-size:13px;
}
.student-round-action{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--student-line);
  color:var(--student-green);
}
.student-tab-panel{
  min-height:0;
  display:none;
}
.student-tab-panel.is-active{
  display:block;
}
.student-home-grid{
  height:100%;
  display:grid;
  grid-template-columns:minmax(360px,1.08fr) minmax(330px,.92fr);
  grid-template-rows:minmax(280px,1fr) minmax(190px,.68fr);
  gap:14px;
}
.student-diagnostic-card,
.student-courses-card,
.student-focus-card,
.student-calendar-card,
.student-note-card,
.student-homework-card{
  min-width:0;
  min-height:0;
  border:1px solid var(--student-line);
  border-radius:16px;
  background:var(--student-panel);
}
.student-diagnostic-card{
  grid-row:1 / -1;
  display:grid;
  grid-template-rows:auto auto auto 1fr auto;
  gap:18px;
  padding:22px;
  overflow:hidden;
}
.student-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.student-card-head span{
  color:#7b8494;
  font-size:12px;
  font-weight:850;
}
.student-card-head b,
.student-card-head a,
.student-card-head button{
  border:1px solid var(--student-line);
  border-radius:999px;
  background:#fff;
  color:var(--student-ink);
  padding:8px 12px;
  font-size:12px;
  font-weight:800;
}
.student-card-head button{
  cursor:pointer;
}
.student-diagnostic-card h2,
.student-note-card h2{
  margin:0!important;
  color:var(--student-ink)!important;
  font-size:28px!important;
  line-height:1.08!important;
  font-weight:900!important;
  letter-spacing:-.04em!important;
  text-wrap:balance;
}
.student-diagnostic-card p,
.student-note-card p{
  max-width:62ch;
  margin:0;
  color:#5f6b7d!important;
  font-size:14px;
  line-height:1.55;
}
.student-diagnostic-meter{
  min-height:150px;
  display:flex;
  align-items:end;
  gap:11px;
  padding:20px;
  border-radius:14px;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
}
.student-diagnostic-meter i{
  flex:1;
  min-height:34px;
  border-radius:18px 18px 4px 4px;
  background:var(--student-accent);
}
.student-card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.student-primary,
.student-secondary{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 17px;
  font-size:13px;
  font-weight:850;
}
.student-primary{
  border:1px solid var(--student-accent);
  background:var(--student-accent);
  color:#fff!important;
}
.student-secondary{
  border:1px solid var(--student-line);
  background:#fff;
  color:var(--student-ink)!important;
}
.student-courses-card,
.student-focus-card{
  padding:18px;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:14px;
  overflow:hidden;
}
.student-course-list,
.student-today-list,
.student-homework-list,
.student-lesson-list{
  min-height:0;
  display:grid;
  gap:10px;
  align-content:start;
  grid-auto-rows:max-content;
  overflow:auto;
  padding-right:2px;
}
.student-course-row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.student-course-row:hover{
  border-color:#cbd5e1;
  background:#fbfbfd;
  transform:translateY(-1px);
}
.student-course-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#101828;
  color:#fff;
  font-size:13px;
  font-weight:900;
}
.student-course-copy{
  min-width:0;
  display:grid;
  gap:5px;
}
.student-course-copy b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
.student-course-copy small{
  color:#7a8494;
  font-size:12px;
}
.student-course-copy i{
  height:5px;
  overflow:hidden;
  border-radius:999px;
  background:#edf0f4;
}
.student-course-copy em{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--student-green);
}
.student-course-row strong{
  font-size:18px;
  letter-spacing:-.03em;
}
.student-lesson-row,
.student-schedule-row,
.student-homework-row{
  display:grid;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
}
.student-lesson-row{
  grid-template-columns:54px minmax(0,1fr) auto;
}
.student-lesson-row time,
.student-schedule-row time{
  display:grid;
  color:var(--student-ink);
  font-weight:900;
}
.student-lesson-row time small,
.student-schedule-row time small,
.student-lesson-row small,
.student-homework-row small{
  color:#7a8494;
  font-size:11px;
  font-weight:650;
}
.student-lesson-row b,
.student-schedule-row b,
.student-homework-row b{
  font-size:14px;
}
.student-lesson-row span{
  min-width:0;
  display:grid;
  gap:3px;
}
.student-lesson-row em,
.student-schedule-row em{
  border-radius:999px;
  background:#e9fbf1;
  color:#047842;
  padding:7px 10px;
  font-size:11px;
  font-style:normal;
  font-weight:850;
  white-space:nowrap;
}
.student-calendar-layout,
.student-homework-layout{
  height:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:14px;
}
.student-calendar-card,
.student-homework-card,
.student-note-card{
  padding:18px;
  display:grid;
  grid-template-rows:auto auto 1fr;
  gap:14px;
  overflow:hidden;
}
.student-note-card{
  align-content:start;
  grid-template-rows:auto auto auto auto;
}
.student-note-card span{
  color:#7b8494;
  font-size:12px;
  font-weight:850;
}
.student-week-strip{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:8px;
}
.student-week-strip button{
  min-height:72px;
  display:grid;
  place-items:center;
  gap:3px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}
.student-week-strip button.is-current{
  background:var(--student-accent);
  color:#fff;
  border-color:var(--student-accent);
}
.student-week-strip span,
.student-week-strip small{
  color:inherit;
  opacity:.72;
  font-size:11px;
  font-weight:750;
}
.student-week-strip b{
  font-size:18px;
}
.student-schedule-row{
  grid-template-columns:70px minmax(0,1fr) auto 38px;
}
.student-schedule-row div{
  display:grid;
  gap:3px;
}
.student-schedule-row span{
  color:#7a8494;
  font-size:12px;
}
.student-schedule-row em.is-hot{
  background:#fff5d6;
  color:#8a5a00;
}
.student-schedule-row a{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f1f3f6;
  font-weight:900;
}
.student-homework-card{
  grid-template-rows:auto 1fr;
}
.student-homework-row{
  grid-template-columns:minmax(0,1fr) auto;
}
.student-homework-row label{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}
.student-homework-row input{
  width:18px;
  height:18px;
  accent-color:var(--student-green);
}
.student-homework-row span{
  min-width:0;
  display:grid;
  gap:3px;
}
.student-homework-row a{
  border-radius:999px;
  background:#f1f3f6;
  padding:8px 12px;
  font-size:12px;
  font-weight:850;
}
.student-homework-row.is-done{
  background:#f3fbf7;
}
.student-homework-row.is-done b{
  text-decoration:line-through;
  color:#667085;
}
.student-info-list{
  min-height:0;
  display:grid;
  align-content:start;
  gap:10px;
  overflow:auto;
  padding-right:2px;
}
.student-info-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:13px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
}
.student-info-row b{
  display:block;
  color:var(--student-ink);
  font-size:14px;
}
.student-info-row span{
  grid-column:1;
  color:#667085;
  font-size:12px;
  line-height:1.45;
}
.student-info-row a,
.student-info-row button{
  grid-column:2;
  grid-row:1 / span 2;
  min-height:34px;
  border:0;
  border-radius:999px;
  background:#f1f3f6;
  color:var(--student-ink);
  padding:0 12px;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.student-info-row a:hover,
.student-info-row button:hover{
  background:#e6eaf0;
}
.student-empty-state{
  min-height:116px;
  display:grid;
  align-content:center;
  gap:6px;
  padding:18px;
  border:1px dashed #cfd5df;
  border-radius:12px;
  background:#fafafa;
  color:#667085;
}
.student-empty-state b{
  color:var(--student-ink);
  font-size:15px;
}
.student-empty-state span{
  font-size:13px;
  line-height:1.45;
}
.schedule-add-form{
  min-height:0;
  display:grid;
  gap:8px;
  overflow:auto;
  padding-right:2px;
}
.schedule-add-form label{
  display:grid;
  gap:5px;
}
.schedule-add-form label b{
  color:#667085;
  font-size:11px;
  font-weight:850;
}
.schedule-add-form input,
.schedule-add-form select{
  width:100%;
  min-height:36px!important;
  border:1px solid var(--student-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--student-ink)!important;
  padding:0 11px!important;
  font-size:13px!important;
  outline:0;
}
.schedule-add-form input:focus,
.schedule-add-form select:focus{
  border-color:#98a2b3!important;
}
.schedule-add-form .student-primary{
  width:100%;
  border:0;
  cursor:pointer;
}
.schedule-form-message{
  margin:0;
  color:#667085!important;
  font-size:12px;
  line-height:1.45;
}
.student-call-link{
  width:max-content!important;
  height:auto!important;
  display:inline-flex!important;
  place-items:initial!important;
  margin-top:4px;
  border-radius:999px;
  background:#eef2ff!important;
  color:#3730a3!important;
  padding:6px 10px;
  font-size:11px;
  font-weight:850;
}
.student-delete-event{
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:#fff1f2;
  color:#be123c;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
}
.student-delete-event:hover{
  background:#ffe4e6;
}
body.student-app-page .student-week-strip button small{
  min-width:20px;
  min-height:20px;
  display:grid;
  place-items:center;
  border-radius:999px;
}
body.student-app-page .student-week-strip button:hover small{
  background:#eff6ff;
  color:#1d4ed8;
  opacity:1;
}
body.student-app-page .student-week-strip button.is-current small{
  background:rgba(255,255,255,.16);
  color:#fff;
  opacity:1;
}
@media(max-width:1100px){
  body.student-app-page{
    overflow:auto!important;
  }
  .student-app-shell{
    min-height:100dvh;
    height:auto;
    grid-template-columns:1fr;
  }
  .student-sidebar{
    position:sticky;
    top:0;
    z-index:5;
    min-height:0;
    grid-template-columns:auto 1fr auto;
    grid-template-rows:auto;
    align-items:center;
    padding:10px 12px;
  }
  .student-menu{
    display:flex;
    overflow:auto;
    gap:6px;
  }
  .student-menu a,
  .student-menu button{
    width:auto;
    white-space:nowrap;
  }
  .student-sidebar-card{
    display:none;
  }
  .student-workspace{
    min-height:calc(100dvh - 68px);
    overflow:visible;
    padding:18px 14px;
  }
  .student-home-grid,
  .student-calendar-layout,
  .student-homework-layout{
    height:auto;
    grid-template-columns:1fr;
  }
  .student-diagnostic-card{
    grid-row:auto;
    min-height:420px;
  }
}
@media(max-width:720px){
  .student-topbar{
    grid-template-columns:1fr;
  }
  .student-top-actions{
    justify-content:space-between;
    min-width:0;
  }
  .student-search{
    width:auto;
    min-width:0;
    flex:1 1 auto;
  }
  .student-round-action{
    display:none;
  }
  .student-topbar h1{
    font-size:26px!important;
  }
  .student-week-strip{
    grid-template-columns:repeat(4,1fr);
  }
  .student-schedule-row,
  .student-lesson-row{
    grid-template-columns:1fr;
    align-items:start;
  }
  .student-homework-row{
    grid-template-columns:1fr;
  }
}

body.student-app-page .student-topbar h1{
  margin:3px 0 2px!important;
  color:var(--student-ink)!important;
  font-size:34px!important;
  line-height:1.02!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
  text-wrap:balance;
}
body.student-app-page .student-diagnostic-card h2,
body.student-app-page .student-note-card h2{
  color:var(--student-ink)!important;
  font-size:26px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
  overflow-wrap:break-word;
}
body.student-app-page .student-diagnostic-card p,
body.student-app-page .student-note-card p,
body.student-app-page .student-topbar p{
  color:#5f6b7d!important;
}
body.student-app-page .student-diagnostic-meter{
  min-height:128px;
}
@media(max-width:1100px){
  body.student-app-page{
    overflow-x:hidden!important;
  }
  body.student-app-page .student-sidebar,
  body.student-app-page .student-menu,
  body.student-app-page .student-workspace,
  body.student-app-page .student-tab-panel,
  body.student-app-page .student-home-grid{
    min-width:0!important;
    max-width:100vw!important;
  }
}

body.student-app-page .student-course-row{
  padding:9px 10px;
  min-height:62px;
}
body.student-app-page .student-course-icon{
  width:36px;
  height:36px;
  border-radius:10px;
}
body.student-app-page .student-course-copy{
  gap:3px;
}
body.student-app-page .student-course-copy b{
  font-size:13px;
}
body.student-app-page .student-course-copy small{
  font-size:11px;
}
body.student-app-page .student-course-row strong{
  font-size:16px;
}
@media(max-width:720px){
  body.student-app-page .student-app-shell,
  body.student-app-page .student-sidebar,
  body.student-app-page .student-workspace{
    width:100vw!important;
    max-width:100vw!important;
  }
  body.student-app-page .student-tab-panel{
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
  }
  body.student-app-page .student-topbar,
  body.student-app-page .student-home-grid,
  body.student-app-page .student-search{
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
  }
  body.student-app-page .student-workspace{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.student-app-page .student-diagnostic-card,
  body.student-app-page .student-courses-card,
  body.student-app-page .student-focus-card{
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
    overflow:hidden;
  }
  body.student-app-page .student-diagnostic-card{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.student-app-page .student-diagnostic-card > *,
  body.student-app-page .student-courses-card > *,
  body.student-app-page .student-focus-card > *{
    width:100%!important;
    max-width:100%!important;
  }
  body.student-app-page .student-card-head b{
    display:none;
  }
  body.student-app-page .student-sidebar{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  body.student-app-page .student-menu{
    min-width:0!important;
    overflow-x:auto!important;
    scrollbar-width:none;
  }
  body.student-app-page .student-menu::-webkit-scrollbar{
    display:none;
  }
  body.student-app-page .student-menu a,
  body.student-app-page .student-menu button{
    flex:0 0 auto;
  }
  body.student-app-page .student-topbar h1{
    max-width:100%!important;
    font-size:24px!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  body.student-app-page .student-diagnostic-card,
  body.student-app-page .student-courses-card,
  body.student-app-page .student-focus-card,
  body.student-app-page .student-calendar-card,
  body.student-app-page .student-homework-card,
  body.student-app-page .student-note-card{
    border-radius:14px;
  }
  body.student-app-page .student-diagnostic-card h2,
  body.student-app-page .student-note-card h2{
    max-width:100%!important;
    font-size:23px!important;
    white-space:normal!important;
    text-wrap:pretty!important;
    overflow-wrap:break-word!important;
  }
  body.student-app-page .student-diagnostic-card p,
  body.student-app-page .student-note-card p{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  body.student-app-page .student-diagnostic-meter{
    width:100%!important;
    max-width:100%!important;
    min-height:120px;
    gap:8px;
    padding:14px;
    overflow:hidden!important;
  }
  body.student-app-page .student-diagnostic-meter i{
    min-width:0!important;
  }
}

/* Student dashboard polish + internal navigation */
body.student-app-page{
  --student-bg:#f6f7fb!important;
  --student-panel:#ffffff!important;
  --student-ink:#0b1020!important;
  --student-muted:#687386!important;
  --student-line:#e4e7ee!important;
  --student-soft:#f2f5fa!important;
  --student-accent:#111827!important;
  --student-green:#16a163!important;
  --student-purple:#635bff!important;
}
.student-app-shell{
  grid-template-columns:188px minmax(0,1fr);
  transition:grid-template-columns 220ms cubic-bezier(.2,.8,.2,1);
}
.student-app-shell.is-sidebar-collapsed{
  grid-template-columns:74px minmax(0,1fr);
}
.student-sidebar{
  position:relative;
  background:#ffffff;
}
.student-sidebar-toggle{
  position:absolute;
  top:56px;
  right:-11px;
  z-index:4;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border:1px solid var(--student-line);
  border-radius:999px;
  background:#fff;
  color:#7a8494;
  cursor:pointer;
  transition:transform 180ms ease,background 180ms ease,color 180ms ease;
}
.student-sidebar-toggle:hover{
  background:#111827;
  color:#fff;
}
.student-sidebar-toggle:active,
.student-menu a:active,
.student-menu button:active,
.student-primary:active,
.student-secondary:active,
.student-course-row:active,
.student-info-row a:active,
.student-info-row button:active{
  transform:scale(.98);
}
.student-app-shell.is-sidebar-collapsed .student-sidebar-toggle{
  transform:rotate(180deg);
}
.student-app-shell.is-sidebar-collapsed .student-logo b,
.student-app-shell.is-sidebar-collapsed .student-menu a,
.student-app-shell.is-sidebar-collapsed .student-menu button,
.student-app-shell.is-sidebar-collapsed .student-sidebar-card{
  overflow:hidden;
}
.student-app-shell.is-sidebar-collapsed .student-logo{
  justify-content:center;
}
.student-app-shell.is-sidebar-collapsed .student-logo b,
.student-app-shell.is-sidebar-collapsed .student-menu a:not(:has(span)),
.student-app-shell.is-sidebar-collapsed .student-menu button:not(:has(span)),
.student-app-shell.is-sidebar-collapsed .student-sidebar-card{
  display:none;
}
.student-app-shell.is-sidebar-collapsed .student-menu a,
.student-app-shell.is-sidebar-collapsed .student-menu button{
  justify-content:center;
  padding:0;
  font-size:0;
}
.student-app-shell.is-sidebar-collapsed .student-menu span{
  margin:0;
  font-size:15px;
}
.student-menu a,
.student-menu button{
  transition:background 180ms ease,color 180ms ease,transform 180ms ease;
}
.student-tab-panel.is-active{
  animation:studentPanelIn 220ms cubic-bezier(.2,.8,.2,1);
}
@keyframes studentPanelIn{
  from{opacity:.65;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
.student-diagnostic-card,
.student-courses-card,
.student-focus-card,
.student-calendar-card,
.student-homework-card,
.student-note-card{
  border-color:#dde2eb;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.student-topbar h1,
body.student-app-page .student-topbar h1{
  letter-spacing:-.04em!important;
}
.student-card-head span{
  color:#6b7280;
}
.student-primary,
.student-secondary,
.student-card-head a,
.student-card-head button{
  transition:background 180ms ease,color 180ms ease,border-color 180ms ease,transform 180ms ease;
}
.student-primary:hover{
  background:#020617;
}
.student-secondary:hover,
.student-card-head a:hover,
.student-card-head button:hover{
  background:#f3f6fb;
  border-color:#d4dae5;
}
.student-task-board{
  min-height:0;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:14px;
  overflow:hidden;
}
.student-number-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(74px,1fr));
  gap:8px;
}
.student-number-chip{
  min-height:58px;
  display:grid;
  align-content:center;
  gap:3px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
  color:var(--student-ink);
  cursor:pointer;
  transition:background 180ms ease,border-color 180ms ease,transform 180ms ease;
}
.student-number-chip:hover{
  border-color:#cbd5e1;
  background:#f8fafc;
  transform:translateY(-1px);
}
.student-number-chip:active{
  transform:scale(.98);
}
.student-number-chip b{
  font-size:14px;
}
.student-number-chip span{
  color:#748094;
  font-size:11px;
  font-weight:750;
}
.student-task-course-list{
  min-height:0;
  display:grid;
  align-content:start;
  gap:10px;
  overflow:auto;
}
.student-task-course{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--student-line);
  border-radius:12px;
  background:#fff;
}
.student-task-course div{
  min-width:0;
  display:grid;
  gap:3px;
}
.student-task-course b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
.student-task-course small{
  color:#748094;
  font-size:12px;
}
.student-task-course a{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f1f3f6;
  padding:0 12px;
  font-size:12px;
  font-weight:850;
}
.student-diagnostic-inline{
  display:grid;
  align-content:start;
  gap:14px;
}
.student-diagnostic-inline h2{
  margin:0!important;
  color:var(--student-ink)!important;
  font-size:30px!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
}
.student-diagnostic-inline p{
  margin:0;
  max-width:64ch;
  color:#5f6b7d!important;
  font-size:14px;
  line-height:1.55;
}
@media(max-width:1100px){
  .student-app-shell,
  .student-app-shell.is-sidebar-collapsed{
    grid-template-columns:1fr;
  }
  .student-sidebar-toggle{
    display:none;
  }
}
@media(max-width:720px){
  .student-number-grid{
    grid-template-columns:repeat(3,1fr);
  }
  .student-task-course{
    grid-template-columns:40px minmax(0,1fr);
  }
  .student-task-course a{
    grid-column:1 / -1;
  }
}
@media(prefers-reduced-motion:reduce){
  .student-tab-panel.is-active{
    animation:none;
  }
  .student-app-shell,
  .student-menu a,
  .student-menu button,
  .student-primary,
  .student-secondary,
  .student-course-row,
  .student-number-chip{
    transition:none!important;
  }
}

/* Student dashboard redesign — hover rail + cleaner product UI */
body.student-app-page{
  --student-bg:#eef2f7;
  --student-panel:#ffffff;
  --student-ink:#111827;
  --student-muted:#657084;
  --student-line:#dce3ee;
  --student-soft:#f7f9fc;
  --student-accent:#0f172a;
  --student-blue:#2563eb;
  --student-green:#16a34a;
  --student-orange:#f59e0b;
  --student-sidebar:#0a1020;
  --student-sidebar-2:#111a2e;
  --student-sidebar-text:#eef4ff;
  --student-sidebar-muted:#9aa7bc;
  margin:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 22% 0%, rgba(74,144,226,.16), transparent 30%),
    linear-gradient(135deg,#eef3fa 0%,#f8fafc 44%,#edf1f7 100%);
  color:var(--student-ink);
}

body.student-app-page button{
  -webkit-tap-highlight-color:transparent;
}

.student-app-shell{
  grid-template-columns:236px minmax(0,1fr);
  background:transparent;
  transition:grid-template-columns 230ms cubic-bezier(.22,1,.36,1);
}

.student-app-shell.is-sidebar-collapsed{
  grid-template-columns:76px minmax(0,1fr);
}

.student-sidebar{
  position:relative;
  z-index:10;
  gap:18px;
  padding:16px 12px;
  border-right:0;
  background:
    radial-gradient(circle at 30% 0%, rgba(82,125,255,.22), transparent 30%),
    linear-gradient(180deg,var(--student-sidebar),#080d19);
  color:var(--student-sidebar-text);
  box-shadow:12px 0 32px rgba(15,23,42,.08);
}

.student-sidebar::after{
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.12),transparent);
  pointer-events:none;
}

.student-logo{
  min-height:46px;
  gap:12px;
  color:#fff;
  padding:4px 4px;
  border-radius:16px;
}

.student-logo:hover{
  background:rgba(255,255,255,.06);
}

.student-logo-mark{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:0;
  border-radius:14px;
  background:
    radial-gradient(circle at 30% 30%,#eaff79 0 18%,transparent 19%),
    conic-gradient(from 210deg,#22c55e,#60a5fa,#a78bfa,#facc15,#22c55e);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 8px 22px rgba(0,0,0,.18);
}

.student-logo-mark i{
  background:#0f172a;
}

.student-logo b{
  color:#fff;
  font-size:18px;
  letter-spacing:-.04em;
  white-space:nowrap;
  transition:opacity 160ms ease,transform 190ms cubic-bezier(.22,1,.36,1);
}

.student-sidebar-toggle{
  position:absolute;
  top:56px;
  right:-13px;
  width:26px;
  height:34px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 8px 20px rgba(15,23,42,.16);
}

.student-sidebar-toggle:hover{
  background:#0f172a;
  color:#fff;
}

.student-app-shell.is-sidebar-collapsed .student-sidebar-toggle{
  transform:rotate(180deg);
}

.student-menu{
  gap:8px;
}

.student-menu a,
.student-menu button{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 12px;
  border:0;
  border-radius:14px;
  background:transparent;
  color:var(--student-sidebar-muted);
  font-size:13px;
  font-weight:850;
  letter-spacing:-.01em;
  white-space:nowrap;
  transition:
    background 170ms ease,
    color 170ms ease,
    transform 170ms cubic-bezier(.22,1,.36,1);
}

.student-menu a span,
.student-menu button span{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  margin:0;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#d9e6ff;
  font-size:15px;
}

.student-menu a:hover,
.student-menu button:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
  transform:translateX(2px);
}

.student-menu a.is-active,
.student-menu button.is-active{
  background:#fff;
  color:#0f172a;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.student-menu a.is-active span,
.student-menu button.is-active span{
  background:#0f172a;
  color:#fff;
}

.student-sidebar-card{
  min-height:64px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:16px;
  background:rgba(255,255,255,.07);
  color:#fff;
  box-shadow:none;
}

.student-sidebar-card span{
  color:var(--student-sidebar-muted);
}

.student-sidebar-card b{
  color:#fff;
}

.student-app-shell.is-sidebar-collapsed .student-logo{
  justify-content:center;
  padding:4px 0;
}

.student-app-shell.is-sidebar-collapsed .student-logo b,
.student-app-shell.is-sidebar-collapsed .student-sidebar-card{
  display:none;
}

.student-app-shell.is-sidebar-collapsed .student-menu a,
.student-app-shell.is-sidebar-collapsed .student-menu button{
  justify-content:center;
  gap:0;
  padding:0;
  font-size:0;
  transform:none;
}

.student-app-shell.is-sidebar-collapsed .student-menu a span,
.student-app-shell.is-sidebar-collapsed .student-menu button span{
  width:38px;
  height:38px;
  flex-basis:38px;
  font-size:16px;
}

.student-workspace{
  gap:16px;
  padding:24px 30px 28px;
  background:transparent;
}

.student-topbar{
  min-height:62px;
  gap:18px;
}

.student-topbar span{
  color:#7c8798;
  font-size:12px;
  font-weight:800;
}

body.student-app-page .student-topbar h1{
  margin:2px 0 4px!important;
  color:#0f172a!important;
  font-size:clamp(28px,3.3vw,42px)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
}

.student-topbar p{
  max-width:760px;
  color:#667085!important;
  font-size:13px;
}

.student-search{
  width:min(360px,30vw);
  height:44px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  backdrop-filter:blur(14px);
}

.student-search:focus-within{
  border-color:#93b4ff;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.student-search input{
  color:#111827!important;
}

.student-round-action{
  width:44px;
  height:44px;
  border:0;
  background:#0f172a;
  color:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.18);
}

.student-tab-panel{
  min-height:0;
  overflow:hidden;
}

.student-tab-panel.is-active{
  animation:studentPanelIn 210ms cubic-bezier(.22,1,.36,1);
}

.student-home-grid{
  height:100%;
  grid-template-columns:minmax(390px,1.06fr) minmax(340px,.94fr);
  grid-template-rows:minmax(255px,1fr) minmax(172px,.56fr);
  gap:16px;
}

.student-diagnostic-card,
.student-courses-card,
.student-focus-card,
.student-calendar-card,
.student-note-card,
.student-homework-card{
  border:1px solid rgba(148,163,184,.22);
  border-radius:22px;
  background:rgba(255,255,255,.88);
  box-shadow:0 1px 0 rgba(255,255,255,.75),0 16px 44px rgba(15,23,42,.06);
  backdrop-filter:blur(18px);
}

.student-diagnostic-card{
  position:relative;
  padding:26px;
  color:#fff;
  background:
    radial-gradient(circle at 82% 16%,rgba(96,165,250,.38),transparent 28%),
    radial-gradient(circle at 10% 96%,rgba(34,197,94,.25),transparent 34%),
    linear-gradient(145deg,#111827,#172036 62%,#0b1020);
  border-color:rgba(255,255,255,.10);
  box-shadow:0 22px 54px rgba(15,23,42,.18);
}

.student-diagnostic-card::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  pointer-events:none;
}

.student-diagnostic-card .student-card-head span,
.student-diagnostic-card .student-card-head b{
  color:rgba(255,255,255,.72);
}

body.student-app-page .student-diagnostic-card h2{
  color:#fff!important;
  font-size:clamp(26px,3.1vw,42px)!important;
  line-height:1.02!important;
  letter-spacing:-.06em!important;
}

body.student-app-page .student-diagnostic-card p{
  max-width:56ch;
  color:rgba(238,244,255,.74)!important;
}

.student-diagnostic-meter{
  min-height:126px;
  align-items:end;
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.06);
}

.student-diagnostic-meter i{
  border-radius:999px 999px 10px 10px;
  background:linear-gradient(180deg,#b7f75d,#22c55e);
  box-shadow:0 8px 20px rgba(34,197,94,.18);
}

.student-card-head{
  gap:12px;
  align-items:center;
}

.student-card-head span{
  color:#64748b;
  font-size:11px;
  letter-spacing:.09em;
}

.student-card-head a,
.student-card-head button{
  min-height:34px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  cursor:pointer;
}

.student-card-head a:hover,
.student-card-head button:hover{
  border-color:#b7c3d5;
  background:#f8fafc;
  transform:translateY(-1px);
}

.student-primary,
.student-secondary{
  min-height:42px;
  border-radius:999px;
  cursor:pointer;
  will-change:transform;
}

.student-primary{
  border:0;
  background:#0f172a;
  color:#fff;
  box-shadow:0 10px 20px rgba(0,0,0,.12);
}

.student-diagnostic-card .student-primary{
  background:#fff;
  color:#0f172a!important;
  min-width:168px;
  font-weight:950;
}

.student-diagnostic-card .student-primary:hover{
  background:#ecfdf5;
  color:#064e3b!important;
}

.student-secondary{
  border:1px solid rgba(148,163,184,.28);
  background:rgba(255,255,255,.72);
  color:#0f172a;
}

.student-diagnostic-card .student-secondary{
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.10);
  color:#fff;
}

.student-primary:hover,
.student-secondary:hover{
  transform:translateY(-1px);
}

.student-primary:active,
.student-secondary:active,
.student-course-row:active,
.student-number-chip:active,
.student-week-strip button:active,
.student-menu a:active,
.student-menu button:active{
  transform:scale(.98);
}

.student-course-list,
.student-lesson-list,
.student-homework-list,
.student-info-list,
.student-task-course-list{
  scrollbar-width:thin;
  scrollbar-color:#c5cfde transparent;
}

.student-course-row,
.student-lesson-row,
.student-schedule-row,
.student-homework-row,
.student-info-row,
.student-task-course{
  border:1px solid rgba(148,163,184,.22);
  border-radius:16px;
  background:#fff;
  box-shadow:none;
  transition:
    border-color 170ms ease,
    background 170ms ease,
    transform 170ms cubic-bezier(.22,1,.36,1);
}

.student-course-row:hover,
.student-lesson-row:hover,
.student-schedule-row:hover,
.student-homework-row:hover,
.student-info-row:hover,
.student-task-course:hover{
  border-color:#b8c4d6;
  background:#fbfdff;
  transform:translateY(-1px);
}

.student-course-icon{
  border:0;
  border-radius:14px;
  background:linear-gradient(145deg,#e0edff,#ffffff);
  color:#1d4ed8;
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.12);
}

.student-course-copy span,
.student-task-course small,
.student-homework-row small,
.student-info-row span{
  color:#64748b;
}

.student-course-copy b,
.student-course-row strong,
.student-info-row b{
  color:#111827;
}

.student-focus-card,
.student-courses-card,
.student-calendar-card,
.student-note-card,
.student-homework-card{
  padding:20px;
}

.student-week-strip button{
  min-height:70px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:16px;
  background:#fff;
  transition:
    border-color 170ms ease,
    background 170ms ease,
    transform 170ms cubic-bezier(.22,1,.36,1);
}

.student-week-strip button:hover{
  border-color:#b8c4d6;
  background:#f8fbff;
  transform:translateY(-1px);
}

.student-week-strip button.is-current{
  border-color:#0f172a;
  background:#0f172a;
  color:#fff;
  box-shadow:0 12px 24px rgba(15,23,42,.16);
}

.student-calendar-layout,
.student-homework-layout{
  gap:16px;
  grid-template-columns:minmax(0,1fr) 340px;
}

.schedule-add-form{
  gap:10px;
}

.schedule-add-form label{
  gap:6px;
}

.schedule-add-form label b{
  color:#64748b;
  font-size:11px;
  letter-spacing:.04em;
}

.schedule-add-form input,
.schedule-add-form select{
  min-height:40px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(255,255,255,.7);
}

.schedule-add-form input:focus,
.schedule-add-form select:focus{
  border-color:#80a7ff!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.10)!important;
}

.student-empty-state{
  border-color:#cbd5e1;
  border-radius:16px;
  background:linear-gradient(145deg,#fff,#f8fafc);
}

.student-task-board{
  gap:16px;
}

.student-number-grid{
  gap:10px;
}

.student-number-chip{
  min-height:66px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:16px;
  background:#fff;
}

.student-number-chip:hover{
  border-color:#94a3b8;
  background:#f8fbff;
  transform:translateY(-1px);
}

.student-number-chip b{
  font-size:15px;
}

.student-task-course{
  border-radius:16px;
}

.student-task-course a,
.student-info-row a,
.student-info-row button{
  border:0;
  border-radius:999px;
  background:#eef4ff;
  color:#1d4ed8;
}

.student-task-course a:hover,
.student-info-row a:hover,
.student-info-row button:hover{
  background:#dbeafe;
}

.student-course-view{
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:14px;
}

.student-course-view-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:18px;
  background:rgba(255,255,255,.9);
  box-shadow:0 1px 0 rgba(255,255,255,.75),0 12px 28px rgba(15,23,42,.05);
}

.student-course-view-head div{
  min-width:0;
}

.student-course-view-head span{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.student-course-view-head h2{
  margin:2px 0 1px!important;
  color:#0f172a!important;
  font-size:22px!important;
  line-height:1.08!important;
  letter-spacing:-.03em!important;
}

.student-course-view-head p{
  margin:0;
  color:#64748b!important;
  font-size:13px;
}

.student-course-view iframe{
  width:100%;
  height:100%;
  min-height:0;
  border:1px solid rgba(148,163,184,.24);
  border-radius:18px;
  background:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.75),0 12px 28px rgba(15,23,42,.05);
}

.student-course-task-layout{
  min-height:0;
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:14px;
  overflow:hidden;
}

.student-course-groups,
.student-course-task-feed{
  min-height:0;
  overflow:auto;
  border:1px solid rgba(148,163,184,.22);
  border-radius:18px;
  background:rgba(255,255,255,.9);
}

.student-course-groups{
  display:grid;
  align-content:start;
  gap:8px;
  padding:12px;
  scrollbar-width:thin;
}

.student-course-groups > div{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:10px;
  padding:4px 4px 10px;
}

.student-course-groups > div b{
  color:#0f172a;
  font-size:15px;
}

.student-course-groups > div span{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.student-course-group{
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:#fff;
  padding:10px;
  color:#0f172a;
  cursor:pointer;
  text-align:left;
  transition:
    border-color 170ms ease,
    background 170ms ease,
    transform 170ms cubic-bezier(.22,1,.36,1);
}

.student-course-group:hover{
  border-color:#b8c4d6;
  background:#f8fbff;
  transform:translateY(-1px);
}

.student-course-group.is-active{
  border-color:#0f172a;
  background:#0f172a;
  color:#fff;
}

.student-course-group span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#eef4ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:950;
}

.student-course-group.is-active span{
  background:#fff;
  color:#0f172a;
}

.student-course-group b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}

.student-course-group em{
  color:#64748b;
  font-size:12px;
  font-style:normal;
  font-weight:900;
}

.student-course-group.is-active em{
  color:rgba(255,255,255,.72);
}

.student-course-groups.is-practical{
  gap:10px;
}

.student-practical-topic{
  min-height:54px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  transition:
    border-color 170ms ease,
    background 170ms ease,
    transform 170ms cubic-bezier(.22,1,.36,1);
}

.student-practical-topic.is-open{
  min-height:200px;
}

.student-practical-topic:hover{
  border-color:#b8c4d6;
  background:#fbfdff;
  transform:translateY(-1px);
}

.student-practical-topic.is-selected{
  border-color:#0f172a;
  box-shadow:inset 3px 0 0 #0f172a;
}

.student-practical-topic-head{
  width:100%;
  min-height:54px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  border:0;
  background:transparent;
  color:#0f172a;
  padding:12px;
  cursor:pointer;
  text-align:left;
}

.student-practical-topic-head b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}

.student-practical-topic-head span{
  color:#64748b;
  font-size:12px;
  font-weight:850;
}

.student-practical-topic-head em{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef4ff;
  color:#1d4ed8;
  font-style:normal;
  font-weight:950;
  transition:transform 180ms cubic-bezier(.22,1,.36,1);
}

.student-practical-topic.is-open .student-practical-topic-head em{
  transform:rotate(180deg);
}

.student-course-number-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(56px,1fr));
  gap:6px;
  max-height:0;
  opacity:0;
  overflow:hidden;
  pointer-events:none;
  padding:0 10px;
  transition:
    max-height 220ms cubic-bezier(.22,1,.36,1),
    opacity 160ms ease,
    padding 180ms ease;
}

.student-course-number-grid.is-open{
  max-height:146px;
  opacity:1;
  pointer-events:auto;
  padding:0 10px 10px;
}

.student-course-number-button{
  min-height:42px;
  display:grid;
  place-items:center;
  gap:1px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:12px;
  background:#f8fbff;
  color:#0f172a;
  cursor:pointer;
  transition:
    border-color 170ms ease,
    background 170ms ease,
    transform 170ms cubic-bezier(.22,1,.36,1);
}

.student-course-number-button:hover{
  border-color:#93b4ff;
  background:#eef4ff;
  transform:translateY(-1px);
}

.student-course-number-button.is-active{
  border-color:#2563eb;
  background:#2563eb;
  color:#fff;
}

.student-course-number-button.is-set{
  grid-column:span 3;
  min-height:38px;
  grid-template-columns:auto auto;
  justify-content:center;
  column-gap:8px;
  background:#0f172a;
  color:#fff;
}

.student-course-number-button.is-set.is-active{
  border-color:#0f172a;
  background:#0f172a;
  color:#fff;
}

.student-course-number-button b{
  font-size:12px;
  font-weight:950;
}

.student-course-number-button span{
  color:inherit;
  font-size:11px;
  font-weight:850;
  opacity:.78;
}

.student-course-groups.is-algebra{
  gap:12px;
  background:#f8fafc;
}

.student-algebra-numbers{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}

.student-algebra-number{
  min-height:54px;
  display:grid;
  place-items:center;
  gap:2px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:10px;
  background:#fff;
  color:#0f172a;
  cursor:pointer;
  transition:border-color 160ms ease,background 160ms ease,transform 160ms ease;
}

.student-algebra-number:hover{
  border-color:#e0ad22;
  background:#fffbed;
  transform:translateY(-1px);
}

.student-algebra-number.is-active{
  border-color:#0f172a;
  background:#0f172a;
  color:#fff;
  box-shadow:inset 0 -3px 0 #f4c84a;
}

.student-algebra-number b{
  font-size:14px;
  font-weight:950;
}

.student-algebra-number span{
  color:inherit;
  font-size:10px;
  font-weight:850;
  opacity:.72;
}

.student-algebra-topic-panel{
  min-width:0;
  display:grid;
  gap:8px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.24);
}

.student-algebra-topic-panel > header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:2px 2px 6px;
}

.student-algebra-topic-panel > header > span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#f4c84a;
  color:#172033;
  font-size:13px;
  font-weight:950;
}

.student-algebra-topic-panel > header > div{
  min-width:0;
  display:grid;
  gap:2px;
}

.student-algebra-topic-panel > header b{
  overflow:hidden;
  color:#0f172a;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.student-algebra-topic-panel > header small{
  color:#64748b;
  font-size:10px;
  font-weight:800;
}

.student-algebra-topics{
  display:grid;
  gap:6px;
}

.student-algebra-topic{
  min-height:62px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:10px;
  background:#fff;
  color:#0f172a;
  padding:8px 9px;
  text-align:left;
  cursor:pointer;
  transition:border-color 160ms ease,background 160ms ease,transform 160ms ease;
}

.student-algebra-topic:hover{
  border-color:#93a4bc;
  background:#f8fbff;
  transform:translateY(-1px);
}

.student-algebra-topic.is-active{
  border-color:#0f172a;
  background:#0f172a;
  color:#fff;
}

.student-algebra-topic > span:first-child{
  color:#b07b00;
  font-size:11px;
  font-weight:950;
}

.student-algebra-topic.is-active > span:first-child{
  color:#f4c84a;
}

.student-algebra-topic > span:nth-child(2){
  min-width:0;
  display:grid;
  gap:2px;
}

.student-algebra-topic b{
  min-width:0;
  overflow:visible;
  font-size:12px;
  line-height:1.2;
  text-overflow:clip;
  white-space:normal;
}

.student-algebra-topic small{
  min-width:0;
  overflow:visible;
  color:#64748b;
  font-size:10px;
  font-weight:750;
  text-overflow:clip;
  white-space:normal;
}

.student-algebra-topic.is-active small{
  color:rgba(255,255,255,.68);
}

.student-algebra-topic em{
  min-width:28px;
  color:#64748b;
  font-size:11px;
  font-style:normal;
  font-weight:900;
  text-align:right;
}

.student-algebra-topic.is-active em{
  color:#fff;
}

.student-course-task-feed{
  display:grid;
  align-content:start;
  gap:12px;
  padding:14px;
  scrollbar-width:thin;
}

.student-course-task-feed-head{
  position:relative;
  top:auto;
  z-index:2;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:15px;
  background:rgba(248,250,252,.96);
  backdrop-filter:blur(12px);
}

.student-course-task-feed-head span{
  min-width:42px;
  width:auto;
  height:42px;
  padding:0 10px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#0f172a;
  color:#fff;
  font-weight:950;
}

.student-course-task-feed-head h3{
  margin:0!important;
  color:#0f172a!important;
  font-size:18px!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
}

.student-course-task-feed-head b{
  color:#64748b;
  font-size:12px;
}

.student-course-task-feed-head.is-algebra > div{
  min-width:0;
  display:grid;
  gap:3px;
}

.student-course-task-feed-head.is-algebra small{
  color:#64748b;
  font-size:11px;
  font-weight:800;
}

.student-algebra-empty{
  min-height:260px;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:7px;
  color:#0f172a;
  text-align:center;
}

.student-algebra-empty span{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f4c84a;
  color:#172033;
  font-size:16px;
  font-weight:950;
}

.student-algebra-empty h3{
  margin:4px 0 0;
  font-size:20px;
}

.student-algebra-empty b{
  color:#64748b;
  font-size:12px;
}

.student-practical-set{
  display:grid;
  gap:12px;
  padding:10px;
  border:1px solid rgba(37,99,235,.14);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(239,246,255,.86), rgba(255,255,255,.92));
}

.student-practical-set-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:6px 4px 0;
}

.student-practical-set-head b{
  color:#0f172a;
  font-size:14px;
  font-weight:950;
}

.student-practical-set-head span{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.student-course-task-card{
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:16px;
  background:#fff;
}

.student-course-task-card header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 10px;
}

.student-course-task-card header span{
  grid-column:1;
  color:#2563eb;
  font-size:12px;
  font-weight:950;
}

.student-course-task-card header b{
  grid-column:1;
  color:#0f172a;
  font-size:16px;
}

.student-course-task-card header em{
  grid-row:1 / span 2;
  grid-column:2;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef2f7;
  color:#64748b;
  font-style:normal;
  font-weight:900;
}

.student-course-task-text{
  max-width:78ch;
  color:#1f2937;
  font-size:15px;
  line-height:1.58;
}

.student-course-task-text p{
  margin:0;
}

.student-course-task-text.is-algebra-transcription{
  max-width:none;
  padding:22px 24px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:10px;
  background:#fbfdff;
  color:#111827;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  line-height:1.55;
}

.student-course-task-text.is-practical-copy{
  max-width:none;
  display:grid;
  gap:8px;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:14px;
  background:#f8fafc;
  color:#172033;
  font-size:16px;
  line-height:1.62;
}

.student-course-task-text.is-practical-copy b{
  color:#2563eb;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.student-course-task-html{
  max-width:none;
  padding:16px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:14px;
  background:#fff;
  color:#111827;
  font-size:17px;
  line-height:1.55;
}

.student-course-task-html p{
  margin:0 0 14px;
}

.student-course-task-html p:last-child{
  margin-bottom:0;
}

.paper-task{
  display:grid;
  gap:14px;
}

.paper-size-table,
.paper-answer-table{
  width:100%;
  max-width:760px;
  border-collapse:collapse;
  background:#fff;
  color:#111827;
  font-size:16px;
}

.paper-size-table th,
.paper-size-table td,
.paper-answer-table th,
.paper-answer-table td{
  border:1px solid #111827;
  padding:10px 12px;
  text-align:center;
  vertical-align:middle;
}

.paper-size-table th,
.paper-answer-table th{
  background:#f8fafc;
  font-weight:900;
}

.paper-answer-table{
  max-width:620px;
}

.paper-answer-table td{
  height:38px;
  background:#fff;
}

.paper-task-text{
  font-size:19px;
  line-height:1.65;
}

.student-course-task-images{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}

.student-course-task-card.is-practical-card .student-course-task-images{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
}

.student-course-task-images figure{
  min-width:0;
  display:grid;
  gap:6px;
  margin:0;
}

.student-course-task-images figure.is-practical-task{
  max-height:none;
  overflow:visible;
  border:1px solid rgba(148,163,184,.22);
  border-radius:12px;
  background:#f8fafc;
}

.student-course-task-images figure.is-practical-task figcaption{
  position:sticky;
  top:0;
  z-index:1;
  padding:0 0 4px;
  background:#fff;
}

.student-course-task-images figcaption{
  color:#2563eb;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.student-course-task-images img{
  width:100%;
  max-height:360px;
  object-fit:contain;
  border:1px solid rgba(148,163,184,.22);
  border-radius:12px;
  background:#f8fafc;
}

.student-task-image-link{
  display:block;
  width:100%;
  color:inherit;
  cursor:zoom-in;
}

.student-course-task-card.is-source-image-task .student-course-task-images{
  grid-template-columns:minmax(0,1fr);
}

.student-course-task-card.is-source-image-task .student-course-task-images figure{
  justify-items:center;
}

.student-course-task-card.is-source-image-task .student-task-image-link{
  width:min(100%,980px);
}

.student-course-task-card.is-source-image-task .student-course-task-images figcaption{
  justify-self:start;
}

.student-course-task-card.is-source-image-task .student-course-task-images img{
  width:100%;
  height:auto;
  max-height:none;
  border-radius:8px;
  object-fit:contain;
}

.student-course-task-card.is-practical-card .student-course-task-images img{
  height:auto;
  max-height:78vh;
}

.student-course-task-images figure.is-practical-task img{
  max-height:none;
  border:0;
  border-radius:0;
  object-fit:contain;
  object-position:top center;
}

.student-course-task-card.is-practical-card .student-course-task-images figure.is-practical-task img{
  width:100%;
  height:auto;
}

.student-course-task-card.is-practical-card .student-course-task-images figure.is-pdf-task{
  width:min(900px,72%);
  justify-self:center;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

.student-course-task-images figure.is-pdf-task figcaption{
  display:none;
}

.student-course-task-card.is-practical-card .student-course-task-images figure.is-pdf-task img{
  width:100%;
  max-height:none;
  display:block;
  border:0;
  border-radius:0;
  background:#fff;
}

.student-course-task-card.is-practical-card .student-course-task-images figure.is-scheme{
  width:min(900px,72%);
  justify-self:center;
}

body.course-page[data-course-slug="oge-1-5-2026"] .task-image{
  gap:10px;
  padding:12px;
}

body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-context-image{
  width:min(900px,72%);
  margin-inline:auto;
}

body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-display-crop{
  width:min(900px,72%);
  margin-inline:auto;
}

body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-display-crop img{
  width:100%;
  max-height:none;
  border:0;
  border-radius:0;
  background:#fff;
}

.student-tire-context{
  display:grid;
  gap:12px;
  padding:22px 24px;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.24);
  background:#fff;
  color:#0f172a;
  overflow:hidden;
}

.student-tire-kicker{
  color:#2563eb;
  font-size:13px;
  font-weight:950;
}

.student-tire-context > strong{
  color:#0f172a;
  font-size:14px;
  line-height:1.35;
}

.student-tire-figures{
  width:min(860px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(260px,1fr);
  align-items:end;
  gap:38px;
}

.student-tire-figure{
  display:grid;
  justify-items:center;
  gap:8px;
  margin:0;
}

.student-tire-figure img{
  width:100%;
  max-height:280px;
  object-fit:contain;
  border:0;
  border-radius:0;
  background:#fff;
}

.student-tire-figure figcaption{
  color:#475569;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  font-style:italic;
}

.student-tire-copy{
  color:#0f172a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  line-height:1.48;
}

.student-tire-copy p{
  margin:0;
}

.student-tire-copy p + p{
  margin-top:8px;
}

.student-tire-tables{
  display:grid;
  gap:10px;
  margin-top:2px;
}

.student-tire-table{
  margin:0;
  padding:10px;
  border-radius:12px;
  background:#f8fafc;
}

.student-tire-table img{
  width:100%;
  max-height:360px;
  object-fit:contain;
  border:0;
  border-radius:8px;
  background:#fff;
}

.student-course-answer-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:10px;
  padding:12px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:16px;
  background:#f8fafc;
  transition:border-color 160ms ease, background 160ms ease;
}

.student-course-answer-row label{
  display:grid;
  gap:6px;
}

.student-course-answer-row label span{
  color:#64748b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}

.student-course-answer-row input{
  width:100%;
  min-height:42px!important;
  border:1px solid rgba(148,163,184,.3)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#0f172a!important;
  padding:0 12px!important;
}

.student-course-answer-row .math-answer-helper,
.student-course-answer-row .solution-upload,
.student-course-answer-row .answer-status{
  grid-column:1/-1;
}

.student-course-answer-row .answer-status{
  min-height:16px;
  color:#64748b;
  font-size:12px;
  font-weight:850;
}

.student-course-answer-row.is-correct{
  border-color:#22c55e;
  background:#ecfdf5;
}

.student-course-answer-row.is-correct .answer-status{
  color:#15803d;
}

.student-course-answer-row.is-wrong{
  border-color:#fb7185;
  background:#fff1f2;
}

.student-course-answer-row.is-wrong .answer-status{
  color:#be123c;
}

.student-course-answer-row.is-empty{
  border-color:#f59e0b;
  background:#fffbeb;
}

.student-course-answer-row.is-manual{
  border-color:#38bdf8;
  background:#eff6ff;
}

.student-task-support{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:flex-start;
}

.student-task-help{
  min-width:180px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:12px;
  background:#f8fafc;
  color:#172033;
}

.student-task-help summary{
  cursor:pointer;
  list-style:none;
  padding:10px 12px;
  color:#0f172a;
  font-size:13px;
  font-weight:900;
}

.student-task-help summary::-webkit-details-marker{
  display:none;
}

.student-task-help[open]{
  flex-basis:100%;
  background:#fff;
}

.student-task-help p,
.student-task-help a{
  display:block;
  margin:0;
  padding:0 12px 12px;
  color:#334155;
  font-size:14px;
  line-height:1.55;
}

.student-task-help-images{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
  padding:0 12px 12px;
}

.student-task-help-images img{
  width:100%;
  max-height:320px;
  object-fit:contain;
  border:1px solid rgba(148,163,184,.22);
  border-radius:10px;
  background:#f8fafc;
}

.student-task-import-note{
  padding:10px 12px;
  border:1px dashed rgba(100,116,139,.35);
  border-radius:12px;
  background:#f8fafc;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}

.student-course-task-card small{
  color:#64748b;
  font-size:12px;
}

@media(max-width:1180px){
  .student-home-grid{
    grid-template-columns:1fr;
    grid-template-rows:auto;
    overflow:auto;
  }
  .student-diagnostic-card{
    grid-row:auto;
    min-height:360px;
  }
}

@media(max-width:1100px){
  body.student-app-page{
    overflow:auto;
  }
  .student-app-shell,
  .student-app-shell.is-sidebar-collapsed{
    grid-template-columns:1fr;
  }
  .student-sidebar{
    position:sticky;
    grid-template-columns:auto 1fr auto;
    background:#0a1020;
    border-radius:0 0 20px 20px;
  }
  .student-menu{
    display:flex;
    overflow-x:auto;
  }
  .student-app-shell.is-sidebar-collapsed .student-logo b{
    display:block;
  }
  .student-app-shell.is-sidebar-collapsed .student-menu a,
  .student-app-shell.is-sidebar-collapsed .student-menu button{
    justify-content:flex-start;
    gap:10px;
    padding:0 12px;
    font-size:13px;
  }
  .student-app-shell.is-sidebar-collapsed .student-menu a span,
  .student-app-shell.is-sidebar-collapsed .student-menu button span{
    width:28px;
    height:28px;
    flex-basis:28px;
  }
  .student-workspace{
    padding:18px 14px 26px;
  }
  .student-calendar-layout,
  .student-homework-layout{
    grid-template-columns:1fr;
  }
  .student-course-view-head{
    grid-template-columns:1fr;
    align-items:start;
  }
  .student-course-task-layout{
    grid-template-columns:1fr;
    overflow:auto;
  }
  .student-course-groups{
    max-height:440px;
  }
  .student-course-groups.is-algebra{
    max-height:none;
    overflow:visible;
  }
  .student-algebra-topics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .student-algebra-numbers{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .student-algebra-topic b,
  .student-algebra-topic small{
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
  }
  .student-course-task-feed-head.is-algebra{
    grid-template-columns:auto minmax(0,1fr);
  }
  .student-course-task-feed-head.is-algebra > b{
    grid-column:2;
  }
  .student-course-task-text.is-algebra-transcription{
    padding:18px;
    font-size:18px;
  }
  .student-top-actions{
    display:grid;
    grid-template-columns:1fr auto;
  }
  .student-search{
    width:auto;
  }
  .student-diagnostic-card,
  .student-courses-card,
  .student-focus-card,
  .student-calendar-card,
  .student-note-card,
  .student-homework-card{
    border-radius:18px;
  }
  .student-tire-context{
    padding:18px 16px;
  }
  .student-tire-figures{
    grid-template-columns:1fr;
    gap:18px;
  }
  .student-tire-copy{
    font-size:13px;
  }
}

@media(prefers-reduced-motion:reduce){
  .student-app-shell,
  .student-logo b,
  .student-menu a,
  .student-menu button,
  .student-course-row,
  .student-lesson-row,
  .student-schedule-row,
  .student-homework-row,
  .student-info-row,
  .student-task-course,
  .student-number-chip,
  .student-week-strip button,
  .student-primary,
  .student-secondary{
    transition:none!important;
    animation:none!important;
  }
}

/* Interactive weekly calendar */
body.student-app-page [data-student-panel="schedule"] .student-calendar-layout{
  grid-template-columns:minmax(0,1fr) 330px;
  align-items:stretch;
}
body.student-app-page [data-student-panel="schedule"] .student-calendar-card{
  overflow:visible;
}
body.student-app-page #studentWeekStrip.student-week-strip{
  display:block;
}
.student-calendar-toolbar{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0;
}
.student-calendar-nav{
  display:inline-flex;
  gap:6px;
  padding:4px;
  border-radius:14px;
  background:#eef3ff;
}
.student-calendar-nav button{
  width:34px;
  height:30px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#5164d8;
  font-size:18px;
  font-weight:900;
}
.student-calendar-nav button:hover{
  background:#fff;
}
.student-calendar-range{
  min-width:190px;
  display:grid;
  gap:2px;
}
.student-calendar-range b{
  color:#18223b;
  font-size:15px;
  font-weight:900;
}
.student-calendar-range span,
.student-timezone{
  color:#667085;
  font-size:11px;
  font-weight:750;
}
.student-timezone{
  padding:9px 12px;
  border:1px solid #cbd6ff;
  border-radius:12px;
  background:#fff;
  color:#39446a;
}
.student-calendar-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
}
.student-calendar-actions .student-primary,
.student-calendar-actions .student-secondary{
  min-height:34px;
  white-space:nowrap;
}
body.student-app-page #studentLessonList.student-lesson-list{
  min-height:0;
  overflow:auto;
  padding:0 2px 2px 0;
}
.student-calendar-week{
  min-width:980px;
  display:grid;
  grid-template-columns:50px repeat(7,minmax(118px,1fr));
  align-items:start;
  border:1px solid #dde6fb;
  border-radius:18px;
  background:#fff;
  overflow:visible;
}
.student-calendar-times{
  display:grid;
  grid-template-rows:42px 1fr;
  border-right:1px solid #e7edfb;
  color:#71809b;
}
.student-calendar-times>span{
  border-bottom:1px solid #dbe4f6;
}
.student-calendar-times>div{
  position:relative;
  height:calc(var(--calendar-hours) * var(--hour-height));
}
.student-calendar-times>div span{
  position:absolute;
  left:8px;
  transform:translateY(-8px);
  font-size:11px;
  font-weight:750;
}
.student-calendar-day{
  position:relative;
  min-width:0;
  border-right:1px solid #e7edfb;
  overflow:visible;
}
.student-calendar-day:last-child{
  border-right:0;
}
.student-calendar-day-head{
  width:100%;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:0;
  border-bottom:1px solid #dbe4f6;
  background:#fbfdff;
  color:#667085;
  font-weight:900;
  text-transform:uppercase;
}
.student-calendar-day-head span{
  font-size:11px;
}
.student-calendar-day-head b{
  display:grid;
  place-items:center;
  min-width:24px;
  height:24px;
  border-radius:999px;
  color:#29324b;
  font-size:13px;
}
.student-calendar-day.is-today .student-calendar-day-head b{
  background:#5268f2;
  color:#fff;
  box-shadow:0 8px 18px rgba(82,104,242,.24);
}
.student-calendar-day.is-selected .student-calendar-day-body{
  background-color:#f8fbff;
}
.student-calendar-day-body{
  position:relative;
  height:calc(var(--calendar-hours) * var(--hour-height));
  overflow:visible;
  background:
    repeating-linear-gradient(to bottom,#eef3fc 0 1px,transparent 1px 16px),
    linear-gradient(to right,transparent,transparent);
}
.student-calendar-slot{
  position:relative;
  z-index:2;
  height:16px;
  border:1px solid transparent;
  border-radius:7px;
  cursor:pointer;
  outline:0;
}
.student-calendar-slot>span{
  position:absolute;
  right:5px;
  top:1px;
  opacity:0;
  color:#4867f0;
  font-size:9px;
  font-weight:900;
}
.student-calendar-slot:hover,
.student-calendar-slot:focus-visible,
.student-calendar-slot.is-active{
  z-index:70;
  border-color:#a9c1ff;
  background:rgba(82,126,255,.12);
  box-shadow:inset 0 0 0 1px rgba(82,126,255,.16);
}
.student-calendar-slot:hover>span,
.student-calendar-slot:focus-visible>span,
.student-calendar-slot.is-active>span{
  opacity:1;
}
.student-slot-popover{
  position:absolute;
  left:calc(100% + 8px);
  z-index:160;
  width:306px;
  display:grid;
  gap:8px;
  padding:18px 14px 14px;
  border:1px solid #dce5ff;
  border-radius:16px;
  background:#fff;
  opacity:1;
  pointer-events:auto;
  box-shadow:0 18px 46px rgba(15,23,42,.18);
}
.student-calendar-day:nth-last-child(-n+2) .student-slot-popover{
  left:auto;
  right:calc(100% + 8px);
}
.student-slot-popover b{
  color:#24304d;
  font-size:14px;
}
.student-slot-popover .student-primary,
.student-slot-popover .student-secondary{
  width:100%;
  min-height:34px;
}
.student-slot-close,
.schedule-modal-close{
  position:absolute;
  top:8px;
  right:8px;
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#8a94a8;
  font-size:20px;
  line-height:1;
}
.student-slot-close:hover,
.schedule-modal-close:hover{
  background:#f1f4fa;
  color:#1f2937;
}
.student-calendar-event{
  position:absolute;
  left:5px;
  right:5px;
  z-index:5;
  min-height:36px;
  display:grid;
  align-content:start;
  gap:2px;
  padding:6px 24px 6px 8px;
  border:1px solid #a9c0ff;
  border-radius:9px;
  background:#e8efff;
  color:#1f3c92;
  box-shadow:0 8px 18px rgba(37,99,235,.08);
  overflow:hidden;
}
.student-calendar-event.is-open-slot{
  border-color:#cdd8ec;
  background:#f2f6fb;
  color:#475569;
}
.student-calendar-event time{
  font-size:10px;
  font-weight:900;
}
.student-calendar-event b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:900;
}
.student-calendar-event span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  font-weight:700;
  opacity:.78;
}
.student-calendar-event button,
.student-schedule-mini-list article button{
  position:absolute;
  top:4px;
  right:4px;
  width:22px;
  height:22px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#64748b;
  font-size:15px;
  font-weight:900;
}
.student-calendar-event button:hover,
.student-schedule-mini-list article button:hover{
  color:#be123c;
  background:#fff1f2;
}
.student-schedule-mini-list{
  min-height:0;
  display:grid;
  gap:8px;
  overflow:auto;
}
.student-schedule-mini-list article{
  position:relative;
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:9px;
  padding:10px 34px 10px 10px;
  border:1px solid #e1e8f4;
  border-radius:14px;
  background:#fff;
}
.student-schedule-mini-list time{
  color:#1d4ed8;
  font-size:12px;
  font-weight:900;
}
.student-schedule-mini-list div{
  min-width:0;
  display:grid;
  gap:2px;
}
.student-schedule-mini-list b,
.student-schedule-mini-list span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.student-schedule-mini-list b{
  color:#18223b;
  font-size:12px;
}
.student-schedule-mini-list span{
  color:#667085;
  font-size:11px;
}
.schedule-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(15,23,42,.38);
  backdrop-filter:blur(5px);
}
.schedule-modal{
  position:relative;
  width:min(790px,100%);
  max-height:min(92dvh,840px);
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:16px;
  padding:28px 24px 20px;
  border-radius:24px;
  background:#fff;
  color:#25304a;
  box-shadow:0 28px 80px rgba(15,23,42,.24);
}
.schedule-modal-head{
  display:flex;
  align-items:center;
  gap:9px;
}
.schedule-modal-head span{
  font-size:20px;
}
.schedule-modal-head h2{
  margin:0;
  font-size:20px;
  line-height:1.15;
  font-weight:950;
}
.schedule-lesson-form{
  min-height:0;
  overflow:auto;
  padding-right:4px;
}
.schedule-type-switch{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:14px;
  padding:3px;
  border-radius:14px;
  background:#f1f4fa;
}
.schedule-type-switch label{
  min-width:0;
}
.schedule-type-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.schedule-type-switch span{
  min-height:32px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#4b5872;
  font-size:12px;
  font-weight:900;
}
.schedule-type-switch input:checked+span{
  background:#5268f2;
  color:#fff;
  box-shadow:0 8px 18px rgba(82,104,242,.22);
}
.schedule-form-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.28fr);
  gap:20px;
}
.schedule-form-main,
.schedule-form-extra section{
  min-width:0;
  display:grid;
  gap:10px;
}
.schedule-form-extra section{
  padding:15px;
  border-radius:14px;
  background:#f4f7fd;
}
.schedule-form-extra section>b{
  color:#4b5872;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
}
.schedule-add-form textarea{
  width:100%;
  min-height:76px;
  resize:vertical;
  border:1px solid rgba(148,163,184,.28);
  border-radius:12px;
  background:#fff;
  color:var(--student-ink);
  padding:11px;
  font:inherit;
  font-size:13px;
  outline:0;
}
.schedule-add-form textarea:focus{
  border-color:#80a7ff;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}
.schedule-two-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.schedule-form-extra label span{
  color:#77829a;
  font-size:12px;
  font-weight:700;
}
.schedule-modal-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  margin-top:20px;
}
.schedule-modal-actions .schedule-form-message{
  min-width:0;
}
@media(max-width:1100px){
  body.student-app-page [data-student-panel="schedule"] .student-calendar-layout{
    grid-template-columns:1fr;
  }
  .student-calendar-toolbar{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .student-calendar-actions{
    width:100%;
    margin-left:0;
    justify-content:flex-start;
    overflow:auto;
  }
}
@media(max-width:720px){
  .student-course-task-card.is-practical-card .student-course-task-images figure.is-scheme{
    width:92%;
  }
  .student-course-task-card.is-practical-card .student-course-task-images figure.is-pdf-task{
    width:92%;
    padding:0;
  }
  .student-course-task-card.is-practical-card .student-course-task-images figure.is-pdf-task img{
    max-height:none;
  }
  .student-calendar-week{
    min-width:860px;
    grid-template-columns:46px repeat(7,112px);
  }
  .student-timezone{
    display:none;
  }
  .student-slot-popover{
    width:270px;
  }
  .schedule-modal{
    max-height:94dvh;
    padding:24px 15px 16px;
    border-radius:20px;
  }
  .schedule-form-grid,
  .schedule-two-fields,
  .schedule-modal-actions{
    grid-template-columns:1fr;
  }
  .schedule-modal-actions .student-primary,
  .schedule-modal-actions .student-secondary{
    width:100%;
  }
  body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-display-crop{
    width:92%;
  }
  body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-context-image{
    width:92%;
  }
}
@media(max-width:520px){
  .student-algebra-topics{
    grid-template-columns:1fr;
  }
  .student-course-task-card.is-practical-card .student-course-task-images figure.is-scheme{
    width:100%;
  }
  .student-course-task-card.is-practical-card .student-course-task-images figure.is-pdf-task{
    width:100%;
  }
  body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-display-crop{
    width:100%;
  }
  body.course-page[data-course-slug="oge-1-5-2026"] .task-image-frame.is-context-image{
    width:100%;
  }
}

/* Real homework assignments */
.student-homework-list{
  display:grid;
  align-content:start;
  gap:0;
}
.student-homework-assignment{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  padding:20px 2px;
  border-bottom:1px solid rgba(148,163,184,.24);
}
.student-homework-assignment:last-child{
  border-bottom:0;
}
.student-homework-assignment-main{
  min-width:0;
  display:grid;
  gap:9px;
}
.student-homework-assignment-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.student-homework-assignment-meta>small{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.student-homework-deadline{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 9px;
  border-radius:999px;
  background:#e8f0ff;
  color:#2454c6;
  font-size:11px;
  font-weight:900;
}
.student-homework-deadline.is-overdue{
  background:#fff0f0;
  color:#b42318;
}
.student-homework-deadline.is-today,
.student-homework-deadline.is-soon{
  background:#fff6db;
  color:#8a5a00;
}
.student-homework-deadline.is-complete{
  background:#e7f8ef;
  color:#137a47;
}
.student-homework-deadline.is-submitted{
  background:#eef2ff;
  color:#4156c7;
}
.student-homework-assignment h3{
  margin:0;
  color:#111827;
  font-size:17px;
  line-height:1.3;
  letter-spacing:0;
}
.student-homework-assignment p{
  max-width:76ch;
  margin:0;
  color:#526079;
  font-size:13px;
  line-height:1.5;
}
.student-homework-groups{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.student-homework-groups span{
  padding:4px 8px;
  border:1px solid rgba(20,184,166,.2);
  border-radius:999px;
  background:#ecfdf9;
  color:#0f766e;
  font-size:11px;
  font-weight:850;
}
.student-homework-progress-copy{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#64748b;
  font-size:12px;
  font-weight:750;
}
.student-homework-progress-copy b{
  color:#334155;
}
.student-homework-progress{
  width:100%;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#e8edf4;
}
.student-homework-progress i{
  height:100%;
  display:block;
  border-radius:inherit;
  background:#5268f2;
}
.student-homework-assignment.is-complete .student-homework-progress i{
  background:#1f9d62;
}
.student-homework-assignment.is-submitted .student-homework-progress i{
  background:#5268f2;
}
.student-homework-assignment-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.homework-delete-button,
.homework-modal-close{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(148,163,184,.28);
  border-radius:50%;
  background:#fff;
  color:#64748b;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.homework-delete-button:hover,
.homework-modal-close:hover{
  border-color:#fda4af;
  color:#be123c;
}
.student-homework-empty{
  min-height:230px;
}

/* Homework picker inside a course */
.homework-course-toolbar{
  position:sticky;
  top:0;
  z-index:8;
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto;
  align-items:center;
  gap:16px;
  padding:13px 14px;
  border:1px solid rgba(82,104,242,.22);
  border-radius:14px;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 28px rgba(15,23,42,.08);
  backdrop-filter:blur(12px);
}
.homework-course-toolbar-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.homework-course-toolbar-copy>span{
  color:#5268f2;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:0;
}
.homework-course-toolbar-copy>b{
  color:#172033;
  font-size:14px;
}
.homework-course-toolbar-copy strong{
  color:#5268f2;
  font-size:18px;
}
.homework-course-flash{
  color:#15803d;
  font-size:12px;
  font-weight:800;
}
.homework-course-toolbar-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.homework-course-toolbar-actions .is-quiet{
  border-color:transparent;
  background:transparent;
}
.homework-course-toolbar button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.student-course-task-card{
  transition:border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.student-course-task-card.is-homework-selected{
  border-color:#5268f2;
  background:#fbfcff;
  box-shadow:0 0 0 3px rgba(82,104,242,.10);
}
.student-course-task-card header{
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
}
.student-course-task-card header em{
  grid-row:1 / span 2;
  grid-column:3;
}
.homework-task-picker{
  grid-row:1 / span 2;
  grid-column:2;
  min-height:34px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:999px;
  background:#fff;
  color:#526079;
  cursor:pointer;
  font-size:12px;
  font-weight:900;
}
.homework-task-picker input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:#5268f2;
}
.homework-task-picker span{
  grid-column:auto!important;
  color:inherit!important;
  font-size:inherit!important;
}
.student-course-task-card.is-homework-selected .homework-task-picker{
  border-color:#5268f2;
  background:#eef2ff;
  color:#394bc5;
}

/* Homework assignment modal */
.homework-assign-backdrop{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(4px);
}
.homework-assign-modal{
  width:min(760px,100%);
  max-height:min(820px,92dvh);
  overflow:auto;
  padding:24px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 30px 80px rgba(15,23,42,.24);
}
.homework-assign-modal>header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.homework-assign-modal>header div{
  display:grid;
  gap:4px;
}
.homework-assign-modal>header span{
  color:#5268f2;
  font-size:12px;
  font-weight:900;
}
.homework-assign-modal h2{
  margin:0;
  color:#111827;
  font-size:22px;
  letter-spacing:0;
}
.homework-assign-modal form{
  display:grid;
  gap:16px;
}
.homework-assignment-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 15px;
  border-left:4px solid #5268f2;
  background:#f5f7ff;
}
.homework-assignment-summary b{
  color:#172033;
}
.homework-assignment-summary span{
  color:#5268f2;
  font-size:12px;
  font-weight:850;
}
.homework-form-field{
  min-width:0;
  display:grid;
  gap:7px;
}
.homework-form-field>span,
.homework-group-fieldset legend{
  color:#526079;
  font-size:12px;
  font-weight:900;
}
.homework-form-field input,
.homework-form-field textarea{
  width:100%;
  min-height:44px;
  border:1px solid rgba(148,163,184,.36);
  border-radius:10px;
  background:#fff;
  color:#172033;
  padding:10px 12px;
  font:inherit;
  outline:0;
}
.homework-form-field textarea{
  min-height:88px;
  resize:vertical;
}
.homework-form-field input:focus,
.homework-form-field textarea:focus{
  border-color:#7690ff;
  box-shadow:0 0 0 4px rgba(82,104,242,.11);
}
.homework-group-fieldset{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.homework-group-fieldset legend{
  margin-bottom:8px;
}
.homework-group-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.homework-group-option{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:10px 12px;
  border:1px solid rgba(148,163,184,.3);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
.homework-group-option:has(input:checked){
  border-color:#5268f2;
  background:#f2f4ff;
}
.homework-group-option input{
  width:18px;
  height:18px;
  flex:0 0 auto;
  accent-color:#5268f2;
}
.homework-group-option span{
  min-width:0;
  display:grid;
  gap:2px;
}
.homework-group-option b{
  overflow:hidden;
  color:#172033;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.homework-group-option small{
  color:#64748b;
  font-size:11px;
}
.homework-form-grid{
  display:grid;
  grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr);
  align-items:start;
  gap:12px;
}
.homework-form-message{
  min-height:17px;
  color:#b42318;
  font-size:12px;
  font-weight:800;
}
.homework-assign-modal footer{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  padding-top:2px;
}
.homework-no-groups{
  display:grid;
  gap:12px;
  padding:22px 0 4px;
}
.homework-no-groups b{
  color:#172033;
  font-size:18px;
}
.homework-no-groups p{
  max-width:58ch;
  margin:0;
  color:#64748b;
  line-height:1.55;
}
.homework-empty-group-note{
  padding:10px 12px;
  border-left:3px solid #f59e0b;
  background:#fffbeb;
  color:#7c5a14;
  font-size:12px;
  line-height:1.45;
}
.homework-no-groups>div{
  display:flex;
  gap:9px;
  margin-top:8px;
}

/* First five tasks: live text and tables, screenshots only for schemes */
.student-practical-context{
  display:grid;
  gap:14px;
  padding:16px 0 20px;
  border-top:1px solid rgba(148,163,184,.2);
  border-bottom:1px solid rgba(148,163,184,.2);
}
.student-practical-context-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:6px 16px;
}
.student-practical-context-head span{
  color:#5268f2;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:0;
}
.student-practical-context-head b{
  color:#526079;
  font-size:12px;
}
.practical-readable-copy{
  width:100%;
  display:grid;
  gap:10px;
  color:#172033;
  font-size:15px;
  line-height:1.62;
}
.practical-readable-copy p{
  max-width:92ch;
  margin:0;
}
.student-practical-scheme,
.practical-table-wrap{
  width:min(640px,68%);
  min-width:0;
  margin:4px auto 0;
}
.student-practical-scheme{
  display:grid;
  place-items:center;
}
.student-practical-scheme img{
  width:100%;
  max-height:560px;
  display:block;
  object-fit:contain;
  border:0;
  border-radius:0;
  background:#fff;
}
.student-practical-scheme.is-task-scheme{
  margin-top:0;
}
.practical-table-wrap{
  overflow-x:auto;
  border:1px solid rgba(100,116,139,.26);
  border-radius:8px;
  background:#fff;
}
.practical-data-table{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
  color:#172033;
  font-size:14px;
  line-height:1.35;
}
.practical-data-table th,
.practical-data-table td{
  min-width:72px;
  padding:10px 11px;
  border-right:1px solid rgba(100,116,139,.28);
  border-bottom:1px solid rgba(100,116,139,.28);
  text-align:center;
  vertical-align:middle;
}
.practical-data-table tr:last-child>*{
  border-bottom:0;
}
.practical-data-table tr>*:last-child{
  border-right:0;
}
.practical-data-table th{
  background:#f3f6fa;
  font-weight:900;
}
.practical-matching-table td{
  height:40px;
  background:#fff;
}
.practical-matching-table{
  min-width:0;
}
.practical-wide-table{
  min-width:960px;
}
.practical-tariff-table{
  min-width:0;
}
.student-tire-figures{
  width:min(640px,68%);
}

@media(max-width:900px){
  .homework-course-toolbar{
    grid-template-columns:1fr;
  }
  .homework-course-toolbar-actions{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
@media(max-width:720px){
  .student-homework-assignment{
    grid-template-columns:1fr;
    gap:14px;
  }
  .student-homework-assignment-actions{
    justify-content:space-between;
  }
  .student-homework-assignment-actions .student-primary{
    flex:1;
  }
  .homework-course-toolbar{
    position:relative;
    border-radius:12px;
  }
  .homework-course-toolbar-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .homework-course-toolbar-actions .student-primary{
    grid-column:1/-1;
  }
  .student-course-task-card header{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .student-course-task-card header em{
    display:none;
  }
  .homework-task-picker{
    grid-column:2;
  }
  .homework-assign-modal{
    padding:20px 16px;
    border-radius:14px;
  }
  .homework-group-options,
  .homework-form-grid{
    grid-template-columns:1fr;
  }
  .student-practical-scheme,
  .practical-table-wrap,
  .student-tire-figures{
    width:82%;
  }
  .practical-readable-copy{
    font-size:14px;
  }
}
@media(max-width:520px){
  .homework-assign-backdrop{
    padding:8px;
  }
  .homework-assign-modal{
    max-height:96dvh;
  }
  .homework-assignment-summary{
    align-items:flex-start;
    flex-direction:column;
  }
  .homework-assign-modal footer,
  .homework-no-groups>div{
    display:grid;
    grid-template-columns:1fr;
  }
  .homework-assign-modal footer .student-primary,
  .homework-assign-modal footer .student-secondary,
  .homework-no-groups .student-primary,
  .homework-no-groups .student-secondary{
    width:100%;
  }
  .student-practical-scheme,
  .practical-table-wrap,
  .student-tire-figures{
    width:94%;
  }
  .student-practical-context-head{
    display:grid;
  }
  .practical-matching-table{
    width:100%;
    table-layout:fixed;
    font-size:11px;
  }
  .practical-matching-table th,
  .practical-matching-table td{
    min-width:0;
    padding:8px 4px;
    overflow-wrap:anywhere;
  }
  .practical-matching-table tr>*:first-child{
    width:34%;
  }
  .practical-matching-table td{
    height:36px;
  }
}

/* Homework and results dashboard */
.student-home-grid{
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:minmax(255px,1.08fr) minmax(190px,.72fr);
  gap:16px;
}
.student-priority-card,
.student-results-card{
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:14px;
  padding:20px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.22);
  border-radius:22px;
  background:rgba(255,255,255,.9);
  box-shadow:0 1px 0 rgba(255,255,255,.75),0 16px 44px rgba(15,23,42,.06);
}
.student-priority-card{grid-column:1 / span 7}
.student-results-card{grid-column:8 / -1}
.student-home-grid>.student-courses-card{grid-column:1 / span 7}
.student-home-grid>.student-focus-card{grid-column:8 / -1}
.student-home-priority,
.student-home-results{
  min-width:0;
  min-height:0;
  display:grid;
  align-content:start;
  gap:12px;
  overflow:auto;
  padding-right:2px;
}
.student-home-priority h2{
  margin:0;
  color:#111827;
  font-size:25px;
  line-height:1.12;
  letter-spacing:0;
}
.student-home-priority>p{
  max-width:72ch;
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.52;
}
.home-priority-heading,
.home-priority-progress-copy,
.home-priority-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.home-priority-heading small,
.home-priority-actions>span{
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.home-priority-progress-copy{
  color:#526079;
  font-size:12px;
  font-weight:800;
}
.home-priority-progress-copy b{color:#172033}
.home-priority-actions{margin-top:2px}
.home-dashboard-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:13px 0;
  border-top:1px solid rgba(148,163,184,.22);
  border-bottom:1px solid rgba(148,163,184,.22);
}
.home-dashboard-metrics>div{
  min-width:0;
  display:grid;
  gap:2px;
  padding:0 13px;
  border-right:1px solid rgba(148,163,184,.2);
}
.home-dashboard-metrics>div:first-child{padding-left:0}
.home-dashboard-metrics>div:last-child{border-right:0}
.home-dashboard-metrics b{
  color:#111827;
  font-size:22px;
  line-height:1;
}
.home-dashboard-metrics span{
  color:#64748b;
  font-size:10px;
  font-weight:800;
}
.home-dashboard-list,
.student-home-results{
  display:grid;
  align-content:start;
}
.home-dashboard-row,
.home-result-row{
  min-width:0;
  display:grid;
  align-items:center;
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid rgba(148,163,184,.2);
}
.home-dashboard-row:last-child,
.home-result-row:last-child{border-bottom:0}
.home-dashboard-row{grid-template-columns:minmax(0,1fr) auto auto}
.home-result-row{grid-template-columns:38px minmax(0,1fr) auto}
.home-dashboard-row>span,
.home-result-row>span:nth-child(2){
  min-width:0;
  display:grid;
  gap:3px;
}
.home-dashboard-row b,
.home-result-row b{
  overflow:hidden;
  color:#172033;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-dashboard-row small,
.home-result-row small{
  overflow:hidden;
  color:#64748b;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-dashboard-row>strong,
.home-result-row>strong{
  color:#334155;
  font-size:12px;
  white-space:nowrap;
}
.home-dashboard-row button,
.home-result-row button,
.home-dashboard-empty button{
  min-height:34px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:999px;
  background:#fff;
  color:#172033;
  padding:0 12px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.home-result-mark{
  width:36px;
  height:36px;
  display:grid!important;
  place-items:center;
  border-radius:9px;
  background:#eef2f7;
  color:#475569;
  font-size:10px;
  font-weight:950;
}
.home-result-mark.is-good{background:#e7f8ef;color:#137a47}
.home-result-mark.is-blue{background:#e8f0ff;color:#2454c6}
.home-result-mark.is-wait{background:#fff6db;color:#8a5a00}
.home-dashboard-empty{
  min-height:112px;
  display:grid;
  align-content:center;
  justify-items:start;
  gap:7px;
  color:#64748b;
}
.home-dashboard-empty.is-large{min-height:180px}
.home-dashboard-empty b{color:#172033;font-size:15px}
.home-dashboard-empty span{max-width:58ch;font-size:12px;line-height:1.5}

.teacher-homework-workflow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border:1px solid rgba(82,104,242,.18);
  border-radius:14px;
  background:#f5f7ff;
}
.teacher-homework-workflow[hidden]{display:none}
.teacher-homework-workflow-copy{
  min-width:0;
  display:grid;
  gap:3px;
}
.teacher-homework-workflow-copy span{
  color:#5268f2;
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
}
.teacher-homework-workflow-copy b{color:#172033;font-size:14px}
.teacher-homework-workflow-copy small{color:#64748b;font-size:11px}
.student-homework-card{grid-template-rows:auto auto 1fr}
.student-homework-grade{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:10px;
  padding-top:10px;
  border-top:1px solid rgba(31,157,98,.18);
}
.student-homework-grade b{color:#137a47;font-size:13px;white-space:nowrap}
.student-homework-grade span{color:#526079;font-size:12px;line-height:1.45}
.student-homework-assignment-actions .student-secondary{white-space:nowrap}

.homework-start-copy{
  max-width:72ch;
  margin:0 0 16px;
  color:#64748b;
  font-size:13px;
  line-height:1.55;
}
.homework-start-courses{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.homework-start-courses>button{
  min-width:0;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:12px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:12px;
  background:#fff;
  color:#172033;
  text-align:left;
  cursor:pointer;
}
.homework-start-courses>button:hover{border-color:#7690ff;background:#f8faff}
.homework-start-courses>button>span:nth-child(2){min-width:0;display:grid;gap:3px}
.homework-start-courses b,
.homework-start-courses small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homework-start-courses b{font-size:13px}
.homework-start-courses small{color:#64748b;font-size:11px}
.homework-start-courses strong{color:#5268f2;font-size:11px;white-space:nowrap}

.homework-review-modal{
  width:min(1180px,100%);
  max-height:94dvh;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 30px 80px rgba(15,23,42,.24);
}
.homework-review-modal>header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  border-bottom:1px solid rgba(148,163,184,.22);
}
.homework-review-modal>header>div{display:grid;gap:3px}
.homework-review-modal>header span{color:#5268f2;font-size:11px;font-weight:950}
.homework-review-modal h2{margin:0;color:#111827;font-size:21px;letter-spacing:0}
.homework-review-modal header p{margin:0;color:#64748b;font-size:12px}
.homework-review-layout{
  min-height:0;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
}
.homework-review-students{
  min-height:0;
  display:grid;
  align-content:start;
  gap:4px;
  overflow:auto;
  padding:14px;
  border-right:1px solid rgba(148,163,184,.22);
  background:#f8fafc;
}
.homework-review-students>div{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:4px 3px 10px;
  color:#64748b;
  font-size:11px;
}
.homework-review-students>button{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:10px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#172033;
  text-align:left;
  cursor:pointer;
}
.homework-review-students>button:hover{background:#fff}
.homework-review-students>button.is-active{border-color:#cbd7ff;background:#fff}
.homework-review-students button>span{min-width:0;display:grid;gap:2px}
.homework-review-students button b,
.homework-review-students button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homework-review-students button b{font-size:12px}
.homework-review-students button small{color:#64748b;font-size:10px}
.homework-review-students em,
.homework-review-task em{
  border-radius:999px;
  padding:4px 7px;
  font-size:9px;
  font-style:normal;
  font-weight:950;
  white-space:nowrap;
}
.homework-review-students em.is-checked,
.homework-review-task em.is-checked{background:#e7f8ef;color:#137a47}
.homework-review-students em.is-ready,
.homework-review-task em.is-ready{background:#fff6db;color:#8a5a00}
.homework-review-students em.is-progress{background:#e8f0ff;color:#2454c6}
.homework-review-students em.is-new,
.homework-review-task em.is-new{background:#edf1f5;color:#64748b}
.homework-review-task em.is-wrong{background:#fff0f0;color:#b42318}
.homework-review-workspace{
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(170px,1fr) auto;
  overflow:hidden;
}
.homework-review-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:14px 18px;
  border-bottom:1px solid rgba(148,163,184,.22);
}
.homework-review-summary>div{
  display:grid;
  gap:2px;
  padding:0 12px;
  border-right:1px solid rgba(148,163,184,.2);
}
.homework-review-summary>div:first-child{padding-left:0}
.homework-review-summary>div:last-child{border-right:0}
.homework-review-summary span{color:#64748b;font-size:10px;font-weight:800}
.homework-review-summary b{color:#172033;font-size:18px}
.homework-review-task-list{
  min-height:0;
  overflow:auto;
  padding:0 18px;
}
.homework-review-task{
  display:grid;
  gap:8px;
  padding:14px 0;
  border-bottom:1px solid rgba(148,163,184,.2);
}
.homework-review-task>div{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
}
.homework-review-task>div>span{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#edf2ff;
  color:#394bc5;
  font-size:10px;
  font-weight:950;
}
.homework-review-task b{color:#172033;font-size:12px}
.homework-review-task p{margin:0;color:#526079;font-size:12px;line-height:1.5}
.homework-review-task p small{display:block;color:#64748b}
.homework-review-attachment{
  width:max-content;
  max-width:210px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#2454c6;
  font-size:11px;
  font-weight:850;
}
.homework-review-attachment img{
  width:46px;
  height:36px;
  object-fit:cover;
  border:1px solid rgba(148,163,184,.28);
  border-radius:6px;
}
.homework-review-form{
  display:grid;
  grid-template-columns:210px minmax(0,1fr) auto;
  align-items:end;
  gap:12px;
  padding:14px 18px 16px;
  border-top:1px solid rgba(148,163,184,.22);
  background:#fff;
}
.homework-review-score{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.homework-review-score label{display:grid;gap:5px}
.homework-review-score span{color:#526079;font-size:10px;font-weight:900}
.homework-review-score input{
  width:100%;
  min-height:42px;
  border:1px solid rgba(148,163,184,.36);
  border-radius:9px;
  padding:8px 10px;
  font:inherit;
}
.homework-review-form .homework-form-field textarea{min-height:68px}
.homework-review-form-actions{display:grid;justify-items:end;gap:6px}
.homework-review-form-actions .homework-form-message{color:#15803d;text-align:right}

@media(max-width:1050px){
  .student-home-grid{
    height:auto;
    min-height:100%;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
    overflow:auto;
  }
  .student-priority-card,
  .student-results-card,
  .student-home-grid>.student-courses-card,
  .student-home-grid>.student-focus-card{grid-column:auto}
  .student-priority-card,
  .student-courses-card{grid-column:1}
  .student-results-card,
  .student-focus-card{grid-column:2}
  .home-dashboard-metrics{grid-template-columns:1fr 1fr}
  .home-dashboard-metrics>div:nth-child(2){border-right:0}
  .home-dashboard-metrics>div:nth-child(n+3){margin-top:10px}
  .homework-review-layout{grid-template-columns:210px minmax(0,1fr)}
  .homework-review-form{grid-template-columns:180px minmax(0,1fr)}
  .homework-review-form-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}
}
@media(max-width:760px){
  .student-home-grid{grid-template-columns:1fr}
  .student-priority-card,
  .student-results-card,
  .student-home-grid>.student-courses-card,
  .student-home-grid>.student-focus-card{grid-column:1}
  .student-priority-card,
  .student-results-card{overflow:visible}
  .student-home-priority,
  .student-home-results{overflow:visible}
  .teacher-homework-workflow{align-items:flex-start;flex-direction:column}
  .teacher-homework-workflow .student-primary{width:100%}
  .homework-start-courses{grid-template-columns:1fr}
  .homework-review-modal{max-height:96dvh;border-radius:14px}
  .homework-review-layout{display:block;overflow:auto}
  .homework-review-students{
    grid-template-columns:repeat(2,minmax(170px,1fr));
    overflow-x:auto;
    border-right:0;
    border-bottom:1px solid rgba(148,163,184,.22);
  }
  .homework-review-students>div{grid-column:1/-1}
  .homework-review-workspace{display:block;overflow:visible}
  .homework-review-summary{grid-template-columns:1fr 1fr}
  .homework-review-summary>div:nth-child(2){border-right:0}
  .homework-review-summary>div:nth-child(n+3){margin-top:10px}
  .homework-review-task-list{overflow:visible}
  .homework-review-form{grid-template-columns:1fr}
  .homework-review-form-actions{grid-column:auto}
}
@media(max-width:520px){
  .student-priority-card,
  .student-results-card{padding:16px;border-radius:16px}
  .home-priority-heading,
  .home-priority-actions{align-items:flex-start;flex-direction:column}
  .home-priority-actions .student-primary{width:100%}
  .home-dashboard-row{grid-template-columns:minmax(0,1fr) auto}
  .home-dashboard-row>strong{grid-column:1}
  .home-dashboard-row>button{grid-column:2;grid-row:1 / span 2}
  .student-homework-grade{grid-template-columns:1fr}
  .homework-start-courses>button{grid-template-columns:38px minmax(0,1fr)}
  .homework-start-courses strong{grid-column:2}
  .homework-review-modal>header{padding:16px}
  .homework-review-students{grid-template-columns:repeat(2,minmax(150px,1fr));padding:10px}
  .homework-review-summary{padding:12px}
  .homework-review-task-list{padding:0 12px}
  .homework-review-task>div{grid-template-columns:26px minmax(0,1fr)}
  .homework-review-task em{grid-column:2}
  .homework-review-form{padding:12px}
  .homework-review-form-actions{display:grid;justify-items:stretch}
  .homework-review-form-actions .student-primary{width:100%}
}

/* PDF homework assignments */
.teacher-homework-workflow-actions,
.homework-empty-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.homework-start-courses>button.is-pdf-option{
  grid-column:1/-1;
  border-color:rgba(82,104,242,.34);
  background:#f5f7ff;
}
.homework-start-courses>button.is-pdf-option .student-course-icon{
  background:#5268f2;
  color:#fff;
  font-size:10px;
  font-weight:950;
}
.homework-pdf-assign-modal form{
  overflow:auto;
}
body.student-app-page .homework-pdf-assign-modal h2{
  font-size:22px!important;
  line-height:1.2;
}
.homework-pdf-picker{
  min-width:0;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:76px;
  padding:12px 14px;
  border:1px dashed #91a1d9;
  border-radius:14px;
  background:#f7f8ff;
  cursor:pointer;
}
.homework-pdf-picker:hover{
  border-color:#5268f2;
  background:#f1f4ff;
}
.homework-pdf-picker input{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  overflow:hidden;
  opacity:0;
}
.homework-pdf-picker-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#5268f2;
  color:#fff;
  font-size:11px;
  font-weight:950;
}
.homework-pdf-picker>span:nth-of-type(2){
  min-width:0;
  display:grid;
  gap:4px;
}
.homework-pdf-picker b,
.homework-pdf-picker small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.homework-pdf-picker b{color:#172033;font-size:14px}
.homework-pdf-picker small{color:#64748b;font-size:11px}
.homework-pdf-picker strong{
  padding:8px 10px;
  border:1px solid rgba(82,104,242,.24);
  border-radius:9px;
  background:#fff;
  color:#4156c7;
  font-size:11px;
}
.homework-pdf-warning{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border:1px solid #f4d58a;
  border-radius:12px;
  background:#fff9e8;
}
.homework-pdf-warning b{color:#7c5200;font-size:13px}
.homework-pdf-warning span{color:#8a6a22;font-size:11px}
.homework-pdf-file{
  width:min(100%,520px);
  min-width:0;
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border:1px solid rgba(82,104,242,.18);
  border-radius:11px;
  background:#f7f8ff;
}
.homework-pdf-file>span{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#5268f2;
  color:#fff;
  font-size:9px;
  font-weight:950;
}
.homework-pdf-file>div{
  min-width:0;
  display:grid;
  gap:2px;
}
.homework-pdf-file b,
.homework-pdf-file small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.homework-pdf-file b{color:#172033;font-size:12px}
.homework-pdf-file small{color:#64748b;font-size:10px}
.homework-pdf-preview-modal{
  width:min(1120px,100%);
  height:min(92dvh,900px);
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 30px 80px rgba(15,23,42,.26);
}
.homework-pdf-preview-modal>header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border-bottom:1px solid rgba(148,163,184,.22);
}
.homework-pdf-preview-modal>header>div{min-width:0;display:grid;gap:3px}
.homework-pdf-preview-modal>header span{color:#5268f2;font-size:10px;font-weight:950}
.homework-pdf-preview-modal h2,
.homework-pdf-preview-modal p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homework-pdf-preview-modal h2{margin:0;color:#172033;font-size:20px;letter-spacing:0}
.homework-pdf-preview-modal p{margin:0;color:#64748b;font-size:11px}
.homework-pdf-viewer{min-height:0;background:#eef1f5}
.homework-pdf-viewer iframe{width:100%;height:100%;display:block;border:0;background:#fff}
.homework-pdf-preview-modal>footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:12px 18px;
  border-top:1px solid rgba(148,163,184,.22);
}
.homework-pdf-loading{
  display:grid;
  place-content:center;
  justify-items:center;
  gap:6px;
  color:#64748b;
}
.homework-pdf-loading b{color:#172033;font-size:16px}
.homework-pdf-loading span{font-size:12px}
.homework-review-pdf{align-content:center;min-height:170px}
.homework-review-pdf-open{justify-self:start}

@media(max-width:760px){
  .teacher-homework-workflow-actions,
  .homework-empty-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .teacher-homework-workflow-actions button,
  .homework-empty-actions button{width:100%}
  .homework-pdf-preview-modal{height:96dvh;border-radius:14px}
  .homework-pdf-preview-modal>footer{display:grid;grid-template-columns:1fr 1fr}
  .homework-pdf-preview-modal>footer a{width:100%;justify-content:center}
}
@media(max-width:520px){
  .homework-pdf-picker{grid-template-columns:42px minmax(0,1fr)}
  .homework-pdf-picker-icon{width:42px;height:42px}
  .homework-pdf-picker strong{grid-column:2;justify-self:start}
  .student-homework-assignment-actions{width:100%;flex-wrap:wrap}
  .student-homework-assignment-actions .student-primary,
  .student-homework-assignment-actions .student-secondary{flex:1 1 130px}
  .homework-pdf-preview-modal>header{padding:14px}
  .homework-pdf-preview-modal>footer{grid-template-columns:1fr}
}
