/* Student Hub refresh — intentionally scoped so the rest of the platform stays unchanged. */
:root{--hub-ink:#13243b;--hub-muted:#667991;--hub-navy:#0b2847;--hub-blue:#2d79c7;--hub-cyan:#36b9c8;--hub-gold:#f8b54a;--hub-pale:#f1f6fb;--hub-line:#dfe8f1;--hub-green:#1e9a74}
.student-hub-page{background:#f7fafc;color:var(--hub-ink)}.student-hub-page main{overflow:hidden}
.hub-hero{max-width:1180px;margin:0 auto;padding:78px 28px 56px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(350px,.95fr);gap:45px;align-items:center}
.hub-kicker{font-size:11px;letter-spacing:.18em;font-weight:800;color:#2c81a3;margin:0 0 16px}.hub-kicker-dot{display:inline-block;width:8px;height:8px;background:var(--hub-gold);border-radius:50%;margin-right:8px;box-shadow:0 0 0 5px #fff1d8;vertical-align:1px}
.hub-hero h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(38px,5vw,68px);line-height:1.07;letter-spacing:-.055em;margin:0;color:var(--hub-ink)}.hub-hero h1 em{font-style:normal;color:var(--hub-blue)}.hub-lede{font-size:17px;line-height:1.7;color:var(--hub-muted);max-width:580px;margin:24px 0 30px}.hub-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hub-button{display:inline-flex;align-items:center;gap:10px;border-radius:12px;padding:13px 18px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s;border:1px solid transparent;cursor:pointer;font:inherit}.hub-button:hover{transform:translateY(-2px)}.hub-button-primary{color:#fff;background:var(--hub-navy);box-shadow:0 12px 24px #0b28472e}.hub-button-primary:hover{background:#173d65}.hub-button-quiet{color:var(--hub-navy);background:#fff;border-color:var(--hub-line)}.hub-button-quiet:hover{box-shadow:0 8px 18px #142b4114}
.hub-hero-art{min-height:315px;position:relative;background:linear-gradient(145deg,#0d2e51,#174b77 70%,#278ea2);border-radius:34px;box-shadow:0 25px 55px #16314b2b;overflow:hidden}.hub-hero-art:before{content:"";position:absolute;inset:auto -12% -54% 15%;height:300px;border-radius:50%;background:#41bdd02b;filter:blur(2px)}.hero-orbit{position:absolute;border:1px solid #ffffff38;border-radius:50%;transform:rotate(-24deg)}.hero-orbit-one{width:370px;height:170px;right:-45px;top:61px}.hero-orbit-two{width:250px;height:105px;left:-18px;bottom:45px;border-color:#f7bb543e}.hero-note{position:absolute;display:flex;flex-direction:column;color:#fff;border-radius:18px;background:#ffffff1b;border:1px solid #ffffff35;backdrop-filter:blur(12px);box-shadow:0 16px 28px #001d3834}.hero-note-main{right:36px;top:75px;padding:20px 24px;width:144px}.hero-note-small{left:38px;bottom:52px;padding:14px 18px;width:105px}.hero-note-icon{font-size:28px;color:var(--hub-gold);line-height:1}.hero-note b{font-size:19px;margin-top:11px}.hero-note small{font-size:12px;color:#cbe6ef;margin-top:4px}.hero-note-small span{font-size:22px;color:#9de0ec}.hero-note-small b{font-size:23px;margin-top:6px}.hero-spark{position:absolute;right:41%;bottom:42px;color:var(--hub-gold);font-size:38px;transform:rotate(12deg)}
.hub-metrics{max-width:1124px;margin:0 auto 70px;padding:0 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--hub-line);border:1px solid var(--hub-line);border-radius:18px;overflow:hidden}.hub-metrics div{display:flex;flex-direction:column;background:#fff;padding:21px 24px}.hub-metrics strong{font-family:Manrope,sans-serif;font-size:28px;color:var(--hub-blue)}.hub-metrics span{font-size:13px;color:var(--hub-muted);margin-top:5px}
.hub-resource-section,.hub-preview-section,.hub-apps{max-width:1124px;margin:0 auto;padding:0 28px 86px}.hub-section-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:25px}.hub-section-heading h2,.hub-preview-heading h2{font-family:Manrope,system-ui,sans-serif;font-size:clamp(26px,3.3vw,40px);line-height:1.1;letter-spacing:-.04em;margin:0;color:var(--hub-ink)}.hub-section-heading>p{max-width:365px;color:var(--hub-muted);font-size:14px;line-height:1.65;margin:0 0 2px}.hub-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:10px}.hub-filters{display:flex;flex-wrap:wrap;gap:8px}.hub-filter{border:1px solid var(--hub-line);background:#fff;border-radius:999px;padding:9px 14px;color:var(--hub-muted);font:600 12px inherit;cursor:pointer;transition:.2s}.hub-filter:hover,.hub-filter.active{background:var(--hub-navy);border-color:var(--hub-navy);color:#fff}.hub-search{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--hub-line);border-radius:10px;padding:0 12px;color:#8ba0b5;min-width:180px}.hub-search input{border:0;outline:0;background:transparent;padding:10px 0;width:100%;font:500 13px inherit;color:var(--hub-ink)}.hub-status{color:var(--hub-muted);font-size:12px;min-height:18px;margin:3px 0 10px}
.hub-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hub-resource-card{position:relative;background:#fff;border:1px solid var(--hub-line);border-radius:18px;padding:20px;min-height:238px;display:flex;flex-direction:column;box-shadow:0 7px 20px #17345308;transition:transform .2s,box-shadow .2s,border-color .2s;text-decoration:none;color:var(--hub-ink)}.hub-resource-card:hover{transform:translateY(-4px);border-color:#bdd8ed;box-shadow:0 16px 28px #17345312}.hub-resource-card[hidden]{display:none}.hub-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.hub-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;font-weight:800;font-size:17px}.hub-card-tag{font-size:10px;letter-spacing:.17em;font-weight:800;color:#8a9caf}.icon-notes{color:#286dba;background:#e8f2ff}.icon-gorkha{color:#168d9e;background:#e6f7f6}.icon-law,.icon-codes{color:#ad681a;background:#fff2da}.icon-other{color:#6e57ad;background:#f0ecff}.icon-constitution{color:#bd5777;background:#fdebf2}.icon-career{color:#178764;background:#e4f7ef;font-size:12px}.icon-practice{color:#fff;background:#233f74}.icon-live{color:#dd5151;background:#ffebeb;font-size:19px}.hub-resource-card h3{font-family:Manrope,system-ui,sans-serif;font-size:20px;line-height:1.2;margin:0 0 9px;letter-spacing:-.025em}.hub-resource-card p{font-size:13px;line-height:1.55;color:var(--hub-muted);margin:0}.hub-card-link{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:22px;color:var(--hub-blue);font-size:12px;font-weight:700}.hub-card-link span{font-size:17px;transition:transform .2s}.hub-resource-card:hover .hub-card-link span{transform:translate(2px,-2px)}.hub-empty{text-align:center;background:#fff;border:1px dashed #c9d7e5;border-radius:14px;padding:25px;color:var(--hub-muted);font-size:14px}
.hub-preview-section{padding-bottom:88px}.hub-preview-section[hidden]{display:none}.hub-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:20px}.hub-preview-heading p{color:var(--hub-muted);font-size:14px;margin:9px 0 0}.hub-preview-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hub-close{background:none;border:0;color:var(--hub-muted);font:700 12px inherit;cursor:pointer;padding:12px}.hub-close:hover{color:var(--hub-ink)}.hub-iframe-shell{position:relative;overflow:hidden;border-radius:18px;background:#dce8f2;border:1px solid var(--hub-line);min-height:500px;box-shadow:0 18px 40px #16314b18}.hub-iframe-shell iframe{width:100%;height:620px;border:0;background:#fff;display:block}.hub-iframe-loader{position:absolute;z-index:1;inset:0;display:grid;place-items:center;align-content:center;gap:12px;color:var(--hub-muted);font-size:13px;background:linear-gradient(135deg,#eef5f9,#dbe9f3);transition:opacity .25s}.hub-iframe-loader span{width:24px;height:24px;border:3px solid #b8ccdb;border-top-color:var(--hub-blue);border-radius:50%;animation:hubSpin .75s linear infinite}.hub-iframe-loader.is-hidden{opacity:0;pointer-events:none}@keyframes hubSpin{to{transform:rotate(360deg)}}.hub-iframe-note{font-size:12px;line-height:1.55;color:#8295a8;margin:11px 3px 0}
.hub-apps{padding-bottom:100px}.hub-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hub-app-card{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--hub-line);border-radius:17px;padding:18px 20px;text-decoration:none;color:var(--hub-ink);transition:.2s}.hub-app-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #17345312}.hub-app-card>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.hub-app-card small{font-size:9px;letter-spacing:.14em;color:#7e94aa;font-weight:800}.hub-app-card strong{font-family:Manrope,sans-serif;font-size:18px}.hub-app-card em{font-size:12px;color:var(--hub-muted);font-style:normal}.hub-app-card>b{margin-left:auto;font-size:20px;color:var(--hub-blue)}.hub-app-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;font-weight:800;font-size:17px;flex:0 0 auto}.hub-app-logo{background:#fff0bf;overflow:hidden}.hub-app-logo img{width:40px;height:40px;object-fit:contain}.hub-bank-logo{background:#e6efff;color:#225cb3;font-size:24px}
.hub-logo-only{width:92px}.hub-logo-only .brand-mark{display:block;width:82px;height:58px;object-fit:contain}
.hub-float-rail{position:fixed;z-index:20;left:18px;bottom:22px;display:flex;flex-direction:column;gap:9px}.hub-float-rail a{width:49px;height:49px;border-radius:16px;background:#fff;border:1px solid var(--hub-line);box-shadow:0 8px 20px #102d4720;display:grid;place-items:center;text-decoration:none;color:var(--hub-ink);position:relative}.hub-float-rail a span{font-weight:800}.hub-float-rail a small{position:absolute;left:59px;white-space:nowrap;background:var(--hub-navy);color:#fff;border-radius:6px;padding:5px 8px;font-size:10px;opacity:0;transform:translateX(-5px);pointer-events:none;transition:.2s}.hub-float-rail a:hover small{opacity:1;transform:translateX(0)}.hub-float-whatsapp{background:#20b977!important;color:#fff!important;border-color:#20b977!important}.float-hint{color:#b87320}.float-bank{color:#2260b5}
@media(max-width:900px){.hub-hero{grid-template-columns:1fr;padding-top:55px}.hub-hero-art{min-height:245px;max-width:550px;width:100%}.hub-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-section-heading{align-items:start;flex-direction:column;gap:12px}.hub-section-heading>p{max-width:600px}.hub-toolbar{align-items:start;flex-direction:column}.hub-search{width:100%;box-sizing:border-box}.hub-preview-heading{align-items:start;flex-direction:column}.hub-preview-actions{width:100%}}
@media(max-width:620px){.hub-hero{padding:42px 20px 36px;gap:26px}.hub-hero h1{font-size:40px}.hub-lede{font-size:15px;margin:18px 0 24px}.hub-hero-art{min-height:210px;border-radius:24px}.hero-note-main{right:20px;top:46px;transform:scale(.86);transform-origin:right top}.hero-note-small{left:20px;bottom:25px;transform:scale(.86);transform-origin:left bottom}.hub-metrics{margin:0 20px 56px;padding:0;grid-template-columns:1fr}.hub-metrics div{padding:15px 18px;flex-direction:row;align-items:center;gap:13px}.hub-metrics strong{font-size:23px;min-width:54px}.hub-metrics span{margin:0}.hub-resource-section,.hub-preview-section,.hub-apps{padding-left:20px;padding-right:20px;padding-bottom:65px}.hub-resource-grid,.hub-app-grid{grid-template-columns:1fr}.hub-resource-card{min-height:220px}.hub-iframe-shell{min-height:350px}.hub-iframe-shell iframe{height:500px}.hub-preview-actions .hub-button{padding:10px 13px}.hub-float-rail{left:auto;right:13px;bottom:14px;flex-direction:row}.hub-float-rail a{width:43px;height:43px;border-radius:14px}.hub-float-rail a small{display:none}.simple-footer{padding-bottom:82px}}
body.hp-dark.student-hub-page .hub-hero h1,body.hp-dark.student-hub-page .hub-section-heading h2,body.hp-dark.student-hub-page .hub-preview-heading h2{color:#f7faff!important}
body.hp-dark.student-hub-page .hub-lede,body.hp-dark.student-hub-page .hub-section-heading>p,body.hp-dark.student-hub-page .hub-preview-heading p{color:#c8d6ea}
body.hp-dark.student-hub-page .hub-resource-card,body.hp-dark.student-hub-page .hub-app-card,body.hp-dark.student-hub-page .hub-metrics div{background:#f8fbff!important;color:#0b1f3f!important;border-color:#cbd8e9!important}
body.hp-dark.student-hub-page .hub-resource-card h3,body.hp-dark.student-hub-page .hub-app-card strong{color:#0b1f3f!important}
body.hp-dark.student-hub-page .hub-card-link{color:#2868f0!important}
body.hp-dark.student-hub-page .hub-resource-card p,body.hp-dark.student-hub-page .hub-app-card em,body.hp-dark.student-hub-page .hub-metrics span{color:#52647e!important}
body.hp-dark.student-hub-page .hub-filter,body.hp-dark.student-hub-page .hub-search{background:#f8fbff;color:#52647e;border-color:#cbd8e9}
body.hp-dark.student-hub-page .hub-filter.active,body.hp-dark.student-hub-page .hub-filter:hover{background:#173b6b;color:#fff;border-color:#41668e}
body.hp-dark.student-hub-page .hub-button-quiet{background:#f8fbff;color:#0b1f3f;border-color:#cbd8e9}
