@import url('./brand-tokens.css');
.login-brand:has(.brand-logo){margin-bottom:34px}
.login-brand .brand-logo-login{filter:drop-shadow(0 10px 18px rgba(16,37,63,.14))}
.sidebar-brand:has(.brand-logo){padding-top:0}
.sidebar-brand .brand-logo-sidebar{width:48px;height:48px;flex-basis:48px;filter:drop-shadow(0 5px 10px rgba(16,37,63,.12))}
.student-portal .sidebar-brand .portal-edition{display:flex;flex-direction:column;color:#15283d;font-size:0}
.student-portal .sidebar-brand .portal-edition:before{content:"IMB Campus";font-size:15px;font-weight:850}
.student-portal .sidebar-brand .portal-edition:after{content:"Student portal";margin-top:3px;color:#7b8794;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
body.portal { background: var(--brand-surface); min-height: 100vh; }
.portal-shell { display: grid; grid-template-columns: 264px minmax(0,1fr); min-height: 100vh; }
.sidebar { background: var(--brand-navy); color: white; padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar-brand { display:flex; gap:12px; align-items:center; padding:0 8px 24px; border-bottom:1px solid rgba(255,255,255,.1); }
.sidebar-brand .brand-mark { width:38px;height:38px; }
.nav-label { color:#8da2bd; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; margin:24px 10px 8px; }
.portal-nav a { display:flex; gap:12px; align-items:center; padding:10px 12px; margin:3px 0; border-radius:10px; color:#cbd5e1; font-size:14px; }
.portal-nav a:hover,.portal-nav a.active { color:white;background:rgba(3,174,210,.17); }
.portal-nav a.active { box-shadow:inset 3px 0 var(--brand-cyan); }
.main-panel { min-width:0; }
.topbar { height:76px; background:white; border-bottom:1px solid var(--brand-border); display:flex; align-items:center; justify-content:space-between; padding:0 32px; position:sticky;top:0;z-index:20; }
.topbar-title { font-weight:800; font-size:19px; }
.avatar { width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#e8f9fc;color:#027f99;font-weight:800; }
.content { padding:28px 32px 48px; max-width:1600px; margin:auto; }
.welcome { min-height:220px;border-radius:24px;overflow:hidden;position:relative;background:#fff center/cover no-repeat;box-shadow:var(--brand-shadow);display:flex;align-items:center;padding:38px; }
.welcome-copy { max-width:510px; position:relative; z-index:1; }
.welcome h1 { font-size:clamp(28px,3vw,42px);line-height:1.08;letter-spacing:-.04em;margin:0 0 12px; }
.welcome p { color:var(--brand-muted);line-height:1.65;margin:0 0 22px; }
.button { display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:11px 16px;font-weight:750;cursor:pointer; }
.button-primary { background:var(--brand-cyan);color:#062a34; }
.button-dark { background:var(--brand-navy);color:white; }
.button-light { background:white;border:1px solid var(--brand-border); }
.stat-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0; }
.card { background:white;border:1px solid var(--brand-border);border-radius:16px;padding:20px;box-shadow:0 4px 16px rgba(16,37,63,.035); }
.stat-label { color:var(--brand-muted);font-size:13px;font-weight:700; }
.stat-value { font-size:27px;font-weight:850;letter-spacing:-.04em;margin-top:9px; }
.stat-trend { font-size:12px;color:#16865a;margin-top:8px; }
.two-col { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:20px; }
.section-head { display:flex;justify-content:space-between;align-items:center;margin-bottom:16px; }
.section-head h2 { font-size:18px;margin:0; }
.section-head a { color:#028aa7;font-size:13px;font-weight:750; }
.list-row { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #eef1f5; }
.list-row:first-of-type { border-top:0; }
.list-title { font-weight:750;font-size:14px; }
.list-meta { color:var(--brand-muted);font-size:12px;margin-top:4px; }
.pill { border-radius:999px;padding:5px 9px;font-weight:750;font-size:11px;background:#e9faf4;color:#137456;white-space:nowrap; }
.pill.warn { background:#fff8d0;color:#715f00; }
.pill.red { background:#fff0f4;color:#a31440; }
.login-shell { min-height:100vh;display:grid;grid-template-columns:minmax(420px,.82fr) minmax(520px,1.18fr);background:white; }
.login-panel { display:flex;align-items:center;justify-content:center;padding:54px; }
.login-card { width:100%;max-width:430px; }
.login-brand { display:flex;gap:12px;align-items:center;margin-bottom:58px; }
.eyebrow { color:#028aa7;font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:850; }
.login-card h1 { margin:10px 0 12px;font-size:37px;letter-spacing:-.045em; }
.login-card > p { color:var(--brand-muted);line-height:1.6;margin-bottom:30px; }
.field { margin:16px 0; }
.field label { display:block;font-size:13px;font-weight:750;margin-bottom:7px; }
.field input { width:100%;border:1px solid #ccd2da;border-radius:10px;padding:13px 14px;background:white; }
.field input:focus { border-color:var(--brand-cyan);box-shadow:0 0 0 3px rgba(3,174,210,.13);outline:none; }
.login-art { margin:22px; border-radius:28px;background:#eef9fc center/cover no-repeat;position:relative;overflow:hidden; }
.login-art::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,37,63,.78),transparent 62%); }
.login-art-copy { position:absolute;z-index:1;left:52px;bottom:48px;color:white;max-width:410px; }
.login-art-copy h2 { font-size:36px;line-height:1.12;letter-spacing:-.04em;margin:0 0 12px; }
.login-art-copy p { color:#dbe8f3;line-height:1.6; }
.alert { padding:12px 14px;border-radius:10px;background:#fff0f4;color:#9f1239;font-size:13px;margin-bottom:16px; }
@media(max-width:1000px){.portal-shell{grid-template-columns:86px 1fr}.sidebar-brand .brand-word,.nav-label,.portal-nav span{display:none}.portal-nav a{justify-content:center}.stat-grid{grid-template-columns:repeat(2,1fr)}.login-shell{grid-template-columns:1fr}.login-art{display:none}}
@media(max-width:680px){.portal-shell{display:block}.sidebar{position:fixed;z-index:50;bottom:0;top:auto;width:100%;height:68px;padding:8px}.sidebar-brand,.nav-label,.portal-nav .desktop-only{display:none}.portal-nav{display:flex;justify-content:space-around}.portal-nav a{margin:0;padding:9px}.topbar{padding:0 18px}.content{padding:18px 14px 92px}.welcome{padding:24px;min-height:260px;background-position:65% center}.welcome::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.73)}.stat-grid{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}.login-panel{padding:32px 22px}.login-card h1{font-size:32px}.login-brand{margin-bottom:42px}}

/* Integrated administration modules */
.sidebar{display:flex;flex-direction:column}.portal-nav{flex:1}.sidebar-footer{padding:18px 10px 2px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:4px;color:#8da2bd;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.sidebar-footer strong{color:#fff;font-size:11px}.sidebar-close,.menu-button{display:none}.topbar-leading,.admin-account{display:flex;align-items:center;gap:12px}.admin-account{text-align:right}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:36px;margin:4px 0 24px}.page-heading h1{font-size:clamp(30px,3.8vw,48px);line-height:1.05;letter-spacing:-.05em;margin:8px 0 10px;color:var(--brand-navy)}.page-heading p{max-width:720px;color:var(--brand-muted);line-height:1.65;margin:0}.page-actions{flex:0 0 280px}.table-search span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--brand-muted);margin-bottom:7px}.table-search input{width:100%;border:1px solid #ccd3dc;background:#fff;border-radius:11px;padding:11px 13px;outline:none}.table-search input:focus{border-color:var(--brand-cyan);box-shadow:0 0 0 3px rgba(3,174,210,.12)}.data-card{padding:0;overflow:hidden}.data-card>.section-head{padding:20px 22px;margin:0;border-bottom:1px solid #edf0f4}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th{text-align:left;padding:12px 18px;background:#f8fafc;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}.data-table td{padding:15px 18px;border-top:1px solid #edf0f4;color:#344054;font-size:13px;vertical-align:middle}.data-table td strong{display:block;color:var(--brand-ink);font-size:13px}.data-table td small{display:block;color:var(--brand-muted);font-size:11px;margin-top:4px}.data-table tr:hover td{background:#fbfdfe}.table-no-results{text-align:center;padding:28px;color:var(--brand-muted);font-size:13px}.empty-state{min-height:160px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:26px;color:var(--brand-muted)}.empty-state>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e7f9fc;color:#0288a4;font-size:20px}.empty-state strong{color:var(--brand-ink);margin-top:12px}.empty-state p{font-size:12px;margin:6px 0;max-width:320px}.pill.neutral{background:#eef2f6;color:#52606f}.trend-warn{color:#a15c00}.module-error{display:flex;gap:8px;flex-direction:column;border-left:4px solid var(--brand-red);background:#fff0f4;color:#8f1438;border-radius:0 12px 12px 0;padding:15px 18px;margin-bottom:20px}.module-error span{font-size:13px}.module-note,.finance-notice{display:flex;align-items:center;gap:16px;border:1px solid #d8e8ed;background:#f0fbfd;border-radius:15px;padding:17px 19px;margin:0 0 20px}.module-note-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:var(--brand-cyan);color:#073844;font-size:19px}.module-note strong,.finance-notice strong{display:block}.module-note p{font-size:13px;line-height:1.55;color:var(--brand-muted);margin:4px 0}.finance-notice{border-color:#f3e6a3;background:#fffbea;align-items:flex-start;flex-direction:column;gap:4px}.finance-notice span{font-size:13px;color:#665c20}.tabs{display:flex;gap:6px;margin:0 0 12px}.tab{border:1px solid var(--brand-border);background:#fff;border-radius:10px;padding:10px 16px;font-weight:750;cursor:pointer}.tab.active{background:var(--brand-navy);color:#fff;border-color:var(--brand-navy)}.tab-panel{display:none}.tab-panel.active{display:block}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.chart-card{min-height:330px}.chart-row{margin:20px 0}.chart-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px}.chart-row strong{font-size:12px}.chart-track{height:9px;border-radius:999px;background:#edf2f5;margin-top:8px;overflow:hidden}.chart-track i{display:block;height:100%;background:linear-gradient(90deg,var(--brand-cyan),#00c3bd);border-radius:inherit}.chart-row:nth-of-type(3n) .chart-track i{background:linear-gradient(90deg,var(--brand-yellow),var(--brand-orange))}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.setting-card{display:flex;flex-direction:column;gap:9px;min-height:150px}.setting-card>span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--brand-muted);font-weight:800}.setting-card strong{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.setting-card small{color:var(--brand-muted);margin-top:auto}.settings-columns{align-items:start}.login-submit{width:100%;margin-top:10px}.security-note{font-size:12px;margin-top:24px}.back-link{font-size:13px;color:#028aa7;font-weight:750}
@media(max-width:1200px){.report-grid,.settings-grid{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.page-actions{flex-basis:230px}}
@media(max-width:1000px){.sidebar-footer{display:none}.page-heading{flex-direction:column;gap:18px}.page-actions{width:100%;flex-basis:auto;max-width:420px}.content{padding-left:24px;padding-right:24px}}
@media(max-width:760px){body.nav-open{overflow:hidden}.portal-shell{display:block}.sidebar{display:flex;position:fixed;z-index:60;inset:0 auto 0 0;width:282px;height:100vh;padding:20px 16px;transform:translateX(-102%);transition:transform .25s ease;box-shadow:20px 0 50px rgba(6,24,43,.18)}.sidebar.open{transform:none}.sidebar-brand{display:flex}.sidebar-brand .brand-word,.portal-nav span,.nav-label{display:block}.portal-nav{display:block;overflow-y:auto}.portal-nav a{justify-content:flex-start;margin:3px 0;padding:10px 12px}.sidebar-close{display:grid;place-items:center;margin-left:auto;width:32px;height:32px;border:0;border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-size:22px}.sidebar-footer{display:flex}.sidebar-backdrop{position:fixed;z-index:55;inset:0;background:rgba(7,24,43,.45);backdrop-filter:blur(2px)}.menu-button{display:flex;flex-direction:column;gap:4px;border:0;background:transparent;padding:8px}.menu-button span{width:22px;height:2px;background:var(--brand-navy)}.menu-button b{position:absolute;width:1px;height:1px;overflow:hidden}.topbar{height:70px}.admin-account>div:first-child{display:none}.content{padding:20px 14px 44px}.welcome{min-height:290px}.welcome-copy{position:relative;z-index:2}.stat-grid{grid-template-columns:1fr 1fr}.report-grid,.settings-grid{grid-template-columns:1fr}.page-heading h1{font-size:34px}.page-actions{max-width:none}.settings-columns{grid-template-columns:1fr}}
@media(max-width:480px){.stat-grid{grid-template-columns:1fr}.card{padding:17px}.welcome{padding:22px}.welcome h1{font-size:32px}.admin-account{gap:7px}.avatar{width:36px;height:36px}.data-card{padding:0}.module-note{align-items:flex-start}.login-panel{padding:28px 18px}}

/* Student management */
.student-page-actions{display:flex;align-items:flex-end;gap:12px;flex-basis:420px}.student-page-actions .button{white-space:nowrap}.student-page-actions .table-search{flex:1}.row-actions{display:flex;gap:8px}.row-actions a{color:#028aa7;font-weight:800;font-size:12px;padding:6px 8px;border-radius:7px}.row-actions a:hover{background:#e8f9fc}.portal-flash{border-radius:12px;padding:13px 16px;margin-bottom:18px;font-size:13px;font-weight:700}.portal-flash.success{background:#e9faf4;color:#14724f}.portal-flash.error{background:#fff0f4;color:#9f1239}.subpage-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin:2px 0 24px}.subpage-head>div:first-child{display:flex;flex-direction:column;align-items:flex-start}.subpage-head a:first-child{font-size:12px;color:#028aa7;font-weight:800;margin-bottom:26px}.subpage-head h1{font-size:clamp(30px,4vw,46px);letter-spacing:-.05em;line-height:1.06;margin:8px 0}.subpage-head p{color:var(--brand-muted);line-height:1.6;margin:0}.manage-form{padding:0;overflow:hidden}.form-section{display:grid;grid-template-columns:minmax(200px,.6fr) minmax(0,1.4fr);gap:48px;padding:28px;border-top:1px solid var(--brand-border)}.form-section:first-of-type{border-top:0}.form-section h2{font-size:17px;margin:0 0 7px}.form-section p{font-size:12px;line-height:1.55;color:var(--brand-muted);margin:0}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-fields label{font-size:12px;font-weight:750;color:#344054}.form-fields label b{color:var(--brand-red)}.form-fields input,.form-fields select{display:block;width:100%;border:1px solid #ccd3dc;border-radius:10px;background:#fff;padding:11px 12px;margin-top:7px;outline:none}.form-fields input:focus,.form-fields select:focus{border-color:var(--brand-cyan);box-shadow:0 0 0 3px rgba(3,174,210,.12)}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 28px;background:#f8fafc;border-top:1px solid var(--brand-border)}.detail-heading{align-items:flex-end}.detail-actions{display:flex;gap:9px}.profile-grid{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);gap:20px;align-items:start}.profile-card{display:flex;flex-direction:column;gap:20px}.profile-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:var(--brand-navy);color:#fff;font-size:24px;font-weight:850}.profile-card>div:nth-child(2){display:flex;align-items:center;justify-content:space-between}.profile-card>div:nth-child(2)>span{font-size:12px;color:var(--brand-muted);font-weight:700}.profile-card dl{margin:0}.profile-card dl div{border-top:1px solid #edf0f4;padding:13px 0}.profile-card dt{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-muted);font-weight:800}.profile-card dd{margin:5px 0 0;font-size:13px;font-weight:700;overflow-wrap:anywhere}.profile-enrollments{min-width:0}.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:30px;border:1px solid #f0cbd6;background:#fff8fa;border-radius:15px;padding:19px 22px;margin-top:20px}.danger-zone strong{color:#8f1438}.danger-zone p{font-size:12px;color:#7a5963;margin:5px 0 0}.button-danger{background:#b4234d;color:#fff}.button-danger:hover{background:#921b3e}
@media(max-width:900px){.student-page-actions{width:100%;flex-basis:auto}.form-section{grid-template-columns:1fr;gap:20px}.profile-grid{grid-template-columns:1fr}.detail-heading{align-items:flex-start}}
@media(max-width:600px){.student-page-actions{align-items:stretch;flex-direction:column}.student-page-actions .button{width:100%}.form-fields{grid-template-columns:1fr}.form-section{padding:22px 18px}.form-actions{padding:16px 18px}.detail-actions{width:100%}.detail-actions .button{width:100%}.danger-zone{align-items:stretch;flex-direction:column}.danger-zone .button{width:100%}}

/* Administration management forms */
.form-fields textarea{display:block;width:100%;border:1px solid #ccd3dc;border-radius:10px;background:#fff;padding:11px 12px;margin-top:7px;outline:none;resize:vertical;font:inherit;line-height:1.5}.form-fields textarea:focus{border-color:var(--brand-cyan);box-shadow:0 0 0 3px rgba(3,174,210,.12)}.field-span{grid-column:1/-1}.form-fields .check-field{display:flex;align-items:center;gap:9px;align-self:end;min-height:43px}.form-fields .check-field input{display:inline-block;width:auto;margin:0}.inline-manage{display:flex;align-items:center;gap:7px}.inline-manage select{min-width:116px;border:1px solid #ccd3dc;border-radius:8px;background:#fff;padding:8px}.inline-manage .button{padding:8px 10px;font-size:11px}.tab-action{margin-left:auto}.row-actions{align-items:center}.row-actions .pill{display:inline-block}.manage-form select{cursor:pointer}
.form-fields input[readonly]{background:#f3f6f9;color:#344054;font-weight:800}.form-fields label small{display:block;margin-top:6px;color:var(--brand-muted);font-weight:500;line-height:1.4}.pricing-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d7e4e9;border-radius:13px;overflow:hidden;background:#f8fcfd}.pricing-summary span{padding:13px;color:var(--brand-muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em;border-right:1px solid #d7e4e9}.pricing-summary span:last-child{border:0}.pricing-summary strong{display:block;margin-top:7px;color:var(--brand-ink);font-size:13px;text-transform:none;letter-spacing:0}.pricing-summary .pricing-total{background:#e9fafd}.pay-now-fields{padding:16px;border:1px solid #d7e4e9;border-radius:13px;background:#f8fcfd}.pay-now-fields[hidden]{display:none}.payment-hint{align-self:center;color:var(--brand-muted);font-size:12px;line-height:1.5}.fee-setting{display:grid;grid-template-columns:minmax(0,1fr) 250px auto;gap:20px;align-items:end;margin-bottom:22px}.fee-setting h2{margin:5px 0}.fee-setting p{margin:0;color:var(--brand-muted);font-size:12px}.fee-setting label{font-size:12px;font-weight:750}.fee-setting input{display:block;width:100%;border:1px solid #ccd3dc;border-radius:10px;padding:11px 12px;margin-top:7px}
@media(max-width:900px){.pricing-summary{grid-template-columns:1fr 1fr}.pricing-summary span:nth-child(2){border-right:0}.fee-setting{grid-template-columns:1fr}.fee-setting .button{width:100%}}
.payment-student{display:block;color:inherit}.payment-student:hover strong{color:#028aa7}.invoice-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.invoice-actions a{font-size:11px;font-weight:800;color:#028aa7;padding:5px 7px;border-radius:6px;background:#eaf9fc;white-space:nowrap}.invoice-actions a:hover{background:#d4f3f8}.invoice-register{margin-top:20px}
@media(max-width:600px){.field-span{grid-column:auto}.inline-manage{align-items:stretch;flex-direction:column}.tab-action{margin-left:0}}

/* Student OTP authentication */
.otp-success{background:#e9faf4;color:#14724f}.otp-input{font-size:22px!important;letter-spacing:.38em;text-align:center}.otp-help{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 12px;margin-top:14px;font-size:12px;color:var(--brand-muted)}.otp-help form{margin:0}.otp-help button,.otp-help a{border:0;background:transparent;color:#028aa7;font:inherit;font-weight:800;padding:0;cursor:pointer}.student-back-link{display:inline-block;margin-top:25px}

/* Student portal pages */
.student-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.course-tile{display:flex;flex-direction:column;min-height:270px}.course-code{color:#028aa7;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.course-tile h2{font-size:20px;line-height:1.3;margin:10px 0 8px}.course-tile>p{color:var(--brand-muted);font-size:13px;line-height:1.6;margin:0 0 22px}.course-tile .button{margin-top:auto}.course-tile-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid #edf0f4}.course-facts{display:grid;gap:0;margin:auto 0 18px}.course-facts div{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #edf0f4;padding:9px 0}.course-facts dt{color:var(--brand-muted);font-size:11px}.course-facts dd{margin:0;font-size:12px;font-weight:750;text-align:right}.notification-list{display:grid;gap:12px}.notification-card{display:grid;grid-template-columns:10px 1fr;gap:14px;padding:18px 20px}.notification-card.unread{border-color:#9bddea;background:#fbfeff}.notification-dot{width:8px;height:8px;border-radius:50%;background:#cbd5e1;margin-top:7px}.notification-card.unread .notification-dot{background:var(--brand-cyan);box-shadow:0 0 0 4px rgba(3,174,210,.12)}.notification-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.notification-head h2{font-size:15px;margin:0}.notification-head span{color:var(--brand-muted);font-size:11px;white-space:nowrap}.notification-card p{color:#536175;font-size:13px;line-height:1.6;margin:7px 0 0}.student-profile-hero{display:flex;align-items:center;gap:16px}.student-profile-hero h2{font-size:22px;margin:0 0 5px}.student-profile-hero p{color:var(--brand-muted);font-size:13px;margin:0}.student-profile-hero>.pill{margin-left:auto}.profile-help{margin-top:20px}
@media(max-width:1100px){.student-course-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.student-course-grid{grid-template-columns:1fr}.notification-head{flex-direction:column;gap:4px}.student-profile-hero{align-items:flex-start;flex-wrap:wrap}.student-profile-hero>.pill{margin-left:0}}

/* Expandable portal navigation */
.sidebar-toggle{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--brand-border);border-radius:9px;background:#fff;color:var(--brand-navy);font:700 25px/1 Arial,sans-serif;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.sidebar-toggle:hover{background:#e8f9fc;color:#027f99}.sidebar-toggle:focus-visible{outline:3px solid rgba(3,174,210,.3);outline-offset:2px}.sidebar-toggle span{display:block;transform:translateY(-1px);transition:transform .2s ease}
@media(min-width:761px){.portal-shell{transition:grid-template-columns .25s ease}.sidebar{transition:padding .25s ease}.sidebar-brand .brand-mark{flex:0 0 38px}body.sidebar-collapsed .portal-shell{grid-template-columns:86px minmax(0,1fr)}body.sidebar-collapsed .sidebar-brand{justify-content:center;padding-left:0;padding-right:0}body.sidebar-collapsed .sidebar-brand .brand-word,body.sidebar-collapsed .nav-label,body.sidebar-collapsed .portal-nav span,body.sidebar-collapsed .sidebar-footer{display:none}body.sidebar-collapsed .portal-nav a{justify-content:center}body.sidebar-collapsed .sidebar-toggle span{transform:translateY(-1px) rotate(180deg)}body.sidebar-expanded .portal-shell{grid-template-columns:264px minmax(0,1fr)}body.sidebar-expanded .sidebar-brand{justify-content:flex-start;padding-left:8px;padding-right:8px}body.sidebar-expanded .sidebar-brand .brand-word,body.sidebar-expanded .nav-label,body.sidebar-expanded .portal-nav span{display:block}body.sidebar-expanded .portal-nav a{justify-content:flex-start}body.sidebar-expanded .sidebar-footer{display:flex}}
@media(max-width:760px){.sidebar-toggle{display:none}}
.inline-delete-form{display:inline;margin:0}.action-delete{border:0;background:transparent;color:#b4234d;font:inherit;font-size:12px;font-weight:800;padding:6px 8px;border-radius:7px;cursor:pointer}.action-delete:hover{background:#fff0f4}.action-delete:focus-visible{outline:2px solid #b4234d;outline-offset:1px}

/* Portal experience refresh */
body.portal{--portal-accent:#087f8c;background:#f3f6f8;color:#17212f}.student-portal{--portal-accent:#146c94}.portal-shell{grid-template-columns:248px minmax(0,1fr)}.sidebar{background:#fff;color:#263548;padding:20px 14px;border-right:1px solid #dfe5e9;box-shadow:4px 0 24px rgba(16,37,63,.035);overflow-x:hidden}.sidebar-brand{min-height:64px;padding:0 8px 18px;border-bottom:1px solid #e9edef;gap:11px}.sidebar-brand .brand-mark{width:40px;height:40px;border-radius:11px;background:var(--brand-navy);box-shadow:none;font-size:13px}.sidebar-brand .brand-word{display:flex;flex-direction:column;color:#15283d;font-size:16px;line-height:1.15;white-space:nowrap}.sidebar-brand .brand-word:after{margin-top:4px;color:#7b8794;font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.admin-portal .sidebar-brand .brand-word:after{content:"Administration"}.student-portal .sidebar-brand .brand-word:after{content:"Student portal"}.nav-label{color:#929da8;font-size:9px;letter-spacing:.15em;margin:22px 12px 7px}.portal-nav{padding-top:2px}.portal-nav a{gap:10px;min-height:44px;padding:7px 9px;margin:2px 0;border:1px solid transparent;border-radius:9px;color:#526171;font-size:13px;font-weight:650}.portal-nav a b{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:8px;background:#f1f4f6;color:#647382;font-size:12px}.portal-nav a:hover{color:#15283d;background:#f5f8f9;border-color:#e8edef}.portal-nav a:hover b{background:#e6f3f4;color:var(--portal-accent)}.portal-nav a.active{color:#0f5660;background:#e8f5f5;border-color:#cfe8e8;box-shadow:none;font-weight:800}.portal-nav a.active b{color:#fff;background:var(--portal-accent)}.sidebar-footer{margin-top:15px;padding:17px 10px 2px;border-top:1px solid #e9edef;color:#84909c}.sidebar-footer strong{color:#263548}.main-panel{background:#f3f6f8}.topbar{height:72px;padding:0 30px;background:rgba(255,255,255,.94);border-bottom:1px solid #dfe5e9;backdrop-filter:blur(12px)}.topbar-title{font-size:16px;letter-spacing:-.01em}.topbar-leading>.sidebar-toggle{margin-right:2px}.sidebar-toggle{border-color:#dde4e8;color:#475767;box-shadow:0 1px 2px rgba(16,37,63,.04)}.admin-account{padding-left:18px;border-left:1px solid #e5eaed}.avatar{width:38px;height:38px;border-radius:11px;background:#e3f1f3;color:#0d6470}.student-portal .avatar{background:#e5f0f7;color:#146c94}.content{max-width:1480px;padding:30px 34px 56px}.welcome{min-height:230px;padding:34px 38px;border-radius:18px;background-image:linear-gradient(112deg,#10253f 0%,#16435c 62%,#087f8c 100%)!important;box-shadow:0 16px 38px rgba(16,37,63,.14);color:#fff}.student-portal .welcome{background-image:linear-gradient(112deg,#123354 0%,#146c94 64%,#1b8ca4 100%)!important}.welcome-copy{max-width:610px}.welcome .eyebrow{color:#83dfdf}.welcome h1{font-size:clamp(30px,3vw,43px);letter-spacing:-.035em;margin-top:7px}.welcome p{max-width:560px;color:#d9e6ec;font-size:14px}.welcome .button-dark{background:#fff;color:#10253f}.welcome .button-dark:hover{background:#eaf7f7}.card{border-color:#e0e6e9;border-radius:13px;box-shadow:0 3px 12px rgba(16,37,63,.035)}.stat-grid{gap:12px;margin:18px 0}.stat-grid .card{position:relative;min-height:126px;padding:19px 20px;overflow:hidden}.stat-grid .card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#7bc7cc}.stat-grid .card:nth-child(2):before{background:#e6b94a}.stat-grid .card:nth-child(3):before{background:#6688ac}.stat-grid .card:nth-child(4):before{background:#d47a88}.stat-label{font-size:11px;text-transform:uppercase;letter-spacing:.07em}.stat-value{font-size:25px;margin-top:11px}.stat-trend{color:#73808d;font-size:11px}.two-col{gap:16px}.section-head{margin-bottom:12px}.section-head h2{font-size:16px}.section-head a{color:var(--portal-accent)}.list-row{padding:13px 0}.button{min-height:40px;border-radius:8px;padding:10px 15px;font-size:13px}.button-primary{background:var(--portal-accent);color:#fff}.button-primary:hover{filter:brightness(.92)}.button-light{border-color:#dbe2e6;color:#344454}.page-heading{align-items:center;margin:0 0 22px}.page-heading h1{font-size:clamp(27px,3vw,38px);letter-spacing:-.035em;margin:5px 0 7px}.page-heading p{font-size:13px;line-height:1.55}.eyebrow{color:var(--portal-accent);font-size:10px;letter-spacing:.13em}.table-search span{font-size:9px}.table-search input{border-color:#d8e0e5;border-radius:8px;padding:10px 12px}.data-card{border-radius:13px}.data-card>.section-head{padding:18px 20px}.data-table th{background:#f5f7f8;padding:11px 16px;color:#71808d;font-size:9px}.data-table td{padding:14px 16px}.data-table tr:hover td{background:#f7fbfb}.row-actions{gap:3px;white-space:nowrap}.tabs{gap:4px;padding:4px;width:max-content;max-width:100%;background:#e8edef;border-radius:10px}.tab{border:0;background:transparent;border-radius:7px;padding:9px 14px;color:#5e6d7a;font-size:12px}.tab.active{background:#fff;color:#183348;box-shadow:0 1px 4px rgba(16,37,63,.1)}.tab-action{margin-left:10px;background:#fff}.manage-form{max-width:1100px}.form-section{grid-template-columns:minmax(190px,.52fr) minmax(0,1.48fr);gap:44px;padding:28px 30px}.form-fields input,.form-fields select,.form-fields textarea{border-color:#d7dfe4;border-radius:8px;padding:11px 12px}.form-actions{padding:17px 30px}.subpage-head{max-width:1100px;margin-bottom:20px}.subpage-head h1{font-size:36px}.portal-flash{max-width:1100px;border:1px solid transparent}.portal-flash.success{border-color:#bfe7d7}.portal-flash.error{border-color:#f1c8d3}
.portal-flow{margin:18px 0;padding:21px;background:#fff;border:1px solid #dfe5e9;border-radius:13px}.flow-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.flow-heading h2{margin:4px 0 0;font-size:17px}.flow-heading>span{color:#7a8793;font-size:11px}.flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.flow-steps a{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #e1e7ea;border-radius:10px;background:#fbfcfc;transition:.18s ease}.flow-steps a:hover{border-color:#9ccfd2;background:#f2fafa;transform:translateY(-1px)}.flow-steps b{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;background:#e2f1f2;color:#126873;font-size:11px}.flow-steps span{display:flex;flex-direction:column;min-width:0}.flow-steps strong{font-size:12px}.flow-steps small{margin-top:3px;color:#7a8793;font-size:10px;line-height:1.35}.flow-steps i{margin-left:auto;color:#9ba7b1;font-style:normal}.student-flow .flow-steps b{background:#e5f0f7;color:#146c94}
.material-groups{display:grid;gap:14px}.material-group{padding:0;overflow:hidden}.material-group-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 21px;border-bottom:1px solid #e7ecef}.material-group-head h2{margin:5px 0 0;font-size:17px}.file-count{padding:5px 9px;border-radius:999px;background:#eef3f5;color:#64727f;font-size:10px;font-weight:800}.material-list{padding:0 21px}.material-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-top:1px solid #edf0f2}.material-row:first-child{border-top:0}.file-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:9px;background:#e6f2f7;color:#146c94;font-size:9px;font-weight:900}.material-copy{display:flex;flex:1;min-width:0;flex-direction:column}.material-copy strong{font-size:13px}.material-copy span{margin-top:4px;color:#778490;font-size:10px}.material-copy p{margin:6px 0 0;color:#5d6b78;font-size:11px}.material-row .button{flex:0 0 auto}
.login-shell{background:#f4f7f8}.login-panel{padding:48px}.login-card{max-width:400px}.login-brand{margin-bottom:46px}.login-card h1{font-size:34px}.login-art{border-radius:20px}.field input{border-radius:8px}.login-submit{min-height:46px}
@media(max-width:1100px){.flow-steps{grid-template-columns:1fr 1fr}}
@media(min-width:761px) and (max-width:1000px){body.sidebar-expanded .portal-shell{grid-template-columns:248px minmax(0,1fr)}}
@media(max-width:760px){.topbar{height:66px;padding:0 16px}.topbar-leading{gap:9px}.menu-button{border:1px solid #dde4e8;border-radius:8px}.sidebar{background:#fff;color:#263548;border-right:1px solid #dfe5e9}.sidebar-brand{border-bottom-color:#e9edef}.sidebar-close{background:#eef2f4;color:#314354}.portal-nav a{color:#526171}.portal-nav a.active{color:#0f5660;background:#e8f5f5}.sidebar-footer{border-top-color:#e9edef}.sidebar-footer strong{color:#263548}.content{padding:22px 14px 40px}.welcome{min-height:245px;padding:27px 24px}.page-heading{align-items:flex-start}.page-heading h1{font-size:30px}.tabs{width:100%;overflow-x:auto}.tab{white-space:nowrap}.tab-action{margin-left:auto}.form-section{padding:22px 18px}.material-group-head{padding:17px}.material-list{padding:0 17px}.material-row{align-items:flex-start;flex-wrap:wrap}.material-copy{min-width:calc(100% - 56px)}.material-row .button{width:100%;margin-left:53px}}
@media(max-width:560px){.flow-heading{align-items:flex-start;flex-direction:column;gap:5px}.flow-steps{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr 1fr}.stat-grid .card{min-height:112px;padding:16px}.stat-value{font-size:20px}.topbar-title{font-size:14px}.topbar .list-meta{display:none}.content{padding-left:11px;padding-right:11px}.portal-flow{padding:15px}.page-heading{margin-bottom:17px}}

.table-pagination{display:flex;justify-content:flex-end;gap:5px;padding:12px 16px;border-top:1px solid #edf0f4}.table-pagination button{min-width:30px;height:30px;padding:0 8px;border:1px solid #dbe2e6;background:#fff;border-radius:7px;color:#526171;font-size:12px;cursor:pointer}.table-pagination button:hover,.table-pagination button.active{border-color:var(--portal-accent);background:var(--portal-accent);color:#fff}.clickable-row{cursor:pointer}
