:root{--ink:#28283f;--muted:#77788b;--purple:#5953d7;--light:#f4f3ff;--line:#eaeaf1;--green:#31876c;--radius:20px}*{box-sizing:border-box}body{margin:0;background:#f8f9fc;color:var(--ink);font-family:'Segoe UI',system-ui,sans-serif;font-size:15px}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dc9d27;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:9px}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:18px}p{line-height:1.65;color:var(--muted)}.skip{position:fixed;top:-100px;background:white;padding:14px;z-index:99}.skip:focus{top:0}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-size:26px;font-weight:800;letter-spacing:-1px}.brand-light{font-weight:400}.brand small{display:block;font-size:7px;letter-spacing:2px;margin-top:2px}.brand-icon{background:var(--purple);color:white;font-size:34px;width:44px;height:44px;border-radius:14px;text-align:center;line-height:41px}.workspace-label{font-size:10px;color:#999aab;letter-spacing:1.8px;margin:51px 12px 16px;font-weight:700}nav{display:grid;gap:8px}nav a{display:flex;align-items:center;gap:13px;padding:14px 13px;border-radius:12px;color:#77788b;font-size:21px}nav a span{font-size:13px;font-weight:600}nav a small{margin-left:auto;font-size:10px;background:#e5e3fb;padding:2px 6px;border-radius:5px}nav a.active{background:#efedfc;color:var(--purple)}.sidebar-bottom{margin-top:auto;padding-top:25px}.help-card{background:#f7f6ff;border-radius:15px;padding:19px 15px}.help-card>span{font-size:26px;color:var(--purple);display:block;margin-bottom:9px}.help-card b{font-size:12px;line-height:1.6;display:block}.help-card p{font-size:11px;margin:9px 0 0}.plain{background:none;border:0;color:var(--muted)}.parent-link{font-size:12px;margin:22px 0 15px}.local-note{font-size:9px;color:#9293a4}.local-note i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#70af93;margin-right:5px}.shell{margin-left:242px}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 43px;background:#fff}.breadcrumb{font-size:12px;color:#999aaa}.breadcrumb span{margin:0 14px;color:#ccc}.breadcrumb b{font-weight:500;color:#55566b}.top-actions{display:flex;align-items:center;gap:22px}.xp-pill{font-size:13px;color:#ae791e}.xp-pill b{margin-left:5px;color:#59536b}.avatar{border:3px solid white;outline:1px solid #ece5d7;background:#f6e6c3;color:#a27937;border-radius:50%;height:39px;width:39px;font-weight:700}main{max-width:1330px;margin:auto;padding:35px 43px 25px;min-height:calc(100vh - 145px)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:700;color:var(--purple);margin-bottom:10px}.greeting-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.greeting-row p{font-size:13px;margin:0}.tiny-label{font-size:11px;color:#858699;background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:8px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 262px;gap:24px}.hero{position:relative;overflow:hidden;background:#eeecff;border:1px solid #e5e1fc;border-radius:var(--radius);min-height:252px;padding:30px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;width:62%}.hero h2{font-size:31px;line-height:1.2;margin:12px 0}.hero p{font-size:12px;max-width:310px;color:#777294}.tag{display:inline-flex;gap:5px;background:#ffffffa8;padding:6px 10px;border-radius:6px;color:#7771a2;font-size:9px;letter-spacing:1px;font-weight:700}.btn{border:0;background:var(--purple);border-radius:10px;padding:12px 19px;color:white;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:15px;box-shadow:0 4px 0 #433db2}.btn:hover{filter:brightness(1.07);transform:translateY(-1px)}.btn.secondary{background:white;color:var(--purple);border:1px solid #dfdcf2;box-shadow:none}.btn.small{padding:9px 13px}.hero-art{position:absolute;width:260px;height:240px;right:-8px;bottom:0}.orbit-ring{position:absolute;border:1px dashed #c7bff1;border-radius:50%;width:220px;height:140px;transform:rotate(-30deg);top:48px;left:5px}.planet{position:absolute;width:132px;height:132px;background:#d4cdf4;border-radius:50%;right:37px;bottom:31px;box-shadow:inset -14px -8px 0 #c5bce9}.planet:before,.planet:after{content:'';position:absolute;background:#b9aee2;border-radius:50%;width:23px;height:19px;top:24px;left:20px}.planet:after{top:75px;left:77px;width:33px;height:27px}.robot{position:absolute;right:61px;top:22px;width:91px;height:102px;transform:rotate(9deg);filter:drop-shadow(0 8px 0 #55439613)}.robot .antenna{position:absolute;height:23px;width:4px;background:#7a67c3;left:43px;top:-12px}.robot .antenna:before{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:#f6bc67;top:-6px;left:-4px}.robot .head{background:#fcfbff;border:3px solid #c9c0ec;border-radius:28px;width:90px;height:68px;padding:15px 8px}.robot .face{background:#65569d;border-radius:15px;height:32px;display:flex;align-items:center;justify-content:center;gap:15px}.robot .eye{height:9px;width:9px;border-radius:50%;background:#c5f4e4}.robot .body{margin:-2px auto 0;width:55px;height:38px;background:#fff;border:3px solid #c9c0ec;border-radius:9px 9px 19px 19px;text-align:center;color:#f0b45f;font-size:20px}.star{position:absolute;color:#b8abd9;font-size:21px}.s1{top:25px;left:20px}.s2{bottom:30px;left:14px;color:#f0bd58}.s3{right:12px;top:76px}.floater{position:absolute;background:white;border-radius:10px;padding:8px 11px;box-shadow:0 5px 18px #59478112;color:#9283bb;font-family:monospace;font-size:16px}.f1{left:3px;top:83px;transform:rotate(-12deg)}.f2{right:11px;bottom:18px;transform:rotate(8deg)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 27px}.stat{background:white;border:1px solid var(--line);padding:16px;border-radius:13px;display:flex;align-items:center;gap:11px}.stat-icon{width:38px;height:38px;border-radius:11px;background:#f1edfe;color:#8c72cb;display:grid;place-items:center;font-size:21px}.stat:nth-child(2) .stat-icon{background:#fff5dd;color:#c29134}.stat:nth-child(3) .stat-icon{background:#eaf7f1;color:#57a187}.stat strong{font-size:20px;display:block}.stat small{font-size:10px;color:#9293a4}.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 15px}.section-head h2{font-size:18px;margin:0}.text-link{color:var(--purple);font-size:11px;font-weight:600}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.level-card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:.2s}.level-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #32334a09}.level-art{height:107px;background:var(--wash);position:relative;display:grid;place-items:center;overflow:hidden}.level-art:before,.level-art:after{content:'';position:absolute;width:90px;height:90px;border:1px solid #ffffffa8;border-radius:50%;right:-15px;top:-15px}.level-art:after{width:60px;height:60px;left:-10px;top:60px}.level-art .art-icon{font-size:47px;filter:drop-shadow(2px 4px 0 #28283f12)}.level-number{position:absolute;top:10px;left:11px;font-size:8px;background:#fff9;border-radius:4px;padding:4px 7px;font-weight:700;color:#5d5a71;letter-spacing:.7px}.level-card-content{padding:15px}.level-card h3{font-size:13px;margin:0 0 7px}.level-card p{font-size:10px;margin:0 0 12px;line-height:1.5;min-height:30px}.level-card .meta{font-size:9px;color:#9192a3;display:flex;justify-content:space-between}.bar{background:#eeedf5;height:5px;border-radius:5px;overflow:hidden;margin:10px 0}.bar>span{display:block;background:var(--purple);height:100%;border-radius:5px}.side-panel{background:white;border:1px solid var(--line);border-radius:17px;padding:20px;margin-bottom:18px}.side-panel h3{font-size:14px;margin-bottom:16px}.goal-icon{background:#f8f0de;border-radius:13px;width:47px;height:47px;font-size:26px;display:grid;place-items:center;margin-bottom:13px}.side-panel p{font-size:11px;line-height:1.6}.side-panel .goal-top{display:flex;justify-content:space-between;font-size:10px;color:#8a8a9e}.mini-lesson{display:flex;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #f1f0f6;font-size:11px}.mini-icon{background:#f1edff;border-radius:9px;padding:10px;font-size:16px}.mini-lesson b{font-size:11px;display:block;margin-bottom:4px}.mini-lesson small{color:#9696a7;font-size:9px}.tip{background:#fff9e9;border:1px solid #f5ebcc}.tip .eyebrow{color:#b2944a;font-size:9px}.tip h3{line-height:1.6;margin-bottom:8px}.tip p{margin-bottom:0;color:#a39573}.activity-strip{background:#edf7f3;border-radius:15px;padding:18px;display:flex;align-items:center;gap:15px;margin-top:24px;border:1px solid #e0eee8}.activity-strip>span{font-size:28px}.activity-strip b{font-size:12px}.activity-strip p{font-size:11px;margin:3px 0 0}.activity-strip a{margin-left:auto;white-space:nowrap}footer{display:flex;justify-content:space-between;padding:22px 43px;font-size:10px;color:#a3a3b1;border-top:1px solid var(--line)}.filter-row{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.chip{border:1px solid #e5e3ef;background:white;color:#828092;padding:9px 14px;border-radius:8px;font-size:11px}.chip.active{background:var(--purple);color:white;border-color:var(--purple)}.curriculum-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.notice{padding:14px 18px;background:#f0edff;border-radius:12px;font-size:12px;color:#79708e;line-height:1.6;margin:18px 0}.lesson-list{display:grid;gap:10px;margin-top:22px}.lesson-row{display:flex;gap:14px;align-items:center;background:white;border:1px solid var(--line);border-radius:13px;padding:15px 18px}.lesson-row .num{background:#f0edff;color:var(--purple);height:38px;width:38px;display:grid;place-items:center;border-radius:10px;font-size:13px;flex-shrink:0}.lesson-row h3{font-size:14px;margin:0 0 4px}.lesson-row p{margin:0;font-size:11px}.lesson-row .row-end{margin-left:auto;flex-shrink:0}.planned{color:#9797a5;font-size:11px}.badge{padding:5px 8px;background:#edf7f0;color:#5b9675;border-radius:5px;font-size:9px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.game-card{background:white;border:1px solid var(--line);border-radius:16px;padding:22px}.game-card .game-icon{font-size:36px;background:var(--wash);border-radius:14px;padding:20px;display:block;text-align:center;margin-bottom:15px}.game-card h3{font-size:15px}.game-card p{font-size:12px;min-height:40px}.game-card .btn{width:100%;margin-top:14px}.game-card .planned{display:block;text-align:center;padding-top:19px}dialog{border:1px solid var(--line);padding:0;border-radius:23px;width:min(1020px,94vw);max-height:91vh;box-shadow:0 30px 100px #27214440;color:var(--ink)}dialog::backdrop{background:#25213f83;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:17px 25px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);position:sticky;top:0;background:white;z-index:3}.icon-btn{background:#f5f4fa;border:0;border-radius:9px;width:32px;height:32px;color:#77738d}.lesson-content{padding:24px 30px}.lesson-content h2{margin-bottom:7px}.lesson-content .intro{font-size:13px}.lesson-tabs{display:flex;gap:12px;margin-bottom:20px}.story{background:#f1edff;border-radius:16px;overflow:hidden;margin-bottom:18px}.story-stage{height:200px;display:flex;align-items:center;justify-content:center;gap:25px;position:relative;background:radial-gradient(circle at 50% 80%,#e4dfff,transparent)}.story-stage span{font-size:56px;display:inline-block}.story.playing .story-stage span{animation:bob 1.5s ease-in-out infinite alternate}.story.playing .story-stage span:nth-child(2){animation-delay:.4s}.story-caption{background:#e7e1fa;color:#64577e;padding:13px 20px;min-height:65px;font-size:13px;line-height:1.5}.story-controls{padding:13px;display:flex;gap:12px;align-items:center}.story-controls small{color:#8a7c9f;font-size:11px}.quiz-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quiz-option{border:2px solid #ebe8f6;background:white;border-radius:14px;padding:23px 10px;font-size:13px;min-height:95px}.quiz-option:hover{background:#f7f5ff;border-color:#afa1e3}.quiz-option.correct{background:#e6f7ee;border-color:#68b191}.quiz-option.wrong{background:#fff0e8;border-color:#e6ac86}.feedback{min-height:38px;font-size:13px;line-height:1.5;margin:17px 0;color:#5a7e6d}.feedback.error{color:#ab6845}.challenge-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.board{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;background:#e9e6f6;padding:12px;border-radius:15px;aspect-ratio:1;max-height:350px;margin:0 auto;width:100%}.cell{background:#faf8ff;border-radius:9px;display:grid;place-items:center;font-size:26px;position:relative}.cell.wall{background:#9b92b8}.cell.target{background:#fdf0be}.cell.trail{background:#d5ede3}.cell .bot{position:absolute;inset:0;display:grid;place-items:center;font-size:30px}.board-caption{font-size:11px;text-align:center;margin:10px 0;color:#8b829d}.tool-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#9b93ac;margin:16px 0 9px}.block-palette{display:flex;gap:7px;flex-wrap:wrap}.code-block{border:0;border-bottom:3px solid #4843a5;border-radius:7px;background:#7468d1;color:white;padding:10px;font-size:12px;cursor:grab}.code-block.loop{background:#d9a44c;border-color:#ae7b2d}.program{min-height:125px;border:2px dashed #d9d2ed;border-radius:11px;padding:10px;background:#faf8ff;display:flex;align-content:flex-start;flex-wrap:wrap;gap:8px;margin:10px 0}.program:empty:before{content:'Drop blocks here, or tap a block above.';font-size:11px;color:#a69ab5;padding:12px}.program .code-block{cursor:pointer}.controls{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.hint{font-size:11px;color:#8b819f;line-height:1.7;margin:13px 0}.code-editor{display:block;background:#29283f;color:#e3e0ff;border:0;border-radius:12px;padding:18px;width:100%;height:220px;resize:vertical;tab-size:2;font:13px/1.8 Consolas,monospace}.api-help{background:#f0eef8;padding:13px;border-radius:9px;font:11px/1.9 Consolas,monospace;color:#776b91}.success-box{background:#ecf8ef;border:1px solid #cfe8d5;border-radius:13px;padding:18px;margin-top:15px}.success-box h3{color:#4c8360;margin-bottom:7px}.success-box p{font-size:12px}.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.achievement{background:white;border:1px solid var(--line);padding:28px;text-align:center;border-radius:16px}.achievement .medal{font-size:40px;display:block;margin-bottom:13px}.achievement.locked{opacity:.55}.achievement p{font-size:12px}.form-row{display:grid;gap:7px;margin:15px 0}.form-row label{font-size:12px;color:#77738c}.form-row input,.form-row select{border:1px solid #dad6e9;border-radius:9px;padding:11px;width:100%}#parent-body{padding:24px 30px}#parent-dialog{width:min(610px,94vw)}.parent-section{padding:18px 0;border-top:1px solid var(--line)}.parent-section h3{font-size:15px}.parent-section p{font-size:12px}.danger{background:#fff4ed!important;color:#a46744!important;border-color:#ead6c8!important}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#302c4b;color:white;padding:13px 22px;border-radius:12px;font-size:12px;z-index:20;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1}.video-player{width:100%;max-height:280px;background:#eee9ff;border-radius:12px}.summary-tiles{max-width:750px}.progress-list{background:white;padding:25px;border-radius:16px;border:1px solid var(--line);margin:20px 0}.progress-item{display:flex;gap:20px;align-items:center;margin:17px 0;font-size:12px}.progress-item .bar{flex:1}.progress-item b{width:150px}.muted{color:var(--muted);font-size:12px}@keyframes bob{from{transform:translateY(0) rotate(-3deg)}to{transform:translateY(-13px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1450px){main{padding-top:42px}.hero{min-height:270px}.level-art{height:125px}.sidebar{width:260px;padding:38px 25px}.shell{margin-left:260px}}@media(max-width:1150px){.sidebar{width:205px;padding:30px 14px}.shell{margin-left:205px}.topbar{padding:0 26px}main{padding:28px 26px}.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.hero-art{right:35px}.hero-copy{width:65%}.side-panel{margin:0}.help-card{display:none}footer{padding:22px 26px}}@media(max-width:760px){.sidebar{position:sticky;top:0;width:100%;height:auto;z-index:5;flex-direction:row;padding:12px 16px;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:20px}.brand-icon{width:34px;height:34px;font-size:27px;line-height:32px}.brand small{display:none}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;margin-left:auto;gap:3px}nav a{padding:8px;font-size:19px}nav a span,nav a small{display:none}.shell{margin-left:0}.topbar{height:59px;padding:0 20px}main{padding:24px 20px}.greeting-row .tiny-label{display:none}h1{font-size:27px}.hero{padding:22px;min-height:260px}.hero-copy{width:67%}.hero h2{font-size:26px}.hero p{max-width:240px}.hero-art{right:-48px;transform:scale(.78);transform-origin:right bottom}.hero-copy .eyebrow{font-size:8px}.stats{gap:8px}.stat{padding:12px 8px;gap:7px}.stat-icon{width:29px;height:32px;font-size:17px}.stat strong{font-size:18px}.stat small{font-size:8px}.level-grid,.curriculum-grid,.game-grid,.achievement-grid{grid-template-columns:repeat(2,1fr)}.dashboard-aside{grid-template-columns:1fr}.dashboard-aside .side-panel:nth-child(n+2){display:none}.challenge-layout{grid-template-columns:1fr}.board{max-width:320px}.quiz-options{grid-template-columns:1fr}.quiz-option{min-height:60px;padding:16px}.lesson-content{padding:22px 18px}.lesson-row{padding:12px;gap:10px}.lesson-row h3{font-size:12px}.lesson-row .btn{font-size:10px;padding:10px}.story-stage{height:145px}.story-stage span{font-size:40px}.progress-item b{width:110px}.progress-item{gap:10px}footer span{display:none}.activity-strip{flex-wrap:wrap}.activity-strip a{margin-left:43px}.top-actions{gap:13px}}@media(max-width:380px){.brand-light{display:none}.hero-art{opacity:.55}.hero-copy{width:87%}.game-grid,.curriculum-grid{grid-template-columns:1fr}.stat-icon{display:none}}

/* Hello Code: brighter classroom presentation, with readable controls for young learners. */
:root{--purple:#2778d5;--light:#edf5ff}
.brand-icon{background:#2879d7;border-radius:16px}.brand{font-size:27px}.brand small{font-size:7px}
nav a.active{background:#e9f3ff;color:#2879d7}.btn{box-shadow:0 4px 0 #1b5ba5}.hero{background:#fdf3d9;border-color:#f0dfb5;min-height:285px}.hero-copy{width:65%}.hero h2{color:#25547c;font-size:34px}.hero p{color:#81745f;font-size:13px}.hero .tag{color:#a6773f}.hero-art{background:url('assets/classroom.png') center/cover;border-radius:25px 0 0 25px;width:40%;height:100%;right:0;opacity:.95}.hero-art .planet{background:#bce5ed;box-shadow:inset -14px -8px 0 #9bd4df}.hero-art .planet:before,.hero-art .planet:after{background:#83c4d6}.hero-art .robot{transform:scale(1.2) rotate(7deg);top:65px;right:47px}.hero-art .orbit-ring{display:none}.hero-art .floater{color:#337a9d}.hero-copy{padding-right:15px}.level-card h3{font-size:15px}.level-card p{font-size:12px}.level-art{height:120px}.game-card p,.intro{font-size:14px}.video-player{max-height:420px;background:#e7f5fa;display:block}.story{background:#eef8fc}.story-caption{background:#e0f0f5;color:#35667a;min-height:65px}.story-controls{background:#eff8fa}.lesson-content h2{font-size:28px;color:#285a81}.lesson-content .intro{font-size:14px}.quiz-option{font-size:15px}.success-box{background:#eaf8e9}.local-note{font-size:9px}
@media(max-width:760px){.hero{min-height:285px}.hero-copy{width:72%}.hero h2{font-size:28px}.hero-art{width:33%;right:0;transform:none;opacity:.65}.hero-art .robot{right:10px;transform:scale(.8) rotate(7deg)}.hero p{max-width:235px}.level-card h3{font-size:14px}.level-card p{font-size:11px}.video-player{max-height:none}.brand{font-size:22px}.brand-icon{width:34px}.hero .btn{padding:12px}}

/* Multi-question discovery assessments. */
#lesson-assessment{margin-top:25px}.assessment-panel,.assessment-results{border:1px solid #dce9ee;border-radius:17px;background:#fff;padding:22px}.assessment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.assessment-heading .eyebrow{margin:0}.question-counter{font-size:12px;color:#49798c;white-space:nowrap;background:#edf7fb;padding:7px 10px;border-radius:8px}.assessment-meter{height:7px;border-radius:8px;background:#e8f0f2;margin:16px 0 20px;overflow:hidden}.assessment-meter span{display:block;height:100%;background:#4fae9d;transition:width .2s}.assessment-skill{font-size:11px;color:#b28a3e;font-weight:700;margin-bottom:10px}.assessment-panel h3{font-size:20px;line-height:1.45;margin-bottom:17px}.assessment-controls{display:flex;align-items:center;justify-content:space-between;gap:15px}.assessment-controls>span{font-size:12px;color:#77909a}.assessment-save-note{font-size:11px;line-height:1.5;margin:17px 0 0;color:#8b99a5}.assessment-intro{font-size:13px}.skill-results{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.skill-result{border:1px solid #dcece7;background:#f4faf5;padding:14px;border-radius:11px;display:grid;gap:6px}.skill-result b{font-size:13px;color:#438171}.skill-result span{font-size:12px;color:#527f74}.skill-result small{font-size:10px;color:#89988d}.answer-review{border:1px solid #e4e9ee;border-radius:10px;margin:18px 0;padding:12px 15px}.answer-review summary{font-size:13px;color:#397a99;cursor:pointer}.answer-review article{padding-top:17px;margin-top:12px;border-top:1px solid #edf0f4;font-size:13px;line-height:1.5}.answer-review p{font-size:12px;margin-bottom:0}.assessment-panel .quiz-option:disabled{opacity:1}.assessment-panel .quiz-option:disabled:not(.correct){opacity:.6}.assessment-panel .feedback{min-height:45px}.assessment-results h3{font-size:22px;color:#3a8a77;line-height:1.4}@media(max-width:760px){.assessment-panel,.assessment-results{padding:17px 14px}.assessment-panel h3{font-size:18px}.question-counter{font-size:11px}.assessment-heading .eyebrow{font-size:9px}.skill-results{grid-template-columns:1fr}.assessment-controls{gap:9px}.assessment-controls .btn{padding:12px 14px}}

/* HelloCode reference revision, preserving the six-level learning engine. */
:root{--primary:#2f78e8;--ink:#2e75c9;--muted:#6390bc;--green:#73b935;--border:#9bbced}
body{background:#eaf2fd url('assets/hellocode-background.svg') center bottom/100% auto fixed no-repeat;color:#3b6f9d;font-family:Arial,'Segoe UI',sans-serif;min-width:320px}.shell{margin:0;min-height:90vh}.hc-header{height:76px;position:sticky;top:0;z-index:15;background:#2f78e8;display:flex;align-items:center;padding:0 3.6%;gap:30px;color:#fff;box-shadow:0 2px 4px #3974b21a}.hc-logo{display:flex;align-items:center;margin-right:auto}.hc-logo img{width:54px;height:54px;object-fit:contain}.hc-header nav{display:flex;align-items:stretch;height:100%;gap:12px}.hc-header nav a{color:#fff;display:flex;align-items:center;gap:10px;padding:0 22px;font-size:17px;font-weight:700;border-radius:0 0 22px 22px}.hc-header nav a.active{background:#2a70db;box-shadow:0 4px 7px #174baf55}.hc-header nav img{width:21px;height:24px}.hc-utilities{display:flex;gap:17px;align-items:center;font-size:12px}.hc-utilities a{color:white}.hc-points{color:#ffdc61;white-space:nowrap}.hc-settings{border:0;color:white;background:transparent;font-size:24px;cursor:pointer}.hc-header .avatar{background:#b9d2ec;border:4px solid #76a6df;color:white;width:37px;height:37px;font-size:15px}.hc-header button:focus-visible,.hc-header a:focus-visible{outline:3px solid #ffe26c}#main{padding:53px 0 70px;max-width:1100px;margin:auto;min-height:75vh}h1,h2,h3{color:#2f78cc}h1.hc-welcome{font-size:31px;margin:0 0 27px;font-weight:800}.hc-course-row{display:flex;gap:10px;margin-bottom:50px}.hc-course-banner{background:#2f78e8;display:flex;align-items:center;gap:25px;padding:5px 25px;border-radius:25px;flex:1;min-height:115px;color:#fff;box-shadow:0 3px 3px #b1c1d744}.hc-course-banner>img{width:215px;height:113px;object-fit:contain;align-self:center}.hc-course-banner h2{font-size:25px;color:#fff;margin:0 0 6px;font-weight:800}.hc-course-banner p{color:#e7efff;font-size:15px;line-height:1.5;margin:0;max-width:650px}.hc-progress-tube{border:8px solid #2f78e8;width:79px;border-radius:26px;position:relative;overflow:hidden;background:#b4d199;flex-shrink:0}.hc-progress-tube span{position:absolute;bottom:0;left:0;right:0;background:#25bc2e;min-height:10px}.hc-progress-tube b{position:absolute;top:15px;left:0;right:0;text-align:center;color:#ffc328;font-size:17px}.hc-lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}.hc-lesson p{font-size:16px;margin:0 0 12px;color:#6f9ed0}.hc-lesson h3{font-size:19px;color:#e8a900;margin:0 0 16px;font-weight:800}.hc-thumbnail{display:block;width:100%;padding:0;aspect-ratio:16/9;position:relative;border:4px solid #367fe6;border-radius:23px;overflow:hidden;background:#eff6ff;cursor:pointer}.hc-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.hc-play{position:absolute;inset:0;display:grid;place-content:center;color:#fff;font-size:29px;text-shadow:0 2px 7px #134b6b;opacity:0;transition:opacity .2s;background:#17416a22}.hc-thumbnail:hover .hc-play,.hc-thumbnail:focus-visible .hc-play{opacity:1}.hc-lesson-button{position:relative;width:100%;border:4px solid #d7ffad;background:linear-gradient(14deg,#7db73e 45%,#6caf2a 46%);border-radius:22px;color:white;padding:16px 9px;font-weight:800;font-size:17px;margin-top:12px;cursor:pointer}.hc-lesson-button:before{content:'';position:absolute;left:9px;top:7px;width:26px;height:19px;border-top:4px solid white;border-left:4px solid white;border-radius:24px 0 0}.hc-lesson>small{display:block;font-size:12px;margin:9px 5px;color:#7f9ab7}.hc-more{display:flex;justify-content:space-between;gap:20px;margin-top:32px}.hc-roadmap{margin-top:42px;border-top:1px solid #bdd4ed;padding-top:20px;color:#477fb5}.hc-roadmap summary{cursor:pointer}.hc-roadmap p{border-bottom:1px solid #d6e4f4;padding:10px}.hc-roadmap small{float:right}.btn{background:#78b833;color:white;border-radius:15px;border:3px solid #d5f6ac;box-shadow:none}.btn:hover{background:#66a825}.btn.secondary{background:#2f78e8;border-color:#b8d9ff;color:white}.text-link{color:#2f78d0}.hc-steps{display:flex;gap:14px;justify-content:center;margin:15px 0 28px;color:#8fa5bd;font-size:14px}.hc-steps span{padding:8px 17px;border-bottom:3px solid #dbe5f2}.hc-steps .current{color:#2f78e8;border-color:#f1c12d;font-weight:bold}#lesson-dialog{width:min(1100px,96vw);max-width:1100px;border-radius:15px;padding:0;max-height:93vh}.modal-head{background:#2f78e8;color:white;border:0}.modal-head button{color:white;background:transparent}#lesson-body .lesson-content{padding:28px 45px}#lesson-title{text-align:center;color:#2f78d1;font-size:30px}.lesson-content>.eyebrow{display:none}.lesson-content>.intro{text-align:center;margin-bottom:12px}.story{border:0;background:transparent;border-radius:14px;overflow:hidden}.video-player{max-height:none;width:100%;background:#142f47;border-radius:15px}.story-caption{display:none}.story-controls{background:#f3f8ff;border:0}.hc-next{display:block;min-width:200px;margin:22px 0 0 auto}.hc-back{color:#367ed1;font-size:14px;cursor:pointer}.assessment-panel,.assessment-results{border:0;background:transparent;padding:10px 0 15px}.assessment-heading .eyebrow{color:#2f78e8}.assessment-panel h3{color:#3977be;font-size:24px;padding:15px 0}.assessment-meter{background:#e1ebf6}.assessment-meter span{background:#2f78e8}.assessment-skill{font-size:15px;color:#d69b12}.quiz-options{display:flex;flex-direction:column;gap:14px}.quiz-option{border:1px solid #76a7dd;border-radius:11px;background:#fff;font-size:18px;padding:16px 23px;text-align:left;box-shadow:none;color:#417db8}.quiz-option:before{content:'â—‹';font-size:24px;margin-right:16px;color:#77a7d6}.quiz-option.correct{background:#f0f9e6;border-color:#73b22e}.quiz-option.wrong{background:#fff3ee}.question-counter{color:#2f78e8;background:#eaf2fe}.skill-result{border:1px solid #77a5da;background:transparent;border-radius:14px}.skill-result b{color:#2f78ca}.bot img{width:38px;height:38px;object-fit:contain}.hc-cast-art{max-width:100%;height:170px;object-fit:contain}footer{background:transparent;border:0;text-align:center;color:#7e9cbb;font-size:11px}
@media(max-width:1150px){#main{padding:35px 28px}.hc-header{gap:15px;padding:0 22px}.hc-header nav a{padding:0 14px;font-size:15px}.hc-utilities{gap:12px}.hc-lesson-grid{gap:24px}.hc-course-banner>img{width:180px}}
@media(max-width:780px){.hc-header{height:auto;min-height:68px;flex-wrap:wrap;padding:7px 15px;gap:4px 12px}.hc-logo{margin-right:12px}.hc-logo img{width:44px;height:44px}.hc-header nav{flex:1;height:54px;gap:4px}.hc-header nav a{font-size:13px;padding:0 10px}.hc-header nav img{width:17px}.hc-utilities{width:100%;justify-content:center;gap:20px;padding:3px 0}.hc-utilities .avatar{width:27px;height:27px;border-width:2px}.hc-points{font-size:11px}.hc-settings{font-size:20px}#main{padding:29px 18px}h1.hc-welcome{font-size:26px}.hc-course-banner{gap:12px;padding:14px;min-height:120px;border-radius:19px}.hc-course-banner>img{width:112px;height:95px}.hc-course-banner h2{font-size:21px}.hc-course-banner p{font-size:12px}.hc-progress-tube{width:55px;border-width:6px}.hc-progress-tube b{font-size:13px}.hc-course-row{margin-bottom:30px}.hc-lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 17px}.hc-lesson h3{font-size:16px}.hc-lesson-button{font-size:15px;padding:14px}.hc-more{font-size:13px}#lesson-body .lesson-content{padding:20px 16px}.hc-steps{gap:3px;font-size:12px}.hc-steps span{padding:7px 11px}.assessment-panel h3{font-size:21px}.quiz-option{font-size:17px}.hc-next{min-width:180px}.hc-thumbnail{border-radius:17px}}
@media(max-width:470px){.hc-lesson-grid{grid-template-columns:1fr}.hc-course-banner>img{width:85px}.hc-course-banner h2{font-size:19px}.hc-progress-tube{width:47px}.hc-utilities{gap:16px}.hc-more{flex-direction:column;gap:13px}.hc-header nav a{font-size:12px}.hc-header nav img{display:none}}

/* Final color and radio marker normalization. */
body{background-color:#fff}.quiz-option:before{content:"\25CB"}

.skill-results{grid-template-columns:1fr}.skill-result summary{display:flex;justify-content:space-between;gap:14px;cursor:pointer;align-items:center}.skill-result summary span{color:#4f8ac4;font-size:12px}.skill-result article{padding:14px 0 2px;border-top:1px solid #d6e4f3;margin-top:14px;font-size:14px}.skill-result article p{font-size:13px}.skill-result p{font-size:13px;color:#6c91b0}.skill-result:not([open])>summary{margin-bottom:0}
