*{box-sizing:border-box} :root{--ink:#152238;--muted:#69778b;--line:#e5eaf1;--bg:#f7f9fc;--navy:#142c4b;--blue:#3975dc}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif;font-size:14px}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;min-width:230px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(140deg,#2863c6,#7a57db);color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}.brand strong{display:block;font-size:13px;letter-spacing:.08em}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.main-nav{display:flex;gap:5px;align-items:center}.nav-tab{border:0;background:transparent;color:#65748a;padding:12px 15px;border-radius:9px;font:inherit;cursor:pointer;font-weight:600}.nav-tab:hover,.nav-tab.active{background:#eef4ff;color:#255fbe}.header-right{display:flex;align-items:center;gap:12px}.status-pill{background:#f2f7f3;border:1px solid #e0efe4;color:#38714a;padding:8px 11px;border-radius:99px;font-size:11px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#36a568;margin-right:6px}.menu-btn{display:none;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px}.layout{display:flex;min-height:calc(100vh - 74px)}.sidebar{width:255px;flex:0 0 255px;background:#fff;border-right:1px solid var(--line);padding:25px 16px;position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto}.side-heading{font-size:10px;letter-spacing:.12em;color:#8794a6;font-weight:800;margin:5px 9px 13px}.phase-label{font-size:10px;font-weight:800;color:#96a2b2;letter-spacing:.1em;margin:20px 9px 8px}.subject-link{width:100%;text-align:left;border:0;background:transparent;padding:11px 10px;border-radius:9px;display:flex;align-items:center;gap:10px;color:#526176;font:inherit;cursor:pointer}.subject-link span{font-size:10px;color:#9aa6b5;width:21px}.subject-link:hover,.subject-link.selected{background:#eef4ff;color:#275fb7;font-weight:600}.side-divider{height:1px;background:var(--line);margin:18px 4px}.sidebar-note{margin:30px 5px 0;padding:14px;background:#f7f9fc;border:1px solid var(--line);border-radius:12px}.sidebar-note strong{font-size:12px}.sidebar-note p{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0 0}main{flex:1;min-width:0;padding:0 34px 40px;max-width:none}.page{display:none}.page.active{display:block}.hero{margin:30px 0 30px;border-radius:20px;padding:34px 38px;background:linear-gradient(110deg,#132d4e,#234d84 70%,#526cc6);color:white;display:flex;justify-content:space-between;align-items:center;gap:24px;overflow:hidden}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#7d91ab}.hero .eyebrow{color:#b9cbe8}.hero h1{font-size:clamp(28px,3vw,42px);line-height:1.16;margin:12px 0}.hero h1 span{color:#a9c9ff}.hero p{color:#d2deef;max-width:560px;line-height:1.7;margin:0}.hero-stats{display:flex;gap:25px;flex-shrink:0}.hero-stats div{padding-left:22px;border-left:1px solid #ffffff30}.hero-stats strong{font-size:24px;display:block}.hero-stats small{font-size:10px;color:#c6d6eb;display:block;margin-top:6px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:30px 0 17px}.section-head h2{font-size:22px;margin:7px 0 5px}.section-head p{color:var(--muted);margin:0}.paper-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.paper-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;min-height:190px;cursor:pointer;transition:.18s;position:relative;overflow:hidden}.paper-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #18345810;border-color:#c9d8ed}.card-top{display:flex;justify-content:space-between}.paper-tag{font-size:10px;font-weight:800;letter-spacing:.1em;color:#7b8ba1}.card-arrow{color:#98a6b7}.paper-card h3{font-size:16px;margin:17px 0 9px}.paper-card p{font-size:12px;line-height:1.6;color:var(--muted);min-height:39px}.card-footer{border-top:1px solid var(--line);padding-top:13px;margin-top:14px;display:flex;justify-content:space-between;font-size:10px;color:#8794a6}.weight-label{font-weight:700;color:#425b7c}.accent-blue{box-shadow:inset 0 3px #4a82e7}.accent-purple{box-shadow:inset 0 3px #9272df}.accent-orange{box-shadow:inset 0 3px #e9a15d}.accent-green{box-shadow:inset 0 3px #43a98a}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:30px}.tool-card{background:#fff;border:1px solid var(--line);padding:19px;border-radius:14px;cursor:pointer}.tool-card:hover{border-color:#c7d8ed;transform:translateY(-2px)}.tool-icon{width:38px;height:38px;background:#eef4ff;border-radius:10px;display:grid;place-items:center;color:#3268c0;font-size:17px}.tool-card h3{margin:13px 0 7px;font-size:15px}.tool-card p{margin:0 0 13px;color:var(--muted);font-size:12px;line-height:1.6}.tool-card span:last-child{font-size:11px;font-weight:700;color:#386ec5}.page-title{padding:36px 0 24px}.page-title h1{font-size:32px;margin:10px 0}.page-title p{color:var(--muted);margin:0;line-height:1.7}.back-home{border:0;background:none;color:#4c78b9;padding:0 0 18px;cursor:pointer;font-weight:600}.syllabus-toolbar{display:flex;justify-content:space-between;align-items:center;padding:17px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}.syllabus-toolbar strong{display:block}.syllabus-toolbar small{display:block;color:var(--muted);margin-top:4px}.toolbar-actions{display:flex;gap:8px}.outline-btn{background:white;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font:inherit;font-size:12px;cursor:pointer}.topic-list{display:grid;gap:10px}.topic{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.topic-head{display:flex;align-items:center;gap:12px;padding:16px;cursor:pointer}.topic-num{width:32px;height:32px;border-radius:9px;background:#f0f4f9;color:#647790;display:grid;place-items:center;font-weight:700;font-size:11px}.topic-main{flex:1}.topic-main strong{display:block}.topic-main small{display:block;color:var(--muted);margin-top:3px}.weight-chip{background:#eef4ff;color:#3167b8;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:800}.topic-body{display:none;padding:0 16px 17px 60px;color:#5e6c7f;line-height:1.7}.topic.open .topic-body{display:block}.topic-body ul{margin:5px 0 0;padding-left:18px}.filter-row{display:flex;gap:10px;margin-bottom:16px}.filter-row select,.filter-row input{border:1px solid var(--line);background:#fff;border-radius:9px;padding:11px 13px;font:inherit;color:#53647a}.filter-row input{flex:1}.empty-panel{background:#fff;border:1px dashed #cbd6e4;border-radius:15px;padding:45px 20px;text-align:center}.empty-icon{font-size:32px;color:#7d9ac2}.empty-panel h2{font-size:18px}.empty-panel p{color:var(--muted);max-width:520px;margin:0 auto 25px;line-height:1.6}.placeholder-row{display:flex;max-width:700px;margin:auto;border:1px solid var(--line);border-radius:9px;overflow:hidden}.placeholder-row span{flex:1;padding:10px;background:#f7f9fc;border-right:1px solid var(--line);font-size:11px;color:#8290a2}.practice-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:18px}.subtab{border:0;background:transparent;padding:12px 14px;color:#718096;cursor:pointer;font:inherit}.subtab.active{color:#3268c0;border-bottom:2px solid #3268c0;font-weight:700}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.practice-placeholder{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;min-height:180px}.practice-placeholder h3{margin:14px 0 6px}.practice-placeholder p{color:var(--muted);font-size:12px;line-height:1.6}.quiz-summary{display:flex;gap:12px;margin-bottom:22px}.quiz-summary div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 22px;min-width:130px}.quiz-summary strong{font-size:22px;display:block}.quiz-summary span{font-size:11px;color:var(--muted)}.quiz-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.quiz-slot{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;min-height:100px}.quiz-slot span{font-size:10px;color:#8a98aa;font-weight:800}.quiz-slot strong{display:block;margin:8px 0;font-size:13px}.quiz-slot small{color:var(--muted)}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:24px 0;margin-top:40px;color:#9aa6b5;font-size:11px}
@media(max-width:1200px){.paper-grid{grid-template-columns:repeat(2,1fr)}.hero-stats{gap:12px}.hero-stats div{padding-left:12px}}
@media(max-width:900px){.topbar{padding:0 15px}.brand{min-width:0}.main-nav{position:absolute;top:74px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:8px;display:none;flex-wrap:wrap}.main-nav.show{display:flex}.menu-btn{display:block}.status-pill{display:none}.sidebar{position:fixed;z-index:9;left:-260px;transition:.2s;top:74px}.sidebar.show{left:0;box-shadow:10px 0 30px #162b4518}main{padding:0 18px 30px}.hero{padding:25px;display:block}.hero-stats{margin-top:25px}.tools-grid,.practice-grid{grid-template-columns:1fr}.quiz-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.paper-grid{grid-template-columns:1fr}.hero h1{font-size:29px}.hero-stats{justify-content:space-between}.hero-stats div{padding-left:8px}.filter-row{flex-wrap:wrap}.filter-row select,.filter-row input{width:100%}.syllabus-toolbar{align-items:start;gap:12px;flex-direction:column}.quiz-grid{grid-template-columns:repeat(2,1fr)}.placeholder-row{flex-wrap:wrap}.placeholder-row span{min-width:50%}}

main{padding-left:0;padding-right:0}
.hero,.section-head,.paper-grid,.tools-grid,.home-syllabus,.page-title,.syllabus-toolbar,.topic-list,.filter-row,.empty-panel,.practice-tabs,.practice-grid,.quiz-summary,.quiz-grid{margin-left:0;margin-right:0}
.hero{border-radius:0;margin-top:0;padding:38px clamp(18px,3vw,44px)}
.home-syllabus{display:grid;gap:18px;padding:0 clamp(12px,2vw,30px)}
.syllabus-section{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.section-banner{background:#f5f8fc;padding:17px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.section-banner>span{font-size:10px;font-weight:800;letter-spacing:.1em;color:#7d91ab}
.section-banner h2{margin:0;font-size:17px;flex:1}
.view-paper{border:1px solid #d7e2ef;background:#fff;border-radius:8px;padding:8px 12px;color:#386ab6;font-weight:600;font-size:11px;cursor:pointer}
.vertical-topics{display:block}
.syllabus-line{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;border-bottom:1px solid #edf0f5}
.syllabus-line:last-child{border-bottom:0}
.syllabus-line strong{font-size:13px}
.syllabus-line p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.weight-chip{white-space:nowrap}
.page-title{padding:32px clamp(15px,2vw,30px) 20px}
.syllabus-toolbar,.topic-list,.filter-row,.empty-panel,.practice-tabs,.practice-grid,.quiz-summary,.quiz-grid{margin-left:clamp(15px,2vw,30px);margin-right:clamp(15px,2vw,30px)}
footer{margin-left:clamp(15px,2vw,30px);margin-right:clamp(15px,2vw,30px)}
@media(max-width:900px){main{padding:0}.hero{border-radius:0}.section-banner h2{flex-basis:100%;order:2}.section-banner>span{order:1}.view-paper{order:3}.syllabus-line{align-items:flex-start}.weight-chip{margin-top:2px}}
