:root{
  --uoda:#354b90;--uoda-dark:#23366f;--uoda-deep:#111a3d;--green:#36a34a;--green-dark:#238438;
  --sky:#eef3ff;--bg:#f5f7fb;--card:#fff;--ink:#182230;--muted:#667085;--line:#e4e8f0;
  --danger:#d92d20;--warning:#f79009;--shadow:0 18px 50px rgba(31,43,76,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.muted{color:var(--muted)}

/* Public portal */
.public-result-page{min-height:100vh;background:radial-gradient(circle at 14% 10%,rgba(53,75,144,.11),transparent 33%),radial-gradient(circle at 92% 88%,rgba(54,163,74,.10),transparent 32%),linear-gradient(145deg,#f8faff 0%,#fff 48%,#f8fbf8 100%)}
.public-shell{min-height:100vh;display:flex;flex-direction:column}.public-header{height:92px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-top:4px solid var(--green);border-bottom:1px solid rgba(53,75,144,.14);display:flex;align-items:center}.public-header-inner{width:min(1180px,calc(100% - 40px));margin:auto;display:flex;align-items:center;justify-content:center}.public-brand{display:flex;align-items:center;gap:14px}.public-brand img{width:64px;height:64px;object-fit:contain}.public-brand-copy{border-left:1px solid #dce2ee;padding-left:14px}.public-brand-copy small{display:block;color:var(--uoda);font-weight:800;letter-spacing:2px;font-size:11px}.public-brand-copy strong{display:block;color:var(--uoda-deep);font-weight:800;font-size:19px;line-height:1.25}
.result-check-main{flex:1;display:grid;place-items:center;padding:56px 20px 70px}.result-check-layout{width:min(1060px,100%);display:grid;grid-template-columns:.88fr 1.12fr;background:#fff;border:1px solid #e2e7f0;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px rgba(31,43,76,.14)}
.result-visual{position:relative;min-height:560px;padding:54px;background:linear-gradient(145deg,var(--uoda-dark),var(--uoda) 62%,#4a63ad);color:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.result-visual:before,.result-visual:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.16)}.result-visual:before{width:410px;height:410px;right:-210px;top:-120px}.result-visual:after{width:280px;height:280px;left:-150px;bottom:-110px}.visual-logo{width:98px;height:98px;background:#fff;border-radius:24px;padding:8px;box-shadow:0 20px 50px rgba(0,0,0,.18);position:relative;z-index:2}.visual-copy{position:relative;z-index:2}.visual-copy .kicker{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#dfe6ff}.visual-copy .kicker:before{content:"";width:28px;height:2px;background:#65d477}.visual-copy h1{font-size:44px;line-height:1.06;margin:15px 0 14px;letter-spacing:-1.3px}.visual-copy p{max-width:430px;margin:0;color:#e8ecf8;font-size:15px}.visual-footer{position:relative;z-index:2;display:flex;gap:22px;flex-wrap:wrap;color:#edf1ff;font-size:12px}.visual-footer span{display:flex;align-items:center;gap:7px}.visual-dot{width:8px;height:8px;background:#67d77b;border-radius:50%;box-shadow:0 0 0 4px rgba(103,215,123,.13)}
.result-form-panel{padding:64px 62px;display:flex;flex-direction:column;justify-content:center}.portal-eyebrow{color:var(--green);font-size:12px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase;margin:0 0 10px}.result-form-panel h2{font-size:34px;line-height:1.15;margin:0;color:var(--uoda-deep);letter-spacing:-.6px}.result-form-panel .help{margin:12px 0 30px;color:var(--muted);max-width:470px}.result-check-form{display:grid;gap:18px}.form-field label,.field label{display:block;font-size:12px;font-weight:800;color:#344054;margin:0 0 8px;letter-spacing:.15px}.input-wrap{position:relative}.input-wrap svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:19px;height:19px;stroke:#98a2b3}.form-field input{width:100%;height:54px;border:1px solid #d6dce7;border-radius:12px;padding:0 15px 0 46px;outline:0;background:#fbfcfe;color:#1d2939;transition:.2s}.form-field input:focus{background:#fff;border-color:var(--uoda);box-shadow:0 0 0 4px rgba(53,75,144,.10)}.result-check-button{height:54px;border:0;border-radius:12px;color:#fff;font-weight:800;background:linear-gradient(100deg,var(--uoda-dark),var(--uoda));box-shadow:0 13px 26px rgba(53,75,144,.24);transition:.2s;margin-top:3px}.result-check-button:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(53,75,144,.30)}.privacy-note{margin:22px 0 0;color:#98a2b3;font-size:11px;text-align:center}

/* Shared buttons/cards */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;background:var(--uoda);color:#fff;padding:10px 15px;font-size:13px;font-weight:800;transition:.18s}.btn:hover{background:var(--uoda-dark);transform:translateY(-1px)}.btn.secondary{background:#fff;color:#344054;border-color:#d8dee8}.btn.secondary:hover{background:#f8fafc}.btn.success{background:var(--green)}.btn.success:hover{background:var(--green-dark)}.btn.danger{background:#fff1f0;color:#b42318;border-color:#ffd6d2}.btn.sm{padding:7px 10px;border-radius:8px;font-size:12px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 5px 22px rgba(31,43,76,.04)}.alert{padding:12px 14px;border-radius:10px;margin-bottom:16px;background:#eef4ff;color:#2f4a92;border:1px solid #d9e5ff;font-size:13px}.alert.error{background:#fff2f1;color:#a82b24;border-color:#ffd9d6}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#ecf9ef;color:#277c38}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge.off{background:#f2f4f7;color:#667085}

/* Admin */
.admin-body{background:#f5f7fb}.admin-layout{min-height:100vh;display:grid;grid-template-columns:252px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#17234e 0%,#111a3d 100%);padding:24px 16px;color:#fff;overflow:auto}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:2px 8px 24px;border-bottom:1px solid rgba(255,255,255,.10);margin-bottom:16px}.sidebar-logo{width:50px;height:50px;object-fit:contain;background:#fff;border-radius:13px;padding:3px}.sidebar-brand h2{font-size:14px;line-height:1.25;margin:0}.sidebar-brand span{display:block;color:#aebbe1;font-size:10px;margin-top:3px;font-weight:600}.nav-label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#8392bd;font-weight:800;padding:12px 12px 6px}.sidebar a{display:flex;align-items:center;gap:11px;color:#cdd5ec;padding:11px 12px;border-radius:10px;margin:3px 0;font-size:13px;font-weight:700}.sidebar a:hover,.sidebar a.active{background:rgba(89,112,187,.24);color:#fff}.sidebar a svg{width:18px;height:18px;stroke:currentColor}.sidebar .logout-link{margin-top:18px;border-top:1px solid rgba(255,255,255,.09);padding-top:17px}.admin-main{min-width:0}.admin-topbar{height:72px;background:#fff;border-bottom:1px solid #e8ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.admin-topbar .crumb{font-size:12px;color:#667085}.admin-topbar .crumb strong{color:#344054}.admin-user{display:flex;align-items:center;gap:10px}.admin-avatar{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--uoda),#5f76bd);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900}.admin-user-copy strong{font-size:12px;display:block}.admin-user-copy span{font-size:10px;color:#98a2b3;display:block}.main{padding:28px;max-width:1500px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.page-head h1{font-size:25px;margin:0;color:#101828;letter-spacing:-.4px}.page-head p{margin:4px 0 0;color:#667085;font-size:12px}.grid{display:grid;gap:16px}.grid.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;width:96px;height:96px;border-radius:50%;background:rgba(53,75,144,.05);right:-22px;top:-30px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-icon{width:40px;height:40px;border-radius:11px;background:#edf1ff;display:grid;place-items:center;color:var(--uoda)}.stat-icon.green{background:#edf9ef;color:var(--green)}.stat-icon.orange{background:#fff7e8;color:#d17a00}.stat-icon.purple{background:#f2efff;color:#7557c7}.stat-icon svg{width:20px;height:20px}.stat-card b{display:block;font-size:29px;color:#101828;margin-top:16px;letter-spacing:-.8px}.stat-card span{color:#667085;font-size:12px;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:16px;margin-top:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-head h3{margin:0;font-size:15px}.section-head a{color:var(--uoda);font-size:11px;font-weight:800}.quick-actions{display:grid;gap:10px}.quick-action{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e6eaf1;border-radius:11px;background:#fff;transition:.18s}.quick-action:hover{border-color:#bbc7e6;background:#f9faff}.quick-action-icon{width:38px;height:38px;border-radius:10px;background:#eef2ff;color:var(--uoda);display:grid;place-items:center}.quick-action strong{display:block;font-size:12px}.quick-action span{display:block;font-size:10px;color:#98a2b3;margin-top:2px}.table-wrap{width:100%;overflow:auto;border-radius:10px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px 11px;border-bottom:1px solid #edf0f5;vertical-align:middle;white-space:nowrap}th{font-size:10px;color:#667085;text-transform:uppercase;letter-spacing:.45px;background:#fafbfc;font-weight:800}td{font-size:12px;color:#344054}.student-cell{display:flex;align-items:center;gap:9px}.student-mini{width:34px;height:34px;border-radius:9px;background:#edf1ff;color:var(--uoda);display:grid;place-items:center;font-weight:900;font-size:11px}.actions{display:flex;gap:6px;align-items:center}.search-toolbar{display:flex;gap:10px;margin-bottom:16px}.search-toolbar input{flex:1;height:42px;border:1px solid #dce1e9;border-radius:10px;padding:0 13px;outline:none}.search-toolbar input:focus{border-color:var(--uoda);box-shadow:0 0 0 3px rgba(53,75,144,.08)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field input,.field select,.field textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dce1e9;border-radius:9px;background:#fff;color:#1d2939;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--uoda);box-shadow:0 0 0 3px rgba(53,75,144,.08)}.form-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf0f4;padding-bottom:13px;margin-bottom:16px}.form-section-title h3{margin:0;font-size:15px}.publish-box{margin-top:16px;padding:13px 14px;border:1px solid #dbe9df;background:#f7fcf8;border-radius:10px;display:flex;gap:9px;align-items:flex-start}.publish-box input{margin-top:3px}.course-input-table input{width:100%;min-width:80px;height:36px;border:1px solid #dfe3eb;border-radius:7px;padding:0 8px}.course-input-table td:nth-child(3) input{min-width:230px}.save-bar{position:sticky;bottom:0;background:rgba(245,247,251,.94);backdrop-filter:blur(8px);padding:14px 0 0;margin-top:15px;display:flex;justify-content:flex-end;gap:8px}

/* Result portfolio */
.result-page{background:#f0f3f8;min-height:100vh}.result-topbar{height:78px;background:#fff;border-top:4px solid var(--green);border-bottom:1px solid #e5e9f1;display:flex;align-items:center}.result-topbar-inner{width:min(1160px,calc(100% - 36px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.result-site-brand{display:flex;align-items:center;gap:10px}.result-site-brand img{width:46px;height:46px;object-fit:contain}.result-site-brand strong{font-size:13px;color:var(--uoda-deep);display:block}.result-site-brand span{font-size:10px;color:var(--uoda);font-weight:800}.result-actions{display:flex;gap:8px}.result-container{width:min(1040px,calc(100% - 32px));margin:34px auto 60px}.result-not-found{max-width:650px;margin:70px auto;text-align:center}.result-sheet{background:#fff;border:1px solid #dfe4ed;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.sheet-banner{height:9px;background:linear-gradient(90deg,var(--uoda-dark),var(--uoda) 72%,var(--green))}.sheet-head{padding:32px 38px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e9ecf2}.sheet-brand{display:flex;align-items:center;gap:16px}.sheet-brand img{width:78px;height:78px;object-fit:contain}.sheet-title small{display:block;text-transform:uppercase;color:var(--green);letter-spacing:1.6px;font-size:9px;font-weight:900}.sheet-title h1{font-size:22px;margin:4px 0 2px;color:var(--uoda-deep)}.sheet-title p{margin:0;color:#667085;font-size:11px}.verified-seal{width:88px;height:88px;border:1px solid #cde8d3;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#27813a;background:#f7fff8;text-align:center}.verified-seal svg{width:24px;height:24px}.verified-seal strong{font-size:9px;text-transform:uppercase;letter-spacing:.6px;margin-top:2px}.sheet-body{padding:28px 38px 36px}.student-hero{display:grid;grid-template-columns:1.4fr .6fr;gap:18px;margin-bottom:24px}.student-info-card{border:1px solid #e6eaf1;border-radius:13px;padding:18px}.student-name{font-size:20px;font-weight:900;color:#101828;margin-bottom:14px}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px}.info-item span{display:block;color:#98a2b3;font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}.info-item strong{display:block;font-size:12px;color:#344054;margin-top:2px}.cgpa-card{background:linear-gradient(145deg,var(--uoda-deep),var(--uoda));border-radius:13px;padding:18px;color:#fff;display:flex;flex-direction:column;justify-content:center}.cgpa-card span{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:#d6def7;font-weight:800}.cgpa-number{font-size:44px;font-weight:900;line-height:1;margin:7px 0 8px}.cgpa-card small{font-size:10px;color:#dfe5f6}.result-table-card{border:1px solid #e6eaf1;border-radius:13px;overflow:hidden}.result-table-title{padding:13px 16px;background:#f8f9fc;border-bottom:1px solid #e7eaf0;display:flex;justify-content:space-between;align-items:center}.result-table-title strong{font-size:12px}.result-table-title span{font-size:10px;color:#98a2b3}.result-table th{background:#f9fafb;color:#667085;font-size:9px}.result-table td{font-size:11px;white-space:normal}.result-table tr:last-child td{border-bottom:0}.sheet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.summary-box{border:1px solid #e5e9ef;border-radius:11px;padding:13px}.summary-box span{display:block;color:#98a2b3;font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}.summary-box strong{font-size:14px;display:flex;align-items:center;gap:7px;margin-top:3px}.pass-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(54,163,74,.10)}.sheet-foot{margin-top:24px;border-top:1px dashed #d7dce6;padding-top:16px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.sheet-foot p{margin:0;color:#98a2b3;font-size:9px;max-width:650px}.issue-mark{text-align:right}.issue-mark span{display:block;color:#98a2b3;font-size:9px}.issue-mark strong{font-size:11px;color:#344054}.print-only{display:none}

/* Login */
.login-page{min-height:100vh;background:radial-gradient(circle at 10% 0%,rgba(53,75,144,.16),transparent 35%),linear-gradient(145deg,#f5f7fc,#fff);display:grid;place-items:center;padding:22px}.login-shell{width:min(930px,100%);display:grid;grid-template-columns:.95fr 1.05fr;background:#fff;border:1px solid #e1e6ee;border-radius:24px;overflow:hidden;box-shadow:0 30px 80px rgba(31,43,76,.14)}.login-brand-panel{background:linear-gradient(150deg,var(--uoda-deep),var(--uoda));color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between;min-height:520px}.login-brand-panel img{width:92px;height:92px;background:#fff;border-radius:22px;padding:6px}.login-brand-panel h1{font-size:30px;line-height:1.1;margin:20px 0 12px}.login-brand-panel p{font-size:13px;color:#d9e0f6;max-width:330px}.login-brand-panel small{color:#aebbe1;font-size:10px}.login-form-panel{padding:54px;display:flex;flex-direction:column;justify-content:center}.login-form-panel .portal-eyebrow{margin-bottom:8px}.login-form-panel h2{font-size:26px;margin:0}.login-form-panel p{font-size:12px;color:#667085;margin:7px 0 24px}.login-form-panel .field{margin-bottom:14px}.login-form-panel .btn{width:100%;height:44px;margin-top:4px}

@media(max-width:1050px){.grid.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.result-check-layout{grid-template-columns:1fr}.result-visual{min-height:320px}.visual-copy h1{font-size:36px}.result-form-panel{padding:48px}.admin-layout{grid-template-columns:76px 1fr}.sidebar{padding:18px 10px}.sidebar-brand{justify-content:center;padding:0 0 18px}.sidebar-brand h2,.sidebar .nav-label,.sidebar a span{display:none}.sidebar a{justify-content:center;padding:12px}.sidebar-logo{width:46px;height:46px}.student-hero{grid-template-columns:1fr}}
@media(max-width:720px){.public-header{height:82px}.public-brand img{width:54px;height:54px}.public-brand-copy strong{font-size:14px}.result-check-main{padding:28px 14px}.result-visual{padding:32px;min-height:280px}.visual-logo{width:74px;height:74px;border-radius:18px}.visual-copy h1{font-size:30px}.visual-footer{display:none}.result-form-panel{padding:36px 24px}.result-form-panel h2{font-size:27px}.admin-layout{display:block}.sidebar{position:relative;height:auto;display:flex;align-items:center;gap:4px;overflow:auto;padding:10px}.sidebar-brand{border:0;margin:0;padding:0 8px 0 0}.sidebar-logo{width:38px;height:38px}.sidebar .nav-label,.sidebar .logout-link{display:none}.sidebar nav{display:flex}.sidebar a{min-width:44px;margin:0}.admin-topbar{height:62px;padding:0 16px}.admin-user-copy{display:none}.main{padding:18px 14px}.grid.stats{grid-template-columns:1fr 1fr}.page-head{align-items:flex-start}.form-grid{grid-template-columns:1fr}.sheet-head,.sheet-body{padding-left:20px;padding-right:20px}.verified-seal{display:none}.sheet-brand img{width:62px;height:62px}.sheet-title h1{font-size:17px}.info-grid{grid-template-columns:1fr}.sheet-summary{grid-template-columns:1fr}.result-topbar{height:auto;padding:10px 0}.result-topbar-inner{align-items:flex-start;flex-direction:column}.result-actions{width:100%;overflow:auto}.login-shell{grid-template-columns:1fr}.login-brand-panel{min-height:250px;padding:32px}.login-brand-panel img{width:72px;height:72px}.login-brand-panel h1{font-size:24px}.login-form-panel{padding:36px 28px}}
@media(max-width:470px){.public-brand-copy strong{font-size:12px}.public-brand-copy small{font-size:9px}.grid.stats{grid-template-columns:1fr}.result-visual{min-height:250px}.result-form-panel{padding:30px 18px}.visual-copy h1{font-size:26px}.sheet-brand{align-items:flex-start}.sheet-brand img{width:52px;height:52px}.sheet-title h1{font-size:15px}.sheet-title p{font-size:9px}.result-container{width:min(100% - 14px,1040px);margin-top:14px}.sheet-body{padding:18px 13px 24px}.student-info-card,.cgpa-card{padding:14px}.sheet-foot{flex-direction:column;align-items:flex-start}.issue-mark{text-align:left}}
@media print{body{background:#fff!important}.result-topbar,.result-actions,.no-print{display:none!important}.result-container{width:100%;margin:0}.result-sheet{box-shadow:none;border:0;border-radius:0}.sheet-banner{height:5px}.sheet-head{padding:18px 22px 14px}.sheet-body{padding:16px 22px}.sheet-brand img{width:60px;height:60px}.sheet-title h1{font-size:17px}.verified-seal{width:72px;height:72px}.student-hero{grid-template-columns:1.5fr .5fr;gap:10px;margin-bottom:12px}.student-info-card,.cgpa-card{padding:11px}.student-name{font-size:15px;margin-bottom:8px}.info-grid{gap:6px 12px}.cgpa-number{font-size:32px}.result-table th,.result-table td{padding:6px 7px;font-size:8px}.sheet-summary{margin-top:10px;gap:8px}.summary-box{padding:8px}.sheet-foot{margin-top:12px;padding-top:10px}.print-only{display:block}}
