.student-portal{--bg-canvas:#ebf3fe;--bg-canvas-end:#f4f8ff;--bg-sidebar:#fcfcfe;--bg-card:#ffffff;--bg-item:#f8fafe;--text-primary:#141c3c;--text-secondary:#475569;--text-muted:#64748b;--hero-navy:#071770;--purple-500:#7f52f1;--purple-600:#653ce8;--purple-700:#492bca;--purple-tint-start:#eae3fe;--purple-tint-end:#f3efff;--subject-tint-start:#dfcdfe;--subject-tint-end:#efeaff;--green-500:#31c452;--green-400:#40d463;--track-blue:#dce6f4;--donut-start:#15adfd;--donut-end:#1d7ef2;--donut-track:#dcebfc;--sticky-bg:#fef6e3;--border-soft:rgba(216,227,244,0.92);--shadow-card:0 6px 22px rgba(37,99,235,0.06);--shadow-hover:0 10px 26px rgba(73,43,202,0.12);--ease-ui:cubic-bezier(0.2,0,0,1);--ease-playful:cubic-bezier(0.175,0.885,0.32,1.275);--radius-card:20px;--radius-item:14px;font-family:"Google Sans Flex",var(--font-jakarta),system-ui,-apple-system,sans-serif;font-optical-sizing:auto;color:var(--text-primary);background:linear-gradient(155deg,var(--bg-canvas) 0,var(--bg-canvas-end) 100%);-webkit-font-smoothing:antialiased}.student-portal.app-shell{display:flex;min-height:100dvh;width:100%}.student-portal [role=button],.student-portal a[href],.student-portal button:not(:disabled),.student-portal select:not(:disabled){cursor:pointer}.student-portal button:disabled,.student-portal select:disabled{cursor:not-allowed}.student-portal a:focus-visible,.student-portal button:focus-visible,.student-portal select:focus-visible{outline:2px solid rgba(127,82,241,.55);outline-offset:2px}.student-portal .icon-3d{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 2px 4px rgba(30,41,59,.14))}.student-portal .sidebar{width:256px;flex-shrink:0;background:var(--bg-sidebar);border-right:1px solid rgba(226,232,240,.85);box-shadow:4px 0 24px rgba(30,58,138,.04);display:flex;flex-direction:column;padding:16px 14px 14px;position:sticky;top:0;height:100dvh;z-index:40;transition:transform .26s var(--ease-ui)}.student-portal .sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:2px 6px 14px}.student-portal .brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}.student-portal .brand-emblem{width:42px;height:36px;display:inline-flex;align-items:center;justify-content:center}.student-portal .brand-emblem svg{width:100%;height:100%}.student-portal .brand-name{font-size:1.58rem;font-weight:800;letter-spacing:-.02em;color:#12236e}.student-portal .sidebar-nav{flex:1;overflow-y:auto;scrollbar-width:none;position:relative;isolation:isolate}.student-portal .sidebar-nav::-webkit-scrollbar{display:none}.student-portal .sidebar-nav.has-nav-pill:before{content:"";position:absolute;left:0;right:0;top:0;height:var(--nav-pill-h,0);transform:translateY(var(--nav-pill-y,0));opacity:var(--nav-pill-o,0);border-radius:13px;background:linear-gradient(90deg,#eae2ff,#f5f1ff);border:1px solid rgba(127,82,241,.16);pointer-events:none;z-index:1;transition:transform .32s cubic-bezier(.34,1.36,.64,1),height .24s var(--ease-ui),opacity .18s var(--ease-ui)}.student-portal .sidebar-nav.has-nav-pill:after{content:"";position:absolute;left:0;top:0;width:4px;height:max(0px,calc(var(--nav-pill-h, 0px) - 16px));transform:translateY(calc(var(--nav-pill-y, 0px) + 8px));opacity:var(--nav-pill-o,0);border-radius:9999px;background:linear-gradient(180deg,#8b5cf6,#4f46e5);box-shadow:0 0 10px rgba(127,82,241,.45);pointer-events:none;z-index:3;transition:transform .29s cubic-bezier(.34,1.42,.64,1),height .24s var(--ease-ui),opacity .18s var(--ease-ui)}.student-portal .nav-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;position:relative;z-index:2}.student-portal .nav-item{width:100%;display:flex;align-items:center;gap:10px;padding:9px 12px 9px 14px;border:0;background:transparent;border-radius:13px;font-size:.91rem;white-space:nowrap;font-weight:600;color:#2d3748;cursor:pointer;position:relative;overflow:hidden;text-align:left;text-decoration:none;transition:background .22s var(--ease-ui),color .22s var(--ease-ui),transform .22s var(--ease-ui)}.student-portal .nav-item:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 22%,rgba(255,255,255,.68) 50%,transparent 78%);transform:translateX(-115%);transition:transform .52s cubic-bezier(.2,0,0,1);pointer-events:none}.student-portal .nav-item:hover:after{transform:translateX(115%)}.student-portal .nav-item:not(.is-active):hover{background:rgba(127,82,241,.08);color:var(--purple-700);transform:translateX(4px)}.student-portal .nav-item:active{transform:scale(.965) translateX(2px);transition-duration:90ms}.student-portal .nav-item.is-active{background:linear-gradient(90deg,var(--purple-tint-start) 0,var(--purple-tint-end) 100%);color:var(--purple-700);font-weight:700}.student-portal .sidebar-nav.has-nav-pill .nav-item.is-active{background:transparent}.student-portal .nav-icon{width:28px;height:28px;padding:1px;border-radius:9px;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .28s var(--ease-playful),filter .22s var(--ease-ui);will-change:transform}.student-portal .nav-label{transition:transform .18s var(--ease-ui)}.student-portal .nav-item:hover .nav-icon{transform:scale(1.16) rotate(-7deg) translateY(-1px);filter:drop-shadow(0 5px 8px rgba(73,43,202,.24))}.student-portal .nav-item:hover .nav-label{transform:translateX(2px)}.student-portal .nav-item.is-active .nav-icon{animation:spNavIconPop .38s cubic-bezier(.175,.885,.32,1.275) both}.student-portal .nav-divider{height:1px;background:#eaeff7;margin:9px 6px}.student-portal .sidebar-trophy-card{display:block;margin-top:10px;border-radius:18px;overflow:hidden;position:relative;box-shadow:0 6px 16px rgba(37,99,235,.09);transition:transform .24s var(--ease-playful),box-shadow .24s var(--ease-ui)}.student-portal .sidebar-trophy-card img{display:block;width:100%;height:auto;object-fit:cover}.student-portal .sidebar-trophy-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(245,158,11,.22)}.student-portal .workspace{flex:1;min-width:0;display:flex;flex-direction:column;padding:12px 22px 18px;gap:12px}.student-portal .topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;position:relative;z-index:30}.student-portal .topbar-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.student-portal .search-box{display:flex;align-items:center;gap:10px;width:100%;max-width:480px;height:46px;padding:0 16px;background:#ffffff;border:1px solid rgba(219,229,245,.95);border-radius:9999px;box-shadow:0 3px 12px rgba(30,58,138,.04);transition:border-color .18s var(--ease-ui),box-shadow .18s var(--ease-ui)}.student-portal .search-box:hover{border-color:#c7d7f5;box-shadow:0 5px 16px rgba(37,99,235,.08)}.student-portal .search-box:focus-within{border-color:var(--purple-500);box-shadow:0 4px 16px rgba(127,82,241,.14)}.student-portal .search-icon{width:19px;height:19px;color:#64748b;flex-shrink:0}.student-portal .search-box input{width:100%;border:0;outline:none;background:transparent;font-size:.93rem;color:var(--text-primary)}.student-portal .search-box input::placeholder{color:#7b889c}.student-portal .search-clear{border:0;background:#e2e8f0;color:#475569;width:22px;height:22px;border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .16s var(--ease-ui),color .16s var(--ease-ui),transform .14s var(--ease-ui)}.student-portal .search-clear:hover{background:#cbd5e1;color:#0f172a;transform:scale(1.08)}.student-portal .topbar-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.student-portal .icon-btn,.student-portal .noti-btn{width:46px;height:46px;border-radius:9999px;border:1px solid rgba(219,229,245,.95);background:#ffffff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;box-shadow:0 3px 10px rgba(30,58,138,.05);transition:transform .16s var(--ease-ui),box-shadow .18s var(--ease-ui),color .18s var(--ease-ui),border-color .18s var(--ease-ui),background .18s var(--ease-ui)}.student-portal .noti-btn .icon-3d--noti{width:24px;height:24px;transition:transform .22s var(--ease-playful)}.student-portal .icon-btn:hover,.student-portal .noti-btn:hover{transform:translateY(-1px);border-color:#c4b5fd;background:#faf8ff;color:var(--purple-700);box-shadow:0 7px 18px rgba(73,43,202,.14)}.student-portal .noti-btn:hover .icon-3d--noti{transform:scale(1.1) rotate(-8deg)}.student-portal .icon-btn:active,.student-portal .noti-btn:active{transform:scale(.94)}.student-portal .noti-dot{position:absolute;top:9px;right:10px;width:10px;height:10px;border-radius:9999px;background:#ef4444;border:2px solid #ffffff}.student-portal .profile-pill{display:inline-flex;align-items:center;gap:10px;height:48px;padding:4px 14px 4px 5px;border-radius:9999px;border:1px solid rgba(219,229,245,.95);background:#ffffff;box-shadow:0 3px 12px rgba(30,58,138,.05);cursor:pointer;transition:transform .16s var(--ease-ui),box-shadow .18s var(--ease-ui),border-color .18s var(--ease-ui),background .18s var(--ease-ui)}.student-portal .profile-pill:hover{transform:translateY(-1px);border-color:#c4b5fd;background:#faf8ff;box-shadow:0 7px 18px rgba(73,43,202,.14)}.student-portal .profile-pill:hover .profile-chevron{color:var(--purple-700)}.student-portal .profile-pill:active{transform:scale(.98)}.student-portal .noti-btn[aria-expanded=true],.student-portal .profile-pill[aria-expanded=true]{border-color:#a78bfa;background:#faf8ff;box-shadow:0 0 0 3px rgba(127,82,241,.14)}.student-portal .profile-avatar{width:38px;height:38px;border-radius:9999px;object-fit:cover;border:2px solid #bae6fd}.student-portal .profile-meta{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.student-portal .profile-name{font-size:.92rem;font-weight:700;color:var(--text-primary)}.student-portal .profile-grade{font-size:.78rem;font-weight:600;color:var(--text-muted)}.student-portal .profile-chevron{width:17px;height:17px;color:#64748b;transition:transform .22s var(--ease-ui),color .18s var(--ease-ui)}.student-portal .profile-pill[aria-expanded=true] .profile-chevron{transform:rotate(180deg);color:var(--purple-700)}.student-portal .popover-anchor{position:relative}.student-portal .popover{position:absolute;right:0;top:calc(100% + 12px);background:#ffffff;border:1px solid rgba(203,213,225,.8);border-radius:20px;box-shadow:0 20px 44px rgba(15,23,42,.14),0 4px 14px rgba(99,102,241,.08);z-index:60;transform-origin:top right;animation:spPopoverSlideIn .22s cubic-bezier(.16,1,.3,1) both}.student-portal .popover:before{content:"";position:absolute;top:-6px;width:12px;height:12px;background:#ffffff;border-top:1px solid rgba(203,213,225,.8);border-left:1px solid rgba(203,213,225,.8);transform:rotate(45deg);border-top-left-radius:3px;pointer-events:none}.student-portal .popover--noti{width:376px;padding:14px}.student-portal .popover--noti:before{right:17px}.student-portal .popover--profile{width:312px;padding:12px}.student-portal .popover--profile:before{right:28px;background:#eff4ff}.student-portal .popover-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 2px 11px;border-bottom:1px solid #eef2f7}.student-portal .popover-header-title{display:flex;align-items:center;gap:8px;font-size:.96rem;color:var(--text-primary)}.student-portal .noti-count-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;background:#ede9fe;color:#5b21b6;font-size:.72rem;font-weight:700}.student-portal .noti-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;max-height:320px;overflow-y:auto}.student-portal .noti-item{display:flex;align-items:flex-start;gap:11px;padding:10px 11px;border-radius:14px;border:1px solid transparent;transition:transform .18s var(--ease-ui),background .18s var(--ease-ui),border-color .18s var(--ease-ui)}.student-portal .noti-item.is-unread{background:#f6f3ff;border-color:rgba(139,92,246,.18)}.student-portal .noti-item:hover{background:#f8faff;border-color:#dbe6fb;transform:translateY(-1px);box-shadow:0 4px 12px rgba(73,43,202,.08)}.student-portal .noti-badge{width:38px;height:38px;padding:6px;border-radius:12px;background:#f4f7ff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.student-portal .noti-badge .icon-3d{width:24px;height:24px}.student-portal .noti-badge--arena{background:#e8edff}.student-portal .noti-badge--quest{background:#ffeef0}.student-portal .noti-badge--ok{background:#e6fbf3}.student-portal .noti-body{flex:1;min-width:0}.student-portal .noti-item p{margin:0;font-size:.84rem;line-height:1.42;color:var(--text-primary)}.student-portal .noti-meta{display:flex;align-items:center;gap:8px;margin-top:5px}.student-portal .noti-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:9999px;font-size:.7rem;font-weight:700}.student-portal .noti-tag--arena{background:#e0e7ff;color:#4338ca}.student-portal .noti-tag--quest{background:#ffe4e6;color:#be123c}.student-portal .noti-tag--ok{background:#d1fae5;color:#047857}.student-portal .noti-unread-dot{width:8px;height:8px;border-radius:9999px;background:var(--purple-500);box-shadow:0 0 0 3px rgba(127,82,241,.16);margin-top:6px;flex-shrink:0}.student-portal .popover-footer{margin-top:10px;padding-top:9px;border-top:1px solid #eef2f7}.student-portal .popover-footer-btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:#f5f7ff;color:#3b4794;font-size:.83rem;font-weight:700;padding:9px 12px;border-radius:11px;cursor:pointer;text-decoration:none;transition:background .18s var(--ease-ui),color .18s var(--ease-ui),transform .15s var(--ease-ui),box-shadow .18s var(--ease-ui)}.student-portal .popover-footer-btn:hover{background:#ede9fe;color:var(--purple-700);transform:translateY(-1px);box-shadow:0 4px 12px rgba(101,60,232,.14)}.student-portal .popover-footer-btn:active{transform:scale(.98)}.student-portal .profile-menu-card{background:linear-gradient(135deg,#f4efff,#ebf4ff);border:1px solid rgba(139,92,246,.16);border-radius:14px;padding:12px;margin-bottom:8px}.student-portal .profile-menu-user{display:flex;align-items:center;gap:10px;margin-bottom:10px}.student-portal .profile-menu-avatar{width:42px;height:42px;border-radius:9999px;object-fit:cover;border:2px solid #ffffff;box-shadow:0 4px 10px rgba(79,70,229,.16);flex-shrink:0}.student-portal .profile-menu-ident{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.student-portal .profile-menu-ident strong{font-size:.94rem;font-weight:700;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-portal .profile-rank-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;background:rgba(255,255,255,.88);border:1px solid rgba(139,92,246,.18);color:var(--purple-700);font-size:.72rem;font-weight:700}.student-portal .profile-stat-chips{display:grid;grid-template-columns:auto 1fr;gap:7px;margin-bottom:10px}.student-portal .stat-chip{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border-radius:10px;font-size:.76rem;font-weight:700;white-space:nowrap}.student-portal .stat-chip--streak{background:#fff7ed;border:1px solid rgba(249,115,22,.22);color:#c2410c}.student-portal .stat-chip--xp{background:#ffffff;border:1px solid rgba(127,82,241,.2);color:var(--purple-700)}.student-portal .stat-chip .icon-3d--sm{width:16px;height:16px;flex-shrink:0}.student-portal .profile-xp-progress{display:flex;flex-direction:column;gap:5px}.student-portal .profile-xp-track{height:6px;border-radius:9999px;background:rgba(255,255,255,.88);overflow:hidden}.student-portal .profile-xp-fill{height:100%;border-radius:9999px;background:linear-gradient(90deg,#8b5cf6,#2563eb);transition:width .35s var(--ease-ui)}.student-portal .profile-xp-meta{display:flex;align-items:center;justify-content:space-between;font-size:.72rem;color:#475569;font-weight:600}.student-portal .profile-xp-meta strong{color:var(--purple-700);font-weight:700}.student-portal .profile-menu-list{display:flex;flex-direction:column;gap:2px}.student-portal .dropdown-item{width:100%;border:0;background:transparent;padding:9px 10px;border-radius:11px;text-align:left;font-size:.87rem;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:10px;cursor:pointer;text-decoration:none;transition:background .16s var(--ease-ui),color .16s var(--ease-ui),transform .14s var(--ease-ui)}.student-portal .dropdown-item .icon-3d--sm{width:21px;height:21px;flex-shrink:0}.student-portal .dropdown-arrow{margin-left:auto;width:15px;height:15px;color:#94a3b8;transition:transform .16s var(--ease-ui),color .16s var(--ease-ui)}.student-portal .dropdown-item:hover{background:#f5f2ff}.student-portal .dropdown-item:hover,.student-portal .dropdown-item:hover .dropdown-arrow{color:var(--purple-700);transform:translateX(2px)}.student-portal .dropdown-item:active{transform:scale(.98)}.student-portal .profile-menu-divider{height:1px;background:#eef2f7;margin:6px 4px}.student-portal .dropdown-item--danger{color:#dc2626}.student-portal .dropdown-item--danger:hover{background:#fef2f2;color:#b91c1c}.student-portal .dropdown-danger-icon{width:18px;height:18px}.student-portal .main-content{flex:1;display:flex;flex-direction:column;gap:12px;min-height:0}.student-portal .hero-banner{position:relative;border-radius:22px;overflow:hidden;min-height:174px;height:182px;display:flex;align-items:center;justify-content:space-between;padding:16px 22px 16px 15.8%;background:linear-gradient(110deg,#cdd5ff,#c6deff 42%,#8ec5ff);box-shadow:0 8px 24px rgba(99,102,241,.15)}.student-portal .hero-bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}.student-portal .hero-copy{position:relative;z-index:2;max-width:440px}.student-portal .hero-copy h1{margin:0 0 8px;font-size:clamp(1.75rem,2.5vw,2.35rem);font-weight:800;line-height:1.14;letter-spacing:-.02em;color:var(--hero-navy)}.student-portal .hero-sub{margin:0;font-size:.96rem;font-weight:600;line-height:1.48;color:#122668}.student-portal .hero-sticky-wrap{position:relative;z-index:2;margin-right:6px}.student-portal .hero-sticky-note{position:relative;background:var(--sticky-bg);border:1px solid rgba(251,191,36,.4);border-radius:16px;padding:13px 38px 13px 18px;min-width:280px;box-shadow:0 10px 24px rgba(15,23,42,.13);transform:rotate(-1.5deg);transition:transform .26s var(--ease-playful),box-shadow .26s var(--ease-ui)}.student-portal .hero-sticky-note:hover{transform:rotate(0deg) translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.16)}.student-portal .hero-benefits{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}.student-portal .hero-benefits li{display:flex;align-items:center;gap:10px;font-size:.9rem;font-weight:700;color:#1e293b}.student-portal .tick-circle{width:22px;height:22px;border-radius:9999px;background:var(--green-500);color:#ffffff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.student-portal .hero-dartboard{position:absolute;right:-12px;bottom:-12px;width:58px;height:58px;filter:drop-shadow(0 6px 10px rgba(15,23,42,.18));transition:transform .3s var(--ease-playful)}.student-portal .hero-sticky-note:hover .hero-dartboard{transform:scale(1.08) rotate(8deg)}.student-portal .hero-dartboard img{width:100%;height:100%;object-fit:contain;display:block}.student-portal .grade-bar{display:flex;align-items:center;gap:14px;padding:2px 0}.student-portal .grade-bar-label{font-size:.95rem;font-weight:700;color:var(--text-primary);white-space:nowrap}.student-portal .grade-pills{display:flex;align-items:center;gap:10px;flex:1;overflow-x:auto;scrollbar-width:none;padding:2px 0}.student-portal .grade-pills::-webkit-scrollbar{display:none}.student-portal .grade-pill{flex:1;min-width:92px;height:40px;padding:0 18px;border-radius:9999px;border:1.5px solid #dce4f2;background:#ffffff;font-size:.92rem;font-weight:700;color:#334155;cursor:pointer;white-space:nowrap;transition:background .18s var(--ease-ui),color .18s var(--ease-ui),border-color .18s var(--ease-ui),transform .18s var(--ease-playful),box-shadow .18s var(--ease-ui),filter .16s var(--ease-ui)}.student-portal .grade-pill:not(.is-active):hover{background:#f3efff;border-color:#a78bfa;color:var(--purple-700);transform:translateY(-2px);box-shadow:0 5px 14px rgba(101,60,232,.12)}.student-portal .grade-pill:active{transform:scale(.96)}.student-portal .grade-pill.is-active{border-color:var(--purple-600);background:linear-gradient(135deg,var(--purple-500) 0,var(--purple-600) 100%);color:#ffffff}.student-portal .grade-pill.is-active:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 6px 16px rgba(101,60,232,.28)}.student-portal .bento-grid{flex:1;min-height:0;display:grid;grid-template-columns:215px minmax(0,1fr) 338px;gap:16px;align-items:stretch}.student-portal .card{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:16px;display:flex;flex-direction:column}.student-portal .card-title{margin:0;font-size:1.06rem;font-weight:700;color:var(--text-primary)}.student-portal .card--subjects{padding:14px 10px 12px;gap:8px}.student-portal .card--subjects .card-title{padding:0 6px}.student-portal .subject-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:flex-start;flex:1;gap:4px}.student-portal .subject-btn{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:12px;background:transparent;font-size:.93rem;font-weight:600;color:#2d3748;cursor:pointer;position:relative;text-align:left;transition:background .16s var(--ease-ui),color .16s var(--ease-ui),transform .14s var(--ease-ui)}.student-portal .subject-btn:not(.is-active):hover{background:#f5f2ff;color:var(--purple-700);transform:translateX(3px)}.student-portal .subject-btn:hover .subject-badge{transform:scale(1.1) rotate(-5deg)}.student-portal .subject-btn:active{transform:scale(.97)}.student-portal .subject-btn.is-active{background:linear-gradient(90deg,var(--subject-tint-start) 0,var(--subject-tint-end) 100%);color:var(--purple-700);font-weight:700}.student-portal .subject-btn.is-active:before{content:"";position:absolute;left:-10px;top:6px;bottom:6px;width:4.5px;border-radius:0 4px 4px 0;background:#5b3ce6}.student-portal .subject-badge{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .22s var(--ease-playful)}.student-portal .card--chapters{padding:15px 16px;gap:12px}.student-portal .chapters-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.student-portal .chapters-header .card-title{font-size:.98rem}.student-portal .chapters-heading{display:flex;align-items:center;gap:10px;min-width:0}.student-portal .subject-header-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.student-portal .semester-select{height:38px;padding:0 32px 0 13px;border-radius:11px;border:1px solid #d8e2f0;background-color:#ffffff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;appearance:none;font-size:.86rem;font-weight:600;color:#334155;cursor:pointer;transition:border-color .18s var(--ease-ui),box-shadow .18s var(--ease-ui),background-color .18s var(--ease-ui)}.student-portal .semester-select:hover{border-color:#a78bfa;background-color:#faf8ff;box-shadow:0 4px 12px rgba(101,60,232,.1)}.student-portal .semester-select:focus{outline:none;border-color:var(--purple-500);box-shadow:0 0 0 3px rgba(127,82,241,.15)}.student-portal .chapters-list{display:flex;flex-direction:column;justify-content:flex-start;gap:10px;flex:1}.student-portal .chapter-row{display:grid;grid-template-columns:42px minmax(0,1fr) 134px 32px;align-items:center;gap:12px;padding:11px 14px;border-radius:var(--radius-item);background:var(--bg-item);border:1px solid #e7eff9;cursor:pointer;text-align:left;width:100%;transition:transform .18s var(--ease-ui),box-shadow .18s var(--ease-ui),border-color .18s var(--ease-ui),background .18s var(--ease-ui)}.student-portal .chapter-row:hover{transform:translateY(-2px);background:#ffffff;border-color:#c7d7f5;box-shadow:var(--shadow-hover)}.student-portal .chapter-row:hover .chapter-icon-box{transform:scale(1.07) rotate(-4deg)}.student-portal .chapter-row:active{transform:translateY(0) scale(.99)}.student-portal .chapter-icon-box{width:42px;height:42px;padding:6px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;transition:transform .22s var(--ease-playful)}.student-portal .chapter-info{min-width:0}.student-portal .chapter-title{margin:0 0 3px;font-size:.94rem;font-weight:700;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-portal .chapter-meta{margin:0;font-size:.81rem;font-weight:500;color:var(--text-muted);display:flex;align-items:center;gap:9px;flex-wrap:wrap}.student-portal .chapter-meta-item{display:inline-flex;align-items:center;gap:4px}.student-portal .chapter-meta-sep{width:1px;height:12px;background:#cbd5e1}.student-portal .chapter-progress{display:flex;align-items:center;gap:9px}.student-portal .progress-track{flex:1;height:10px;border-radius:9999px;background:var(--track-blue);overflow:hidden}.student-portal .progress-fill{height:100%;border-radius:9999px;background:linear-gradient(90deg,var(--green-400) 0,#22b84a 100%);transition:width .55s var(--ease-ui)}.student-portal .chapter-pct{width:38px;text-align:right;font-size:.87rem;font-weight:700;color:#334155;font-variant-numeric:tabular-nums}.student-portal .chapter-arrow{width:34px;height:34px;border-radius:9999px;background:#e9f2ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;transition:transform .18s var(--ease-playful),background .18s var(--ease-ui),color .18s var(--ease-ui)}.student-portal .chapter-row:hover .chapter-arrow{transform:translateX(3px);background:var(--purple-500);color:#ffffff}.student-portal .chapters-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 16px;gap:12px;color:var(--text-muted);font-size:.94rem}.student-portal .right-widgets{display:flex;flex-direction:column;gap:14px;height:100%}.student-portal .widget-header{display:flex;align-items:center;gap:9px;margin-bottom:12px}.student-portal .widget-header--between{justify-content:space-between}.student-portal .widget-header-left{display:flex;align-items:center;gap:9px}.student-portal .widget-icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.student-portal .link-btn{border:0;background:transparent;color:#2563eb;font-size:.85rem;font-weight:700;cursor:pointer;border-radius:8px;padding:3px 7px;text-decoration:none;transition:color .16s var(--ease-ui),background-color .16s var(--ease-ui)}.student-portal .link-btn:hover{color:var(--purple-700);background:#f3efff;text-decoration:none}.student-portal .card--progress{padding:14px 16px 15px}.student-portal .progress-body{display:flex;align-items:center;gap:14px}.student-portal .donut-wrap{position:relative;width:102px;height:102px;flex-shrink:0}.student-portal .donut-svg{width:100%;height:100%;transform:rotate(-90deg)}.student-portal .donut-track{fill:none;stroke:var(--donut-track);stroke-width:12}.student-portal .donut-fill{fill:none;stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset .68s var(--ease-ui)}.student-portal .donut-value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.38rem;font-weight:700;color:#1d7ef2;font-variant-numeric:tabular-nums}.student-portal .progress-stats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;font-size:.84rem;color:var(--text-secondary)}.student-portal .progress-stats li{display:flex;align-items:center;gap:7px;white-space:nowrap}.student-portal .progress-stats strong{color:var(--text-primary);font-weight:700}.student-portal .card--suggestions{padding:14px 16px;flex:1;display:flex;flex-direction:column}.student-portal .suggestions-list{flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:10px}.student-portal .suggestion-item{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:16px;background:var(--bg-item);border:1px solid #e7eff9;cursor:pointer;width:100%;text-align:left;text-decoration:none;transition:transform .18s var(--ease-ui),box-shadow .18s var(--ease-ui),border-color .18s var(--ease-ui)}.student-portal .suggestion-item:hover{transform:translateY(-2px);background:#ffffff;border-color:#d0c4fc;box-shadow:var(--shadow-hover)}.student-portal .suggestion-item:hover .suggestion-icon{transform:scale(1.07) rotate(-4deg)}.student-portal .suggestion-item:active{transform:translateY(0) scale(.99)}.student-portal .suggestion-icon{width:44px;height:44px;padding:7px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .22s var(--ease-playful)}.student-portal .suggestion-icon--target{background:#ffe4e6}.student-portal .suggestion-icon--chart{background:#e0e7ff}.student-portal .suggestion-copy{flex:1;min-width:0}.student-portal .suggestion-copy h3{margin:0 0 3px;font-size:.91rem;font-weight:700;line-height:1.3;color:var(--text-primary)}.student-portal .suggestion-copy p{margin:0;font-size:.8rem;font-weight:500;color:var(--text-muted)}.student-portal .play-circle-btn{width:38px;height:38px;border-radius:9999px;border:0;background:linear-gradient(135deg,#8e65f7,#6c42ec);color:#ffffff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 5px 14px rgba(108,66,236,.34);transition:transform .14s var(--ease-playful)}.student-portal .suggestion-item:hover .play-circle-btn{transform:scale(1.08)}.student-portal .play-circle-btn:active{transform:scale(.92)}.student-portal .student-portal-on-luyen .grade-bar--card{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:18px;padding:10px 16px;box-shadow:var(--shadow-card)}.student-portal .student-portal-on-luyen .bento-grid{grid-template-columns:232px minmax(0,1fr) 334px;gap:14px}.student-portal .student-portal-on-luyen .subjects-heading{display:flex;align-items:center;gap:9px;padding:0 6px}.student-portal .student-portal-on-luyen .subjects-header-icon{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.student-portal .student-portal-on-luyen .subject-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-portal .student-portal-on-luyen .subject-pct-pill{margin-left:auto;min-width:44px;text-align:center;padding:3px 8px;border-radius:9999px;background:#f1f5f9;color:#475569;font-size:.78rem;font-weight:700;font-variant-numeric:tabular-nums;flex-shrink:0;transition:background .16s var(--ease-ui),color .16s var(--ease-ui)}.student-portal .student-portal-on-luyen .subject-btn:not(.is-active):hover .subject-pct-pill{background:#ede9fe;color:var(--purple-700)}.student-portal .student-portal-on-luyen .subject-btn.is-active .subject-pct-pill{background:#ffffff;color:var(--purple-700);box-shadow:0 2px 6px rgba(91,60,230,.12)}.student-portal .student-portal-on-luyen .card--quick-actions{padding:13px 16px 14px}.student-portal .student-portal-on-luyen .card--quick-actions .widget-header{margin-bottom:10px}.student-portal .student-portal-on-luyen .quick-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.student-portal .student-portal-on-luyen .quick-action-btn{display:flex;align-items:center;gap:7px;padding:10px 9px;border-radius:13px;border:1px solid transparent;font-size:.81rem;font-weight:700;color:var(--text-primary);cursor:pointer;text-align:left;white-space:nowrap;text-decoration:none;transition:transform .18s var(--ease-playful),box-shadow .18s var(--ease-ui),border-color .18s var(--ease-ui),filter .16s var(--ease-ui)}.student-portal .student-portal-on-luyen .quick-action-btn--practice{background:#f3efff;border-color:rgba(127,82,241,.16)}.student-portal .student-portal-on-luyen .quick-action-btn--practice:hover{border-color:#c4b5fd}.student-portal .student-portal-on-luyen .quick-action-btn--exam{background:#fff1f2;border-color:rgba(244,63,94,.16)}.student-portal .student-portal-on-luyen .quick-action-btn--exam:hover{border-color:#fda4af}.student-portal .student-portal-on-luyen .quick-action-btn--random{background:#ecfdf5;border-color:rgba(16,185,129,.18)}.student-portal .student-portal-on-luyen .quick-action-btn--random:hover{border-color:#6ee7b7}.student-portal .student-portal-on-luyen .quick-action-btn--notes{background:#eff6ff;border-color:rgba(59,130,246,.18)}.student-portal .student-portal-on-luyen .quick-action-btn--notes:hover{border-color:#93c5fd}.student-portal .student-portal-on-luyen .quick-action-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(73,43,202,.12)}.student-portal .student-portal-on-luyen .quick-action-btn:active{transform:scale(.96)}.student-portal .student-portal-on-luyen .quick-action-btn:hover .qa-icon{transform:scale(1.12) rotate(-6deg)}.student-portal .student-portal-on-luyen .qa-icon{width:28px;height:28px;border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .22s var(--ease-playful)}.student-portal .student-portal-on-luyen .qa-icon--play{background:linear-gradient(135deg,#8e65f7,#6c42ec);color:#ffffff}.student-portal .student-portal-on-luyen .qa-icon--shuffle{background:#d1fae5;color:#059669}.student-portal .modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));overscroll-behavior:contain;z-index:80}.student-portal .modal-card{width:100%;max-width:560px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;background:#ffffff;border-radius:22px;padding:22px;box-shadow:0 24px 48px rgba(15,23,42,.22);animation:spPopIn .24s var(--ease-playful) both}.student-portal .modal-header{flex-shrink:0;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #eef2f7}.student-portal .modal-header>div{min-width:0}.student-portal .modal-header .icon-btn{flex-shrink:0}.student-portal .modal-kicker{display:inline-block;font-size:.8rem;font-weight:700;color:var(--purple-600);margin-bottom:4px}.student-portal .modal-title{margin:0;font-size:1.12rem;font-weight:800;color:var(--text-primary)}.student-portal .modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 2px;display:flex;flex-direction:column;gap:14px}.student-portal .modal-label{display:block;font-size:.86rem;font-weight:700;color:var(--text-secondary);margin-bottom:8px}.student-portal .option-pills,.student-portal .topic-chips{display:flex;flex-wrap:wrap;gap:8px}.student-portal .option-pill,.student-portal .topic-chip{border:1px solid #dbe4f0;background:#f8fafe;font-size:.84rem;font-weight:600;color:#334155;cursor:pointer;transition:all .14s var(--ease-ui)}.student-portal .topic-chip{padding:10px 14px;border-radius:14px;text-align:left;line-height:1.4}.student-portal .option-pill{padding:8px 13px;border-radius:9999px;text-align:center}.student-portal .option-pill:not(.is-selected):hover,.student-portal .topic-chip:not(.is-selected):hover{background:#f3efff;border-color:#a78bfa;color:var(--purple-700);transform:translateY(-1px);box-shadow:0 4px 10px rgba(101,60,232,.1)}.student-portal .option-pill.is-selected,.student-portal .topic-chip.is-selected{background:linear-gradient(135deg,var(--purple-500),var(--purple-600));color:#ffffff;border-color:transparent}.student-portal .option-pill.is-selected:hover,.student-portal .topic-chip.is-selected:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 5px 14px rgba(101,60,232,.25)}.student-portal .option-pill:active,.student-portal .topic-chip:active{transform:scale(.96)}.student-portal .modal-options-grid{display:grid;grid-template-columns:1fr;gap:12px}.student-portal .modal-footer{flex-shrink:0;display:flex;justify-content:flex-end;gap:10px;padding-top:14px;border-top:1px solid #eef2f7}.student-portal .btn-outline,.student-portal .btn-primary,.student-portal .btn-secondary{height:42px;padding:0 18px;border-radius:12px;font-size:.88rem;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:transform .15s var(--ease-ui),box-shadow .18s var(--ease-ui),background .18s var(--ease-ui),border-color .18s var(--ease-ui),color .18s var(--ease-ui),filter .16s var(--ease-ui)}.student-portal .btn-primary{border:0;background:linear-gradient(135deg,var(--purple-500),var(--purple-600));color:#ffffff;box-shadow:0 6px 16px rgba(101,60,232,.3)}.student-portal .btn-primary:not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 10px 22px rgba(101,60,232,.36)}.student-portal .btn-outline,.student-portal .btn-secondary{border:1px solid #cbd5e1;background:#ffffff;color:#334155}.student-portal .btn-outline:not(:disabled):hover,.student-portal .btn-secondary:not(:disabled):hover{transform:translateY(-1px);background:#f5f2ff;border-color:#a78bfa;color:var(--purple-700);box-shadow:0 5px 14px rgba(73,43,202,.1)}.student-portal .btn-outline:not(:disabled):active,.student-portal .btn-primary:not(:disabled):active,.student-portal .btn-secondary:not(:disabled):active{transform:scale(.96)}.student-portal .btn-outline:disabled,.student-portal .btn-primary:disabled,.student-portal .btn-secondary:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.student-portal .prewarm-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:12px;font-size:.8rem;font-weight:700;line-height:1.35;border:1px solid transparent;transition:background .18s var(--ease-ui),color .18s var(--ease-ui),border-color .18s var(--ease-ui)}.student-portal .prewarm-pill.is-ready{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.student-portal .prewarm-pill.is-warming{background:#f3efff;border-color:#ddd6fe;color:var(--purple-700)}.student-portal .prep-backdrop{position:fixed;inset:0;z-index:95;background:rgba(15,23,42,.36);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));overscroll-behavior:contain}.student-portal .prep-card{width:min(440px,calc(100vw - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;background:#ffffff;border:1px solid #d8e3f4;border-radius:24px;padding:clamp(20px,4vw,26px) clamp(16px,4vw,24px) 22px;box-shadow:0 28px 60px rgba(37,99,235,.16),0 10px 24px rgba(15,23,42,.12);text-align:center;animation:spPopIn .26s var(--ease-playful) both}.student-portal .prep-orb-stage{position:relative;width:84px;height:84px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center}.student-portal .prep-orb-glow{position:absolute;inset:-6px;border-radius:9999px;background:radial-gradient(circle,rgba(127,82,241,.28) 0,rgba(56,189,248,.12) 52%,transparent 72%);animation:spPrepPulse 2.2s ease-in-out infinite}.student-portal .prep-orb-ring{position:absolute;inset:3px;border-radius:9999px;border-color:#7f52f1 #38bdf8 transparent transparent;border-style:solid;border-width:3px;animation:spPrepSpin 1.25s linear infinite}.student-portal .prep-orb-ring--outer{position:absolute;inset:-4px;border-radius:9999px;border:2px dashed rgba(127,82,241,.28);animation:spPrepSpinReverse 2.6s linear infinite}.student-portal .prep-orb-icon{position:relative;width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#f8faff,#ede9fe);border:1px solid #d8e3f4;box-shadow:0 8px 18px rgba(73,43,202,.14);display:inline-flex;align-items:center;justify-content:center;padding:9px;animation:spPrepFloat 2.1s ease-in-out infinite}.student-portal .prep-title{margin:0;font-size:1.12rem;font-weight:800;color:var(--text-primary);line-height:1.3}.student-portal .prep-topic{margin:8px auto 0;display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;max-width:100%;font-size:.82rem;font-weight:600;color:var(--text-secondary)}.student-portal .prep-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:9999px;background:#f3efff;color:var(--purple-700);font-size:.76rem;font-weight:700}.student-portal .prep-progress-track{margin:16px 0 14px;height:8px;width:100%;border-radius:9999px;background:#ede9fe;overflow:hidden;position:relative}.student-portal .prep-progress-bar{position:absolute;top:0;bottom:0;left:-42%;width:44%;border-radius:9999px;background:linear-gradient(90deg,#7f52f1,#4f46e5,#38bdf8,#7f52f1);animation:spPrepGlide 1.45s cubic-bezier(.4,0,.2,1) infinite}.student-portal .prep-steps{display:flex;flex-direction:column;gap:7px;padding:12px;border-radius:16px;background:#f8fafe;border:1px solid #e7eff9;text-align:left}.student-portal .prep-step{display:flex;align-items:center;gap:9px;padding:6px 8px;border-radius:10px;font-size:.81rem;font-weight:600;color:#64748b;transition:background .18s var(--ease-ui),color .18s var(--ease-ui)}.student-portal .prep-step.is-done{color:#047857}.student-portal .prep-step.is-active{background:#ffffff;color:var(--text-primary);font-weight:700;box-shadow:0 3px 10px rgba(73,43,202,.08)}.student-portal .prep-step.is-pending{opacity:.65}.student-portal .prep-step-dot{width:20px;height:20px;border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#e2e8f0;color:#64748b}.student-portal .prep-step.is-done .prep-step-dot{background:#d1fae5;color:#059669}.student-portal .prep-step.is-active .prep-step-dot{background:#ede9fe;color:var(--purple-600)}.student-portal .prep-footer-note{margin:12px 0 0;font-size:.77rem;font-weight:600;color:var(--text-muted);font-variant-numeric:tabular-nums}@keyframes spPrepPulse{0%,to{opacity:.75;transform:scale(.95)}50%{opacity:1;transform:scale(1.06)}}@keyframes spPrepSpin{to{transform:rotate(1turn)}}@keyframes spPrepSpinReverse{to{transform:rotate(-1turn)}}@keyframes spPrepFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes spPrepGlide{0%{left:-45%}to{left:105%}}@keyframes spEnterUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spPopIn{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes spPopoverSlideIn{0%{opacity:0;transform:translateY(-8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes spNavIconPop{0%{transform:scale(1) rotate(0deg)}40%{transform:scale(1.22) rotate(-8deg)}72%{transform:scale(.94) rotate(3deg)}to{transform:scale(1.06) rotate(0deg)}}.student-portal .anim-enter{animation:spEnterUp .32s var(--ease-ui) both}.student-portal .anim-delay-1{animation-delay:45ms}.student-portal .anim-delay-2{animation-delay:90ms}.student-portal .anim-delay-3{animation-delay:135ms}.student-portal .anim-delay-4{animation-delay:175ms}.student-portal .mobile-only,.student-portal .sidebar-backdrop{display:none}@media (max-width:1280px){.student-portal .bento-grid,.student-portal .student-portal-on-luyen .bento-grid{grid-template-columns:204px minmax(0,1fr) 316px}.student-portal .hero-banner{padding-left:12.5%}}@media (max-width:1024px){.student-portal .mobile-only{display:inline-flex}.student-portal .sidebar{position:fixed;left:0;top:0;transform:translateX(-105%)}.student-portal .sidebar.is-open{transform:translateX(0)}.student-portal .sidebar-backdrop.is-open{display:block;position:fixed;inset:0;background:rgba(15,23,42,.35);backdrop-filter:blur(2px);z-index:35}.student-portal .workspace{padding:12px 16px 20px}.student-portal .hero-banner{padding:18px 20px 18px 14%;height:auto;min-height:178px}.student-portal .bento-grid,.student-portal .student-portal-on-luyen .bento-grid{grid-template-columns:208px minmax(0,1fr)}.student-portal .right-widgets{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto}}@media (max-width:720px){.student-portal .workspace{padding:10px 12px 20px;gap:10px}.student-portal .profile-meta,.student-portal .profile-pill .profile-chevron{display:none}.student-portal .profile-pill{padding:4px}.student-portal .popover--noti{width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;right:-56px}.student-portal .popover--noti:before{right:73px}.student-portal .popover--profile{width:min(308px,calc(100vw - 24px));max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;right:0}.student-portal .popover--profile:before{right:17px}.student-portal .hero-banner{flex-direction:column;align-items:flex-start;gap:14px;padding:16px;min-height:0;height:auto}.student-portal .hero-bg-img{object-position:left bottom;opacity:.32}.student-portal .hero-sticky-wrap{width:100%;margin-right:0}.student-portal .hero-sticky-note{width:100%;min-width:0;transform:none}.student-portal .hero-dartboard{right:6px;bottom:-10px;width:48px;height:48px}.student-portal .grade-bar{flex-direction:column;align-items:flex-start;gap:8px;padding:6px 0}.student-portal .grade-pills{width:100%}.student-portal .bento-grid,.student-portal .student-portal-on-luyen .bento-grid{grid-template-columns:1fr}.student-portal .subject-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.student-portal .subject-btn{flex-direction:column;align-items:center;text-align:center;font-size:.8rem;padding:8px 6px;gap:5px}.student-portal .subject-btn.is-active:before{display:none}.student-portal .chapters-header{flex-direction:column;align-items:flex-start}.student-portal .chapter-row{grid-template-columns:40px minmax(0,1fr) 30px;gap:10px}.student-portal .chapter-progress{grid-column:2/3;margin-top:2px}.student-portal .chapter-arrow{grid-column:3/4;grid-row:1/3}.student-portal .right-widgets{grid-template-columns:1fr}.student-portal .progress-stats li{white-space:normal}.student-portal .modal-backdrop{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}.student-portal .modal-card{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:16px;border-radius:20px}.student-portal .modal-header{padding-bottom:10px}.student-portal .modal-title{font-size:1rem;line-height:1.32}.student-portal .modal-body{padding:12px 2px;gap:11px}.student-portal .modal-label{font-size:.82rem;margin-bottom:6px}.student-portal .topic-chips{flex-direction:column;gap:7px}.student-portal .topic-chip{width:100%;padding:9px 13px;font-size:.83rem;line-height:1.38;border-radius:13px}.student-portal .option-pills{gap:6px}.student-portal .option-pill{padding:7px 12px;font-size:.81rem}.student-portal .modal-footer{display:flex;flex-wrap:wrap;justify-content:stretch;gap:8px;padding-top:12px}.student-portal .modal-footer .btn-outline,.student-portal .modal-footer .btn-secondary{flex:1 1 calc(50% - 4px);justify-content:center;height:40px;padding:0 12px;font-size:.84rem}.student-portal .modal-footer .btn-primary{flex:1 0 100%;justify-content:center;height:44px;font-size:.9rem}.student-portal .prep-card{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.student-portal *,.student-portal :after,.student-portal :before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}