:root {
  color-scheme: light;
  --background:#ffffff; --foreground:#252c49; --card:#ffffff; --card-foreground:#252c49; --popover:#ffffff; --popover-foreground:#252c49;
  --primary:#ff4e5b; --primary-foreground:#ffffff; --secondary:#eef4fc; --secondary-foreground:#252c49; --muted:#f2f5fa; --muted-foreground:#6d748b;
  --accent:#edf2ff; --accent-foreground:#3657cd; --destructive:#ca3344; --border:#e6e9f0; --input:#e0e4ed; --ring:#ff7680;
  --chart-1:#ff4e5b; --chart-2:#4265df; --chart-3:#42ab91; --chart-4:#f3c641; --chart-5:#7f64db; --radius:1rem;
  --sidebar:#ffffff; --sidebar-foreground:#252c49; --sidebar-primary:#4265df; --sidebar-primary-foreground:#ffffff; --sidebar-accent:#eef2ff; --sidebar-accent-foreground:#4265df; --sidebar-border:#e6e9f0; --sidebar-ring:#4265df;
}

*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;background:#fff;color:#252c49;font-family:'Avenir Next','Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button,a{transition:background .18s,box-shadow .18s,color .18s,transform .18s}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #849ff0;outline-offset:4px}a{text-decoration:none;color:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.2}h1,h2{font-weight:750;letter-spacing:-.035em}h3{font-weight:700;letter-spacing:-.018em}svg{flex-shrink:0}input,textarea{font:inherit}input::placeholder,textarea::placeholder{color:#989faf}input:focus,textarea:focus{outline:none;border-color:#6985e2!important;box-shadow:0 0 0 3px #dce5ff}input[type=number]{appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{appearance:none}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.section{padding-top:92px;padding-bottom:92px}.muted{color:#72798d}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.11em;color:#7b8499;display:block;margin-bottom:14px}.btn{height:auto;min-height:48px;padding:13px 21px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;border:1px solid transparent;background:#fa4c5a;color:#fff;font-size:15px;font-weight:650;line-height:1.35;white-space:normal;box-shadow:none}.btn:hover:not(:disabled){background:#ed3e4d;box-shadow:0 4px 14px #fa4c5a25;transform:translateY(-1px)}.btn-secondary{background:#f2f5fc;border-color:#e2e7f2;color:#384b7e}.btn-secondary:hover:not(:disabled){background:#e6edfa;box-shadow:none}.btn-quiet{background:transparent;color:#596782}.btn-quiet:hover:not(:disabled){background:#f2f5fa}.btn svg{width:18px;height:18px}.full{width:100%}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand{display:flex;align-items:center;gap:18px;flex-shrink:0}.logo-crop{display:block;width:180px;height:43px;overflow:hidden}.logo-crop img{width:100%;height:100%;object-fit:cover;object-position:center 53%}.brand-description{font-size:11px;line-height:1.6;font-weight:500;max-width:165px;border-left:1px solid #e5e8f0;padding-left:18px;color:#6b7389}.landing-header{height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}.landing-header nav{display:flex;gap:26px;font-size:14px;color:#646c82}.landing-header nav a:hover{color:#fa4c5a}.header-login{display:flex;gap:8px;align-items:center;border:1px solid #e5e8f0;padding:10px 19px;border-radius:10px;font-size:14px;font-weight:600}.hero{background:#eaf5ff;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1fr 410px;gap:65px;align-items:center;min-height:685px}.hero-story{padding-top:40px;position:relative}.hero-labels{display:flex;gap:9px;margin-bottom:22px}.pill{border-radius:8px;padding:6px 12px;background:#dcecfb;color:#46678d;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:7px;line-height:1.3}.white-pill{background:white;color:#3c5a7d}.hero h1{font-size:59px;line-height:1.08;letter-spacing:-.04em;position:relative;z-index:1}.hero h1 span{color:#fb4f5e}.hero-lead{font-size:23px;line-height:1.4;font-weight:500;margin-top:19px;position:relative;z-index:1}.hero-description{font-size:15px;color:#6e7c94;line-height:1.6;margin-top:12px;position:relative;z-index:1}.hero-art{height:268px;margin-top:4px;margin-left:-20px;margin-right:-20px;position:relative}.hero-art img{height:100%;width:100%;object-fit:cover;object-position:center 62%;mix-blend-mode:multiply;mask-image:linear-gradient(to bottom,transparent 0,#000 15%,#000 90%,transparent 100%);border-radius:24px}.login-card{background:#fff;border:1px solid #fff;border-radius:24px;padding:31px 32px 25px;box-shadow:0 18px 50px #34538310;margin:32px 0;position:relative;z-index:2}.login-icon{height:47px;width:47px;border-radius:14px;background:#fff0ee;color:#f16871;display:grid;place-items:center;margin-bottom:14px}.login-card h2{font-size:26px;letter-spacing:-.03em}.login-card>.muted{font-size:14px;margin-top:5px}.login-card form{margin-top:22px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:550;line-height:1.4;margin-bottom:16px;color:#4c546c}.field input,.field textarea{width:100%;padding:12px 14px;min-height:47px;border:1px solid #e0e5ef;border-radius:10px;background:#fbfcff;color:#27304d;font-size:15px}.field textarea{resize:vertical;line-height:1.8}.password-field{display:flex;align-items:center;position:relative}.password-field input{padding-right:47px}.password-field button{position:absolute;right:13px;color:#8992a7;display:grid;place-items:center}.forgot-link{display:block;margin-left:auto;margin-top:-6px;margin-bottom:19px;font-size:12px;color:#78839c}.forgot-link:hover{color:#fa4c5a}.or{border-top:1px solid #eef0f5;text-align:center;margin-top:27px;line-height:1}.or span{font-size:12px;color:#8890a3;background:#fff;padding:0 9px;position:relative;top:-7px}.register-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 19px}.register-buttons a{display:flex;gap:7px;align-items:center;justify-content:center;border:1px solid #e5e9f2;border-radius:11px;padding:14px 7px;font-size:13px;font-weight:600}.register-buttons a>svg:first-child{color:#7789bd}.register-buttons a>svg:last-child{color:#8b97b0;width:12px}.register-buttons a:hover{background:#f1f5ff;border-color:#b9cafa}.demo-links{display:flex;align-items:center;justify-content:center;gap:7px;color:#97a0b1;font-size:11px}.demo-links button{color:#637dab;text-decoration:underline;text-underline-offset:3px}.facts{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0;border-bottom:1px solid #e9ecf3;gap:23px}.facts>div{display:flex;align-items:center;gap:14px}.facts svg{color:#768eba;width:25px;height:25px}.facts span{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#8a91a3}.facts b{color:#394561;font-size:15px;font-weight:650}.about-section{display:grid;grid-template-columns:1fr 1.4fr;gap:100px}.section-intro h2,.section-heading h2,.faq-section h2{font-size:38px;line-height:1.18}.section-intro p{color:#7b8396;font-size:15px;line-height:1.7;margin:21px 0 25px}.benefits{display:flex;flex-direction:column;gap:30px}.benefits>div{display:grid;grid-template-columns:57px 1fr;column-gap:20px}.icon-box{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;flex-shrink:0}.icon-box svg{width:25px;height:25px}.benefits .icon-box{grid-row:1/3}.benefits h3{font-size:20px;margin:2px 0 8px}.benefits p{font-size:15px;color:#7b8396;max-width:390px}.peach{background:#fff0ec;color:#e97170}.blue{background:#edf2ff;color:#637fd0}.yellow{background:#fff7d9;color:#caa333}.mint{background:#e8f7f1;color:#4c9f86}.steps-section{background:#f7f9fd}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:37px}.section-heading>p{font-size:15px;color:#81899d;line-height:1.7}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.step-grid article{position:relative;background:#fff;border:1px solid #e9edf4;border-radius:20px;padding:30px 28px}.step-number{font-size:35px;color:#c7d1e4;font-weight:700;letter-spacing:-.06em}.step-grid h3{font-size:20px;margin:26px 0 14px}.step-grid p{font-size:14px;color:#81899d;line-height:1.7;min-height:94px}.step-grid a,.step-foot{display:flex;align-items:center;gap:8px;color:#5676b1;font-size:13px;font-weight:600;margin-top:24px}.step-grid .featured-step{background:#eaf1ff;border-color:#dce6fb}.featured-step .step-number{color:#91a8de}.step-tag{position:absolute;top:35px;right:24px;color:#6883bb;background:#fff9;padding:5px 10px;border-radius:6px;font-size:11px;font-weight:650}.prototype-note{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:27px;font-size:12px;color:#8a94a9}.award-grid{display:grid;grid-template-columns:1fr 1fr .95fr;gap:30px}.award-preview{border-radius:16px;min-height:230px;background:#fff5f2;border:1px solid #f8e7e2;display:flex;align-items:center;flex-direction:column;justify-content:center;position:relative;text-align:center;padding:22px;margin-bottom:23px;overflow:hidden}.award-preview .mini-brand{position:absolute;top:20px;left:22px}.mini-brand{font-size:18px;font-weight:850;color:#fa626a;letter-spacing:-.06em}.award-preview>svg{margin:16px 0 14px;color:#ec9a85}.award-preview h4{font-size:25px;font-weight:750;color:#bd6e64}.award-preview>span:last-child{font-size:7px;font-weight:600;letter-spacing:.1em;color:#c19f98;margin-top:18px}.blue-award{background:#f0f5ff;border-color:#e1e9fa}.blue-award>svg,.blue-award h4{color:#708dc4}.blue-award>span:last-child{color:#94a3c0}.award-card h3{font-size:20px;margin-bottom:10px}.award-card p{font-size:14px;color:#828a9b;line-height:1.65}.award-aside{padding:18px 0 0 24px}.award-aside h3{font-size:28px;margin-top:22px;line-height:1.3}.award-aside p{font-size:15px;color:#848c9f;line-height:1.7;margin:20px 0 23px}.award-aside a{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650;color:#eb6570}.faq-section{border-top:1px solid #e9ecf3;display:grid;grid-template-columns:1fr 1.55fr;gap:85px}.faq-section h2{font-size:34px;margin-bottom:16px}.faq-section p{font-size:15px}.faq-list [data-slot=accordion-item]{border-color:#e9ecf3}.faq-list [data-slot=accordion-trigger]{font-size:15px;font-weight:600;line-height:1.5;padding:21px 0;gap:20px}.faq-list [data-slot=accordion-content]{font-size:14px;line-height:1.75;color:#788197}.faq-list [data-slot=accordion-trigger]>svg{color:#8a98b7}.final-cta{background:#fff0ec;border-radius:21px;padding:39px 48px;display:flex;align-items:center;justify-content:space-between;margin-bottom:55px;gap:25px}.final-cta h2{font-size:31px}.final-cta p{font-size:15px;color:#a88784;margin-top:10px}.cta-link{display:flex;align-items:center;gap:27px;font-size:15px;color:#fff;background:#fa4c5a;padding:16px 24px;border-radius:12px;font-weight:650;white-space:nowrap}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:35px;font-size:12px;color:#9bA2b3}.site-footer .brand-description{display:none}.site-footer .logo-crop{width:125px;height:35px}.footer-proto{color:#adb4c2}.app-dialog{max-height:90dvh;overflow:auto;border-radius:22px;border:1px solid #e5e9f1;padding:30px;gap:15px}.wide-dialog{max-width:760px!important}.modal-title{font-size:25px!important;line-height:1.25!important;letter-spacing:-.025em}.modal-description{font-size:14px!important;color:#8690a3!important;line-height:1.6}.app-dialog form{margin-top:7px}.app-dialog p{line-height:1.65}.app-dialog [data-slot=dialog-close]{right:15px;top:15px}.help-copy h3{font-size:18px;margin-top:15px}.help-copy p{font-size:15px;color:#7d879c;margin:10px 0 20px}.error-box{padding:13px 15px;background:#fff0f0;border:1px solid #f5d6d8;color:#bc414d;border-radius:10px;font-size:14px;line-height:1.6;margin:13px 0}.info-box{display:flex;align-items:center;gap:10px;padding:14px;border-radius:11px;background:#eef4ff;color:#647da8;font-size:13px;line-height:1.6;margin:16px 0}.small{width:40px;height:40px;border-radius:11px}.example-task{text-align:center}.example-task>.btn{margin-top:24px}.success-text{color:#419b7c;font-size:15px;margin-top:20px}.return-session{margin-top:24px}.return-session p{font-size:14px;line-height:1.7;margin-bottom:20px}.return-session .btn{width:100%}.select-field{width:100%!important;min-height:47px!important;border-radius:10px!important;font-size:15px!important;background:#fbfcff!important;box-shadow:none!important}.simple-header{display:flex;align-items:center;justify-content:space-between;padding:27px 0}.back-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#7a879f}.registration-page{min-height:100vh;background:#f5f9fe}.register-layout{display:grid;grid-template-columns:1fr 440px;gap:95px;padding:37px 35px 80px;align-items:start}.register-story{padding-top:30px}.register-story h1{font-size:43px;margin:23px 0;line-height:1.15}.register-story>p{font-size:16px;color:#7b879d;line-height:1.7;max-width:410px}.register-story>img{width:100%;border-radius:30px;margin-top:35px;mix-blend-mode:multiply}.register-trust{display:flex;gap:12px;align-items:center;justify-content:center;font-size:14px;color:#7b95a2;margin-top:17px}.register-trust svg:nth-of-type(2){margin-left:12px}.registration-card{background:#fff;border:1px solid #e8edf6;border-radius:23px;padding:33px;box-shadow:0 15px 50px #36508307}.registration-card h2{font-size:26px;margin:20px 0 9px}.registration-card>.muted{font-size:14px;line-height:1.6}.registration-card form{margin-top:26px}.checkbox-label{display:flex;align-items:flex-start;gap:11px;font-size:12px;color:#7e879d;line-height:1.6;margin:21px 0}.checkbox-label [data-slot=checkbox]{margin-top:2px;flex-shrink:0;width:17px;height:17px;border-color:#cbd3e2}.auth-foot{font-size:13px;color:#8a94a8;text-align:center;margin-top:20px}.auth-foot a{color:#5879b9;font-weight:600}.role-switch{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#8b96ad;margin-top:23px;padding-top:19px;border-top:1px solid #edf0f5}.credentials-card{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f4f7fc;border-radius:15px;padding:23px;margin:23px 0}.credentials-card span{display:flex;flex-direction:column;font-size:12px;color:#7f8ca3;gap:7px}.credentials-card strong{font-family:ui-monospace,monospace;font-size:22px;color:#354564;letter-spacing:.03em}.registration-card>.btn+.btn{margin-top:14px}.app-loading,.auth-gate{min-height:90vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#7d88a1}.auth-gate h1{font-size:32px;color:#263451}.auth-gate .brand{margin-bottom:35px}.center{display:flex;justify-content:center}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.teacher-shell{background:#f5f7fb}.teacher-sidebar [data-slot=sidebar-inner]{background:#fff}.teacher-sidebar [data-slot=sidebar-header]{padding:27px 22px 20px;gap:19px}.sidebar-brand .logo-crop{width:160px;height:38px}.sidebar-caption{color:#a0a9bb;font-size:10px;font-weight:700;letter-spacing:.1em;padding-left:10px}.teacher-sidebar [data-slot=sidebar-content]{padding:5px 18px}.teacher-sidebar [data-slot=sidebar-menu]{gap:7px}.teacher-sidebar [data-slot=sidebar-menu-button]{height:49px;border-radius:11px;font-size:14px;gap:12px;padding:13px;color:#7d879a}.teacher-sidebar [data-slot=sidebar-menu-button][data-active=true]{background:#edf2ff;color:#5775bd;font-weight:650}.teacher-sidebar [data-slot=sidebar-menu-button]>svg{width:19px;height:19px}.nav-count{margin-left:auto;background:#dce6ff;padding:0 7px;font-size:11px;border-radius:4px}.sidebar-olymp{margin-top:36px;border:1px solid #e8edf7;background:linear-gradient(130deg,#f4f8ff,#fff);border-radius:16px;padding:22px 17px}.sidebar-olymp .icon-box{width:42px;height:42px;border-radius:12px}.sidebar-olymp h3{font-size:19px;margin:17px 0 10px}.sidebar-olymp p{font-size:11px;color:#9da7ba;margin-bottom:15px}.sidebar-olymp .pill{font-size:10px}.sidebar-olymp a{display:flex;gap:7px;align-items:center;color:#8c9bb5;font-size:11px;margin-top:23px}.teacher-sidebar [data-slot=sidebar-footer]{padding:20px 24px;gap:15px}.sidebar-help{display:flex;align-items:center;gap:10px;font-size:13px;color:#8c95a8;margin-bottom:15px}.sidebar-user{display:flex;gap:10px;align-items:center}.avatar{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;background:#e7edfd;color:#6782bf;border-radius:12px;font-size:15px;font-weight:650;flex-shrink:0}.sidebar-user strong{font-size:12px;display:block;line-height:1.45}.sidebar-user span:not(.avatar){font-size:11px;color:#9ca4b4}.logout{display:flex;align-items:center;gap:10px;font-size:12px;color:#97a0b2;padding:5px 2px}.teacher-main{flex:1;min-width:0}.dashboard-header{height:76px;background:#fff;border-bottom:1px solid #e9edf5;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:#98a2b5}.dashboard-header>div{display:flex;align-items:center;gap:13px}.dashboard-header strong{color:#697790;font-weight:500}.dashboard-header>a{display:flex;align-items:center;gap:10px;color:#7b8cab}.dashboard-content{padding:35px 38px 20px;max-width:1440px;margin:auto}.dashboard-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.dashboard-title .eyebrow{font-size:10px;margin-bottom:12px;letter-spacing:.065em}.dashboard-title h1{font-size:32px}.dashboard-title p{font-size:13px;margin-top:10px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:27px}.dashboard-stats>div{background:#fff;border:1px solid #e5eaf3;border-radius:14px;padding:20px;display:flex;align-items:center;gap:14px}.stat-icon{width:41px;height:41px;border-radius:12px;display:grid;place-items:center}.stat-icon svg{width:20px;height:20px}.dashboard-stats>div>span:last-child{display:flex;flex-direction:column;gap:2px}.dashboard-stats b{font-size:26px;line-height:1.1;letter-spacing:-.04em}.dashboard-stats small{font-size:11px;color:#929caf}.dashboard-stats i{font-size:12px;font-weight:400;letter-spacing:0;color:#a4aec0;font-style:normal}.demo-banner{display:flex;align-items:center;gap:15px;padding:16px 19px;background:#edf3ff;border:1px solid #e0e9fc;border-radius:14px;margin-top:22px}.demo-banner p{font-size:12px;color:#8b9bb9;line-height:1.7}.demo-banner strong{font-weight:600;color:#5c76a6}.demo-banner a{display:flex;align-items:center;gap:8px;font-size:11px;color:#6786bc;margin-left:auto;white-space:nowrap}.class-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:29px 0 24px}.class-card{display:flex;align-items:center;gap:13px;padding:14px 20px;border-radius:13px;border:1px solid #e3e8f2;background:#fff;min-width:185px;text-align:left}.class-card.selected{border-color:#7e9bdf;box-shadow:0 0 0 1px #93ace130;background:#fafdff}.class-icon{height:40px;width:42px;display:grid;place-items:center;background:#f1f4fb;color:#8a99b6;border-radius:10px;font-size:15px;font-weight:600}.class-card.selected .class-icon{background:#e5edff;color:#587ec6}.class-card>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.class-card strong{font-size:14px}.class-card small{font-size:11px;color:#9da6b7}.class-card>svg{margin-left:18px;color:#839ed7}.class-add{height:57px;width:57px;border:1px dashed #d3ddea;border-radius:13px;color:#99aac4}.teacher-tabs{gap:0}.table-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e7f0}.table-tabs{background:transparent!important;border-radius:0!important;padding:0!important;height:46px!important;gap:24px!important}.table-tabs [data-slot=tabs-trigger]{height:46px;border:0;border-bottom:2px solid transparent;border-radius:0!important;box-shadow:none!important;color:#99a3b5;font-size:13px;padding:0 3px;background:transparent!important}.table-tabs [data-slot=tabs-trigger][data-state=active]{border-bottom-color:#f36b78;color:#3f4c69}.class-year{font-size:11px;color:#a3adbf}.table-panel{background:white;border:1px solid #e5eaf2;border-radius:14px;margin-top:20px;overflow:hidden}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px}.table-toolbar h2{font-size:18px;letter-spacing:-.015em}.table-toolbar h2>span{font-size:11px;padding:2px 7px;background:#eff3fa;border-radius:6px;color:#95a0b7;margin-left:7px}.table-toolbar>div{display:flex;gap:9px}.table-toolbar .btn{font-size:12px;min-height:38px;padding:10px 12px;border-radius:9px}.table-toolbar .btn svg{width:15px;height:15px}.table-search{display:flex;gap:9px;align-items:center;padding:0 22px 18px;color:#a6b0c2}.table-search input{border:none;font-size:12px;flex:1;background:transparent;min-width:150px;padding:8px}.table-search input:focus{box-shadow:none}.table-search>button{display:flex;align-items:center;gap:7px;color:#88a0c5;font-size:11px}.teacher-main [data-slot=table-head]{color:#98a3b7;background:#f8fafc;font-weight:500;font-size:11px;padding:14px 22px;height:46px}.teacher-main [data-slot=table-cell]{font-size:13px;padding:17px 22px;border-color:#eff2f7}.teacher-main [data-slot=table-row]{border-color:#edf1f7}.student-name{display:flex;align-items:center;gap:12px}.student-name strong{font-size:12px;font-weight:550;white-space:nowrap}.student-name .avatar{width:32px;height:32px;border-radius:10px;font-size:12px}.avatar-1{background:#e9f5ef;color:#71aa92}.avatar-2{background:#fdf0e9;color:#c59b80}.avatar-3{background:#f0ecfa;color:#a18fc9}.teacher-main code{font-family:ui-monospace,monospace;color:#798cac;font-size:12px;border-radius:5px;padding:4px 7px;background:#f3f6fc;white-space:nowrap}.teacher-main code.pin{background:#fff9ec;color:#ad9a70;letter-spacing:.07em}.status{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;border-radius:6px;padding:4px 8px;background:#f1f4f8;color:#98a2b4}.status-finished{background:#ecf8f2;color:#6ea48c}.status-active{background:#fff7df;color:#b6a061}.row-actions{display:flex;justify-content:flex-end;gap:13px;color:#9baac2}.row-actions button{padding:4px}.right{text-align:right!important}.table-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#99a7bf;padding:16px 22px;background:#fbfcff;border-top:1px solid #edf1f7}.dashboard-footer{display:flex;justify-content:space-between;padding-top:40px;font-size:10px;color:#a6afc0}.empty-state{text-align:center;background:#fff;border:1px solid #e5eaf4;border-radius:20px;padding:65px 25px;margin-top:25px}.empty-state h2{font-size:26px;margin:23px 0 14px}.empty-state p{color:#8997ad;font-size:14px;line-height:1.8;margin:15px 0 26px}.empty-state .icon-box{margin:auto}.small-empty{border:none;margin:0;border-radius:0;padding:40px 20px 55px}.small-empty>svg{margin:auto;color:#9cadcb}.small-empty h3{font-size:22px;margin-top:20px}.no-results{padding:35px;text-align:center;color:#97a3b8;font-size:14px}.results-overview{padding:12px 24px 24px;display:flex;align-items:center;gap:35px}.results-overview>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:180px}.results-overview b{font-size:25px}.results-overview span{font-size:12px;color:#9aa7bf}.results-overview [data-slot=progress]{max-width:400px;height:7px;background:#edf2fb}.results-overview [data-slot=progress-indicator]{background:#80bba8}.result-filter{padding:12px 24px 23px;display:flex;align-items:center;gap:20px}.result-filter>span{font-size:11px;color:#a0aec5}.result-filter [data-slot=select-trigger]{font-size:12px;min-width:160px;color:#7e91af;box-shadow:none}.score-text{font-size:18px;color:#6d83a9}.award-link{display:flex;gap:7px;align-items:center;color:#92a2be;font-size:11px}.awards-panel{display:grid;grid-template-columns:1fr 1.2fr;gap:25px;margin-top:20px}.teacher-award-tile,.student-awards{padding:30px;background:#fff;border:1px solid #e5eaf2;border-radius:15px}.teacher-award-tile h2{font-size:24px;margin:23px 0 15px}.teacher-award-tile p{font-size:13px;color:#93a0b7;line-height:1.8;margin-bottom:24px}.student-awards h2{font-size:19px;margin-bottom:20px}.student-awards>button{display:flex;align-items:center;gap:13px;width:100%;border-bottom:1px solid #eff2f7;padding:14px 0;text-align:left}.student-awards>button>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.student-awards>button>svg{margin-left:auto;color:#abb8cc}.student-awards strong{font-size:13px;font-weight:600}.student-awards small{font-size:11px;color:#9cabc3}.student-awards .icon-box{width:39px;height:39px;border-radius:11px}.student-awards .icon-box svg{width:20px;height:20px}.access-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-height:460px;overflow:auto;padding:2px}.access-card{padding:20px;border:1px dashed #ccd7e7;border-radius:12px;background:#fff}.access-card h3{font-size:16px;margin:15px 0 5px}.access-card p{font-size:11px;color:#9ba6b9;margin-bottom:15px}.access-card>div{display:flex;justify-content:space-between;font-size:12px;margin:7px 0}.access-card strong{font-family:ui-monospace,monospace;letter-spacing:.035em}.access-card>small{font-size:9px;color:#a8b4c7;display:block;overflow-wrap:anywhere;margin-top:16px}.certificate{border:8px double #f4b4b8;padding:35px 38px;text-align:center;background:#fffaf8;color:#736872;min-height:540px;display:flex;flex-direction:column;align-items:center}.cert-brand{font-size:32px;font-weight:850;letter-spacing:-.06em;color:#fb5866}.cert-strap{font-size:9px;letter-spacing:.14em;color:#b99b9e;margin-top:7px}.certificate>svg{color:#d2ab66;margin:30px auto 24px}.certificate h2{font-size:31px;color:#bb6871;margin-bottom:22px}.certificate>p{font-size:14px}.certificate h3{font-size:26px;margin:18px 0 10px}.cert-line{height:1px;width:75%;background:#ead5d4;margin:22px 0}.certificate footer{margin-top:33px;color:#c1a2a2;font-size:10px}.teacher-certificate{background:#fafcff;border-color:#b7c8ef}.teacher-certificate h2{color:#7c97c8}.print-only{display:none}.mobile-menu{display:none!important}
.student-page{min-height:100vh;background:#f7f9fd}.student-header{display:flex;align-items:center;justify-content:space-between;min-height:95px;gap:20px;border-bottom:1px solid #e5ebf5}.student-account{display:flex;gap:20px;align-items:center}.grade-badge{font-size:12px;background:#eaf0fc;color:#8195bb;border-radius:7px;padding:6px 10px}.student-profile{display:flex;align-items:center;gap:10px;font-size:14px;color:#7c8ca8}.student-profile strong{font-weight:550}.student-profile>svg{color:#abb9cd}.icon-button{padding:7px;color:#97a7c0}.round-breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;color:#adb7ca;padding-top:25px}.round-breadcrumb strong{font-weight:500;color:#8495b2}.start-intro{text-align:center;max-width:740px;margin:38px auto 40px}.blue-pill{background:#edf0fc;color:#8999c1;font-size:12px;gap:8px}.start-intro h1{font-size:46px;line-height:1.15;margin:21px 0 23px}.start-intro>p{font-size:17px;color:#808da7;line-height:1.8}.timer{display:flex;gap:11px;align-items:center;justify-content:center;margin:29px 0 26px;font-variant-numeric:tabular-nums}.timer>span{display:flex;align-items:center;justify-content:center;background:#eeebfa;color:#42465f;font-size:65px;width:67px;height:90px;line-height:1;border-radius:14px;font-weight:650;letter-spacing:-.05em}.timer-colon{font-size:45px;margin:0 1px;font-weight:600;color:#626482}.start-button{background:#7c64d8;border-radius:15px;min-width:355px;font-size:20px;padding:20px 30px;min-height:66px;gap:22px}.start-button:hover:not(:disabled){background:#6c55c8;box-shadow:0 7px 25px #7c64d82a}.timer-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:15px;font-size:12px;color:#abb4c8}.start-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#fff;border:1px solid #e9edf5;border-radius:15px;max-width:930px;margin:20px auto 48px;padding:25px 32px}.start-rules>div{display:flex;align-items:center;gap:15px}.start-rules svg{color:#9cadd0;width:24px}.start-rules span{display:flex;flex-direction:column;font-size:11px;color:#a6b2c8;gap:4px}.start-rules strong{font-size:13px;color:#6d7e9f;font-weight:600}.tasks-preview>div:first-child,.review-section>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.tasks-preview h2,.review-section h2{font-size:25px}.tasks-preview>div:first-child>span,.review-section>div:first-child>span{font-size:12px;color:#a5b1c7}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.preview-grid article{background:#fff;border:1px solid #e6ecf6;border-radius:15px;padding:23px;position:relative}.task-icon{width:43px;height:43px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.task-color-0{background:#e9effe;color:#7995d1}.task-color-1{background:#fff0e9;color:#d6a084}.task-color-2{background:#eef6ed;color:#91b492}.task-color-3{background:#f2edfc;color:#b09ad6}.preview-grid small{position:absolute;right:20px;top:30px;font-size:9px;color:#aab7cd;letter-spacing:.045em}.preview-grid h3{font-size:16px;margin:20px 0 7px}.preview-grid article>span:last-child{font-size:12px;color:#a5b2c9}.student-demo-note{text-align:center;font-size:12px;color:#adb8cb;margin:30px auto;line-height:1.7}.round-start{padding-bottom:20px}.round-topbar{display:flex;justify-content:space-between;align-items:center;padding:29px 0 27px}.round-topbar .eyebrow{font-size:11px;margin-bottom:8px}.round-topbar h1{font-size:31px}.active-clock{display:flex;align-items:center;gap:18px}.active-clock>span{font-size:12px;color:#a0abc1}.small-timer{gap:5px;margin:0}.small-timer>span{width:33px;height:44px;font-size:28px;border-radius:7px}.small-timer .timer-colon{font-size:27px;margin:0}.urgent>span{background:#fee9e7;color:#ce665f}.urgent .timer-colon{color:#ce665f}.round-layout{display:grid;grid-template-columns:230px 1fr;gap:27px;align-items:start}.task-nav{border:1px solid #e5ebf5;background:#fff;border-radius:17px;padding:24px 17px}.task-nav h2{font-size:17px;margin-bottom:7px;padding-left:4px}.task-nav>p{font-size:11px;color:#a4afc4;padding-left:4px}.task-nav nav{display:flex;flex-direction:column;gap:5px;margin-top:23px}.task-nav nav button{display:flex;align-items:center;gap:9px;padding:12px 7px;width:100%;text-align:left;border-radius:8px;color:#8e9bb3}.task-nav nav button>span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#f2f5fa;color:#9dabc3;font-size:11px;flex-shrink:0}.task-nav nav button>strong{font-size:11px;font-weight:500}.task-nav nav button>svg{margin-left:auto;color:#77b39c;flex-shrink:0}.task-nav nav button.current{background:#efebfb;color:#8d79bd}.task-nav nav button.current>span{background:#9683d0;color:#fff}.task-nav nav button.has-answer:not(.current)>span{background:#eaf5ef;color:#8bb39c}.task-progress{margin:23px 4px 21px}.task-progress [data-slot=progress]{height:5px;background:#f1f4fa}.task-progress [data-slot=progress-indicator]{background:#a396d1}.task-progress>span{font-size:10px;color:#a0acc2;display:block;margin-top:9px}.task-nav>.btn{width:100%;font-size:12px;min-height:40px;border-radius:9px;padding:10px}.question-panel{background:#fff;border:1px solid #e5eaf4;border-radius:19px;overflow:hidden}.question-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f7;padding:22px 28px;gap:15px}.question-header>div{display:flex;align-items:center;gap:14px}.question-header small{font-size:10px;color:#a4aec2;letter-spacing:.07em}.question-header h2{font-size:21px;margin-top:4px}.points{padding:5px 9px;background:#fff8e6;color:#b9a577;font-size:11px;border-radius:6px;white-space:nowrap}.task-canvas{padding:32px 29px;min-height:410px;text-align:center}.task-prompt{font-size:19px;font-weight:550;line-height:1.5;margin-bottom:14px}.task-hint{font-size:13px;color:#94a3bf;line-height:1.75}.sequence{display:flex;align-items:center;justify-content:center;gap:13px;margin:30px 0}.sequence>span{width:62px;height:70px;background:#f1f5fd;border-radius:13px;display:grid;place-items:center;font-size:28px;font-weight:650;color:#8299c4}.large-sequence{gap:14px;margin:40px 0}.large-sequence>span{width:76px;height:92px;font-size:35px;color:#7997cd;background:#edf3fe}.sequence .missing{background:#fff2e9;border:2px dashed #e9bea0;color:#d6a17f}.answer-options{display:flex;align-items:center;justify-content:center;gap:13px;margin:28px 0 7px}.answer-options button{min-width:72px;height:64px;border:2px solid #e8eef8;border-radius:12px;background:#fff;color:#8f9db6;font-size:24px;font-weight:550}.answer-options button:hover:not(:disabled){border-color:#b8c8e9;background:#f5f8ff}.answer-options button.selected{color:#7c68bc;background:#f1ecfc;border-color:#a693d5}.question-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ecf0f6;padding:22px 28px;background:#fdfefe}.question-footer .btn{font-size:13px;padding:12px 16px;min-height:43px}.save-status{display:flex;align-items:center;gap:6px;font-size:11px;color:#91b4a5}.save-error{color:#cc8585}.question-panel>.error-box{margin:15px 26px}.round-bottom-note{display:flex;align-items:center;justify-content:center;gap:8px;color:#a7b2c7;font-size:12px;padding:26px 0 40px}.train-matching{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin:25px auto 5px;max-width:540px}.equation-trains,.depot-targets{display:flex;flex-direction:column;gap:12px}.equation-train{display:grid;grid-template-columns:33px 1fr;align-items:center;gap:4px 12px;background:#f0f5ff;border:2px solid #e5edfc;border-radius:13px;padding:13px 15px;text-align:center;color:#91a9d8;min-height:86px}.equation-train svg{grid-row:1/3}.equation-train b{font-size:21px;white-space:nowrap;color:#7292cc}.equation-train>span{font-size:9px;color:#a3b6d8}.equation-train.selected{border-color:#a08acd;background:#f3effc}.equation-train.assigned{background:#f1f8f2;border-color:#d9eadc}.depot-target{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:2px dashed #e5dbc5;border-radius:13px;padding:9px;background:#fffcf4;min-height:86px}.depot-target>span{font-size:8px;letter-spacing:.1em;color:#c9b692}.depot-target>b{font-size:26px;color:#bba173;line-height:1.2}.depot-target>small{font-size:9px;color:#c7b897}.depot-target.filled{border-style:solid;border-color:#d1e5d6;background:#f3faf5}.reset-task{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#a6b2c8;margin-top:23px}.balance-equation{font-size:37px;line-height:1.5;letter-spacing:.01em;font-weight:600;color:#9b90c5;margin:47px 0 31px;overflow-wrap:anywhere}.number-answer{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:32px}.number-answer>span{font-size:31px;color:#ad9acd;margin-right:6px}.number-answer button{width:40px;height:40px;border-radius:11px;background:#f3f6fc;color:#9aaac7;font-size:23px}.number-answer input{height:77px;width:86px;border:2px solid #e6def5;border-radius:14px;background:#f8f4fe;font-size:31px;text-align:center;color:#9581ba}.route-game{display:flex;align-items:center;justify-content:center;gap:38px;margin-top:28px}.route-grid{display:grid;grid-template-columns:repeat(4,64px);gap:7px}.route-grid button{height:60px;border:2px solid #e8eef8;border-radius:10px;background:#fafcff;display:grid;place-items:center;color:#cbbb68}.route-grid button.chosen{background:#eef3fd;border-color:#a7bce3;color:#bdad5e}.route-grid button.current{border-color:#a196c9;background:#f2eefa}.route-grid button span:not(.blocked-symbol){font-size:8px;color:#91a7cb;font-weight:700}.route-grid button.blocked{background:#e9edf4;border-color:#e9edf4;opacity:1;color:#ced7e6}.blocked-symbol{font-size:24px;font-weight:400}.route-dot{width:4px;height:4px;border-radius:50%;background:#d3deee}.route-summary{display:flex;flex-direction:column;align-items:center;gap:6px}.route-summary>svg{color:#e8cb6d;width:30px;height:30px;margin-bottom:6px}.route-summary>b{font-size:24px;color:#a0a9c0}.route-summary>span{font-size:11px;color:#b2bdd0}.task-clues{text-align:left;list-style:none;padding:0;margin:20px auto 30px;max-width:430px;font-size:14px;color:#8e9bb4;line-height:1.9}.task-clues li{display:flex;align-items:baseline;gap:10px}.task-clues li:before{content:'•';color:#bcaed5}.order-blocks{display:flex;align-items:flex-end;justify-content:center;gap:16px;margin:33px 0 21px}.order-item{width:110px}.order-index{font-size:11px;color:#bec7d7}.order-color{height:100px;display:flex;align-items:center;justify-content:center;color:#273551;font-size:13px;font-weight:550;border-radius:11px;margin-top:10px;box-shadow:inset 0 -6px #0000000a}.order-controls{display:flex;justify-content:center;gap:13px;margin-top:12px}.order-controls button{border:1px solid #e8edf6;background:#fff;padding:5px;border-radius:7px;color:#aebbd2}.order-controls button:disabled{opacity:.2}.shape-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;max-width:440px;margin:26px auto}.shape-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #e9eef7;border-radius:13px;padding:15px;background:#fff}.shape-grid button.selected{border-color:#a496d0;background:#f7f4ff}.shape-grid svg{width:100%;height:71px}.shape-grid button>span{font-size:10px;color:#b1bed3;margin-top:13px}.shape-grid button>b{position:absolute;top:4px;right:9px;font-size:14px;color:#a79acb}.pour-game{position:relative;display:flex;justify-content:center;gap:135px;margin:25px auto;max-width:500px}.jug-column{width:130px}.jug-column>strong{font-size:12px;font-weight:550;color:#9aa9c4}.jug-meter{height:166px;border:3px solid #b8cce8;border-top-width:1px;border-radius:0 0 16px 16px;background:#f6f9fe;position:relative;margin:14px 10px 16px;overflow:hidden}.jug-water{position:absolute;bottom:0;width:100%;background:#a9d4ec;transition:height .4s}.jug-value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:5px;font-size:31px;font-weight:650;color:#6e94b8}.jug-value small{font-size:16px;font-weight:400}.jug-actions{display:flex;flex-direction:column;gap:8px;align-items:center}.jug-actions button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;border:1px solid #e3ebf7;background:#f3f7ff;border-radius:8px;padding:8px 10px;color:#8da8cf;width:125px}.jug-actions button:disabled{opacity:.45}.pour-arrows{position:absolute;left:50%;top:86px;transform:translateX(-50%);display:flex;flex-direction:column;gap:11px}.pour-arrows button{display:flex;align-items:center;gap:4px;justify-content:center;padding:9px;border:1px solid #e5ecf7;color:#a3b6d4;border-radius:9px;background:#f6f9fe}.pour-arrows button:disabled{opacity:.4}.pour-arrows button>span{font-size:9px}.pour-bottom{display:flex;justify-content:center;gap:35px;align-items:center}.pour-bottom .reset-task{margin-top:0}.pour-bottom>span{font-size:10px;color:#b2bed1}.code-lock{display:flex;flex-direction:column;align-items:center;gap:14px;margin:28px 0;color:#b4a6d0}.code-lock label{font-size:12px;color:#acb6ca}.code-lock input{font-size:45px;letter-spacing:.35em;text-indent:.35em;border:2px solid #e3dcf4;border-radius:14px;background:#f6f2fd;color:#a08bbb;width:215px;height:84px;text-align:center}.code-lock input::placeholder{color:#c5b7df}.solution-box{display:flex;gap:13px;align-items:flex-start;background:#f2f7ff;border:1px solid #e0eafa;padding:20px;border-radius:14px;color:#859cc0}.solution-box h3{font-size:16px;margin-bottom:10px}.solution-box p{font-size:14px;color:#8e9eba}.wide-dialog .task-canvas{padding:20px 8px;min-height:0}.save-warning{background:#fff2e9;padding:18px 24px;color:#ad8569;font-size:13px;display:flex;flex-direction:column;gap:7px}.save-warning button{text-decoration:underline}.time-up{padding:80px 30px;text-align:center;color:#8999b6;display:flex;align-items:center;flex-direction:column;gap:20px}.time-up h2{font-size:30px}.result-hero{text-align:center;max-width:760px;margin:45px auto 35px}.result-hero>.icon-box{margin-bottom:23px}.result-hero .eyebrow{font-size:11px;color:#a5b0c5}.result-hero h1{font-size:40px;margin:18px 0}.result-hero>p{font-size:16px;color:#97a5bf;line-height:1.8}.result-score{display:flex;flex-direction:column;align-items:center;margin:26px auto 18px;background:#f0ecfb;border-radius:20px;max-width:245px;padding:20px}.result-score strong{font-size:53px;line-height:1.2;letter-spacing:-.06em;color:#9786c5}.result-score strong>span{font-size:26px;color:#b7acd2;letter-spacing:0}.result-score>span{font-size:12px;color:#b0a4cc}.result-mini-stats{display:flex;align-items:center;justify-content:center;gap:24px;margin:24px 0}.result-mini-stats>span{display:flex;align-items:center;gap:8px;font-size:13px;color:#91a6bf}.result-hero>.btn{padding:15px 30px}.result-award-banner{display:flex;align-items:center;gap:18px;border:1px solid #f0e3db;background:#fff9f1;border-radius:15px;max-width:830px;margin:32px auto;padding:24px}.result-award-banner h3{font-size:19px;color:#b3987b}.result-award-banner p{font-size:13px;color:#bcac99;margin-top:6px}.result-award-banner>button{margin-left:auto;color:#bda78d}.review-section{margin:50px auto 30px;max-width:900px}.review-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.review-list>button{display:flex;align-items:center;gap:13px;padding:20px;background:#fff;border:1px solid #e7edf6;border-radius:13px;text-align:left}.review-list>button>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.review-list small{font-size:10px;color:#adb8cc;font-weight:400}.review-list strong{font-size:13px;font-weight:550}.review-list b{font-size:20px;white-space:nowrap;margin-left:auto}.review-list b.correct{color:#92b6a4}.review-list b.incorrect{color:#c3a5a4}.review-list>button>svg{color:#b8c3d6}.results-page{padding-bottom:55px}
/* Comfortable text sizes and stronger contrast for daily use. */
.brand-description,.demo-links,.forgot-link,.or span,.site-footer,.prototype-note,.step-tag,.sidebar-caption,.sidebar-olymp p,.sidebar-olymp .pill,.sidebar-olymp a,.sidebar-user strong,.sidebar-user span:not(.avatar),.dashboard-header,.dashboard-title .eyebrow,.dashboard-stats small,.demo-banner p,.demo-banner a,.class-card small,.class-year,.table-search>button,.teacher-main [data-slot=table-head],.table-note,.dashboard-footer,.status,.award-link,.result-filter>span,.access-card p,.student-demo-note,.timer-note,.start-rules span,.preview-grid small,.task-nav>p,.task-nav nav button>strong,.task-progress>span,.question-header small,.points,.save-status,.equation-train>span,.depot-target>span,.depot-target>small,.route-summary>span,.order-index,.jug-column>strong,.jug-actions button,.pour-arrows button>span,.pour-bottom>span,.review-list small{font-size:12px}.dashboard-title p,.demo-banner p,.class-card strong,.table-tabs [data-slot=tabs-trigger],.table-toolbar .btn,.table-search input,.teacher-main [data-slot=table-cell],.student-name strong,.teacher-main code,.award-link,.start-rules strong,.preview-grid article>span:last-child,.task-nav nav button>strong,.task-nav>.btn,.task-hint,.reset-task,.jug-actions button,.review-list strong{font-size:14px}.task-nav nav button>strong{font-size:12px}.muted,.hero-description,.section-intro p,.benefits p,.section-heading>p,.step-grid p,.award-card p,.award-aside p,.faq-list [data-slot=accordion-content],.registration-card>.muted,.register-story>p,.dashboard-title p,.task-hint,.result-hero>p{color:#727f96}.dashboard-stats small,.table-note,.table-search input,.teacher-main [data-slot=table-head],.class-year,.dashboard-footer,.status-not_started,.student-name strong,.teacher-main code,.task-nav nav button,.start-rules span,.preview-grid article>span:last-child,.save-status,.result-filter>span{color:#72839d}.status-finished{color:#3b8668}.status-active{color:#977c31}.demo-banner p,.demo-banner a{color:#647faa}.student-profile,.tasks-preview>div:first-child>span,.review-section>div:first-child>span,.task-progress>span,.preview-grid small,.timer-note,.student-demo-note,.round-bottom-note{color:#8191ab}.question-panel .task-prompt{color:#475570}.answer-options button{color:#6a7c9c}.task-nav{padding-left:12px;padding-right:12px}.task-nav nav button{padding:11px 5px;gap:7px}.sidebar-user strong{font-size:12px}.certificate .cert-strap,.certificate footer{font-size:12px}.award-preview>span:last-child{font-size:9px}.access-card>small{font-size:12px}.route-grid button span:not(.blocked-symbol){font-size:10px}.table-panel .table-note{font-size:12px}.task-clues{color:#7386a5}.timer-note{font-size:12px}.app-dialog .certificate{min-height:510px}.question-footer .save-status{font-size:12px}.task-nav .task-progress>span{font-size:12px}.status{font-size:12px}
@media(min-width:1440px){.wrap{width:min(1250px,calc(100% - 100px))}.hero-inner{grid-template-columns:1fr 420px;gap:95px}.hero h1{font-size:66px}.hero-art{height:275px}.hero-inner{min-height:710px}}
@media(max-width:1150px){.landing-header .brand-description{display:none}.landing-header nav{gap:19px}.hero-inner{gap:30px;grid-template-columns:1fr 370px}.hero h1{font-size:52px}.hero-story{padding-top:36px}.hero-art{height:250px}.login-card{padding:27px}.about-section{gap:55px}.dashboard-content{padding:28px 24px}.dashboard-header{padding:0 24px}.dashboard-stats{gap:10px}.dashboard-stats>div{padding:16px 12px;gap:10px}.stat-icon{width:35px;height:35px}.demo-banner a{display:none}.table-toolbar{align-items:flex-start}.table-toolbar>div{flex-wrap:wrap;justify-content:flex-end}.teacher-main [data-slot=table-cell],.teacher-main [data-slot=table-head]{padding-left:15px;padding-right:15px}.class-year{display:none}.table-tabs{gap:18px!important}.register-layout{gap:55px;padding-left:0;padding-right:0}.register-story h1{font-size:38px}.round-layout{grid-template-columns:207px 1fr;gap:20px}.task-canvas{padding-left:20px;padding-right:20px}.large-sequence>span{width:63px;height:82px;font-size:30px}.train-matching{gap:35px}.order-blocks{gap:11px}.order-item{width:91px}.facts{gap:15px}.facts b{font-size:14px}.facts span{font-size:12px}}
@media(max-width:900px){.wrap{width:calc(100% - 44px)}.landing-header{height:85px}.landing-header nav{gap:17px;font-size:13px}.logo-crop{width:158px;height:41px}.header-login{display:none}.hero-inner{grid-template-columns:1fr 340px;gap:25px;min-height:650px}.hero h1{font-size:43px}.hero-lead{font-size:20px}.hero-description{font-size:14px}.hero-art{height:245px;margin-left:-15px;margin-right:-15px}.hero-labels{gap:6px}.hero-labels .pill{font-size:10px}.login-card{padding:23px 24px}.login-card h2{font-size:24px}.facts{grid-template-columns:1fr 1fr;gap:23px;padding:25px 10px}.section{padding-top:70px;padding-bottom:70px}.about-section{gap:40px;grid-template-columns:1fr 1.1fr}.section-intro h2,.section-heading h2{font-size:33px}.section-heading>p{font-size:13px}.benefits{gap:26px}.benefits>div{grid-template-columns:46px 1fr;gap:7px 15px}.benefits .icon-box{width:46px;height:46px;border-radius:13px}.benefits h3{font-size:18px}.benefits p{font-size:14px}.step-grid{gap:13px}.step-grid article{padding:23px 20px}.step-grid h3{font-size:18px}.step-tag{font-size:10px;right:15px;top:26px}.step-grid p{font-size:13px;min-height:120px}.step-grid a,.step-foot{font-size:12px}.award-grid{gap:22px}.award-aside{padding:10px 0}.award-aside h3{font-size:24px}.award-aside p{font-size:14px}.award-preview{min-height:210px;padding:18px}.award-preview h4{font-size:22px}.award-preview .mini-brand{left:15px;top:15px}.award-preview>span:last-child{font-size:8px}.faq-section{gap:35px;grid-template-columns:.9fr 1.3fr}.faq-section h2{font-size:30px}.final-cta{padding:33px}.final-cta h2{font-size:27px}.teacher-main{width:100%}.dashboard-stats{grid-template-columns:1fr 1fr}.dashboard-title{align-items:flex-start}.dashboard-title h1{font-size:28px}.dashboard-title>.btn{font-size:12px;padding:11px 13px}.table-toolbar{flex-direction:column;gap:20px}.table-toolbar>div{justify-content:flex-start}.table-search>button{font-size:0}.table-search>button>svg{width:18px;height:18px}.table-tabs [data-slot=tabs-trigger]{font-size:12px}.table-tabs{gap:14px!important}.awards-panel{grid-template-columns:1fr}.dashboard-header>a{display:none}.class-card{min-width:175px}.register-layout{grid-template-columns:1fr 400px;gap:35px}.register-story h1{font-size:31px}.register-story>p{font-size:15px}.registration-card{padding:28px}.register-trust{gap:7px;font-size:12px}.registration-page .brand-description{display:none}.round-layout{grid-template-columns:1fr}.task-nav{border:0;background:transparent;padding:0}.task-nav>h2,.task-nav>p,.task-nav .task-progress,.task-nav>.btn{display:none}.task-nav nav{display:grid;grid-template-columns:repeat(8,1fr);margin:0;gap:10px}.task-nav nav button{padding:10px;justify-content:center;background:#fff;border:1px solid #e1e8f4}.task-nav nav button>strong{display:none}.task-nav nav button>span{background:transparent;font-size:16px}.task-nav nav button>svg{margin-left:0;width:14px}.task-nav nav button.current>span{background:transparent;color:#8b78bb}.task-nav nav button.has-answer:not(.current){background:#f0f8f3}.task-canvas{min-height:390px}.student-header .brand-description{display:none}.preview-grid{grid-template-columns:repeat(4,1fr);gap:11px}.preview-grid article{padding:18px}.preview-grid small{display:none}.preview-grid h3{font-size:14px}.preview-grid article>span:last-child{font-size:12px}.start-rules{padding:24px;gap:15px}.start-rules>div{gap:10px}.start-rules svg{width:19px}.start-rules span{font-size:11px}.start-rules strong{font-size:12px}.review-list{gap:12px}.review-list>button{padding:17px 13px;gap:10px}.review-list .task-icon{width:36px;height:36px}.review-list strong{font-size:12px}}
@media(max-width:767px){.mobile-menu{display:inline-flex!important}.dashboard-title>.btn{min-width:145px}.teacher-main{width:100%}.teacher-sidebar [data-slot=sidebar-inner]{padding-top:15px}.dashboard-content{padding:27px 20px}.sidebar-brand .logo-crop{width:155px}.dashboard-stats{grid-template-columns:repeat(4,1fr)}.dashboard-stats>div{flex-direction:column;align-items:flex-start;gap:12px}.dashboard-stats small{font-size:11px}.stat-icon{width:33px;height:33px}.table-toolbar{flex-direction:row;align-items:center}.teacher-main [data-slot=table-cell],.teacher-main [data-slot=table-head]{padding-left:17px;padding-right:17px}.demo-banner a{display:none}.brand-description{display:none}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.landing-header{height:76px;gap:15px}.landing-header nav{gap:16px}.landing-header nav a:nth-child(2),.landing-header nav a:nth-child(3){display:none}.logo-crop{width:152px;height:37px}.hero-inner{display:flex;flex-direction:column;gap:0;align-items:stretch;min-height:0}.hero-story{padding-top:32px}.hero h1{font-size:48px}.hero-lead{font-size:21px;margin-top:18px}.hero-description{font-size:15px;max-width:350px}.hero-art{height:215px;margin-top:7px;margin-left:-12px;margin-right:-12px}.hero-labels{margin-bottom:20px}.hero-labels .pill{font-size:12px}.login-card{margin:0 0 26px;padding:26px 26px 24px;border-radius:20px}.login-card h2{font-size:27px}.login-icon{float:right;margin:0;width:47px}.login-card form{margin-top:22px}.register-buttons a{font-size:14px;padding:14px}.demo-links{font-size:12px}.facts{padding:28px 2px;gap:23px 16px}.facts>div{gap:11px}.facts svg{width:22px;height:22px}.facts b{font-size:13px}.facts span{font-size:11px;gap:3px}.section{padding-top:56px;padding-bottom:56px}.about-section{display:flex;flex-direction:column;gap:40px}.section-intro h2,.section-heading h2{font-size:34px}.section-intro p{margin:18px 0 23px}.benefits{gap:27px}.benefits p{max-width:none}.section-heading{display:block;margin-bottom:26px}.section-heading>p{font-size:14px;margin-top:19px}.step-grid{grid-template-columns:1fr;gap:16px}.step-grid article{padding:25px}.step-grid h3{margin-top:18px;font-size:21px}.step-grid p{min-height:0;font-size:14px}.step-grid a,.step-foot{font-size:13px;margin-top:20px}.step-number{font-size:32px}.step-tag{top:28px;right:25px;font-size:12px}.prototype-note{font-size:12px;align-items:flex-start;margin-top:22px}.award-grid{grid-template-columns:1fr 1fr;gap:24px 18px}.award-aside{grid-column:1/-1;display:grid;grid-template-columns:54px 1fr;gap:7px 18px;padding-top:12px}.award-aside .icon-box{grid-row:1/3}.award-aside h3{font-size:25px;margin:0}.award-aside h3 br{display:none}.award-aside p{margin:8px 0}.award-aside a{grid-column:2;font-size:14px}.award-preview{min-height:215px;border-radius:13px;margin-bottom:19px;padding:15px 8px}.award-preview>svg{width:32px;margin-top:29px}.award-preview h4{font-size:20px}.award-preview>span:last-child{font-size:7px;letter-spacing:.04em}.award-card h3{font-size:18px}.award-card p{font-size:13px}.faq-section{display:flex;flex-direction:column;gap:22px}.faq-section h2{font-size:31px}.faq-list [data-slot=accordion-trigger]{font-size:15px;padding:21px 0}.final-cta{padding:29px;display:block;border-radius:18px;margin-bottom:32px}.final-cta h2{font-size:28px}.final-cta p{font-size:14px;margin:12px 0 23px}.cta-link{justify-content:center;font-size:15px}.site-footer{flex-wrap:wrap;gap:12px;justify-content:space-between;padding-bottom:25px}.site-footer .brand{width:auto}.site-footer .logo-crop{width:115px}.site-footer>span,.site-footer>a{font-size:11px}.site-footer .footer-proto{width:100%;text-align:right}.register-layout{display:block;padding:10px 0 40px}.register-story{padding:10px 8px 28px}.register-story .pill,.register-story img,.register-trust{display:none}.register-story h1{font-size:32px;margin:10px 0 16px}.register-story h1 br{display:none}.register-story>p{font-size:14px}.registration-card{padding:25px;border-radius:18px}.registration-card h2{font-size:25px}.simple-header{padding:20px 0}.simple-header .back-link{font-size:12px}.app-dialog{padding:26px 22px;width:calc(100% - 28px);border-radius:18px}.modal-title{font-size:23px!important}.field-pair{gap:12px}.credentials-card{padding:20px 15px;gap:10px}.credentials-card strong{font-size:20px}.student-header{min-height:77px;gap:10px}.student-account{gap:10px}.student-profile{gap:7px}.student-profile>strong,.student-profile>svg{display:none}.student-profile .avatar{width:32px;height:32px}.grade-badge{font-size:11px;padding:5px 7px}.student-account .icon-button{padding:5px}.round-breadcrumb{font-size:11px;padding-top:23px}.start-intro{margin:31px auto}.start-intro .pill{font-size:11px}.start-intro h1{font-size:35px;line-height:1.18;margin:23px 0 20px}.start-intro>p{font-size:15px;line-height:1.8}.desktop-only{display:none}.timer{gap:8px;margin:25px 0}.timer>span{font-size:51px;width:53px;height:77px;border-radius:11px}.timer-colon{font-size:38px}.start-button{min-width:0;width:100%;max-width:340px;font-size:18px;min-height:59px;padding:17px;gap:18px}.timer-note{font-size:11px;gap:6px}.start-rules{grid-template-columns:1fr;padding:21px 24px;gap:20px;margin-bottom:35px}.start-rules>div{gap:16px}.start-rules svg{width:24px;height:24px}.start-rules span{font-size:12px;gap:3px}.start-rules strong{font-size:14px}.preview-grid{grid-template-columns:1fr 1fr;gap:13px}.preview-grid h3{font-size:15px;margin-top:17px}.preview-grid article>span:last-child{font-size:12px}.tasks-preview>div:first-child,.review-section>div:first-child{display:block;margin-bottom:22px}.tasks-preview h2,.review-section h2{font-size:25px;margin-bottom:9px}.tasks-preview>div:first-child>span,.review-section>div:first-child>span{font-size:12px}.round-topbar{padding:25px 0 20px;gap:15px}.round-topbar h1{font-size:24px}.round-topbar .eyebrow{font-size:9px}.active-clock{flex-direction:column;gap:5px}.active-clock>span{font-size:10px}.small-timer{gap:3px;margin:0}.small-timer>span{width:25px;height:34px;font-size:24px;border-radius:5px}.small-timer .timer-colon{font-size:22px}.task-nav nav{gap:5px}.task-nav nav button{padding:6px 1px;gap:1px;border-radius:7px}.task-nav nav button>span{font-size:14px;width:21px}.task-nav nav button>svg{width:9px;height:9px}.round-layout{gap:15px}.question-header{padding:18px 17px;gap:10px}.question-header>div{gap:10px}.question-header .task-icon{width:34px;height:34px;border-radius:10px}.question-header .task-icon svg{width:21px;height:21px}.question-header small{font-size:9px}.question-header h2{font-size:18px}.points{font-size:10px;padding:4px 6px}.task-canvas{padding:27px 17px;min-height:360px}.task-prompt{font-size:17px;margin-bottom:14px}.task-hint{font-size:13px}.large-sequence{gap:7px;margin:35px 0}.large-sequence>span{width:47px;height:65px;font-size:25px;border-radius:10px}.answer-options{gap:9px}.answer-options button{min-width:58px;height:57px;font-size:22px;border-radius:10px}.question-footer{padding:18px 14px;flex-wrap:wrap;gap:13px}.question-footer .btn{padding:10px 13px;font-size:12px;min-height:41px}.question-footer .save-status{order:3;width:100%;justify-content:center;font-size:12px}.round-bottom-note{font-size:12px;align-items:flex-start;padding:23px 5px;line-height:1.7}.question-header .points{white-space:nowrap}.train-matching{gap:19px;margin-top:23px}.equation-train{padding:10px 8px;gap:3px;grid-template-columns:1fr}.equation-train>svg{display:none}.equation-train>b{font-size:19px}.equation-train>span{font-size:10px}.depot-target>b{font-size:23px}.depot-target>span,.depot-target>small{font-size:10px}.reset-task{font-size:12px}.balance-equation{font-size:27px;margin:37px 0 30px}.number-answer{gap:12px}.number-answer input{height:68px;width:74px;font-size:29px}.number-answer>span{font-size:27px}.number-answer button{width:35px;height:35px}.route-game{gap:17px;flex-direction:column;margin-top:23px}.route-grid{grid-template-columns:repeat(4,55px);gap:6px}.route-grid button{height:51px;border-radius:8px}.route-grid svg{width:21px;height:21px}.route-summary{flex-direction:row;gap:8px}.route-summary>svg{width:19px;height:19px;margin:0}.route-summary>b{font-size:18px}.route-summary>span{font-size:11px}.task-clues{font-size:13px;line-height:1.8;margin:17px auto 25px;max-width:295px}.order-blocks{gap:8px;margin-top:25px}.order-item{width:65px}.order-color{height:87px;font-size:10px;border-radius:9px}.order-controls{gap:4px}.order-controls button{padding:3px}.order-controls button>svg{width:18px;height:18px}.shape-grid{gap:10px}.shape-grid button{padding:9px 5px}.shape-grid svg{height:62px}.shape-grid button>span{margin-top:8px}.pour-game{gap:84px;margin-top:25px;max-width:315px}.jug-column{width:90px}.jug-column>strong{font-size:10px;white-space:nowrap}.jug-meter{height:145px;margin:12px 3px 16px}.jug-actions button{font-size:10px;width:96px;padding:8px 5px}.jug-actions button>svg{width:12px;height:12px}.pour-arrows{top:75px;gap:9px}.pour-arrows button{padding:7px;gap:0}.pour-arrows button>svg{width:19px}.pour-arrows button>span{display:none}.pour-bottom{gap:15px}.pour-bottom>span{font-size:10px}.pour-bottom .reset-task{font-size:11px}.code-lock input{height:76px;width:185px;font-size:39px}.results-page{padding-bottom:40px}.result-hero{margin:33px auto}.result-hero h1{font-size:32px}.result-hero>p{font-size:15px}.result-mini-stats{gap:16px}.result-mini-stats span{font-size:12px}.result-award-banner{padding:20px 17px;gap:13px}.result-award-banner h3{font-size:17px}.result-award-banner p{font-size:12px}.result-award-banner .icon-box{width:40px;height:40px;border-radius:12px}.review-list{grid-template-columns:1fr;gap:11px}.review-list>button{padding:17px}.review-list strong{font-size:14px}.review-list small{font-size:12px}.review-list .task-icon{width:41px;height:41px}.review-section{margin-top:35px}.certificate{padding:24px 17px;border-width:5px;min-height:480px}.cert-brand{font-size:28px}.certificate .cert-strap{font-size:8px}.certificate h2{font-size:24px}.certificate h3{font-size:21px}.certificate>p{font-size:12px}.certificate footer{font-size:10px}.app-dialog .certificate{min-height:470px}.dashboard-header{height:65px;padding:0 15px;font-size:11px}.dashboard-header>div{gap:8px}.dashboard-content{padding:25px 17px 20px}.dashboard-title{display:block}.dashboard-title .eyebrow{font-size:10px}.dashboard-title h1{font-size:28px}.dashboard-title p{font-size:13px;margin-top:10px}.dashboard-title>.btn{margin-top:22px;font-size:13px;padding:12px 17px}.dashboard-stats{grid-template-columns:1fr 1fr;gap:11px;margin-top:23px}.dashboard-stats>div{flex-direction:row;align-items:center;padding:18px 13px;gap:12px}.dashboard-stats b{font-size:25px}.dashboard-stats small{font-size:11px}.demo-banner{padding:15px;gap:12px}.demo-banner p{font-size:12px}.demo-banner strong{font-size:12px}.demo-banner .icon-box{display:none}.class-strip{margin:25px 0 20px;gap:10px}.class-card{min-width:0;padding:13px 14px;gap:10px}.class-card>svg{margin-left:4px;width:14px}.class-icon{width:33px;height:34px;font-size:13px}.class-card strong{font-size:13px}.class-card small{font-size:11px}.class-add{height:49px;width:49px}.table-tabs{gap:17px!important;height:44px!important;width:100%}.table-tabs [data-slot=tabs-trigger]{font-size:12px;padding:0!important;height:44px}.table-toolbar{display:flex;flex-direction:column;align-items:flex-start;padding:19px;gap:17px}.table-toolbar h2{font-size:19px}.table-toolbar>div{gap:9px;width:100%;flex-wrap:nowrap}.table-toolbar .btn{font-size:11px;padding:9px;flex:1}.table-toolbar .btn svg{width:14px}.table-search{padding:0 18px 15px;gap:5px}.table-search input{font-size:12px}.teacher-main [data-slot=table-head]{padding:13px 16px;font-size:12px}.teacher-main [data-slot=table-cell]{padding:16px;font-size:13px}.student-name{gap:9px}.student-name strong{font-size:13px}.teacher-main code{font-size:13px}.table-note{padding:16px;font-size:11px;line-height:1.7;align-items:flex-start}.table-note svg{margin-top:3px}.results-overview{padding:8px 20px 20px;gap:20px}.results-overview>div:first-child{min-width:140px}.results-overview b{font-size:23px}.results-overview span{font-size:11px}.result-filter{padding:10px 20px 20px;flex-wrap:wrap;gap:12px}.result-filter>span{font-size:11px}.result-filter [data-slot=select-trigger]{font-size:12px}.empty-state{padding:45px 23px}.empty-state h2{font-size:23px}.small-empty h3{font-size:21px}.small-empty p{font-size:13px}.teacher-award-tile,.student-awards{padding:25px 22px}.teacher-award-tile h2{font-size:23px}.access-preview{grid-template-columns:1fr;max-height:430px}.dashboard-footer{font-size:10px;gap:20px;align-items:flex-start;padding-top:28px}.dashboard-footer>span{max-width:200px}.no-results{font-size:13px;padding:30px 20px}.auth-gate h1{font-size:27px}.auth-gate p{font-size:14px}.auth-gate{padding:25px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff!important}body>*:not(.print-only){display:none!important}.print-only{display:block!important;position:static;width:100%;background:#fff}.print-access{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:10px}.print-only .access-card{break-inside:avoid;border:1px dashed #999;border-radius:0}.print-only .certificate{margin:5mm auto;padding:15mm;min-height:235mm;max-width:190mm;border-width:8px;-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-only .certificate h2{font-size:32px}.print-only .certificate h3{font-size:28px}.print-only .certificate p{font-size:17px}.print-only .certificate footer{font-size:12px}@page{size:A4;margin:10mm}}

.teacher-sidebar [data-slot="sidebar-container"]{border-color:#e5eaf3}


/* Task list matches the supplied numbered-row reference. */
.round-task-list{width:min(860px,calc(100% - 48px));margin:32px auto 64px;padding:20px 0 0;color:#171717}
.round-task-list[hidden],.round-fullscreen[hidden],.round-card-pane[hidden]{display:none!important}
.round-list-top{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;margin-bottom:28px}.round-list-top .eyebrow{color:#61756e;font-size:11px}.round-list-top h1{font-size:clamp(28px,4vw,38px);font-weight:800;line-height:1.15;margin:10px 0 14px;letter-spacing:-.025em}.round-list-top p{font-size:16px;color:#687179;line-height:1.5}
.round-list-clock{display:flex;flex:none;flex-direction:column;gap:9px;align-items:flex-end;padding-top:4px;color:#697179}.round-list-clock>span:first-child{font-size:12px}.round-list-clock [role=timer]{display:flex;gap:9px;align-items:center;color:#4b626e}.round-list-clock strong{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.round-list-progress{margin:0 0 28px;display:flex;gap:20px;align-items:center;color:#687179;font-size:13px}.round-list-progress>span{white-space:nowrap}.round-list-progress [data-slot=progress]{height:5px;background:#e6e8e9}.round-list-progress [data-slot=progress-indicator]{background:#7655b5}
.round-task-rows{display:grid;gap:20px;padding-left:40px}.round-task-row{position:relative;width:100%;display:flex;align-items:center;gap:20px;min-height:80px;padding:16px 24px 16px 56px;background:#fff;border:3px solid #d5d5d5;border-radius:10px;color:#080808;text-align:left;cursor:pointer}.round-task-row:hover{background:#f5f1fa;border-color:#c1afd9}.round-task-row:focus-visible{outline:3px solid #7655b5;outline-offset:5px}.round-task-number{position:absolute;left:-43px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:#7655b5;color:#fff;font:700 32px/1 Arial,system-ui,sans-serif}.round-task-row>strong{font:700 clamp(23px,3vw,30px)/1.25 Arial,system-ui,sans-serif;flex:1}.round-task-status{display:grid;place-items:center;flex:none}.round-task-status svg{width:28px;height:28px}.status-new{color:#a1a7aa}.status-started{color:#b18a43}.status-done{color:#47936b}.round-task-status.status-started{color:#9480af}.round-task-status.status-done{color:#7655b5}.round-list-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:30px}.round-list-bottom .save-status{font-size:12px;color:#687179}.round-list-bottom .btn{font-size:14px}
.player-open>.student-header,.player-open>.family-switcher{display:none!important}
.round-fullscreen{position:fixed;inset:0;z-index:40;width:100%;height:100dvh;background:#fffefb;overflow:hidden}.round-card-pane{width:100%;height:100%}.round-fullscreen .olympiad-card-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#fffefb}.round-save-warning{position:fixed;z-index:45;bottom:14px;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 24px));padding:14px 18px;border-radius:14px;box-shadow:0 5px 28px #0002}
@media(max-width:600px){.round-task-list{width:calc(100% - 32px);padding:12px 0 0;margin:16px auto 40px}.round-list-top{gap:12px}.round-list-top h1{font-size:28px}.round-list-top p{font-size:14px}.round-list-clock strong{font-size:23px}.round-list-clock>span:first-child{font-size:10px}.round-list-clock svg{width:16px}.round-task-rows{gap:18px;padding-left:28px}.round-task-row{padding:13px 12px 13px 40px;gap:12px;min-height:72px;border-width:2px}.round-task-number{left:-30px;width:56px;height:56px;font-size:25px}.round-task-row>strong{font-size:20px}.round-task-status svg{width:23px;height:23px}.round-list-bottom{flex-direction:column-reverse;gap:18px}.round-list-bottom .btn{width:100%}.round-list-progress{font-size:12px;margin-bottom:26px}}

/* Compact task rows: five tasks fit in the initial viewport. */
.student-page>.student-header,.family-page>.student-header,.student-header.account-header{min-height:68px}
.round-task-list{width:min(640px,calc(100% - 40px));margin:16px auto 20px;padding:0}
.round-list-top{gap:18px;margin-bottom:16px}.round-list-top .eyebrow{font-size:10px;margin-bottom:6px}.round-list-top h1{font-size:28px;margin:0 0 8px}.round-list-top p{font-size:14px}.round-list-clock strong{font-size:24px}
.round-list-progress{margin-bottom:16px;gap:16px;font-size:12px}
.round-task-rows{gap:12px;padding-left:28px}
.round-task-row{min-height:56px;padding:10px 16px 10px 40px;border-width:2px;border-radius:8px;gap:14px}
.round-task-number{width:56px;height:56px;left:-30px;font-size:24px}
.round-task-row>strong{font-size:22px;line-height:1.2}
.round-task-status svg{width:22px;height:22px}
.round-list-bottom{margin-top:16px;gap:12px;flex-direction:row}.round-list-bottom .btn{width:auto;min-height:40px;font-size:13px;padding:9px 15px}
@media(max-width:600px){
 .round-task-list{width:calc(100% - 32px);margin:12px auto 16px}
 .round-list-top h1{font-size:25px}.round-list-top p{font-size:13px}.round-list-clock strong{font-size:22px}
 .round-task-rows{gap:10px;padding-left:26px}.round-task-row{min-height:52px;padding:9px 12px 9px 36px;gap:10px}.round-task-number{width:52px;height:52px;left:-28px;font-size:23px}.round-task-row>strong{font-size:19px}.round-task-status svg{width:21px;height:21px}
 .round-list-bottom .save-status{font-size:11px;gap:5px}.round-list-bottom .btn{font-size:12px;padding:9px 11px}
}
@media(max-height:740px){
 .student-page>.student-header,.family-page>.student-header,.student-header.account-header{min-height:60px}
 .round-list-top .eyebrow,.round-list-top p{display:none}
 .round-list-top{align-items:center;margin-bottom:14px}.round-list-top h1{margin:0}.round-list-clock{padding-top:0;gap:5px}
 .round-list-progress{margin-bottom:14px}
}
@media(max-height:620px){
 .round-task-list{margin-top:8px;margin-bottom:10px}.round-list-top{margin-bottom:10px}
 .round-list-top h1{font-size:24px}.round-list-progress{margin-bottom:10px}
 .round-task-rows{gap:8px;padding-left:23px}.round-task-row{min-height:46px;padding-block:7px;padding-left:33px}.round-task-number{width:46px;height:46px;left:-25px;font-size:21px}.round-task-row>strong{font-size:18px}
 .round-list-bottom{margin-top:12px}
}

/* Finish dialog: keep both actions inside the panel, with equal row height. */
.app-dialog.finish-round-dialog{width:min(640px,calc(100vw - 32px));max-width:640px}
.finish-round-dialog .finish-round-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:stretch;gap:12px;min-width:0;width:100%;margin-top:6px}
.finish-round-dialog .finish-round-actions>.btn{width:100%;min-width:0;height:100%;min-height:52px;margin:0;padding:12px 16px;white-space:normal;overflow-wrap:break-word;line-height:1.35;text-align:center}
.finish-round-dialog .finish-round-actions>.btn:hover{transform:none}
@media(max-width:600px){.finish-round-dialog .finish-round-actions{grid-template-columns:minmax(0,1fr);gap:10px}.app-dialog.finish-round-dialog{padding:24px 20px}.finish-round-dialog .finish-round-actions>.btn{min-height:52px}}

.start-intro .round-start-subtitle{font-size:22px;line-height:1.4;font-weight:600;color:#687894;margin:-8px 0 24px}
@media(max-width:600px){.start-intro .round-start-subtitle{font-size:19px}}

/* Landscape stage on phones (see /olymp/shared/landscape-stage.js): the open card fills the screen. */
html.reshi-stage-lock,html.reshi-stage-lock body{overflow:hidden;overscroll-behavior:none}
.round-card-pane.reshi-stage-active{position:fixed;inset:0;overflow:hidden;background:#eef3ed;touch-action:none}
html[data-reshi-stage=rotated] .round-save-warning{top:50%;bottom:auto;left:14px;width:min(560px,calc(100dvh - 24px));transform:translate(-50%,-50%) rotate(90deg) translateY(-50%)}

/* Family entry uses the same header as the student home. */
.child-selection{padding-top:52px;padding-bottom:80px}
.child-selection h1{font-size:clamp(36px,5vw,64px);line-height:1.12;font-weight:800;letter-spacing:-.035em;margin:20px 0 18px}
.child-selection-intro{font-size:20px;color:#6d748b;margin:0 0 38px}
.child-selection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),360px));gap:24px}
.child-selection-tile{display:flex;flex-direction:column;align-items:flex-start;padding:30px;border:1px solid #e2ded2;border-radius:24px;background:#f8f4e9;box-shadow:6px 7px 0 #e9e0cc;color:#252c49;text-decoration:none;transition:transform .15s,box-shadow .15s}
.child-selection-tile:nth-child(3n+2){background:#eef3ff;border-color:#dbe3f4;box-shadow:6px 7px 0 #dce4f4}
.child-selection-tile:nth-child(3n){background:#eef7f1;border-color:#d7e8dc;box-shadow:6px 7px 0 #d9e9de}
.child-selection-tile:hover{transform:translateY(-3px)}
.child-selection-tile:focus-visible{outline:3px solid #ff4e5b;outline-offset:5px}
.child-selection-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#fff;font-size:26px;font-weight:800;margin-bottom:24px}
.child-selection-tile h2{font-size:26px;line-height:1.2;font-weight:800;overflow-wrap:anywhere;margin:0 0 10px}
.child-selection-tile p{font-size:18px;color:#6d748b;margin:0 0 30px}
.child-selection-action{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:700;color:#da3548;margin-top:auto}
@media(max-width:600px){.child-selection{padding-top:32px}.child-selection-grid{grid-template-columns:1fr}.child-selection-tile{padding:24px}.child-selection-intro{font-size:18px}}
@media(prefers-reduced-motion:reduce){.child-selection-tile{transition:none}}

/* Full-width account navigation; keep the logo and account controls aligned with content. */
.student-page>.student-header,.family-page>.student-header,.student-header.account-header{width:100%;background:#fff;padding-inline:max(32px,calc((100% - 1200px)/2))}
.student-page>.student-header .brand-description,.family-page>.student-header .brand-description,.student-header.account-header .brand-description{display:none}
@media(max-width:700px){.student-page>.student-header,.family-page>.student-header,.student-header.account-header{padding-inline:20px}}

/* Compact family cards and subject courses. */
.child-selection-tile,.child-selection-tile:nth-child(3n+2),.child-selection-tile:nth-child(3n){background:#fff;border-color:#e6e9f0;box-shadow:0 5px 12px #252c4909;padding:24px 26px;border-radius:22px}
.child-selection-tile h2{font-size:23px;margin-bottom:7px}
.child-selection-tile p{font-size:16px;margin-bottom:18px}
.child-selection-action{font-size:14px}
.subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:32px}
.subject-tile{background:#fff;border:1px solid #edf0f4;border-radius:30px;box-shadow:0 6px 0 #e8ebf1,0 8px 18px #252c4905;padding:25px 18px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;color:#252c49;transition:transform .18s,box-shadow .18s}
.subject-tile:hover{transform:translateY(-3px);box-shadow:0 8px 0 #e8ebf1,0 12px 22px #252c490b}
.subject-icon{width:110px;height:92px;margin-bottom:16px}
.subject-tile h2{width:100%;max-width:100%;overflow-wrap:anywhere;hyphens:auto;font-size:21px;line-height:1.25;letter-spacing:-.025em;margin:0 0 24px;min-height:53px;display:flex;align-items:center;justify-content:center}
.subject-action{display:flex;align-items:center;justify-content:center;gap:10px;background:#f1f3fa;border-radius:14px;min-height:48px;width:100%;font-size:14px;line-height:1.3;font-weight:700;padding:10px 8px;margin-top:auto}
.subject-announced .subject-action{background:#fff1ce;color:#6b5319}
@media(max-width:950px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.subject-grid{gap:14px}.subject-tile{padding:20px 10px 16px;border-radius:23px}.subject-icon{width:85px;height:76px;margin-bottom:10px}.subject-tile h2{font-size:17px;min-height:44px;margin-bottom:16px}.subject-action{font-size:12px;gap:5px}}
@media(prefers-reduced-motion:reduce){.subject-tile{transition:none}}

/* Student olympiad banner echoes the violet landing hero. */
.student-home{padding-top:34px}
.student-olympiad-hero{position:relative;isolation:isolate;overflow:hidden;min-height:294px;border-radius:32px;background:linear-gradient(115deg,#6744d4 10%,#7550dd 55%,#8e69e9 100%);background-size:150% 150%;background-position:0 50%;padding:34px 46px;display:flex;align-items:center;box-shadow:0 8px 0 #5432af;color:#fff;cursor:pointer;transition:background-position .6s ease}
.student-olympiad-hero::before{content:"";position:absolute;z-index:-1;width:290px;height:290px;right:-85px;top:-155px;border:26px solid #8a68e7;border-radius:50%;transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.student-olympiad-copy{position:relative;z-index:1;max-width:750px}
.student-olympiad-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.student-olympiad-date,.student-olympiad-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 17px;font-size:14px;font-weight:800;line-height:1.3;white-space:nowrap}
.student-olympiad-date{background:#f7cd5e;color:#352853}
.student-olympiad-badge{background:#ffffff2e;border:1px solid #ffffff78;color:#fff}
.student-olympiad-free{background:#d7f775;border-color:#d7f775;color:#302b4b}
.student-olympiad-hero h1{font-size:clamp(34px,4.3vw,55px);line-height:1.07;font-weight:800;letter-spacing:-.04em;color:#fff;margin:0 0 23px}
.student-olympiad-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#ff5264;color:#fff;border:2px solid #fff;border-radius:14px;padding:12px 20px;box-shadow:5px 5px 0 #392466;font-size:17px;font-weight:650;line-height:1.35;min-height:50px;transition:background .3s ease}
.student-olympiad-cta svg{transition:transform .3s ease}
.student-olympiad-art{position:absolute;right:24px;bottom:-12px;height:280px;width:364px;transform:rotate(7deg);pointer-events:none;transition:transform .55s cubic-bezier(.2,.8,.2,1)}
@media(hover:hover){.student-olympiad-hero:hover{background-position:100% 50%}.student-olympiad-hero:hover::before{transform:translate(-18px,15px)}.student-olympiad-hero:hover .student-olympiad-art{transform:translateY(-9px) rotate(11deg)}.student-olympiad-hero:hover .student-olympiad-cta{background:#ff4258}.student-olympiad-hero:hover .student-olympiad-cta svg{transform:translateX(5px)}}
.student-olympiad-hero:focus-visible{outline:3px solid #252c49;outline-offset:6px}
.student-home>.subject-grid{margin-top:35px}
@media(max-width:900px){.student-olympiad-hero{padding:30px;min-height:294px}.student-olympiad-art{right:-85px;opacity:.55}.student-olympiad-copy{max-width:82%}}
@media(max-width:600px){.student-home{padding-top:22px}.student-olympiad-hero{padding:26px 22px;min-height:310px;border-radius:25px}.student-olympiad-copy{max-width:100%}.student-olympiad-meta{gap:7px;margin-bottom:18px}.student-olympiad-date,.student-olympiad-badge{font-size:12px;padding:7px 11px}.student-olympiad-hero h1{font-size:clamp(29px,8vw,39px);margin-bottom:26px}.student-olympiad-art{width:225px;height:175px;right:-50px;bottom:-50px;opacity:.28}.student-olympiad-cta{font-size:15px}}
@media(prefers-reduced-motion:reduce){.student-olympiad-hero,.student-olympiad-hero::before,.student-olympiad-art,.student-olympiad-cta,.student-olympiad-cta svg{transition:none!important}.student-olympiad-hero:hover,.student-olympiad-hero:hover .student-olympiad-art,.student-olympiad-hero:hover .student-olympiad-cta{transform:none}}

/* Student awards: an A4 certificate with a clear result and an organization seal. */
.result-hero{margin-top:58px}
.result-hero h1{margin-top:18px}
.result-award-banner{background:#fff;border-color:#e7e2f1;box-shadow:0 4px 16px #252c4908}
.result-award-banner h3{color:#49378e}
.result-award-banner p{color:#747b90}
.award-certificate{position:relative;overflow:hidden;width:min(100%,700px);min-height:820px;margin:auto;padding:55px 55px 45px;border:8px solid #6744d4;outline:2px solid #f4c45e;outline-offset:-24px;background:#fffdf9;color:#252c49;box-shadow:0 8px 26px #252c4913;display:flex;flex-direction:column;align-items:center;text-align:center}
.award-certificate .cert-brand{position:relative;z-index:1;width:240px;height:58px;margin:0 auto 25px;overflow:hidden}
.award-certificate .cert-brand img{display:block;width:100%;height:100%;object-fit:contain}
.award-certificate .cert-strap{position:relative;z-index:1;color:#6744d4;font-size:12px;letter-spacing:.11em;font-weight:800;line-height:1.5;margin:0 0 55px}
.award-certificate h2{position:relative;z-index:1;color:#252c49;font-size:clamp(28px,4vw,43px);line-height:1.13;margin:0 0 22px;font-weight:800}
.award-certificate .award-recipient{font-size:15px;color:#6d748b;margin:0}
.award-certificate h3{font-size:clamp(26px,3.5vw,38px);line-height:1.2;margin:12px 0 12px;color:#252c49;overflow-wrap:anywhere}
.award-certificate .award-school{font-size:16px;line-height:1.5;color:#5d6580;margin:0;max-width:480px}
.award-certificate .award-score{background:#f0ecfb;border-radius:16px;color:#6744d4;font-size:23px;font-weight:800;padding:16px 35px;margin:34px 0 25px}
.award-certificate .award-caption{font-size:17px;line-height:1.55;color:#3f4965;max-width:500px;margin:0 auto 30px}
.award-certificate footer{margin:auto 0 0;width:100%;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d8d0eb;padding:22px 15px 0;font-size:17px;font-weight:750;color:#252c49}
.award-seal{display:grid;place-items:center;width:95px;height:95px;border:3px solid #6744d4;box-shadow:inset 0 0 0 4px #fffdf9,inset 0 0 0 6px #6744d4;border-radius:50%;font-size:14px;line-height:1.2;letter-spacing:.04em;color:#6744d4;transform:rotate(-12deg)}
.award-certificate-art{position:absolute;inset:0;pointer-events:none;opacity:.75}
.award-certificate-art span:nth-child(1){position:absolute;top:35px;left:34px;width:80px;height:80px;border-radius:50%;background:#8ce9ed}
.award-certificate-art span:nth-child(2){position:absolute;right:45px;top:190px;width:67px;height:67px;background:#f8a5df;transform:rotate(17deg)}
.award-certificate-art span:nth-child(3){position:absolute;left:35px;bottom:190px;border-left:40px solid transparent;border-right:40px solid transparent;border-bottom:70px solid #d7f775;transform:rotate(-16deg)}
@media(max-width:700px){.award-certificate{padding:42px 30px;min-height:700px}.award-certificate-art{opacity:.4}.award-certificate .cert-strap{margin-bottom:38px}.award-certificate .award-caption{font-size:15px}}
@media print{@page{size:A4;margin:10mm}.print-only .award-certificate{width:190mm;min-height:277mm;margin:0 auto;padding:15mm;box-shadow:none;outline-offset:-6mm;break-inside:avoid}.print-only .award-certificate .cert-brand{width:60mm;height:14mm}.print-only .award-certificate .cert-strap{font-size:11pt}.print-only .award-certificate h2{font-size:28pt}.print-only .award-certificate h3{font-size:25pt}.print-only .award-certificate .award-school{font-size:13pt}.print-only .award-certificate .award-caption{font-size:13pt}}

.hero-story h1{font-size:clamp(34px,3.5vw,52px);max-width:650px}.hero-description{max-width:560px}.learning-art{height:auto!important;position:relative!important;margin:28px 0 0!important;width:100%!important}.learning-art img{position:static!important;width:100%!important;height:auto!important;max-height:360px;object-fit:contain!important;border-radius:24px}.register-story>img{border-radius:24px;object-fit:contain}.register-buttons a{justify-content:center;text-align:center;min-height:55px}.register-buttons span{white-space:normal}.login-card{align-self:start}.feature-status{display:inline-block;margin-top:10px;font-size:11px;line-height:1.5;background:#f0f3fa;border-radius:7px;padding:6px 9px;color:#62708b}.report-audiences{display:grid;grid-template-columns:1fr 1fr;gap:24px}.report-audiences article{border:1px solid #e3e8f2;background:#f7f9fc;border-radius:22px;padding:34px}.report-audiences svg{color:#4265df}.report-audiences h3{margin:18px 0 12px}.report-audiences p{color:#6d748b}.report-audiences a{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:14px;color:#4265df;font-weight:600}.registration-progress{display:flex;gap:10px;margin-bottom:24px;font-size:12px}.registration-progress span{padding:8px 10px;border-radius:8px;background:#f2f4f8;color:#788195;flex:1}.registration-progress .current{background:#e9efff;color:#3657cd;font-weight:700}.registration-progress .done{background:#edf7f1;color:#34775e}.registration-card h2{font-size:27px}.registration-card form{margin-top:24px}.field select{width:100%;min-height:48px;padding:12px;border:1px solid #e0e4ed;border-radius:10px;background:#fff;color:#252c49;font:inherit;font-size:14px}.field select:focus{outline:3px solid #dce5ff;border-color:#6985e2}.field select:disabled{background:#f5f6f9;color:#9ba1af}.directory-note{font-size:12px;color:#72798d;line-height:1.65;margin:12px 0}.school-fields{display:grid;gap:2px}.registration-actions{display:flex;gap:10px;margin-top:20px}.registration-actions>.btn{flex:1}.registration-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 20px}.registration-mode button{border:1px solid #dce3ef;border-radius:10px;padding:12px 10px;font-size:13px;background:#fff}.registration-mode .selected{border-color:#4265df;background:#eef2ff;color:#3657cd}.class-code-preview{display:grid;gap:5px;background:#eff8f2;border-radius:12px;padding:16px;margin-top:14px;font-size:14px}.class-code-preview small{color:#4d775f}.class-invite{border:1px solid #dfe6f6;background:#f3f6fe;border-radius:16px;padding:24px;margin-top:24px}.class-invite h3{font-size:18px}.class-invite p{font-size:13px;color:#64708b;margin:8px 0 16px;max-width:650px}.invite-code-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.invite-code-row code{font-size:24px;letter-spacing:.12em;font-weight:700;color:#3657cd;user-select:all}.app-dialog .class-invite{margin:0 0 12px}.individual-reports{margin-top:30px}.individual-reports h2{font-size:22px}.individual-reports>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.individual-reports p{margin:10px 0;font-size:14px}.family-report{padding:0 0 70px}.family-report h2{margin-bottom:24px}.report-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-summary>div{border-radius:14px;background:#f2f6fc;padding:20px}.report-summary>div:first-child{background:#f0f8f3}.report-summary h3{font-size:17px;margin-bottom:10px}.report-summary p{font-size:14px;color:#607087}.skill-report-list{display:grid;gap:10px;margin-top:20px}.skill-report-list article{display:grid;grid-template-columns:1fr auto;gap:10px;border:1px solid #e4e8ef;border-radius:12px;padding:18px}.skill-report-list h4{font-size:15px}.skill-report-list span{font-size:12px;color:#72798d}.skill-report-list strong{color:#3657cd;font-size:15px}.skill-report-list p{grid-column:1/-1;font-size:13px;color:#65718a}.app-dialog{max-height:90dvh;overflow-y:auto}
@media(max-width:700px){.hero-story h1{font-size:34px}.learning-art img{max-height:none}.report-audiences,.report-summary{grid-template-columns:1fr}.report-audiences article{padding:24px}.registration-card h2{font-size:24px}.registration-actions{flex-wrap:wrap}.registration-actions>.btn{min-width:120px}.class-invite{padding:18px}.invite-code-row{gap:12px}.invite-code-row code{font-size:22px}.invite-code-row .btn{width:100%}.registration-progress{font-size:11px}.report-summary>div{padding:17px}}

.hero-labels {
  flex-wrap: wrap;
}

.nationwide-pill {
  background: #e2f4e9;
  color: #367153;
}

.hero-description {
  color: #53647c;
  font-size: 17px;
  line-height: 1.6;
  margin-top: 24px;
}

.hero-dates {
  color: #50627c;
  display: grid;
  gap: 5px;
  margin-top: 18px;
}

.hero-dates p {
  font-size: 15px;
  line-height: 1.5;
}

.hero-dates strong {
  color: #252c49;
  font-size: inherit;
  font-weight: 750;
}

.learning-art {
  align-items: flex-end;
  display: flex;
  height: auto !important;
  justify-content: center;
  margin: 18px -24px 0 !important;
  overflow: visible !important;
  position: relative !important;
  width: calc(100% + 48px) !important;
}

.learning-art img {
  border-radius: 0 !important;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(63, 91, 121, .13));
  height: auto !important;
  mask-image: none !important;
  max-height: 370px;
  mix-blend-mode: normal !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  position: static !important;
  width: 100% !important;
}

@media (max-width: 700px) {
  .hero-description {
    font-size: 15px;
    margin-top: 20px;
  }

  .hero-dates { margin-top: 17px; }

  .learning-art {
    margin: 18px -10px 0 !important;
    width: calc(100% + 20px) !important;
  }

  .learning-art img {
    max-height: none;
  }
}

.registration-simple-layout{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
  max-width:540px;
  min-height:calc(100vh - 115px);
  padding:42px 0 80px;
}
.registration-simple-title{
  font-size:clamp(30px,3.5vw,42px);
  line-height:1.16;
  text-align:center;
}
.registration-simple-layout .registration-card{
  width:100%;
  max-width:480px;
}
.registration-simple-layout .registration-card form{
  margin-top:24px;
}
@media(max-width:700px){
  .registration-simple-layout{padding:22px 0 48px;gap:20px}
  .registration-simple-title{font-size:30px}
}

.parent-profile{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--ink,#242b3b);cursor:pointer;max-width:280px;text-align:left;padding:6px;border-radius:12px}
.parent-profile:hover{background:#f6f3ee}.parent-profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.parent-profile .avatar{flex-shrink:0}.parent-profile:disabled{opacity:.5;cursor:wait}
.family-settings{max-width:950px;padding-top:35px;padding-bottom:80px}.family-settings h1{font-size:36px;margin:24px 0}.family-parent-card{display:flex;flex-wrap:wrap;gap:28px 60px;padding:26px;background:white;border:1px solid #e9e5de;border-radius:20px;margin-bottom:40px}.family-parent-card>div{display:flex;flex-direction:column;gap:8px;min-width:0}.family-parent-card span{font-size:13px;color:#737987}.family-parent-card strong{overflow-wrap:anywhere}
.family-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.family-section-heading h2{font-size:26px}.family-children{display:grid;gap:16px}.family-child-card{display:flex;align-items:center;gap:18px;background:white;border:1px solid #e9e5de;border-radius:20px;padding:24px}.family-child-card>.avatar{flex-shrink:0}.family-child-info{flex:1;min-width:0}.family-child-info h3{font-size:20px;margin:0 0 8px}.family-child-info p{font-size:13px;line-height:1.6;color:#737987;overflow-wrap:anywhere}.family-child-actions{display:flex;flex-direction:column;align-items:center;gap:15px}.family-access-link{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}.family-empty{padding:35px;border:1px dashed #d8d6d1;border-radius:18px;color:#737987}.family-switcher{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #eee7de}.family-switcher label{display:flex;align-items:center;gap:12px;font-size:13px;color:#737987}.family-switcher select{border:1px solid #e3ded6;border-radius:10px;padding:10px 34px 10px 12px;max-width:350px;background:white;color:#252d3c;font-size:14px}.family-settings .info-box{margin-bottom:24px}
@media(max-width:700px){.parent-profile{gap:7px;max-width:160px}.parent-profile strong{font-size:12px}.parent-profile .avatar{width:30px;height:30px}.parent-profile>svg{display:none}.family-settings{padding-top:22px}.family-settings h1{font-size:28px}.family-parent-card{padding:20px;gap:20px;flex-direction:column;margin-bottom:28px}.family-section-heading{align-items:flex-start;flex-direction:column;gap:15px}.family-section-heading h2{font-size:24px}.family-child-card{flex-wrap:wrap;padding:20px;gap:13px}.family-child-info{flex-basis:calc(100% - 60px)}.family-child-actions{width:100%;align-items:stretch;margin-top:8px}.family-access-link{justify-content:center}.family-switcher label{width:100%;flex-direction:column;align-items:flex-start;gap:7px}.family-switcher select{width:100%;max-width:100%}.landing-header .parent-profile{margin-left:auto}.family-page .student-header .brand-description{display:none}}
/* One compact account control across all parent pages. */
.parent-family{display:flex;align-items:center;gap:5px;min-width:0;max-width:360px;margin-left:auto;flex-shrink:1}
.parent-family .parent-profile{min-width:0;max-width:170px;padding:8px 5px;gap:0}
.parent-family-divider{color:#c4c8d0;flex:none;font-size:17px}
.parent-child-trigger{display:flex;align-items:center;gap:5px;min-width:0;max-width:180px;border:0;background:transparent;border-radius:10px;padding:8px 5px;color:#384765;cursor:pointer;font-size:14px;font-weight:600;text-align:left}
.parent-child-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.parent-child-trigger>svg{flex:none}.parent-child-trigger:hover{background:#f0f3f8}.parent-child-trigger:disabled{opacity:.5;cursor:wait}
.parent-family button:focus-visible{outline:2px solid #8095ec;outline-offset:2px}
.parent-child-menu{z-index:160!important;width:280px;max-width:calc(100vw - 24px);padding:6px;border-radius:14px}.parent-child-menu [role=menuitemradio],.parent-child-menu [role=menuitem]{min-height:42px;cursor:pointer}.parent-child-option{display:flex;flex-direction:column;gap:3px;min-width:0}.parent-child-option strong{font-weight:600;overflow-wrap:anywhere}.parent-child-option small{color:#7b8493;font-size:12px}
.student-header:has(.parent-family) .student-account{min-width:0;gap:12px}.student-header:has(.parent-family) .icon-button{flex:none}.landing-header:has(.parent-family){gap:20px}.landing-header:has(.parent-family) nav{gap:18px}

@media(max-width:1100px){.landing-header:has(.parent-family) nav{display:none}}
@media(max-width:700px){.parent-family{max-width:230px;gap:3px}.parent-family .parent-profile{max-width:105px;padding:8px 2px}.parent-child-trigger{font-size:12px;max-width:115px;padding:8px 2px;gap:3px}.parent-family-divider{font-size:14px}.student-header:has(.parent-family),.simple-header:has(.parent-family),.landing-header:has(.parent-family){gap:10px}.student-header:has(.parent-family) .student-account{gap:5px}.parent-family .parent-profile strong{font-size:12px}.student-header:has(.parent-family)>.brand,.simple-header:has(.parent-family)>.brand,.landing-header:has(.parent-family)>.brand{flex-shrink:0}.student-header:has(.parent-family) .brand-wordmark,.simple-header:has(.parent-family) .brand-wordmark,.landing-header:has(.parent-family) .brand-wordmark{font-size:28px}.landing-header:has(.parent-family) .logo-crop{width:100px}}

.teacher-sidebar [data-slot=sidebar-footer]{padding:18px;margin-top:auto}.teacher-sidebar .sidebar-olymp{margin:0;width:100%}.teacher-sidebar .sidebar-olymp h3{font-size:21px}.teacher-sidebar .sidebar-olymp p,.teacher-sidebar .sidebar-olymp a{font-size:13px;color:#687894}.teacher-sidebar .sidebar-olymp .pill{font-size:12px}.teacher-shell .dashboard-header{height:auto;min-height:80px;gap:20px;flex-wrap:wrap;padding-block:14px}.teacher-shell .teacher-header-title{flex:none}.teacher-shell .teacher-header-title strong{font-size:15px;font-weight:600;color:#67738a}.teacher-shell .teacher-account{margin-left:auto;min-width:0;gap:10px;max-width:100%}.teacher-shell .teacher-account-name{color:#384765;font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}.teacher-class-trigger{max-width:170px;flex-shrink:0}.teacher-logout{flex-shrink:0}.teacher-shell .class-add{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;line-height:1}.teacher-shell .table-heading{flex-wrap:wrap;gap:12px}.teacher-shell .table-tabs{max-width:100%;height:auto!important;flex-wrap:wrap;justify-content:flex-start}.teacher-shell .table-tabs [data-slot=tabs-trigger]{flex:none;font-size:14px}.teacher-reports{margin-top:20px}.reports-heading,.report-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.reports-heading h2{font-size:25px}.reports-heading p,.reports-heading>span,.report-section-heading>span{color:#728099;font-size:14px;margin-top:6px}.reports-controls{display:flex;gap:14px;margin-bottom:24px}.reports-controls label{flex:1;display:flex;align-items:center;gap:10px;padding:0 15px;background:#fff;border:1px solid #dde4f0;border-radius:12px;color:#8b97ad;min-width:0}.reports-controls input{width:100%;min-width:0;border:0;background:transparent;padding:14px 0;font-size:15px}.reports-controls select{border:1px solid #dde4f0;border-radius:12px;padding:12px;color:#475875;background:#fff;font:inherit;font-size:14px;max-width:100%}.report-student-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:18px}.report-student-card{text-align:left;background:#fff;border:1px solid #e1e7f2;border-radius:20px;padding:23px;min-width:0;transition:box-shadow .2s,transform .2s}.report-student-card:hover{box-shadow:0 8px 26px #30487412;transform:translateY(-2px);border-color:#bac9ee}.report-card-top{display:flex;align-items:center;gap:12px}.report-card-top>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.report-card-top strong{font-size:16px;overflow-wrap:anywhere}.report-card-top small{font-size:13px;color:#748098}.report-card-top>svg{color:#8c9bb4}.report-card-score{display:flex;align-items:baseline;gap:12px;margin:25px 0 15px}.report-card-score b{font-size:31px;white-space:nowrap;line-height:1.2}.report-card-score small{font-size:15px;color:#8894a9;font-weight:500}.report-card-score>span{font-size:13px;color:#748098}.report-mini-chart{display:flex;gap:8px;height:42px;align-items:stretch}.report-mini-chart>i{display:flex;align-items:flex-end;flex:1;background:#f1f4fa;border-radius:5px;overflow:hidden}.report-mini-chart span{display:block;width:100%;background:#8ea6e6}.report-mini-chart .is-strong span{background:#78baa4}.report-card-bottom{display:flex;flex-direction:column;gap:14px;margin-top:15px;font-size:13px;color:#728099}.report-card-bottom strong{display:flex;align-items:center;justify-content:space-between;color:#526fb3;font-size:14px}.report-empty{text-align:center;padding:42px 24px;background:white;border:1px dashed #dbe3f0;border-radius:18px;color:#718099}.report-empty svg{margin:0 auto 18px}.report-empty h3{color:#34445e;margin-bottom:12px}.report-back{display:flex;align-items:center;gap:9px;margin:0 0 22px;color:#526fa8;font-size:14px}.personal-report{background:white;border:1px solid #e2e8f3;border-radius:24px;padding:30px}.report-person-heading{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.report-person-heading>.avatar{width:54px;height:54px;font-size:23px;background:#eaf0ff;color:#657fbe}.report-person-heading>div{flex:1;min-width:160px}.report-person-heading h2{font-size:28px;margin:6px 0 8px;overflow-wrap:anywhere}.report-person-heading>div>span,.report-person-heading p{font-size:14px;color:#7b879a}.report-person-heading>.status{font-size:13px}.report-metrics{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:12px;margin:28px 0}.report-metrics>div{padding:22px 16px;border-radius:16px;background:#f5f7fc;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-width:0}.report-metrics>div>svg{width:20px;color:#7a91c6}.report-metrics b{font-size:28px;line-height:1.2}.report-metrics small{font-size:15px;font-weight:500;color:#8290aa}.report-metrics>div>span{font-size:13px;color:#73819a}.report-metrics .report-total{align-items:center;background:#eef3ff}.report-ring{width:99px;height:99px;display:grid;place-items:center;border-radius:50%}.report-ring>b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:50%;background:#eef3ff;width:81px;height:81px;font-size:29px}.report-metrics .report-duration{font-size:22px}.report-info{display:flex;align-items:flex-start;gap:12px;padding:18px 20px;border-radius:14px;background:#edf4ff;color:#536b96;font-size:14px;margin:0 0 28px}.report-info svg{margin-top:2px}.report-section-heading h3{font-size:21px}.report-task-list{border:1px solid #e8edf5;border-radius:16px;padding:0 20px}.report-task{display:flex;align-items:center;gap:15px;padding:20px 0}.report-task+.report-task{border-top:1px solid #edf0f6}.report-task-number{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:10px;background:#f1f4fa;color:#8a99b6;font-size:14px;font-weight:650}.report-task-main{min-width:0;flex:1}.report-task-main>strong{display:block;font-size:16px}.report-task-main>span{display:block;font-size:13px;color:#7b89a1;margin-top:4px}.report-task-track{height:7px;border-radius:9px;background:#eef2f8;overflow:hidden;margin:11px 0 8px}.report-task-track>i{height:100%;display:block;background:#8ba3e0;border-radius:inherit}.report-task-track>.is-strong{background:#74b29c}.report-task-main>small{font-size:12px;color:#7b89a1}.report-task>b{font-size:23px;flex:none}.report-task>b>small{font-size:13px;font-weight:500;color:#8c98ac}.report-insights{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0}.report-insights>section{padding:24px;border-radius:16px;background:#edf7f2}.report-insights>.report-growth{background:#fff6e8}.report-insights svg{color:#589a7d;margin-bottom:16px}.report-growth svg{color:#bc9351}.report-insights h3{font-size:20px;margin-bottom:12px}.report-insights p,.report-next p{font-size:14px;line-height:1.7;color:#66758b}.report-insights ul{padding-left:18px;margin:15px 0 0;display:grid;gap:9px;font-size:14px}.report-insights li b{font-size:13px;white-space:nowrap}.report-insights .report-skipped{margin-top:14px}.report-next{border:1px solid #e5ebf5;border-radius:16px;padding:24px}.report-next h3{font-size:21px;margin-bottom:17px}.report-next ol{padding-left:21px;margin:0;display:grid;gap:18px}.report-next li{padding-left:6px;font-size:15px}.report-next li p{margin-top:6px}.report-footnote{font-size:12px;line-height:1.7;color:#8290a5;margin:20px 0 0}
@media(max-width:1100px){.report-metrics{grid-template-columns:repeat(2,1fr)}.teacher-shell .teacher-account-name{max-width:200px}}
@media(max-width:600px){.teacher-shell .dashboard-header{padding:12px 17px;gap:12px}.teacher-shell .teacher-account{width:100%;justify-content:flex-end;gap:8px}.teacher-shell .teacher-account-name{max-width:none;flex:1;font-size:13px}.teacher-class-trigger{font-size:13px;max-width:125px}.teacher-shell .table-tabs{gap:14px!important}.teacher-shell .table-tabs [data-slot=tabs-trigger]{font-size:13px}.reports-controls{flex-direction:column}.reports-heading{align-items:flex-start}.reports-heading p{font-size:13px}.report-student-grid{grid-template-columns:1fr}.personal-report{padding:20px 15px;border-radius:18px}.report-person-heading{gap:12px}.report-person-heading h2{font-size:23px}.report-person-heading>div{min-width:140px}.report-person-heading>div>span,.report-person-heading p{font-size:12px}.report-person-heading>.status{margin-left:66px}.report-metrics{gap:8px;margin:22px 0}.report-metrics>div{padding:18px 12px}.report-metrics>div>span{font-size:12px}.report-section-heading{align-items:flex-start;flex-direction:column;gap:4px}.report-task-list{padding:0 12px}.report-task{gap:10px;align-items:flex-start}.report-task-number{display:none}.report-task-main>strong{font-size:15px}.report-task>b{font-size:19px}.report-task>b>small{display:block}.report-insights{grid-template-columns:1fr}.report-insights>section,.report-next{padding:20px}.report-info{padding:16px;font-size:13px}.teacher-shell .class-year{display:none}}

/* Parent contact stays within the teacher's student table. */
.parent-email-value{display:flex;align-items:center;gap:8px;padding:8px 0;text-align:left;color:#47649d;font-size:14px;max-width:220px;min-width:150px;line-height:1.5}.parent-email-value span{overflow-wrap:anywhere;min-width:0}.parent-email-value.is-empty{color:#7b8ba5}.parent-email-value:hover{color:#4b61b4}.parent-email-editor{width:240px;max-width:75vw;white-space:normal}.parent-email-input-row{display:flex;align-items:center;gap:6px}.parent-email-input-row input{min-width:0;flex:1;width:100%;border:1px solid #bbc9e2;border-radius:8px;background:#fff;padding:9px 10px;font-size:14px;color:#33445e;line-height:1.4}.parent-email-input-row input[aria-invalid=true]{border-color:#da5b66}.parent-email-input-row button{display:grid;place-items:center;flex:none;width:32px;height:36px;border-radius:8px;color:#5775a9;background:#edf2fc}.parent-email-input-row button[type=submit]{background:#e9f5ee;color:#397c5c}.parent-email-error,.parent-email-hint,.parent-email-suggestion{font-size:12px;line-height:1.5;margin-top:7px}.parent-email-error{color:#b54654}.parent-email-hint{color:#8390a5}.parent-email-suggestion{display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:#75829a}.parent-email-suggestion button{text-align:left;overflow-wrap:anywhere;max-width:100%;color:#4869b0;text-decoration:underline;text-underline-offset:3px}

.teacher-main .students-access-table [data-slot=table-cell],.teacher-main .students-access-table [data-slot=table-head]{padding-left:12px;padding-right:12px}.teacher-main .students-access-table .student-name{gap:9px}.teacher-main .students-access-table .student-name strong{white-space:normal;min-width:110px;max-width:170px}.teacher-main .students-access-table .parent-email-value{white-space:normal}

/* Platform navigation and expanded olympiad navigation have separate scopes. */
.teacher-sidebar [data-slot=sidebar-content]{padding:12px 18px 24px;gap:0;overflow-y:auto}
.teacher-sidebar .teacher-platform-nav [data-slot=sidebar-menu]{gap:7px}
.teacher-sidebar .teacher-olympiads-nav{margin-top:30px;padding-top:24px;border-top:1px solid #e5eaf3}
.teacher-nav-category{margin:0 12px 20px;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#8994a8}
.teacher-olympiad-heading{display:flex;gap:11px;align-items:center;margin:0 9px 18px}
.teacher-olympiad-heading .icon-box{width:38px;height:42px;border-radius:12px}
.teacher-olympiad-heading .icon-box svg{width:20px;height:20px}
.teacher-olympiad-heading h3{font-size:15px;letter-spacing:-.02em;line-height:1.35;color:#3e4b67}
.teacher-olympiad-heading p{font-size:10px;line-height:1.5;color:#8690a3;margin-top:5px}
.teacher-sidebar .teacher-olympiad-links{padding-left:10px;margin-left:12px;width:calc(100% - 12px);border-left:1px solid #e3e8f3;gap:5px}
.teacher-sidebar .teacher-olympiad-links [data-slot=sidebar-menu-button]{font-size:13px;min-height:41px;padding:10px 12px}
.teacher-sidebar .teacher-olympiad-links [data-slot=sidebar-menu-button]>svg{width:17px;height:17px}
.teacher-section-context{display:flex;align-items:center;gap:7px;color:#7887a1;font-size:13px;margin-bottom:12px}
.teacher-source-note{display:flex;align-items:center;gap:16px;background:#f0f4fc;border-radius:13px;padding:15px 18px;margin-top:24px}
.teacher-source-note>span{flex-shrink:0;color:#5974a7;font-size:12px;font-weight:650;background:#fff;border-radius:7px;padding:6px 10px}
.teacher-source-note p{color:#76839b;font-size:13px;line-height:1.6}
.teacher-material-source{display:flex;gap:8px;align-items:center;font-size:13px;color:#7c8aa2;margin:22px 0 18px}
.teacher-task-catalog{margin-top:30px}
.teacher-catalog-note{display:flex;align-items:center;gap:15px;background:#edf3ff;border:1px solid #e0e9fb;border-radius:16px;padding:21px 24px;margin-bottom:25px;color:#647fb3}
.teacher-catalog-note p{display:flex;flex-direction:column;gap:5px;font-size:13px;line-height:1.6}
.teacher-catalog-note strong{font-size:15px;color:#405c8d}
.teacher-task-catalog .public-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.teacher-main .teacher-class-heading{display:flex;align-items:center;gap:8px;width:auto}
.teacher-class-heading>.icon-button{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#8490a6}
.teacher-class-heading>.icon-button:hover{background:#edf2fb;color:#526da3}
.teacher-delete-explanation{font-size:14px;line-height:1.7;color:#6d7b92;margin-bottom:24px}
.teacher-class-confirm{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}
@media(max-width:600px){.teacher-source-note{flex-direction:column;align-items:flex-start;gap:9px}.teacher-task-catalog .public-card-grid{grid-template-columns:1fr}.teacher-catalog-note{align-items:flex-start;padding:18px}.teacher-sidebar .teacher-olympiads-nav{margin-top:22px;padding-top:20px}.teacher-class-confirm .btn{flex:1}}

/* Wet-asphalt palette, shared by desktop navigation and the mobile drawer. */
.teacher-sidebar{--sidebar:#303439;--sidebar-foreground:#d7dbe0;--sidebar-accent:#3d4249;--sidebar-accent-foreground:#fff;--sidebar-border:#4b5159;--sidebar-ring:#b7c7f3;background:#303439;color:#d7dbe0;border-color:#4b5159}
.teacher-sidebar [data-slot=sidebar-inner]{background:#303439;color:#d7dbe0}
.teacher-sidebar .brand-wordmark{color:#f5f6f8}
.teacher-sidebar [data-slot=sidebar-menu-button]{color:#d7dbe0}
.teacher-sidebar [data-slot=sidebar-menu-button]:hover{background:#3d4249;color:#fff}
.teacher-sidebar [data-slot=sidebar-menu-button][data-active=true]{background:#505863;color:#fff;box-shadow:inset 3px 0 0 #c0cdf2}
.teacher-sidebar [data-slot=sidebar-menu-button]:focus-visible,.teacher-sidebar .sidebar-brand:focus-visible{outline:2px solid #c0cdf2;outline-offset:3px}
.teacher-sidebar .nav-count{background:#4c535d;color:#f2f4f8}
.teacher-sidebar .teacher-nav-category,.teacher-sidebar .teacher-olympiad-heading p{color:#b3bac4}
.teacher-sidebar .teacher-olympiad-heading h3{color:#f0f2f5}
.teacher-sidebar .teacher-olympiad-heading .icon-box{background:#514443;color:#f5b5a4}
.teacher-sidebar .teacher-olympiads-nav,.teacher-sidebar .teacher-olympiad-links{border-color:#4b5159}
.teacher-sidebar [data-slot=sidebar-content]{scrollbar-color:#737b87 #303439}

/* Keep the school with the cabinet title and allow long names to wrap. */
.teacher-shell .teacher-header-title{display:flex;align-items:center;gap:12px;flex:1 1 280px;min-width:0}
.teacher-header-copy{min-width:0;font-size:15px;line-height:1.55;overflow-wrap:anywhere;color:#67738a}
.teacher-shell .teacher-header-copy>strong{white-space:nowrap}
.teacher-header-school{font-weight:500}
.teacher-school-divider{color:#abb3c1;white-space:pre}
@media(max-width:600px){.teacher-shell .teacher-header-title{flex-basis:100%}.teacher-header-copy,.teacher-shell .teacher-header-copy>strong{font-size:14px}}

/* Alternate homepages share the original content and authentication form. */
.landing-v2, .landing-v3 { --hero-ink: #222139; --hero-copy-size: 17px; }
:is(.landing-v2, .landing-v3) .landing-header { height: 96px; }
:is(.landing-v2, .landing-v3) .landing-header .logo-crop { width: 200px; height: 50px; }
:is(.landing-v2, .landing-v3) .landing-header .brand-description { max-width: 220px; }
:is(.landing-v2, .landing-v3) .site-footer .logo-crop { width: 180px; height: 43px; }
.brand-unbreakable { white-space: nowrap; }
:is(.landing-v2, .landing-v3) .hero { position: relative; isolation: isolate; }
:is(.landing-v2, .landing-v3) .hero-inner {
  position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) 410px;
  gap: 58px; min-height: 700px; align-items: center; padding: 48px 0 28px;
}
:is(.landing-v2, .landing-v3) .hero-story { padding-top: 0; min-width: 0; }
:is(.landing-v2, .landing-v3) .hero h1 {
  font-size: clamp(46px, 4.65vw, 66px); line-height: 1.12; letter-spacing: -.052em;
  font-weight: 800; color: var(--hero-ink);
}
:is(.landing-v2, .landing-v3) .hero h1 span { display: inline-block; white-space: nowrap; color: inherit; }
:is(.landing-v2, .landing-v3) .hero-labels { gap: 8px; margin-bottom: 40px; }
:is(.landing-v2, .landing-v3) .hero-labels .pill {
  border-radius: 100px; padding: 8px 12px; font-size: 12px; font-weight: 700;
}
:is(.landing-v2, .landing-v3) .hero-description {
  max-width: 560px; margin-top: 32px; font-size: var(--hero-copy-size); line-height: 1.55;
}
:is(.landing-v2, .landing-v3) .hero-dates { position: relative; z-index: 1; margin-top: 18px; gap: 4px; }
:is(.landing-v2, .landing-v3) .hero-dates p { font-size: var(--hero-copy-size); line-height: 1.55; }
.hero-symbols { position: relative; height: 112px; max-width: 520px; margin-top: 28px; }
:is(.landing-v2, .landing-v3) .login-card {
  width: 100%; margin: 0 0 14px; border-radius: 28px; padding: 32px 30px 27px;
}
:is(.landing-v2, .landing-v3) .login-card h2 { font-size: 29px; line-height: 1.15; font-weight: 750; }
:is(.landing-v2, .landing-v3) .login-card > .muted { line-height: 1.5; margin-top: 8px; }
:is(.landing-v2, .landing-v3) .login-card form { margin-top: 25px; }
:is(.landing-v2, .landing-v3) .login-card .field input { min-height: 52px; border-radius: 12px; font-size: 14px; }
:is(.landing-v2, .landing-v3) .login-card .field input::placeholder { color: #70788b; }
:is(.landing-v2, .landing-v3) .login-card .btn { min-height: 52px; font-size: 16px; }
:is(.landing-v2, .landing-v3) .register-buttons { grid-template-columns: 1fr; gap: 9px; margin-top: 9px; }
:is(.landing-v2, .landing-v3) .register-buttons a { min-height: 46px; padding: 11px; font-size: 14px; }
:is(.landing-v2, .landing-v3) .demo-links { flex-wrap: wrap; font-size: 12px; }
:is(.landing-v2, .landing-v3) .hero-geometry,
:is(.landing-v2, .landing-v3) .math-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-geometry { overflow: hidden; z-index: 0; }
.hero-geometry > svg, .math-decor > svg { position: absolute; }
.backdrop-shape { opacity: .65; }
.backdrop-circle { width: 740px; height: 740px; left: -325px; top: 40px; }
.backdrop-square { width: 520px; height: 520px; right: -180px; top: -150px; transform: rotate(-17deg); }
.backdrop-triangle { width: 620px; height: 620px; left: 36%; bottom: -240px; transform: rotate(17deg); }
.outline-shape { width: 70px; height: 70px; }
.outline-circle { left: 1%; top: 12%; color: var(--shape-circle); }
.outline-square { left: 43%; bottom: 0; transform: rotate(-14deg); color: var(--shape-square); }
.outline-triangle { right: 2%; top: 0; transform: rotate(13deg); color: var(--shape-triangle); }

/* V2: sunny paper, colourful geometry and a deep-ink sign-in card. */
.landing-v2 .hero { background: #ffed9b; border-radius: 32px; margin: 0 16px; }
.landing-v2 .hero-inner { width: min(1200px, calc(100% - 64px)); }
.landing-v2 { --shape-circle: #317acb; --shape-square: #f04b82; --shape-triangle: #774ce2; }
.landing-v2 .backdrop-shape { color: #ecc357; opacity: .65; }
.landing-v2 .hero-description, .landing-v2 .hero-dates { color: #514633; }
.landing-v2 .hero-dates strong { color: #302a26; }
.landing-v2 .hero-labels .pill { color: #323047; background: #ffffffb8; }
.landing-v2 .hero-labels .white-pill { background: #bfaaff; color: #312053; }
.landing-v2 .hero-labels .nationwide-pill { background: #c4edcd; color: #244a37; }
.landing-v2 .login-card { background: #24243e; border: 1px solid #24243e; color: #fff; box-shadow: 9px 10px 0 #dcbd5d, 0 24px 50px #5c491c19; }
.landing-v2 .login-card > .muted, .landing-v2 .login-card .field { color: #d6d7e5; }
.landing-v2 .login-card .field input { background: #fff; border-color: #fff; color: #252c49; }
.landing-v2 .login-card .btn { background: #ffdc64; color: #24243e; font-weight: 750; }
.landing-v2 .login-card .btn:hover:not(:disabled) { background: #ffe68c; box-shadow: 0 4px 18px #ffdc6430; }
.landing-v2 .login-card .forgot-link { color: #d6d7e5; }
.landing-v2 .login-card .or { border-color: #535369; }
.landing-v2 .login-card .or span { background: #24243e; color: #c2c3d6; }
.landing-v2 .register-buttons a { color: #fff; border-color: #66667d; background: #32324d; }
.landing-v2 .register-buttons a:hover { background: #454560; border-color: #b3a0ed; }
.landing-v2 .demo-links { color: #bbbdd0; }
.landing-v2 .demo-links button { color: #eadfff; }
.landing-v2 .login-card :is(button,a):focus-visible { outline-color: #ffdc64; }
.landing-v2 .header-login { background: #24243e; color: #fff; border-color: #24243e; border-radius: 100px; }
.landing-v2 .facts svg { color: #7660be; }

/* V3: a vivid violet canvas with an oversized, graphic maths composition. */
.landing-v3 .hero { background: #6744d4; }
.landing-v3 { --shape-circle: #88eaff; --shape-square: #ffa5ed; --shape-triangle: #d0ff71; }
.landing-v3 .backdrop-shape { color: #8a68e7; }
.landing-v3 .hero-inner { gap: 64px; }
.landing-v3 .hero h1 { color: #fff; }
.landing-v3 .hero-description { color: #fff; }
.landing-v3 .hero-dates { color: #f1e9ff; border-left: 3px solid #dccdff; padding-left: 13px; }
.landing-v3 .hero-dates strong { color: #fff; }
.landing-v3 .hero-labels .pill { background: #f7cd5e; color: #352853; }
.landing-v3 .hero-labels .white-pill { background: #e5ddff; color: #38256c; }
.landing-v3 .hero-labels .nationwide-pill { background: #d6f8d2; color: #284530; }
.landing-v3 .login-card { background: #fff; border: 2px solid #32204e; box-shadow: 9px 10px 0 #392466; color: #24243e; }
.landing-v3 .login-card > .muted, .landing-v3 .login-card .field { color: #596074; }
.landing-v3 .login-card .field input { background: #f7f5fc; border-color: #dcd7e8; }
.landing-v3 .login-card .btn { background: #6040c3; color: #fff; }
.landing-v3 .login-card .btn:hover:not(:disabled) { background: #4b2da8; }
.landing-v3 .login-card .forgot-link, .landing-v3 .demo-links button { color: #68469e; }
.landing-v3 .login-card .or span, .landing-v3 .demo-links { color: #687086; }
.landing-v3 .register-buttons a { background: #f3eefc; border-color: #dbd0ed; color: #443066; }
.landing-v3 .register-buttons a:hover { background: #e8dcfa; border-color: #a68acb; }
.landing-v3 .header-login { background: #f1eafd; border-color: #e0d3f7; color: #533393; border-radius: 100px; }
.landing-v3 .facts svg { color: #7348ce; }

@media (max-width: 1100px) {
  .landing-v2, .landing-v3 { --hero-copy-size: 15px; }
  :is(.landing-v2, .landing-v3) .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 35px; }
  :is(.landing-v2, .landing-v3) .hero h1 { font-size: 48px; }
  :is(.landing-v2, .landing-v3) .login-card { padding: 28px 25px; }
  :is(.landing-v2, .landing-v3) .login-card h2 { font-size: 26px; }
  :is(.landing-v2, .landing-v3) .hero-labels .pill { font-size: 11px; padding: 7px 10px; }
}
@media (max-width: 900px) {
  :is(.landing-v2, .landing-v3) .hero-inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 25px; }
  :is(.landing-v2, .landing-v3) .hero h1 { font-size: 39px; }
  :is(.landing-v2, .landing-v3) .login-card { padding: 27px 22px; }
  .landing-v2 .hero { margin: 0 10px; border-radius: 24px; }
  .landing-v2 .hero-inner { width: calc(100% - 36px); }
}
@media (max-width: 760px) {
  :is(.landing-v2, .landing-v3) .landing-header .logo-crop { width: 158px; height: 40px; }
  :is(.landing-v2, .landing-v3) .site-footer .logo-crop { width: 158px; height: 40px; }
  :is(.landing-v2, .landing-v3) .landing-header { height: 80px; }
  :is(.landing-v2, .landing-v3) .landing-header nav { display: none; }
  :is(.landing-v2, .landing-v3) .header-login { display: flex; padding: 8px 13px; }
  :is(.landing-v2, .landing-v3) .hero-inner { display: flex; flex-direction: column; align-items: stretch; padding: 30px 0; gap: 26px; min-height: 0; max-width: 560px; }
  :is(.landing-v2, .landing-v3) .hero h1 { font-size: clamp(34px, 8.8vw, 54px); line-height: 1.15; letter-spacing: -.05em; }
  :is(.landing-v2, .landing-v3) .hero-labels { margin-bottom: 20px; gap: 7px; }
  :is(.landing-v2, .landing-v3) .hero-labels .pill { font-size: 11px; }
  :is(.landing-v2, .landing-v3) .hero-description { max-width: none; margin-top: 18px; }
  .hero-symbols { display: none; }
  :is(.landing-v2, .landing-v3) .login-card { margin: 0 0 8px; padding: 28px 23px; border-radius: 23px; }
  :is(.landing-v2, .landing-v3) .login-card h2 { font-size: 27px; }
  .landing-v2 .hero { margin: 0 8px; border-radius: 24px; }
  .landing-v2 .hero-inner { width: calc(100% - 32px); }
  .landing-v2 .login-card { box-shadow: 5px 6px 0 #dcbd5d; }
  .landing-v3 .login-card { box-shadow: 5px 6px 0 #392466; }
  .outline-shape { width: 55px; height: 55px; }
  .outline-circle { left: -1%; top: 12%; }
  .outline-square { left: 42%; bottom: 0; }
  .outline-triangle { right: 2%; top: 0; }
  .backdrop-circle { width: 660px; height: 660px; left: -360px; top: 110px; }
  .backdrop-square { width: 310px; height: 310px; right: -150px; top: -90px; }
  .backdrop-triangle { width: 620px; height: 620px; left: -80px; bottom: -230px; }
}
@media (max-width: 360px) {
  :is(.landing-v2, .landing-v3) .award-grid { grid-template-columns: minmax(0, 1fr); }
  :is(.landing-v2, .landing-v3) .hero h1 { font-size: 31px; }
  :is(.landing-v2, .landing-v3) .login-card { padding: 25px 18px; }
  :is(.landing-v2, .landing-v3) .login-card h2 { font-size: 24px; }
  :is(.landing-v2, .landing-v3) .demo-links { font-size: 11px; gap: 5px; }
}

/* Supplied logo on site, account, award, and teacher pages. */
.brand-wordmark { display:inline-flex; align-items:center; flex-shrink:0; width:160px; height:42px; }
.brand-wordmark img, .logo-crop img, .mini-brand img, .cert-brand img { display:block; width:100%; height:100%; object-fit:contain; }
.logo-crop { display:block; width:180px; height:43px; flex-shrink:0; overflow:visible; }
.teacher-sidebar .brand-wordmark img, .dark .logo-crop img, .dark .brand-wordmark img, [data-theme="dark"] .logo-crop img, [data-theme="dark"] .brand-wordmark img { filter:brightness(0) invert(1); }
.landing-header .logo-crop { width:200px; height:50px; }
.site-footer .logo-crop { width:155px; height:39px; }
.mini-brand { display:block; width:112px; height:30px; }
.cert-brand { width:155px; height:42px; }
@media (max-width:700px) {
  .logo-crop, .landing-header .logo-crop, .site-footer .logo-crop { width:145px; height:39px; }
}

/* Learning outcomes and the task video showcase. */
.learning-results {
  background: #faf9ff;
  color: #29233d;
  padding: 80px 0 88px;
  border-bottom: 1px solid #eeeaf5;
  scroll-margin-top: 24px;
}
.learning-results-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: 'intro example' 'benefits example';
  column-gap: 64px;
  row-gap: 32px;
  align-items: start;
}
.learning-results-intro { grid-area: intro; min-width: 0; }
.learning-results-intro h2 {
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 750;
}
.learning-results-intro p {
  margin-top: 22px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #625c70;
  max-width: 490px;
}
.learning-benefits { grid-area: benefits; list-style: none; padding: 0; margin: 0; }
.learning-benefits li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
  padding: 23px 0;
  border-top: 1px solid #ded8ec;
}
.learning-benefits li:last-child { padding-bottom: 0; }
.learning-benefit-number {
  color: #6040c3;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.learning-benefits h3 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.02em; }
.learning-benefits p { margin-top: 9px; font-size: 1rem; line-height: 1.6; color: #625c70; }
.learning-example {
  --example-inset: 28px;
  grid-area: example;
  align-self: center;
  min-width: 0;
  margin: 0;
  background: radial-gradient(ellipse at 100% 0, #eee8ff 0, transparent 55%), #fff;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 64px -24px #48377830, 0 4px 16px #48377808;
  overflow: hidden;
}
.learning-example-heading { padding: 28px var(--example-inset) 0; }
.learning-example-heading h3 { font-size: 1.375rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
.learning-example-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px var(--example-inset) 20px; border-bottom: 1px solid #e9e4f2; }
.learning-example-tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 62px; padding: 0 0 16px; border: 0; border-radius: 0; background: transparent; color: #756d84; font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: color .18s ease; }
.learning-example-tab-number { font-size: .625rem; line-height: 1; font-weight: 650; letter-spacing: .1em; color: #a59bb5; }
.learning-example-tab::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; border-radius: 3px 3px 0 0; background: #7652ce; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.learning-example-tab:hover { color: #6040c3; }
.learning-example-tab[aria-selected="true"] { color: #6040c3; }
.learning-example-tab[aria-selected="true"] .learning-example-tab-number { color: #7652ce; }
.learning-example-tab[aria-selected="true"]::after { transform: scaleX(1); }
.learning-example-tab:focus-visible { outline: 2px solid #7652ce; outline-offset: 5px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .learning-example-tab, .learning-example-tab::after { transition: none; } }
.learning-example-film {
  margin: 0 var(--example-inset) 12px;
  border-radius: 18px;
  overflow: hidden;
  background: #fbfaff;
  aspect-ratio: 1262 / 720;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
.learning-example-film[hidden] { display: none; }
.learning-example-film video { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.learning-example-film video::-webkit-media-controls { display: none !important; }
@media (max-width: 1100px) {
  .learning-results-grid { column-gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .learning-example { --example-inset: 24px; }
  .learning-example-heading { padding: 24px var(--example-inset) 0; }
  .learning-example-tabs { margin: 20px var(--example-inset); gap: 12px; }
}
@media (max-width: 900px) {
  .learning-results { padding: 56px 0 64px; }
  .learning-results-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'example' 'benefits'; gap: 30px; max-width: 680px; }
  .learning-results-intro p { max-width: none; }
  .learning-example { align-self: start; }
  .learning-results-intro h2 { font-size: 2.5rem; }
}
@media (max-width: 600px) {
  .learning-results { padding: 44px 0 48px; }
  .learning-results-grid { width: calc(100% - 40px); gap: 28px; }
  .learning-results-intro h2 { font-size: clamp(1.875rem, 8vw, 2.25rem); }
  .learning-results-intro p { margin-top: 19px; font-size: 1rem; }
  .learning-example { --example-inset: 20px; border-radius: 22px; box-shadow: 0 16px 40px -20px #48377830; }
  .learning-example-heading { padding: 22px var(--example-inset) 0; }
  .learning-example-heading h3 { font-size: 1.25rem; }
  .learning-example-tabs { margin: 20px var(--example-inset) 16px; gap: 10px; }
  .learning-example-tab { padding: 0 0 14px; min-height: 58px; font-size: clamp(.6875rem, 2.9vw, .875rem); }
  .learning-example-film { margin: 0 var(--example-inset) 8px; border-radius: 14px; }
  .learning-benefits li { grid-template-columns: 25px minmax(0, 1fr); gap: 12px; padding: 21px 0; }
  .learning-benefits h3 { font-size: 1.125rem; }
}

.public-card-page{background:#faf9f6;min-height:100vh;color:#242323}.public-card-main{padding-top:28px;padding-bottom:80px}.public-card-heading{max-width:780px;margin:36px 0}.public-card-heading h1,.public-card-main>h1,.student-home>h1{font-size:clamp(32px,5vw,58px);line-height:1.1;letter-spacing:-.035em;margin:14px 0 20px;font-weight:750}.public-card-heading>p,.public-card-main>p{font-size:20px;line-height:1.55;max-width:780px}.public-card-columns{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}.public-player-preview{margin:0;border:1px solid #dedbd5;border-radius:18px;overflow:hidden;background:white}.public-player-preview figcaption{display:flex;align-items:center;gap:9px;padding:16px 20px;color:#68645e;font-size:14px;line-height:1.4;border-top:1px solid #e9e6e0}.public-player-preview figcaption svg{flex-shrink:0}.public-card-rules{padding:34px 0}.public-card-rules h2,.public-other-cards h2,.student-home>h2{font-size:27px;line-height:1.2;font-weight:700;letter-spacing:-.02em}.public-card-rules p{margin:14px 0;color:#615c56}.public-card-rules ol{list-style:decimal;padding-left:24px;display:grid;gap:14px;font-size:17px;line-height:1.65}.public-card-rules li{padding-left:6px}.public-card-rules li::marker{font-weight:700;color:#725ccc}.card-access-panel{background:#fff;padding:26px;border:1px solid #dad5ca;border-radius:18px;box-shadow:5px 5px 0 #eae4d8;position:sticky;top:24px}.card-access-panel h2{font-size:28px;line-height:1.15;margin:16px 0;font-weight:700;letter-spacing:-.025em}.card-access-panel p{line-height:1.6;margin:16px 0}.card-access-panel form{display:grid;gap:16px}.card-access-panel .btn{white-space:normal;height:auto;min-height:48px;line-height:1.4}.card-register-links{display:grid;gap:13px;margin-top:24px;padding-top:22px;border-top:1px solid #e6e1d8;font-size:14px}.card-register-links span{color:#6c675f}.card-register-links a{text-decoration:underline;text-underline-offset:4px}.public-other-cards{margin-top:32px;padding-top:36px;border-top:1px solid #dcd6cb}.public-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}.public-card-tile{display:block;border:1px solid #dbd6cf;border-radius:16px;overflow:hidden;background:#fff;transition:transform .15s,box-shadow .15s}.public-card-tile:hover{transform:translateY(-3px);box-shadow:0 8px 24px #2423230c}.public-card-tile>.card-illustration{border-bottom:1px solid #eee}.public-card-tile>div:not(.card-illustration){padding:20px}.public-card-tile small{font-size:11px;letter-spacing:.1em;font-weight:700;color:#777068}.public-card-tile h3{font-size:24px;font-weight:700;line-height:1.2;margin:12px 0 24px}.public-card-tile span{display:flex;align-items:center;gap:10px;font-size:14px}.card-start-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.student-home{padding-top:48px;padding-bottom:80px}.student-home>h2{margin-top:50px}.home-olympiad{max-width:800px;margin-top:24px;border:1px solid #dcd6cb;background:#f7f3e9;padding:36px;border-radius:20px;box-shadow:7px 7px 0 #e8dfcd}.home-olympiad h2{margin:18px 0}.home-olympiad p{font-size:18px;line-height:1.65;max-width:620px;margin-bottom:26px}.guest-card-catalog{padding-top:64px;padding-bottom:64px}.guest-card-catalog h2{font-size:36px;font-weight:700;letter-spacing:-.03em}.tasks-preview .preview-grid article a{display:block;text-decoration:underline;text-underline-offset:4px;margin-top:12px}.public-card-page a:focus-visible,.public-card-tile:focus-visible{outline:3px solid #765bd4;outline-offset:4px}
@media(max-width:900px){.public-card-columns{grid-template-columns:minmax(0,1fr)}.card-access-panel{position:static;grid-row:2}.public-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-card-heading{margin:28px 0}.public-card-rules{padding-bottom:6px}}
@media(max-width:560px){.public-card-heading>p,.public-card-main>p{font-size:17px}.public-card-grid{grid-template-columns:1fr}.public-card-main{padding-top:18px}.public-card-rules ol{font-size:16px}.public-card-heading h1{font-size:36px}.card-start-actions{flex-direction:column}.home-olympiad{padding:24px}.public-card-page .student-header{gap:16px;flex-wrap:wrap}.public-player-preview figcaption{font-size:12px;padding:12px}.guest-card-catalog h2{font-size:30px}}

/* One illustration treatment for the guest catalog, teacher catalog and task pages. */
.card-illustration{display:flex;align-items:center;justify-content:center;gap:4%;width:100%;aspect-ratio:16/10;padding:clamp(20px,3vw,32px);box-sizing:border-box;background:#faf9f6;overflow:hidden}
.card-illustration>img{display:block;flex:1 1 0;min-width:0;width:0;height:100%;object-fit:contain;object-position:center}
.public-player-preview>.card-illustration{max-height:420px;padding:clamp(28px,4vw,48px)}

/* Compact results: the review and the next practice action take priority. */
.results-redesign{padding-top:28px;padding-bottom:40px}
.results-summary{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:32px;padding:24px 30px;background:#fff;border:1px solid #e5dfed;border-radius:20px}
.results-summary h1{font-size:32px;line-height:1.15;color:#30213e;margin:0}
.results-next-step{font-size:13px;color:#746b80;line-height:1.5}
.results-award{padding-left:28px;border-left:1px solid #ece7f2;min-width:0}
.results-award h2{font-size:17px;color:#5d4979;margin-bottom:12px;letter-spacing:-.01em}
.results-award-body{display:flex;align-items:center;gap:20px}
.award-thumbnail{position:relative;display:block;flex:none;width:91px;height:128px;padding:0;background:transparent;border:0;transform:rotate(-3deg);box-shadow:0 3px 10px #30213e16;border-radius:2px}
.award-thumbnail:hover{transform:rotate(0deg) translateY(-2px)}
.award-thumbnail-paper{position:absolute;inset:0;overflow:hidden;background:#fffdf9;border:2px solid #947cbd;outline:1px solid #e2c585;outline-offset:-7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;color:#4c3c65;text-align:center;font-style:normal}
.award-thumbnail-paper img{width:42px;height:12px;object-fit:contain;margin-bottom:2px}
.award-thumb-subtitle{font-size:3px;letter-spacing:.3px}
.award-thumbnail-paper>strong{font-size:8px;line-height:1.15;font-weight:800;max-width:70px;margin-top:5px}
.award-thumbnail-paper>span:not([class]){font-size:4px}
.award-thumbnail-paper>b{font-size:6px;line-height:1.3;max-width:68px;overflow-wrap:anywhere}
.award-thumbnail-paper>i{font-size:5px;background:#efe9f8;padding:3px 6px;border-radius:3px;font-style:normal}
.award-thumb-footer{font-size:3px;display:flex;align-items:center;gap:7px;margin-top:6px}
.award-thumb-footer em{display:grid;place-items:center;border:1px solid #b49ac8;border-radius:50%;width:15px;height:15px;font-size:3px;font-style:normal}
.results-award-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.results-award-actions .btn{font-size:13px;min-height:37px;padding:8px 12px;border-color:#ded4eb;background:#f3eef9;color:#6e548d;border-radius:9px;gap:6px}
.award-download{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#745895;font-size:13px;padding:4px 1px;font-family:inherit}
.award-download:hover{color:#49315e}
.results-award-actions>span{font-size:10px;color:#9a8da7;margin-top:-4px}
.results-without-award{grid-template-columns:1fr}
.results-tasks{margin-top:29px}
.results-tasks-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}
.results-tasks h2{font-size:28px;color:#30213e}
.results-tasks-heading p{font-size:14px;color:#82738f;margin-top:5px}
.results-practice-note{display:flex;align-items:center;gap:7px;color:#83758f;font-size:12px}
.results-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.result-task-card{min-width:0;background:#fff;border:1px solid #e4ddeb;border-radius:16px;padding:20px;display:flex;flex-direction:column}
.result-task-heading{display:flex;gap:11px;align-items:flex-start;margin-bottom:16px}
.result-task-number{flex:none;display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#f1ecf7;color:#9079ad;font-weight:700;font-size:14px}
.result-task-heading>div{flex:1;min-width:0}
.result-task-heading h3{font-size:16px;line-height:1.35;color:#30213e;letter-spacing:-.01em;margin:0}
.result-task-status{font-size:11px;display:flex;align-items:center;gap:4px;line-height:1.4;margin-top:5px;color:#9a8060}
.result-task-status.status-success{color:#429377}
.result-task-status.status-neutral{color:#8e819a}
.result-task-points{white-space:nowrap;font-size:12px;color:#a192b0;line-height:1.3;padding-top:2px}
.result-task-points b{font-size:22px;color:#8d73b2;font-weight:750}
.result-task-success .result-task-points b{color:#559e85}
.task-feedback{display:grid;gap:12px;line-height:1.55;font-size:13px;color:#776b83}
.task-feedback h4{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:0;margin:0 0 4px}
.feedback-good h4{color:#478a73}
.feedback-improve h4{color:#967440}
.task-feedback p+p{margin-top:3px}
.result-solution{margin:15px 0 0;border-top:1px solid #f0eaf5;padding-top:12px;color:#776687;font-size:13px;line-height:1.6}
.result-solution summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;color:#8c70b0;font-size:12px;font-weight:600;min-height:27px}
.result-solution summary::-webkit-details-marker{display:none}
.result-solution summary svg:last-child{margin-left:auto;transition:transform .15s}
.result-solution[open] summary svg:last-child{transform:rotate(180deg)}
.result-solution summary:focus-visible{outline:3px solid #c2afe0;outline-offset:4px;border-radius:3px}
.result-solution>p{margin-top:10px}
.result-tip{color:#756180;font-weight:600}
.result-task-actions{margin-top:13px}
.result-task-actions .btn{background:#f1ebf8;color:#8d71b2;border:1px solid #e6dbf1;min-height:39px;padding:9px 14px;border-radius:9px;font-size:12px}
.result-task-actions .btn:hover{background:#e9dff3;color:#74558f}
.results-home{margin:26px auto 0;display:flex;justify-content:center;background:transparent;border:0;font-family:inherit;font-size:13px;padding:10px}
.result-review-modal-action{margin-top:22px}
@media(min-width:760px){.results-task-grid{align-items:stretch}.result-task-actions{margin-top:auto;padding-top:13px}}
@media(max-width:900px){.results-summary{grid-template-columns:minmax(0,1fr) 258px;gap:18px;padding:23px}.results-summary h1{font-size:27px}.results-score-row{gap:20px}.results-facts{font-size:12px}.results-award{padding-left:20px}.results-award-body{gap:16px}.results-practice-note{max-width:205px}}
@media(max-width:700px){.results-redesign{padding-top:18px}.results-summary{grid-template-columns:1fr;gap:17px;padding:20px;border-radius:16px}.results-summary h1{font-size:27px}.results-score-row{margin-top:15px;gap:23px}.results-score-number>strong{font-size:51px}.results-score-number>span{font-size:20px}.results-next-step{font-size:12px}.results-award{padding:15px 0 0;border-left:0;border-top:1px solid #ece7f2;display:grid;grid-template-columns:minmax(0,1fr) 60px;grid-template-rows:auto 1fr;gap:6px 12px;min-height:106px}.results-award h2{font-size:16px;grid-column:1;margin:0;align-self:end}.results-award-body{display:contents}.award-thumbnail{grid-column:2;grid-row:1/3;width:60px;height:85px}.award-thumbnail-paper{padding:5px;gap:3px}.award-thumbnail-paper img{width:29px;height:8px}.award-thumbnail-paper>strong{font-size:5px;margin-top:2px}.award-thumbnail-paper>b{font-size:4px}.award-thumbnail-paper>i{font-size:3px;padding:2px 4px}.award-thumb-subtitle,.award-thumb-footer{display:none}.award-thumbnail-paper>span:not([class]){font-size:3px}.results-award-actions{grid-row:2;grid-column:1;flex-direction:row;flex-wrap:wrap;align-items:center;gap:9px 14px}.results-award-actions>span{display:none}.results-award-actions .btn{min-height:36px}.results-tasks{margin-top:23px}.results-tasks-heading{display:block;margin-bottom:14px}.results-tasks h2{font-size:25px}.results-tasks-heading p{font-size:13px}.results-practice-note{max-width:none;font-size:11px;margin-top:10px}.results-task-grid{grid-template-columns:1fr;gap:13px}.result-task-card{padding:17px}.result-task-heading h3{font-size:15px}.result-task-heading{gap:9px}.result-task-actions .btn{min-height:42px}.results-award>.error-box{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.award-thumbnail,.result-solution summary svg:last-child{transition:none}}

/* Highlight the next step for every task below the full score. */
.result-task-actions .btn.result-practice-primary,.result-review-modal-action .btn.result-practice-primary{background:#8058ac;border-color:#8058ac;color:#fff;font-size:13px;font-weight:700;min-height:42px;padding:10px 16px;box-shadow:0 3px 8px #8058ac1f}
.result-task-actions .btn.result-practice-primary:hover:not(:disabled),.result-review-modal-action .btn.result-practice-primary:hover:not(:disabled){background:#6e469b;border-color:#6e469b;color:#fff;box-shadow:0 4px 12px #8058ac2b}

.result-practice-completed{display:flex;align-items:center;gap:7px;width:fit-content;max-width:100%;padding:9px 11px;margin:0 0 10px;border:1px solid #c7e5d3;border-radius:9px;background:#edf8f1;color:#267347;font-size:12px;font-weight:600;line-height:1.45}
.result-practice-completed svg{flex:none}
.result-review-modal-action .result-practice-completed{margin-bottom:14px}
.practice-saving{position:fixed;z-index:120;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:11px 16px;max-width:calc(100vw - 32px);border:1px solid #e4ddeb;border-radius:12px;background:#fff;color:#776687;font-size:13px;box-shadow:0 4px 20px #30213e12}

.results-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 20px;padding:9px 13px;min-height:40px;border:1px solid #e4ddeb;border-radius:10px;background:#fff;color:#705584;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.results-back:hover{background:#f3eef8;border-color:#cbb8df}
.results-back:focus-visible{outline:3px solid #c2afe0;outline-offset:3px}
.results-tasks+.results-tasks{margin-top:34px}

/* Readable task reports with a compact, factual visual summary. */
.results-summary{grid-template-columns:minmax(0,1fr) 270px;gap:28px;padding:26px 28px}
.results-summary h1{font-size:30px;line-height:1.2}
.results-award{padding-left:24px}.results-award h2{font-size:18px}.results-award-body{gap:16px}
.results-task-grid{gap:20px}
.result-task-card{padding:26px;border-radius:20px;border-color:#e3ddea;box-shadow:0 2px 4px #30213e03}
.result-task-heading{gap:12px;align-items:center;margin-bottom:22px}
.result-task-number{width:32px;height:32px;font-size:15px;background:#f3eff7;color:#76618b;border-radius:50%}
.result-task-heading h3{font-size:22px;line-height:1.3;font-weight:750}
.result-task-points{display:inline-flex;align-items:baseline;gap:2px;padding:6px 10px;border-radius:9px;background:#f4f1f7;color:#72667e;font-size:16px}
.result-task-points b{font-size:22px;color:#62467d;font-weight:750}
.result-task-success .result-task-points{background:#edf6f0}.result-task-success .result-task-points b{color:#367457}
.result-task-card .task-feedback{font-size:18px;line-height:1.6;color:#51485b;gap:18px}
.result-task-card .task-feedback h4{font-size:16px;line-height:1.4;margin-bottom:6px;gap:8px}
.result-task-card .task-feedback h4 svg{width:18px;height:18px;flex:none}
.result-task-card .feedback-good h4{color:#367457}.result-task-card .feedback-improve h4{color:#8b652c}
.result-task-card .task-feedback p+p{margin-top:7px}
.result-task-card .result-solution{font-size:17px;line-height:1.65;margin-top:22px;padding-top:10px;color:#51485b;border-color:#eee9f2}
.result-task-card .result-solution summary{font-size:16px;min-height:44px;color:#695078;font-weight:600}
.result-task-card .result-tip{font-weight:500;color:#62536e}
.result-task-card .result-task-actions{padding-top:20px}
.result-task-card .result-task-actions .btn{width:100%;min-height:48px;padding:12px 16px;border-radius:12px;font-size:17px;font-weight:650;background:#f3eff7;color:#746383;border-color:#e9e1f0;white-space:normal}
.result-task-card .result-task-actions .btn.result-practice-primary{background:#8058ac;border-color:#8058ac;color:#fff;font-size:17px;box-shadow:none}
.result-task-card .result-task-actions .btn.result-practice-primary:hover:not(:disabled){background:#6e469b;border-color:#6e469b}
.result-task-card .result-task-actions .btn:not(.result-practice-primary):hover:not(:disabled){background:#eae2f1;color:#614878}
.result-task-card .result-practice-completed{font-size:15px;padding:10px 12px;line-height:1.4}
.result-task-actions .btn:focus-visible,.award-download:focus-visible,.award-thumbnail:focus-visible{outline:3px solid #b49ae5;outline-offset:4px}
@media(min-width:701px) and (max-width:1100px){
 .results-summary{grid-template-columns:minmax(0,1fr) 235px;gap:20px;padding:24px}
 .results-award{padding-left:18px}.results-award-body{gap:12px}.award-thumbnail{width:76px;height:107px}
 .result-task-card{padding:22px}.result-task-heading h3{font-size:21px}
}
@media(max-width:820px){.results-task-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 .results-summary{grid-template-columns:1fr;padding:22px;gap:20px}.results-summary h1{font-size:26px}
 .results-award{padding:18px 0 0}.results-award h2{font-size:17px}.results-award-actions .btn,.award-download{font-size:15px;min-height:40px}
 .result-task-card{padding:22px}.result-task-heading h3{font-size:21px}.result-task-card .task-feedback{font-size:17px}
 .results-task-grid{gap:16px}
}
@media(max-width:420px){
 .results-summary{padding:20px}.results-summary h1{font-size:24px}
 .result-task-card{padding:20px}.result-task-heading{gap:9px;flex-wrap:wrap}
 .result-task-heading>div{flex-basis:calc(100% - 45px)}.result-task-points{margin-left:41px}
 .result-task-heading h3{font-size:21px}
}
.results-summary.results-without-award{grid-template-columns:1fr}

/* A shared three-row grid gives every result the same typographic hierarchy. */
.results-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:26px}
.results-metric{display:grid;grid-template-rows:auto auto 8px;align-content:start;gap:12px;min-width:0}
.metric-label{font-size:16px;line-height:1.4;font-weight:500;color:#6b6174;min-height:2.8em;display:flex;align-items:flex-end}
.metric-value{display:block;font-size:28px;line-height:1.25;font-weight:750;letter-spacing:-.02em;color:#30213e;white-space:nowrap;font-variant-numeric:tabular-nums}
.metric-track,.metric-segments{height:8px;margin:0;align-self:end}
.metric-track{border-radius:4px;background:#eee8f5;overflow:hidden}
.metric-track>span{display:block;height:100%;border-radius:inherit;background:#8662ad}
.metric-time-track>span{background:#a28abb}
.metric-segments{display:flex;gap:4px}
.metric-segments i{flex:1;min-width:0;border-radius:3px;background:#e9eeeb}
.metric-segments .is-filled{background:#4b9878}
@media(min-width:701px) and (max-width:1100px){
 .results-metrics{gap:18px}.metric-value{font-size:24px}.metric-label{font-size:15px}
}
@media(max-width:700px){
 .results-metrics{gap:20px;margin-top:22px}.metric-value{font-size:26px}.metric-label{font-size:15px}
}
@media(max-width:520px){
 .results-metrics{grid-template-columns:1fr;gap:22px}
 .results-metric{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 8px;align-items:baseline;gap:10px 16px}
 .metric-label{min-height:0;display:block;font-size:15px}
 .metric-value{font-size:24px;text-align:right}
 .metric-track,.metric-segments{grid-column:1/-1}
}

/* Keep labels and values aligned; give every desktop graphic one shared row. */
.results-metric{grid-template-rows:auto auto 64px}
.metric-track,.metric-segments{align-self:center}
.metric-score-ring{display:block;width:64px;height:64px;fill:none;stroke-width:7;align-self:center}
.metric-ring-track{stroke:#eee8f5}
.metric-ring-value{stroke:#8662ad;stroke-linecap:butt}
@media(max-width:520px){
 .results-metric{grid-template-rows:auto 8px}
 .results-metric-score{grid-template-rows:auto 48px}
 .metric-score-ring{grid-column:1/-1;width:48px;height:48px}
}

/* A larger score ring spans the shared value and graphic rows. */
.metric-score-chart{position:relative;grid-row:2/4;display:grid;place-items:center;width:min(112px,100%);aspect-ratio:1;align-self:center}
.metric-score-chart .metric-score-ring{position:absolute;inset:0;width:100%;height:100%;stroke-width:5}
.metric-score-chart .metric-value{position:relative;text-align:center}
@media(max-width:520px){
 .results-metric-score{grid-template-columns:1fr;grid-template-rows:auto 112px}
 .metric-score-chart{grid-row:2;grid-column:1;width:112px}
}

/* Size the score column to its ring instead of reserving a third of the row. */
@media(min-width:521px){
 .results-metrics{grid-template-columns:136px minmax(0,1fr) minmax(0,1fr);column-gap:24px}
}
@media(min-width:521px) and (max-width:1100px){
 .results-metrics{grid-template-columns:124px minmax(0,1fr) minmax(0,1fr);column-gap:20px}
}

/* The certificate, thumbnail and PDF share the same drawing and typography. */
.award-artwork{position:relative;display:block;width:min(100%,700px);aspect-ratio:794/1123;margin:0 auto 20px;background:#fff;box-shadow:0 4px 20px #30213e0d;color:#30213e;overflow:hidden}
.award-artwork>canvas{display:block;width:100%;height:auto;aspect-ratio:794/1123}
.award-artwork-loading{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;font:inherit;font-size:14px;color:#80649a}
.award-artwork-compact{width:100%;height:100%;margin:0;box-shadow:none;aspect-ratio:794/1123}
.results-award .award-thumbnail{width:91px;height:129px;transform:rotate(-2deg);background:#fff}
.results-award .award-thumbnail:hover{transform:rotate(0deg) translateY(-2px)}
@media(max-width:700px){.results-award .award-thumbnail{width:60px;height:85px}}
@media print{.print-only .award-artwork{width:190mm;height:268.73mm;max-width:none;margin:0;box-shadow:none;break-inside:avoid;page-break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-only .award-artwork>canvas{width:190mm;height:268.73mm}.print-only .award-artwork-loading{display:none}}

/* Match the supplied desktop account reference at 90% of the original size.
   Zoom participates in layout, so the shorter content leaves no phantom space.
   Only account content is scaled; full-screen task panes keep their own sizing. */
@media screen and (min-width: 951px) {
  .student-page > main.wrap,
  .family-page > main.wrap {
    zoom: .9;
    width: calc(90% - 44px);
  }
  .student-page > .round-task-list {
    zoom: .9;
    width: min(640px, calc(90% - 40px));
  }
  .student-page > .student-header,
  .family-page > .student-header,
  .student-header.account-header {
    padding-inline: max(28.8px, calc((100% - 1080px) / 2));
  }
  .student-page > .student-header > *,
  .family-page > .student-header > *,
  .student-header.account-header > * {
    zoom: .9;
  }
}
@media screen and (min-width: 1151px) {
  .student-page > main.wrap,
  .family-page > main.wrap {
    width: min(1200px, calc(90% - 64px));
  }
}
@media screen and (min-width: 1440px) {
  .student-page > main.wrap,
  .family-page > main.wrap {
    width: min(1250px, calc(90% - 100px));
  }
}

/* Keep the account viewport stable while Radix locks body scrolling.
   The root gutter already reserves the scrollbar width; do not reserve it twice. */
@supports (scrollbar-gutter: stable) {
  html:has(.account-header) { scrollbar-gutter: stable; }
  html:has(.account-header) body[data-scroll-locked] {
    margin-right: 0 !important;
    padding-right: 0 !important;
    --removed-body-scroll-bar-size: 0px !important;
  }
}

/* Shared family navigation and action palette. */
:root{--action-purple:#8058ac;--action-purple-hover:#6e469b;--action-soft:#f3eff7;--action-border:#e4d9ee;--action-ink:#695078}
header.account-header.account-header{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:none;min-height:72px;margin:0;padding:12px max(28px,calc((100% - 1120px)/2));background:#fff;border-bottom:1px solid #e7e1ed}
header.account-header.account-header>*{zoom:1}
header.account-header .brand{flex:none;gap:0}
header.account-header .brand-description{display:none}
header.account-header .logo-crop{display:block;width:150px;height:40px}
header.account-header .student-account{display:flex;align-items:center;gap:16px;min-width:0}
header.account-header .parent-family{gap:10px;min-width:0}
header.account-header .parent-profile,header.account-header .parent-child-trigger{min-height:40px;border-radius:9px;padding:8px 6px}
header.account-header .parent-profile strong,header.account-header .parent-child-trigger,header.account-header .student-profile{font-size:14px;line-height:1.4}
header.account-header .parent-profile strong{font-weight:700}
header.account-header .parent-child-trigger{font-weight:600}
header.account-header .icon-button{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:10px;border-radius:10px;color:#81718f}
header.account-header .icon-button:hover:not(:disabled){background:var(--action-soft);color:var(--action-ink)}
header.account-header button:focus-visible{outline:3px solid #b49ae5;outline-offset:3px}
.btn{border-radius:12px;font-weight:650}
.btn:not(.btn-secondary):not(.btn-quiet){background:var(--action-purple)!important;border-color:var(--action-purple)!important;color:#fff!important;box-shadow:none!important}
.btn:not(.btn-secondary):not(.btn-quiet):hover:not(:disabled){background:var(--action-purple-hover)!important;border-color:var(--action-purple-hover)!important;transform:none}
.btn.btn-secondary{background:var(--action-soft)!important;border-color:var(--action-border)!important;color:var(--action-ink)!important;box-shadow:none!important}
.btn.btn-secondary:hover:not(:disabled){background:#eae2f1!important;border-color:#d3bfE3!important;transform:none}
.btn.btn-quiet{background:transparent!important;border-color:transparent!important;color:var(--action-ink)!important;box-shadow:none!important}
.btn.btn-quiet:hover:not(:disabled){background:var(--action-soft)!important;transform:none}
.btn:focus-visible{outline:3px solid #b49ae5;outline-offset:3px}
.back-control,.back-control.results-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid var(--action-border);border-radius:12px;background:#fff;color:var(--action-ink);font:inherit;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer}
.back-control svg{flex:none;width:18px;height:18px}
.back-control:hover:not(:disabled){background:var(--action-soft);border-color:#d3bfe3}
.back-control:focus-visible{outline:3px solid #b49ae5;outline-offset:3px}
.back-control:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){
 header.account-header.account-header{min-height:64px;padding:10px 16px;gap:8px}
 header.account-header .logo-crop{width:104px;height:32px}
 header.account-header .student-account{gap:5px;max-width:calc(100% - 112px)}
 header.account-header .parent-family{flex:1;gap:3px;max-width:100%}
 header.account-header .parent-profile,header.account-header .parent-child-trigger{flex:1;min-width:0;max-width:110px;padding:8px 2px}
 header.account-header .parent-profile strong,header.account-header .parent-child-trigger,header.account-header .student-profile{font-size:12px}
 header.account-header .icon-button{width:32px;height:36px;padding:7px}
 header.account-header .student-profile{gap:6px;min-width:0}
 header.account-header .student-profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

html:has(.course-launch-dialog){scrollbar-gutter:stable}
.subject-launch-tile .subject-launch-date{display:block;margin-top:auto;padding:10px 0 3px;font-size:14px;font-weight:700;line-height:1.5;color:#6b6287}
.subject-launch-tile:focus-visible{outline:3px solid #8464df;outline-offset:5px}
.course-launch-dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:460px;max-height:calc(100dvh - 40px);overflow-y:auto;padding:34px;border:1px solid #eee8f6;border-radius:28px;background:#fff;color:#252c49;box-shadow:0 24px 100px #21144330}
.course-launch-dialog::backdrop{background:#25233d66;backdrop-filter:blur(4px)}
body:has(.course-launch-dialog[open]){overflow:hidden}
.course-launch-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#f4f1fa;color:#6b6287;cursor:pointer}
.course-launch-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border-radius:22px;background:#f0eaff;color:#7953c5}
.course-launch-dialog h2{font-size:27px;line-height:1.2;letter-spacing:-.025em;text-align:center;margin:0 0 26px;font-weight:800}
.course-launch-dialog input[type=email]{display:block;width:100%;height:52px;border:1px solid #ded7ea;border-radius:13px;background:#fff;padding:0 14px;color:#252c49;font:inherit;font-size:16px}
.course-launch-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0 22px;font-size:13px;line-height:1.55;color:#645e74;cursor:pointer}
.course-launch-consent input{appearance:auto;flex:0 0 19px;width:19px;height:19px;margin:2px 0 0;accent-color:#7953c5}
.course-launch-submit{display:block;width:100%;min-height:50px;border:0;border-radius:14px;padding:12px 16px;background:#7953c5;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.course-launch-submit:hover:enabled{background:#6742b2}
.course-launch-submit:disabled{opacity:.45;cursor:default}
.course-launch-dialog :focus-visible{outline:3px solid #b49ae5;outline-offset:3px}
.course-launch-error{color:#b32d46;font-size:14px;line-height:1.45;margin:0 0 16px}
.course-launch-success p{text-align:center;line-height:1.6;margin:0 0 24px;overflow-wrap:anywhere}
@media(max-width:480px){.subject-launch-tile .subject-launch-date{font-size:12px;padding-top:4px}.course-launch-dialog{padding:30px 22px 24px;border-radius:23px}.course-launch-dialog h2{font-size:24px}}

.skill-report-list .report-evidence{grid-column:1/-1;font-size:13px;line-height:1.6;color:#65718a}
.skill-report-list .report-evidence h5{font-size:13px;color:#252c49;margin:4px 0 6px}
.skill-report-list .report-evidence ul{list-style:disc;padding-left:20px}
.skill-report-list .report-evidence li+li{margin-top:4px}

/* The player owns scrolling inside its iframe. */
html:has(.round-fullscreen),body:has(.round-fullscreen){overflow:hidden}

/* Illustrated previews of the three student awards and the teacher letter. */
.award-showcase { position: relative; padding: 88px 0 84px; color: #29233d; background: #fffdf9; scroll-margin-top: 24px; }
.award-showcase-anchor { position: absolute; top: 0; scroll-margin-top: 24px; }
.award-showcase-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.award-showcase-heading h2 { font-size: clamp(2rem, 3.3vw, 2.75rem); line-height: 1.12; }
.award-showcase-heading p { max-width: 580px; font-size: 1.0625rem; line-height: 1.65; color: #716979; }
.award-showcase-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.award-showcase-students { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 40px; }
.award-illustration { margin: 0; min-width: 0; text-align: center; }
.award-illustration-art { width: 75%; margin: 0 auto; aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center; }
.award-illustration-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.award-illustration-winner img { transform: rotate(-5deg); }
.award-illustration-prize img { transform: rotate(3deg); }
.award-illustration-participant img { transform: rotate(-3deg); }
.award-illustration figcaption { margin-top: 26px; padding: 0 8px; }
.award-illustration h3, .award-teacher-copy h3 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.02em; }
.award-showcase-teacher { position: relative; background: #edf5f1; border-radius: 24px; padding: 20px 18px 24px; text-align: center; }
.award-teacher-label { display: inline-block; color: #3c7365; font-size: .6875rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; }
.award-showcase-teacher .award-illustration-art img { transform: rotate(4deg); }
.award-teacher-copy { margin-top: 16px; }
.award-teacher-copy p { margin-top: 12px; color: #58736c; font-size: .875rem; line-height: 1.6; }
@media (max-width: 1050px) {
  .award-showcase-layout { grid-template-columns: 1fr; gap: 44px; }
  .award-showcase-students { padding-top: 0; gap: 30px; }
  .award-illustration-art { max-width: 202px; margin: 0 auto; }
  .award-showcase-teacher { display: grid; grid-template-columns: 135px 1fr; grid-template-rows: auto 1fr; column-gap: 32px; padding: 28px 40px; text-align: left; }
  .award-showcase-teacher .award-illustration-art { grid-row: 1 / 3; grid-column: 1; width: 135px; }
  .award-teacher-label { align-self: end; margin: 26px 0 0; }
  .award-teacher-copy { margin-top: 12px; max-width: 430px; }
  .award-teacher-copy h3 { font-size: 1.5rem; }
  .award-teacher-copy p { font-size: 1rem; }
}
@media (max-width: 600px) {
  .award-showcase { padding: 48px 0; }
  .award-showcase > .wrap { width: calc(100% - 40px); }
  .award-showcase-heading { display: block; margin-bottom: 30px; }
  .award-showcase-heading p { margin-top: 18px; font-size: 1rem; }
  .award-showcase-students { grid-template-columns: 1fr; gap: 40px; }
  .award-illustration-art { width: 172px; max-width: 100%; }
  .award-illustration figcaption { margin-top: 14px; }
  .award-illustration h3 { font-size: 1.25rem; }
  .award-showcase-teacher { display: flex; flex-direction: column; align-items: center; padding: 24px 22px 28px; text-align: center; }
  .award-teacher-label { margin: 0 0 16px; align-self: center; }
  .award-showcase-teacher .award-illustration-art { width: 158px; }
  .award-teacher-copy { margin-top: 18px; }
  .award-teacher-copy h3 { font-size: 1.25rem; }
  .award-teacher-copy p { font-size: .9375rem; }
}

/* Compact shared header for public pages. */
.landing-page .landing-header, .public-site-header { height:76px; min-height:76px; padding-top:0; padding-bottom:0; }
.landing-page .landing-header .brand-description, .public-site-header .brand-description { display:block; max-width:none; white-space:nowrap; font-size:11px; line-height:1.5; }
.landing-page .landing-header .logo-crop, .public-site-header .logo-crop { width:180px; height:44px; }
.landing-home .wrap { max-width:1120px; }
@media(min-width:1101px) {
  .landing-home .hero-inner { grid-template-columns:minmax(0,1fr) 380px; gap:52px; min-height:640px; padding-top:40px; padding-bottom:28px; }
  .landing-home .hero h1 { font-size:clamp(42px,4.3vw,60px); }
}
@media(max-width:760px) {
  .landing-page .landing-header, .public-site-header { height:64px; min-height:64px; }
  .landing-page .landing-header .brand-description, .public-site-header .brand-description { display:none; }
  .landing-page .landing-header .logo-crop, .public-site-header .logo-crop { width:145px; height:36px; }
}

.public-navigation-header{max-width:1120px;height:76px;min-height:76px;padding:0;gap:24px}
.public-navigation-header .logo-crop{width:180px;height:44px}
.public-navigation-header .brand-description{display:block;max-width:none;white-space:nowrap;font-size:11px;line-height:1.5}
.public-navigation-header .landing-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.public-navigation-header .header-login{display:flex;padding:10px 19px;border:1px solid #e0d3f7;border-radius:100px;background:#f1eafd;color:#533393;font-size:14px;font-weight:600}
.public-navigation-header .header-register{display:flex;align-items:center;justify-content:center;padding:10px 19px;border:1px solid #6544b7;border-radius:100px;background:#6544b7;color:#fff;font-size:14px;font-weight:650;white-space:nowrap}
.public-navigation-header .header-register:hover{background:#533393}
.parent-registration-note,.teacher-registration-note{margin:16px auto 0;max-width:560px;color:#787180;font-size:12px;line-height:1.6;text-align:center}
@media(max-width:760px){.public-navigation-header{height:64px;min-height:64px;gap:10px}.public-navigation-header .brand-description{display:none}.public-navigation-header .logo-crop{width:145px;height:36px}}
@media(max-width:600px){.public-navigation-header .logo-crop{width:110px;height:32px}.public-navigation-header .landing-header-actions{gap:6px}.public-navigation-header .header-login{padding:8px 10px;font-size:12px}.public-navigation-header .header-register{padding:8px 11px;font-size:12px}}

.public-navigation-bar{background:#fff}

/* Shared heading for the role selector and both registration forms. */
.registration-choice-heading{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;width:100%}
.registration-choice-heading .registration-choice-back{margin:0;flex-shrink:0}
.registration-choice-heading h1{margin:0;font-size:clamp(28px,4vw,34px);font-weight:750;line-height:1.2;letter-spacing:-.035em;color:#30213e;text-align:left}
.registration-simple-layout.registration-form-layout{max-width:960px;padding-top:24px;gap:28px}
@media(min-width:761px) and (max-height:700px){.registration-simple-layout.registration-form-layout{padding-top:16px}}
@media(max-width:360px){.registration-choice-heading{gap:12px}.registration-choice-heading h1{font-size:24px}}

.teacher-registration-note a{text-decoration:underline;text-underline-offset:3px}

/* Keep intrinsic form widths inside narrow grid and flex columns. */
.field, .field :is(input, textarea, select), .school-search-control { min-width: 0; }
@media (max-width: 760px) {
  .field :is(input, textarea, select), .school-search-control > input,
  :is(.landing-v2, .landing-v3) .login-card .field input { font-size: 16px; }
}

/* Keep the shared public navigation visible while scrolling. */
.public-navigation-bar{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 0 #e9e5ef}
html:has(.public-navigation-bar){scroll-padding-top:92px}
@media(max-width:760px){html:has(.public-navigation-bar){scroll-padding-top:80px}}
