:root{--bg:#e7ecf4;--card:#fff;--ink:#142844;--muted:#687b96;--blue:#294fc7;--blue2:#426be8;--mint:#087f8c;--line:#d8e1ed;--orange:#d97706;--shadow:0 10px 24px rgba(17,42,75,.09)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Hind Siliguri',Inter,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;font-weight:700}.app{max-width:520px;min-height:100vh;margin:auto;padding-bottom:94px;background:var(--bg);position:relative;box-shadow:0 0 50px rgba(15,37,67,.12)}.top{height:66px;padding:10px 14px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;background:rgba(255,255,255,.96);position:sticky;top:0;z-index:10;backdrop-filter:blur(16px);border-bottom:1px solid #d9e2ef}.brand{display:flex;align-items:center;gap:8px;justify-self:center}.logo{width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#183d78,#315fd0);display:grid;place-items:center;color:#fff;font-size:22px;font-weight:800;box-shadow:0 6px 15px #5367e844}.brandname{font-size:20px;font-weight:700;line-height:1.05}.brandname small{display:block;font-size:11px;color:#60738e;font-weight:500;letter-spacing:.6px}.pct{font-family:Inter;font-size:11px;font-weight:800;color:var(--blue);background:#e1e9ff;padding:7px 6px;border-radius:10px;justify-self:start;white-space:nowrap;text-align:center}.topright{display:flex;align-items:center;gap:8px;justify-self:end}.avatar{width:36px;height:36px;border-radius:50%;background:#dce6fb;color:#294fc7;display:grid;place-items:center;font-weight:700}.notif-link{position:relative;font-size:22px;color:var(--blue)}.notif-link i{position:absolute;top:-6px;right:-8px;background:#d97706;color:white;font:10px Inter;border-radius:20px;padding:2px 5px}.desktop-nav{display:none}main{padding:18px 17px 24px}.welcome{font-size:14px;color:var(--muted);margin:1px 0 4px}.page-title{font-size:23px;font-weight:700;margin:0 0 16px}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:17px;box-shadow:var(--shadow);margin-bottom:15px}.hero{background:linear-gradient(125deg,#142f59,#315fd0 62%,#087f8c);color:#fff;position:relative;overflow:hidden;padding:21px 19px;min-height:170px;border-radius:20px}.hero:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;border:28px solid #ffffff16;right:-54px;top:-46px}.hero h2{font-size:23px;line-height:1.35;margin:0 0 5px;max-width:260px}.hero p{font-size:13px;color:#e4e8ff;margin:0 0 16px}.primary{display:inline-block;background:#fff;color:#2147b5;padding:11px 17px;border-radius:12px;font-weight:800;font-size:14px}.hero .spark{position:absolute;right:22px;bottom:20px;font-size:42px;z-index:1}.section-head{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 11px}.section-head h3{font-size:17px;margin:0;color:#183452}.see{font-size:12px;color:var(--blue);font-weight:700}.grid4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shortcut{background:white;border:1px solid #d2ddec;border-radius:16px;padding:14px 8px 12px;text-align:center;box-shadow:0 7px 18px rgba(21,48,82,.08);min-height:100px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#17314f}.shortcut:nth-child(4n+1){background:#e5ebff}.shortcut:nth-child(4n+2){background:#ddf2ed}.shortcut:nth-child(4n+3){background:#fff0df}.shortcut:nth-child(4n){background:#eee6ff}.shortcut .ico{width:39px;height:39px;margin:0 auto 4px;border-radius:13px;display:grid;place-items:center;font-size:20px}.shortcut span{font-size:13px;font-weight:800;display:block;line-height:1.25}.shortcut small{font-size:10px;color:#60738e;font-weight:500}.subject-list{display:grid;grid-template-columns:1fr 1fr;gap:11px}.subject{min-height:68px;padding:10px 11px;border:1px solid #d4deeb;border-radius:16px;box-shadow:0 5px 14px rgba(21,48,82,.06);font-weight:800;color:#17314f;text-align:left;display:flex;align-items:center;gap:9px;background:#fff;font-size:12px}.subject span{flex:1;line-height:1.25}.subject b{font-size:21px;color:#365b9e}.subject i{font-style:normal;width:38px;height:38px;border-radius:12px;font-size:19px;display:grid;place-items:center;background:#e1e9ff;flex:none}.subject-color-0 i{background:#dce8ff}.subject-color-1 i{background:#d9f0e9}.subject-color-2 i{background:#ffead9}.subject-color-3 i{background:#eee2ff}.subject-color-4 i{background:#d9edf4}.subject-color-5 i{background:#f8e6c8}.subject-color-6 i{background:#e1e6f8}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);height:82px;background:#fff;border-top:1px solid #e9edf5;display:grid;grid-template-columns:repeat(4,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -7px 22px #24366b0c}.navbtn{width:100%;min-width:0;min-height:58px;background:none;color:#78839b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:14px;font-size:13px;font-weight:900;padding:5px 2px}.navbtn b{font-size:25px;line-height:1}.navbtn.active{color:var(--blue);background:#dce6ff}.daily{display:flex;align-items:center;gap:14px}.ring{width:65px;height:65px;border-radius:50%;display:grid;place-items:center;position:relative;flex-shrink:0}.ring:before{content:"";position:absolute;inset:7px;background:white;border-radius:50%}.ring b{position:relative;font:700 14px Inter}.dailyinfo{flex:1}.dailyinfo strong{font-size:15px}.dailyinfo p{margin:1px 0 7px;color:var(--muted);font-size:12px}.progressbar{height:7px;background:#edf0f7;border-radius:20px;overflow:hidden}.progressbar i{display:block;height:100%;background:var(--mint);border-radius:20px}.statgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}.stat{background:#eef2f8;border-radius:15px;padding:14px}.stat b{font:800 22px Inter;color:var(--blue)}.stat small{display:block;color:var(--muted);font-size:12px}.examrow{display:flex;align-items:center;gap:12px}.examico{width:45px;height:45px;border-radius:14px;background:#fff2e5;display:grid;place-items:center;font-size:22px;flex:none}.examrow strong{font-size:14px}.examrow p{margin:2px 0 0;color:var(--muted);font-size:12px}.go{margin-left:auto;color:var(--blue);font-size:20px}.merit{background:linear-gradient(120deg,#fff8ed,#fff);border-color:#ffeed8}.meritrow{display:flex;align-items:center;gap:12px}.medal{font-size:30px}.meritrow p{margin:2px 0 0;color:var(--muted);font-size:12px}.btn{display:inline-block;padding:11px 15px;border-radius:12px;font-weight:700;font-size:13px;text-align:center;background:#e1e9ff;color:var(--blue)}.btn.blue{background:linear-gradient(135deg,#2148b5,#376be0);color:#fff}.btn.soft{background:#e1e9ff;color:var(--blue)}.btn.danger{background:#fff0ef;color:#b43c3c}.btn.small{padding:6px 9px;font-size:11px}.auth{max-width:560px;margin:24px auto}.auth.wide{max-width:820px}.auth h1{margin:0 0 6px}.auth p{color:var(--muted)}label{display:block;font-size:13px;font-weight:600;margin:10px 0;color:#334b68}input,select,textarea{display:block;width:100%;margin-top:5px;padding:11px 12px;border:1px solid #d8e1ed;border-radius:12px;background:#fff;color:#183452;outline:none}textarea{min-height:90px;resize:vertical}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.full{grid-column:1/-1}.flash{background:#e4f3ed;color:#17634e;padding:12px 14px;border-radius:12px;margin-bottom:14px;font-size:13px}.option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e8ebf3;border-radius:13px;margin:8px 0;background:#fff;font-size:14px}.option input{width:auto;margin:0}.letter{width:27px;height:27px;border-radius:9px;background:#f0f2f8;display:grid;place-items:center;font:700 12px Inter;color:#64708a;flex:none}.question{font-size:17px;font-weight:600;line-height:1.6;margin:12px 0}.qmeta{font-size:11px;color:#8993a8}.explanation{padding:13px;background:#effbf7;border-radius:12px;margin-top:12px}.notice{padding:10px 12px;background:#fff7e9;color:#9a6826;border-radius:12px;font-size:11px;line-height:1.5;margin:12px 0}.backlink{display:inline-block;color:var(--blue);margin-bottom:12px}.practice-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.practice-action{display:flex;align-items:center;gap:12px;text-align:left;padding:15px;border-radius:17px;border:1px solid #d7e1ee;box-shadow:0 7px 18px rgba(20,44,78,.08);min-height:76px;color:#17314f}.practice-action>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:21px;background:#ffffff55}.practice-action div{flex:1}.practice-action b{display:block;font-size:14px}.practice-action small{display:block;font-size:11px;color:#526985;margin-top:3px}.practice-action i{font-style:normal;font-size:21px}.mode-blue{background:linear-gradient(120deg,#dce6ff,#edf2ff);border-color:#b9caf1}.mode-teal{background:linear-gradient(120deg,#d8f1eb,#eaf8f4);border-color:#b5dfd4}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.topic-card{display:flex;align-items:center;gap:8px;text-align:left;padding:12px 10px;min-height:55px;border-radius:13px;border:1px solid #d9e2ed;color:#183452;background:#f7f9fd;font-size:12px}.topic-card span{font-size:17px;color:#315fcf}.topic-card b{flex:1}.topic-card i{font-style:normal;color:#315fcf}.bank-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 16px}.bank-tab{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;padding:16px 14px;min-height:120px;border:1px solid #d4deeb;border-radius:18px;background:#fff;color:#183452;box-shadow:0 8px 20px rgba(20,44,78,.08)}.bank-tab span{font-size:25px}.bank-tab b{font-size:14px}.bank-tab small{font-size:11px;color:#627792}.bank-tab.active{background:linear-gradient(135deg,#183d78,#315fcf);color:white;border-color:#2148a5}.bank-tab.active small{color:#e1eaff}.university-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.university-card{display:flex;align-items:center;gap:9px;text-align:left;padding:13px 11px;border:1px solid #d8e1ed;border-radius:14px;min-height:62px;color:#17314f;background:#eaf0ff}.university-card span{font-size:20px}.university-card b{flex:1;font-size:12px;line-height:1.3}.university-card i{font-style:normal;font-size:18px;color:#315fcf}.question-row{display:flex;align-items:center;gap:12px;text-align:left;padding:14px 2px;border-bottom:1px solid #e3e9f1;color:#183452;font-size:14px;line-height:1.5}.question-row span{flex:1}.question-row small{display:block;color:var(--muted);font-size:11px}.question-row b{font-size:21px;color:#315fcf}.exam-sticky{position:sticky;top:66px;z-index:5;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 14px;display:flex;justify-content:space-between;margin-bottom:14px}.exam-sticky small{display:block;color:var(--muted)}.exam-sticky b{font:800 20px Inter;color:var(--blue)}.exam-question h3{font-size:16px;line-height:1.55}.admin-layout{display:grid;grid-template-columns:1fr;gap:14px}.admin-nav{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:flex;gap:7px;overflow:auto;flex-wrap:wrap}.admin-nav h3{width:100%;margin:0 0 5px}.admin-nav a{padding:8px 10px;background:#eef2f8;border-radius:9px;font-size:12px;white-space:nowrap}.admin-content{min-width:0}.table-wrap{overflow:auto;background:#fff;border-radius:12px}table{width:100%;border-collapse:collapse;font-size:12px;min-width:650px}th,td{text-align:left;padding:10px;border-bottom:1px solid #e5eaf1;vertical-align:top}th{background:#f4f7fb}.empty-state{text-align:center;padding:25px;color:var(--muted)}footer{text-align:center;color:#8795a9;font-size:11px;padding:18px}.pill{background:#e1e9ff;color:#5668e6;padding:5px 9px;border-radius:9px;font-size:11px;font-weight:700}.listrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.listrow:last-child{border:0}.listrow small{display:block;color:var(--muted);font-size:11px}.listrow span:first-child{min-width:0}
@media(max-width:420px){.formgrid{grid-template-columns:1fr}.practice-modes{grid-template-columns:1fr}.grid4{gap:7px}.shortcut{padding:12px 4px}.shortcut span{font-size:12px}.subject{font-size:11px}.bank-tab{padding:13px 10px;min-height:112px}.bank-tab b{font-size:12px}.bank-tab small{font-size:10px}}
@media(min-width:520px){body{padding:20px 0}.app{border-radius:28px;overflow:hidden;min-height:calc(100vh - 40px)}.top{border-radius:28px 28px 0 0}.bottom{bottom:20px;border-radius:0 0 28px 28px}}
@media(min-width:900px){body{padding:0;background:#e7ecf4}.app{max-width:none;min-height:100vh;margin:0;padding:0;border-radius:0;overflow:visible;box-shadow:none}.top{height:78px;padding:0 max(32px,calc((100vw - 1280px)/2));display:flex;gap:28px;border-radius:0}.brand{order:0;justify-self:auto}.brandname{font-size:23px}.logo{width:42px;height:42px}.desktop-nav{display:flex;align-items:center;gap:7px;margin:auto}.desktop-nav a{color:#506783;padding:11px 17px;border-radius:12px;font-size:14px}.desktop-nav a.active,.desktop-nav a:hover{background:#e8efff;color:#214fc5}.pct{margin-right:0}.topright{margin-left:auto}.avatar{width:40px;height:40px}main{max-width:1280px;margin:0 auto;padding:32px 30px 55px}.home-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.9fr);gap:26px;align-items:start}.home-primary,.home-sidecol{min-width:0}.home-sidecol{padding-top:35px}.page-title{font-size:29px;margin-bottom:20px}.welcome{font-size:15px}.hero{min-height:205px;padding:28px 30px;border-radius:22px}.hero h2{font-size:29px;max-width:420px}.hero p{font-size:15px}.primary{font-size:15px;padding:13px 20px}.grid4{gap:14px}.shortcut{min-height:120px;border-radius:18px}.shortcut .ico{width:46px;height:46px;font-size:23px}.shortcut span{font-size:14px}.section-head{margin-top:25px}.section-head h3{font-size:19px}.subject-list{gap:13px}.subject{min-height:78px;padding:13px 15px;font-size:15px}.subject i{width:44px;height:44px;font-size:21px}.home-sidecol .card{padding:19px}.bottom{display:none}.app{padding-bottom:0}.practice-subjects{grid-template-columns:repeat(3,minmax(0,1fr))}.university-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bank-tabs{max-width:620px}.bank-tab{min-height:135px;padding:20px}.bank-tab b{font-size:16px}.admin-layout{grid-template-columns:220px minmax(0,1fr);align-items:start}.admin-nav{position:sticky;top:92px;display:flex;flex-direction:column;max-height:calc(100vh - 110px)}.admin-nav a{display:block}.admin-content{min-width:0}}
/* Reference preview components */
.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}.mini-bank{display:flex;align-items:center;gap:12px}.bank-icon{width:46px;height:46px;border-radius:15px;background:#e9f8f4;display:grid;place-items:center;font-size:23px;flex:none}.mini-bank strong{font-size:15px}.mini-bank p{font-size:12px;color:var(--muted);margin:2px 0 0}.merit{background:linear-gradient(120deg,#fff8ed,#fff);border-color:#ffeed8}.meritrow{display:flex;align-items:center;gap:12px}.medal{font-size:30px}.meritrow p{margin:2px 0 0;color:var(--muted);font-size:12px}.selected-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.selected-head strong{font-size:17px}.selected-head small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.subheading{font-size:15px;margin:16px 0 10px}.practice-action.whole{background:linear-gradient(120deg,#183d78,#315fcf);color:white;border:0;margin:12px 0 18px}.practice-action.whole small{color:#e0eaff}.practice-action.whole>span{background:#ffffff22}.topic-0{background:#e8edff}.topic-1{background:#e2f3ef}.topic-2{background:#fff0e2}.topic-3{background:#f0eaff}.topic-4{background:#e3f0f6}.topic-card.chosen{outline:2px solid #315fcf;background:#dce6ff}.question-list{padding:5px 16px}.question-list .question-row:last-child{border-bottom:0}.bank-content{scroll-margin-top:16px}.bank-content-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.bank-content-head small{font-size:11px;color:var(--muted)}.bank-content-head h3{font-size:18px;margin:2px 0 0}.empty-state{padding:24px 8px;text-align:center;color:#71839a;font-size:13px}
@media(max-width:520px){.grid4{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.shortcut{padding:12px 2px;min-height:98px}.shortcut span{font-size:10px}.shortcut small{display:none}.shortcut .ico{width:34px;height:34px;font-size:18px}}
