:root{--ink:#22173b;--muted:#6c6779;--green:#2e0d7e;--deep:#27115b;--cream:#f3f2f7;--line:#e0dfe7;--white:#fff;--gold:#f0cb72}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Segoe UI,Noto Sans Tamil,Arial,sans-serif;line-height:1.55}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #dca32d;outline-offset:3px}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:24px;font-weight:750;letter-spacing:-.7px}.logo{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:var(--deep);color:#fff;font-size:29px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:0;margin-top:1px;color:var(--muted)}.nav-label,.tiny-label,.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}.nav-label{margin:42px 12px 13px}nav{display:grid;gap:7px}nav a{padding:13px 15px;text-decoration:none;border-radius:11px;color:var(--muted);font-size:14px;font-weight:600;display:flex;gap:13px;align-items:center}nav a.active{background:#ebe9f3;color:var(--deep)}nav a:hover{background:#f3f2f6}.nav-icon{width:22px;font-size:18px;text-align:center}.sidebar-note{margin-top:auto;padding:24px 12px 0;font-size:11px;color:var(--muted)}.sidebar-note p{font-size:19px;line-height:1.5;color:var(--deep);font-weight:600}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:5px}.shell{margin-left:248px;padding:0 42px;max-width:1600px}header{padding:26px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.header-copy{font-size:13px;margin:3px 0 0;color:var(--muted)}.settings{display:flex;gap:12px}.settings label{font-size:10px;font-weight:600;color:var(--muted);display:grid;gap:3px}select{background:white;border:1px solid var(--line);border-radius:8px;color:var(--ink);padding:9px 10px;font-size:12px;max-width:240px}main{padding:30px 0;min-height:78vh}.heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}h1{font-size:30px;letter-spacing:-.8px;margin:0 0 5px;line-height:1.3}h2{font-size:19px;letter-spacing:-.3px;margin:0 0 12px}h3{font-size:16px;margin:0 0 7px}p{margin:0 0 12px}.muted{color:var(--muted);font-size:13px}.pill{border-radius:99px;background:#ebe9f2;color:var(--deep);font-size:11px;font-weight:600;padding:6px 12px;display:inline-block}.hero{background:var(--deep);color:#fff;border-radius:20px;padding:32px 35px;display:grid;grid-template-columns:1.6fr 1fr;gap:25px;position:relative;overflow:hidden}.hero .eyebrow{color:#c2bad9}.hero h2{font-size:32px;line-height:1.25;max-width:450px;margin:13px 0}.hero p{color:#d8d4e8;font-size:14px;max-width:390px}.hero-art{display:grid;place-items:center;position:relative}.orbit{width:170px;height:170px;border:1px solid #776b9a;border-radius:50%;display:grid;place-items:center;position:relative}.orbit:before{content:'';position:absolute;width:204px;height:204px;border:1px dashed #746795;border-radius:50%;transform:rotate(20deg)}.book{width:116px;height:135px;border-radius:8px 16px 16px 8px;background:#e5e4f1;transform:rotate(-10deg);box-shadow:-7px 5px 0 #9a91bd;display:grid;place-items:center;color:var(--deep);font-size:38px;font-weight:800;position:relative}.book:after{content:'YOUR NEXT CHAPTER';position:absolute;bottom:18px;font-size:7px;letter-spacing:1px}.star{position:absolute;right:9px;top:12px;color:var(--gold);font-size:35px}.btn{border:0;border-radius:9px;padding:11px 18px;font-size:13px;font-weight:650;background:var(--green);color:#fff;display:inline-block;text-decoration:none}.btn:hover{filter:brightness(.95)}.btn.light{background:#fff;color:var(--deep)}.btn.secondary{background:#e8e7ef;color:var(--deep)}.btn.outline{border:1px solid var(--line);background:#fff;color:var(--ink)}.btn.danger{background:#fbe8e4;color:#943e35}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0 29px}.stat{background:#fff;border:1px solid var(--line);padding:18px 22px;border-radius:14px}.stat strong{font-size:29px;display:block;letter-spacing:-1px}.stat span{font-size:12px;color:var(--muted)}.section-top{display:flex;justify-content:space-between;align-items:center;margin:26px 0 16px}.section-top h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:22px;display:flex;flex-direction:column}.card p{font-size:13px;color:var(--muted)}.card .btn{align-self:start;margin-top:auto}.subject-icon{font-size:22px;width:46px;height:46px;background:#eeedf3;border-radius:13px;display:grid;place-items:center;margin-bottom:17px;color:var(--deep)}.card .pill{align-self:start;margin-bottom:12px}.notice{font-size:12px;color:var(--muted);margin:19px 0;padding:12px 0;border-top:1px solid var(--line)}.lesson{max-width:850px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px}.lesson p{font-size:15px;margin-bottom:20px}.lesson h2{margin-top:25px}.example{background:#efeff5;border-radius:10px;padding:20px;margin:20px 0}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 22px}.chip{background:#fff;border:1px solid var(--line);border-radius:99px;padding:8px 13px;font-size:12px;color:var(--muted)}.chip.selected{background:var(--deep);border-color:var(--deep);color:#fff}.question-wrap{max-width:880px}.question-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px}.question-card h2{font-size:21px;margin:19px 0 24px;line-height:1.5}.options{display:grid;gap:10px}.option{padding:15px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--ink);display:flex;gap:12px;align-items:center}.option span{width:25px;height:25px;border-radius:6px;background:#eeeef3;display:grid;place-items:center;font-size:12px;flex-shrink:0}.option.selected{border-color:var(--green);background:#efedf6}.option.correct{border-color:#402d8b;background:#edecf7}.option.wrong{border-color:#be6257;background:#fff0ed}.feedback{border-radius:10px;padding:20px;background:#efeef6;margin-top:20px}.feedback.wrong{background:#fff2e9}.feedback p{font-size:14px;margin:8px 0 0}.progress-bar{height:6px;border-radius:5px;background:#e6e5ec;overflow:hidden;margin:16px 0}.progress-bar div{height:100%;background:var(--green)}.mock-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px}.timer{font-size:27px;font-variant-numeric:tabular-nums;font-weight:700}.palette{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:16px 0}.number{border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px 0;font-size:12px}.number.answered{background:#e2dfee;color:var(--deep)}.number.current{outline:2px solid var(--green)}.number.flagged{border-color:#cfa751;background:#fff6db}.result-score{font-size:54px;font-weight:800;color:var(--deep);letter-spacing:-2px;margin:10px 0}.review-item{padding:22px 0;border-top:1px solid var(--line)}.review-item p{font-size:14px}.review-item .muted{font-size:12px}.empty{background:#fff;border:1px dashed #bfbccf;border-radius:15px;padding:40px;text-align:center}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;border-bottom:1px solid var(--line);padding:12px 8px}th{color:var(--muted);font-size:11px}.table-wrap{overflow:auto}footer{border-top:1px solid var(--line);padding:18px 0 24px;font-size:10px;color:var(--muted)}#toast{position:fixed;bottom:24px;right:24px;max-width:340px;background:#211640;color:white;padding:12px 20px;border-radius:10px;font-size:13px;opacity:0;pointer-events:none;z-index:9}#toast.show{opacity:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1400px){main{max-width:1150px;margin:auto}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 16px}.shell{margin-left:210px;padding:0 26px}.grid{grid-template-columns:repeat(2,1fr)}.mock-layout{grid-template-columns:1fr}.mock-side{order:-1}.mock-side .palette{max-width:360px;grid-template-columns:repeat(10,1fr)}header{align-items:start}.settings{flex-direction:column;gap:5px}.hero h2{font-size:27px}}@media(max-width:720px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:67px;padding:0;border-top:1px solid var(--line);z-index:5;display:block}.brand,.nav-label,.sidebar-note{display:none}nav{display:flex;justify-content:space-around;gap:0;height:100%;align-items:center}nav a{flex-direction:column;gap:0;padding:6px 8px;font-size:9px;border-radius:8px;min-width:53px}.nav-icon{font-size:18px}.shell{margin:0;padding:0 18px 68px}header{padding:18px 0;gap:10px}.eyebrow{font-size:8px;letter-spacing:1px}.header-copy{font-size:11px}.settings label{font-size:9px}.settings select{font-size:10px;padding:6px;max-width:170px}main{padding:24px 0}h1{font-size:26px}.heading{align-items:start}.heading>.pill{font-size:9px;white-space:nowrap}.hero{grid-template-columns:1fr;padding:25px}.hero h2{font-size:28px}.hero-art{display:none}.stats{gap:8px}.stat{padding:14px 12px}.stat strong{font-size:25px}.stat span{font-size:10px}.grid{grid-template-columns:1fr}.card{padding:21px}.question-card,.lesson{padding:21px}.question-card h2{font-size:18px}.btn{padding:10px 14px;font-size:12px}.mock-side .palette{gap:5px}.number{font-size:10px}#toast{bottom:80px;left:18px;right:18px;max-width:none}.section-top h2{font-size:17px}}

.daily-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e9e8f2;border:1px solid #d4d3e4;border-radius:15px;padding:24px;margin:22px 0}.daily-banner h2{margin:8px 0}.daily-banner p{margin:0}.practice-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.practice-controls label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.practice-controls>span{padding-bottom:9px}.plan-step{display:flex;gap:18px;padding:24px 0;border-top:1px solid var(--line)}.plan-step p{margin:0 0 14px;font-size:14px}.step-number{display:grid;place-items:center;background:#e7e6f0;color:var(--deep);font-weight:700;width:38px;height:38px;border-radius:50%;flex-shrink:0}@media(max-width:720px){.daily-banner{align-items:start;flex-direction:column;padding:21px}nav a{min-width:0;flex:1;padding:6px 2px;font-size:8px}.practice-controls select{max-width:210px}.plan-step{gap:12px}.today-goal{width:100%}}
/* Version 4 course organisation and visual design */
:root{--ink:#281e3f;--muted:#686376;--green:#2e0d81;--deep:#251352;--cream:#f4f3f8;--line:#e0e0e8;--gold:#f2ce7d}body{font-size:14px}.sidebar{padding:32px 21px;background:#fffefb}.shell{padding:0 40px}header{padding:25px 0;min-height:104px}h1{font-size:31px;font-weight:720;letter-spacing:-1px}h2{font-weight:650}.heading{margin-bottom:26px}.heading .muted{margin:0;font-size:14px}.hero{padding:32px 36px;border-radius:22px;background:linear-gradient(115deg,#251352 0%,#301969 100%);min-height:259px}.hero h2{font-size:36px;font-weight:650;letter-spacing:-1px;max-width:440px}.hero p{margin-bottom:24px}.hero .btn{padding:12px 20px}.hero-secondary{color:#fff;background:transparent;border:1px solid #7d70a1}.hero-art{gap:9px;align-content:center}.art-caption{font-size:8px;font-weight:600;letter-spacing:2px;color:#bdb6d6;margin-top:15px}.book{background:#f1e5bd;box-shadow:-7px 5px 0 #a8a1c9;color:#2c1d52}.orbit{width:158px;height:158px}.orbit:before{width:195px;height:195px}.star{right:-2px;top:4px}.stats{gap:16px;margin:20px 0 24px}.stat{padding:18px 22px;border:none;border-radius:15px}.stat:nth-child(1){background:#eae9f2}.stat:nth-child(2){background:#f9eee0}.stat:nth-child(3){background:#f5eaf7}.stat .stat-label{font-size:9px;letter-spacing:1.4px;font-weight:700;color:#575268}.stat strong{font-size:30px;margin:7px 0 0}.stat strong small{font-size:17px;letter-spacing:0;font-weight:500;color:var(--muted)}.stat span{font-size:11px}.pathway{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden;margin-bottom:28px}.pathway a{display:flex;gap:12px;align-items:center;padding:17px 18px;text-decoration:none}.pathway a+a{border-left:1px solid var(--line)}.pathway a:hover{background:#f1f1f7}.pathway b{font-size:10px;color:var(--green);border:1px solid #dddce8;border-radius:50%;height:27px;width:27px;display:grid;place-items:center;flex-shrink:0}.pathway strong{font-size:12px;display:block}.pathway small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.pathway a>span:last-child{margin-left:auto;color:var(--green)}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.subject-card{--tint:#ebeaf2;--accent:#2f1770;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;transition:transform .15s,box-shadow .15s}.subject-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #2d264c10}.tone-cdp{--tint:#f8e5fa;--accent:#8b3895}.tone-tamil{--tint:#fce9de;--accent:#9b603f}.tone-english{--tint:#e5e1f3;--accent:#43317c}.tone-math{--tint:#fbf0cc;--accent:#8e732d}.tone-evs{--tint:#eaf1da;--accent:#43387d}.tone-science{--tint:#e5ddf3;--accent:#4d3080}.tone-social{--tint:#ebe5ef;--accent:#69507a}.subject-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.subject-card .subject-icon{background:var(--tint);color:var(--accent);width:47px;height:47px;margin:0;font-size:22px;border-radius:13px}.mini-count{font-size:10px;color:var(--muted)}.subject-card h3{font-size:17px;margin:0 0 6px;line-height:1.4}.subject-card h3 a{text-decoration:none}.subject-card h3 a:hover{text-decoration:underline}.subject-card p{font-size:11px;color:var(--muted);margin:0 0 16px}.subject-card .progress-bar{background:var(--tint);height:4px;margin:0 0 12px}.subject-card .progress-bar div{background:var(--accent)}.subject-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}.subject-card-bottom>span{font-size:10px;color:var(--muted);line-height:1.7}.subject-card-bottom>a{display:grid;place-items:center;background:var(--tint);color:var(--accent);border-radius:50%;width:34px;height:34px;text-decoration:none;font-size:17px}.revision-strip{padding:23px 0 5px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px}.revision-strip h3{font-size:15px;margin-bottom:5px}.revision-strip p{font-size:12px;color:var(--muted);margin:0}.revision-strip .btn{font-size:11px}.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;justify-content:start;gap:9px;height:auto;margin:0 0 18px;font-size:11px;color:var(--muted)}.breadcrumbs a{padding:0;display:inline;font-size:11px;color:var(--green);min-width:0;text-decoration:none;border-radius:0;flex:none}.breadcrumbs a:hover{background:transparent;text-decoration:underline}.breadcrumbs>span[aria-current]{color:var(--ink)}.subject-overview{--tint:#ebeaf2;display:flex;align-items:center;gap:20px;border-radius:17px;background:var(--tint);padding:24px 27px;margin-bottom:25px}.subject-overview.tone-cdp{--tint:#f8e5fa}.subject-overview.tone-tamil{--tint:#fce9de}.subject-overview.tone-english{--tint:#e5e1f3}.subject-overview.tone-math{--tint:#fbf0cc}.subject-overview.tone-evs{--tint:#eaf1da}.subject-overview.tone-science{--tint:#e5ddf3}.subject-overview.tone-social{--tint:#ebe5ef}.subject-overview .subject-icon{margin:0;background:#ffffffaa;flex-shrink:0;width:52px;height:52px;font-size:26px}.subject-overview h2{font-size:18px;margin:0 0 5px}.subject-overview p{font-size:12px;color:#575268;margin:0}.subject-overview>.btn{margin-left:auto;white-space:nowrap}.catalog-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:30px}.catalog-layout .section-top{margin-top:0}.topic-grid{display:grid;gap:12px}.topic-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 20px;display:flex;align-items:center;gap:12px;justify-content:space-between;text-decoration:none}.topic-card:hover{border-color:#9f98bd;box-shadow:0 4px 12px #2c244e10}.topic-card h3{font-size:14px;margin-bottom:5px}.topic-card p{font-size:11px;color:var(--muted);margin:0}.topic-card>span{color:var(--green);font-size:20px}.lesson-list{border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden;max-width:900px}.lesson-row{display:flex;align-items:center;gap:17px;text-decoration:none;padding:21px}.lesson-row+.lesson-row{border-top:1px solid var(--line)}.lesson-row:hover{background:#f2f1f8}.lesson-order{background:#e9e9f3;border-radius:9px;display:grid;place-items:center;min-width:35px;height:35px;color:var(--green);font-size:11px}.lesson-row h3{font-size:14px;line-height:1.45;margin:0 0 5px}.lesson-row p{font-size:10px;color:var(--muted);margin:0}.lesson-row>span:last-child{margin-left:auto}.catalog-note{font-size:11px;line-height:1.6;margin:17px 0}.catalog-guide{padding:25px;margin-top:25px;border:1px solid var(--line);border-radius:14px;background:#fff}.catalog-guide h2{font-size:17px}.catalog-guide p{font-size:13px;color:var(--muted);max-width:800px;margin:0}.topic-focus{display:grid;grid-template-columns:1.3fr 1fr;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:22px 0 30px}.topic-summary{padding:30px}.topic-large-count{font-size:45px;font-weight:750;letter-spacing:-1px;line-height:1.2;margin:18px 0 6px;color:var(--green)}.topic-large-count span{font-size:22px;color:var(--muted);font-weight:500}.difficulty-summary{background:#edecf5;padding:28px}.difficulty-summary>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #d8d8e6;padding:9px 0;font-size:13px}.difficulty-summary p{font-size:11px;margin:17px 0 0}.empty.compact{padding:28px;text-align:left}.active-notice{background:#fff4d5;color:#775c1e;border:1px solid #efdcab;padding:12px 17px;border-radius:10px;display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:24px}.active-notice a{font-weight:650;color:inherit;white-space:nowrap}.practice-controls{background:#e9e9f3;padding:17px;border-radius:12px}.practice-controls select{border-color:#d2d1e1;max-width:100%}.question-card,.lesson{box-shadow:0 6px 24px #39345605}.question-card h2{font-weight:600}.option{padding:16px;border-color:#dcdce6;border-radius:11px}.option:hover:not(:disabled){background:#f1f0f8;border-color:#9d97ba}.option.selected{box-shadow:inset 0 0 0 1px var(--green)}.feedback{padding:21px}.lesson{max-width:900px}.skip-link{position:fixed;top:-70px;left:15px;background:var(--deep);color:white;z-index:10;padding:12px 20px;border-radius:8px;text-decoration:none}.skip-link:focus{top:12px}footer{font-size:10px}.notice{font-size:11px}
@media(min-width:1450px){main{max-width:1130px}}@media(max-width:1100px){.shell{padding:0 25px}.hero h2{font-size:31px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pathway a{padding:15px 12px;gap:8px}.pathway small{font-size:8px}.catalog-layout{grid-template-columns:1fr}.subject-overview{flex-wrap:wrap}.subject-overview>.btn{margin-left:0}.topic-focus{grid-template-columns:1fr 1fr}.subject-card{padding:20px}}
@media(max-width:720px){.shell{padding:0 17px 74px}header{min-height:0;padding:19px 0}.settings select{max-width:174px}h1{font-size:25px;letter-spacing:-.7px}.heading{gap:12px;margin-bottom:21px}.heading .muted{font-size:12px}.heading>.pill{font-size:8px}.hero{padding:27px 23px;min-height:0;border-radius:17px}.hero h2{font-size:31px}.hero p{font-size:12px;margin-bottom:20px}.hero .btn{padding:11px 15px;font-size:11px}.stats{gap:8px;margin:16px 0 20px}.stat{padding:14px 11px}.stat .stat-label{font-size:7px;letter-spacing:1px}.stat strong{font-size:26px}.stat strong small{font-size:12px}.stat span{font-size:9px}.pathway{display:flex;flex-direction:column;margin-bottom:23px}.pathway a{padding:13px 17px}.pathway a+a{border-left:0;border-top:1px solid var(--line)}.pathway small{font-size:10px}.subject-grid{grid-template-columns:1fr}.subject-card{padding:22px}.subject-card h3{font-size:18px}.subject-card p{font-size:12px}.mini-count{font-size:11px}.subject-card-bottom>span{font-size:11px}.subject-card-top{margin-bottom:14px}.subject-card-bottom>a{width:40px;height:40px}.revision-strip{align-items:start;flex-direction:column}.breadcrumbs{font-size:10px;gap:7px;height:auto;justify-content:start}.breadcrumbs a{font-size:10px;flex:none;padding:0}.subject-overview{padding:21px;gap:14px}.subject-overview h2{font-size:16px}.subject-overview .subject-icon{width:40px;height:40px}.subject-overview>div:nth-child(2){flex:1;min-width:170px}.subject-overview>.btn{width:100%;text-align:center}.topic-focus{grid-template-columns:1fr}.topic-summary,.difficulty-summary{padding:23px}.topic-summary h2{font-size:17px}.lesson-row{padding:19px;gap:13px}.lesson-row h3{font-size:14px}.lesson-row p{font-size:10px}.active-notice{align-items:start;flex-direction:column;gap:6px}.practice-controls{padding:14px;gap:12px}.practice-controls label{flex:1;min-width:125px}.practice-controls select{width:100%;font-size:11px}.practice-controls>span{width:100%;padding:0}.question-card{padding:22px 19px}.question-card h2{font-size:18px}.question-card .pill{font-size:10px}.question-card>.row:first-child{gap:9px}.option{font-size:14px;line-height:1.6}.feedback{padding:17px}.feedback p{font-size:13px}nav a{min-height:49px;justify-content:center}footer{line-height:1.8}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* A warmer, more inviting learning space */
:root{--cream:#f3f2f8;--deep:#250e5c;--green:#2f0d82;--gold:#f8cd78}body{background:radial-gradient(ellipse at 100% 0%,#eae8f4 0,transparent 45%),var(--cream);background-attachment:fixed}.sidebar{background:linear-gradient(180deg,#fffefa,#f9fcf6);border-right-color:#dddde9}.brand .logo{background:linear-gradient(145deg,#381393,#281061);box-shadow:0 5px 14px #2a126e26;border:1px solid #2a126e20}.brand small{color:#6c6485}.sidebar nav a.active{background:linear-gradient(100deg,#e3e0f2,#e9e9f5);box-shadow:inset 3px 0 0 #43209e}.sidebar-note{border-top:1px solid #dfdfec;padding-top:21px}.sidebar-note .tiny-label{color:#5d5391}.sidebar-note p{color:#463970}.heading h1{color:#25144f}.heading>.pill{background:#fff1d0;color:#776029;border:1px solid #f0dfac}header .eyebrow{color:#554588}select{box-shadow:0 2px 5px #281f4c10;border-color:#d7d6e5}.hero{background:linear-gradient(115deg,#210c53 0%,#30117c 62%,#4b2a9e 100%);box-shadow:0 12px 30px #30176e21;border:1px solid #2f1470;isolation:isolate}.hero:before{content:'';position:absolute;right:-90px;top:-140px;width:410px;height:410px;border-radius:50%;border:1px solid #ffffff20;background:radial-gradient(circle at 45% 65%,#9b8ad54d,transparent 70%);box-shadow:0 0 0 45px #ffffff06,0 0 0 100px #ffffff04;z-index:-1}.hero:after{content:'';position:absolute;right:28%;bottom:-50px;width:95px;height:95px;border-radius:50%;background:#f8cd7820;z-index:-1}.hero h2{color:#fffaf0;line-height:1.24;text-shadow:0 2px 12px #22104422}.hero .eyebrow{color:#f4ddac;letter-spacing:1.6px}.hero p{color:#e3e0f2}.hero .btn.light{background:linear-gradient(180deg,#ffe2a0,#f6ce7c);color:#2b1e51;box-shadow:0 5px 12px #24124426;border:1px solid #fbe5b6}.hero-secondary{border-color:#b3abd7;color:#f5f4ff;background:#ffffff08}.hero-secondary:hover{background:#ffffff15}.hero-art .orbit{border-color:#c4c2e862;background:#9e8fd31a;box-shadow:0 12px 45px #21133f24}.hero-art .orbit:before{border-color:#c9e5b17d}.book{background:linear-gradient(115deg,#fff4ca,#ebd592);border:1px solid #ffedb5;box-shadow:-7px 5px 0 #9b93c6,0 14px 20px #200c4f38;border-radius:7px 15px 15px 7px;transform:rotate(-9deg)}.book:before{content:'';position:absolute;left:12px;top:0;width:2px;height:100%;background:#b19d6b36}.book:after{color:#575276;font-weight:650}.hero-art .star{color:#ffe1a1;text-shadow:0 4px 10px #22104430}.art-caption{color:#d4d4f4}.stat{border:1px solid #ffffffc9;box-shadow:0 5px 13px #3d3b6106;position:relative;overflow:hidden}.stat:after{content:'';position:absolute;right:-15px;top:-15px;width:64px;height:64px;border:10px solid #ffffff50;border-radius:50%;pointer-events:none}.stat:nth-child(1){background:linear-gradient(125deg,#e4e1f2,#eae8f6)}.stat:nth-child(2){background:linear-gradient(125deg,#ffedd3,#fbf4e6)}.stat:nth-child(3){background:linear-gradient(125deg,#f3dff8,#f3edf7)}.stat strong{color:#31215e}.stat:nth-child(2) strong{color:#8b6336}.stat:nth-child(3) strong{color:#6c3881}.pathway{border-color:#d9d8e7;box-shadow:0 4px 12px #34315d05}.pathway b{border:0;background:#e3e3f2;color:#4e477a}.pathway a:nth-child(2) b{background:#fff0d7;color:#936f3b}.pathway a:nth-child(3) b{background:#f3e5f7;color:#80428e}.subject-card{position:relative;overflow:hidden;box-shadow:0 4px 13px #34305a05;border-color:#dbdbe9}.subject-card:before{content:'';height:4px;background:var(--accent);position:absolute;left:0;right:0;top:0;opacity:.75}.subject-card .subject-icon{width:51px;height:51px;border:1px solid #ffffffc0;box-shadow:0 3px 6px #3a396408;font-weight:650}.subject-card .mini-count{background:var(--tint);color:var(--accent);padding:5px 9px;border-radius:7px;font-weight:600}.subject-card h3{color:#30264f}.subject-card-bottom>a{border:1px solid #ffffffcf;transition:transform .15s}.subject-card:hover{box-shadow:0 12px 28px #37325d10;border-color:#aeabc8}.subject-card:hover .subject-card-bottom>a{transform:translateX(2px)}.revision-strip{margin-top:24px;padding:23px;border-radius:15px;background:linear-gradient(100deg,#e8e6f4,#eae8f6);border:1px solid #d6d3e8}.btn:not(.light):not(.outline):not(.secondary):not(.danger):not(.hero-secondary){background:linear-gradient(120deg,#371492,#290d70);box-shadow:0 3px 7px #2e1b6d12}.btn.outline:hover{background:#f2f8ec;border-color:#a9a7c5}.topic-card:hover{background:#fbfdf8}.subject-overview{border:1px solid #ffffff;box-shadow:0 5px 20px #34305a08}.difficulty-summary{background:linear-gradient(135deg,#e5e5f3,#edebf7)}.question-card{border-color:#d5d5e7}.question-card .pill{background:#e3e0f3;color:#37356c}.feedback:not(.wrong){background:linear-gradient(115deg,#e7e5f5,#f1f8e9);border:1px solid #cccbe8}.feedback.wrong{border:1px solid #f4dfc4}.progress-bar div{border-radius:5px}.step-number{background:#dddcf0;box-shadow:0 3px 8px #332c6510}.daily-banner{background:linear-gradient(100deg,#e1e1f1,#f5f4db)}.lesson-list{box-shadow:0 4px 16px #35315405}.catalog-guide{background:linear-gradient(110deg,#fffef8,#f5f9ee)}
@media(max-width:720px){body{background-attachment:scroll}.sidebar{background:#fffefa}.sidebar nav a.active{box-shadow:none;background:#e2e1f2}.hero:before{right:-120px;width:270px;height:270px;top:-120px}.hero:after{right:15px;bottom:-35px}.hero{box-shadow:0 8px 20px #30176e18}.hero .btn.light{padding:12px 16px}.subject-card{border-radius:17px}.subject-card .subject-icon{width:49px;height:49px}.revision-strip{padding:21px}.heading>.pill{padding:5px 8px}.stat:after{width:48px;height:48px;border-width:8px;right:-13px;top:-12px}.sidebar nav a{font-size:9px}}
/* Responsive layouts and installable app controls */
html{scroll-padding-bottom:100px}img,svg{max-width:100%}.shell,main,header,.hero>div,.catalog-layout>section,.topic-focus>div,.question-wrap{min-width:0}.option{overflow-wrap:anywhere}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}.settings select{min-height:42px}.sidebar nav a{min-height:46px}.install-bar{display:flex;align-items:center;gap:15px;margin:20px 0 0;padding:17px 20px;border:1px solid #d5d5e7;border-radius:13px;background:#fffef7}.install-emblem{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;background:#dfdcf0;color:#4b4178;font-size:25px;flex-shrink:0}.install-bar>div:first-of-type{min-width:0}.install-bar h2{font-size:14px;margin:0 0 4px}.install-bar p{font-size:11px;color:var(--muted);margin:0}.install-actions{display:flex;gap:8px;margin-left:auto;flex-shrink:0}.install-actions .btn{font-size:11px;padding:9px 13px}dialog{max-width:460px;width:calc(100% - 36px);border:1px solid #d3d3e7;border-radius:17px;padding:26px;background:#fffefa;color:var(--ink);box-shadow:0 20px 60px #22153f30}dialog::backdrop{background:#21124270}dialog p{font-size:14px;line-height:1.8;margin:15px 0 22px}dialog[open]{display:block}
@media(min-width:721px) and (max-width:900px){.sidebar{width:184px;padding:24px 14px}.shell{margin-left:184px;padding:0 21px}.sidebar .brand{font-size:20px}.sidebar .brand small{font-size:8px}.sidebar nav a{padding:12px 10px;font-size:12px}.hero{grid-template-columns:1fr;padding:29px}.hero-art{display:none}header{flex-wrap:wrap;gap:14px}.settings{flex-direction:row;width:100%;gap:12px}.settings label{flex:1;min-width:0}.settings select{width:100%;max-width:none}.install-bar{flex-wrap:wrap}.install-actions{margin-left:54px}.stats{gap:10px}.stat{padding:16px 13px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pathway{grid-template-columns:1fr}.pathway a+a{border-left:0;border-top:1px solid var(--line)}.topic-focus{grid-template-columns:1fr}.practice-controls select{max-width:210px}.mock-side .palette{grid-template-columns:repeat(5,1fr)}}
@media(max-width:720px){.shell{padding-left:max(17px,env(safe-area-inset-left));padding-right:max(17px,env(safe-area-inset-right));padding-bottom:calc(85px + env(safe-area-inset-bottom))}.sidebar{height:calc(67px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.sidebar nav{height:67px}.sidebar nav a{font-size:10px;min-width:0;line-height:1.3;text-align:center;overflow-wrap:anywhere}.sidebar nav .nav-icon{font-size:19px;margin-bottom:3px}header{gap:15px;flex-wrap:wrap}.settings{width:100%;flex-direction:row;gap:10px}.settings label{flex:1;min-width:0;font-size:11px}.settings select{width:100%;max-width:none;font-size:12px;min-height:44px;padding:9px 7px}.header-copy{font-size:12px}.install-bar{gap:12px;padding:16px;margin-top:16px;flex-wrap:wrap}.install-bar h2{font-size:13px}.install-bar p{font-size:11px}.install-bar>div:first-of-type{flex:1;min-width:170px}.install-actions{width:100%;margin-left:0;flex-shrink:1}.install-actions .btn{flex:1;font-size:12px}.hero .btn{min-height:44px}.practice-controls label{min-width:0;flex:1 1 125px}.practice-controls select{min-height:44px}.lesson-row{min-height:74px}.subject-card-bottom>a{width:44px;height:44px}.chip{min-height:38px;display:inline-flex;align-items:center}.mock-side .palette{grid-template-columns:repeat(5,1fr);max-width:none}.number{min-height:44px;font-size:12px}.option{padding:15px 12px;font-size:15px}.option span{width:28px;height:28px}.heading{flex-wrap:wrap}.question-card>.row:first-child{align-items:flex-start}.question-card .pill{white-space:normal}.breadcrumbs{line-height:1.8}}
@media(max-width:380px){.stats{grid-template-columns:1fr;gap:9px}.stat{display:grid;grid-template-columns:auto 1fr;gap:0 12px;align-items:center;padding:14px 16px}.stat .stat-label{grid-column:1/-1;font-size:9px}.stat strong{font-size:27px;margin:2px 0}.stat>span:last-child{font-size:11px}.hero h2{font-size:28px}.hero{padding:24px 20px}.install-emblem{display:none}.subject-overview>div:nth-child(2){min-width:0}.row .btn{max-width:100%}}
@media(display-mode:standalone){.install-bar{margin-top:14px}body{overscroll-behavior-y:none}}
[hidden]{display:none!important}

/* TET Ready: a confident, colourful study companion. */
:root{--ink:#402049;--muted:#7e6283;--deep:#291255;--green:#31107c;--cream:#f9f4fa;--line:#e8ddec;--gold:#f6cb77}
body{background:radial-gradient(ellipse at 100% 0,#e7e3f1 0,transparent 45%),#f9f4fa;background-attachment:fixed}
.sidebar{background:linear-gradient(165deg,#341440,#2c1135);border-right:0;color:#f8f4fa;box-shadow:5px 0 25px #37104010}
.brand{color:#fff}.brand .logo{background:#f6cb77;color:#3d2449;border-color:#ffe2aa;box-shadow:0 5px 18px #0002;border-radius:13px}
.brand small{color:#bfaace}.nav-label{color:#baa0c9;letter-spacing:1.8px}.sidebar nav a{color:#cfbdd9;gap:14px;margin-bottom:7px;border-radius:12px}
.sidebar nav a:hover{background:#ffffff0d;color:white}.sidebar nav a.active{background:#ffffff12;color:#fff;box-shadow:inset 3px 0 #f6cb77}
.nav-icon{display:flex;align-items:center;justify-content:center}.nav-icon svg{width:21px;height:21px}
.sidebar-note{border-top-color:#ffffff1c}.sidebar-note .tiny-label{color:#f6cb77}.sidebar-note p{color:#d2bedd}.sidebar-note .dot{background:#9e8ecd}
header{border-bottom-color:#e7dceb}.header-copy{color:#6f527b}header .eyebrow{color:#3c1f75}.settings label{color:#6e5177}.settings select{background:#fff;border-color:#e3d6e9;border-radius:10px;box-shadow:0 3px 9px #47235805}
.heading{margin-bottom:24px}.heading h1{color:#3b1950;font-size:clamp(27px,2.6vw,37px);letter-spacing:-1px;line-height:1.25}.heading p{font-size:14px;line-height:1.7;margin-top:9px}
.heading>.pill{background:#fff4d9;color:#785818;border-color:#f1ddaa;letter-spacing:.6px;padding:8px 12px}
.hero{background:linear-gradient(115deg,#29134f,#301270 70%,#422291);padding:38px 40px;grid-template-columns:1.45fr 1fr;border-radius:24px;border:1px solid #34176c;box-shadow:0 16px 35px #4a226b18;min-height:330px;gap:20px}
.hero h2{font-size:clamp(30px,3.2vw,45px);line-height:1.18;letter-spacing:-1.1px;max-width:520px;margin:17px 0 20px}.hero p{font-size:14px;line-height:1.85;color:#ded8ed;margin-bottom:24px}.hero .eyebrow{font-size:10px;color:#f7d89c;letter-spacing:1.8px}
.hero:before{width:440px;height:440px;right:-100px;top:-170px;background:#ab9cde16;box-shadow:0 0 0 55px #ffffff04,0 0 0 110px #ffffff03}.hero:after{right:45%;bottom:-65px;width:130px;height:130px;background:#f6cb7710}
.hero .btn.light{background:#f6cb77;color:#2f2443;border:1px solid #ffdf9d;box-shadow:0 6px 15px #290c4426;font-weight:750;padding:13px 21px;border-radius:11px}
.hero-secondary{background:transparent;color:#f6f3ff;border:1px solid #afa4c880;padding:13px 19px;border-radius:11px}.hero-secondary:hover{background:#ffffff12}
.hero-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}
.study-scene{width:240px;height:205px;position:relative}.scene-orbit{position:absolute;inset:0 12px;border:1px solid #b6a9db4a;border-radius:50%;transform:rotate(-20deg)}
.scene-orbit:after{content:'';position:absolute;inset:17px -20px;border:1px dashed #cdc3e838;border-radius:50%}
.scene-book{position:absolute;width:112px;height:142px;border-radius:5px 13px 13px 5px;left:70px;top:24px;box-shadow:-6px 5px 0 #eadfb5,0 15px 25px #2109394a}
.back-book{background:#a99cd0;transform:rotate(12deg);left:95px;top:33px;box-shadow:-6px 5px 0 #8474b3}
.front-book{background:linear-gradient(135deg,#ffe5ad,#efbd62);transform:rotate(-12deg);color:#33264e;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:11px solid #ddaa51}
.front-book>span{font-size:37px;font-weight:800;letter-spacing:2px}.front-book>small{font-size:11px;letter-spacing:3px;font-weight:700}.book-lines{width:55px;height:9px;border-block:1px solid #95682970;margin-top:18px}
.scene-pencil{position:absolute;width:11px;height:119px;left:51px;top:73px;background:linear-gradient(90deg,#fbe6be 0 30%,#e8b45b 30% 70%,#f8d38d 70%);transform:rotate(20deg);border-top:14px solid #e6a39a;border-bottom:15px solid #f7e1bb;border-radius:3px}
.scene-pencil:after{content:'';position:absolute;bottom:-20px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #382348}
.scene-badge{position:absolute;right:12px;bottom:8px;width:44px;height:44px;display:grid;place-items:center;background:#deddf2;color:#2d146d;border:5px solid #4d3489;border-radius:50%;font-size:23px;font-weight:bold;box-shadow:0 6px 18px #2b084a33}
.scene-spark{position:absolute;color:#ffe3a0;font-size:30px}.spark-one{right:0;top:4px}.spark-two{left:10px;top:26px;font-size:21px}
.daily-meter{display:flex;align-items:center;gap:12px;background:#280d4c5c;border:1px solid #ffffff26;border-radius:15px;padding:12px 18px;width:250px;max-width:100%}
.daily-meter strong{font-size:12px;color:#f4f2fa;display:block}.daily-meter>div>small{display:block;color:#c3badb;font-size:10px;margin-top:4px}
.meter-ring{width:46px;height:46px;flex-shrink:0;border-radius:50%;background:conic-gradient(#f6cb77 var(--completion),#ffffff20 0);padding:4px;display:grid;place-items:center}
.meter-ring>span{border-radius:50%;background:#2d1655;width:38px;height:38px;display:grid;place-content:center;grid-auto-flow:column;align-items:baseline;font-size:14px;font-weight:700}.meter-ring small{font-size:9px;color:#cdc6dd}
.stats{margin:22px 0;gap:16px}.stat{background:white!important;border:1px solid #ebe0ed;padding:21px 24px;border-radius:17px;box-shadow:0 4px 16px #49275605}.stat:after{border-color:#e9e6f180;width:75px;height:75px;top:12px;right:-27px}.stat .stat-label{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#5d4e81}.stat strong{color:#301865;font-size:33px;margin:9px 0 3px}.stat:nth-child(2) .stat-label,.stat:nth-child(2) strong{color:#936527}.stat:nth-child(3) .stat-label,.stat:nth-child(3) strong{color:#6f3589}.stat:nth-child(2):after{border-color:#fdf0db}.stat:nth-child(3):after{border-color:#f9edfa}
.pathway{border:0;background:transparent;box-shadow:none;gap:13px;margin:24px 0 30px}.pathway a{border:1px solid #e6ddeb;background:#fff;padding:18px;border-radius:14px;transition:transform .18s,border-color .18s;min-width:0}.pathway a+a{border-left:1px solid #e6ddeb}.pathway a:hover{transform:translateY(-3px);border-color:#8a78b3;background:#fff}.pathway b{width:37px;height:37px;border-radius:11px;flex-shrink:0}.pathway strong{font-size:14px}.pathway small{font-size:10px;line-height:1.6}.pathway a>span:last-child{color:#807893}
.section-top h2{font-size:21px;color:#3e2054}.subject-grid{gap:17px}.subject-card{background:linear-gradient(140deg,#fff 25%,var(--tint));border:1px solid #e3dfe9;border-radius:19px;padding:24px;box-shadow:0 4px 15px #38245105;transition:transform .18s,box-shadow .18s,border-color .18s}.subject-card:before{height:3px;opacity:.8}.subject-card:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 13px 25px #38245112}.subject-card h3{color:#462754;font-size:17px;line-height:1.5;min-height:51px}.subject-card .subject-icon{width:53px;height:53px;border-radius:15px;font-size:25px;background:#fff;color:var(--accent);border:1px solid #ffffff;box-shadow:0 4px 12px #35255210}.subject-card .mini-count{border-radius:7px;background:#ffffffbc;color:var(--accent);font-size:10px}.subject-card p{color:#6a5379}.subject-card-bottom{border-top:1px solid #ffffff;padding-top:13px}.subject-card-bottom>span{color:#675276;line-height:1.8}.subject-card-bottom>a{background:#fff;color:var(--accent);border:1px solid #ffffff}.subject-card .progress-bar{background:#ffffffb8;height:5px}
.revision-strip{background:linear-gradient(100deg,#e8e5f0,#f0edf5);border:1px solid #dad5e6;border-radius:17px;padding:25px}.revision-strip h3{color:#362060}.revision-strip p{color:#6a577c;line-height:1.7}
.install-bar{margin:10px 0 28px;background:#fff;border-color:#e6ddeb;border-radius:16px;padding:21px 24px}.install-emblem{background:#e9e7f2}.install-bar h2{color:#3b2458}.install-actions .btn{font-size:12px}
.btn,.option,.topic-card,.lesson-row{transition:background .15s,border-color .15s,box-shadow .15s}.btn:hover{filter:none;box-shadow:0 4px 10px #36215f18}.btn.outline:hover{background:#eeecf5;border-color:#9b8cbe}
a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #dc9d35;outline-offset:4px}.topic-card,.question-card,.lesson,.card,.topic-summary,.difficulty-summary{border-radius:17px}.option.selected{box-shadow:inset 3px 0 #31107c}
@media(min-width:1400px){main{max-width:1150px}.install-bar{max-width:1150px;margin:10px auto 28px}}
@media(min-width:721px) and (max-width:1000px){.hero{grid-template-columns:1fr;padding:32px}.hero-art{display:none}.pathway{grid-template-columns:1fr}.pathway a+a{border-top:1px solid #e6ddeb}.subject-card{padding:21px}}
@media(max-width:720px){body{background-attachment:scroll}.sidebar{background:#fff;border-top:1px solid #e1d9e9;box-shadow:0 -4px 20px #39164908}.sidebar nav a{color:#806487;margin:0;gap:3px;font-size:10px}.sidebar nav a.active{color:#291060;background:#eae7f3;box-shadow:none}.sidebar nav a:hover{color:#291060;background:#f1eff7}.sidebar nav .nav-icon{margin:0}.nav-icon svg{width:20px;height:20px}.heading{gap:12px;margin-bottom:20px}.heading h1{font-size:29px;letter-spacing:-.7px}.heading p{font-size:13px}.heading>.pill{font-size:9px;padding:6px 9px}.hero{padding:27px 24px;min-height:0;grid-template-columns:1fr;border-radius:20px;gap:22px}.hero h2{font-size:34px;max-width:100%;letter-spacing:-.8px}.hero p{font-size:13px;margin-bottom:21px}.hero .row{gap:9px}.hero .btn{font-size:12px;padding:12px 15px;flex:1}.hero-art{display:flex;align-items:stretch}.study-scene{display:none}.daily-meter{width:100%;padding:12px 15px;border-radius:12px}.daily-meter strong{font-size:12px}.daily-meter>div>small{font-size:11px}.hero:before{right:-180px;top:-120px;width:360px;height:360px}.stats{gap:9px;margin:18px 0}.stat{padding:17px 12px;border-radius:13px}.stat .stat-label{font-size:8px;letter-spacing:.8px}.stat strong{font-size:26px;margin:7px 0}.stat>span:last-child{font-size:10px;line-height:1.5}.stat:after{width:50px;height:50px;right:-28px;border-width:7px}.pathway{grid-template-columns:1fr;gap:10px;margin:20px 0 26px}.pathway a{padding:15px 17px;border-radius:13px}.pathway a+a{border-top:1px solid #e6ddeb}.pathway small{font-size:11px}.subject-grid{gap:14px}.subject-card{padding:22px}.subject-card h3{min-height:0;font-size:18px}.subject-card .mini-count{font-size:11px}.subject-card-bottom>span{font-size:12px}.section-top{gap:12px}.section-top h2{font-size:20px}.install-bar{padding:18px;margin:0 0 24px}.install-actions{margin-left:0}.revision-strip{padding:22px}.revision-strip .row{width:100%;gap:9px}.revision-strip .btn{flex:1}.subject-card:hover,.pathway a:hover{transform:none}}
@media(max-width:380px){.stats{grid-template-columns:1fr}.stat{display:grid;grid-template-columns:auto 1fr;gap:0 16px;padding:14px 18px}.stat .stat-label{grid-column:1/-1}.stat strong{margin:3px 0}.stat>span:last-child{font-size:12px}.hero h2{font-size:30px}.hero .row{flex-direction:column;align-items:stretch}.hero .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.subject-card,.pathway a,.btn,.option,.topic-card,.lesson-row{transition:none}.subject-card:hover,.pathway a:hover{transform:none}}


/* ---- Polish pass (Oct 2026) ---- */
/* Answer feedback: keep text readable after checking, add clear ✓ / ✗ markers */
.option:disabled{opacity:1}
.question-card .option:disabled:not(.correct):not(.wrong){opacity:.55}
.option{position:relative}
.option.correct{background:#ecf8f0!important;border-color:#5fb184!important;color:#174d36!important;box-shadow:inset 4px 0 #2f9461!important;border-radius:14px}
.option.wrong{background:#fdf0ee!important;border-color:#e3a397!important;color:#7a2e22!important;box-shadow:inset 4px 0 #cf5b47!important;border-radius:14px}
.option.correct:after,.option.wrong:after{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:800;color:#fff}
.option.correct:after{content:'✓';background:#2f9461}
.option.wrong:after{content:'✕';background:#cf5b47}
.option.correct,.option.wrong{padding-right:54px}
.option:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 14px #2c1c4d12}
.option{transition:transform .15s,background .15s,border-color .15s,box-shadow .15s}
/* Gentle entrance for each question */
@keyframes tr-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.question-card,.question-wrap{animation:tr-rise .28s ease-out}
/* Stat cards: replace clipped half-circles with a clean accent bar */
.stat{position:relative;overflow:hidden}
.stat:after{display:none!important}
.stat:before{content:'';position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:#432490}
.stat:nth-child(2):before{background:#d59a3f}
.stat:nth-child(3):before{background:#974cb0}
/* Subject cards: remove the dead space under the title */
.subject-card h3{min-height:0;margin-bottom:4px}
.subject-card p{margin-bottom:14px}
/* Buttons never break their arrow onto a new line */
.btn{white-space:nowrap}
@media(max-width:720px){
 .btn{white-space:normal}
 /* Bottom navigation: undo desktop sidebar padding that pushed labels off-screen */
 .sidebar{padding:0 0 env(safe-area-inset-bottom)!important;top:auto!important}
 .sidebar nav{height:67px;align-items:center}
 .sidebar nav a{padding:7px 2px;border-radius:12px}
 .hero h2{font-size:29px;line-height:1.2}
 .option.correct,.option.wrong{padding-right:48px}
 .option.correct:after,.option.wrong:after{right:12px;width:22px;height:22px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.question-card,.question-wrap{animation:none}.option:not(:disabled):hover{transform:none}}
.chip{text-decoration:none}.chip:hover{border-color:#9b8cbe}
@media(max-width:720px){.hero .btn{white-space:nowrap;padding:12px 12px}}
/* Correct-answer feedback stays green so "right" is instantly recognisable */
.feedback:not(.wrong){background:#ecf8f0;border-color:#bfe3cc;color:#174d36}
/* Full exam */
.full-exam{position:relative;overflow:hidden;border:1px solid #d9d0f0;background:linear-gradient(135deg,#fff 55%,#f3eefc);margin-bottom:22px}
.full-exam:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(#3b1d8f,#f2c46b)}
.pill.gold{background:#fff3d6;color:#7a5512}
.exam-sections{list-style:none;padding:0;margin:14px 0 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px}
.exam-sections li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;border:1px solid #e3ddf1;border-radius:12px;background:#fff;font-size:13px}
.exam-sections b{font-size:18px;color:#2e1a6e}
.palette.long{max-height:330px;overflow-y:auto;padding-right:4px;grid-template-columns:repeat(6,1fr)}
.qualify{margin:12px 0;padding:13px 16px;border-radius:12px;background:#fff6e2;border:1px solid #f0d9a2;color:#5f4410;font-weight:600}
.qualify.pass{background:#ecf8f0;border-color:#bfe3cc;color:#174d36}
@media(max-width:720px){.palette.long{grid-template-columns:repeat(6,1fr);max-height:260px}.palette.long .number{min-height:38px}}
.exam-bar{display:none}
@media(max-width:720px){
 .mock-layout.long .mock-side{order:1}
 .mock-layout.long .exam-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;position:sticky;top:0;z-index:5;margin:-6px -6px 14px;padding:10px 12px;border-radius:12px;background:#2e1a6e;color:#fff;font-size:12px;box-shadow:0 6px 16px #2e1a6e33}
 .mock-layout.long .exam-bar b{font-size:15px;font-variant-numeric:tabular-nums}
 .mock-layout.long .exam-bar a{color:#f7d89c;font-weight:700;text-decoration:none}
 .mock-layout.long .question-card{overflow:visible}
}
/* Subject cards: readable at a glance (Oct 2026) */
.subject-card{display:flex;flex-direction:column;gap:16px;padding:22px 22px 20px;position:relative;cursor:pointer}
.subject-card-top{display:flex;align-items:center;gap:14px;margin:0}
.subject-card .subject-icon{width:56px;height:56px;font-size:27px;display:grid;place-items:center;flex-shrink:0}
.subject-card h3{font-size:22px;line-height:1.25;margin:0;min-height:0;color:#24183f}
.card-link{text-decoration:none;color:inherit}
.card-link:after{content:'';position:absolute;inset:0;border-radius:inherit;z-index:1}
.card-link:focus-visible{outline:none}
.subject-card:focus-within{outline:3px solid #dc9d35;outline-offset:3px}
.subject-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.subject-facts span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:11px 6px;border-radius:13px;background:#ffffffe0;border:1px solid #ffffff;box-shadow:0 2px 8px #2a1b5208;font-size:13.5px;font-weight:600;color:#4a4362}
.subject-facts b{font-size:26px;line-height:1.1;color:var(--accent,#2e1a6e);font-weight:800}
.subject-progress p{margin:9px 0 0;font-size:14.5px;line-height:1.5;color:#3a3150}
.subject-card .subject-progress .progress-bar{height:9px;border-radius:99px;background:#24183f14;overflow:hidden;margin:0}
.subject-card .subject-progress .progress-bar>div{height:100%;border-radius:99px;background:var(--accent,#2e1a6e);min-width:0}
.subject-go{align-self:flex-start;font-size:15px;font-weight:700;color:#fff;background:var(--accent,#2e1a6e);padding:9px 18px;border-radius:99px;box-shadow:0 4px 10px #2a1b5222}
.subject-card:hover .subject-go{filter:brightness(1.1)}
@media(max-width:720px){.subject-card{padding:18px;gap:13px}.subject-card h3{font-size:20px}.subject-facts b{font-size:22px}.subject-facts span{font-size:12.5px;padding:9px 4px}.subject-progress p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.subject-card:hover{transform:none}}
.tone-evs{--tint:#eef2dc;--accent:#5a6b22}
.tone-science{--tint:#e3eaf8;--accent:#2f56a0}
.subject-card .subject-card-top{justify-content:flex-start}
.subject-card h3{text-align:left}
/* Payments: account button, lock notes, unlock page */
.account-pill{align-self:end;display:inline-flex;align-items:center;min-height:40px;padding:8px 15px;border-radius:99px;background:linear-gradient(135deg,#f6cf7f,#f2b950);color:#3a2706;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap;box-shadow:0 4px 12px #b9822c33}
.account-pill.paid{background:#ecf8f0;color:#174d36;box-shadow:none;border:1px solid #bfe3cc}
.account-pill[hidden]{display:none}
.lock-note{position:relative;z-index:2;margin:0;font-size:14px;font-weight:600;color:#5b4310}
.lock-note a{color:#2e1a6e;font-weight:800}
.unlock-nudge{margin-top:22px;padding:20px;border-radius:16px;background:linear-gradient(135deg,#fff8e8,#f6efff);border:1px solid #ecdcb4;text-align:left}
.unlock-nudge h3{margin:0 0 6px;font-size:18px}
.unlock-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.unlock-offer{position:relative;overflow:hidden;background:linear-gradient(150deg,#2e1a6e,#4b2a9a);color:#fff;border:0}
.unlock-offer .muted,.unlock-offer .small-print{color:#d9cff5}
.unlock-offer a{color:#f7d89c}
.unlock-price{font-size:54px;font-weight:800;letter-spacing:-1.5px;margin:14px 0 6px}
.unlock-price small{font-size:15px;font-weight:600;letter-spacing:0;margin-left:8px;color:#e8defc}
.unlock-perks{list-style:none;padding:0;margin:8px 0 18px;display:grid;gap:10px;font-size:15px}
.unlock-perks li{padding-left:28px;position:relative}
.unlock-perks li:before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:#f2c46b;color:#2e1a6e;font-size:12px;font-weight:900;display:grid;place-items:center}
.small-print{font-size:12.5px;line-height:1.6}
.unlock-account h2{font-size:21px}
.acct-field{display:grid;gap:6px;margin:16px 0;font-size:13px;font-weight:700;color:#4a4362}
.acct-field input{font:inherit;font-size:17px;padding:12px 14px;border:1.5px solid #d6cfe6;border-radius:12px;background:#fff;color:#22173b}
.acct-field input:focus{outline:3px solid #dc9d3555;border-color:#2e1a6e}
.acct-msg{margin-top:14px;padding:11px 14px;border-radius:11px;background:#f3eefc;color:#2e1a6e;font-weight:600}
.acct-done h2{color:#174d36}
@media(max-width:720px){.unlock-layout{grid-template-columns:1fr}.unlock-account{order:-1}.unlock-price{font-size:44px}.account-pill{min-height:36px;font-size:12px;padding:6px 12px}.settings{flex-wrap:wrap}}
.subject-card .lock-note{font-size:14.5px;line-height:1.5}
@media(max-width:720px){.subject-card .lock-note{font-size:14px}}
.progress-banner{background:#fff;border:2px solid var(--gold);border-radius:18px;padding:22px 26px;margin:0 0 22px}.progress-lead{font-size:13px;font-weight:700;letter-spacing:.4px;color:var(--deep);margin:0 0 10px}.progress-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.progress-figures strong{display:block;font-size:44px;line-height:1.1;font-weight:800;letter-spacing:-1.5px;color:var(--green)}.progress-figures span{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-top:4px}.progress-foot{font-size:14px;color:var(--muted);margin:12px 0 0}@media(max-width:720px){.progress-banner{padding:18px}.progress-figures{grid-template-columns:1fr;gap:10px}.progress-figures strong{font-size:36px}.progress-figures span{font-size:13px}}
/* Question protection: questions cannot be selected, copied or printed (Oct 2026). */
.question-card,.question-wrap,.review-item,.options{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.print-block{display:none}
@media print{body>*{display:none!important}body>.print-block{display:block!important;padding:40px;font:18px/1.5 sans-serif}}
.acct-blocked h2{color:#8a3b12}.acct-blocked p{line-height:1.6}
/* Home quick start: the first thing visitors see */
.quick-start{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:linear-gradient(120deg,#fff7e3,#fff);border:2px solid var(--gold);border-radius:18px;padding:20px 24px;margin:0 0 20px;box-shadow:0 8px 22px #b9822c1f}
.quick-start h2{margin:0 0 6px;font-size:clamp(20px,4.6vw,26px);color:var(--deep)}
.quick-start p{margin:0;color:#4b4560;line-height:1.5}
.qs-text{flex:1 1 280px}
.qs-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;flex:0 1 260px}
.quick-start .qs-go{font-size:17px;padding:14px 20px;text-align:center;justify-content:center}
.qs-lang{display:flex;gap:8px}.qs-lang .btn{flex:1;justify-content:center;padding:9px 12px}
.qs-lang .qs-on{background:var(--deep);color:#fff;border-color:var(--deep)}
@media (max-width:720px){.quick-start{padding:18px 16px}.qs-actions{flex:1 1 100%}}

/* UPI tip above the Pay button */
.upi-tip{margin:.75rem 0 1rem;padding:.65rem .85rem;border-radius:10px;background:#fff7e0;border:1px solid #f0d58a;color:#5a4300;font-size:.95rem;line-height:1.45}

/* Bigger header title and tagline (28 Oct 2026) */
header .eyebrow{font-size:18px;letter-spacing:2px;font-weight:800;line-height:1.3}header .header-copy{font-size:16px;margin-top:6px}@media(max-width:720px){header .eyebrow{font-size:13px;letter-spacing:1.2px}header .header-copy{font-size:13px}}


/* =================================================================
   TET Ready visual refresh (31 Oct 2026)
   Theme-only: keep IDs, layout flows, quiz states, payment screens,
   student progress and all functional JavaScript unchanged.
   ================================================================= */
:root{
  --ink:#193249;
  --muted:#51677a;
  --green:#086c77;
  --deep:#19445c;
  --cream:#f4f8fc;
  --line:#dce8ee;
  --gold:#edc56c;
}
body{
  color:var(--ink);
  background:radial-gradient(ellipse at 94% 0%,#d9eff2 0,transparent 43%),
             radial-gradient(ellipse at 8% 100%,#f8edda 0,transparent 35%),var(--cream);
  background-attachment:scroll;
}
.sidebar{
  color:#edf7fc;
  background:linear-gradient(165deg,#17314f 0%,#125064 100%);
  box-shadow:5px 0 24px #17314f12;
}
.brand{color:#fff}
.brand .logo{
  color:#173b51;
  background:linear-gradient(145deg,#a6ebd8,#f5d38a);
  border-color:#f1dbab;
  box-shadow:0 5px 15px #081d3540;
}
.brand small,.sidebar nav a{color:#d4e6ef}
.nav-label{color:#a9d7d9}
.sidebar nav a:hover{background:#ffffff13;color:#fff}
.sidebar nav a.active{
  color:#fff;
  background:#ffffff20;
  box-shadow:inset 4px 0 #96e5ca;
}
.sidebar-note{border-top-color:#ffffff30}
.sidebar-note .tiny-label{color:#f5d38a}
.sidebar-note p{color:#e0f1f2}
.sidebar-note .dot{background:#9fe4cc}
header{border-bottom-color:var(--line)}
header .eyebrow{color:#14576d}
header .header-copy,.heading p{color:#52677a}
.settings label{color:#456075}
.settings select,select{
  background:#fff;
  color:var(--ink);
  border-color:#cddfe8;
}
.heading h1,.section-top h2,.quick-start h2{color:#193a53}
.heading>.pill{background:#fff3d9;color:#7b5918;border-color:#f0d99f}
.hero{
  background:linear-gradient(116deg,#182f54 0%,#174e70 55%,#0b7380 100%);
  border-color:#275875;
  box-shadow:0 18px 38px #194b6a1f;
}
.hero:before{background:radial-gradient(circle at 45% 65%,#8adfd641,transparent 70%)}
.hero:after{background:#efc56c26}
.hero .eyebrow{color:#f7d996}
.hero h2{color:#fff}
.hero p{color:#e1f1f5}
.hero .btn.light{
  color:#17394f;
  border-color:#f5dca6;
  background:linear-gradient(180deg,#ffe8ad,#f0c56c);
  box-shadow:0 8px 16px #132e4a35;
}
.hero-secondary{color:#fff;border-color:#b5dadd;background:#ffffff0a}
.hero-secondary:hover{background:#ffffff20}
.daily-meter{background:#102b4a70;border-color:#c5eded44}
.daily-meter>div>small{color:#d4e9ee}
.meter-ring{background:conic-gradient(#f0c56c var(--completion),#ffffff2b 0)}
.meter-ring>span{background:#173c59}
.stat{
  border-color:#dfe9ee!important;
  box-shadow:0 7px 18px #25496409;
}
.stat .stat-label{color:#516a7f}
.stat strong{color:#1a5274}
.stat:nth-child(2) .stat-label,.stat:nth-child(2) strong{color:#8c621d}
.stat:nth-child(3) .stat-label,.stat:nth-child(3) strong{color:#206d67}
.stat:before{background:#1b7282}
.stat:nth-child(2):before{background:#e2a643}
.stat:nth-child(3):before{background:#52a78e}
.quick-start{
  background:linear-gradient(115deg,#e9f7f6,#fffefa 78%);
  border-color:#b5d9d9;
  box-shadow:0 8px 24px #1b728011;
}
.quick-start p{color:#4b6578}
.quick-start .qs-go{box-shadow:0 6px 15px #14677d24}
.qs-lang .qs-on{background:#194e68;color:#fff;border-color:#194e68}
.pathway a{
  background:#fff;
  border-color:var(--line);
  box-shadow:0 4px 14px #25496409;
}
.pathway a+a{border-left-color:var(--line)}
.pathway a:hover{border-color:#80b5b7;background:#f9ffff}
.pathway b{background:#def3f0;color:#1a6771}
.section-top h2{color:#193a53}
.subject-card{
  background:linear-gradient(145deg,#fff 35%,var(--tint,#f0f9f8));
  border-color:var(--line);
  box-shadow:0 7px 22px #2549640b;
}
.subject-card:hover{
  border-color:var(--accent,#4c9ba4);
  box-shadow:0 13px 27px #25496419;
}
.subject-card h3{color:#1c354b}
.subject-card p,.subject-card-bottom>span{color:#526779}
.subject-facts span{
  color:#4b6274;
  background:#ffffffed;
  border-color:#edf2f6;
}
.subject-progress p{color:#485f72}
.subject-go{box-shadow:0 5px 12px #2549641c}
.btn:not(.light):not(.outline):not(.secondary):not(.danger):not(.hero-secondary){
  color:#fff;
  background:linear-gradient(120deg,#127586,#0a596c);
  box-shadow:0 5px 12px #0e627222;
}
.btn.secondary{background:#e3f1f3;color:#164f62}
.btn.outline{color:#20435b;border-color:#cbdfe8;background:#fff}
.btn.outline:hover{background:#eaf7f6;border-color:#78adbb}
.btn:not(:disabled):hover{filter:brightness(1.04)}
.lesson,.question-card,.subject-overview,.lesson-list{
  background:#fff;
  border-color:var(--line);
  box-shadow:0 7px 22px #25496409;
}
.example,.difficulty-summary{background:#eef6f8}
.question-card .pill{background:#e5f3f4;color:#15576b}
.chip{border-color:#d3e4ea;color:#375269;background:#fff}
.chip:hover{border-color:#7cabb6}
.chip.selected{color:#fff;background:#145a70;border-color:#145a70}
.option{border-color:#d5e4ea}
.option:not(:disabled):hover{border-color:#79aeb9;background:#f7fcfd}
.option.selected:not(.correct):not(.wrong){
  background:#e8f6f5;
  border-color:#188a87;
  box-shadow:inset 4px 0 #188a87;
}
.option.selected:not(.correct):not(.wrong) span{background:#d0ece8;color:#12596a}
.progress-bar{background:#e3edf2}
.progress-bar div{background:linear-gradient(90deg,#087383,#30a3a1)}
.daily-banner,.revision-strip{
  background:linear-gradient(115deg,#e8f5f6,#f8fbfd);
  border-color:#d5e9ea;
}
.step-number{color:#16536a;background:#d9f0ee}
.full-exam{
  border-color:#d0e8e9;
  background:linear-gradient(135deg,#fff 55%,#e9f7f6);
}
.full-exam:before{background:linear-gradient(#0a7280,#e6b25a)}
.exam-sections li{border-color:#dbe8ee}
.exam-sections b{color:#185670}
.number.current{outline-color:#147888}
.number.answered{background:#d9eeec;color:#14546a}
.result-score,.progress-lead,.progress-figures strong{color:#126779}
.unlock-offer{
  background:linear-gradient(150deg,#193754,#0c6574);
}
.unlock-offer .muted,.unlock-offer .small-print{color:#e4f2f4}
.unlock-offer a{color:#ffe19b}
.lock-note a{color:#145f70}
.acct-field{color:#425e70}
.acct-field input{border-color:#cbdfe8;color:var(--ink)}
.acct-field input:focus{border-color:#0c7080;outline-color:#a3ddd680}
.acct-msg{background:#e9f5f6;color:#155970}
.install-bar{
  background:#fff;
  border-color:var(--line);
  box-shadow:0 5px 16px #2549640a;
}
.install-emblem{color:#155e70;background:#e0f2f1}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{
  outline:3px solid #c78e22;
  outline-offset:3px;
}
@media(max-width:720px){
  .sidebar{
    background:#fff;
    color:#25445c;
    border-top:1px solid #cfdfe7;
    box-shadow:0 -5px 20px #193c5312;
  }
  .sidebar nav a{color:#48677a}
  .sidebar nav a.active{
    background:#e5f5f3;
    color:#135b6d;
    box-shadow:none;
  }
  .sidebar nav a:hover{background:#eef7f8;color:#16586c}
  .hero{box-shadow:0 10px 24px #194b6a20}
  .quick-start{box-shadow:0 5px 16px #1b72800d}
  .mock-layout.long .exam-bar{
    background:#135872;
    box-shadow:0 6px 16px #13587233;
  }
}
@media(prefers-reduced-motion:reduce){
  .subject-card:hover,.pathway a:hover{transform:none}
}


/* Small-screen readability: visual changes only; do not touch progress, accounts or payments. */
@media (max-width:720px){
  body{font-size:15px;line-height:1.65}
  .header-copy{line-height:1.55}
  .muted,.subject-card p,.quick-start p,.plan-step p{font-size:14px;line-height:1.65}
  .quick-start{gap:14px}
  .quick-start .qs-go{font-size:16px;min-height:48px}
  .subject-card h3{font-size:21px;line-height:1.4;overflow-wrap:break-word}
  .subject-facts span{font-size:12.5px;line-height:1.45}
  .question-card h2{font-size:20px;line-height:1.65;overflow-wrap:break-word}
  .option{min-height:52px;padding:14px;line-height:1.6;font-size:15px;align-items:center}
  .option span{flex-shrink:0}
  .feedback p,.lesson p{font-size:15px;line-height:1.75}
  .practice-controls label{font-size:13px}
  .practice-controls select{min-height:44px;font-size:14px}
  .subject-go{font-size:15px;min-height:44px;display:inline-flex;align-items:center}
  .sidebar nav a{font-size:10px;line-height:1.35}
  .sidebar nav .nav-icon{font-size:20px}
  .progress-foot{line-height:1.6}
}
:lang(ta) .question-card h2,:lang(ta) .option,:lang(ta) .lesson p{line-height:1.8}
@media (prefers-reduced-motion:reduce){
  .option,.subject-card,.pathway a{transition:none}
}


/* Home dashboard: visually compact, daily plan before course totals. */
.home-hero{min-height:250px;padding:30px 34px;border-radius:21px;margin:0 0 16px}
.home-hero h2{font-size:clamp(27px,3vw,38px);margin:10px 0 14px}
.home-hero p{margin-bottom:16px;line-height:1.65}
.home-hero .row{gap:10px}
.home-progress{margin:0 0 21px;border:1px solid #d9e8ee;border-radius:16px;padding:15px 20px;box-shadow:0 4px 12px #194b6a0b}
.home-progress .progress-lead{margin-bottom:8px}
.home-progress .progress-figures{gap:10px}
.home-progress .progress-figures strong{font-size:clamp(24px,2.4vw,33px)}
.home-progress .progress-figures span{font-size:12px;line-height:1.45}
.home-progress .progress-foot{font-size:12px;margin-top:8px}
.home-progress + .stats{margin-top:0}
@media(max-width:720px){
 .heading{margin-bottom:15px}
 .quick-start{padding:14px 16px;margin-bottom:14px;gap:10px}
 .quick-start h2{font-size:21px;line-height:1.3}
 .quick-start p{font-size:13px;line-height:1.55}
 .quick-start .qs-actions{gap:8px}
 .quick-start .qs-go{min-height:46px}
 .home-hero{min-height:0;padding:21px 19px;margin-bottom:13px}
 .home-hero h2{font-size:27px;line-height:1.25;margin:9px 0}
 .home-hero p{margin-bottom:14px}
 .home-hero .row{gap:8px}
 .home-progress{padding:13px 14px;margin-bottom:15px}
 .home-progress .progress-figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .home-progress .progress-figures>div:last-child{grid-column:1/-1}
 .home-progress .progress-figures strong{font-size:27px;letter-spacing:-.5px}
 .home-progress .progress-figures span{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
 .home-progress .progress-foot{font-size:12px;line-height:1.55}
 .home-progress + .stats{margin-top:0;margin-bottom:18px}
 .pathway{margin-top:14px;margin-bottom:21px}
}
@media(max-width:380px){
 .home-hero .row .btn{width:100%}
 .home-progress .progress-figures{grid-template-columns:1fr;gap:8px}
 .home-progress .progress-figures>div:last-child{grid-column:auto}
 .home-progress .progress-figures strong{font-size:25px}
}


/* TET Ready visual polish: subject discovery and practice comfort.
   Visual CSS only; preserved answer feedback, navigation and student state. */
.tone-cdp{--tint:#f9eaf3;--accent:#82416e}
.tone-tamil{--tint:#fdf0e4;--accent:#945332}
.tone-english{--tint:#ecf0ff;--accent:#3e548e}
.tone-math{--tint:#fff2d7;--accent:#866016}
.tone-evs{--tint:#e4f5ec;--accent:#246b4c}
.tone-science{--tint:#e4f1fa;--accent:#205d89}
.tone-social{--tint:#f3eafb;--accent:#624780}

/* Individual cards remain familiar, but each subject becomes easier to scan. */
.subject-grid{gap:18px}
.subject-card{
  border:1px solid #dce8ee;
  border-radius:20px;
  background:linear-gradient(155deg,#fff 39%,var(--tint,#e8f5f6));
  box-shadow:0 5px 15px #1b4c660d,0 1px 3px #1b4c660b;
  transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
}
.subject-card:before{height:4px;opacity:1;background:var(--accent,#186a76)}
.subject-card .subject-icon{
  background:var(--tint,#e5f2f1);
  border:1px solid #ffffffd9;
  box-shadow:0 4px 12px #193e5710;
  border-radius:17px;
}
.subject-card h3{color:#18374f;letter-spacing:-.25px;overflow-wrap:anywhere}
.subject-facts{gap:8px}
.subject-facts span{
  background:#ffffffed;
  border:1px solid #e8eef2;
  border-radius:12px;
  box-shadow:0 2px 7px #153e5310;
}
.subject-facts b{color:var(--accent,#176a76)}
.subject-card .subject-progress .progress-bar{
  height:10px;
  background:#17394d15;
  box-shadow:inset 0 1px 2px #17394d12;
}
.subject-card .subject-progress .progress-bar>div{
  background:var(--accent,#176a76);
}
.subject-card .subject-go{
  color:#fff;
  background:var(--accent,#176a76);
  border-radius:12px;
  min-height:44px;
  padding:10px 17px;
  box-shadow:0 5px 12px #163f5820;
  line-height:1.4;
}
.subject-card:focus-within{outline:3px solid #c98a20;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
  .subject-card:hover{
    transform:translateY(-3px);
    box-shadow:0 13px 29px #194b6920;
    border-color:var(--accent,#176a76);
  }
}

/* Clearer topic and lesson navigation with calm, lightweight interaction. */
.topic-card{
  border-color:#dce8ee;
  border-radius:15px;
  background:#fff;
  box-shadow:0 3px 10px #2147600b;
  transition:box-shadow .2s ease,border-color .2s ease,background-color .2s ease;
}
.topic-card h3{color:#1d4358;font-size:15px;line-height:1.4}
.topic-card p{font-size:12px;line-height:1.6;color:#566b7b}
.topic-card>span{color:#137887}
.topic-card:focus-visible,.lesson-row:focus-visible{
  outline:3px solid #ca912e;
  outline-offset:3px;
}
.lesson-list{border-radius:16px;border-color:#dce8ee}
.lesson-row:hover{background:#edf8f8}
.lesson-order{background:#e3f3f2;color:#145f70}
@media(hover:hover) and (pointer:fine){
  .topic-card:hover{
    border-color:#75adb5;
    background:#faffff;
    box-shadow:0 8px 20px #174b6620;
  }
}

/* Practice is the main reading surface: generous space, clear selections. */
.question-wrap .question-card{
  border-radius:21px;
  border:1px solid #d5e5ec;
  background:#fff;
  box-shadow:0 7px 25px #2146600d;
}
.question-wrap .question-card h2{
  color:#1a354c;
  letter-spacing:-.18px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.question-wrap .options{gap:12px}
.question-wrap .option{
  min-height:55px;
  background:#fff;
  color:#203c51;
  border:1.5px solid #d6e5eb;
  border-radius:15px;
  padding:15px 17px;
  box-shadow:0 2px 6px #15395108;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.question-wrap .option span{
  min-width:29px;
  width:29px;
  height:29px;
  border-radius:9px;
  color:#185d6d;
  background:#e8f4f4;
  font-weight:750;
}
.question-wrap .option.selected:not(.correct):not(.wrong){
  border-color:#137e89;
  background:#eaf7f6;
  box-shadow:inset 4px 0 #137e89,0 3px 10px #15395110;
}
.question-wrap .option.selected:not(.correct):not(.wrong) span{
  color:#13566a;background:#cceae7;
}
.question-wrap .option:focus-visible{
  outline:3px solid #ca912e;
  outline-offset:3px;
}
.question-wrap .feedback{
  border-radius:15px;
  padding:20px;
  line-height:1.7;
}
.question-wrap .feedback p{
  line-height:1.8;
  overflow-wrap:anywhere;
}
.question-wrap .progress-bar{height:9px;border-radius:99px}
.question-wrap .progress-bar>div{border-radius:99px}
@media (max-width:720px){
  .subject-grid{gap:13px}
  .subject-card{border-radius:18px}
  .subject-card .subject-icon{border-radius:15px}
  .subject-facts{gap:7px}
  .subject-facts span{padding:10px 5px}
  .subject-card .subject-go{min-height:46px}
  .question-wrap .question-card{padding:21px 18px;border-radius:18px}
  .question-wrap .question-card h2{font-size:20px;line-height:1.75}
  .question-wrap .options{gap:11px}
  .question-wrap .option{min-height:56px;padding:14px 13px;font-size:15px}
  .question-wrap .option span{min-width:28px;width:28px;height:28px}
  .question-wrap .feedback{padding:17px}
  .topic-card{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  .subject-card,.topic-card,.question-wrap .option{transition:none}
  .subject-card:hover{transform:none}
}


/* Oct 2026: mock exam and score-review visual polish.
   Scoped to presentation; does not modify timing, scoring or persistence. */

/* Starting a mock: clear sections and comfortable entry points. */
.full-exam{
  border:1px solid #c8e1e5;
  background:linear-gradient(135deg,#ffffff 45%,#eaf7f5);
  border-radius:21px;
  box-shadow:0 8px 26px #1d4e6810;
  padding:29px 32px;
}
.full-exam:before{width:5px;background:linear-gradient(#0d7685,#e7bf69)}
.full-exam h2{color:#193a52;line-height:1.4;overflow-wrap:anywhere}
.full-exam .exam-sections{gap:11px}
.full-exam .exam-sections li{
  border:1px solid #d9e9ee;
  background:#ffffffed;
  border-radius:13px;
  min-height:48px;
  box-shadow:0 2px 8px #1d4e6808;
}
.full-exam .exam-sections b{color:#176479}

/* Mock test: reading area, navigation buttons and timer. */
.mock-layout{gap:22px;align-items:start}
.mock-layout>.question-card{
  background:#fff;
  border:1px solid #d2e4eb;
  border-radius:21px;
  box-shadow:0 8px 27px #1d4e6810;
}
.mock-layout>.question-card h2{
  color:#183a50;
  line-height:1.68;
  overflow-wrap:anywhere;
}
.mock-layout>.question-card .pill{
  background:#e6f4f4;
  color:#155f70;
  font-weight:700;
}
.mock-layout .options{gap:12px}
.mock-layout .option{
  min-height:56px;
  border:1.5px solid #d5e4eb;
  background:#fff;
  border-radius:15px;
  padding:15px 16px;
  line-height:1.7;
  font-size:15px;
  color:#19394f;
  overflow-wrap:anywhere;
}
.mock-layout .option span{
  background:#eaf4f5;
  color:#195b6e;
  border-radius:9px;
  width:29px;
  height:29px;
  font-weight:750;
}
.mock-layout .option.selected{
  border-color:#0f7c85;
  background:#e8f6f5;
  box-shadow:inset 4px 0 #0f7c85,0 3px 10px #154b6010;
}
.mock-layout .option.selected span{background:#cae9e5;color:#15586a}
.mock-layout .option:focus-visible,
.mock-side .number:focus-visible{outline:3px solid #b87a16;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
  .mock-layout .option:not(:disabled):hover{
    border-color:#77aeb8;
    background:#f6fcfc;
  }
}
.mock-layout>.question-card>.row{gap:10px}
.mock-layout>.question-card>.row .btn{min-height:44px;line-height:1.4}

/* Palette and timer: clear visual distinction for each state. */
.mock-layout>.mock-side{
  background:linear-gradient(150deg,#ffffff,#f4fafb);
  border:1px solid #d6e6ec;
  border-radius:20px;
  box-shadow:0 6px 22px #204a6210;
  padding:21px;
}
.mock-side .tiny-label{color:#43687a;letter-spacing:1px}
.mock-side .timer{
  font-variant-numeric:tabular-nums;
  color:#17576c;
  background:#e8f5f6;
  border:1px solid #cae4e7;
  border-radius:14px;
  padding:10px 12px;
  margin:10px 0 9px;
  text-align:center;
  line-height:1.2;
  font-size:29px;
}
.mock-side .palette{gap:7px}
.mock-side .number{
  border:1px solid #d9e5ea;
  background:#fff;
  color:#43596c;
  border-radius:9px;
  font-weight:650;
  min-height:34px;
  box-shadow:0 1px 3px #244a5b0c;
}
.mock-side .number.answered{
  background:#e0f3ec;
  border-color:#8bbdaf;
  color:#12594a;
}
.mock-side .number.flagged{
  background:#fff1ca;
  border-color:#d8ad51;
  color:#755013;
}
.mock-side .number.current{
  outline:2px solid #0f7c85;
  outline-offset:1px;
}
.mock-side .btn{min-height:44px}
.mock-layout.long .exam-bar{
  background:#175a74;
  color:#fff;
  border:1px solid #2a7690;
}
.mock-layout.long .exam-bar a{color:#ffe3a0;text-decoration:underline}

/* Results: a distinct card that supports encouraging, honest review. */
.exam-result{
  max-width:980px;
  background:linear-gradient(165deg,#fff 55%,#f3fafb);
  border:1px solid #d3e6ea;
  border-radius:22px;
  box-shadow:0 10px 32px #194b6a11;
}
.exam-result>.pill{
  background:#e6f3f5;
  color:#155f73;
  font-weight:700;
  padding:8px 14px;
}
.exam-result .result-score{
  color:#145e76;
  font-size:clamp(49px,5.5vw,68px);
  font-variant-numeric:tabular-nums;
  line-height:1.12;
  letter-spacing:-2px;
  margin:17px 0;
}
.exam-result>.muted{font-size:14px;line-height:1.7}
.exam-result>.row{gap:11px;margin:18px 0 24px}
.exam-result>.row .btn{min-height:45px;line-height:1.45}
.exam-result .qualify{line-height:1.7;border-radius:14px;padding:15px 18px}
.exam-result h2{color:#193d55;line-height:1.4;margin-top:28px}
.exam-result .table-wrap{border-radius:15px;overflow-x:auto;border:1px solid #d9e7ee}
.exam-result table{width:100%;border-collapse:collapse}
.exam-result th{background:#e9f5f6;color:#1b586b}
.exam-result td,.exam-result th{padding:12px 14px;line-height:1.6}
.exam-result .review-item{
  border:1px solid #dce8ee;
  border-radius:16px;
  padding:20px 22px;
  margin:13px 0;
  background:#fff;
  box-shadow:0 2px 10px #16455e09;
}
.exam-result .review-item h3{
  color:#1a374e;
  font-size:16px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.exam-result .review-item p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.exam-result .review-item .muted{color:#536c7e}
.exam-result .review-item>.pill{
  background:#e6f4f5;
  color:#185e71;
}
.exam-result .review-item .btn{min-height:43px;white-space:normal}
@media(max-width:720px){
  .full-exam{padding:21px 18px;border-radius:18px}
  .full-exam h2{font-size:21px}
  .full-exam .exam-sections{gap:8px}
  .full-exam .exam-sections li{min-height:44px;padding:10px 11px}
  .mock-layout{gap:14px}
  .mock-layout>.question-card{padding:21px 17px;border-radius:18px}
  .mock-layout>.question-card h2{font-size:20px;line-height:1.76}
  .mock-layout .option{min-height:55px;padding:14px 13px;line-height:1.75}
  .mock-layout>.question-card>.row{gap:8px}
  .mock-layout>.question-card>.row .btn{flex:1 1 130px}
  .mock-layout>.mock-side{padding:17px;border-radius:18px}
  .mock-side .palette{gap:7px}
  .mock-side .number{min-height:44px}
  .exam-result{padding:22px 17px;border-radius:19px}
  .exam-result .result-score{font-size:51px}
  .exam-result .review-item{padding:17px 15px}
  .exam-result .review-item h3{font-size:15px}
  .exam-result .review-item p{font-size:14px}
  .exam-result .table-wrap{max-width:100%}
}
@media(max-width:380px){
  .mock-layout>.question-card>.row .btn{flex-basis:100%}
  .mock-layout.long .exam-bar{gap:6px;font-size:11px;padding:9px 8px}
  .mock-side .palette.long{grid-template-columns:repeat(5,minmax(0,1fr))}
  .exam-result .result-score{font-size:45px}
}
@media(prefers-reduced-motion:reduce){
  .mock-layout .option,.mock-side .number{transition:none}
}


/* Progress dashboard visual improvement (31 Oct 2026).
   CSS scoped to progress-only classes; no record, calculation or payment changes. */
.progress-dashboard-stats{
  gap:17px;
  margin:20px 0 22px;
}
.progress-dashboard-stats .stat{
  min-width:0;
  min-height:130px;
  padding:23px 24px;
  background:linear-gradient(145deg,#ffffff,#ecf7f8);
  border:1px solid #d4e7eb!important;
  border-radius:19px;
  box-shadow:0 8px 22px #164c6211;
  overflow:hidden;
  position:relative;
}
.progress-dashboard-stats .stat:before{
  content:'';
  display:block;
  position:absolute;
  left:0;
  top:0;
  right:auto;
  bottom:0;
  width:5px;
  background:#117585;
}
.progress-dashboard-stats .stat:nth-child(2){
  background:linear-gradient(145deg,#ffffff,#fff6e8);
  border-color:#f0dfbf!important;
}
.progress-dashboard-stats .stat:nth-child(2):before{background:#b28122}
.progress-dashboard-stats .stat:nth-child(3){
  background:linear-gradient(145deg,#ffffff,#eff7f0);
  border-color:#d7e8dd!important;
}
.progress-dashboard-stats .stat:nth-child(3):before{background:#258365}
.progress-dashboard-stats .stat strong{
  color:#155a75;
  font-size:clamp(28px,3.1vw,37px);
  font-weight:800;
  letter-spacing:-1.15px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.progress-dashboard-stats .stat:nth-child(2) strong{color:#855d17}
.progress-dashboard-stats .stat:nth-child(3) strong{color:#24654e}
.progress-dashboard-stats .stat span{
  color:#50687a;
  font-size:13px;
  line-height:1.6;
}
.progress-dashboard-actions{
  margin-bottom:20px;
  gap:10px;
}
.progress-dashboard-actions .btn{min-height:45px;line-height:1.45}
.progress-dashboard-section{
  margin:28px 0 15px;
}
.progress-dashboard-section h2{
  color:#193e54;
  font-size:clamp(19px,2vw,24px);
}
.progress-dashboard-grid{
  gap:15px;
}
.progress-dashboard-grid .progress-dashboard-subject{
  min-width:0;
  padding:22px 23px;
  background:linear-gradient(155deg,#ffffff,#f3fafb);
  border:1px solid #dce9ee;
  border-radius:18px;
  box-shadow:0 6px 19px #194d620e;
}
.progress-dashboard-subject h3{
  color:#20485c;
  font-size:17px;
  line-height:1.5;
  margin-bottom:10px;
  overflow-wrap:anywhere;
}
.progress-dashboard-subject p{
  color:#53697a;
  font-size:13px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.progress-dashboard-subject .progress-bar{
  height:10px;
  border-radius:99px;
  background:#dceaf0;
  box-shadow:inset 0 1px 2px #1e506515;
  margin:13px 0;
}
.progress-dashboard-subject .progress-bar>div{
  height:100%;
  background:linear-gradient(90deg,#146e84,#3aa49b);
  border-radius:99px;
}
.progress-dashboard-history{
  max-width:100%;
  border:1px solid #d5e7ed;
  border-radius:19px;
  box-shadow:0 7px 21px #174c6410;
  padding:0;
  background:#fff;
  overflow-x:auto;
}
.progress-dashboard-history table{
  width:100%;
  min-width:370px;
  border-collapse:collapse;
}
.progress-dashboard-history th{
  color:#1b5265;
  background:#eaf6f5;
  font-size:12px;
  font-weight:750;
  letter-spacing:.15px;
  text-align:left;
  padding:15px 17px;
  white-space:nowrap;
}
.progress-dashboard-history td{
  padding:14px 17px;
  color:#304e62;
  font-size:13px;
  line-height:1.65;
}
.progress-dashboard-history tbody tr:nth-child(even){background:#f8fbfc}
.progress-dashboard-history a{
  color:#10677a;
  font-weight:700;
  text-underline-offset:3px;
}
.progress-dashboard-history a:focus-visible{
  outline:3px solid #bb8523;
  outline-offset:3px;
}
.progress-dashboard-empty{
  background:#f8fcfc;
  border:1px dashed #aacdd1;
  border-radius:18px;
}
.progress-dashboard-notice{
  color:#566b7b;
  line-height:1.75;
  max-width:850px;
}
@media(max-width:720px){
  .progress-dashboard-stats{gap:10px;margin:15px 0}
  .progress-dashboard-stats .stat{min-height:108px;padding:16px 17px;border-radius:15px}
  .progress-dashboard-stats .stat strong{font-size:27px;letter-spacing:-.6px}
  .progress-dashboard-stats .stat span{font-size:12px;line-height:1.55}
  .progress-dashboard-actions{gap:9px}
  .progress-dashboard-actions .btn{min-height:46px}
  .progress-dashboard-section{margin-top:23px}
  .progress-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .progress-dashboard-grid .progress-dashboard-subject{padding:17px 14px;border-radius:15px}
  .progress-dashboard-subject h3{font-size:15px}
  .progress-dashboard-subject p{font-size:12px}
  .progress-dashboard-history th,.progress-dashboard-history td{padding:12px 13px}
}
@media(max-width:520px){
  .progress-dashboard-grid{grid-template-columns:1fr}
  .progress-dashboard-actions .btn{flex:1 1 150px}
}
@media(max-width:380px){
  .progress-dashboard-stats{grid-template-columns:1fr}
  .progress-dashboard-stats .stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
  .progress-dashboard-stats .stat strong{margin:0}
}
@media(prefers-reduced-motion:reduce){
  .progress-dashboard-subject .progress-bar>div{transition:none}
}


/* Oct 31 2026 - mobile-first indigo/ivory refresh, reviewed from six phone
   screenshots. Presentation only. Preserve free/paid access, test state and QA. */
:root{
 --ink:#332b48;
 --muted:#625b74;
 --deep:#493279;
 --green:#493279;
 --cream:#faf8fc;
 --line:#e5dff0;
 --gold:#f1c878;
}
body{
 color:var(--ink);
 background:radial-gradient(ellipse at 100% 0%,#f0e7fc 0,transparent 49%),
            radial-gradient(ellipse at 0% 75%,#fff0e8 0,transparent 35%),
            var(--cream);
 background-attachment:fixed;
}
.sidebar{
 background:linear-gradient(175deg,#2d2249,#483267 78%,#624779);
 color:#fff;
 border-right-color:#ffffff17;
}
.brand .logo{background:linear-gradient(135deg,#f4d893,#eac2e6);color:#33264e}
.sidebar .nav-label,.sidebar-note .tiny-label{color:#e9d49f}
.sidebar nav a{color:#e8e0f3}
.sidebar nav a.active{
 color:#fff;
 background:#ffffff20;
 box-shadow:inset 4px 0 #f1c878;
}
.sidebar-note{border-top-color:#ffffff2b}
header{border-bottom-color:#e6dff0}
header .eyebrow{color:#5e4389;letter-spacing:1.3px}
header .header-copy,.heading p{color:#625b74}
.settings label{color:#554967}
.settings select,select{
 color:#332b48;
 border-color:#d9cfe6;
 background:#fff;
}
.settings select:focus-visible{outline:3px solid #bb8435;outline-offset:2px}
.heading h1,.section-top h2,.quick-start h2{color:#34284f}
.heading>.pill{
 background:#fff0cf;
 color:#654713;
 border-color:#eacb8e;
}
.account-pill{
 background:linear-gradient(125deg,#f9dd98,#efbf69);
 color:#3f2b19;
 box-shadow:0 4px 13px #9e73351b;
}
.account-pill.paid{background:#edf8ed;color:#22563a}
.hero,.home-hero{
 background:linear-gradient(120deg,#30254e 0%,#513779 60%,#6d4c88 100%);
 color:#fff;
 box-shadow:0 13px 30px #40305b23;
}
.hero .eyebrow{color:#f8d991}
.hero h2,.home-hero h2{color:#fff}
.hero p{color:#f0eaf8}
.hero .btn.light{
 background:linear-gradient(135deg,#ffdfa1,#f1c878);
 color:#34264a;
}
.quick-start{
 background:linear-gradient(120deg,#f1eaff 0%,#fffaf0 85%);
 border:1px solid #d9c9ee;
 box-shadow:0 8px 25px #60478014;
}
.quick-start p{color:#5f5874}
.quick-start .qs-go,.qs-lang .qs-on{
 background:linear-gradient(110deg,#513785,#704b99);
 color:#fff;
 border-color:#513785;
 box-shadow:0 4px 12px #51378525;
}
.home-progress{
 background:linear-gradient(140deg,#fff,#fbf6ff);
 border-color:#e1d8ef;
 box-shadow:0 5px 17px #5b438110;
}
.progress-banner .progress-lead{color:#604489}
.progress-banner .progress-figures strong{color:#4c3775}
.pill,.chip{border-color:#e0d7ef}
.chip.selected{
 background:#513785;
 color:#fff;
 border-color:#513785;
}
.chip:hover{border-color:#9d8bc0}
.practice-controls{
 background:#f1ecfa;
 border:1px solid #e2d8f1;
 border-radius:17px;
}
.question-wrap .question-card,.mock-layout>.question-card{
 border-color:#dfd5ee;
 box-shadow:0 7px 25px #4932790f;
}
.question-wrap .question-card h2,.mock-layout>.question-card h2{color:#34284e}
.question-wrap .option.selected:not(.correct):not(.wrong),
.mock-layout .option.selected{
 border-color:#644397;
 background:#f1ebfa;
 box-shadow:inset 4px 0 #644397,0 3px 10px #4f397616;
}
.question-wrap .option.selected:not(.correct):not(.wrong) span,
.mock-layout .option.selected span{
 color:#4e357f;
 background:#e5d9f5;
}
.question-wrap .option:focus-visible,.mock-layout .option:focus-visible{
 outline:3px solid #bd8528;
 outline-offset:2px;
}
.full-exam{
 background:linear-gradient(135deg,#fff 50%,#f2eaff);
 border-color:#ded2ed;
 box-shadow:0 8px 25px #49327912;
}
.full-exam:before{background:linear-gradient(#654797,#f0c26a)}
.full-exam .exam-sections li{border-color:#e3daee}
.full-exam .exam-sections b{color:#594080}
.mock-layout>.mock-side{
 background:linear-gradient(145deg,#fff,#f7f2fc);
 border-color:#e2d8ef;
}
.mock-side .timer{
 color:#4b3674;
 background:#f0e8fb;
 border-color:#e0d0f2;
}
.mock-side .number.current{outline-color:#6b4997}
.mock-layout.long .exam-bar{background:#493279;border-color:#7456a2}
.exam-result{
 background:linear-gradient(160deg,#fff 50%,#f7f1fd);
 border-color:#e2d8ed;
}
.exam-result .result-score{color:#513785}
.exam-result .review-item{border-color:#e6dfef}
.progress-dashboard-stats .stat{
 background:linear-gradient(145deg,#fff,#f5eeff);
 border-color:#e4d8f2!important;
 box-shadow:0 6px 19px #4d367a11;
}
.progress-dashboard-stats .stat:before{background:#664a9a}
.progress-dashboard-stats .stat strong{color:#4e377d}
.progress-dashboard-stats .stat:nth-child(2){
 background:linear-gradient(145deg,#fff,#fff3e1);
 border-color:#f0dfbb!important;
}
.progress-dashboard-stats .stat:nth-child(2) strong{color:#80561a}
.progress-dashboard-stats .stat:nth-child(3){
 background:linear-gradient(145deg,#fff,#f0f4fd);
 border-color:#dce3f1!important;
}
.progress-dashboard-stats .stat:nth-child(3) strong{color:#3b5683}
.progress-dashboard-grid .progress-dashboard-subject{
 background:linear-gradient(145deg,#fff,#f8f4fd);
 border-color:#e3d9ef;
}
.progress-dashboard-subject .progress-bar{background:#e6dff0}
.progress-dashboard-subject .progress-bar>div{
 background:linear-gradient(90deg,#664a9a,#a276b5);
}
.progress-dashboard-history{border-color:#e3d9ef}
.progress-dashboard-history th{background:#f1eafa;color:#523a77}
.progress-dashboard-history a{color:#563a88}
.install-bar{border-color:#e5dcf0}
.install-emblem{background:#f0e9fa;color:#563b85}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{
 outline:3px solid #bd8528;
 outline-offset:3px;
}
@media(max-width:720px){
 body{background:#faf8fc}
 main{padding:18px 0 30px}
 .shell>header{padding:14px 0 13px;gap:9px}
 .shell>header .eyebrow{font-size:10px;letter-spacing:.8px;line-height:1.4}
 .shell>header .header-copy{display:none}
 /* Give the course its own readable half-width field instead of clipping it. */
 .settings{
   display:grid;
   width:100%;
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:10px;
   align-items:end;
 }
 .settings .account-pill{
   grid-column:1/-1;
   justify-self:start;
   min-height:38px;
   font-size:12px;
   padding:8px 13px;
   border-radius:12px;
 }
 .settings label{min-width:0;width:100%;font-size:11px;line-height:1.4}
 .settings select{
   width:100%;
   max-width:none;
   min-width:0;
   min-height:43px;
   font-size:13px;
   line-height:1.35;
   border-radius:12px;
   padding:8px 10px;
   text-overflow:ellipsis;
 }
 .heading{margin-bottom:14px;gap:9px;align-items:start}
 .heading h1{
   font-size:clamp(25px,7.4vw,29px);
   line-height:1.2;
   letter-spacing:-.6px;
 }
 .heading p{font-size:13px;line-height:1.55;margin-top:7px}
 .heading>.pill{font-size:10px;padding:6px 10px}
 .quick-start{border-radius:18px;padding:16px;margin:0 0 15px;gap:11px}
 .quick-start h2{font-size:20px;line-height:1.3}
 .quick-start p{font-size:13px;line-height:1.5}
 .quick-start .qs-go{font-size:15px;min-height:45px;padding:10px 12px}
 .qs-lang .btn{min-height:43px;font-size:13px}
 .home-hero{padding:21px 18px;min-height:0;border-radius:18px}
 .home-hero h2{font-size:25px;line-height:1.25}
 .hero .row{gap:8px}
 .home-progress{border-radius:15px}
 .sidebar{
   background:#fff;
   color:#514465;
   border-top:1px solid #e1d7ee;
   box-shadow:0 -6px 25px #3f306417;
 }
 .sidebar nav a{color:#625a77;font-size:10px;line-height:1.3}
 .sidebar nav a.active{
   background:#eee8fa;
   color:#3a285b;
   box-shadow:none;
 }
 .sidebar nav a:hover{background:#f5f0fc;color:#3a285b}
 .sidebar nav .nav-icon{font-size:19px}
 .subject-card{padding:16px 15px;gap:11px;border-radius:17px}
 .subject-card-top{gap:10px}
 .subject-card .subject-icon{
   width:45px;height:45px;
   font-size:23px;
   border-radius:14px;
 }
 .subject-card h3{font-size:19px;line-height:1.3}
 .subject-facts{gap:6px}
 .subject-facts span{
   padding:8px 4px;
   font-size:11px;
   line-height:1.4;
   border-radius:11px;
 }
 .subject-facts b{font-size:21px;line-height:1.2}
 .subject-progress p{font-size:12px;line-height:1.5;margin-top:7px}
 .subject-card .lock-note{font-size:12px;line-height:1.5}
 .subject-card .subject-go{min-height:43px;padding:9px 15px;font-size:13px}
 .subject-card-bottom{gap:9px}
 .lesson:not(.exam-result):not(.full-exam){padding:19px 18px;border-radius:17px}
 .lesson h2{margin-top:14px}
 .plan-step{padding:15px 0;gap:12px}
 .daily-banner{padding:17px}
 .practice-controls{padding:12px;gap:9px;margin-bottom:15px}
 .practice-controls label{font-size:12px}
 .filters{gap:7px;margin:12px 0 16px}
 .chip{padding:8px 11px;font-size:12px;min-height:38px}
 .question-wrap .question-card,.mock-layout>.question-card{padding:18px 16px}
 .full-exam{padding:19px 17px;margin-bottom:15px}
 .full-exam h2{font-size:19px;line-height:1.4;margin:14px 0 11px}
 .full-exam .exam-sections{
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:8px;
 }
 .full-exam .exam-sections li{min-width:0;gap:5px;padding:9px 10px;font-size:12px;line-height:1.35}
 .full-exam .exam-sections b{font-size:16px}
 /* Two compact top metrics + one wide summary instead of three tall cards. */
 .progress-dashboard-stats{
   display:grid;
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:10px;
   margin:14px 0;
 }
 .progress-dashboard-stats .stat{
   min-height:105px;
   padding:15px 13px;
   border-radius:15px;
   display:flex;
   flex-direction:column;
   align-items:flex-start;
   justify-content:center;
   gap:6px;
 }
 .progress-dashboard-stats .stat strong{font-size:27px;line-height:1.2;margin:0}
 .progress-dashboard-stats .stat span{font-size:11px;line-height:1.45}
 .progress-dashboard-stats .stat:nth-child(3){
   grid-column:1/-1;
   min-height:77px;
   flex-direction:row;
   align-items:center;
   justify-content:space-between;
   gap:14px;
 }
 .progress-dashboard-stats .stat:nth-child(3) strong{font-size:29px;flex-shrink:0}
 .progress-dashboard-stats .stat:nth-child(3) span{max-width:180px}
 .progress-dashboard-grid .progress-dashboard-subject{padding:16px}
}
@media(max-width:380px){
 .settings{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shell>header .eyebrow{font-size:9px}
 .full-exam .exam-sections li{padding:8px 7px;font-size:11px}
 .progress-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .progress-dashboard-stats .stat:nth-child(3){flex-direction:row}
 .progress-dashboard-stats .stat strong{font-size:25px}
}
@media(prefers-reduced-motion:reduce){
 .subject-card,.option,.topic-card,.btn{transition:none}
 .subject-card:hover{transform:none}
}


/* 31 October 2026 — chosen palette 2/3: deep midnight blue.
   Visual-only layer: keep live test timing, answers, account/payment states,
   green/red correctness feedback, saved IDs and existing mobile tap targets. */
:root{
  --ink:#182747;
  --muted:#54647d;
  --deep:#081544;
  --green:#173a88;
  --cream:#f8faff;
  --line:#dfe6f3;
  --gold:#f2cc79;
}
body{
  color:var(--ink);
  background:radial-gradient(ellipse at 100% 0%,#eaf0ff 0,transparent 46%),
             radial-gradient(ellipse at 0% 80%,#fff8eb 0,transparent 38%),
             var(--cream);
}
.sidebar{
  color:#fff;
  background:linear-gradient(175deg,#02092a 0%,#071440 54%,#122860 100%);
  border-right:1px solid #dce5ff1a;
}
.brand .logo{
  color:#07163e;
  background:linear-gradient(145deg,#ffe7a7,#f2cc79);
  border-color:#f6d99b;
}
.sidebar .nav-label,.sidebar-note .tiny-label{color:#f2d89c}
.sidebar nav a{color:#e0e9fa}
.sidebar nav a.active{
  color:#fff;
  background:#ffffff1c;
  box-shadow:inset 4px 0 #f2cc79;
}
.sidebar nav a:hover{background:#ffffff18;color:#fff}
.sidebar-note{border-top-color:#ffffff2a}
header{border-bottom-color:#dfe6f3}
header .eyebrow{color:#24467e}
header .header-copy,.heading p{color:#52647d}
.settings label{color:#334b70}
.settings select,select{
  color:#1d3154;
  background:#fff;
  border-color:#cbd8eb;
}
.heading h1,.section-top h2,.quick-start h2{color:#10284d}
.heading>.pill{
  background:#fff2d4;
  color:#6c4912;
  border-color:#eed395;
}
.account-pill{
  color:#172746;
  background:linear-gradient(130deg,#ffe29c,#edc46f);
  box-shadow:0 5px 15px #ab812c24;
}
.account-pill.paid{
  color:#174e35;
  background:#eaf6ef;
  box-shadow:none;
}
.hero,.home-hero{
  background:linear-gradient(122deg,#030c31 0%,#081746 53%,#193779 100%);
  border-color:#223b73;
  color:#fff;
  box-shadow:0 13px 31px #06144426;
}
.hero h2,.home-hero h2{color:#fff}
.hero p{color:#e5edff}
.hero .eyebrow{color:#f4d595}
.hero:before{background:radial-gradient(circle at 45% 65%,#456ab945,transparent 72%)}
.hero .btn.light{
  color:#12264a;
  background:linear-gradient(135deg,#ffe3a1,#f2cc79);
}
.quick-start{
  background:linear-gradient(115deg,#eaf0ff,#fffdf7 85%);
  border-color:#cbdcf5;
  box-shadow:0 7px 23px #15386f14;
}
.quick-start p{color:#425b7c}
.quick-start .qs-go,.qs-lang .qs-on{
  color:#fff;
  background:linear-gradient(120deg,#123674,#1b4a9d);
  border-color:#123674;
  box-shadow:0 5px 14px #0e36782b;
}
.home-progress{
  background:linear-gradient(145deg,#ffffff,#f4f7ff);
  border-color:#dce5f4;
}
.progress-banner .progress-lead{color:#254a86}
.progress-banner .progress-figures strong{color:#143c80}
.btn:not(.outline):not(.light):not(.danger){
  background:linear-gradient(115deg,#123775,#1b4e9d);
  color:#fff;
}
.btn.outline{background:#fff;color:#153e7c;border-color:#cbd9ef}
.btn.outline:hover{background:#f1f5ff;border-color:#8ca8d4}
.pill:not(.gold){background:#edf3ff;color:#25477f}
.chip{border-color:#d6e0f1;color:#31517d}
.chip.selected{
  background:#173a88;
  border-color:#173a88;
  color:#fff;
}
.chip:hover{border-color:#8da8d5}
.practice-controls{
  background:#edf2fc;
  border-color:#d8e2f1;
}
.question-wrap .question-card,.mock-layout>.question-card{
  border-color:#d9e4f3;
  box-shadow:0 7px 25px #0b2a6510;
}
.question-wrap .question-card h2,.mock-layout>.question-card h2{color:#173154}
.question-wrap .option.selected:not(.correct):not(.wrong),
.mock-layout .option.selected{
  border-color:#2252a1;
  background:#eaf2ff;
  box-shadow:inset 4px 0 #2252a1,0 3px 10px #0c387014;
}
.question-wrap .option.selected:not(.correct):not(.wrong) span,
.mock-layout .option.selected span{
  color:#173e80;
  background:#d9e7fb;
}
.question-wrap .option:focus-visible,
.mock-layout .option:focus-visible,
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{
  outline:3px solid #b87817;
  outline-offset:3px;
}
.full-exam{
  background:linear-gradient(135deg,#fff 48%,#edf3ff);
  border-color:#d7e3f3;
}
.full-exam:before{background:linear-gradient(#173c88,#f2cc79)}
.full-exam .exam-sections li{border-color:#dbe5f3}
.full-exam .exam-sections b{color:#173f83}
.mock-layout>.mock-side{
  background:linear-gradient(155deg,#fff,#f0f5ff);
  border-color:#d8e4f3;
}
.mock-side .timer{
  color:#143c7a;
  background:#eaf1ff;
  border-color:#cadcf3;
}
.mock-side .number.current{outline-color:#2456a7}
.mock-layout.long .exam-bar{
  background:#0b245d;
  border-color:#31528c;
}
.mock-layout.long .exam-bar a{color:#ffdf95}
.exam-result{
  background:linear-gradient(160deg,#fff 51%,#f0f5ff);
  border-color:#d9e3f2;
}
.exam-result .result-score{color:#164389}
.exam-result .review-item{border-color:#dee7f4}
.progress-dashboard-stats .stat{
  background:linear-gradient(145deg,#fff,#edf3ff);
  border-color:#dce6f4!important;
  box-shadow:0 6px 19px #143a7210;
}
.progress-dashboard-stats .stat:before{background:#17469a}
.progress-dashboard-stats .stat strong{color:#164485}
.progress-dashboard-stats .stat:nth-child(2){
  background:linear-gradient(145deg,#fff,#fff5e5);
  border-color:#f0dfbd!important;
}
.progress-dashboard-stats .stat:nth-child(2) strong{color:#805b20}
.progress-dashboard-stats .stat:nth-child(3){
  background:linear-gradient(145deg,#fff,#f0f6ff);
  border-color:#dbe4f5!important;
}
.progress-dashboard-stats .stat:nth-child(3) strong{color:#22568d}
.progress-dashboard-grid .progress-dashboard-subject{
  background:linear-gradient(150deg,#fff,#f4f7ff);
  border-color:#dce5f4;
}
.progress-dashboard-subject .progress-bar{background:#dae5f5}
.progress-dashboard-subject .progress-bar>div{
  background:linear-gradient(90deg,#153e89,#4178bc);
}
.progress-dashboard-history{border-color:#dbe4f3}
.progress-dashboard-history th{background:#eaf1fe;color:#1b4782}
.progress-dashboard-history a{color:#174a93}
.install-bar{border-color:#d9e5f3}
.install-emblem{background:#eaf1ff;color:#1f4a8e}
@media(max-width:720px){
  body{background:#f8faff}
  .sidebar{
    background:#fff;
    color:#324867;
    border-top-color:#d4dfef;
    box-shadow:0 -6px 24px #0b27581a;
  }
  .sidebar nav a{color:#445a79}
  .sidebar nav a.active{
    background:#e9f1ff;
    color:#092c6e;
    box-shadow:none;
  }
  .sidebar nav a:hover{background:#f2f6ff;color:#133879}
  .hero,.home-hero{box-shadow:0 8px 25px #092a6522}
}
@media(prefers-reduced-motion:reduce){
  .btn,.option,.subject-card,.chip{transition:none}
}


/* One TET Ready blue for all normal action buttons, 31 Oct 2026.
   Exceptions: destructive actions are red; answer correctness green/red;
   flagged questions gold. These colours convey important meaning. */
:root{
 --action-blue:#174a94;
 --action-blue-hover:#103b7a;
 --action-blue-soft:#edf3ff;
}
.btn:not(.danger):not([data-action="discard"]):not([data-action="reset"]),
.btn:not(.outline):not(.light):not(.danger),
.hero .btn.light,
.hero .btn.hero-secondary,
.quick-start .qs-go,
.quick-start .qs-lang .btn,
.qs-lang .qs-on,
.subject-card .subject-go,
.subject-card-bottom>a,
.account-pill,
.account-pill.paid{
 background:var(--action-blue);
 background-image:none;
 border:1px solid var(--action-blue);
 color:#fff;
 box-shadow:0 4px 13px #123f7a20;
 text-decoration:none;
}
.btn:not(.danger):not([data-action="discard"]):not([data-action="reset"]):hover,
.hero .btn.light:hover,
.hero .btn.hero-secondary:hover,
.quick-start .qs-lang .btn:hover,
.subject-card:hover .subject-go,
.subject-card-bottom>a:hover,
.account-pill:hover{
 background:var(--action-blue-hover);
 border-color:var(--action-blue-hover);
 color:#fff;
 filter:none;
 box-shadow:0 5px 16px #0b316a2b;
}
.account-pill.paid{background:var(--action-blue);color:#fff}
.account-pill[hidden]{display:none}
.btn:not(.danger):disabled{
 background:#647da8;
 border-color:#647da8;
 color:#fff;
 box-shadow:none;
 opacity:.65;
}
/* Clear danger styling avoids accidental discarded tests or resets. */
.btn.danger,
.btn[data-action="discard"],
.btn[data-action="reset"]{
 background:#f9e6e3;
 background-image:none;
 border:1px solid #d59a94;
 color:#8b3027;
 box-shadow:none;
}
.btn.danger:hover,
.btn[data-action="discard"]:hover,
.btn[data-action="reset"]:hover{
 background:#f5d8d3;
 border-color:#c07871;
 color:#79251d;
 filter:none;
}
.subject-card .subject-go{
 background:var(--action-blue);
 border-color:var(--action-blue);
 color:#fff;
}
.subject-card:hover .subject-go{background:var(--action-blue-hover)}
/* Filters: blue outlines, filled blue when selected. */
.chip{
 background:#fff;
 border:1px solid #8baada;
 color:#174a84;
}
.chip.selected{
 background:var(--action-blue);
 border-color:var(--action-blue);
 color:#fff;
}
.chip:not(.selected):hover{
 background:var(--action-blue-soft);
 border-color:var(--action-blue);
 color:#123f7b;
}
.sidebar nav a.active{background:#16478e;color:#fff}
.sidebar nav a:hover{background:#1a4e9b;color:#fff}
/* Reading-intensive answer buttons use blue borders and highlights,
   but are not solid-fill so Tamil and English options remain legible. */
.question-wrap .option:not(.correct):not(.wrong),
.mock-layout .option{border-color:#bacde9}
.question-wrap .option.selected:not(.correct):not(.wrong),
.mock-layout .option.selected{
 background:#eaf2ff;
 border-color:var(--action-blue);
 box-shadow:inset 4px 0 var(--action-blue),0 3px 10px #113b7b15;
}
.question-wrap .option.selected:not(.correct):not(.wrong) span,
.mock-layout .option.selected span{
 background:#d8e7ff;
 color:#153f83;
}
/* Palette: shades of blue for neutral/answered/current, gold for flag. */
.mock-side .number{
 border-color:#aec6e8;
 background:#fff;
 color:#244a80;
}
.mock-side .number.answered{
 background:#e7f0ff;
 border-color:#8aabdf;
 color:#144480;
}
.mock-side .number.current{
 background:var(--action-blue);
 border-color:var(--action-blue);
 color:#fff;
 outline:2px solid #9cbeee;
 outline-offset:2px;
}
.mock-side .number.flagged:not(.current){
 background:#fff1ca;
 border-color:#d8ad51;
 color:#755013;
}
.mock-side .number.flagged.current{box-shadow:inset 0 -4px #f2ca70}
.btn:not(.danger):focus-visible,
.subject-card:focus-within .subject-go,
.subject-card-bottom>a:focus-visible,
.account-pill:focus-visible{
 outline:3px solid #bd8629;
 outline-offset:3px;
}
@media(max-width:720px){
 .sidebar{background:#fff;color:#28496f}
 .sidebar nav a{color:#435d7c}
 .sidebar nav a.active{
  background:var(--action-blue);
  color:#fff;
  box-shadow:none;
 }
 .sidebar nav a:hover{background:var(--action-blue-soft);color:#103b7a}
 .sidebar nav a.active:hover{background:var(--action-blue-hover);color:#fff}
 .btn:not(.danger):not([data-action="discard"]):not([data-action="reset"]),
 .subject-card .subject-go{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 .btn,.account-pill,.chip,.subject-go,.number{transition:none}
}


/* Mobile-first page hierarchy, issue #181. Style only: app flows unchanged. */
main>.heading{margin-bottom:15px}
main>.heading h1{line-height:1.2}
main .section-top{margin-top:20px;margin-bottom:12px}
.home-hero{min-height:0;padding:23px 26px;margin-bottom:13px}
.home-hero+.pathway{margin:0 0 13px}
.home-hero~.section-top{margin-top:16px}
.home-progress{margin:20px 0 12px}
.home-progress+.stats{margin:11px 0 17px}
.subject-browse-grid{gap:13px}
.today-plan{max-width:920px;border-color:#d5e3f3;background:linear-gradient(150deg,#fff,#f7faff)}
.today-goal-row{align-items:center;gap:12px}
.today-goal-row h2{font-size:19px;margin:0}
.today-goal-row select{min-height:44px}
.today-plan>.progress-bar{height:9px;margin:13px 0 8px}
.today-task{border:1px solid #dce7f4;background:#fff;border-radius:15px;padding:15px;margin:11px 0;align-items:flex-start}
.today-task .btn{min-height:44px;white-space:normal}
.subject-browse-grid .subject-card{border-radius:17px;padding:18px}
.ux-subject-overview{display:flex;align-items:center;gap:15px;padding:19px;border-radius:18px}
.ux-subject-overview>.btn{min-height:44px}
.practice-filter-drawer{border:1px solid #d7e4f5;border-radius:14px;background:#f5f8ff;padding:0 12px;margin:0 0 13px;max-width:880px}
.practice-filter-drawer>summary{cursor:pointer;color:#174a94;font-size:13px;font-weight:750;line-height:1.5;padding:12px 8px}
.practice-filter-drawer>summary:focus-visible{outline:3px solid #bd8629;outline-offset:3px}
.practice-filter-drawer[open]{padding-bottom:11px}
.practice-filter-drawer .filters{margin:5px 0 10px;gap:7px}
.practice-filter-drawer .practice-controls{margin:7px 0 0}
.practice-filter-drawer .chip{display:inline-flex;align-items:center;min-height:40px}
.question-wrap .question-card{padding:21px}
.mock-intro-card{max-width:930px;margin-bottom:15px;background:linear-gradient(155deg,#fff,#f5f9ff);border:1px solid #d7e5f4}
.mock-intro-card .stats{margin:13px 0;gap:10px}
.mock-intro-card .stat{min-width:0;padding:13px}
.mock-intro-card .row .btn{min-height:44px}
.mock-intro-card+.full-exam{margin-top:11px}
.ux-mock-live .exam-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;background:#102f6a;border:1px solid #234f96;border-radius:12px;color:#fff;font-size:12px;line-height:1.4;padding:10px 12px;margin-bottom:15px}
.ux-mock-live .exam-bar b{font-size:14px;font-variant-numeric:tabular-nums}
.ux-mock-live .exam-bar a{color:#ffdfa2;font-weight:700}
.ux-mock-live .palette{max-height:290px;overflow-y:auto}
.exam-result-meta{font-size:14px;line-height:1.75}
.exam-result .table-wrap{margin:14px 0 17px}
.exam-result .result-cta-row{margin:13px 0 24px;gap:9px}
.exam-result .result-cta-row .btn{min-height:44px}
.progress-dashboard-stats{margin:13px 0 17px}
.progress-dashboard-history{margin:0 0 20px}
.progress-dashboard-grid{gap:13px}
.unlock-layout .unlock-account{order:-1}
.unlock-layout .unlock-offer{order:1}
.unlock-layout.has-full-access{display:grid;grid-template-columns:minmax(0,1fr)}
.unlock-layout.has-full-access .unlock-offer{display:none}
.unlock-layout.has-full-access .unlock-account{max-width:900px}
@media(max-width:720px){
 main{padding:14px 0 27px}
 main>.heading{margin-bottom:13px}
 main>.heading h1{font-size:clamp(24px,6.6vw,29px);line-height:1.2}
 main>.heading p{font-size:13px;line-height:1.5;margin-top:6px}
 .quick-start{padding:14px 15px;margin-bottom:12px}
 .home-hero{padding:17px 16px;margin-bottom:11px}
 .home-hero h2{font-size:24px}
 .home-hero .row .btn{flex:1 1 130px;white-space:normal;min-height:44px}
 .home-hero+.pathway{margin-bottom:14px}
 .home-progress{margin-top:16px}
 .today-plan{padding:16px 14px;border-radius:17px}
 .today-goal-row{align-items:flex-start}
 .today-goal-row h2{font-size:17px}
 .today-task{padding:13px 12px;gap:9px}
 .ux-subject-overview{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:15px 14px}
 .ux-subject-overview>.btn{grid-column:1/-1;width:100%;text-align:center}
 .subject-browse-grid .subject-card{padding:15px 14px}
 .practice-filter-drawer{margin-bottom:11px}
 .practice-filter-drawer>summary{padding:11px 6px}
 .question-wrap .question-card{padding:16px 14px}
 .mock-intro-card{padding:17px 15px;margin-bottom:12px}
 .mock-intro-card .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .mock-intro-card .stat{min-width:0;padding:11px 7px}
 .mock-intro-card .stat strong{font-size:20px}
 .mock-intro-card .stat span{font-size:10px;line-height:1.4}
 .mock-intro-card .row .btn{flex:1 1 140px;white-space:normal}
 .ux-mock-live>.mock-side{order:2;margin-top:11px}
 .ux-mock-live>.question-card{order:1}
 .ux-mock-live .exam-bar{gap:6px 10px;padding:9px 10px}
 .ux-mock-live .exam-bar a{flex:1 1 100%;font-size:11px}
 .ux-mock-live .palette{max-height:190px}
 .exam-result .result-cta-row .btn{flex:1 1 140px}
 .unlock-layout .unlock-account{order:-1}
 .unlock-layout .unlock-offer{order:1}
}
@media(max-width:380px){
 .today-goal-row{flex-direction:column}
 .today-goal-row label{width:100%}
 .mock-intro-card .stat strong{font-size:18px}
 .ux-mock-live .exam-bar{font-size:11px}
}


/* Final polish for the student experience: preserve navy, blue actions,
   gold highlights and green/red answer correctness states. */
:root{--ui-card-border:#dce7f5;--ui-ink:#172f52;--ui-soft:#f4f8ff}
.heading h1{letter-spacing:-.7px;color:var(--ui-ink);overflow-wrap:anywhere}
.heading p{max-width:55rem;line-height:1.65}
.home-progress,.quick-start,.subject-card,.topic-card,.lesson,.full-exam,.question-wrap .question-card,.mock-layout>.question-card,.exam-result,.progress-dashboard-stats .stat,.progress-dashboard-grid .progress-dashboard-subject{border-color:var(--ui-card-border);box-shadow:0 6px 20px #122e6510}
.home-progress{background:linear-gradient(140deg,#fff,#f5f8ff)}
.home-progress .progress-figures{gap:10px}
.home-progress .progress-figures>div{min-width:0;overflow-wrap:anywhere}
.home-progress .progress-figures strong{color:#174a94;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
.stats .stat strong{font-variant-numeric:tabular-nums}
.subject-card{border-radius:19px}
.subject-card h3{line-height:1.3;overflow-wrap:anywhere}
.subject-card .subject-facts span{min-width:0}
.subject-card .subject-go,.btn:not(.danger),.quick-start .qs-go{border-radius:11px}
.topic-card,.lesson-list{border-radius:16px}
.topic-card h3{overflow-wrap:anywhere}
.lesson-row{line-height:1.55}
.lesson-row:hover{background:#eef4ff}
.practice-filter-drawer{background:#f3f7ff}
.question-wrap .question-card h2,.mock-layout>.question-card h2{color:#172f52;line-height:1.6}
.question-wrap .option,.mock-layout .option{border-radius:14px;line-height:1.7;overflow-wrap:anywhere}
.question-wrap .feedback{line-height:1.8;border-radius:14px}
.mock-intro-card,.mock-layout>.mock-side{border-radius:18px}
.mock-side .palette{scrollbar-color:#a9c3e8 #f4f7ff}
.exam-result .review-item{border-radius:15px}
.exam-result .table-wrap,.progress-dashboard-history{border-radius:15px}
.exam-result table th,.progress-dashboard-history th{background:#eaf1ff;color:#174579}
.exam-result table td,.progress-dashboard-history td{line-height:1.65}
.progress-dashboard-subject .progress-bar>div{border-radius:99px}
.sidebar nav a:focus-visible,.pathway a:focus-visible,.subject-go:focus-visible{outline:3px solid #b98525;outline-offset:3px}
@media(max-width:720px){
 .heading h1{font-size:clamp(24px,6.5vw,29px);line-height:1.22}
 .home-progress{padding:13px}
 .home-progress .progress-figures strong{font-size:25px}
 .home-progress .progress-figures span{font-size:11px}
 .subject-card{padding:15px;border-radius:17px}
 .subject-facts{gap:7px}
 .subject-facts span{padding:9px 4px}
 .subject-facts b{font-size:21px}
 .question-wrap .question-card,.mock-layout>.question-card{padding:17px 15px}
 .question-wrap .option,.mock-layout .option{min-height:51px;padding:12px 14px}
 .mock-layout>.mock-side{padding:15px}
 .progress-dashboard-stats .stat{min-width:0}
 .progress-dashboard-history{overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){.subject-card,.topic-card,.option,.btn{transition:none}}
