:root{font-family:Inter,system-ui,-apple-system,"Noto Sans Devanagari",sans-serif;color:#172033;background:#f4f7fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid #e6eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100% - 1060px)/2));position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:38px;height:38px;border-radius:12px;background:#2459d3;color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}.brand b,.brand small{display:block}.brand small{font-size:11px;color:#8490a3;margin-top:2px}.shell{max-width:960px;margin:42px auto;padding:0 22px;min-height:calc(100vh - 150px)}.hidden{display:none!important}.auth-card{max-width:490px;margin:7vh auto;background:#fff;border:1px solid #e7ebf2;border-radius:24px;padding:38px;box-shadow:0 16px 50px #1b31500c}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#3564d4}.auth-card h1,.welcome h1,.reader-heading h1{font-size:32px;line-height:1.35;margin:12px 0}.muted{color:#788397;line-height:1.7}.tabs{display:flex;gap:8px;margin:26px 0 20px;background:#f2f5fa;padding:5px;border-radius:12px}.tab{border:0;background:transparent;padding:10px 18px;border-radius:9px;color:#6b7688;cursor:pointer;flex:1}.tab.active{background:#fff;color:#2459d3;box-shadow:0 2px 8px #1b315012;font-weight:700}label{display:block;font-size:13px;font-weight:650;margin:14px 0}input{display:block;width:100%;padding:13px 14px;border:1px solid #dce2eb;border-radius:10px;margin-top:7px;font:inherit;outline:none}input:focus{border-color:#3564d4;box-shadow:0 0 0 3px #3564d41a}button{font:inherit;cursor:pointer;border:0;border-radius:11px;padding:12px 18px;font-weight:700}.primary{background:#2459d3;color:white;box-shadow:0 5px 12px #2459d326}.primary:hover{background:#1749bd}.secondary{background:#eef2f8;color:#344054}.ghost{background:transparent;color:#475467}.wide{width:100%;margin-top:12px;display:flex;justify-content:space-between}.message{min-height:20px;font-size:13px;color:#c0392b}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.avatar{width:48px;height:48px;border-radius:50%;background:#e4ecff;color:#2459d3;display:grid;place-items:center;font-weight:800}.subject-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.subject-card{background:#fff;border:1px solid #e5eaf1;border-radius:17px;padding:20px;cursor:pointer;transition:.2s}.subject-card:hover{transform:translateY(-2px);border-color:#a9bff2;box-shadow:0 10px 28px #1b31500c}.subject-card h3{margin:10px 0 5px;font-size:18px}.subject-card p{margin:0;color:#788397;font-size:13px}.card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:20px;color:#3564d4;font-size:13px;font-weight:700}.back{background:transparent;color:#536176;padding:8px 0;margin-bottom:20px}.reader-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.reader-heading h1{font-size:27px}.pill{font-size:10px;letter-spacing:1px;font-weight:800;color:#2860c9;background:#eaf0ff;padding:8px 11px;border-radius:30px;white-space:nowrap}.progress-meta{display:flex;justify-content:space-between;color:#69768a;font-size:12px;margin:22px 0 8px}.progress-track{height:7px;background:#e2e8f1;border-radius:9px;overflow:hidden}.progress-track div{height:100%;width:0;background:#2d67db;border-radius:9px;transition:width .2s}.content-card{background:#fff;border:1px solid #e4e9f1;border-radius:20px;margin:24px 0 16px;min-height:280px;padding:28px 32px;box-shadow:0 12px 35px #1b315008}.content-top{display:flex;justify-content:space-between;align-items:center}.point-label{font-size:11px;font-weight:800;letter-spacing:1px;color:#3564d4;background:#edf2ff;padding:7px 10px;border-radius:7px}.save-status{font-size:11px;color:#16965b}.content-text{font-size:22px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:32px;color:#1c2738}.reader-controls{display:flex;justify-content:space-between;gap:12px}.reader-controls button{min-width:130px}.jump-row{display:flex;align-items:center;gap:10px;margin-top:22px}.jump-row label{margin:0;color:#657187}.jump-row input{width:85px;margin:0}.global-message{text-align:center;min-height:24px;margin:16px;color:#b54708;font-size:13px}footer{text-align:center;padding:22px;color:#98a2b3;font-size:12px}footer span{padding:0 6px}
@media(max-width:650px){.shell{margin:24px auto;padding:0 15px}.auth-card{padding:25px 21px;margin:4vh auto}.auth-card h1,.welcome h1{font-size:27px}.subject-list{grid-template-columns:1fr}.reader-heading{align-items:flex-start;flex-direction:column}.reader-heading h1{font-size:23px}.content-card{padding:22px 19px;min-height:250px}.content-text{font-size:19px;line-height:1.85;margin-top:25px}.reader-controls button{min-width:0;flex:1;padding:12px 10px}.jump-row{flex-wrap:wrap}.topbar{padding:0 16px}}
