:root {
  --navy: #10283f;
  --navy-deep: #0b2034;
  --blue: #1766d5;
  --blue-dark: #0e54b5;
  --blue-soft: #eaf2ff;
  --ink: #172535;
  --muted: #69798a;
  --line: #dfe7ef;
  --surface: #ffffff;
  --page: #f4f7fa;
  --success: #17835d;
  --shadow: 0 12px 34px rgba(18, 43, 67, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--page); }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(23, 102, 213, 0.28); outline-offset: 2px; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 0.92fr) minmax(540px, 1.08fr); background: #fff; }
.login-story { position: relative; min-height: 100vh; padding: 52px clamp(46px, 6vw, 96px); color: white; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 75% 25%, rgba(67, 160, 255, 0.42), transparent 24%), linear-gradient(145deg, #0d559e 0%, #123d75 48%, #0d294d 100%); }
.login-story::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -200px; bottom: -160px; background: rgba(23, 108, 200, 0.18); border: 1px solid rgba(255,255,255,.1); }
.login-brand, .mobile-brand, .sidebar-brand { display: flex; align-items: center; gap: 13px; font-weight: 720; letter-spacing: -0.02em; }
.login-brand { position: relative; z-index: 2; font-size: 17px; }
.brand-mark { width: 34px; height: 34px; display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 7px; border-radius: 8px; background: linear-gradient(145deg, #3c8cff, #1766d5); box-shadow: 0 5px 16px rgba(3, 28, 58, .2); flex: 0 0 auto; }
.brand-mark span { display: block; width: 4px; border-radius: 3px 3px 0 0; background: #fff; transform: skew(-12deg); }
.brand-mark span:nth-child(1) { height: 9px; }.brand-mark span:nth-child(2) { height: 15px; }.brand-mark span:nth-child(3) { height: 20px; }
.story-content { position: relative; z-index: 2; max-width: 560px; margin: auto 0; padding: 70px 0; }
.eyebrow { margin: 0 0 9px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-weight: 760; font-size: 11px; }
.eyebrow.light { color: #92caff; }
.story-content h1 { margin: 0; font-size: clamp(46px, 5vw, 74px); line-height: .98; letter-spacing: -.055em; font-weight: 680; }
.story-content > p:last-child { max-width: 490px; margin: 27px 0 0; color: #cee1f6; line-height: 1.7; font-size: 17px; }
.story-footer { position: relative; z-index: 2; margin: 0; font-size: 12px; letter-spacing: .09em; color: #98b8db; text-transform: uppercase; }
.story-decoration { position: absolute; inset: 0; pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(145, 202, 255, .22); }
.orbit-one { width: 420px; height: 420px; left: -245px; top: 19%; }.orbit-two { width: 620px; height: 620px; left: -345px; top: 6%; }.orbit-three { width: 240px; height: 240px; right: -120px; top: 14%; }
.story-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #72bcff; box-shadow: 0 0 22px #72bcff; }.dot-one { left: 24%; top: 23%; }.dot-two { right: 18%; top: 36%; }.dot-three { left: 14%; bottom: 22%; }
.login-panel { min-height: 100vh; display: grid; place-items: center; padding: 54px clamp(40px, 8vw, 130px); background: linear-gradient(145deg, #fff 0%, #fbfdff 70%, #f1f6fc 100%); }
.login-card { width: min(100%, 470px); }
.mobile-brand { display: none; }
.login-card h2 { margin: 0; font-size: clamp(32px, 3vw, 43px); letter-spacing: -.045em; font-weight: 700; }
.login-subtitle { margin: 12px 0 36px; color: var(--muted); line-height: 1.55; }
.login-card label { display: block; margin-bottom: 9px; color: #314355; font-size: 13px; font-weight: 700; }
.label-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }.label-row label { margin: 0; }
.text-button { border: 0; background: none; color: var(--blue); font-size: 12px; font-weight: 720; padding: 3px; cursor: pointer; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap input { width: 100%; height: 54px; border: 1px solid #d5e0ea; border-radius: 10px; background: #fff; padding: 0 74px 0 51px; color: var(--ink); transition: border .2s, box-shadow .2s; }
.input-wrap input::placeholder { color: #a5b1bd; }.input-wrap input:focus { outline: 0; border-color: #4c8ce2; box-shadow: 0 0 0 4px rgba(23, 102, 213, .09); }
.input-icon { position: absolute; z-index: 1; left: 17px; width: 23px; height: 23px; display: grid; place-items: center; border: 1.5px solid #6f8294; border-radius: 5px; color: #6f8294; font-size: 8px; font-weight: 800; }
.key-icon { border: 0; font-size: 13px; letter-spacing: 1px; }.show-password { position: absolute; right: 15px; border: 0; background: none; color: var(--blue); font-size: 11px; font-weight: 720; cursor: pointer; }
.primary-button { width: 100%; height: 55px; margin-top: 25px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--blue), #0e58be); color: #fff; box-shadow: 0 9px 20px rgba(23, 102, 213, .2); font-weight: 720; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 14px; transition: transform .2s, box-shadow .2s; }.primary-button:hover { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(23, 102, 213, .26); }
.login-error { margin: 13px 0 -9px; border-left: 3px solid #c93d4e; padding: 8px 11px; color: #a92a3a; background: #fff3f4; font-size: 12px; line-height: 1.45; }
.record-notice { margin: 0 0 22px; padding: 9px 11px; border-left: 3px solid #2f7bd2; color: #49667e; background: #eef5fd; font-size: 10px; line-height: 1.45; }
.support-copy { margin: 22px 0 0; text-align: center; color: #82909e; font-size: 12px; }

.portal-shell { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); background: var(--page); transition: grid-template-columns .25s ease; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 258px; display: flex; flex-direction: column; color: #d7e3ef; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); box-shadow: 5px 0 25px rgba(15, 40, 64, .08); transition: width .25s ease, transform .25s ease; }
.sidebar-brand { min-height: 89px; padding: 0 25px; border-bottom: 1px solid rgba(255,255,255,.08); }.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }.brand-copy strong { color: white; font-size: 15px; }.brand-copy small { margin-top: 4px; color: #8ca8bf; text-transform: uppercase; letter-spacing: .16em; font-size: 8px; }
.close-menu { display: none; margin-left: auto; color: #fff; border: 0; background: none; font-size: 28px; cursor: pointer; }
.sidebar nav { padding: 31px 14px; flex: 1; }.nav-label { margin: 0 13px 12px; color: #6f8da7; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.sidebar nav button, .sidebar-footer > button { position: relative; width: 100%; min-height: 49px; border: 0; border-radius: 8px; padding: 0 13px; display: flex; align-items: center; gap: 14px; color: #a9bed0; background: transparent; cursor: pointer; text-align: left; font-size: 13px; font-weight: 620; transition: background .2s, color .2s; }
.sidebar nav button:hover, .sidebar-footer > button:hover { color: #fff; background: rgba(255,255,255,.055); }.sidebar nav button.active { color: #fff; background: rgba(57, 137, 233, .2); }.sidebar nav button.active::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 4px 4px 0; background: #4a9aff; }
.nav-icon { width: 18px; height: 18px; position: relative; flex: 0 0 auto; opacity: .8; }.home-icon::before { content: ""; position: absolute; left: 3px; top: 7px; width: 11px; height: 9px; border: 1.5px solid currentColor; border-top: 0; border-radius: 2px; }.home-icon::after { content: ""; position: absolute; left: 4px; top: 2px; width: 9px; height: 9px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); border-radius: 1px; }
.results-icon::before { content: ""; position: absolute; inset: 1px 3px; border: 1.5px solid currentColor; border-radius: 2px; }.results-icon::after { content: "≡"; position: absolute; left: 6px; top: -2px; font-size: 16px; }
.logout-icon::before { content: "↪"; font-size: 19px; position: absolute; top: -4px; }.nav-arrow { margin-left: auto; font-size: 21px; color: #6e8da6; }
.sidebar-footer { padding: 16px 14px 23px; border-top: 1px solid rgba(255,255,255,.08); }.secure-note { margin: 18px 7px 0; padding: 13px 11px; border-radius: 8px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.045); }.secure-note > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #62a9ee; border-radius: 50%; color: #62a9ee; font-size: 10px; }.secure-note p { margin: 0; display: flex; flex-direction: column; }.secure-note strong { color: #c8d8e6; font-size: 10px; }.secure-note small { margin-top: 3px; color: #66839b; font-size: 8px; }
.portal-main { grid-column: 2; min-width: 0; transition: margin .25s ease; }
.topbar { height: 89px; padding: 0 clamp(22px, 3.4vw, 52px); display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e5ebf1; }
.topbar-left { display: flex; align-items: center; gap: 19px; }.topbar-left p { margin: 0 0 4px; color: #8a98a6; text-transform: uppercase; letter-spacing: .13em; font-size: 8px; font-weight: 780; }.topbar-left h1 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.menu-button { width: 36px; height: 36px; border: 1px solid #dce5ed; border-radius: 7px; background: #fff; display: grid; align-content: center; justify-content: center; gap: 4px; cursor: pointer; }.menu-button span { display: block; width: 15px; height: 1.5px; border-radius: 2px; background: #61778b; }.mobile-only { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }.notification-button { position: relative; width: 35px; height: 35px; border: 1px solid #e1e8ef; border-radius: 50%; background: #fff; color: #7c8c9b; cursor: pointer; }.notification-button span { font-size: 13px; }.notification-button i { position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #e4455c; border: 2px solid #fff; }
.student-chip { display: flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; text-align: left; }.mini-avatar { width: 38px; height: 38px; display: grid !important; place-items: center; border-radius: 50%; border: 2px solid #d8e5f2; color: #1c66b5; background: #eaf3fc; font-size: 10px; font-weight: 800; }.student-chip > span:not(.mini-avatar) { display: flex; flex-direction: column; }.student-chip strong { font-size: 12px; }.student-chip small { margin-top: 3px; color: #8897a5; font-size: 9px; }.student-chip b { margin-left: 3px; color: #90a0ae; font-size: 12px; }
.personal-status { padding: 6px 9px; border-radius: 20px; color: #1f6ab7; background: #eaf3fd; text-transform: uppercase; letter-spacing: .06em; font-size: 8px; font-weight: 800; }
.page-content { padding: clamp(24px, 3vw, 44px) clamp(22px, 3.4vw, 52px) 56px; max-width: 1530px; margin: 0 auto; }
.welcome-banner { position: relative; min-height: 174px; padding: 37px 42px; overflow: hidden; border-radius: 14px; color: white; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(105deg, #145eac 0%, #176fc5 65%, #2784d6 100%); box-shadow: 0 14px 30px rgba(17, 92, 167, .15); }.welcome-banner::after { content: ""; position: absolute; width: 300px; height: 300px; right: 50px; top: -145px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 125px rgba(255,255,255,.025); }.welcome-banner p { margin: 0 0 11px; color: #a9d5ff; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; font-weight: 720; }.welcome-banner h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; }.welcome-banner div > span { color: #d5eaff; font-size: 13px; }.banner-graphic { position: relative; z-index: 1; width: 230px; height: 100px; }.banner-graphic span { position: absolute; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-family: Georgia, serif; }.banner-graphic span:nth-child(1) { width: 62px; height: 62px; left: 7px; top: 22px; font-size: 27px; }.banner-graphic span:nth-child(2) { width: 42px; height: 42px; left: 84px; top: 0; }.banner-graphic span:nth-child(3) { width: 51px; height: 51px; right: 34px; top: 41px; font-size: 18px; }.banner-graphic span:nth-child(4) { width: 33px; height: 33px; right: 2px; top: 3px; }
.home-grid { margin-top: 25px; display: grid; grid-template-columns: minmax(390px, .85fr) minmax(500px, 1.15fr); gap: 25px; align-items: start; }
.card { background: var(--surface); border: 1px solid #e2e9f0; border-radius: 12px; box-shadow: var(--shadow); }
.profile-card { padding: 28px; }.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }.card-heading h3, .marks-card-head h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }.verified-badge { padding: 6px 9px; border-radius: 20px; color: var(--success); background: #eaf8f2; font-size: 9px; font-weight: 750; }
.profile-summary { margin: 25px 0 24px; padding: 22px; display: flex; align-items: center; gap: 18px; border-radius: 10px; background: linear-gradient(135deg, #f0f6fd, #f8fbff); border: 1px solid #e1ebf5; }.profile-avatar { width: 82px; height: 82px; display: grid !important; place-items: center; border-radius: 50%; border: 4px solid white; color: #1b67b7 !important; background: linear-gradient(145deg, #eaf3fc, #dcecff); box-shadow: 0 4px 14px rgba(30, 70, 105, .16); font-size: 22px !important; font-weight: 820 !important; flex: 0 0 auto; }.profile-summary h3 { margin: 0 0 6px; font-size: 19px; }.profile-summary p { margin: 0; color: #6c7e8e; font-size: 11px; }.profile-summary div > span { display: inline-block; margin-top: 7px; color: #1f66ae; font-size: 11px; font-weight: 720; }
.student-details { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }.student-details div { min-height: 70px; padding: 15px 12px; border-top: 1px solid #edf1f5; }.student-details div:nth-child(odd) { padding-left: 0; border-right: 1px solid #edf1f5; }.student-details div:nth-child(even) { padding-right: 0; padding-left: 21px; }.student-details dt { margin-bottom: 7px; color: #8a98a5; text-transform: uppercase; letter-spacing: .08em; font-size: 8px; font-weight: 760; }.student-details dd { margin: 0; color: #304356; font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }.semester-pill { padding: 5px 8px; border-radius: 6px; color: var(--blue); background: var(--blue-soft); font-size: 9px; }
.right-column { display: grid; gap: 20px; }.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.stat-card { min-height: 103px; padding: 19px; display: flex; align-items: center; gap: 13px; }.stat-symbol { width: 37px; height: 37px; border-radius: 9px; display: grid; place-items: center; font-size: 9px; font-weight: 800; flex: 0 0 auto; }.stat-symbol.blue { color: #2a6fc8; background: #eaf2fd; }.stat-symbol.green { color: #15805b; background: #e9f8f2; }.stat-symbol.amber { color: #a87517; background: #fff6df; }.stat-card div { display: flex; flex-direction: column; }.stat-card p { margin: 0 0 3px; color: #8493a0; font-size: 9px; }.stat-card strong { font-size: 20px; letter-spacing: -.03em; }.stat-card small { margin-top: 3px; color: #8d9aa6; font-size: 8px; }
.recent-result { padding: 25px 27px; }.result-highlight { margin: 20px 0 17px; display: flex; align-items: center; gap: 20px; }.score-ring { width: 79px; height: 79px; border-radius: 50%; border: 7px solid #dcecff; border-top-color: #2476d1; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(20deg); flex: 0 0 auto; }.score-ring strong, .score-ring span { transform: rotate(-20deg); }.score-ring strong { font-size: 19px; }.score-ring span { margin-top: -1px; color: #8092a4; font-size: 7px; }.result-status { display: inline-block; margin-bottom: 7px; padding: 4px 8px; border-radius: 4px; color: #16805b; background: #e7f7f1; text-transform: uppercase; letter-spacing: .07em; font-size: 8px; font-weight: 800; }.result-highlight h4 { margin: 0 0 5px; font-size: 14px; }.result-highlight p { margin: 0; color: #81909e; font-size: 9px; }.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #e8eef4; }.progress-track span { display: block; width: 87.4%; height: 100%; background: linear-gradient(90deg, #2776cf, #46a6df); border-radius: inherit; }.progress-labels { margin-top: 7px; display: flex; justify-content: space-between; color: #8b98a5; font-size: 8px; }.progress-labels strong { color: #3b536a; }
.notice-card { min-height: 88px; padding: 16px 21px; display: flex; align-items: center; gap: 16px; }.notice-date { width: 48px; height: 51px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 7px; color: #2871bc; background: #ebf3fc; font-size: 8px; letter-spacing: .06em; }.notice-date strong { font-size: 16px; letter-spacing: 0; }.notice-card div { flex: 1; }.notice-card h3 { margin: 0 0 4px; font-size: 12px; }.notice-card div > span { color: #8493a1; font-size: 9px; }.notice-card > b { color: #9aabb9; }
.results-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }.results-heading h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.04em; }.results-heading div > span { color: var(--muted); font-size: 12px; }.outline-button { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #2c5f91; border: 1px solid #ccd9e5; border-radius: 7px; background: #fff; font-size: 10px; font-weight: 720; cursor: pointer; }
.semester-tabs { margin: 26px 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.semester-tabs button { position: relative; height: 71px; padding: 0 19px; border: 1px solid #dfe7ef; border-radius: 9px; background: #fff; text-align: left; cursor: pointer; transition: border .2s, box-shadow .2s; }.semester-tabs button span { display: block; color: #8795a3; text-transform: uppercase; letter-spacing: .08em; font-size: 8px; font-weight: 720; }.semester-tabs button strong { font-size: 20px; }.semester-tabs button small { position: absolute; right: 12px; top: 12px; padding: 3px 6px; border-radius: 8px; color: #8a98a5; background: #f0f3f6; text-transform: uppercase; font-size: 6px; letter-spacing: .06em; }.semester-tabs button.active { border-color: #2f7bd2; box-shadow: 0 7px 20px rgba(24, 101, 190, .1); }.semester-tabs button.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: #2f7bd2; }.semester-tabs button.active strong { color: #1b67ba; }
.result-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 20px; border: 1px solid #e0e7ee; border-radius: 10px; overflow: hidden; background: #e0e7ee; box-shadow: var(--shadow); }.result-summary-grid article { min-height: 89px; padding: 20px 23px; background: #fff; }.result-summary-grid p { margin: 0 0 8px; color: #84929f; font-size: 9px; }.result-summary-grid strong { font-size: 18px; }.result-summary-grid strong small { color: #82909d; font-size: 9px; font-weight: 550; }.passed-text { color: var(--success); }.passed-text span { display: inline-grid; width: 18px; height: 18px; place-items: center; margin-right: 5px; border-radius: 50%; color: white; background: var(--success); font-size: 9px; vertical-align: 2px; }
.marks-card { overflow: hidden; }.marks-card-head { padding: 23px 25px 20px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid #e4eaf0; }.marks-card-head > span { color: #84929f; font-size: 9px; }.table-wrap { width: 100%; overflow-x: auto; }.marks-card table { width: 100%; border-collapse: collapse; min-width: 780px; }.marks-card th { padding: 13px 16px; color: #7e8d9c; background: #f7f9fb; border-bottom: 1px solid #e3e9ef; text-align: left; text-transform: uppercase; letter-spacing: .07em; font-size: 7px; }.marks-card td { padding: 15px 16px; border-bottom: 1px solid #edf1f4; color: #526577; font-size: 10px; }.marks-card td strong { color: #263b50; font-size: 10px; }.marks-card td small { display: block; margin-top: 2px; color: #9aa6b1; font-size: 7px; }.course-code { padding: 5px 7px; border-radius: 5px; color: #2b6eb2; background: #edf4fc; font-size: 8px; font-weight: 750; }.grade { min-width: 29px; height: 29px; display: inline-grid; place-items: center; border-radius: 50%; font-weight: 800; }.grade-aplus { color: #117755; background: #e6f7f0; }.grade-a { color: #1c67b7; background: #e9f3ff; }.grade-bplus { color: #966b16; background: #fff5dc; }.marks-note { padding: 14px 22px; display: flex; align-items: center; gap: 10px; background: #fbfcfd; color: #7c8b98; font-size: 8px; }.marks-note > span { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #a3b1bd; border-radius: 50%; font-family: Georgia, serif; }.marks-note p { margin: 0; }
.awaiting-result { min-height: 330px; padding: 50px 25px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }.waiting-icon { width: 66px; height: 66px; margin-bottom: 21px; display: grid; place-items: center; border-radius: 50%; color: #397fc7; background: #eaf3fc; font-size: 24px; }.awaiting-result h3 { margin: 0 0 10px; font-size: 23px; }.awaiting-result > p:not(.eyebrow) { max-width: 480px; margin: 0 0 23px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.menu-scrim { display: none; }
.portal-shell.compact { grid-template-columns: 78px minmax(0, 1fr); }.compact .sidebar { width: 78px; }.compact .sidebar-brand { padding: 0 22px; }.compact .brand-copy, .compact .nav-copy, .compact .nav-arrow, .compact .nav-label, .compact .secure-note { display: none; }.compact .sidebar nav button, .compact .sidebar-footer > button { justify-content: center; padding: 0; }.compact .sidebar nav button.active::before { left: -14px; }.compact .sidebar-footer { padding-left: 14px; padding-right: 14px; }

@media (max-width: 1100px) {
  .home-grid { grid-template-columns: 1fr; }.profile-card { order: 1; }.right-column { order: 0; }.student-details { grid-template-columns: repeat(3, 1fr); }.student-details div:nth-child(n) { padding: 14px; border-right: 1px solid #edf1f5; }.student-details div:nth-child(3n) { border-right: 0; }.result-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .login-page { grid-template-columns: 1fr; }.login-story { display: none; }.login-panel { padding: 38px 22px; }.mobile-brand { display: flex; margin-bottom: 56px; color: var(--navy); }.portal-shell, .portal-shell.compact { display: block; }.portal-main { width: 100%; }.sidebar, .compact .sidebar { width: 258px; transform: translateX(-102%); box-shadow: 12px 0 30px rgba(7, 25, 42, .2); }.sidebar.open { transform: translateX(0); }.menu-scrim { position: fixed; inset: 0; z-index: 25; display: block; border: 0; background: rgba(8, 26, 43, .45); }.close-menu { display: block; }.mobile-only { display: grid; }.desktop-only { display: none; }.compact .brand-copy, .compact .nav-copy, .compact .nav-arrow, .compact .nav-label, .compact .secure-note { display: flex; }.compact .sidebar nav button, .compact .sidebar-footer > button { justify-content: flex-start; padding: 0 13px; }.topbar { height: 76px; }.student-chip > span:not(.mini-avatar), .student-chip b { display: none; }.topbar-actions { gap: 10px; }.page-content { padding-top: 25px; }.welcome-banner { padding: 30px; }.banner-graphic { display: none; }.stat-grid { grid-template-columns: 1fr 1fr; }.stat-card:last-child { grid-column: 1 / -1; }.semester-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .login-card h2 { font-size: 31px; }.login-subtitle { margin-bottom: 29px; }.topbar-left h1 { font-size: 17px; }.notification-button, .personal-status { display: none; }.welcome-banner { min-height: 160px; padding: 27px 24px; }.welcome-banner h2 { font-size: 27px; }.welcome-banner div > span { font-size: 11px; line-height: 1.5; }.student-details { grid-template-columns: 1fr; }.student-details div:nth-child(n) { padding: 14px 0; border-right: 0; }.stat-grid { grid-template-columns: 1fr; }.stat-card:last-child { grid-column: auto; }.card-heading { gap: 12px; }.recent-result { padding: 22px 19px; }.notice-card { align-items: flex-start; }.results-heading { align-items: flex-start; flex-direction: column; }.results-heading .outline-button { width: 100%; }.result-summary-grid { grid-template-columns: 1fr 1fr; }.result-summary-grid article { min-height: 78px; padding: 16px; }.semester-tabs { gap: 8px; }.semester-tabs button { height: 64px; padding: 0 14px; }.marks-card-head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media print {
  .sidebar, .topbar, .semester-tabs, .results-heading .outline-button { display: none !important; }.portal-shell, .portal-main { display: block; }.page-content { max-width: none; padding: 0; }.results-heading { margin-bottom: 20px; }.marks-card, .result-summary-grid { box-shadow: none; }
}
